@claudiolabs/claudio 0.1.9 → 0.1.10

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 (813) hide show
  1. package/dist/chunks/AgentTool-0.1.10-6d1adwh4.mjs +1 -0
  2. package/dist/chunks/App-0.1.10-kcqgpy9v.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.1.10-276swzgm.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.1.10-zy1wpm5p.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.1.10-wm40g3s8.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.1.10-s6979mex.mjs +1 -0
  7. package/dist/chunks/ClaudeInChromeOnboarding-0.1.10-r7fr5krr.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.10-r34sxess.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.1.10-fkrt161g.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.1.10-z3c417rj.mjs +3 -0
  11. package/dist/chunks/Doctor-0.1.10-hzxpkma0.mjs +1 -0
  12. package/dist/chunks/Grove-0.1.10-k7t0bk1q.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.1.10-9nmcsqzc.mjs +1 -0
  14. package/dist/chunks/InProcessTransport-0.1.10-wpgrvt4k.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-0.1.10-1yxptsrm.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.1.10-2dx3wzpc.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.1.10-52vcfe6j.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.1.10-sshvgxhv.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.1.10-gk479qf3.mjs +1 -0
  20. package/dist/chunks/REPL-0.1.10-pzwdjhkc.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.1.10-h4qtmeht.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-0.1.10-7pnzpe15.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-0.1.10-pna8cvtz.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.1.10-qgt41j05.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.1.10-yhws2rqe.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.1.10-235npnf1.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.1.10-9dwz8tfs.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.1.10-j46d8gme.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.1.10-mc05hsn1.mjs +1 -0
  30. package/dist/chunks/add-dir-0.1.10-67yt41qd.mjs +1 -0
  31. package/dist/chunks/agents-0.1.10-c6k1gjp7.mjs +3 -0
  32. package/dist/chunks/agents-0.1.10-ezzxfn1m.mjs +111 -0
  33. package/dist/chunks/api-0.1.10-712k136n.mjs +1 -0
  34. package/dist/chunks/asciicast-0.1.10-p5232pbe.mjs +1 -0
  35. package/dist/chunks/assistant-0.1.10-ghtz2fm5.mjs +1 -0
  36. package/dist/chunks/auth-0.1.10-ec2e3mg3.mjs +1 -0
  37. package/dist/chunks/auth-0.1.10-pnnxbpmz.mjs +1 -0
  38. package/dist/chunks/autoMode-0.1.10-en4g4zp3.mjs +48 -0
  39. package/dist/chunks/backgroundHousekeeping-0.1.10-w42bm2y9.mjs +1 -0
  40. package/dist/chunks/branch-0.1.10-z00acm0q.mjs +4 -0
  41. package/dist/chunks/bridgePointer-0.1.10-0fpe1aqp.mjs +1 -0
  42. package/dist/chunks/btw-0.1.10-zz9v05r2.mjs +1 -0
  43. package/dist/chunks/buddy-0.1.10-g62mmn7n.mjs +3 -0
  44. package/dist/chunks/cacache-0.1.10-jdqat7je.mjs +1 -0
  45. package/dist/chunks/cache-probe-0.1.10-m5je5wda.mjs +21 -0
  46. package/dist/chunks/cacheStats-0.1.10-h3wmx4ck.mjs +4 -0
  47. package/dist/chunks/caches-0.1.10-gfv0fw3r.mjs +1 -0
  48. package/dist/chunks/chrome-0.1.10-vn58ms2z.mjs +1 -0
  49. package/dist/chunks/chromeNativeHost-0.1.10-1546eayv.mjs +2 -0
  50. package/dist/chunks/claude-for-chrome-mcp-0.1.10-4pjczkdy.mjs +1 -0
  51. package/dist/chunks/claudeDesktop-0.1.10-gxr4sfek.mjs +1 -0
  52. package/dist/chunks/claudemd-0.1.10-fxjaqw0j.mjs +1 -0
  53. package/dist/chunks/clear-0.1.10-7a42j19v.mjs +1 -0
  54. package/dist/chunks/clearTerminal-0.1.10-vb1ec5bk.mjs +1 -0
  55. package/dist/chunks/cli-0.1.10-0n4bjm9z.mjs +3 -0
  56. package/dist/chunks/cli-0.1.10-0zwk2w6t.mjs +3 -0
  57. package/dist/chunks/cli-0.1.10-17f08ra3.mjs +2 -0
  58. package/dist/chunks/cli-0.1.10-19jdke0x.mjs +2 -0
  59. package/dist/chunks/cli-0.1.10-1faf50d6.mjs +2 -0
  60. package/dist/chunks/cli-0.1.10-1remt68x.mjs +2 -0
  61. package/dist/chunks/cli-0.1.10-1zgq248j.mjs +2 -0
  62. package/dist/chunks/cli-0.1.10-227xyew7.mjs +2 -0
  63. package/dist/chunks/cli-0.1.10-283zk2ee.mjs +2 -0
  64. package/dist/chunks/cli-0.1.10-28zx3btb.mjs +14 -0
  65. package/dist/chunks/cli-0.1.10-2a49sq4g.mjs +2 -0
  66. package/dist/chunks/cli-0.1.10-2ahvbvra.mjs +2 -0
  67. package/dist/chunks/cli-0.1.10-2gmmnep8.mjs +2 -0
  68. package/dist/chunks/cli-0.1.10-2k83cndj.mjs +2 -0
  69. package/dist/chunks/cli-0.1.10-2mqddc7q.mjs +31 -0
  70. package/dist/chunks/cli-0.1.10-2tygs780.mjs +2 -0
  71. package/dist/chunks/cli-0.1.10-3chjvgrj.mjs +2 -0
  72. package/dist/chunks/cli-0.1.10-3d0w3dmn.mjs +12 -0
  73. package/dist/chunks/cli-0.1.10-3q43p3wr.mjs +11 -0
  74. package/dist/chunks/cli-0.1.10-3s7cftaq.mjs +39 -0
  75. package/dist/chunks/cli-0.1.10-3zkqq9sp.mjs +2 -0
  76. package/dist/chunks/cli-0.1.10-4a42q38j.mjs +2 -0
  77. package/dist/chunks/cli-0.1.10-4c5p0gjr.mjs +3 -0
  78. package/dist/chunks/cli-0.1.10-4jsc4zm5.mjs +2 -0
  79. package/dist/chunks/cli-0.1.10-4md6sg2a.mjs +2 -0
  80. package/dist/chunks/cli-0.1.10-4n8p34vn.mjs +2 -0
  81. package/dist/chunks/cli-0.1.10-4n8rvtk0.mjs +2 -0
  82. package/dist/chunks/cli-0.1.10-4nrdrp9t.mjs +21 -0
  83. package/dist/chunks/cli-0.1.10-4q7m47pn.mjs +3 -0
  84. package/dist/chunks/cli-0.1.10-4vnky3f9.mjs +3 -0
  85. package/dist/chunks/cli-0.1.10-594z8zdp.mjs +2 -0
  86. package/dist/chunks/cli-0.1.10-5jnkne9q.mjs +2 -0
  87. package/dist/chunks/cli-0.1.10-5kg4wpz2.mjs +2 -0
  88. package/dist/chunks/cli-0.1.10-5tyyhz34.mjs +833 -0
  89. package/dist/chunks/cli-0.1.10-63qeecn7.mjs +24 -0
  90. package/dist/chunks/cli-0.1.10-6bn5q3gp.mjs +2 -0
  91. package/dist/chunks/cli-0.1.10-6f66h3s0.mjs +2 -0
  92. package/dist/chunks/cli-0.1.10-6g6ga1zd.mjs +2 -0
  93. package/dist/chunks/cli-0.1.10-6p8tttyp.mjs +2 -0
  94. package/dist/chunks/cli-0.1.10-6wf59qza.mjs +58 -0
  95. package/dist/chunks/cli-0.1.10-72ece2yk.mjs +2 -0
  96. package/dist/chunks/cli-0.1.10-73y7xdxy.mjs +2 -0
  97. package/dist/chunks/cli-0.1.10-7691mckr.mjs +2 -0
  98. package/dist/chunks/cli-0.1.10-77zcax57.mjs +2 -0
  99. package/dist/chunks/cli-0.1.10-7d7j1qyf.mjs +2 -0
  100. package/dist/chunks/cli-0.1.10-7ngfsh9h.mjs +4 -0
  101. package/dist/chunks/cli-0.1.10-7v1vvde4.mjs +8 -0
  102. package/dist/chunks/cli-0.1.10-7ydarbm4.mjs +2 -0
  103. package/dist/chunks/cli-0.1.10-8dyffagh.mjs +2 -0
  104. package/dist/chunks/cli-0.1.10-91tna7ay.mjs +2 -0
  105. package/dist/chunks/cli-0.1.10-977j0ey2.mjs +2 -0
  106. package/dist/chunks/cli-0.1.10-97rwbawt.mjs +2 -0
  107. package/dist/chunks/cli-0.1.10-9dfywk37.mjs +2 -0
  108. package/dist/chunks/cli-0.1.10-9rh1hjrr.mjs +16 -0
  109. package/dist/chunks/cli-0.1.10-9ybfn3a4.mjs +50 -0
  110. package/dist/chunks/cli-0.1.10-9zjhrr6j.mjs +2 -0
  111. package/dist/chunks/cli-0.1.10-a4p945wp.mjs +2 -0
  112. package/dist/chunks/cli-0.1.10-a53q2hat.mjs +2 -0
  113. package/dist/chunks/cli-0.1.10-a6j6www8.mjs +10 -0
  114. package/dist/chunks/cli-0.1.10-acy8ec7t.mjs +2 -0
  115. package/dist/chunks/cli-0.1.10-akaq0zte.mjs +2 -0
  116. package/dist/chunks/cli-0.1.10-aw4xkrf7.mjs +2 -0
  117. package/dist/chunks/cli-0.1.10-b59j6twr.mjs +2 -0
  118. package/dist/chunks/cli-0.1.10-be8dvtg8.mjs +2 -0
  119. package/dist/chunks/cli-0.1.10-bfw7yx17.mjs +2 -0
  120. package/dist/chunks/cli-0.1.10-bgxwxmv1.mjs +2 -0
  121. package/dist/chunks/cli-0.1.10-bqsa7eam.mjs +2 -0
  122. package/dist/chunks/cli-0.1.10-brfs5rdm.mjs +4 -0
  123. package/dist/chunks/cli-0.1.10-bw6411be.mjs +3 -0
  124. package/dist/chunks/cli-0.1.10-bxbkeycj.mjs +4 -0
  125. package/dist/chunks/cli-0.1.10-c7bkm855.mjs +4 -0
  126. package/dist/chunks/cli-0.1.10-cd9k16mb.mjs +2 -0
  127. package/dist/chunks/cli-0.1.10-ckb6d1wg.mjs +5 -0
  128. package/dist/chunks/cli-0.1.10-cp1bprrv.mjs +2 -0
  129. package/dist/chunks/cli-0.1.10-crwvcrfq.mjs +2 -0
  130. package/dist/chunks/cli-0.1.10-d48qgcag.mjs +2 -0
  131. package/dist/chunks/cli-0.1.10-d70y9y7x.mjs +2 -0
  132. package/dist/chunks/cli-0.1.10-dh7by4rw.mjs +2 -0
  133. package/dist/chunks/cli-0.1.10-dx1a4dz7.mjs +2 -0
  134. package/dist/chunks/cli-0.1.10-dx92txwb.mjs +13 -0
  135. package/dist/chunks/cli-0.1.10-e0ftjytk.mjs +2 -0
  136. package/dist/chunks/cli-0.1.10-e4qewc1p.mjs +44 -0
  137. package/dist/chunks/cli-0.1.10-e64kvn2p.mjs +2 -0
  138. package/dist/chunks/cli-0.1.10-eh248dzz.mjs +15 -0
  139. package/dist/chunks/cli-0.1.10-ejtn8grm.mjs +2 -0
  140. package/dist/chunks/cli-0.1.10-er8zk2kj.mjs +2 -0
  141. package/dist/chunks/cli-0.1.10-f1nw74m1.mjs +2 -0
  142. package/dist/chunks/cli-0.1.10-f2jh6yv0.mjs +2 -0
  143. package/dist/chunks/cli-0.1.10-f38gq0e0.mjs +2 -0
  144. package/dist/chunks/cli-0.1.10-f7wg8ttz.mjs +2 -0
  145. package/dist/chunks/cli-0.1.10-fay16q4v.mjs +2 -0
  146. package/dist/chunks/cli-0.1.10-fcarec7s.mjs +2 -0
  147. package/dist/chunks/cli-0.1.10-fh4zzwzq.mjs +5 -0
  148. package/dist/chunks/cli-0.1.10-fhvyzg2m.mjs +2 -0
  149. package/dist/chunks/cli-0.1.10-frs4kmth.mjs +2 -0
  150. package/dist/chunks/cli-0.1.10-g6rx9rdb.mjs +132 -0
  151. package/dist/chunks/cli-0.1.10-gccb3gw8.mjs +4 -0
  152. package/dist/chunks/cli-0.1.10-gdqbhzyr.mjs +100 -0
  153. package/dist/chunks/cli-0.1.10-gms4557v.mjs +252 -0
  154. package/dist/chunks/cli-0.1.10-gnds07ck.mjs +2 -0
  155. package/dist/chunks/cli-0.1.10-h7dsgrnw.mjs +2 -0
  156. package/dist/chunks/cli-0.1.10-h7egg5xp.mjs +2 -0
  157. package/dist/chunks/cli-0.1.10-hbk3dhq8.mjs +24 -0
  158. package/dist/chunks/cli-0.1.10-hpa8eyg4.mjs +2 -0
  159. package/dist/chunks/cli-0.1.10-hpg8gdm2.mjs +2 -0
  160. package/dist/chunks/cli-0.1.10-hrjh10v7.mjs +2 -0
  161. package/dist/chunks/cli-0.1.10-hwk5cfdc.mjs +2 -0
  162. package/dist/chunks/cli-0.1.10-hyxg32sc.mjs +2 -0
  163. package/dist/chunks/cli-0.1.10-jb7jbbms.mjs +2 -0
  164. package/dist/chunks/cli-0.1.10-jjdvb4je.mjs +2 -0
  165. package/dist/chunks/cli-0.1.10-js33z9dt.mjs +2 -0
  166. package/dist/chunks/cli-0.1.10-jy0nmcmp.mjs +2 -0
  167. package/dist/chunks/cli-0.1.10-jy7ds572.mjs +2 -0
  168. package/dist/chunks/cli-0.1.10-kdqsv63d.mjs +3 -0
  169. package/dist/chunks/cli-0.1.10-knbxee8j.mjs +2 -0
  170. package/dist/chunks/cli-0.1.10-kp2t4r8z.mjs +2 -0
  171. package/dist/chunks/cli-0.1.10-me1f9fvm.mjs +2 -0
  172. package/dist/chunks/cli-0.1.10-mjy2g3ce.mjs +7 -0
  173. package/dist/chunks/cli-0.1.10-mqgz2v10.mjs +2 -0
  174. package/dist/chunks/cli-0.1.10-mt4jf92z.mjs +2 -0
  175. package/dist/chunks/cli-0.1.10-mt6tj76h.mjs +192 -0
  176. package/dist/chunks/cli-0.1.10-mv1psn5z.mjs +15 -0
  177. package/dist/chunks/cli-0.1.10-n0kq1anb.mjs +22 -0
  178. package/dist/chunks/cli-0.1.10-nfnje7ew.mjs +34 -0
  179. package/dist/chunks/cli-0.1.10-nh3yfpyp.mjs +2 -0
  180. package/dist/chunks/cli-0.1.10-npkfteg7.mjs +2 -0
  181. package/dist/chunks/cli-0.1.10-nzvv74kz.mjs +2 -0
  182. package/dist/chunks/cli-0.1.10-nzxw7p2m.mjs +4 -0
  183. package/dist/chunks/cli-0.1.10-p42gvsdg.mjs +2 -0
  184. package/dist/chunks/cli-0.1.10-p4a151rw.mjs +2 -0
  185. package/dist/chunks/cli-0.1.10-p5wpvhbv.mjs +2 -0
  186. package/dist/chunks/cli-0.1.10-pagxn9ep.mjs +2 -0
  187. package/dist/chunks/cli-0.1.10-pw67rrjr.mjs +2 -0
  188. package/dist/chunks/cli-0.1.10-qez6cjt8.mjs +2 -0
  189. package/dist/chunks/cli-0.1.10-qf6ps98q.mjs +2 -0
  190. package/dist/chunks/cli-0.1.10-qhh8pa5t.mjs +2 -0
  191. package/dist/chunks/cli-0.1.10-qkv7g58s.mjs +2 -0
  192. package/dist/chunks/cli-0.1.10-qtq4gx83.mjs +3 -0
  193. package/dist/chunks/cli-0.1.10-qw2c8g14.mjs +2 -0
  194. package/dist/chunks/cli-0.1.10-qw7kdg27.mjs +2 -0
  195. package/dist/chunks/cli-0.1.10-rgtrj3k8.mjs +2 -0
  196. package/dist/chunks/cli-0.1.10-rjz4ymc4.mjs +2 -0
  197. package/dist/chunks/cli-0.1.10-rnwbgj0h.mjs +134 -0
  198. package/dist/chunks/cli-0.1.10-rpyv9ekb.mjs +45 -0
  199. package/dist/chunks/cli-0.1.10-rr3xpxx1.mjs +2 -0
  200. package/dist/chunks/cli-0.1.10-rvb440sp.mjs +2 -0
  201. package/dist/chunks/cli-0.1.10-s3x3vzah.mjs +2 -0
  202. package/dist/chunks/cli-0.1.10-s4x77tm0.mjs +2 -0
  203. package/dist/chunks/cli-0.1.10-s6jxst02.mjs +2 -0
  204. package/dist/chunks/cli-0.1.10-s7s5bgrq.mjs +11 -0
  205. package/dist/chunks/cli-0.1.10-s7zk0vc8.mjs +18 -0
  206. package/dist/chunks/cli-0.1.10-sab6x266.mjs +2 -0
  207. package/dist/chunks/cli-0.1.10-seekz53q.mjs +2 -0
  208. package/dist/chunks/cli-0.1.10-sre7cbsg.mjs +2 -0
  209. package/dist/chunks/cli-0.1.10-szz5tkt1.mjs +4 -0
  210. package/dist/chunks/cli-0.1.10-t0v9d184.mjs +2 -0
  211. package/dist/chunks/cli-0.1.10-t1zd86kd.mjs +2 -0
  212. package/dist/chunks/cli-0.1.10-t8rnwwhq.mjs +2 -0
  213. package/dist/chunks/cli-0.1.10-ta048zme.mjs +3 -0
  214. package/dist/chunks/cli-0.1.10-tf9dk84p.mjs +2 -0
  215. package/dist/chunks/cli-0.1.10-v0vhyf3h.mjs +4 -0
  216. package/dist/chunks/cli-0.1.10-v385rk98.mjs +2 -0
  217. package/dist/chunks/cli-0.1.10-v582vfad.mjs +2 -0
  218. package/dist/chunks/cli-0.1.10-v6gq9bxc.mjs +7 -0
  219. package/dist/chunks/cli-0.1.10-vrd90nhd.mjs +16 -0
  220. package/dist/chunks/cli-0.1.10-w1hqcxj1.mjs +2 -0
  221. package/dist/chunks/cli-0.1.10-w8np72sh.mjs +2 -0
  222. package/dist/chunks/cli-0.1.10-wajz23ff.mjs +2 -0
  223. package/dist/chunks/cli-0.1.10-wjmtd9vm.mjs +6 -0
  224. package/dist/chunks/cli-0.1.10-wm8pd1jq.mjs +2 -0
  225. package/dist/chunks/cli-0.1.10-wvhzawgv.mjs +12 -0
  226. package/dist/chunks/cli-0.1.10-x1qs5ctr.mjs +2 -0
  227. package/dist/chunks/cli-0.1.10-x2eaxa4s.mjs +2 -0
  228. package/dist/chunks/cli-0.1.10-xfdakzcb.mjs +2 -0
  229. package/dist/chunks/cli-0.1.10-xjpjs3y5.mjs +2 -0
  230. package/dist/chunks/cli-0.1.10-xzz1tdne.mjs +2 -0
  231. package/dist/chunks/cli-0.1.10-y17z0pes.mjs +2 -0
  232. package/dist/chunks/cli-0.1.10-y1bkenem.mjs +2 -0
  233. package/dist/chunks/cli-0.1.10-y2byece1.mjs +12 -0
  234. package/dist/chunks/cli-0.1.10-y3q22zvb.mjs +2 -0
  235. package/dist/chunks/cli-0.1.10-y6a8q1t3.mjs +9 -0
  236. package/dist/chunks/cli-0.1.10-y9mkzh11.mjs +5036 -0
  237. package/dist/chunks/cli-0.1.10-yq3dy7w2.mjs +2 -0
  238. package/dist/chunks/cli-0.1.10-yset0578.mjs +2 -0
  239. package/dist/chunks/cli-0.1.10-z20mk55m.mjs +5 -0
  240. package/dist/chunks/cli-0.1.10-z3f97n2d.mjs +6 -0
  241. package/dist/chunks/cli-0.1.10-z4a84y0c.mjs +2 -0
  242. package/dist/chunks/cli-0.1.10-z7ghb8z7.mjs +2 -0
  243. package/dist/chunks/cli-0.1.10-zeqsd250.mjs +2 -0
  244. package/dist/chunks/cli-0.1.10-zxcxqxwv.mjs +2 -0
  245. package/dist/chunks/cli-0.1.10-zxgw1kqq.mjs +2 -0
  246. package/dist/chunks/client-0.1.10-btm7zd17.mjs +1 -0
  247. package/dist/chunks/color-0.1.10-h3wdkq18.mjs +1 -0
  248. package/dist/chunks/compact-0.1.10-3vz0z7cj.mjs +3 -0
  249. package/dist/chunks/config-0.1.10-37452dtw.mjs +1 -0
  250. package/dist/chunks/config-0.1.10-apkj5t0e.mjs +1 -0
  251. package/dist/chunks/context-0.1.10-z4vfp64w.mjs +1 -0
  252. package/dist/chunks/context-noninteractive-0.1.10-xmmn39z5.mjs +1 -0
  253. package/dist/chunks/conversation-0.1.10-p82mc6k7.mjs +1 -0
  254. package/dist/chunks/copy-0.1.10-y1c1gb1w.mjs +9 -0
  255. package/dist/chunks/cost-0.1.10-d5wpnm54.mjs +1 -0
  256. package/dist/chunks/createSession-0.1.10-7bq5e7c3.mjs +1 -0
  257. package/dist/chunks/desktop-0.1.10-3f54fc1k.mjs +1 -0
  258. package/dist/chunks/detectRepository-0.1.10-1kyc0kvc.mjs +1 -0
  259. package/dist/chunks/detection-0.1.10-0h6d9cqt.mjs +1 -0
  260. package/dist/chunks/devtools-0.1.10-93f39njd.mjs +1 -0
  261. package/dist/chunks/diff-0.1.10-j17ke0k6.mjs +1 -0
  262. package/dist/chunks/doctor-0.1.10-wcq13152.mjs +1 -0
  263. package/dist/chunks/earlyInput-0.1.10-k1phbjt5.mjs +1 -0
  264. package/dist/chunks/effort-0.1.10-kanyae0a.mjs +8 -0
  265. package/dist/chunks/environmentSelection-0.1.10-ydckkyqx.mjs +1 -0
  266. package/dist/chunks/environments-0.1.10-7dht1svt.mjs +1 -0
  267. package/dist/chunks/exit-0.1.10-q7af8rb6.mjs +1 -0
  268. package/dist/chunks/export-0.1.10-tgsj9sg2.mjs +2 -0
  269. package/dist/chunks/extra-usage-0.1.10-qccdgzpk.mjs +1 -0
  270. package/dist/chunks/extra-usage-noninteractive-0.1.10-5rpbnmgs.mjs +1 -0
  271. package/dist/chunks/fast-0.1.10-eq1jgfqk.mjs +1 -0
  272. package/dist/chunks/feedback-0.1.10-yvpgv2wy.mjs +14 -0
  273. package/dist/chunks/firstPartyEventLogger-0.1.10-1q5vbtwp.mjs +1 -0
  274. package/dist/chunks/git-0.1.10-ngvcytb0.mjs +1 -0
  275. package/dist/chunks/githubModelsCredentials-0.1.10-w5g5cqhg.mjs +1 -0
  276. package/dist/chunks/growthbook-0.1.10-zkm4sham.mjs +1 -0
  277. package/dist/chunks/heapdump-0.1.10-29gq2jvb.mjs +6 -0
  278. package/dist/chunks/help-0.1.10-yj8ra443.mjs +1 -0
  279. package/dist/chunks/hookChains-0.1.10-32qn4nw8.mjs +3 -0
  280. package/dist/chunks/hooks-0.1.10-epp78p44.mjs +79 -0
  281. package/dist/chunks/hooks-0.1.10-fjrmscrk.mjs +1 -0
  282. package/dist/chunks/ide-0.1.10-361fyyet.mjs +3 -0
  283. package/dist/chunks/image-processor-napi-0.1.10-18yjap6z.mjs +1 -0
  284. package/dist/chunks/index-0.1.10-1cxj797w.mjs +2 -0
  285. package/dist/chunks/index-0.1.10-30c6wwdm.mjs +30 -0
  286. package/dist/chunks/index-0.1.10-80bh88yr.mjs +1 -0
  287. package/dist/chunks/index-0.1.10-8apwt1gk.mjs +1 -0
  288. package/dist/chunks/index-0.1.10-8c4f5nq6.mjs +2 -0
  289. package/dist/chunks/index-0.1.10-9mqxzarc.mjs +5 -0
  290. package/dist/chunks/index-0.1.10-c29w46aj.mjs +1 -0
  291. package/dist/chunks/index-0.1.10-c450y86m.mjs +1 -0
  292. package/dist/chunks/index-0.1.10-d1r31eyx.mjs +9 -0
  293. package/dist/chunks/index-0.1.10-drj30y1c.mjs +1 -0
  294. package/dist/chunks/index-0.1.10-g667a23q.mjs +1 -0
  295. package/dist/chunks/index-0.1.10-gz2mwwnj.mjs +1 -0
  296. package/dist/chunks/index-0.1.10-m1gd7g5v.mjs +1 -0
  297. package/dist/chunks/index-0.1.10-n4bkm7fr.mjs +9 -0
  298. package/dist/chunks/index-0.1.10-r42rb77w.mjs +7 -0
  299. package/dist/chunks/index-0.1.10-ra4k3x9k.mjs +1 -0
  300. package/dist/chunks/index-0.1.10-s32szzwg.mjs +1 -0
  301. package/dist/chunks/index-0.1.10-std21r3g.mjs +1 -0
  302. package/dist/chunks/index-0.1.10-t71jm4x7.mjs +1 -0
  303. package/dist/chunks/index-0.1.10-vpcq7nfa.mjs +1 -0
  304. package/dist/chunks/index-0.1.10-x6dkpkw7.mjs +1 -0
  305. package/dist/chunks/index-0.1.10-xqy1yh0c.mjs +1 -0
  306. package/dist/chunks/initReplBridge-0.1.10-4af5e275.mjs +1 -0
  307. package/dist/chunks/ink-0.1.10-57r8vscr.mjs +1 -0
  308. package/dist/chunks/insights-0.1.10-rptwhmpm.mjs +870 -0
  309. package/dist/chunks/install-0.1.10-9w2w5vre.mjs +1 -0
  310. package/dist/chunks/install-github-app-0.1.10-xhj1zyqh.mjs +149 -0
  311. package/dist/chunks/install-slack-app-0.1.10-tq51qy4s.mjs +1 -0
  312. package/dist/chunks/instrumentation-0.1.10-kyzfec48.mjs +12 -0
  313. package/dist/chunks/interactiveHelpers-0.1.10-1491802m.mjs +1 -0
  314. package/dist/chunks/keybindings-0.1.10-fpyw69y7.mjs +2 -0
  315. package/dist/chunks/knowledge-0.1.10-2aa0bb5w.mjs +2 -0
  316. package/dist/chunks/loadAgentsDir-0.1.10-h8t0ppav.mjs +1 -0
  317. package/dist/chunks/loadPluginHooks-0.1.10-ne71stmt.mjs +1 -0
  318. package/dist/chunks/logout-0.1.10-xxm4ydq9.mjs +1 -0
  319. package/dist/chunks/lsp-0.1.10-k53wta4y.mjs +1 -0
  320. package/dist/chunks/main-0.1.10-q3qenxfq.mjs +1 -0
  321. package/dist/chunks/managedEnv-0.1.10-s37qwcz1.mjs +1 -0
  322. package/dist/chunks/mcp-0.1.10-af795ewj.mjs +1 -0
  323. package/dist/chunks/mcp-0.1.10-b5z770fs.mjs +17 -0
  324. package/dist/chunks/mcp-0.1.10-nd17220r.mjs +4 -0
  325. package/dist/chunks/mcpServer-0.1.10-vrpfykem.mjs +1 -0
  326. package/dist/chunks/mcpb-0.1.10-jzxbat3k.mjs +1 -0
  327. package/dist/chunks/memory-0.1.10-zwzw20d5.mjs +3 -0
  328. package/dist/chunks/mobile-0.1.10-02fzsby3.mjs +2 -0
  329. package/dist/chunks/model-0.1.10-9g2nyrq7.mjs +1 -0
  330. package/dist/chunks/model-0.1.10-rygn5rc7.mjs +2 -0
  331. package/dist/chunks/oauth-0.1.10-t6fn448z.mjs +1 -0
  332. package/dist/chunks/openaiShim-0.1.10-gnhp89j2.mjs +14 -0
  333. package/dist/chunks/output-style-0.1.10-tnvcw858.mjs +1 -0
  334. package/dist/chunks/package-HMBVQOZ4-0.1.10-zd9nnmft.mjs +1 -0
  335. package/dist/chunks/parser-0.1.10-yemkwzb2.mjs +1 -0
  336. package/dist/chunks/passes-0.1.10-3zg7g2tp.mjs +1 -0
  337. package/dist/chunks/permissions-0.1.10-3tmntee5.mjs +3 -0
  338. package/dist/chunks/plan-0.1.10-sj11cbeb.mjs +1 -0
  339. package/dist/chunks/plist-0.1.10-mfhsxrkb.mjs +1 -0
  340. package/dist/chunks/plugin-0.1.10-c2rxcqb7.mjs +29 -0
  341. package/dist/chunks/pluginStartupCheck-0.1.10-n5esk5p9.mjs +1 -0
  342. package/dist/chunks/plugins-0.1.10-cyb1q58v.mjs +9 -0
  343. package/dist/chunks/print-0.1.10-s2t5nd3y.mjs +57 -0
  344. package/dist/chunks/privacy-settings-0.1.10-kxx4szxa.mjs +1 -0
  345. package/dist/chunks/process-0.1.10-kp51xxsy.mjs +1 -0
  346. package/dist/chunks/processBashCommand-0.1.10-t1cdkkjx.mjs +1 -0
  347. package/dist/chunks/processSlashCommand-0.1.10-pvndkc40.mjs +9 -0
  348. package/dist/chunks/prompt-0.1.10-2kjnmw4z.mjs +1 -0
  349. package/dist/chunks/prompt-0.1.10-v546t6x4.mjs +1 -0
  350. package/dist/chunks/prompts-0.1.10-8k80tabm.mjs +1 -0
  351. package/dist/chunks/provider-0.1.10-5p16y1p3.mjs +2 -0
  352. package/dist/chunks/providerProfiles-0.1.10-0r6j5m52.mjs +1 -0
  353. package/dist/chunks/rate-limit-options-0.1.10-0sgjcqvt.mjs +1 -0
  354. package/dist/chunks/registry-0.1.10-nyx80cwb.mjs +1 -0
  355. package/dist/chunks/release-notes-0.1.10-8bpsjmax.mjs +5 -0
  356. package/dist/chunks/reload-plugins-0.1.10-f8cj2ymj.mjs +2 -0
  357. package/dist/chunks/remote-env-0.1.10-x65rh1n3.mjs +1 -0
  358. package/dist/chunks/remoteBridgeCore-0.1.10-tk9vhzgk.mjs +1 -0
  359. package/dist/chunks/remoteSession-0.1.10-xx5eng27.mjs +1 -0
  360. package/dist/chunks/rename-0.1.10-zjwr9vqm.mjs +1 -0
  361. package/dist/chunks/replBridgeHandle-0.1.10-34e8jwrt.mjs +1 -0
  362. package/dist/chunks/resume-0.1.10-dc75n2zf.mjs +2 -0
  363. package/dist/chunks/rewind-0.1.10-kt2968kt.mjs +1 -0
  364. package/dist/chunks/sandbox-adapter-0.1.10-whhwsy1v.mjs +1 -0
  365. package/dist/chunks/sandbox-toggle-0.1.10-19w6767r.mjs +1 -0
  366. package/dist/chunks/session-0.1.10-pzsbjyqm.mjs +2 -0
  367. package/dist/chunks/sessionFileAccessHooks-0.1.10-jaadayzy.mjs +1 -0
  368. package/dist/chunks/sessionStorage-0.1.10-b72srv50.mjs +1 -0
  369. package/dist/chunks/setup-0.1.10-fbs90hdh.mjs +5 -0
  370. package/dist/chunks/sinks-0.1.10-02w5f1q9.mjs +1 -0
  371. package/dist/chunks/skills-0.1.10-pexnbjqd.mjs +1 -0
  372. package/dist/chunks/startupProfiler-0.1.10-gcv6ckp5.mjs +1 -0
  373. package/dist/chunks/state-0.1.10-embrgn1a.mjs +1 -0
  374. package/dist/chunks/stats-0.1.10-s0rzmsxx.mjs +6 -0
  375. package/dist/chunks/status-0.1.10-8r0jrc8n.mjs +1 -0
  376. package/dist/chunks/stickers-0.1.10-dj7ganhx.mjs +1 -0
  377. package/dist/chunks/subprocessEnv-0.1.10-hpv416jp.mjs +1 -0
  378. package/dist/chunks/tasks-0.1.10-cnvnk57k.mjs +1 -0
  379. package/dist/chunks/teamHelpers-0.1.10-j6sfy2zc.mjs +1 -0
  380. package/dist/chunks/teammateModeSnapshot-0.1.10-ddhe13pc.mjs +1 -0
  381. package/dist/chunks/teleport-0.1.10-saft8sby.mjs +1 -0
  382. package/dist/chunks/terminalSetup-0.1.10-4p5xvtyy.mjs +1 -0
  383. package/dist/chunks/theme-0.1.10-5xss74sp.mjs +1 -0
  384. package/dist/chunks/thinkback-0.1.10-e4bz61r1.mjs +1 -0
  385. package/dist/chunks/thinkback-play-0.1.10-0vjf0r8c.mjs +1 -0
  386. package/dist/chunks/toolPool-0.1.10-57jq29ct.mjs +1 -0
  387. package/dist/chunks/toolSearch-0.1.10-ysjw302j.mjs +1 -0
  388. package/dist/chunks/trustedDevice-0.1.10-zy988esg.mjs +1 -0
  389. package/dist/chunks/turndown.cjs-0.1.10-vhmcr6t6.mjs +69 -0
  390. package/dist/chunks/ultrareviewCommand-0.1.10-sqjsmw0x.mjs +4 -0
  391. package/dist/chunks/update-0.1.10-p7ctpbkr.mjs +94 -0
  392. package/dist/chunks/upgrade-0.1.10-8585sfbv.mjs +1 -0
  393. package/dist/chunks/upstreamproxy-0.1.10-ddbrjzqt.mjs +14 -0
  394. package/dist/chunks/usage-0.1.10-r8vznre6.mjs +1 -0
  395. package/dist/chunks/util-0.1.10-51fk6c0k.mjs +1 -0
  396. package/dist/chunks/utils-0.1.10-43r4vneb.mjs +1 -0
  397. package/dist/chunks/vim-0.1.10-3yzrqjw5.mjs +1 -0
  398. package/dist/chunks/watcher-0.1.10-xq2qsexd.mjs +1 -0
  399. package/dist/chunks/wiki-0.1.10-v3w4719f.mjs +132 -0
  400. package/dist/chunks/worktree-0.1.10-b5r0y9mr.mjs +1 -0
  401. package/dist/chunks/worktreeModeEnabled-0.1.10-ckcv927j.mjs +1 -0
  402. package/dist/chunks/wrapper-0.1.10-10976h3e.mjs +7 -0
  403. package/dist/claudio-vscode.vsix +0 -0
  404. package/dist/cli.mjs +6 -6
  405. package/package.json +1 -1
  406. package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +0 -1
  407. package/dist/chunks/App-0.1.9-7ttp2eny.mjs +0 -1
  408. package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +0 -1
  409. package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +0 -1
  410. package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +0 -1
  411. package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +0 -1
  412. package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +0 -1
  413. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +0 -1
  414. package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +0 -1
  415. package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +0 -3
  416. package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +0 -1
  417. package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +0 -1
  418. package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +0 -1
  419. package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +0 -1
  420. package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +0 -1
  421. package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +0 -1
  422. package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +0 -1
  423. package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +0 -1
  424. package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +0 -1
  425. package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +0 -1
  426. package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +0 -1
  427. package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +0 -1
  428. package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +0 -1
  429. package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +0 -1
  430. package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +0 -1
  431. package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +0 -1
  432. package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +0 -9
  433. package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +0 -1
  434. package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +0 -1
  435. package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +0 -1
  436. package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +0 -1
  437. package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +0 -111
  438. package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +0 -3
  439. package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +0 -1
  440. package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +0 -1
  441. package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +0 -1
  442. package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +0 -1
  443. package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +0 -1
  444. package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +0 -48
  445. package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +0 -1
  446. package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +0 -4
  447. package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +0 -1
  448. package/dist/chunks/btw-0.1.9-g55x31zp.mjs +0 -1
  449. package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +0 -3
  450. package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +0 -1
  451. package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +0 -21
  452. package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +0 -4
  453. package/dist/chunks/caches-0.1.9-d6cndrra.mjs +0 -1
  454. package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +0 -1
  455. package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +0 -2
  456. package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +0 -1
  457. package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +0 -1
  458. package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +0 -1
  459. package/dist/chunks/clear-0.1.9-tb8x7676.mjs +0 -1
  460. package/dist/chunks/cli-0.1.9-001s9kxw.mjs +0 -24
  461. package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +0 -39
  462. package/dist/chunks/cli-0.1.9-04ez73f7.mjs +0 -5084
  463. package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +0 -31
  464. package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +0 -3
  465. package/dist/chunks/cli-0.1.9-0j8n671q.mjs +0 -2
  466. package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +0 -2
  467. package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +0 -2
  468. package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +0 -2
  469. package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +0 -2
  470. package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +0 -2
  471. package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +0 -3
  472. package/dist/chunks/cli-0.1.9-263y2rkc.mjs +0 -3
  473. package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +0 -15
  474. package/dist/chunks/cli-0.1.9-2prq7peb.mjs +0 -2
  475. package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +0 -2
  476. package/dist/chunks/cli-0.1.9-2thp2z73.mjs +0 -2
  477. package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +0 -2
  478. package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +0 -7
  479. package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +0 -6
  480. package/dist/chunks/cli-0.1.9-38zb09vp.mjs +0 -2
  481. package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +0 -15
  482. package/dist/chunks/cli-0.1.9-3h4serkj.mjs +0 -58
  483. package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +0 -2
  484. package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +0 -34
  485. package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +0 -2
  486. package/dist/chunks/cli-0.1.9-3y36913h.mjs +0 -10
  487. package/dist/chunks/cli-0.1.9-3yscrq86.mjs +0 -833
  488. package/dist/chunks/cli-0.1.9-45ggwszg.mjs +0 -2
  489. package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +0 -2
  490. package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +0 -2
  491. package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +0 -2
  492. package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +0 -2
  493. package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +0 -16
  494. package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +0 -2
  495. package/dist/chunks/cli-0.1.9-4vt296k0.mjs +0 -18
  496. package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +0 -2
  497. package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +0 -2
  498. package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +0 -2
  499. package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +0 -2
  500. package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +0 -2
  501. package/dist/chunks/cli-0.1.9-61ywjha3.mjs +0 -2
  502. package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +0 -2
  503. package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +0 -16
  504. package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +0 -2
  505. package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +0 -5
  506. package/dist/chunks/cli-0.1.9-6ne451jc.mjs +0 -2
  507. package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +0 -2
  508. package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +0 -2
  509. package/dist/chunks/cli-0.1.9-7047sjwh.mjs +0 -2
  510. package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +0 -3
  511. package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +0 -2
  512. package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +0 -2
  513. package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +0 -2
  514. package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +0 -2
  515. package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +0 -12
  516. package/dist/chunks/cli-0.1.9-7q9461ka.mjs +0 -2
  517. package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +0 -2
  518. package/dist/chunks/cli-0.1.9-86kws2c7.mjs +0 -192
  519. package/dist/chunks/cli-0.1.9-8egwvs85.mjs +0 -2
  520. package/dist/chunks/cli-0.1.9-90h21nv5.mjs +0 -2
  521. package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +0 -2
  522. package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +0 -2
  523. package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +0 -2
  524. package/dist/chunks/cli-0.1.9-9vab0er5.mjs +0 -2
  525. package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +0 -22
  526. package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +0 -2
  527. package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +0 -134
  528. package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +0 -4
  529. package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +0 -2
  530. package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +0 -100
  531. package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +0 -3
  532. package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +0 -2
  533. package/dist/chunks/cli-0.1.9-aype6q4y.mjs +0 -2
  534. package/dist/chunks/cli-0.1.9-b3031hmy.mjs +0 -2
  535. package/dist/chunks/cli-0.1.9-b6zp931m.mjs +0 -11
  536. package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +0 -2
  537. package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +0 -2
  538. package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +0 -2
  539. package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +0 -2
  540. package/dist/chunks/cli-0.1.9-br9jzagb.mjs +0 -2
  541. package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +0 -2
  542. package/dist/chunks/cli-0.1.9-c38eyh49.mjs +0 -2
  543. package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +0 -2
  544. package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +0 -3
  545. package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +0 -2
  546. package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +0 -2
  547. package/dist/chunks/cli-0.1.9-dt31fs16.mjs +0 -2
  548. package/dist/chunks/cli-0.1.9-dzz1me99.mjs +0 -2
  549. package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +0 -2
  550. package/dist/chunks/cli-0.1.9-e96x59hw.mjs +0 -2
  551. package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +0 -2
  552. package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +0 -12
  553. package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +0 -2
  554. package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +0 -2
  555. package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +0 -4
  556. package/dist/chunks/cli-0.1.9-f643fvt4.mjs +0 -2
  557. package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +0 -6
  558. package/dist/chunks/cli-0.1.9-fcf313e7.mjs +0 -2
  559. package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +0 -5
  560. package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +0 -2
  561. package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +0 -2
  562. package/dist/chunks/cli-0.1.9-gandxpzf.mjs +0 -2
  563. package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +0 -2
  564. package/dist/chunks/cli-0.1.9-gdymcvby.mjs +0 -2
  565. package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +0 -2
  566. package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +0 -2
  567. package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +0 -2
  568. package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +0 -2
  569. package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +0 -50
  570. package/dist/chunks/cli-0.1.9-hva25eg3.mjs +0 -4
  571. package/dist/chunks/cli-0.1.9-hy4peemf.mjs +0 -3
  572. package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +0 -14
  573. package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +0 -2
  574. package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +0 -4
  575. package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +0 -2
  576. package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +0 -2
  577. package/dist/chunks/cli-0.1.9-jdpz959j.mjs +0 -2
  578. package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +0 -2
  579. package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +0 -2
  580. package/dist/chunks/cli-0.1.9-krv35v3v.mjs +0 -2
  581. package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +0 -2
  582. package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +0 -2
  583. package/dist/chunks/cli-0.1.9-m7shtst2.mjs +0 -2
  584. package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +0 -2
  585. package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +0 -2
  586. package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +0 -3
  587. package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +0 -4
  588. package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +0 -2
  589. package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +0 -2
  590. package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +0 -2
  591. package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +0 -12
  592. package/dist/chunks/cli-0.1.9-n445yk6z.mjs +0 -2
  593. package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +0 -2
  594. package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +0 -2
  595. package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +0 -2
  596. package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +0 -252
  597. package/dist/chunks/cli-0.1.9-nz8phj17.mjs +0 -2
  598. package/dist/chunks/cli-0.1.9-p1kdk178.mjs +0 -2
  599. package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +0 -4
  600. package/dist/chunks/cli-0.1.9-p5scdysw.mjs +0 -2
  601. package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +0 -2
  602. package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +0 -2
  603. package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +0 -2
  604. package/dist/chunks/cli-0.1.9-psx0e36a.mjs +0 -2
  605. package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +0 -2
  606. package/dist/chunks/cli-0.1.9-q7hve442.mjs +0 -2
  607. package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +0 -2
  608. package/dist/chunks/cli-0.1.9-qydwhycw.mjs +0 -2
  609. package/dist/chunks/cli-0.1.9-r3ha1332.mjs +0 -7
  610. package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +0 -8
  611. package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +0 -21
  612. package/dist/chunks/cli-0.1.9-rerthk1j.mjs +0 -2
  613. package/dist/chunks/cli-0.1.9-rft22htm.mjs +0 -2
  614. package/dist/chunks/cli-0.1.9-rp31nc37.mjs +0 -2
  615. package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +0 -2
  616. package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +0 -2
  617. package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +0 -2
  618. package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +0 -2
  619. package/dist/chunks/cli-0.1.9-scpj6tps.mjs +0 -3
  620. package/dist/chunks/cli-0.1.9-sqja68fn.mjs +0 -2
  621. package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +0 -2
  622. package/dist/chunks/cli-0.1.9-t24n24mw.mjs +0 -2
  623. package/dist/chunks/cli-0.1.9-teaymnrz.mjs +0 -2
  624. package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +0 -2
  625. package/dist/chunks/cli-0.1.9-v32f99vc.mjs +0 -11
  626. package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +0 -2
  627. package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +0 -2
  628. package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +0 -44
  629. package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +0 -45
  630. package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +0 -2
  631. package/dist/chunks/cli-0.1.9-vwv31syx.mjs +0 -2
  632. package/dist/chunks/cli-0.1.9-w692zn5c.mjs +0 -2
  633. package/dist/chunks/cli-0.1.9-wn39cz20.mjs +0 -2
  634. package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +0 -2
  635. package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +0 -13
  636. package/dist/chunks/cli-0.1.9-x13p19zq.mjs +0 -2
  637. package/dist/chunks/cli-0.1.9-x257hapj.mjs +0 -9
  638. package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +0 -2
  639. package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +0 -2
  640. package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +0 -4
  641. package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +0 -2
  642. package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +0 -5
  643. package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +0 -4
  644. package/dist/chunks/cli-0.1.9-yddanjg2.mjs +0 -132
  645. package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +0 -2
  646. package/dist/chunks/cli-0.1.9-ywf6743k.mjs +0 -2
  647. package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +0 -24
  648. package/dist/chunks/cli-0.1.9-zae1me3j.mjs +0 -2
  649. package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +0 -2
  650. package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +0 -2
  651. package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +0 -2
  652. package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +0 -2
  653. package/dist/chunks/cli-0.1.9-zzp8m503.mjs +0 -3
  654. package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +0 -1
  655. package/dist/chunks/client-0.1.9-ys52xz2v.mjs +0 -1
  656. package/dist/chunks/color-0.1.9-nmnytefc.mjs +0 -1
  657. package/dist/chunks/compact-0.1.9-qw915ckh.mjs +0 -3
  658. package/dist/chunks/config-0.1.9-1m69edch.mjs +0 -1
  659. package/dist/chunks/config-0.1.9-6knxc8a2.mjs +0 -1
  660. package/dist/chunks/context-0.1.9-47a3xmqq.mjs +0 -1
  661. package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +0 -1
  662. package/dist/chunks/conversation-0.1.9-vebter8y.mjs +0 -1
  663. package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +0 -9
  664. package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +0 -1
  665. package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +0 -1
  666. package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +0 -1
  667. package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +0 -1
  668. package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +0 -1
  669. package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +0 -1
  670. package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +0 -1
  671. package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +0 -1
  672. package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +0 -1
  673. package/dist/chunks/effort-0.1.9-spz96zzr.mjs +0 -8
  674. package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +0 -1
  675. package/dist/chunks/environments-0.1.9-2hka6k26.mjs +0 -1
  676. package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +0 -1
  677. package/dist/chunks/export-0.1.9-c3pqjktx.mjs +0 -2
  678. package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +0 -1
  679. package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +0 -1
  680. package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +0 -1
  681. package/dist/chunks/feedback-0.1.9-anraj53n.mjs +0 -14
  682. package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +0 -1
  683. package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +0 -1
  684. package/dist/chunks/git-0.1.9-09pdaxwd.mjs +0 -1
  685. package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +0 -1
  686. package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +0 -1
  687. package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +0 -6
  688. package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +0 -1
  689. package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +0 -3
  690. package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +0 -1
  691. package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +0 -79
  692. package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +0 -3
  693. package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +0 -1
  694. package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +0 -2
  695. package/dist/chunks/index-0.1.9-31vnb803.mjs +0 -1
  696. package/dist/chunks/index-0.1.9-68aa3hmw.mjs +0 -1
  697. package/dist/chunks/index-0.1.9-7ktx5gez.mjs +0 -1
  698. package/dist/chunks/index-0.1.9-8feamw1f.mjs +0 -1
  699. package/dist/chunks/index-0.1.9-8hzceckr.mjs +0 -5
  700. package/dist/chunks/index-0.1.9-96thm65j.mjs +0 -1
  701. package/dist/chunks/index-0.1.9-c7sexk3f.mjs +0 -2
  702. package/dist/chunks/index-0.1.9-fvtq6thw.mjs +0 -1
  703. package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +0 -1
  704. package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +0 -7
  705. package/dist/chunks/index-0.1.9-h548q4km.mjs +0 -1
  706. package/dist/chunks/index-0.1.9-j6ac60hq.mjs +0 -1
  707. package/dist/chunks/index-0.1.9-jxdymwv4.mjs +0 -1
  708. package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +0 -1
  709. package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +0 -9
  710. package/dist/chunks/index-0.1.9-smem7egb.mjs +0 -30
  711. package/dist/chunks/index-0.1.9-snmdvw2f.mjs +0 -1
  712. package/dist/chunks/index-0.1.9-vwevfx80.mjs +0 -1
  713. package/dist/chunks/index-0.1.9-w21jc8bp.mjs +0 -1
  714. package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +0 -1
  715. package/dist/chunks/index-0.1.9-yjp28h60.mjs +0 -9
  716. package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +0 -1
  717. package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +0 -1
  718. package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +0 -870
  719. package/dist/chunks/install-0.1.9-km91vvgf.mjs +0 -1
  720. package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +0 -149
  721. package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +0 -1
  722. package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +0 -12
  723. package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +0 -1
  724. package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +0 -2
  725. package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +0 -2
  726. package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +0 -1
  727. package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +0 -1
  728. package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +0 -1
  729. package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +0 -1
  730. package/dist/chunks/main-0.1.9-7cnyr288.mjs +0 -1
  731. package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +0 -1
  732. package/dist/chunks/mcp-0.1.9-14beee71.mjs +0 -17
  733. package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +0 -4
  734. package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +0 -1
  735. package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +0 -1
  736. package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +0 -1
  737. package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +0 -3
  738. package/dist/chunks/mobile-0.1.9-144nwr03.mjs +0 -2
  739. package/dist/chunks/model-0.1.9-ghswdzx2.mjs +0 -1
  740. package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +0 -2
  741. package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +0 -1
  742. package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +0 -14
  743. package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +0 -1
  744. package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +0 -1
  745. package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +0 -1
  746. package/dist/chunks/passes-0.1.9-84vsp058.mjs +0 -1
  747. package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +0 -3
  748. package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +0 -1
  749. package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +0 -1
  750. package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +0 -29
  751. package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +0 -1
  752. package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +0 -9
  753. package/dist/chunks/print-0.1.9-z151tvas.mjs +0 -57
  754. package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +0 -1
  755. package/dist/chunks/process-0.1.9-anx0dq1a.mjs +0 -1
  756. package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +0 -1
  757. package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +0 -9
  758. package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +0 -1
  759. package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +0 -1
  760. package/dist/chunks/prompts-0.1.9-psek69yr.mjs +0 -1
  761. package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +0 -2
  762. package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +0 -1
  763. package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +0 -1
  764. package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +0 -1
  765. package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +0 -5
  766. package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +0 -2
  767. package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +0 -1
  768. package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +0 -1
  769. package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +0 -1
  770. package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +0 -1
  771. package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +0 -1
  772. package/dist/chunks/resume-0.1.9-gayv56qp.mjs +0 -2
  773. package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +0 -1
  774. package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +0 -1
  775. package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +0 -1
  776. package/dist/chunks/session-0.1.9-jtrr3jje.mjs +0 -2
  777. package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +0 -1
  778. package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +0 -1
  779. package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +0 -5
  780. package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +0 -1
  781. package/dist/chunks/skills-0.1.9-d63w5m27.mjs +0 -1
  782. package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +0 -1
  783. package/dist/chunks/state-0.1.9-m8x0v07d.mjs +0 -1
  784. package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +0 -6
  785. package/dist/chunks/status-0.1.9-sapnwz4b.mjs +0 -1
  786. package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +0 -1
  787. package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +0 -1
  788. package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +0 -1
  789. package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +0 -1
  790. package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +0 -1
  791. package/dist/chunks/teleport-0.1.9-xaj204my.mjs +0 -1
  792. package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +0 -1
  793. package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +0 -1
  794. package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +0 -1
  795. package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +0 -1
  796. package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +0 -1
  797. package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +0 -1
  798. package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +0 -1
  799. package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +0 -69
  800. package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +0 -4
  801. package/dist/chunks/update-0.1.9-8dntd8kh.mjs +0 -94
  802. package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +0 -1
  803. package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +0 -14
  804. package/dist/chunks/usage-0.1.9-neje6dea.mjs +0 -1
  805. package/dist/chunks/util-0.1.9-kdhggd68.mjs +0 -1
  806. package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +0 -1
  807. package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +0 -1
  808. package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +0 -1
  809. package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +0 -132
  810. package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +0 -1
  811. package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +0 -1
  812. package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +0 -7
  813. /package/dist/chunks/{cli-0.1.9-zrdz7st3.mjs → cli-0.1.10-9xpgjxhj.mjs} +0 -0
@@ -0,0 +1,16 @@
1
+ import{Bna as Yc,Cna as hf}from"./cli-0.1.10-szz5tkt1.mjs";import{Dna as lo}from"./cli-0.1.10-v385rk98.mjs";import{Fna as q}from"./cli-0.1.10-6p8tttyp.mjs";import{Ina as d,Lna as $}from"./cli-0.1.10-hyxg32sc.mjs";var Fe=d((Nn)=>{Nn.HttpAuthLocation=void 0;(function(t){t.HEADER="header",t.QUERY="query"})(Nn.HttpAuthLocation||(Nn.HttpAuthLocation={}));Nn.HttpApiKeyAuthLocation=void 0;(function(t){t.HEADER="header",t.QUERY="query"})(Nn.HttpApiKeyAuthLocation||(Nn.HttpApiKeyAuthLocation={}));Nn.EndpointURLScheme=void 0;(function(t){t.HTTP="http",t.HTTPS="https"})(Nn.EndpointURLScheme||(Nn.EndpointURLScheme={}));Nn.AlgorithmId=void 0;(function(t){t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256"})(Nn.AlgorithmId||(Nn.AlgorithmId={}));var In=(t)=>{let e=[];if(t.sha256!==void 0)e.push({algorithmId:()=>Nn.AlgorithmId.SHA256,checksumConstructor:()=>t.sha256});if(t.md5!=null)e.push({algorithmId:()=>Nn.AlgorithmId.MD5,checksumConstructor:()=>t.md5});return{addChecksumAlgorithm(r){e.push(r)},checksumAlgorithms(){return e}}},jn=(t)=>{let e={};return t.checksumAlgorithms().forEach((r)=>{e[r.algorithmId()]=r.checksumConstructor()}),e},Dn=(t)=>{return In(t)},Ln=(t)=>{return jn(t)};Nn.FieldPosition=void 0;(function(t){t[t.HEADER=0]="HEADER",t[t.TRAILER=1]="TRAILER"})(Nn.FieldPosition||(Nn.FieldPosition={}));var Un="__smithy_context";Nn.IniSectionType=void 0;(function(t){t.PROFILE="profile",t.SSO_SESSION="sso-session",t.SERVICES="services"})(Nn.IniSectionType||(Nn.IniSectionType={}));Nn.RequestHandlerProtocol=void 0;(function(t){t.HTTP_0_9="http/0.9",t.HTTP_1_0="http/1.0",t.TDS_8_0="tds/8.0"})(Nn.RequestHandlerProtocol||(Nn.RequestHandlerProtocol={}));Nn.SMITHY_CONTEXT_KEY=Un;Nn.getDefaultClientConfiguration=Dn;Nn.resolveDefaultRuntimeConfig=Ln});var Vt=d((Kn)=>{var Yn=Fe(),Jn=(t)=>{return{setHttpHandler(e){t.httpHandler=e},httpHandler(){return t.httpHandler},updateHttpClientConfig(e,r){t.httpHandler?.updateHttpClientConfig(e,r)},httpHandlerConfigs(){return t.httpHandler.httpHandlerConfigs()}}},Wn=(t)=>{return{httpHandler:t.httpHandler()}};class qe{name;kind;values;constructor({name:t,kind:e=Yn.FieldPosition.HEADER,values:r=[]}){this.name=t,this.kind=e,this.values=r}add(t){this.values.push(t)}set(t){this.values=t}remove(t){this.values=this.values.filter((e)=>e!==t)}toString(){return this.values.map((t)=>t.includes(",")||t.includes(" ")?`"${t}"`:t).join(", ")}get(){return this.values}}class Ye{entries={};encoding;constructor({fields:t=[],encoding:e="utf-8"}){t.forEach(this.setField.bind(this)),this.encoding=e}setField(t){this.entries[t.name.toLowerCase()]=t}getField(t){return this.entries[t.toLowerCase()]}removeField(t){delete this.entries[t.toLowerCase()]}getByType(t){return Object.values(this.entries).filter((e)=>e.kind===t)}}class at{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?t.protocol.slice(-1)!==":"?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?t.path.charAt(0)!=="/"?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){let e=new at({...t,headers:{...t.headers}});if(e.query)e.query=Xn(e.query);return e}static isInstance(t){if(!t)return!1;let e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&typeof e.query==="object"&&typeof e.headers==="object"}clone(){return at.clone(this)}}function Xn(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})}class Je{statusCode;reason;headers;body;constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;let e=t;return typeof e.statusCode==="number"&&typeof e.headers==="object"}}function zn(t){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(t)}Kn.Field=qe;Kn.Fields=Ye;Kn.HttpRequest=at;Kn.HttpResponse=Je;Kn.getHttpHandlerExtensionConfiguration=Jn;Kn.isValidHostname=zn;Kn.resolveHttpHandlerRuntimeConfig=Wn});var We=d((io)=>{io.HttpAuthLocation=void 0;(function(t){t.HEADER="header",t.QUERY="query"})(io.HttpAuthLocation||(io.HttpAuthLocation={}));io.HttpApiKeyAuthLocation=void 0;(function(t){t.HEADER="header",t.QUERY="query"})(io.HttpApiKeyAuthLocation||(io.HttpApiKeyAuthLocation={}));io.EndpointURLScheme=void 0;(function(t){t.HTTP="http",t.HTTPS="https"})(io.EndpointURLScheme||(io.EndpointURLScheme={}));io.AlgorithmId=void 0;(function(t){t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256"})(io.AlgorithmId||(io.AlgorithmId={}));var eo=(t)=>{let e=[];if(t.sha256!==void 0)e.push({algorithmId:()=>io.AlgorithmId.SHA256,checksumConstructor:()=>t.sha256});if(t.md5!=null)e.push({algorithmId:()=>io.AlgorithmId.MD5,checksumConstructor:()=>t.md5});return{addChecksumAlgorithm(r){e.push(r)},checksumAlgorithms(){return e}}},ro=(t)=>{let e={};return t.checksumAlgorithms().forEach((r)=>{e[r.algorithmId()]=r.checksumConstructor()}),e},so=(t)=>{return eo(t)},no=(t)=>{return ro(t)};io.FieldPosition=void 0;(function(t){t[t.HEADER=0]="HEADER",t[t.TRAILER=1]="TRAILER"})(io.FieldPosition||(io.FieldPosition={}));var oo="__smithy_context";io.IniSectionType=void 0;(function(t){t.PROFILE="profile",t.SSO_SESSION="sso-session",t.SERVICES="services"})(io.IniSectionType||(io.IniSectionType={}));io.RequestHandlerProtocol=void 0;(function(t){t.HTTP_0_9="http/0.9",t.HTTP_1_0="http/1.0",t.TDS_8_0="tds/8.0"})(io.RequestHandlerProtocol||(io.RequestHandlerProtocol={}));io.SMITHY_CONTEXT_KEY=oo;io.getDefaultClientConfiguration=so;io.resolveDefaultRuntimeConfig=no});var ze=d((yo)=>{var Xe=We(),ao=(t)=>t[Xe.SMITHY_CONTEXT_KEY]||(t[Xe.SMITHY_CONTEXT_KEY]={}),ho=(t)=>{if(typeof t==="function")return t;let e=Promise.resolve(t);return()=>e};yo.getSmithyContext=ao;yo.normalizeProvider=ho});var Ze=d((go)=>{var Ke=lo(),bo=(t)=>{if(typeof t==="object"){if("url"in t){let e=Ke.parseUrl(t.url);if(t.headers){e.headers={};for(let[r,n]of Object.entries(t.headers))e.headers[r.toLowerCase()]=n.join(", ")}return e}return t}return Ke.parseUrl(t)};go.toEndpointV1=bo});var ve=d((Io)=>{var So=Vt(),Qe=ze(),To=Ze(),ht=(t)=>{if(typeof t==="function")return t();return t},ie=(t,e,r,n,f)=>({name:e,namespace:t,traits:r,input:n,output:f}),_o=(t)=>(e,r)=>async(n)=>{let{response:f}=await e(n),{operationSchema:s}=Qe.getSmithyContext(r),[,o,i,c,u,a]=s??[];try{let h=await t.protocol.deserializeResponse(ie(o,i,c,u,a),{...t,...r},f);return{response:f,output:h}}catch(h){if(Object.defineProperty(h,"$response",{value:f,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in h)){try{h.message+=`
2
+ Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`}catch(p){if(!r.logger||r.logger?.constructor?.name==="NoOpLogger")console.warn("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.");else r.logger?.warn?.("Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.")}if(typeof h.$responseBodyText<"u"){if(h.$response)h.$response.body=h.$responseBodyText}try{if(So.HttpResponse.isInstance(f)){let{headers:p={}}=f,y=Object.entries(p);h.$metadata={httpStatusCode:f.statusCode,requestId:ne(/^x-[\w-]+-request-?id$/,y),extendedRequestId:ne(/^x-[\w-]+-id-2$/,y),cfId:ne(/^x-[\w-]+-cf-id$/,y)}}}catch(p){}}throw h}},ne=(t,e)=>{return(e.find(([r])=>{return r.match(t)})||[void 0,void 0])[1]},Eo=(t)=>(e,r)=>async(n)=>{let{operationSchema:f}=Qe.getSmithyContext(r),[,s,o,i,c,u]=f??[],a=r.endpointV2?async()=>To.toEndpointV1(r.endpointV2):t.endpoint,h=await t.protocol.serializeRequest(ie(s,o,i,c,u),n.input,{...t,...r,endpoint:a});return e({...n,request:h})},Ge={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Ve={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Oo(t){return{applyToStack:(e)=>{e.add(Eo(t),Ve),e.add(_o(t),Ge),t.protocol.setSerdeContext(t)}}}class x{name;namespace;traits;static assign(t,e){return Object.assign(t,e)}static[Symbol.hasInstance](t){let e=this.prototype.isPrototypeOf(t);if(!e&&typeof t==="object"&&t!==null)return t.symbol===this.symbol;return e}getName(){return this.namespace+"#"+this.name}}class lt extends x{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=lt.symbol}var xo=(t,e,r,n)=>x.assign(new lt,{name:e,namespace:t,traits:r,valueSchema:n});class dt extends x{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=dt.symbol}var Ao=(t,e,r,n,f)=>x.assign(new dt,{name:e,namespace:t,traits:r,keySchema:n,valueSchema:f});class bt extends x{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=bt.symbol}var Co=(t,e,r,n,f)=>x.assign(new bt,{name:e,namespace:t,traits:r,input:n,output:f});class v extends x{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=v.symbol}var $o=(t,e,r,n,f)=>x.assign(new v,{name:e,namespace:t,traits:r,memberNames:n,memberList:f});class gt extends v{static symbol=Symbol.for("@smithy/err");ctor;symbol=gt.symbol}var Po=(t,e,r,n,f,s)=>x.assign(new gt,{name:e,namespace:t,traits:r,memberNames:n,memberList:f,ctor:null}),yt=[];function k(t){if(typeof t==="object")return t;if(t=t|0,yt[t])return yt[t];let e={},r=0;for(let n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])if((t>>r++&1)===1)e[n]=1;return yt[t]=e}var G={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},mt=[],pt={};class M{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=M.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(t,e){this.ref=t,this.memberName=e;let r=[],n=t,f=t;this._isMemberSchema=!1;while(oe(n))r.push(n[1]),n=n[0],f=ht(n),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let s=r.length-1;s>=0;--s){let o=r[s];Object.assign(this.memberTraits,k(o))}}else this.memberTraits=0;if(f instanceof M){let s=this.memberTraits;Object.assign(this,f),this.memberTraits=Object.assign({},s,f.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=e??f.memberName;return}if(this.schema=ht(f),ke(this.schema))this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3];else this.name=this.memberName??String(f),this.traits=0;if(this._isMemberSchema&&!e)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](t){let e=this.prototype.isPrototypeOf(t);if(!e&&typeof t==="object"&&t!==null)return t.symbol===this.symbol;return e}static of(t){let e=typeof t==="function"||typeof t==="object"&&t!==null;if(typeof t==="number"){if(mt[t])return mt[t]}else if(typeof t==="string"){if(pt[t])return pt[t]}else if(e){if(t[G.ns])return t[G.ns]}let r=ht(t);if(r instanceof M)return r;if(oe(r)){let[f,s]=r;if(f instanceof M)return Object.assign(f.getMergedTraits(),k(s)),f;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(t,null,2)}.`)}let n=new M(r);if(e)return t[G.ns]=n;if(typeof r==="string")return pt[r]=n;if(typeof r==="number")return mt[r]=n;return n}getSchema(){let t=this.schema;if(Array.isArray(t)&&t[0]===0)return t[4];return t}getName(t=!1){let{name:e}=this;return!t&&e&&e.includes("#")?e.split("#")[1]:e||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let t=this.getSchema();return typeof t==="number"?t>=64&&t<128:t[0]===1}isMapSchema(){let t=this.getSchema();return typeof t==="number"?t>=128&&t<=255:t[0]===2}isStructSchema(){let t=this.getSchema();if(typeof t!=="object")return!1;let e=t[0];return e===3||e===-3||e===4}isUnionSchema(){let t=this.getSchema();if(typeof t!=="object")return!1;return t[0]===4}isBlobSchema(){let t=this.getSchema();return t===21||t===42}isTimestampSchema(){let t=this.getSchema();return typeof t==="number"&&t>=4&&t<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:t}=this.getMergedTraits();return!!t||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return k(this.memberTraits)}getOwnTraits(){return k(this.traits)}getKeySchema(){let[t,e]=[this.isDocumentSchema(),this.isMapSchema()];if(!t&&!e)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let r=this.getSchema(),n=t?15:r[4]??0;return V([n,0],"key")}getValueSchema(){let t=this.getSchema(),[e,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],f=typeof t==="number"?63&t:t&&typeof t==="object"&&(r||n)?t[3+t[0]]:e?15:void 0;if(f!=null)return V([f,0],r?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(t){let e=this.getSchema();if(this.isStructSchema()&&e[4].includes(t)){let r=e[4].indexOf(t),n=e[5][r];return V(oe(n)?n:[n,0],t)}if(this.isDocumentSchema())return V([15,0],t);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${t}.`)}getMemberSchemas(){let t={};try{for(let[e,r]of this.structIterator())t[e]=r}catch(e){}return t}getEventStreamMember(){if(this.isStructSchema()){for(let[t,e]of this.structIterator())if(e.isStreaming()&&e.isStructSchema())return t}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let t=this.getSchema(),e=t[4].length,r=t[G.it];if(r&&e===r.length){yield*r;return}r=Array(e);for(let n=0;n<e;++n){let f=t[4][n],s=V([t[5][n],0],f);yield r[n]=[f,s]}t[G.it]=r}}function V(t,e){if(t instanceof M)return Object.assign(t,{memberName:e,_isMemberSchema:!0});return new M(t,e)}var oe=(t)=>Array.isArray(t)&&t.length===2,ke=(t)=>Array.isArray(t)&&t.length>=5;class tt extends x{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=tt.symbol}var Bo=(t,e,r,n)=>x.assign(new tt,{name:e,namespace:t,traits:n,schemaRef:r}),Mo=(t,e,r,n)=>x.assign(new tt,{name:e,namespace:t,traits:r,schemaRef:n}),Ro={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class B{namespace;schemas;exceptions;static registries=new Map;constructor(t,e=new Map,r=new Map){this.namespace=t,this.schemas=e,this.exceptions=r}static for(t){if(!B.registries.has(t))B.registries.set(t,new B(t));return B.registries.get(t)}copyFrom(t){let{schemas:e,exceptions:r}=this;for(let[n,f]of t.schemas)if(!e.has(n))e.set(n,f);for(let[n,f]of t.exceptions)if(!r.has(n))r.set(n,f)}register(t,e){let r=this.normalizeShapeId(t);for(let n of[this,B.for(r.split("#")[0])])n.schemas.set(r,e)}getSchema(t){let e=this.normalizeShapeId(t);if(!this.schemas.has(e))throw Error(`@smithy/core/schema - schema not found for ${e}`);return this.schemas.get(e)}registerError(t,e){let r=t,n=r[1];for(let f of[this,B.for(n)])f.schemas.set(n+"#"+r[2],r),f.exceptions.set(r,e)}getErrorCtor(t){let e=t;if(this.exceptions.has(e))return this.exceptions.get(e);return B.for(e[1]).exceptions.get(e)}getBaseException(){for(let t of this.exceptions.keys())if(Array.isArray(t)){let[,e,r]=t,n=e+"#"+r;if(n.startsWith("smithy.ts.sdk.synthetic.")&&n.endsWith("ServiceException"))return t}return}find(t){return[...this.schemas.values()].find(t)}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(t){if(t.includes("#"))return t;return this.namespace+"#"+t}}Io.ErrorSchema=gt;Io.ListSchema=lt;Io.MapSchema=dt;Io.NormalizedSchema=M;Io.OperationSchema=bt;Io.SCHEMA=Ro;Io.Schema=x;Io.SimpleSchema=tt;Io.StructureSchema=v;Io.TypeRegistry=B;Io.deref=ht;Io.deserializerMiddlewareOption=Ge;Io.error=Po;Io.getSchemaSerdePlugin=Oo;Io.isStaticSchema=ke;Io.list=xo;Io.map=Ao;Io.op=Co;Io.operation=ie;Io.serializerMiddlewareOption=Ve;Io.sim=Bo;Io.simAdapter=Mo;Io.simpleSchemaCacheN=mt;Io.simpleSchemaCacheS=pt;Io.struct=$o;Io.traitsCache=yt;Io.translateTraits=k});var tr=d((fi)=>{var ci=(t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]";fi.isArrayBuffer=ci});var wt=d((mi)=>{var ai=tr(),ce=$("buffer"),hi=(t,e=0,r=t.byteLength-e)=>{if(!ai.isArrayBuffer(t))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return ce.Buffer.from(t,e,r)},yi=(t,e)=>{if(typeof t!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?ce.Buffer.from(t,e):ce.Buffer.from(t)};mi.fromArrayBuffer=hi;mi.fromString=yi});var sr=d((er)=>{Object.defineProperty(er,"__esModule",{value:!0});er.fromBase64=void 0;var di=wt(),bi=/^[A-Za-z0-9+/]*={0,2}$/,gi=(t)=>{if(t.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!bi.exec(t))throw TypeError("Invalid base64 string.");let e=(0,di.fromString)(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};er.fromBase64=gi});var ir=d((nr)=>{Object.defineProperty(nr,"__esModule",{value:!0});nr.toBase64=void 0;var wi=wt(),Si=q(),Ti=(t)=>{let e;if(typeof t==="string")e=(0,Si.fromUtf8)(t);else e=t;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return(0,wi.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64")};nr.toBase64=Ti});var et=d((R)=>{var St=sr(),Tt=ir();Object.prototype.hasOwnProperty.call(St,"__proto__")&&!Object.prototype.hasOwnProperty.call(R,"__proto__")&&Object.defineProperty(R,"__proto__",{enumerable:!0,value:St.__proto__});Object.keys(St).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(R,t))R[t]=St[t]});Object.prototype.hasOwnProperty.call(Tt,"__proto__")&&!Object.prototype.hasOwnProperty.call(R,"__proto__")&&Object.defineProperty(R,"__proto__",{enumerable:!0,value:Tt.__proto__});Object.keys(Tt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(R,t))R[t]=Tt[t]})});var fe=d((fr)=>{Object.defineProperty(fr,"__esModule",{value:!0});fr.ChecksumStream=void 0;var _i=et(),Ei=$("stream");class cr extends Ei.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;pendingCallback=null;constructor({expectedChecksum:t,checksum:e,source:r,checksumSourceLocation:n,base64Encoder:f}){super();if(typeof r.pipe==="function")this.source=r;else throw Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);this.base64Encoder=f??_i.toBase64,this.expectedChecksum=t,this.checksum=e,this.checksumSourceLocation=n,this.source.pipe(this)}_read(t){if(this.pendingCallback){let e=this.pendingCallback;this.pendingCallback=null,e()}}_write(t,e,r){try{if(this.checksum.update(t),!this.push(t)){this.pendingCallback=r;return}}catch(n){return r(n)}return r()}async _final(t){try{let e=await this.checksum.digest(),r=this.base64Encoder(e);if(this.expectedChecksum!==r)return t(Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${r}" in response header "${this.checksumSourceLocation}".`))}catch(e){return t(e)}return this.push(null),t()}}fr.ChecksumStream=cr});var I=d((ar)=>{Object.defineProperty(ar,"__esModule",{value:!0});ar.isBlob=ar.isReadableStream=void 0;var Oi=(t)=>typeof ReadableStream==="function"&&(t?.constructor?.name===ReadableStream.name||t instanceof ReadableStream);ar.isReadableStream=Oi;var xi=(t)=>{return typeof Blob==="function"&&(t?.constructor?.name===Blob.name||t instanceof Blob)};ar.isBlob=xi});var lr=d((mr)=>{Object.defineProperty(mr,"__esModule",{value:!0});mr.ChecksumStream=void 0;var Ci=typeof ReadableStream==="function"?ReadableStream:function(){};class yr extends Ci{}mr.ChecksumStream=yr});var gr=d((dr)=>{Object.defineProperty(dr,"__esModule",{value:!0});dr.createChecksumStream=void 0;var $i=et(),Pi=I(),Bi=lr(),Mi=({expectedChecksum:t,checksum:e,source:r,checksumSourceLocation:n,base64Encoder:f})=>{if(!(0,Pi.isReadableStream)(r))throw Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);let s=f??$i.toBase64;if(typeof TransformStream!=="function")throw Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let o=new TransformStream({start(){},async transform(c,u){e.update(c),u.enqueue(c)},async flush(c){let u=await e.digest(),a=s(u);if(t!==a){let h=Error(`Checksum mismatch: expected "${t}" but received "${a}" in response header "${n}".`);c.error(h)}else c.terminate()}});r.pipeThrough(o);let i=o.readable;return Object.setPrototypeOf(i,Bi.ChecksumStream.prototype),i};dr.createChecksumStream=Mi});var Sr=d((wr)=>{Object.defineProperty(wr,"__esModule",{value:!0});wr.createChecksumStream=Di;var Ri=I(),Ii=fe(),ji=gr();function Di(t){if(typeof ReadableStream==="function"&&(0,Ri.isReadableStream)(t.source))return(0,ji.createChecksumStream)(t);return new Ii.ChecksumStream(t)}});var ue=d((_r)=>{Object.defineProperty(_r,"__esModule",{value:!0});_r.ByteArrayCollector=void 0;class Tr{allocByteArray;byteLength=0;byteArrays=[];constructor(t){this.allocByteArray=t}push(t){this.byteArrays.push(t),this.byteLength+=t.byteLength}flush(){if(this.byteArrays.length===1){let r=this.byteArrays[0];return this.reset(),r}let t=this.allocByteArray(this.byteLength),e=0;for(let r=0;r<this.byteArrays.length;++r){let n=this.byteArrays[r];t.set(n,e),e+=n.byteLength}return this.reset(),t}reset(){this.byteArrays=[],this.byteLength=0}}_r.ByteArrayCollector=Tr});var Pr=d((Cr)=>{Object.defineProperty(Cr,"__esModule",{value:!0});Cr.createBufferedReadable=void 0;Cr.createBufferedReadableStream=Or;Cr.merge=xr;Cr.flush=_t;Cr.sizeOf=Y;Cr.modeOf=Ar;var Ui=ue();function Or(t,e,r){let n=t.getReader(),f=!1,s=0,o=["",new Ui.ByteArrayCollector((u)=>new Uint8Array(u))],i=-1,c=async(u)=>{let{value:a,done:h}=await n.read(),m=a;if(h){if(i!==-1){let p=_t(o,i);if(Y(p)>0)u.enqueue(p)}u.close()}else{let p=Ar(m,!1);if(i!==p){if(i>=0)u.enqueue(_t(o,i));i=p}if(i===-1){u.enqueue(m);return}let y=Y(m);s+=y;let l=Y(o[i]);if(y>=e&&l===0)u.enqueue(m);else{let b=xr(o,i,m);if(!f&&s>e*2)f=!0,r?.warn(`@smithy/util-stream - stream chunk size ${y} is below threshold of ${e}, automatically buffering.`);if(b>=e)u.enqueue(_t(o,i));else await c(u)}}};return new ReadableStream({pull:c})}Cr.createBufferedReadable=Or;function xr(t,e,r){switch(e){case 0:return t[0]+=r,Y(t[0]);case 1:case 2:return t[e].push(r),Y(t[e])}}function _t(t,e){switch(e){case 0:let r=t[0];return t[0]="",r;case 1:case 2:return t[e].flush()}throw Error(`@smithy/util-stream - invalid index ${e} given to flush()`)}function Y(t){return t?.byteLength??t?.length??0}function Ar(t,e=!0){if(e&&typeof Buffer<"u"&&t instanceof Buffer)return 2;if(t instanceof Uint8Array)return 1;if(typeof t==="string")return 0;return-1}});var Rr=d((Mr)=>{Object.defineProperty(Mr,"__esModule",{value:!0});Mr.createBufferedReadable=Xi;var Ji=$("node:stream"),Br=ue(),j=Pr(),Wi=I();function Xi(t,e,r){if((0,Wi.isReadableStream)(t))return(0,j.createBufferedReadableStream)(t,e,r);let n=new Ji.Readable({read(){}}),f=!1,s=0,o=["",new Br.ByteArrayCollector((c)=>new Uint8Array(c)),new Br.ByteArrayCollector((c)=>Buffer.from(new Uint8Array(c)))],i=-1;return t.on("data",(c)=>{let u=(0,j.modeOf)(c,!0);if(i!==u){if(i>=0)n.push((0,j.flush)(o,i));i=u}if(i===-1){n.push(c);return}let a=(0,j.sizeOf)(c);s+=a;let h=(0,j.sizeOf)(o[i]);if(a>=e&&h===0)n.push(c);else{let m=(0,j.merge)(o,i,c);if(!f&&s>e*2)f=!0,r?.warn(`@smithy/util-stream - stream chunk size ${a} is below threshold of ${e}, automatically buffering.`);if(m>=e)n.push((0,j.flush)(o,i))}}),t.on("end",()=>{if(i!==-1){let c=(0,j.flush)(o,i);if((0,j.sizeOf)(c)>0)n.push(c)}n.push(null)}),n}});var Dr=d((Ir)=>{Object.defineProperty(Ir,"__esModule",{value:!0});Ir.getAwsChunkedEncodingStream=void 0;var Ki=(t,e)=>{let{base64Encoder:r,bodyLengthChecker:n,checksumAlgorithmFn:f,checksumLocationName:s,streamHasher:o}=e,i=r!==void 0&&n!==void 0&&f!==void 0&&s!==void 0&&o!==void 0,c=i?o(f,t):void 0,u=t.getReader();return new ReadableStream({async pull(a){let{value:h,done:m}=await u.read();if(m){if(a.enqueue(`0\r
3
+ `),i){let p=r(await c);a.enqueue(`${s}:${p}\r
4
+ `),a.enqueue(`\r
5
+ `)}a.close()}else a.enqueue(`${(n(h)||0).toString(16)}\r
6
+ ${h}\r
7
+ `)}})};Ir.getAwsChunkedEncodingStream=Ki});var Ur=d((Lr)=>{Object.defineProperty(Lr,"__esModule",{value:!0});Lr.getAwsChunkedEncodingStream=Vi;var Zi=$("node:stream"),Qi=Dr(),Gi=I();function Vi(t,e){let r=t,n=t;if((0,Gi.isReadableStream)(n))return(0,Qi.getAwsChunkedEncodingStream)(n,e);let{base64Encoder:f,bodyLengthChecker:s,checksumAlgorithmFn:o,checksumLocationName:i,streamHasher:c}=e,u=f!==void 0&&o!==void 0&&i!==void 0&&c!==void 0,a=u?c(o,r):void 0,h=new Zi.Readable({read:()=>{}});return r.on("data",(m)=>{let p=s(m)||0;if(p===0)return;h.push(`${p.toString(16)}\r
8
+ `),h.push(m),h.push(`\r
9
+ `)}),r.on("end",async()=>{if(h.push(`0\r
10
+ `),u){let m=f(await a);h.push(`${i}:${m}\r
11
+ `),h.push(`\r
12
+ `)}h.push(null)}),h}});var Hr=d((Nr)=>{Object.defineProperty(Nr,"__esModule",{value:!0});Nr.headStream=vi;async function vi(t,e){let r=0,n=[],f=t.getReader(),s=!1;while(!s){let{done:c,value:u}=await f.read();if(u)n.push(u),r+=u?.byteLength??0;if(r>=e)break;s=c}f.releaseLock();let o=new Uint8Array(Math.min(e,r)),i=0;for(let c of n){if(c.byteLength>o.byteLength-i){o.set(c.subarray(0,o.byteLength-i),i);break}else o.set(c,i);i+=c.length}return o}});var Jr=d((qr)=>{Object.defineProperty(qr,"__esModule",{value:!0});qr.headStream=void 0;var ec=$("stream"),rc=Hr(),sc=I(),nc=(t,e)=>{if((0,sc.isReadableStream)(t))return(0,rc.headStream)(t,e);return new Promise((r,n)=>{let f=new Fr;f.limit=e,t.pipe(f),t.on("error",(s)=>{f.end(),n(s)}),f.on("error",n),f.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.buffers));r(s)})})};qr.headStream=nc;class Fr extends ec.Writable{buffers=[];limit=1/0;bytesBuffered=0;_write(t,e,r){if(this.buffers.push(t),this.bytesBuffered+=t.byteLength??0,this.bytesBuffered>=this.limit){let n=this.bytesBuffered-this.limit,f=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=f.subarray(0,f.byteLength-n),this.emit("finish")}r()}}});var Wr=d((ac)=>{ac.HttpAuthLocation=void 0;(function(t){t.HEADER="header",t.QUERY="query"})(ac.HttpAuthLocation||(ac.HttpAuthLocation={}));ac.HttpApiKeyAuthLocation=void 0;(function(t){t.HEADER="header",t.QUERY="query"})(ac.HttpApiKeyAuthLocation||(ac.HttpApiKeyAuthLocation={}));ac.EndpointURLScheme=void 0;(function(t){t.HTTP="http",t.HTTPS="https"})(ac.EndpointURLScheme||(ac.EndpointURLScheme={}));ac.AlgorithmId=void 0;(function(t){t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256"})(ac.AlgorithmId||(ac.AlgorithmId={}));var oc=(t)=>{let e=[];if(t.sha256!==void 0)e.push({algorithmId:()=>ac.AlgorithmId.SHA256,checksumConstructor:()=>t.sha256});if(t.md5!=null)e.push({algorithmId:()=>ac.AlgorithmId.MD5,checksumConstructor:()=>t.md5});return{addChecksumAlgorithm(r){e.push(r)},checksumAlgorithms(){return e}}},ic=(t)=>{let e={};return t.checksumAlgorithms().forEach((r)=>{e[r.algorithmId()]=r.checksumConstructor()}),e},cc=(t)=>{return oc(t)},fc=(t)=>{return ic(t)};ac.FieldPosition=void 0;(function(t){t[t.HEADER=0]="HEADER",t[t.TRAILER=1]="TRAILER"})(ac.FieldPosition||(ac.FieldPosition={}));var uc="__smithy_context";ac.IniSectionType=void 0;(function(t){t.PROFILE="profile",t.SSO_SESSION="sso-session",t.SERVICES="services"})(ac.IniSectionType||(ac.IniSectionType={}));ac.RequestHandlerProtocol=void 0;(function(t){t.HTTP_0_9="http/0.9",t.HTTP_1_0="http/1.0",t.TDS_8_0="tds/8.0"})(ac.RequestHandlerProtocol||(ac.RequestHandlerProtocol={}));ac.SMITHY_CONTEXT_KEY=uc;ac.getDefaultClientConfiguration=cc;ac.resolveDefaultRuntimeConfig=fc});var Zr=d((wc)=>{var pc=Wr(),lc=(t)=>{return{setHttpHandler(e){t.httpHandler=e},httpHandler(){return t.httpHandler},updateHttpClientConfig(e,r){t.httpHandler?.updateHttpClientConfig(e,r)},httpHandlerConfigs(){return t.httpHandler.httpHandlerConfigs()}}},dc=(t)=>{return{httpHandler:t.httpHandler()}};class Xr{name;kind;values;constructor({name:t,kind:e=pc.FieldPosition.HEADER,values:r=[]}){this.name=t,this.kind=e,this.values=r}add(t){this.values.push(t)}set(t){this.values=t}remove(t){this.values=this.values.filter((e)=>e!==t)}toString(){return this.values.map((t)=>t.includes(",")||t.includes(" ")?`"${t}"`:t).join(", ")}get(){return this.values}}class zr{entries={};encoding;constructor({fields:t=[],encoding:e="utf-8"}){t.forEach(this.setField.bind(this)),this.encoding=e}setField(t){this.entries[t.name.toLowerCase()]=t}getField(t){return this.entries[t.toLowerCase()]}removeField(t){delete this.entries[t.toLowerCase()]}getByType(t){return Object.values(this.entries).filter((e)=>e.kind===t)}}class Et{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?t.protocol.slice(-1)!==":"?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?t.path.charAt(0)!=="/"?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){let e=new Et({...t,headers:{...t.headers}});if(e.query)e.query=bc(e.query);return e}static isInstance(t){if(!t)return!1;let e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&typeof e.query==="object"&&typeof e.headers==="object"}clone(){return Et.clone(this)}}function bc(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})}class Kr{statusCode;reason;headers;body;constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;let e=t;return typeof e.statusCode==="number"&&typeof e.headers==="object"}}function gc(t){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(t)}wc.Field=Xr;wc.Fields=zr;wc.HttpRequest=Et;wc.HttpResponse=Kr;wc.getHttpHandlerExtensionConfiguration=lc;wc.isValidHostname=gc;wc.resolveHttpHandlerRuntimeConfig=dc});var Qr=d(($c)=>{var Cc=(t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]";$c.isArrayBuffer=Cc});var be=d((Ic)=>{var Bc=Qr(),de=$("buffer"),Mc=(t,e=0,r=t.byteLength-e)=>{if(!Bc.isArrayBuffer(t))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return de.Buffer.from(t,e,r)},Rc=(t,e)=>{if(typeof t!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?de.Buffer.from(t,e):de.Buffer.from(t)};Ic.fromArrayBuffer=Mc;Ic.fromString=Rc});var kr=d((Gr)=>{Object.defineProperty(Gr,"__esModule",{value:!0});Gr.fromBase64=void 0;var Lc=be(),Uc=/^[A-Za-z0-9+/]*={0,2}$/,Nc=(t)=>{if(t.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!Uc.exec(t))throw TypeError("Invalid base64 string.");let e=(0,Lc.fromString)(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};Gr.fromBase64=Nc});var es=d((vr)=>{Object.defineProperty(vr,"__esModule",{value:!0});vr.toBase64=void 0;var Hc=be(),Fc=q(),qc=(t)=>{let e;if(typeof t==="string")e=(0,Fc.fromUtf8)(t);else e=t;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return(0,Hc.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64")};vr.toBase64=qc});var rs=d((D)=>{var Ot=kr(),xt=es();Object.prototype.hasOwnProperty.call(Ot,"__proto__")&&!Object.prototype.hasOwnProperty.call(D,"__proto__")&&Object.defineProperty(D,"__proto__",{enumerable:!0,value:Ot.__proto__});Object.keys(Ot).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(D,t))D[t]=Ot[t]});Object.prototype.hasOwnProperty.call(xt,"__proto__")&&!Object.prototype.hasOwnProperty.call(D,"__proto__")&&Object.defineProperty(D,"__proto__",{enumerable:!0,value:xt.__proto__});Object.keys(xt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(D,t))D[t]=xt[t]})});var is=d((Gc)=>{var ss=Zr(),Jc=Yc(),Wc=rs();function ns(t,e){return new Request(t,e)}function Xc(t=0){return new Promise((e,r)=>{if(t)setTimeout(()=>{let n=Error(`Request did not complete within ${t} ms`);n.name="TimeoutError",r(n)},t)})}var At={supported:void 0};class ge{config;configProvider;static create(t){if(typeof t?.handle==="function")return t;return new ge(t)}constructor(t){if(typeof t==="function")this.configProvider=t().then((e)=>e||{});else this.config=t??{},this.configProvider=Promise.resolve(this.config);if(At.supported===void 0)At.supported=Boolean(typeof Request<"u"&&"keepalive"in ns("https://[::1]"))}destroy(){}async handle(t,{abortSignal:e,requestTimeout:r}={}){if(!this.config)this.config=await this.configProvider;let n=r??this.config.requestTimeout,f=this.config.keepAlive===!0,s=this.config.credentials;if(e?.aborted){let w=os(e);return Promise.reject(w)}let o=t.path,i=Jc.buildQueryString(t.query||{});if(i)o+=`?${i}`;if(t.fragment)o+=`#${t.fragment}`;let c="";if(t.username!=null||t.password!=null){let w=t.username??"",g=t.password??"";c=`${w}:${g}@`}let{port:u,method:a}=t,h=`${t.protocol}//${c}${t.hostname}${u?`:${u}`:""}${o}`,m=a==="GET"||a==="HEAD"?void 0:t.body,p={body:m,headers:new Headers(t.headers),method:a,credentials:s};if(this.config?.cache)p.cache=this.config.cache;if(m)p.duplex="half";if(typeof AbortController<"u")p.signal=e;if(At.supported)p.keepalive=f;if(typeof this.config.requestInit==="function")Object.assign(p,this.config.requestInit(t));let y=()=>{},l=ns(h,p),b=[fetch(l).then((w)=>{let g=w.headers,T={};for(let O of g.entries())T[O[0]]=O[1];if(w.body==null)return w.blob().then((O)=>({response:new ss.HttpResponse({headers:T,reason:w.statusText,statusCode:w.status,body:O})}));return{response:new ss.HttpResponse({headers:T,reason:w.statusText,statusCode:w.status,body:w.body})}}),Xc(n)];if(e)b.push(new Promise((w,g)=>{let T=()=>{let _=os(e);g(_)};if(typeof e.addEventListener==="function"){let _=e;_.addEventListener("abort",T,{once:!0}),y=()=>_.removeEventListener("abort",T)}else e.onabort=T}));return Promise.race(b).finally(y)}updateHttpClientConfig(t,e){this.config=void 0,this.configProvider=this.configProvider.then((r)=>{return r[t]=e,r})}httpHandlerConfigs(){return this.config??{}}}function os(t){let e=t&&typeof t==="object"&&"reason"in t?t.reason:void 0;if(e){if(e instanceof Error){let f=Error("Request aborted");return f.name="AbortError",f.cause=e,f}let n=Error(String(e));return n.name="AbortError",n}let r=Error("Request aborted");return r.name="AbortError",r}var zc=async(t)=>{if(typeof Blob==="function"&&t instanceof Blob||t.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==void 0)return new Uint8Array(await t.arrayBuffer());return Kc(t)}return Zc(t)};async function Kc(t){let e=await Qc(t),r=Wc.fromBase64(e);return new Uint8Array(r)}async function Zc(t){let e=[],r=t.getReader(),n=!1,f=0;while(!n){let{done:i,value:c}=await r.read();if(c)e.push(c),f+=c.length;n=i}let s=new Uint8Array(f),o=0;for(let i of e)s.set(i,o),o+=i.length;return s}function Qc(t){return new Promise((e,r)=>{let n=new FileReader;n.onloadend=()=>{if(n.readyState!==2)return r(Error("Reader aborted too early"));let f=n.result??"",s=f.indexOf(","),o=s>-1?s+1:f.length;e(f.substring(o))},n.onabort=()=>r(Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(t)})}Gc.FetchHttpHandler=ge;Gc.keepAliveSupport=At;Gc.streamCollector=zc});var fs=d((rf)=>{var cs={},we={};for(let t=0;t<256;t++){let e=t.toString(16).toLowerCase();if(e.length===1)e=`0${e}`;cs[t]=e,we[e]=t}function tf(t){if(t.length%2!==0)throw Error("Hex encoded strings must have an even number length");let e=new Uint8Array(t.length/2);for(let r=0;r<t.length;r+=2){let n=t.slice(r,r+2).toLowerCase();if(n in we)e[r/2]=we[n];else throw Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`)}return e}function ef(t){let e="";for(let r=0;r<t.byteLength;r++)e+=cs[t[r]];return e}rf.fromHex=tf;rf.toHex=ef});var ps=d((ys)=>{Object.defineProperty(ys,"__esModule",{value:!0});ys.sdkStreamMixin=void 0;var of=is(),cf=et(),ff=fs(),uf=q(),us=I(),as="The stream has already been transformed.",af=(t)=>{if(!hs(t)&&!(0,us.isReadableStream)(t)){let f=t?.__proto__?.constructor?.name||t;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${f}`)}let e=!1,r=async()=>{if(e)throw Error(as);return e=!0,await(0,of.streamCollector)(t)},n=(f)=>{if(typeof f.stream!=="function")throw Error(`Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.
13
+ If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body`);return f.stream()};return Object.assign(t,{transformToByteArray:r,transformToString:async(f)=>{let s=await r();if(f==="base64")return(0,cf.toBase64)(s);else if(f==="hex")return(0,ff.toHex)(s);else if(f===void 0||f==="utf8"||f==="utf-8")return(0,uf.toUtf8)(s);else if(typeof TextDecoder==="function")return new TextDecoder(f).decode(s);else throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(e)throw Error(as);if(e=!0,hs(t))return n(t);else if((0,us.isReadableStream)(t))return t;else throw Error(`Cannot transform payload to web stream, got ${t}`)}})};ys.sdkStreamMixin=af;var hs=(t)=>typeof Blob==="function"&&t instanceof Blob});var gs=d((ds)=>{Object.defineProperty(ds,"__esModule",{value:!0});ds.sdkStreamMixin=void 0;var yf=hf(),mf=wt(),Se=$("stream"),pf=ps(),ls="The stream has already been transformed.",lf=(t)=>{if(!(t instanceof Se.Readable))try{return(0,pf.sdkStreamMixin)(t)}catch(n){let f=t?.__proto__?.constructor?.name||t;throw Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${f}`)}let e=!1,r=async()=>{if(e)throw Error(ls);return e=!0,await(0,yf.streamCollector)(t)};return Object.assign(t,{transformToByteArray:r,transformToString:async(n)=>{let f=await r();if(n===void 0||Buffer.isEncoding(n))return(0,mf.fromArrayBuffer)(f.buffer,f.byteOffset,f.byteLength).toString(n);else return new TextDecoder(n).decode(f)},transformToWebStream:()=>{if(e)throw Error(ls);if(t.readableFlowing!==null)throw Error("The stream has been consumed by other callbacks.");if(typeof Se.Readable.toWeb!=="function")throw Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.");return e=!0,Se.Readable.toWeb(t)}})};ds.sdkStreamMixin=lf});var Ss=d((ws)=>{Object.defineProperty(ws,"__esModule",{value:!0});ws.splitStream=df;async function df(t){if(typeof t.stream==="function")t=t.stream();return t.tee()}});var Os=d((Es)=>{Object.defineProperty(Es,"__esModule",{value:!0});Es.splitStream=wf;var Ts=$("stream"),gf=Ss(),_s=I();async function wf(t){if((0,_s.isReadableStream)(t)||(0,_s.isBlob)(t))return(0,gf.splitStream)(t);let e=new Ts.PassThrough,r=new Ts.PassThrough;return t.pipe(e),t.pipe(r),[e,r]}});var $s=d((S)=>{var xs=et(),As=q(),Ct=fe(),$t=Sr(),Pt=Rr(),Bt=Ur(),Mt=Jr(),Rt=gs(),It=Os(),Cs=I();class st extends Uint8Array{static fromString(t,e="utf-8"){if(typeof t==="string"){if(e==="base64")return st.mutate(xs.fromBase64(t));return st.mutate(As.fromUtf8(t))}throw Error(`Unsupported conversion from ${typeof t} to Uint8ArrayBlobAdapter.`)}static mutate(t){return Object.setPrototypeOf(t,st.prototype),t}transformToString(t="utf-8"){if(t==="base64")return xs.toBase64(this);return As.toUtf8(this)}}S.isBlob=Cs.isBlob;S.isReadableStream=Cs.isReadableStream;S.Uint8ArrayBlobAdapter=st;Object.prototype.hasOwnProperty.call(Ct,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:Ct.__proto__});Object.keys(Ct).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=Ct[t]});Object.prototype.hasOwnProperty.call($t,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:$t.__proto__});Object.keys($t).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=$t[t]});Object.prototype.hasOwnProperty.call(Pt,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:Pt.__proto__});Object.keys(Pt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=Pt[t]});Object.prototype.hasOwnProperty.call(Bt,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:Bt.__proto__});Object.keys(Bt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=Bt[t]});Object.prototype.hasOwnProperty.call(Mt,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:Mt.__proto__});Object.keys(Mt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=Mt[t]});Object.prototype.hasOwnProperty.call(Rt,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:Rt.__proto__});Object.keys(Rt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=Rt[t]});Object.prototype.hasOwnProperty.call(It,"__proto__")&&!Object.prototype.hasOwnProperty.call(S,"__proto__")&&Object.defineProperty(S,"__proto__",{enumerable:!0,value:It.__proto__});Object.keys(It).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(S,t))S[t]=It[t]})});var sn=d((Ah,Lt)=>{var Ps,Bs,Ms,Rs,Is,js,Ds,Ls,Us,Ns,Hs,Fs,qs,jt,Te,Ys,Js,Ws,J,Xs,zs,Ks,Zs,Qs,Gs,Vs,ks,vs,Dt,tn,en,rn;(function(t){var e=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(n){t(r(e,r(n)))});else if(typeof Lt==="object"&&typeof Ah==="object")t(r(e,r(Ah)));else t(r(e));function r(n,f){if(n!==e)if(typeof Object.create==="function")Object.defineProperty(n,"__esModule",{value:!0});else n.__esModule=!0;return function(s,o){return n[s]=f?f(s,o):o}}})(function(t){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,o){s.__proto__=o}||function(s,o){for(var i in o)if(Object.prototype.hasOwnProperty.call(o,i))s[i]=o[i]};Ps=function(s,o){if(typeof o!=="function"&&o!==null)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");e(s,o);function i(){this.constructor=s}s.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Bs=Object.assign||function(s){for(var o,i=1,c=arguments.length;i<c;i++){o=arguments[i];for(var u in o)if(Object.prototype.hasOwnProperty.call(o,u))s[u]=o[u]}return s},Ms=function(s,o){var i={};for(var c in s)if(Object.prototype.hasOwnProperty.call(s,c)&&o.indexOf(c)<0)i[c]=s[c];if(s!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var u=0,c=Object.getOwnPropertySymbols(s);u<c.length;u++)if(o.indexOf(c[u])<0&&Object.prototype.propertyIsEnumerable.call(s,c[u]))i[c[u]]=s[c[u]]}return i},Rs=function(s,o,i,c){var u=arguments.length,a=u<3?o:c===null?c=Object.getOwnPropertyDescriptor(o,i):c,h;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(s,o,i,c);else for(var m=s.length-1;m>=0;m--)if(h=s[m])a=(u<3?h(a):u>3?h(o,i,a):h(o,i))||a;return u>3&&a&&Object.defineProperty(o,i,a),a},Is=function(s,o){return function(i,c){o(i,c,s)}},js=function(s,o,i,c,u,a){function h(N){if(N!==void 0&&typeof N!=="function")throw TypeError("Function expected");return N}var m=c.kind,p=m==="getter"?"get":m==="setter"?"set":"value",y=!o&&s?c.static?s:s.prototype:null,l=o||(y?Object.getOwnPropertyDescriptor(y,c.name):{}),b,w=!1;for(var g=i.length-1;g>=0;g--){var T={};for(var _ in c)T[_]=_==="access"?{}:c[_];for(var _ in c.access)T.access[_]=c.access[_];T.addInitializer=function(N){if(w)throw TypeError("Cannot add initializers after decoration has completed");a.push(h(N||null))};var O=(0,i[g])(m==="accessor"?{get:l.get,set:l.set}:l[p],T);if(m==="accessor"){if(O===void 0)continue;if(O===null||typeof O!=="object")throw TypeError("Object expected");if(b=h(O.get))l.get=b;if(b=h(O.set))l.set=b;if(b=h(O.init))u.unshift(b)}else if(b=h(O))if(m==="field")u.unshift(b);else l[p]=b}if(y)Object.defineProperty(y,c.name,l);w=!0},Ds=function(s,o,i){var c=arguments.length>2;for(var u=0;u<o.length;u++)i=c?o[u].call(s,i):o[u].call(s);return c?i:void 0},Ls=function(s){return typeof s==="symbol"?s:"".concat(s)},Us=function(s,o,i){if(typeof o==="symbol")o=o.description?"[".concat(o.description,"]"):"";return Object.defineProperty(s,"name",{configurable:!0,value:i?"".concat(i," ",o):o})},Ns=function(s,o){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(s,o)},Hs=function(s,o,i,c){function u(a){return a instanceof i?a:new i(function(h){h(a)})}return new(i||(i=Promise))(function(a,h){function m(l){try{y(c.next(l))}catch(b){h(b)}}function p(l){try{y(c.throw(l))}catch(b){h(b)}}function y(l){l.done?a(l.value):u(l.value).then(m,p)}y((c=c.apply(s,o||[])).next())})},Fs=function(s,o){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},c,u,a,h=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return h.next=m(0),h.throw=m(1),h.return=m(2),typeof Symbol==="function"&&(h[Symbol.iterator]=function(){return this}),h;function m(y){return function(l){return p([y,l])}}function p(y){if(c)throw TypeError("Generator is already executing.");while(h&&(h=0,y[0]&&(i=0)),i)try{if(c=1,u&&(a=y[0]&2?u.return:y[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,y[1])).done)return a;if(u=0,a)y=[y[0]&2,a.value];switch(y[0]){case 0:case 1:a=y;break;case 4:return i.label++,{value:y[1],done:!1};case 5:i.label++,u=y[1],y=[0];continue;case 7:y=i.ops.pop(),i.trys.pop();continue;default:if((a=i.trys,!(a=a.length>0&&a[a.length-1]))&&(y[0]===6||y[0]===2)){i=0;continue}if(y[0]===3&&(!a||y[1]>a[0]&&y[1]<a[3])){i.label=y[1];break}if(y[0]===6&&i.label<a[1]){i.label=a[1],a=y;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(y);break}if(a[2])i.ops.pop();i.trys.pop();continue}y=o.call(s,i)}catch(l){y=[6,l],u=0}finally{c=a=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}},qs=function(s,o){for(var i in s)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i))Dt(o,s,i)},Dt=Object.create?function(s,o,i,c){if(c===void 0)c=i;var u=Object.getOwnPropertyDescriptor(o,i);if(!u||("get"in u?!o.__esModule:u.writable||u.configurable))u={enumerable:!0,get:function(){return o[i]}};Object.defineProperty(s,c,u)}:function(s,o,i,c){if(c===void 0)c=i;s[c]=o[i]},jt=function(s){var o=typeof Symbol==="function"&&Symbol.iterator,i=o&&s[o],c=0;if(i)return i.call(s);if(s&&typeof s.length==="number")return{next:function(){if(s&&c>=s.length)s=void 0;return{value:s&&s[c++],done:!s}}};throw TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},Te=function(s,o){var i=typeof Symbol==="function"&&s[Symbol.iterator];if(!i)return s;var c=i.call(s),u,a=[],h;try{while((o===void 0||o-- >0)&&!(u=c.next()).done)a.push(u.value)}catch(m){h={error:m}}finally{try{if(u&&!u.done&&(i=c.return))i.call(c)}finally{if(h)throw h.error}}return a},Ys=function(){for(var s=[],o=0;o<arguments.length;o++)s=s.concat(Te(arguments[o]));return s},Js=function(){for(var s=0,o=0,i=arguments.length;o<i;o++)s+=arguments[o].length;for(var c=Array(s),u=0,o=0;o<i;o++)for(var a=arguments[o],h=0,m=a.length;h<m;h++,u++)c[u]=a[h];return c},Ws=function(s,o,i){if(i||arguments.length===2){for(var c=0,u=o.length,a;c<u;c++)if(a||!(c in o)){if(!a)a=Array.prototype.slice.call(o,0,c);a[c]=o[c]}}return s.concat(a||Array.prototype.slice.call(o))},J=function(s){return this instanceof J?(this.v=s,this):new J(s)},Xs=function(s,o,i){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var c=i.apply(s,o||[]),u,a=[];return u=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),m("next"),m("throw"),m("return",h),u[Symbol.asyncIterator]=function(){return this},u;function h(g){return function(T){return Promise.resolve(T).then(g,b)}}function m(g,T){if(c[g]){if(u[g]=function(_){return new Promise(function(O,N){a.push([g,_,O,N])>1||p(g,_)})},T)u[g]=T(u[g])}}function p(g,T){try{y(c[g](T))}catch(_){w(a[0][3],_)}}function y(g){g.value instanceof J?Promise.resolve(g.value.v).then(l,b):w(a[0][2],g)}function l(g){p("next",g)}function b(g){p("throw",g)}function w(g,T){if(g(T),a.shift(),a.length)p(a[0][0],a[0][1])}},zs=function(s){var o,i;return o={},c("next"),c("throw",function(u){throw u}),c("return"),o[Symbol.iterator]=function(){return this},o;function c(u,a){o[u]=s[u]?function(h){return(i=!i)?{value:J(s[u](h)),done:!1}:a?a(h):h}:a}},Ks=function(s){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var o=s[Symbol.asyncIterator],i;return o?o.call(s):(s=typeof jt==="function"?jt(s):s[Symbol.iterator](),i={},c("next"),c("throw"),c("return"),i[Symbol.asyncIterator]=function(){return this},i);function c(a){i[a]=s[a]&&function(h){return new Promise(function(m,p){h=s[a](h),u(m,p,h.done,h.value)})}}function u(a,h,m,p){Promise.resolve(p).then(function(y){a({value:y,done:m})},h)}},Zs=function(s,o){if(Object.defineProperty)Object.defineProperty(s,"raw",{value:o});else s.raw=o;return s};var r=Object.create?function(s,o){Object.defineProperty(s,"default",{enumerable:!0,value:o})}:function(s,o){s.default=o},n=function(s){return n=Object.getOwnPropertyNames||function(o){var i=[];for(var c in o)if(Object.prototype.hasOwnProperty.call(o,c))i[i.length]=c;return i},n(s)};Qs=function(s){if(s&&s.__esModule)return s;var o={};if(s!=null){for(var i=n(s),c=0;c<i.length;c++)if(i[c]!=="default")Dt(o,s,i[c])}return r(o,s),o},Gs=function(s){return s&&s.__esModule?s:{default:s}},Vs=function(s,o,i,c){if(i==="a"&&!c)throw TypeError("Private accessor was defined without a getter");if(typeof o==="function"?s!==o||!c:!o.has(s))throw TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?c:i==="a"?c.call(s):c?c.value:o.get(s)},ks=function(s,o,i,c,u){if(c==="m")throw TypeError("Private method is not writable");if(c==="a"&&!u)throw TypeError("Private accessor was defined without a setter");if(typeof o==="function"?s!==o||!u:!o.has(s))throw TypeError("Cannot write private member to an object whose class did not declare it");return c==="a"?u.call(s,i):u?u.value=i:o.set(s,i),i},vs=function(s,o){if(o===null||typeof o!=="object"&&typeof o!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof s==="function"?o===s:s.has(o)},tn=function(s,o,i){if(o!==null&&o!==void 0){if(typeof o!=="object"&&typeof o!=="function")throw TypeError("Object expected.");var c,u;if(i){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");c=o[Symbol.asyncDispose]}if(c===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(c=o[Symbol.dispose],i)u=c}if(typeof c!=="function")throw TypeError("Object not disposable.");if(u)c=function(){try{u.call(this)}catch(a){return Promise.reject(a)}};s.stack.push({value:o,dispose:c,async:i})}else if(i)s.stack.push({async:!0});return o};var f=typeof SuppressedError==="function"?SuppressedError:function(s,o,i){var c=Error(i);return c.name="SuppressedError",c.error=s,c.suppressed=o,c};en=function(s){function o(a){s.error=s.hasError?new f(a,s.error,"An error was suppressed during disposal."):a,s.hasError=!0}var i,c=0;function u(){while(i=s.stack.pop())try{if(!i.async&&c===1)return c=0,s.stack.push(i),Promise.resolve().then(u);if(i.dispose){var a=i.dispose.call(i.value);if(i.async)return c|=2,Promise.resolve(a).then(u,function(h){return o(h),u()})}else c|=1}catch(h){o(h)}if(c===1)return s.hasError?Promise.reject(s.error):Promise.resolve();if(s.hasError)throw s.error}return u()},rn=function(s,o){if(typeof s==="string"&&/^\.\.?\//.test(s))return s.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(i,c,u,a,h){return c?o?".jsx":".js":u&&(!a||!h)?i:u+a+"."+h.toLowerCase()+"js"});return s},t("__extends",Ps),t("__assign",Bs),t("__rest",Ms),t("__decorate",Rs),t("__param",Is),t("__esDecorate",js),t("__runInitializers",Ds),t("__propKey",Ls),t("__setFunctionName",Us),t("__metadata",Ns),t("__awaiter",Hs),t("__generator",Fs),t("__exportStar",qs),t("__createBinding",Dt),t("__values",jt),t("__read",Te),t("__spread",Ys),t("__spreadArrays",Js),t("__spreadArray",Ws),t("__await",J),t("__asyncGenerator",Xs),t("__asyncDelegator",zs),t("__asyncValues",Ks),t("__makeTemplateObject",Zs),t("__importStar",Qs),t("__importDefault",Gs),t("__classPrivateFieldGet",Vs),t("__classPrivateFieldSet",ks),t("__classPrivateFieldIn",vs),t("__addDisposableResource",tn),t("__disposeResources",en),t("__rewriteRelativeImportExtension",rn)})});var fn=d((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.randomUUID=void 0;var Of=sn(),nn=Of.__importDefault($("crypto"));on.randomUUID=nn.default.randomUUID.bind(nn.default)});var an=d((Af)=>{var un=fn(),E=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0")),xf=()=>{if(un.randomUUID)return un.randomUUID();let t=new Uint8Array(16);return crypto.getRandomValues(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128,E[t[0]]+E[t[1]]+E[t[2]]+E[t[3]]+"-"+E[t[4]]+E[t[5]]+"-"+E[t[6]]+E[t[7]]+"-"+E[t[8]]+E[t[9]]+"-"+E[t[10]]+E[t[11]]+E[t[12]]+E[t[13]]+E[t[14]]+E[t[15]]};Af.v4=xf});var wn=d((_u)=>{var $f=an(),Pf=(t,e,r=(n)=>n)=>t,Bf=(t)=>{switch(t){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${t}"`)}},Mf=(t)=>{if(t===null||t===void 0)return;if(typeof t==="number"){if(t===0||t===1)ct.warn(Nt(`Expected boolean, got ${typeof t}: ${t}`));if(t===0)return!1;if(t===1)return!0}if(typeof t==="string"){let e=t.toLowerCase();if(e==="false"||e==="true")ct.warn(Nt(`Expected boolean, got ${typeof t}: ${t}`));if(e==="false")return!1;if(e==="true")return!0}if(typeof t==="boolean")return t;throw TypeError(`Expected boolean, got ${typeof t}: ${t}`)},ot=(t)=>{if(t===null||t===void 0)return;if(typeof t==="string"){let e=parseFloat(t);if(!Number.isNaN(e)){if(String(e)!==String(t))ct.warn(Nt(`Expected number but observed string: ${t}`));return e}}if(typeof t==="number")return t;throw TypeError(`Expected number, got ${typeof t}: ${t}`)},Rf=Math.ceil(340282346638528860000000000000000000000),Ut=(t)=>{let e=ot(t);if(e!==void 0&&!Number.isNaN(e)&&e!==1/0&&e!==-1/0){if(Math.abs(e)>Rf)throw TypeError(`Expected 32-bit float, got ${t}`)}return e},it=(t)=>{if(t===null||t===void 0)return;if(Number.isInteger(t)&&!Number.isNaN(t))return t;throw TypeError(`Expected integer, got ${typeof t}: ${t}`)},If=it,Ee=(t)=>Ae(t,32),Oe=(t)=>Ae(t,16),xe=(t)=>Ae(t,8),Ae=(t,e)=>{let r=it(t);if(r!==void 0&&jf(r,e)!==r)throw TypeError(`Expected ${e}-bit integer, got ${t}`);return r},jf=(t,e)=>{switch(e){case 32:return Int32Array.of(t)[0];case 16:return Int16Array.of(t)[0];case 8:return Int8Array.of(t)[0]}},Df=(t,e)=>{if(t===null||t===void 0){if(e)throw TypeError(`Expected a non-null value for ${e}`);throw TypeError("Expected a non-null value")}return t},yn=(t)=>{if(t===null||t===void 0)return;if(typeof t==="object"&&!Array.isArray(t))return t;let e=Array.isArray(t)?"array":typeof t;throw TypeError(`Expected object, got ${e}: ${t}`)},Lf=(t)=>{if(t===null||t===void 0)return;if(typeof t==="string")return t;if(["boolean","number","bigint"].includes(typeof t))return ct.warn(Nt(`Expected string, got ${typeof t}: ${t}`)),String(t);throw TypeError(`Expected string, got ${typeof t}: ${t}`)},Uf=(t)=>{if(t===null||t===void 0)return;let e=yn(t),r=Object.entries(e).filter(([,n])=>n!=null).map(([n])=>n);if(r.length===0)throw TypeError("Unions must have exactly one non-null member. None were found.");if(r.length>1)throw TypeError(`Unions must have exactly one non-null member. Keys ${r} were not null.`);return e},Ce=(t)=>{if(typeof t=="string")return ot(z(t));return ot(t)},Nf=Ce,mn=(t)=>{if(typeof t=="string")return Ut(z(t));return Ut(t)},Hf=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,z=(t)=>{let e=t.match(Hf);if(e===null||e[0].length!==t.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(t)},$e=(t)=>{if(typeof t=="string")return pn(t);return ot(t)},Ff=$e,qf=$e,Yf=(t)=>{if(typeof t=="string")return pn(t);return Ut(t)},pn=(t)=>{switch(t){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw Error(`Unable to parse float value: ${t}`)}},ln=(t)=>{if(typeof t==="string")return it(z(t));return it(t)},Jf=ln,Wf=(t)=>{if(typeof t==="string")return Ee(z(t));return Ee(t)},W=(t)=>{if(typeof t==="string")return Oe(z(t));return Oe(t)},dn=(t)=>{if(typeof t==="string")return xe(z(t));return xe(t)},Nt=(t)=>{return String(TypeError(t).stack||t).split(`
14
+ `).slice(0,5).filter((e)=>!e.includes("stackTraceWarning")).join(`
15
+ `)},ct={warn:console.warn},Xf=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Pe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function zf(t){let e=t.getUTCFullYear(),r=t.getUTCMonth(),n=t.getUTCDay(),f=t.getUTCDate(),s=t.getUTCHours(),o=t.getUTCMinutes(),i=t.getUTCSeconds(),c=f<10?`0${f}`:`${f}`,u=s<10?`0${s}`:`${s}`,a=o<10?`0${o}`:`${o}`,h=i<10?`0${i}`:`${i}`;return`${Xf[n]}, ${c} ${Pe[r]} ${e} ${u}:${a}:${h} GMT`}var Kf=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),Zf=(t)=>{if(t===null||t===void 0)return;if(typeof t!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let e=Kf.exec(t);if(!e)throw TypeError("Invalid RFC-3339 date-time value");let[r,n,f,s,o,i,c,u]=e,a=W(X(n)),h=P(f,"month",1,12),m=P(s,"day",1,31);return nt(a,h,m,{hours:o,minutes:i,seconds:c,fractionalMilliseconds:u})},Qf=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),Gf=(t)=>{if(t===null||t===void 0)return;if(typeof t!=="string")throw TypeError("RFC-3339 date-times must be expressed as strings");let e=Qf.exec(t);if(!e)throw TypeError("Invalid RFC-3339 date-time value");let[r,n,f,s,o,i,c,u,a]=e,h=W(X(n)),m=P(f,"month",1,12),p=P(s,"day",1,31),y=nt(h,m,p,{hours:o,minutes:i,seconds:c,fractionalMilliseconds:u});if(a.toUpperCase()!="Z")y.setTime(y.getTime()-uu(a));return y},Vf=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),kf=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),vf=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),tu=(t)=>{if(t===null||t===void 0)return;if(typeof t!=="string")throw TypeError("RFC-7231 date-times must be expressed as strings");let e=Vf.exec(t);if(e){let[r,n,f,s,o,i,c,u]=e;return nt(W(X(s)),_e(f),P(n,"day",1,31),{hours:o,minutes:i,seconds:c,fractionalMilliseconds:u})}if(e=kf.exec(t),e){let[r,n,f,s,o,i,c,u]=e;return nu(nt(ru(s),_e(f),P(n,"day",1,31),{hours:o,minutes:i,seconds:c,fractionalMilliseconds:u}))}if(e=vf.exec(t),e){let[r,n,f,s,o,i,c,u]=e;return nt(W(X(u)),_e(n),P(f.trimLeft(),"day",1,31),{hours:s,minutes:o,seconds:i,fractionalMilliseconds:c})}throw TypeError("Invalid RFC-7231 date-time value")},eu=(t)=>{if(t===null||t===void 0)return;let e;if(typeof t==="number")e=t;else if(typeof t==="string")e=Ce(t);else if(typeof t==="object"&&t.tag===1)e=t.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(e)||e===1/0||e===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(e*1000))},nt=(t,e,r,n)=>{let f=e-1;return iu(t,f,r),new Date(Date.UTC(t,f,r,P(n.hours,"hour",0,23),P(n.minutes,"minute",0,59),P(n.seconds,"seconds",0,60),fu(n.fractionalMilliseconds)))},ru=(t)=>{let e=new Date().getUTCFullYear(),r=Math.floor(e/100)*100+W(X(t));if(r<e)return r+100;return r},su=1576800000000,nu=(t)=>{if(t.getTime()-new Date().getTime()>su)return new Date(Date.UTC(t.getUTCFullYear()-100,t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()));return t},_e=(t)=>{let e=Pe.indexOf(t);if(e<0)throw TypeError(`Invalid month: ${t}`);return e+1},ou=[31,28,31,30,31,30,31,31,30,31,30,31],iu=(t,e,r)=>{let n=ou[e];if(e===1&&cu(t))n=29;if(r>n)throw TypeError(`Invalid day for ${Pe[e]} in ${t}: ${r}`)},cu=(t)=>{return t%4===0&&(t%100!==0||t%400===0)},P=(t,e,r,n)=>{let f=dn(X(t));if(f<r||f>n)throw TypeError(`${e} must be between ${r} and ${n}, inclusive`);return f},fu=(t)=>{if(t===null||t===void 0)return 0;return mn("0."+t)*1000},uu=(t)=>{let e=t[0],r=1;if(e=="+")r=1;else if(e=="-")r=-1;else throw TypeError(`Offset direction, ${e}, must be "+" or "-"`);let n=Number(t.substring(1,3)),f=Number(t.substring(4,6));return r*(n*60+f)*60*1000},X=(t)=>{let e=0;while(e<t.length-1&&t.charAt(e)==="0")e++;if(e===0)return t;return t.slice(e)},H=function(e){return Object.assign(new String(e),{deserializeJSON(){return JSON.parse(String(e))},toString(){return String(e)},toJSON(){return String(e)}})};H.from=(t)=>{if(t&&typeof t==="object"&&(t instanceof H||("deserializeJSON"in t)))return t;else if(typeof t==="string"||Object.getPrototypeOf(t)===String.prototype)return H(String(t));return H(JSON.stringify(t))};H.fromObject=H.from;function au(t){if(t.includes(",")||t.includes('"'))t=`"${t.replace(/"/g,"\\\"")}"`;return t}var Be="(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?",Me="(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)",Re="(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?",bn="(\\d?\\d)",gn="(\\d{4})",hu=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),yu=new RegExp(`^${Be}, ${bn} ${Me} ${gn} ${Re} GMT$`),mu=new RegExp(`^${Be}, ${bn}-${Me}-(\\d\\d) ${Re} GMT$`),pu=new RegExp(`^${Be} ${Me} ( [1-9]|\\d\\d) ${Re} ${gn}$`),lu=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],du=(t)=>{if(t==null)return;let e=NaN;if(typeof t==="number")e=t;else if(typeof t==="string"){if(!/^-?\d*\.?\d+$/.test(t))throw TypeError("parseEpochTimestamp - numeric string invalid.");e=Number.parseFloat(t)}else if(typeof t==="object"&&t.tag===1)e=t.value;if(isNaN(e)||Math.abs(e)===1/0)throw TypeError("Epoch timestamps must be valid finite numbers.");return new Date(Math.round(e*1000))},bu=(t)=>{if(t==null)return;if(typeof t!=="string")throw TypeError("RFC3339 timestamps must be strings");let e=hu.exec(t);if(!e)throw TypeError(`Invalid RFC3339 timestamp format ${t}`);let[,r,n,f,s,o,i,,c,u]=e;L(n,1,12),L(f,1,31),L(s,0,23),L(o,0,59),L(i,0,60);let a=new Date(Date.UTC(Number(r),Number(n)-1,Number(f),Number(s),Number(o),Number(i),Number(c)?Math.round(parseFloat(`0.${c}`)*1000):0));if(a.setUTCFullYear(Number(r)),u.toUpperCase()!="Z"){let[,h,m,p]=/([+-])(\d\d):(\d\d)/.exec(u)||[void 0,"+",0,0],y=h==="-"?1:-1;a.setTime(a.getTime()+y*(Number(m)*60*60*1000+Number(p)*60*1000))}return a},gu=(t)=>{if(t==null)return;if(typeof t!=="string")throw TypeError("RFC7231 timestamps must be strings.");let e,r,n,f,s,o,i,c;if(c=yu.exec(t))[,e,r,n,f,s,o,i]=c;else if(c=mu.exec(t))[,e,r,n,f,s,o,i]=c,n=(Number(n)+1900).toString();else if(c=pu.exec(t))[,r,e,f,s,o,i,n]=c;if(n&&o){let u=Date.UTC(Number(n),lu.indexOf(r),Number(e),Number(f),Number(s),Number(o),i?Math.round(parseFloat(`0.${i}`)*1000):0);L(e,1,31),L(f,0,23),L(s,0,59),L(o,0,60);let a=new Date(u);return a.setUTCFullYear(Number(n)),a}throw TypeError(`Invalid RFC7231 date-time value ${t}.`)};function L(t,e,r){let n=Number(t);if(n<e||n>r)throw Error(`Value ${n} out of range [${e}, ${r}]`)}function wu(t,e,r){if(r<=0||!Number.isInteger(r))throw Error("Invalid number of delimiters ("+r+") for splitEvery.");let n=t.split(e);if(r===1)return n;let f=[],s="";for(let o=0;o<n.length;o++){if(s==="")s=n[o];else s+=e+n[o];if((o+1)%r===0)f.push(s),s=""}if(s!=="")f.push(s);return f}var Su=(t)=>{let e=t.length,r=[],n=!1,f=void 0,s=0;for(let o=0;o<e;++o){let i=t[o];switch(i){case'"':if(f!=="\\")n=!n;break;case",":if(!n)r.push(t.slice(s,o)),s=o+1;break}f=i}return r.push(t.slice(s)),r.map((o)=>{o=o.trim();let i=o.length;if(i<2)return o;if(o[0]==='"'&&o[i-1]==='"')o=o.slice(1,i-1);return o.replace(/\\"/g,'"')})},hn=/^-?\d*(\.\d+)?$/;class Ht{string;type;constructor(t,e){if(this.string=t,this.type=e,!hn.test(t))throw Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](t){if(!t||typeof t!=="object")return!1;let e=t;return Ht.prototype.isPrototypeOf(t)||e.type==="bigDecimal"&&hn.test(e.string)}}function Tu(t){return new Ht(String(t),"bigDecimal")}_u.generateIdempotencyToken=$f.v4;_u.LazyJsonString=H;_u.NumericValue=Ht;_u._parseEpochTimestamp=du;_u._parseRfc3339DateTimeWithOffset=bu;_u._parseRfc7231DateTime=gu;_u.copyDocumentWithTransform=Pf;_u.dateToUtcString=zf;_u.expectBoolean=Mf;_u.expectByte=xe;_u.expectFloat32=Ut;_u.expectInt=If;_u.expectInt32=Ee;_u.expectLong=it;_u.expectNonNull=Df;_u.expectNumber=ot;_u.expectObject=yn;_u.expectShort=Oe;_u.expectString=Lf;_u.expectUnion=Uf;_u.handleFloat=Ff;_u.limitedParseDouble=$e;_u.limitedParseFloat=qf;_u.limitedParseFloat32=Yf;_u.logger=ct;_u.nv=Tu;_u.parseBoolean=Bf;_u.parseEpochTimestamp=eu;_u.parseRfc3339DateTime=Zf;_u.parseRfc3339DateTimeWithOffset=Gf;_u.parseRfc7231DateTime=tu;_u.quoteHeader=au;_u.splitEvery=wu;_u.splitHeader=Su;_u.strictParseByte=dn;_u.strictParseDouble=Ce;_u.strictParseFloat=Nf;_u.strictParseFloat32=mn;_u.strictParseInt=Jf;_u.strictParseInt32=Wf;_u.strictParseLong=ln;_u.strictParseShort=W});var Sn=d((ya)=>{var ha=(t)=>typeof ArrayBuffer==="function"&&t instanceof ArrayBuffer||Object.prototype.toString.call(t)==="[object ArrayBuffer]";ya.isArrayBuffer=ha});var je=d((ba)=>{var pa=Sn(),Ie=$("buffer"),la=(t,e=0,r=t.byteLength-e)=>{if(!pa.isArrayBuffer(t))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof t} (${t})`);return Ie.Buffer.from(t,e,r)},da=(t,e)=>{if(typeof t!=="string")throw TypeError(`The "input" argument must be of type string. Received type ${typeof t} (${t})`);return e?Ie.Buffer.from(t,e):Ie.Buffer.from(t)};ba.fromArrayBuffer=la;ba.fromString=da});var En=d((Tn)=>{Object.defineProperty(Tn,"__esModule",{value:!0});Tn.fromBase64=void 0;var Sa=je(),Ta=/^[A-Za-z0-9+/]*={0,2}$/,_a=(t)=>{if(t.length*3%4!==0)throw TypeError("Incorrect padding on base64 string.");if(!Ta.exec(t))throw TypeError("Invalid base64 string.");let e=(0,Sa.fromString)(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};Tn.fromBase64=_a});var An=d((On)=>{Object.defineProperty(On,"__esModule",{value:!0});On.toBase64=void 0;var Ea=je(),Oa=q(),xa=(t)=>{let e;if(typeof t==="string")e=(0,Oa.fromUtf8)(t);else e=t;if(typeof e!=="object"||typeof e.byteOffset!=="number"||typeof e.byteLength!=="number")throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return(0,Ea.fromArrayBuffer)(e.buffer,e.byteOffset,e.byteLength).toString("base64")};On.toBase64=xa});var Cn=d((U)=>{var Ft=En(),qt=An();Object.prototype.hasOwnProperty.call(Ft,"__proto__")&&!Object.prototype.hasOwnProperty.call(U,"__proto__")&&Object.defineProperty(U,"__proto__",{enumerable:!0,value:Ft.__proto__});Object.keys(Ft).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(U,t))U[t]=Ft[t]});Object.prototype.hasOwnProperty.call(qt,"__proto__")&&!Object.prototype.hasOwnProperty.call(U,"__proto__")&&Object.defineProperty(U,"__proto__",{enumerable:!0,value:qt.__proto__});Object.keys(qt).forEach(function(t){if(t!=="default"&&!Object.prototype.hasOwnProperty.call(U,t))U[t]=qt[t]})});var Ya=d((Ca)=>{var Yt=$s(),A=ve(),C=wn(),ft=Vt(),Jt=Cn(),De=q(),F=async(t=new Uint8Array,e)=>{if(t instanceof Uint8Array)return Yt.Uint8ArrayBlobAdapter.mutate(t);if(!t)return Yt.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let r=e.streamCollector(t);return Yt.Uint8ArrayBlobAdapter.mutate(await r)};function ut(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}class K{serdeContext;setSerdeContext(t){this.serdeContext=t}}class Wt extends K{options;compositeErrorRegistry;constructor(t){super();this.options=t,this.compositeErrorRegistry=A.TypeRegistry.for(t.defaultNamespace);for(let e of t.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(e)}getRequestType(){return ft.HttpRequest}getResponseType(){return ft.HttpResponse}setSerdeContext(t){if(this.serdeContext=t,this.serializer.setSerdeContext(t),this.deserializer.setSerdeContext(t),this.getPayloadCodec())this.getPayloadCodec().setSerdeContext(t)}updateServiceEndpoint(t,e){if("url"in e){if(t.protocol=e.url.protocol,t.hostname=e.url.hostname,t.port=e.url.port?Number(e.url.port):void 0,t.path=e.url.pathname,t.fragment=e.url.hash||void 0,t.username=e.url.username||void 0,t.password=e.url.password||void 0,!t.query)t.query={};for(let[r,n]of e.url.searchParams.entries())t.query[r]=n;if(e.headers)for(let[r,n]of Object.entries(e.headers))t.headers[r]=n.join(", ");return t}else{if(t.protocol=e.protocol,t.hostname=e.hostname,t.port=e.port?Number(e.port):void 0,t.path=e.path,t.query={...e.query},e.headers)for(let[r,n]of Object.entries(e.headers))t.headers[r]=n;return t}}setHostPrefix(t,e,r){if(this.serdeContext?.disableHostPrefix)return;let n=A.NormalizedSchema.of(e.input),f=A.translateTraits(e.traits??{});if(f.endpoint){let s=f.endpoint?.[0];if(typeof s==="string"){let o=[...n.structIterator()].filter(([,i])=>i.getMergedTraits().hostLabel);for(let[i]of o){let c=r[i];if(typeof c!=="string")throw Error(`@smithy/core/schema - ${i} in input must be a string as hostLabel.`);s=s.replace(`{${i}}`,c)}t.hostname=s+t.hostname}}}deserializeMetadata(t){return{httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:t,requestSchema:e,initialRequest:r}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:t,requestSchema:e,initialRequest:r})}async deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:r}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:r})}async loadEventStreamCapability(){let{EventStreamSerde:t}=await import("./index-0.1.10-m1gd7g5v.mjs");return new t({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(t,e,r,n,f){return[]}getEventStreamMarshaller(){let t=this.serdeContext;if(!t.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return t.eventStreamMarshaller}}class $n extends Wt{async serializeRequest(t,e,r){let n=e&&typeof e==="object"?e:{},f=this.serializer,s={},o={},i=await r.endpoint(),c=A.NormalizedSchema.of(t?.input),u=[],a=[],h=!1,m,p=new ft.HttpRequest({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:s,headers:o,body:void 0});if(i){this.updateServiceEndpoint(p,i),this.setHostPrefix(p,t,n);let y=A.translateTraits(t.traits);if(y.http){p.method=y.http[0];let[l,b]=y.http[1].split("?");if(p.path=="/")p.path=l;else p.path+=l;let w=new URLSearchParams(b??"");Object.assign(s,Object.fromEntries(w))}}for(let[y,l]of c.structIterator()){let b=l.getMergedTraits()??{},w=n[y];if(w==null&&!l.isIdempotencyToken()){if(b.httpLabel){if(p.path.includes(`{${y}+}`)||p.path.includes(`{${y}}`))throw Error(`No value provided for input HTTP label: ${y}.`)}continue}if(b.httpPayload)if(l.isStreaming())if(l.isStructSchema()){if(n[y])m=await this.serializeEventStream({eventStream:n[y],requestSchema:c})}else m=w;else f.write(l,w),m=f.flush();else if(b.httpLabel){f.write(l,w);let g=f.flush();if(p.path.includes(`{${y}+}`))p.path=p.path.replace(`{${y}+}`,g.split("/").map(ut).join("/"));else if(p.path.includes(`{${y}}`))p.path=p.path.replace(`{${y}}`,ut(g))}else if(b.httpHeader)f.write(l,w),o[b.httpHeader.toLowerCase()]=String(f.flush());else if(typeof b.httpPrefixHeaders==="string")for(let[g,T]of Object.entries(w)){let _=b.httpPrefixHeaders+g;f.write([l.getValueSchema(),{httpHeader:_}],T),o[_.toLowerCase()]=f.flush()}else if(b.httpQuery||b.httpQueryParams)this.serializeQuery(l,w,s);else h=!0,u.push(y),a.push(l)}if(h&&n){let[y,l]=(c.getName(!0)??"#Unknown").split("#"),b=c.getSchema()[6],w=[3,y,l,c.getMergedTraits(),u,a,void 0];if(b)w[6]=b;else w.pop();f.write(w,n),m=f.flush()}return p.headers=o,p.query=s,p.body=m,p}serializeQuery(t,e,r){let n=this.serializer,f=t.getMergedTraits();if(f.httpQueryParams){for(let[s,o]of Object.entries(e))if(!(s in r)){let i=t.getValueSchema();Object.assign(i.getMergedTraits(),{...f,httpQuery:s,httpQueryParams:void 0}),this.serializeQuery(i,o,r)}return}if(t.isListSchema()){let s=!!t.getMergedTraits().sparse,o=[];for(let i of e){n.write([t.getValueSchema(),f],i);let c=n.flush();if(s||c!==void 0)o.push(c)}r[f.httpQuery]=o}else n.write([t,f],e),r[f.httpQuery]=n.flush()}async deserializeResponse(t,e,r){let n=this.deserializer,f=A.NormalizedSchema.of(t.output),s={};if(r.statusCode>=300){let i=await F(r.body,e);if(i.byteLength>0)Object.assign(s,await n.read(15,i));throw await this.handleError(t,e,r,s,this.deserializeMetadata(r)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let i in r.headers){let c=r.headers[i];delete r.headers[i],r.headers[i.toLowerCase()]=c}let o=await this.deserializeHttpMessage(f,e,r,s);if(o.length){let i=await F(r.body,e);if(i.byteLength>0){let c=await n.read(f,i);for(let u of o)if(c[u]!=null)s[u]=c[u]}}else if(o.discardResponseBody)await F(r.body,e);return s.$metadata=this.deserializeMetadata(r),s}async deserializeHttpMessage(t,e,r,n,f){let s;if(n instanceof Set)s=f;else s=n;let o=!0,i=this.deserializer,c=A.NormalizedSchema.of(t),u=[];for(let[a,h]of c.structIterator()){let m=h.getMemberTraits();if(m.httpPayload){if(o=!1,h.isStreaming())if(h.isStructSchema())s[a]=await this.deserializeEventStream({response:r,responseSchema:c});else s[a]=Yt.sdkStreamMixin(r.body);else if(r.body){let y=await F(r.body,e);if(y.byteLength>0)s[a]=await i.read(h,y)}}else if(m.httpHeader){let p=String(m.httpHeader).toLowerCase(),y=r.headers[p];if(y!=null)if(h.isListSchema()){let l=h.getValueSchema();l.getMergedTraits().httpHeader=p;let b;if(l.isTimestampSchema()&&l.getSchema()===4)b=C.splitEvery(y,",",2);else b=C.splitHeader(y);let w=[];for(let g of b)w.push(await i.read(l,g.trim()));s[a]=w}else s[a]=await i.read(h,y)}else if(m.httpPrefixHeaders!==void 0){s[a]={};for(let[p,y]of Object.entries(r.headers))if(p.startsWith(m.httpPrefixHeaders)){let l=h.getValueSchema();l.getMergedTraits().httpHeader=p,s[a][p.slice(m.httpPrefixHeaders.length)]=await i.read(l,y)}}else if(m.httpResponseCode)s[a]=r.statusCode;else u.push(a)}return u.discardResponseBody=o,u}}class Pn extends Wt{async serializeRequest(t,e,r){let n=this.serializer,f={},s={},o=await r.endpoint(),i=A.NormalizedSchema.of(t?.input),c=i.getSchema(),u,a=e&&typeof e==="object"?e:{},h=new ft.HttpRequest({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:f,headers:s,body:void 0});if(o)this.updateServiceEndpoint(h,o),this.setHostPrefix(h,t,a);if(a){let m=i.getEventStreamMember();if(m){if(a[m]){let p={};for(let[y,l]of i.structIterator())if(y!==m&&a[y])n.write(l,a[y]),p[y]=n.flush();u=await this.serializeEventStream({eventStream:a[m],requestSchema:i,initialRequest:p})}}else n.write(c,a),u=n.flush()}return h.headers=Object.assign(h.headers,s),h.query=f,h.body=u,h.method="POST",h}async deserializeResponse(t,e,r){let n=this.deserializer,f=A.NormalizedSchema.of(t.output),s={};if(r.statusCode>=300){let i=await F(r.body,e);if(i.byteLength>0)Object.assign(s,await n.read(15,i));throw await this.handleError(t,e,r,s,this.deserializeMetadata(r)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let i in r.headers){let c=r.headers[i];delete r.headers[i],r.headers[i.toLowerCase()]=c}let o=f.getEventStreamMember();if(o)s[o]=await this.deserializeEventStream({response:r,responseSchema:f,initialResponseContainer:s});else{let i=await F(r.body,e);if(i.byteLength>0)Object.assign(s,await n.read(f,i))}return s.$metadata=this.deserializeMetadata(r),s}}var Bn=(t,e,r,n,f,s)=>{if(e!=null&&e[r]!==void 0){let o=n();if(o==null||o.length<=0)throw Error("Empty value provided for input HTTP label: "+r+".");t=t.replace(f,s?o.split("/").map((i)=>ut(i)).join("/"):ut(o))}else throw Error("No value provided for input HTTP label: "+r+".");return t};function Aa(t,e){return new Le(t,e)}class Le{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor(t,e){this.input=t,this.context=e}async build(){let{hostname:t,protocol:e="https",port:r,path:n}=await this.context.endpoint();this.path=n;for(let f of this.resolvePathStack)f(this.path);return new ft.HttpRequest({protocol:e,hostname:this.hostname||t,port:r,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(t){return this.hostname=t,this}bp(t){return this.resolvePathStack.push((e)=>{this.path=`${e?.endsWith("/")?e.slice(0,-1):e||""}`+t}),this}p(t,e,r,n){return this.resolvePathStack.push((f)=>{this.path=Bn(f,this.input,t,e,r,n)}),this}h(t){return this.headers=t,this}q(t){return this.query=t,this}b(t){return this.body=t,this}m(t){return this.method=t,this}}function Ue(t,e){if(e.timestampFormat.useTrait){if(t.isTimestampSchema()&&(t.getSchema()===5||t.getSchema()===6||t.getSchema()===7))return t.getSchema()}let{httpLabel:r,httpPrefixHeaders:n,httpHeader:f,httpQuery:s}=t.getMergedTraits();return(e.httpBindings?typeof n==="string"||Boolean(f)?6:Boolean(s)||Boolean(r)?5:void 0:void 0)??e.timestampFormat.default}class Ne extends K{settings;constructor(t){super();this.settings=t}read(t,e){let r=A.NormalizedSchema.of(t);if(r.isListSchema())return C.splitHeader(e).map((n)=>this.read(r.getValueSchema(),n));if(r.isBlobSchema())return(this.serdeContext?.base64Decoder??Jt.fromBase64)(e);if(r.isTimestampSchema())switch(Ue(r,this.settings)){case 5:return C._parseRfc3339DateTimeWithOffset(e);case 6:return C._parseRfc7231DateTime(e);case 7:return C._parseEpochTimestamp(e);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",e),new Date(e)}if(r.isStringSchema()){let n=r.getMergedTraits().mediaType,f=e;if(n){if(r.getMergedTraits().httpHeader)f=this.base64ToUtf8(f);if(n==="application/json"||n.endsWith("+json"))f=C.LazyJsonString.from(f);return f}}if(r.isNumericSchema())return Number(e);if(r.isBigIntegerSchema())return BigInt(e);if(r.isBigDecimalSchema())return new C.NumericValue(e,"bigDecimal");if(r.isBooleanSchema())return String(e).toLowerCase()==="true";return e}base64ToUtf8(t){return(this.serdeContext?.utf8Encoder??De.toUtf8)((this.serdeContext?.base64Decoder??Jt.fromBase64)(t))}}class Mn extends K{codecDeserializer;stringDeserializer;constructor(t,e){super();this.codecDeserializer=t,this.stringDeserializer=new Ne(e)}setSerdeContext(t){this.stringDeserializer.setSerdeContext(t),this.codecDeserializer.setSerdeContext(t),this.serdeContext=t}read(t,e){let r=A.NormalizedSchema.of(t),n=r.getMergedTraits(),f=this.serdeContext?.utf8Encoder??De.toUtf8;if(n.httpHeader||n.httpResponseCode)return this.stringDeserializer.read(r,f(e));if(n.httpPayload){if(r.isBlobSchema()){let s=this.serdeContext?.utf8Decoder??De.fromUtf8;if(typeof e==="string")return s(e);return e}else if(r.isStringSchema()){if("byteLength"in e)return f(e);return e}}return this.codecDeserializer.read(r,e)}}class He extends K{settings;stringBuffer="";constructor(t){super();this.settings=t}write(t,e){let r=A.NormalizedSchema.of(t);switch(typeof e){case"object":if(e===null){this.stringBuffer="null";return}if(r.isTimestampSchema()){if(!(e instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${e} when schema expected Date in ${r.getName(!0)}`);switch(Ue(r,this.settings)){case 5:this.stringBuffer=e.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=C.dateToUtcString(e);break;case 7:this.stringBuffer=String(e.getTime()/1000);break;default:console.warn("Missing timestamp format, using epoch seconds",e),this.stringBuffer=String(e.getTime()/1000)}return}if(r.isBlobSchema()&&"byteLength"in e){this.stringBuffer=(this.serdeContext?.base64Encoder??Jt.toBase64)(e);return}if(r.isListSchema()&&Array.isArray(e)){let s="";for(let o of e){this.write([r.getValueSchema(),r.getMergedTraits()],o);let i=this.flush(),c=r.getValueSchema().isTimestampSchema()?i:C.quoteHeader(i);if(s!=="")s+=", ";s+=c}this.stringBuffer=s;return}this.stringBuffer=JSON.stringify(e,null,2);break;case"string":let n=r.getMergedTraits().mediaType,f=e;if(n){if(n==="application/json"||n.endsWith("+json"))f=C.LazyJsonString.from(f);if(r.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??Jt.toBase64)(f.toString());return}}this.stringBuffer=e;break;default:if(r.isIdempotencyToken())this.stringBuffer=C.generateIdempotencyToken();else this.stringBuffer=String(e)}}flush(){let t=this.stringBuffer;return this.stringBuffer="",t}}class Rn{codecSerializer;stringSerializer;buffer;constructor(t,e,r=new He(e)){this.codecSerializer=t,this.stringSerializer=r}setSerdeContext(t){this.codecSerializer.setSerdeContext(t),this.stringSerializer.setSerdeContext(t)}write(t,e){let r=A.NormalizedSchema.of(t),n=r.getMergedTraits();if(n.httpHeader||n.httpLabel||n.httpQuery){this.stringSerializer.write(r,e),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(r,e)}flush(){if(this.buffer!==void 0){let t=this.buffer;return this.buffer=void 0,t}return this.codecSerializer.flush()}}Ca.FromStringShapeDeserializer=Ne;Ca.HttpBindingProtocol=$n;Ca.HttpInterceptingShapeDeserializer=Mn;Ca.HttpInterceptingShapeSerializer=Rn;Ca.HttpProtocol=Wt;Ca.RequestBuilder=Le;Ca.RpcProtocol=Pn;Ca.SerdeContext=K;Ca.ToStringShapeSerializer=He;Ca.collectBody=F;Ca.determineTimestampFormat=Ue;Ca.extendedEncodeURIComponent=ut;Ca.requestBuilder=Aa;Ca.resolvedPath=Bn});
16
+ export{$s as qna,Fe as rna,Vt as sna,ze as tna,Ze as una,ve as vna,an as wna,wn as xna,Cn as yna,Ya as zna};
@@ -0,0 +1,50 @@
1
+ import{Hb as xt,Ib as ie}from"./cli-0.1.10-dh7by4rw.mjs";import{Jb as xn,Kb as pn,Lb as un,Mb as Kt,Ob as ce}from"./cli-0.1.10-4md6sg2a.mjs";import{BK as Ut,CK as Wt,DK as oe,Iv as kt,Jv as Ha,Kv as Nt,LJ as It,Lv as qt,Mv as Tt,NJ as ee,Nv as Ja,jv as q,kv as za,lv as ne,uy as mt,vn as Zt,vy as Ra,wn as Da,xK as An,xy as te,yK as re,yy as ae}from"./cli-0.1.10-y9mkzh11.mjs";import{OS as D,QS as Ba,YS as Pt,ZS as va}from"./cli-0.1.10-xzz1tdne.mjs";import{KU as b,MU as c,pV as st}from"./cli-0.1.10-gms4557v.mjs";import{kX as wn}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as Fn}from"./cli-0.1.10-28zx3btb.mjs";import{HX as Gt,IX as Wa}from"./cli-0.1.10-bqsa7eam.mjs";import{a0 as ot,b0 as ct,c0 as it,d0 as ut,e0 as pa,h0 as lt,l0 as ht,m0 as Jt,n0 as dt}from"./cli-0.1.10-6bn5q3gp.mjs";import{$ba as rn,Aca as $t,Bca as Kn,Dca as Ft,E7 as j,F7 as Ea,Fca as Ht,Pba as Xt,Qba as In,Rba as Va,Sba as zn,Sca as ja,Tba as Z,Vba as B,Wba as E,Xba as en,aca as Un,eca as rt,pca as Hn,qca as pt,rca as zt,sca as fn,tca as Jn,uca as Rt,vca as Xn,wca as _t,xca as Mt,yca as Xa,zca as Wn}from"./cli-0.1.10-mt6tj76h.mjs";import{dha as cn,lha as Lt}from"./cli-0.1.10-y1bkenem.mjs";import{Gna as J,Hna as xa,Kna as x}from"./cli-0.1.10-hyxg32sc.mjs";function Ma(n,a=$n){let e=Z().find((i)=>i.provider==="openai"&&i.extras?.githubToken!==void 0);if(e)return en(e.id,{provider:"openai",name:e.name,baseUrl:e.baseUrl,model:e.model||a,apiKey:n,extras:{...e.extras,githubToken:n}}),rn(e.id),{mode:"updated"};return E({provider:"openai",name:"GitHub Copilot",baseUrl:_a,model:a,apiKey:n,extras:{githubToken:n}},{makeActive:!0}),{mode:"created"}}function yt({onDone:n,onBack:a,onChangeAPIKey:e}){let i=lt()?.trim()?"already-authed":"menu",[h,d]=H.useState(i),[R,O]=H.useState(null),[w,l]=H.useState(null),g=H.useCallback(async(p,A=$n,L)=>{let P=ht(p,L);if(!P.success){O(P.warning??"Could not save token to secure storage."),d("error");return}Ma(p,A),e?.(),n("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[e,n]),k=H.useCallback(async()=>{d("device-busy"),O(null),l(null);try{let p=await ot();l({user_code:p.user_code,verification_uri:p.verification_uri}),await it(p.verification_uri);let A=await ct(p.device_code,{initialInterval:p.interval,timeoutSeconds:p.expires_in}),L=await ut(A);await g(L.token,$n,A)}catch(p){O(p instanceof Error?p.message:String(p)),d("error")}},[g]);if(h==="already-authed")return z.jsxDEV(b,{flexDirection:"column",gap:1,children:[z.jsxDEV(c,{bold:!0,children:"GitHub Copilot"},void 0,!1,void 0,this),z.jsxDEV(c,{children:"You are already signed in to GitHub Copilot."},void 0,!1,void 0,this),z.jsxDEV(c,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'},void 0,!1,void 0,this),z.jsxDEV(q,{options:[{label:"Sign in again",value:"sign-in-again"},{label:a?"Back to /provider menu":"Cancel",value:"back"}],onChange:(A)=>{if(A==="sign-in-again"){k();return}if(a){a();return}n("GitHub onboard cancelled",{display:"system"})}},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(h==="error"&&R)return z.jsxDEV(b,{flexDirection:"column",gap:1,children:[z.jsxDEV(c,{color:"red",children:R},void 0,!1,void 0,this),z.jsxDEV(q,{options:[{label:a?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(A)=>{if(A==="back"){if(a){a();return}d("menu"),O(null);return}n("GitHub onboard cancelled",{display:"system"})}},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(h==="device-busy")return z.jsxDEV(b,{flexDirection:"column",gap:1,children:[z.jsxDEV(c,{children:"GitHub Copilot sign-in"},void 0,!1,void 0,this),w?z.jsxDEV(z.Fragment,{children:[z.jsxDEV(c,{children:["Enter code ",z.jsxDEV(c,{bold:!0,children:w.user_code},void 0,!1,void 0,this)," at"," ",w.verification_uri]},void 0,!0,void 0,this),z.jsxDEV(c,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this):z.jsxDEV(c,{dimColor:!0,children:"Requesting device code from GitHub..."},void 0,!1,void 0,this),z.jsxDEV(mt,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return z.jsxDEV(b,{flexDirection:"column",gap:1,children:[z.jsxDEV(c,{bold:!0,children:"GitHub Copilot setup"},void 0,!1,void 0,this),z.jsxDEV(c,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."},void 0,!1,void 0,this),z.jsxDEV(q,{options:[{label:"Sign in with browser",value:"device"},{label:a?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(p)=>{if(p==="cancel"){if(a){a();return}n("GitHub onboard cancelled",{display:"system"});return}k()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var H,z,$n="github:copilot",_a="https://api.githubcopilot.com";var Ct=x(()=>{za();Ra();st();pa();dt();rt();H=J(Fn(),1),z=J(wn(),1)});function gt(n){return[n.name,n.family??"",...n.families??[],n.parameterSize??"",n.quantizationLevel??""].join(" ").toLowerCase()}function on(n,a){return a.some((e)=>n.includes(e))}function Ta(n){return!on(gt(n),bt)}function Sa(n){return n.find(Ta)??null}function Gn(n){let e=`${n.parameterSize??""} ${n.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(e?.[1])return Number(e[1]);if(typeof n.sizeBytes==="number"&&n.sizeBytes>0)return Number((n.sizeBytes/1e9).toFixed(1));return null}function La(n){return(n.quantizationLevel??n.name).toLowerCase()}function $a(n,a,e){if(n===null)return e.push("unknown size"),0;if(a==="latency"){if(n<=4)return e.push("tiny model for low latency"),32;if(n<=8)return e.push("small model for fast responses"),26;if(n<=14)return e.push("mid-sized model with acceptable latency"),16;if(n<=24)return e.push("larger model may be slower"),8;return e.push("large model likely slower locally"),n<=40?0:-8}if(a==="coding"){if(n>=7&&n<=14)return e.push("strong coding size tier"),24;if(n>14&&n<=34)return e.push("large coding-capable size tier"),28;if(n>34)return e.push("very large model with higher quality potential"),18;return e.push("compact model may trade off coding depth"),12}if(n>=7&&n<=14)return e.push("great balanced size tier"),26;if(n>=3&&n<7)return e.push("compact balanced size tier"),18;if(n>14&&n<=24)return e.push("high quality balanced size tier"),20;if(n>24)return e.push("large model for quality-first usage"),10;return e.push("very small model for general usage"),8}function Fa(n,a,e){let i=La(n);if(i.includes("q4"))return e.push("efficient Q4 quantization"),a==="latency"?8:4;if(i.includes("q5"))return e.push("balanced Q5 quantization"),a==="latency"?6:5;if(i.includes("q8"))return e.push("higher quality Q8 quantization"),a==="latency"?2:5;return 0}function Ga(n,a,e){if(a.score!==n.score)return a.score-n.score;let i=Gn(n)??Number.POSITIVE_INFINITY,h=Gn(a)??Number.POSITIVE_INFINITY;if(e==="latency")return i-h;if(e==="coding")return h-i;let d=14;return Math.abs(i-d)-Math.abs(h-d)}function Yn(n,a){return n.map((e)=>{let i=gt(e),h=[],d=0;if(on(i,bt))d-=40,h.push("not a chat-first model");if(on(i,ka))d+=a==="coding"?24:a==="balanced"?10:4,h.push("coding-oriented model family");if(on(i,Na))d+=a==="latency"?4:a==="coding"?6:8,h.push("strong general-purpose model family");if(on(i,qa))d+=a==="latency"?2:6,h.push("chat/instruct tuned");if(i.includes("vision")||i.includes("vl"))d-=2,h.push("vision model adds extra overhead");d+=$a(Gn(e),a,h),d+=Fa(e,a,h);let R=h.slice(0,3).join(", ");return{...e,score:d,reasons:h,summary:R}}).sort((e,i)=>Ga(e,i,a))}function wt(n,a){return Sa(Yn(n,a))}var ka,Na,qa,bt;var ft=x(()=>{ka=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],Na=["llama","qwen","mistral","gemma","phi","deepseek"],qa=["instruct","chat","assistant"],bt=["embed","embedding","rerank","bge","whisper"]});function Qa(n){let a=n.toLowerCase();return Ya.some((e)=>a.includes(e))}function Qn(n){try{let a=new URL(n);if(a.username)a.username="redacted";if(a.password)a.password="redacted";for(let e of a.searchParams.keys())if(Qa(e))a.searchParams.set(e,"redacted");return a.toString()}catch{return n.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var Ya;var Ot=x(()=>{Ya=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Za(n){let a=`http://localhost:${n.port}/auth/callback`,e=new URL(`${Hn}/oauth/authorize`);return e.searchParams.append("response_type","code"),e.searchParams.append("client_id",Jn()),e.searchParams.append("redirect_uri",a),e.searchParams.append("scope",pt),e.searchParams.append("code_challenge",n.codeChallenge),e.searchParams.append("code_challenge_method","S256"),e.searchParams.append("id_token_add_organizations","true"),e.searchParams.append("codex_cli_simplified_flow","true"),e.searchParams.append("state",n.state),e.searchParams.append("originator",zt),e.toString()}function Pa(){return`<!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Codex Login Complete</title>
6
+ <style>
7
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
8
+ h1 { margin: 0 0 12px; font-size: 22px; }
9
+ p { margin: 0 0 10px; }
10
+ </style>
11
+ </head>
12
+ <body>
13
+ <h1>Codex login complete</h1>
14
+ <p>You can return to Claudio now.</p>
15
+ <p>Claudio will finish activating your new Codex OAuth login.</p>
16
+ </body>
17
+ </html>`}function Ia(n){return`<!doctype html>
18
+ <html lang="en">
19
+ <head>
20
+ <meta charset="utf-8" />
21
+ <title>Codex Login Failed</title>
22
+ <style>
23
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
24
+ h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
25
+ p { margin: 0 0 10px; }
26
+ </style>
27
+ </head>
28
+ <body>
29
+ <h1>Codex login failed</h1>
30
+ <p>${_t(n)}</p>
31
+ <p>You can close this window and try again in Claudio.</p>
32
+ </body>
33
+ </html>`}function At(){return`<!doctype html>
34
+ <html lang="en">
35
+ <head>
36
+ <meta charset="utf-8" />
37
+ <title>Codex Login Cancelled</title>
38
+ <style>
39
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
40
+ h1 { margin: 0 0 12px; font-size: 22px; }
41
+ p { margin: 0 0 10px; }
42
+ </style>
43
+ </head>
44
+ <body>
45
+ <h1>Codex login cancelled</h1>
46
+ <p>You can close this window and retry in Claudio.</p>
47
+ </body>
48
+ </html>`}async function Ua(n){let a=`http://localhost:${n.port}/auth/callback`,e=new URLSearchParams({grant_type:"authorization_code",code:n.authorizationCode,redirect_uri:a,client_id:Jn(),code_verifier:n.codeVerifier}),i=await fetch(`${Hn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:e,signal:n.signal?AbortSignal.any([n.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!i.ok){let l=await i.text().catch(()=>"");throw Error(l.trim()?`Codex OAuth token exchange failed (${i.status}): ${l.trim()}`:`Codex OAuth token exchange failed with status ${i.status}.`)}let h=await i.json(),d=fn(h.access_token),R=fn(h.refresh_token);if(!d||!R)throw Error("Codex OAuth completed, but the token response was missing credentials.");let O=fn(h.id_token);return{apiKey:O?await Mt(O).catch(()=>{return}):void 0,accessToken:d,refreshToken:R,idToken:O,accountId:Xn(O)??Xn(d)}}class Zn{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(n){let a=Nt(),e=Rt(),i=new kt("/auth/callback");this.authCodeListener=i,this.port=null;try{let h=await i.start(e);this.port=h;let d=Tt(),R=await qt(a),O=Za({port:h,codeChallenge:R,state:d});try{let w=await i.waitForAuthorization(d,async()=>{await n(O)}),l=new AbortController;this.tokenExchangeAbortController=l;let g;try{g=await Ua({authorizationCode:w,codeVerifier:a,port:h,signal:l.signal})}finally{if(this.tokenExchangeAbortController===l)this.tokenExchangeAbortController=null}if(this.authCodeListener!==i)throw this.buildCancellationError();return i.handleSuccessRedirect([],(k)=>{k.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),k.end(Pa())}),g}catch(w){let l=this.authCodeListener===i?w:this.buildCancellationError();if(i.hasPendingResponse()){let g=l instanceof Error&&l.message==="Codex OAuth flow was cancelled.";i.handleErrorRedirect((k)=>{k.writeHead(g?200:400,{"Content-Type":"text/html; charset=utf-8"}),k.end(g?At():Ia(l instanceof Error?l.message:String(l)))})}throw l}finally{this.cleanup()}}catch(h){let d=h instanceof Error?h.message:String(h);if(d.includes("EADDRINUSE")||d.includes(String(e)))throw Error(`Codex OAuth needs localhost:${e} for its callback. Close any app already using that port and try again.`);throw h}}cleanup(){let n=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(n),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((a)=>{a.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),a.end(At())});this.authCodeListener?.cancelPendingAuthorization(n),this.authCodeListener=null,this.port=null}}var St=x(()=>{Ha();Ja();Xa()});function Ka(){return new Zn}function Yt(n){let{onAuthenticated:a}=n,e=n.deps?.createOAuthService??Ka,i=n.deps?.openBrowser??Gt,h=n.deps?.saveCodexCredentials??$t,d=n.deps?.isBareMode??cn,[R,O]=On.useState({state:"starting"});return On.useEffect(()=>{if(d()){O({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let w=!1,l=e();return l.startOAuthFlow(async(g)=>{if(w)return;O({state:"waiting",authUrl:g,browserOpened:null});let k=await i(g);if(w)return;O({state:"waiting",authUrl:g,browserOpened:k})}).then(async(g)=>{if(w)return;await a(g,(v)=>{let p=h({apiKey:g.apiKey,accessToken:g.accessToken,refreshToken:g.refreshToken,idToken:g.idToken,accountId:g.accountId,profileId:v?.profileId});if(!p.success)throw Error(p.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((g)=>{if(w)return;O({state:"error",message:g instanceof Error?g.message:String(g)})}),()=>{w=!0,l.cleanup()}},[e,d,a,i,h]),R}var On;var Qt=x(()=>{St();Wa();Ft();Lt();On=J(Fn(),1)});function he(n){return{name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey??""}}function de(n){let a=zn(n);return{name:a.name,baseUrl:a.baseUrl,model:a.model,apiKey:a.apiKey??""}}function se(n){let a={};for(let e of n.split(/\r?\n/)){let i=e.trim();if(!i)continue;let h=i.indexOf(":");if(h<=0)continue;let d=i.slice(0,h).trim(),R=i.slice(h+1).trim();if(d&&R)a[d]=R}return a}function me(n){if(!n)return"";return Object.entries(n).map(([a,e])=>`${a}: ${e}`).join(`
49
+ `)}function ye(n,a){let e={},i=n.awsRegion?.trim();if(i)e.awsRegion=i;let h=n.gcpProject?.trim();if(h)e.gcpProject=h;let d=n.gcpRegion?.trim();if(d)e.gcpRegion=d;let R=n.azureResource?.trim();if(R)e.azureResource=R;let O=se(a);if(Object.keys(O).length>0)e.customHeaders=O;return Object.keys(e).length>0?e:void 0}function be(n,a){let e=a?" (active)":"",i=n.apiKey?"key set":"no key",h=n.provider==="anthropic"?"anthropic":"openai-compatible",d=Xt(n.model),R=d.length<=3?d.join(", "):`${d[0]}, ${d[1]} + ${d.length-2} more`;return`${h} · ${n.baseUrl} · ${R} · ${i}${e}`}function ge(n,a){if(n.state==="unreachable")return`Could not reach Atomic Chat at ${Qn(a)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(n.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function we(n,a){if(n.state==="unreachable")return`Could not reach Ollama at ${Qn(a)}. Start Ollama first, or enter the endpoint manually.`;if(n.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(n.state==="generation_failed"){let e=n.probeModel??"the selected model",i=n.detail?` Details: ${n.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${e}.${i} Run "ollama run ${e}" once and retry, or enter details manually.`}return""}function Pn(n,a){if(!a)return;return n.find((e)=>e.id===a)}function fe(n,a){return Boolean(n&&a&&n.id===a)}function Oe({onBack:n,onConfigured:a}){let e=y.useCallback(async(h,d)=>{await a(h,d)},[a]);D("confirm:no",n,[n]);let i=Yt({onAuthenticated:e});if(i.state==="error")return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"error",bold:!0,children:"Codex OAuth failed"},void 0,!1,void 0,this),t.jsxDEV(c,{children:i.message},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Press Enter or Esc to go back."},void 0,!1,void 0,this),t.jsxDEV(q,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:n,onCancel:n,visibleOptionCount:1},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Codex OAuth"},void 0,!1,void 0,this),t.jsxDEV(c,{children:"Sign in with your ChatGPT account in the browser. Claudio will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."},void 0,!1,void 0,this),i.state==="starting"?t.jsxDEV(c,{dimColor:!0,children:"Starting local callback and preparing your browser..."},void 0,!1,void 0,this):i.browserOpened===!1?t.jsxDEV(t.Fragment,{children:[t.jsxDEV(c,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"},void 0,!1,void 0,this),t.jsxDEV(c,{children:i.authUrl},void 0,!1,void 0,this)]},void 0,!0,void 0,this):i.browserOpened===!0?t.jsxDEV(t.Fragment,{children:[t.jsxDEV(c,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."},void 0,!1,void 0,this),t.jsxDEV(c,{children:i.authUrl},void 0,!1,void 0,this)]},void 0,!0,void 0,this):t.jsxDEV(c,{dimColor:!0,children:"Opening your browser..."},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Press Esc to cancel and go back."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ir({mode:n,onDone:a}){let e=It(),[i,h]=y.useState([]),[d,R]=y.useState(),O=y.useRef(0),[w,l]=y.useState(n==="first-run"?"select-preset":"menu"),[g,k]=y.useState(null),[v,p]=y.useState("openai"),[A,L]=y.useState(()=>de("ollama")),[P,ln]=y.useState({}),[En,Rn]=y.useState(""),[Et,Vt]=y.useState(0),[jt,Bt]=y.useState(0),[_n,Vn]=y.useState(null),[I,nn]=y.useState(0),[U,Y]=y.useState(0),[Dt,Q]=y.useState(0),[jn,$]=y.useState(),[W,f]=y.useState(),[vt,na]=y.useState(),[Bn,hn]=y.useState(!1),[dn,tn]=y.useState(),[F,sn]=y.useState({state:"idle"}),[G,mn]=y.useState({state:"idle"}),[ta,aa]=y.useState(!0),[ea,yn]=y.useState(!1),Mn=y.useRef(!1),[kn,Nn]=y.useState(()=>un()),[Dn,ra]=y.useState(()=>Kt());y.useEffect(()=>{queueMicrotask(()=>{let r=Z(),o=B()?.id;h(r),R(o),aa(!1)})},[]);let K=V[U]??V[0],Cn=K.key,oa=A[Cn],qn=i.length>0,Tn=qn,vn=y.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...kn?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider",description:"Switch the active provider profile",disabled:!Tn},{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!qn},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!Tn},...Bn?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[Tn,qn,Bn,kn]),Sn=y.useCallback(()=>{if(cn()){O.current+=1,hn(!1),tn(void 0);return}let r=++O.current;(async()=>{let o=await Wn();if(r!==O.current)return;hn(Boolean(o?.apiKey||o?.accessToken||o?.refreshToken||o?.idToken)),tn(o?.profileId)})()},[]);y.useEffect(()=>{return Sn(),()=>{O.current+=1}},[Sn]),y.useEffect(()=>{if(w!=="select-ollama-model")return;let r=!1;return sn({state:"loading"}),(async()=>{let o=await Wt({baseUrl:A.baseUrl});if(o.state!=="ready"){if(!r)sn({state:"unavailable",message:we(o,A.baseUrl)});return}let u=Yn(o.models,"balanced"),s=wt(o.models,"balanced");if(!r)sn({state:"ready",defaultValue:s?.name??u[0]?.name,options:u.map((m)=>({label:m.name,value:m.name,description:m.summary}))})})(),()=>{r=!0}},[A.baseUrl,w]),y.useEffect(()=>{if(w!=="select-atomic-chat-model")return;let r=!1;return mn({state:"loading"}),(async()=>{let o=await Ut({baseUrl:A.baseUrl});if(o.state!=="ready"){if(!r)mn({state:"unavailable",message:ge(o,A.baseUrl)});return}if(!r)mn({state:"ready",defaultValue:o.models[0],options:o.models.map((u)=>({label:u,value:u}))})})(),()=>{r=!0}},[A.baseUrl,w]);function S(){if(Mn.current)return;Mn.current=!0,queueMicrotask(()=>{let r=Z();h(r),R(B()?.id),Sn(),Mn.current=!1})}function an(){return null}function nt(r){if(r.activationWarning)return`${r.prefix}. Saved for next startup. Warning: ${r.warnings.join("; ")}.`;if(r.warnings.length>0)return`${r.prefix}. Claudio switched to it for this session with warnings: ${r.warnings.join("; ")}.`;return`${r.prefix}. Claudio switched to it for this session.`}async function tt(r){if(r?.accessToken&&r.accountId)return null;let o=await Wn();if(!o)return"stored Codex OAuth credentials could not be loaded";if(!o.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function at(){Zt()}async function ca(r){let o="provider";yn(!0),$("Activating provider...");try{await new Promise((X)=>queueMicrotask(X));let u=rn(r);if(!u){f("Could not change active provider."),yn(!1),M();return}let s=In(u.model);e((X)=>({...X,mainLoopModel:s,mainLoopModelForSession:null})),o=u.name;let m=an(),C=fe(u,dn),_=C?await tt():null;S();let T=C?nt({prefix:`Active provider: ${u.name}`,activationWarning:_,warnings:[_,m?`could not clear startup provider override (${m})`:null].filter((X)=>Boolean(X))}):m?`Active provider: ${u.name}. Warning: could not clear startup provider override (${m}).`:`Active provider: ${u.name}`;$(T),yn(!1),a({action:"activated",activeProfileId:u.id,activeProviderName:u.name,activeProviderModel:s,message:`Provider switched to ${u.name} (${s})`}),M()}catch(u){S(),$(void 0),yn(!1);let s=u instanceof Error?u.message:String(u);f(`Could not finish activating ${o}: ${s}`),M()}}function M(){na("done"),l("menu")}function bn(r){a({action:"cancelled",message:r})}function ia(r){let o=zn(r),u={name:o.name,baseUrl:o.baseUrl,model:o.model,apiKey:o.apiKey??""};if(k(null),p(o.provider??"openai"),L(u),ln({}),Rn(""),Vn(r),Y(0),nn(0),Q(u.name.length),f(void 0),r==="ollama"){sn({state:"loading"}),l("select-ollama-model");return}if(r==="atomic-chat"){mn({state:"loading"}),l("select-atomic-chat-model");return}if(r==="anthropic"){l("anthropic-auth-choice");return}if(r==="bedrock"||r==="vertex"||r==="foundry"){l("cloud-extras");return}l("form")}function ua(r){let o=i.find((s)=>s.id===r);if(!o)return;let u=he(o);k(r),p(o.provider??"openai"),L(u),ln({awsRegion:o.extras?.awsRegion,gcpProject:o.extras?.gcpProject,gcpRegion:o.extras?.gcpRegion,azureResource:o.extras?.azureResource}),Rn(me(o.extras?.customHeaders)),Vn(null),Y(0),nn(0),Q(u.name.length),f(void 0),l("form")}function gn(r=A){let o=ye(P,En),u={provider:v,name:r.name,baseUrl:r.baseUrl,model:r.model,apiKey:r.apiKey,extras:o},s=g?en(g,u):E(u,{makeActive:!0});if(!s){f("Could not save provider. Fill all required fields.");return}let m=B()?.id===s.id;if(m)e((T)=>({...T,mainLoopModel:In(s.model),mainLoopModelForSession:null}));let C=m?an():null;S();let _=g?`Updated provider: ${s.name}`:`Added provider: ${s.name} (now active)`;if($(C?`${_}. Warning: could not clear startup provider override (${C}).`:_),n==="first-run"){a({action:"saved",activeProfileId:s.id,message:`Provider configured: ${s.name}`});return}k(null),Y(0),f(void 0),M()}function la(){if(G.state==="loading"||G.state==="idle")return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Checking Atomic Chat"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(G.state==="unavailable")return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Atomic Chat setup"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:G.message},void 0,!1,void 0,this),t.jsxDEV(q,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(r)=>{if(r==="manual"){Y(0),Q(A.name.length),l("form");return}l("select-preset")},onCancel:()=>l("select-preset"),visibleOptionCount:2},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."},void 0,!1,void 0,this),t.jsxDEV(q,{options:G.options,defaultValue:G.defaultValue,defaultFocusValue:G.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,G.options.length),onChange:(r)=>{let o={...A,model:r};L(o),gn(o)},onCancel:()=>l("select-preset")},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ha(){if(F.state==="loading"||F.state==="idle")return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Checking Ollama"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Looking for installed Ollama models..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(F.state==="unavailable")return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Ollama setup"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:F.message},void 0,!1,void 0,this),t.jsxDEV(q,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(r)=>{if(r==="manual"){Y(0),Q(A.name.length),l("form");return}l("select-preset")},onCancel:()=>l("select-preset"),visibleOptionCount:2},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Choose an Ollama model"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."},void 0,!1,void 0,this),t.jsxDEV(q,{options:F.options,defaultValue:F.defaultValue,defaultFocusValue:F.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,F.options.length),onChange:(r)=>{let o={...A,model:r};L(o),gn(o)},onCancel:()=>l("select-preset")},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function da(r){let o=r.trim();if(!K.optional&&o.length===0){f(`${K.label} is required.`);return}let u={...A,[Cn]:o};if(L(u),f(void 0),U<V.length-1){let s=U+1,m=V[s]?.key??"name";Y(s),Q(u[m].length);return}if((_n==="anthropic"||_n==="custom")&&w==="form"){L(u),l("custom-headers");return}gn(u)}function sa(){if(f(void 0),U>0){let r=U-1,o=V[r]?.key??"name";Y(r),Q(A[o].length);return}if(n==="first-run"){l("select-preset");return}M()}D("confirm:no",sa,{context:"Settings",isActive:w==="form"});function ma(){if(f(void 0),I>0){nn(I-1);return}l("select-preset")}D("confirm:no",ma,{context:"Settings",isActive:w==="cloud-extras"}),D("confirm:no",()=>l("form"),{context:"Settings",isActive:w==="custom-headers"}),D("confirm:no",()=>l("select-preset"),{context:"Settings",isActive:w==="anthropic-auth-choice"||w==="anthropic-oauth"});function ya(){let r=!cn(),o=[...kn?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},...r?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...n==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:n==="first-run"?"Set up provider":"Choose provider preset"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."},void 0,!1,void 0,this),t.jsxDEV(q,{options:o,onChange:(u)=>{if(u==="skip"){bn("Provider setup skipped");return}if(u==="codex-oauth"){l("codex-oauth");return}if(u==="github-onboard"){l("github-onboard");return}if(u==="import-legacy"){(async()=>{let s=await xn({force:!0});Nn(un()),S();let m=pn(s);if(s.errors.length>0){f(m);return}let C=B();if(n==="first-run"&&C){a({action:"saved",activeProfileId:C.id,activeProviderName:C.name,activeProviderModel:C.model,message:m});return}if($(m),f(void 0),n==="manage")M()})();return}ia(u)},onCancel:()=>{if(n==="first-run"){bn("Provider setup skipped");return}M()},visibleOptionCount:Math.min(13,o.length)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Ca(){return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Anthropic — choose authentication"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."},void 0,!1,void 0,this),t.jsxDEV(q,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudio/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(r)=>{if(r==="oauth"){l("anthropic-oauth");return}if(r==="apiKey"){l("form");return}l("select-preset")},onCancel:()=>l("select-preset"),visibleOptionCount:3},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ba(){let r=(ae(),xa(te)).ConsoleOAuthFlow;return t.jsxDEV(b,{flexDirection:"column",gap:1,children:t.jsxDEV(r,{mode:"login",onDone:()=>{let o=zn("anthropic"),u={provider:"anthropic",name:o.name,baseUrl:o.baseUrl,model:o.model},s=E(u,{makeActive:!0});if(!s){f("OAuth completed, but the Anthropic profile could not be saved."),l("select-preset");return}let m=`Anthropic OAuth configured: ${s.name}`;if(S(),n==="first-run"){a({action:"saved",activeProfileId:s.id,message:m});return}$(m),f(void 0),M()}},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function ga(){let r=_n;if(r!=="bedrock"&&r!=="vertex"&&r!=="foundry")return null;let o=Ce[r],u=o[I]??o[0],s=P[u.key]??"";function m(C){let _=C.trim();if(_.length===0){f(`${u.label} is required.`);return}let T={...P,[u.key]:_};if(ln(T),f(void 0),I<o.length-1){nn(I+1);return}nn(0),l("form")}return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:`${r==="bedrock"?"AWS Bedrock":r==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:u.helpText},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:["Step ",I+1," of ",o.length,": ",u.label]},void 0,!0,void 0,this),t.jsxDEV(b,{flexDirection:"row",gap:1,children:[t.jsxDEV(c,{children:j.pointer},void 0,!1,void 0,this),t.jsxDEV(An,{value:s,onChange:(C)=>ln((_)=>({..._,[u.key]:C})),onSubmit:m,focus:!0,showCursor:!0,placeholder:`${u.placeholder}${j.ellipsis}`,columns:80,cursorOffset:Et,onChangeCursorOffset:Vt},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W&&t.jsxDEV(c,{color:"error",children:W},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function wa(){return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Custom headers (optional)"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",t.jsxDEV(c,{children:"Header: Value"},void 0,!1,void 0,this),". Leave empty to skip."]},void 0,!0,void 0,this),t.jsxDEV(b,{flexDirection:"row",gap:1,children:[t.jsxDEV(c,{children:j.pointer},void 0,!1,void 0,this),t.jsxDEV(An,{value:En,onChange:Rn,onSubmit:()=>gn(A),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:jt,onChangeCursorOffset:Bt},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W&&t.jsxDEV(c,{color:"error",children:W},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function fa(){return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:g?"Edit provider profile":"Create provider profile"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:K.helpText},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:["Provider type:"," ",v==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]},void 0,!0,void 0,this),t.jsxDEV(c,{dimColor:!0,children:["Step ",U+1," of ",V.length,": ",K.label]},void 0,!0,void 0,this),t.jsxDEV(b,{flexDirection:"row",gap:1,children:[t.jsxDEV(c,{children:j.pointer},void 0,!1,void 0,this),t.jsxDEV(An,{value:oa,onChange:(r)=>L((o)=>({...o,[Cn]:r})),onSubmit:da,focus:!0,showCursor:!0,placeholder:`${K.placeholder}${j.ellipsis}`,mask:Cn==="apiKey"?"*":void 0,columns:80,cursorOffset:Dt,onChangeCursorOffset:Q},void 0,!1,void 0,this)]},void 0,!0,void 0,this),W&&t.jsxDEV(c,{color:"error",children:W},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Oa(){let r=i.length>0,o=r;return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Provider manager"},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."},void 0,!1,void 0,this),jn&&t.jsxDEV(c,{children:jn},void 0,!1,void 0,this),t.jsxDEV(b,{flexDirection:"column",children:i.length===0?t.jsxDEV(c,{dimColor:!0,children:"No provider profiles configured yet."},void 0,!1,void 0,this):i.map((u)=>t.jsxDEV(c,{dimColor:!0,children:["- ",u.name,": ",be(u,u.id===d)]},u.id,!0,void 0,this))},void 0,!1,void 0,this),t.jsxDEV(q,{options:vn,onChange:(u)=>{switch(f(void 0),u){case"add":l("select-preset");break;case"import-legacy":{(async()=>{let s=await xn({force:!0});if(Nn(un()),S(),s.errors.length>0)f(pn(s));else $(pn(s))})();break}case"activate":if(o)l("select-active");break;case"edit":if(r)l("select-edit");break;case"delete":if(o)l("select-delete");break;case"logout-codex-oauth":{let s=Kn();if(!s.success){f(s.warning??"Could not clear Codex OAuth credentials.");break}hn(!1),tn(void 0);let m=Pn(Z(),dn),C=null;if(m){let _=Un(m.id);if(!_.removed){f("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),S();break}at(),C=_.activeProfileId?an():null}S(),$(C?`Codex OAuth logged out. Warning: could not clear startup provider override (${C}).`:"Codex OAuth logged out.");break}default:bn("Provider manager closed");break}},onCancel:()=>bn("Provider manager closed"),defaultFocusValue:vt,visibleOptionCount:vn.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Ln(r,o,u){let s=i.map((m)=>({value:m.id,label:m.id===d?`${m.name} (active)`:m.name,description:`${m.provider==="anthropic"?"anthropic":"openai-compatible"} · ${m.baseUrl} · ${m.model}`}));if(s.length===0)return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:r},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:o},void 0,!1,void 0,this),t.jsxDEV(q,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>M(),onCancel:()=>M(),visibleOptionCount:1},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:r},void 0,!1,void 0,this),t.jsxDEV(q,{options:s,onChange:u,onCancel:()=>M(),visibleOptionCount:Math.min(10,Math.max(2,s.length))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}let N;switch(w){case"select-preset":N=ya();break;case"select-ollama-model":N=ha();break;case"select-atomic-chat-model":N=la();break;case"codex-oauth":N=t.jsxDEV(Oe,{onBack:()=>l("select-preset"),onConfigured:async(r,o)=>{let u={provider:"openai",name:ue,baseUrl:Ht,model:le,apiKey:""},s=Pn(Z(),dn),m=s?en(s.id,u):E(u,{makeActive:!0});if(!m){f("Codex OAuth login finished, but the provider profile could not be saved."),M();return}let C=s&&d!==m.id?rn(m.id):m;if(!C){f("Codex OAuth login finished, but the provider could not be set as the startup provider."),M();return}o({profileId:m.id});let _=an(),T=await tt(r);hn(!0),tn(m.id),S();let X=[T,_?`could not clear startup provider override (${_})`:null].filter((Aa)=>Boolean(Aa)),et=nt({prefix:"Codex OAuth configured",activationWarning:T,warnings:X});if(n==="first-run"){a({action:"saved",activeProfileId:C.id,message:et});return}$(et),f(void 0),M()}},void 0,!1,void 0,this);break;case"github-onboard":N=t.jsxDEV(yt,{onDone:(r)=>{if(r)$(r),f(void 0);S(),M()},onBack:()=>l("select-preset"),onChangeAPIKey:S},void 0,!1,void 0,this);break;case"anthropic-auth-choice":N=Ca();break;case"anthropic-oauth":N=ba();break;case"cloud-extras":N=ga();break;case"custom-headers":N=wa();break;case"form":N=fa();break;case"select-active":N=Ln("Set active provider","No providers available. Add one first.",(r)=>{ca(r)});break;case"select-edit":N=Ln("Edit provider","No providers available. Add one first.",(r)=>{ua(r)});break;case"select-delete":N=Ln("Delete provider","No providers available. Add one first.",(r)=>{let o=i.find((C)=>C.id===r),u=o?.provider==="openai"&&o?.extras?.githubToken!==void 0,s=Pn(i,dn)?.id===r,m=Un(r);if(!m.removed)f("Could not delete provider.");else{let C=[];if(s){let T=Kn();if(!T.success)C.push(T.warning??"could not clear Codex OAuth credentials");else tn(void 0);at()}if(u){let T=Jt();if(!T.success)C.push(T.warning??"could not clear GitHub Copilot token")}let _=m.activeProfileId?an():null;if(_)C.push(`could not clear startup provider override (${_})`);S(),$(C.length>0?`Provider deleted. Warning: ${C.join("; ")}.`:"Provider deleted")}M()});break;case"menu":default:N=Oa();break}return t.jsxDEV(Pt,{color:"permission",children:[t.jsxDEV(xt,{enabled:Dn,onDismiss:(r)=>{Nn(un()),ra(!1),S();let o=B();if(r==="migrated"&&n==="first-run"&&o)a({action:"saved",activeProfileId:o.id,activeProviderName:o.name,activeProviderModel:o.model})}},void 0,!1,void 0,this),Dn?null:ta?t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Loading providers..."},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Reading provider profiles from disk."},void 0,!1,void 0,this)]},void 0,!0,void 0,this):ea?t.jsxDEV(b,{flexDirection:"column",gap:1,children:[t.jsxDEV(c,{color:"remember",bold:!0,children:"Activating provider..."},void 0,!1,void 0,this),t.jsxDEV(c,{dimColor:!0,children:"Please wait while the provider is being configured."},void 0,!1,void 0,this)]},void 0,!0,void 0,this):N]},void 0,!0,void 0,this)}var y,t,V,ue="Codex OAuth",le="codexplan",Ce;var Ae=x(()=>{Ea();Ct();ja();st();Ba();ee();Ft();Lt();Va();Da();rt();dt();oe();ft();Ot();ne();va();ie();re();Qt();ce();y=J(Fn(),1),t=J(wn(),1),V=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0}];Ce={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
50
+ export{Qn as Cb,Ot as Db,se as Eb,ir as Fb,Ae as Gb};
@@ -0,0 +1,2 @@
1
+ import{_S as f}from"./cli-0.1.10-gms4557v.mjs";import{kX as o}from"./cli-0.1.10-v6gq9bxc.mjs";import{lX as M}from"./cli-0.1.10-28zx3btb.mjs";import{Gna as r}from"./cli-0.1.10-hyxg32sc.mjs";var p=r(f(),1),s=r(M(),1),d=r(o(),1),n=s.createContext(void 0);function a(F){let e=p.c(3),{getFpsMetrics:i,children:c}=F,t;if(e[0]!==c||e[1]!==i)t=d.jsxDEV(n.Provider,{value:i,children:c},void 0,!1,void 0,this),e[0]=c,e[1]=i,e[2]=t;else t=e[2];return t}function l(){return s.useContext(n)}
2
+ export{a as Xa,l as Ya};
@@ -0,0 +1,2 @@
1
+ import{Kna as b}from"./cli-0.1.10-hyxg32sc.mjs";var g="Agent",j="Task",m;var d=b(()=>{m=new Set(["Explore","Plan"])});
2
+ export{g as Jea,j as Kea,m as Lea,d as Mea};
@@ -0,0 +1,2 @@
1
+ import{Ac as x,Bc as o}from"./cli-0.1.10-v582vfad.mjs";import{Aq as Z,BF as R,Cq as v,Dz as y,EF as i,Ez as u,HG as W,KG as t,Nz as K,Pz as m,Ql as Y,Sy as $,Wl as g,Yy as d,pF as O,qF as a,vB as M,wB as l}from"./cli-0.1.10-y9mkzh11.mjs";import{D7 as h,y7 as X}from"./cli-0.1.10-mt6tj76h.mjs";import{Cga as f,Wga as I,Zga as c,wga as V}from"./cli-0.1.10-e4qewc1p.mjs";import{$ia as U,Oma as _}from"./cli-0.1.10-mqgz2v10.mjs";import{Kna as C}from"./cli-0.1.10-hyxg32sc.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),M();let G=await W(),[E,F]=await Promise.all([O(),Y(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Z(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await y(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),K();let N=!1;try{await $()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();m();o();g();c();f();h();i();a();d();u();v();l();t()});
2
+ export{Lj as wc,p as xc};
@@ -0,0 +1,10 @@
1
+ import{Kg as p,sh as Wj}from"./cli-0.1.10-bfw7yx17.mjs";import{JP as N,LP as Rj}from"./cli-0.1.10-gdqbhzyr.mjs";import{MW as L,NW as c,OW as g,PW as w,SW as d,WW as Qj}from"./cli-0.1.10-er8zk2kj.mjs";import{I8 as $,K8 as Gj,M7 as I,N7 as zj,Oba as Oj,l_ as y,m_ as Jj,sba as b,vba as H}from"./cli-0.1.10-mt6tj76h.mjs";import{Wea as _,gfa as a}from"./cli-0.1.10-w1hqcxj1.mjs";import{Aga as U,Cga as i,Ega as D,Iga as jj,Wga as R,Zga as qj}from"./cli-0.1.10-e4qewc1p.mjs";import{_ga as u,bha as v,cha as B,lha as e}from"./cli-0.1.10-y1bkenem.mjs";import{Bla as F,Ika as C,Jka as E,Oma as t}from"./cli-0.1.10-mqgz2v10.mjs";import{Kna as Y}from"./cli-0.1.10-hyxg32sc.mjs";import{readdir as V}from"fs/promises";import{join as n}from"path";function s(){return[o]}async function r(q,j){if(q.length===0)return j?.("[Claude in Chrome] No browser paths to check"),{isInstalled:!1,browser:null};let J=s();for(let{browser:z,path:O}of q){let G=[];try{G=await V(O,{withFileTypes:!0})}catch(Q){if(U(Q))continue;throw Q}let W=G.filter((Q)=>Q.isDirectory()).filter((Q)=>Q.name==="Default"||Q.name.startsWith("Profile ")).map((Q)=>Q.name);if(W.length>0)j?.(`[Claude in Chrome] Found ${z} profiles: ${W.join(", ")}`);for(let Q of W)for(let Z of J){let l=n(O,Q,"Extensions",Z);try{return await V(l),j?.(`[Claude in Chrome] Extension ${Z} found in ${z} ${Q}`),{isInstalled:!0,browser:z}}catch{}}}return j?.("[Claude in Chrome] Extension not found in any browser"),{isInstalled:!1,browser:null}}async function A(q,j){return(await r(q,j)).isInstalled}var o="fcoeoabgfenejglbffodgkkbkcdhcgfn";var K=Y(()=>{i()});import{chmod as Xj,mkdir as P,readFile as f,writeFile as m}from"fs/promises";import{homedir as Zj}from"os";import{join as X}from"path";import{fileURLToPath as $j}from"url";function wj(q){if(C()&&q!==!0)return!1;if(q===!0)return!0;if(q===!1)return!1;if(v(process.env.CLAUDE_CODE_ENABLE_CFC))return!0;if(B(process.env.CLAUDE_CODE_ENABLE_CFC))return!1;let j=H();if(j.claudeInChromeDefaultEnabled!==void 0)return j.claudeInChromeDefaultEnabled;return!1}function dj(){if(k!==void 0)return k;return k=E()&&Nj()&&_("tengu_chrome_auto_enable",!1),k}function pj(){let q=y(),j=p.map((O)=>`mcp__claude-in-chrome__${O.name}`),J={};if(F())J.CLAUDE_CHROME_PERMISSION_MODE="skip_all_permission_checks";let z=Object.keys(J).length>0;if(q){let O=`"${process.execPath}" --chrome-native-host`;return x(O).then((G)=>T(G)).catch((G)=>R(`[Claude in Chrome] Failed to install native host: ${G}`,{level:"error"})),{mcpConfig:{[L]:{type:"stdio",command:process.execPath,args:["--claude-in-chrome-mcp"],scope:"dynamic",...z&&{env:J}}},allowedTools:j,systemPrompt:N()}}else{let O=$j(import.meta.url),G=X(O,".."),W=X(G,"cli.js");return x(`"${process.execPath}" "${W}" --chrome-native-host`).then((Z)=>T(Z)).catch((Z)=>R(`[Claude in Chrome] Failed to install native host: ${Z}`,{level:"error"})),{mcpConfig:{[L]:{type:"stdio",command:process.execPath,args:[`${W}`,"--claude-in-chrome-mcp"],scope:"dynamic",...z&&{env:J}}},allowedTools:j,systemPrompt:N()}}}function Hj(){if($()==="windows"){let j=Zj(),J=process.env.APPDATA||X(j,"AppData","Local");return[X(J,"Claude Code","ChromeNativeHost")]}return g().map(({path:j})=>j)}async function T(q){let j=Hj();if(j.length===0)throw Error("Claude in Chrome Native Host not supported on this platform");let z=D({name:S,description:"Claude Code Browser Extension Native Host",path:q,type:"stdio",allowed_origins:["chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/"]},null,2),O=!1;for(let G of j){let W=X(G,M);if(await f(W,"utf-8").catch(()=>null)===z)continue;try{await P(G,{recursive:!0}),await m(W,z),R(`[Claude in Chrome] Installed native host manifest at: ${W}`),O=!0}catch(Z){R(`[Claude in Chrome] Failed to install manifest at ${W}: ${Z}`)}}if($()==="windows"){let G=X(j[0],M);Lj(G)}if(O)h().then((G)=>{if(G)R("[Claude in Chrome] First-time install detected, opening reconnect page in browser"),d(kj);else R("[Claude in Chrome] First-time install detected, but extension not installed, skipping reconnect")})}function Lj(q){let j=w();for(let{browser:J,key:z}of j){let O=`${z}\\${S}`;I("reg",["add",O,"/ve","/t","REG_SZ","/d",q,"/f"]).then((G)=>{if(G.code===0)R(`[Claude in Chrome] Registered native host for ${J} in Windows registry: ${O}`);else R(`[Claude in Chrome] Failed to register native host for ${J} in Windows registry: ${G.stderr}`)})}}async function x(q){let j=$(),J=X(u(),"chrome"),z=j==="windows"?X(J,"chrome-native-host.bat"):X(J,"chrome-native-host"),O=j==="windows"?`@echo off
2
+ REM Chrome native host wrapper script
3
+ REM Generated by Claude Code - do not edit manually
4
+ ${q}
5
+ `:`#!/bin/sh
6
+ # Chrome native host wrapper script
7
+ # Generated by Claude Code - do not edit manually
8
+ exec ${q}
9
+ `;if(await f(z,"utf-8").catch(()=>null)===O)return z;if(await P(J,{recursive:!0}),await m(z,O),j!=="windows")await Xj(z,493);return R(`[Claude in Chrome] Created Chrome native host wrapper script: ${z}`),z}function Nj(){return h().then((j)=>{if(!j)return;if(H().cachedChromeExtensionInstalled!==j)b((z)=>({...z,cachedChromeExtensionInstalled:j}))}),H().cachedChromeExtensionInstalled??!1}async function h(){let q=c();if(q.length===0)return R(`[Claude in Chrome] Unsupported platform for extension detection: ${$()}`),!1;return A(q,R)}var kj="https://clau.de/chrome/reconnect",S="com.anthropic.claude_code_browser_extension",M,k=void 0;var Sj=Y(()=>{Wj();t();a();Jj();Oj();qj();e();zj();Gj();jj();Qj();Rj();K();M=`${S}.json`});
10
+ export{wj as ob,dj as pb,pj as qb,h as rb,Sj as sb};
@@ -0,0 +1,2 @@
1
+ import{AY as A,zY as F}from"./cli-0.1.10-hbk3dhq8.mjs";import{L4 as r,b5 as e}from"./cli-0.1.10-vrd90nhd.mjs";import{Gba as U,L7 as J,N7 as I,Oba as s,q_ as _,r_ as G,t_ as C}from"./cli-0.1.10-mt6tj76h.mjs";import{Wea as w,gfa as Lf}from"./cli-0.1.10-w1hqcxj1.mjs";import{Iga as Of,Wga as y,Zga as pf}from"./cli-0.1.10-e4qewc1p.mjs";import{bha as q,lha as Q}from"./cli-0.1.10-y1bkenem.mjs";import{Cka as D,Ika as v,Kma as R,Oma as Z,Via as N}from"./cli-0.1.10-mqgz2v10.mjs";import{lna as z,mna as o}from"./cli-0.1.10-akaq0zte.mjs";import{Kna as E}from"./cli-0.1.10-hyxg32sc.mjs";import{stat as b}from"fs/promises";function l(){return process.platform==="linux"&&q(process.env.CLAUDE_CODE_BUBBLEWRAP)}function g(){if(process.platform!=="linux")return!1;return X??!1}async function W(){if(O!==void 0)return O;if(process.platform==="darwin")return O=null,null;try{let f=await F(process.pid,10);for(let S of f){let p=S.toLowerCase();for(let x of _)if(p.includes(x))return O=x,x}}catch{}return O=null,null}async function h(){if(process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"){if(G.platform!=="darwin")return await W()||"pycharm"}return G.terminal}function d(){if(process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"){if(G.platform!=="darwin"){if(O!==void 0)return O||"pycharm";return"pycharm"}}return G.terminal}async function m(){if(process.env.TERMINAL_EMULATOR==="JetBrains-JediTerm")await W()}var u,X=null,O,$;var k=E(()=>{o();C();Q();I();A();u=z(async()=>{if(process.platform!=="linux")return!1;let{code:f}=await J("test",["-f","/.dockerenv"]);return f===0});if(process.platform==="linux"){let f=process.arch==="x64"?"x86_64":"aarch64";b(`/lib/libc.musl-${f}.so.1`).then(()=>{X=!0},()=>{X=!1})}$={...G,terminal:d(),getIsDocker:u,getIsBubblewrapSandbox:l,isMuslEnvironment:g,getTerminalWithJetBrainsDetectionAsync:h,initJetBrainsDetection:m}});function a(f){let S=BigInt(58),p=Array(22).fill("1"),x=21,T=f;while(T>0n){let L=Number(T%S);p[x]="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"[L],T=T/S,x--}return p.join("")}function t(f){let S=f.replace(/-/g,"");if(S.length!==32)throw Error(`Invalid UUID hex length: ${S.length}`);return BigInt("0x"+S)}function V(f,S){let p=t(S);return`${f}_01${a(p)}`}var H=()=>{};function B(f){let S=ff[f],p=process.env[f];if(p===void 0)return S;return q(p)}function j(){let f=U(),S=N(),p={"user.id":f};if(B("OTEL_METRICS_INCLUDE_SESSION_ID"))p["session.id"]=S;if(B("OTEL_METRICS_INCLUDE_VERSION"))p["app.version"]="99.0.0";let x=r();if(x){let{organizationUuid:T,emailAddress:L,accountUuid:M}=x;if(T)p["organization.id"]=T;if(L)p["user.email"]=L;if(M&&B("OTEL_METRICS_INCLUDE_ACCOUNT_UUID"))p["user.account_uuid"]=M,p["user.account_id"]=process.env.CLAUDE_CODE_ACCOUNT_TAGGED_ID||V("user",M)}if($.terminal)p["terminal.type"]=$.terminal;return p}var ff;var c=E(()=>{Z();e();s();k();Q();H();ff={OTEL_METRICS_INCLUDE_SESSION_ID:!0,OTEL_METRICS_INCLUDE_VERSION:!1,OTEL_METRICS_INCLUDE_ACCOUNT_UUID:!0}});function xf(){return q(process.env.OTEL_LOG_USER_PROMPTS)}function Rf(f){return xf()?f:"<REDACTED>"}async function Tf(f,S={}){let p=D();if(!p){if(!i)i=!0,y(`[3P telemetry] Event dropped (no event logger initialized): ${f}`,{level:"warn"});return}let x={...j(),"event.name":f,"event.timestamp":new Date().toISOString(),"event.sequence":Sf++},T=R();if(T)x["prompt.id"]=T;let L=process.env.CLAUDE_CODE_WORKSPACE_HOST_PATHS;if(L)x["workspace.host_paths"]=L.split("|");for(let[M,Y]of Object.entries(S))if(Y!==void 0)x[M]=Y;p.emit({body:`claude_code.${f}`,attributes:x})}var Sf=0,i=!1;var P=E(()=>{Z();pf();Q();c()});function Pf(){}function nf(){return!1}function vf(){}function wf(){}var Ef=()=>{};function qf(f){return f}function If(){return!1}function Cf(){return{}}function Af(){return}function bf(){return}function uf(){return}function lf(){return}function gf(){return}var n=()=>{};function Sp(){Gf.clear(),Kf.clear()}function xp(){if(!(q(process.env.ENABLE_BETA_TRACING_DETAILED)&&Boolean(process.env.BETA_TRACING_ENDPOINT)))return!1;return v()||w("tengu_trace_lantern",!1)}var Gf,Kf;var Mf=E(()=>{Z();Lf();n();Q();Of();P();Gf=new Set,Kf=new Map});function Ep(){return!1}function qp(){return!1}function Lp(){return K}function Op(){}function Gp(){return K}function Kp(){}function Mp(){return K}function Qp(){return K}function Xp(){}function $p(){return K}function Bp(){}function Zp(){}function Yp(){}function zp(){return K}function Jp(){}var K;var Qf=E(()=>{K={end(){},setAttribute(){},setStatus(){},recordException(){},addEvent(){},isRecording(){return!1}}});
2
+ export{qf as JX,If as KX,Cf as LX,Af as MX,bf as NX,uf as OX,lf as PX,gf as QX,n as RX,m as SX,$ as TX,k as UX,j as VX,c as WX,Rf as XX,Tf as YX,P as ZX,Pf as _X,nf as $X,vf as aY,wf as bY,Ef as cY,Sp as dY,xp as eY,Mf as fY,Ep as gY,qp as hY,Lp as iY,Op as jY,Gp as kY,Kp as lY,Mp as mY,Qp as nY,Xp as oY,$p as pY,Bp as qY,Zp as rY,Yp as sY,zp as tY,Jp as uY,Qf as vY};
@@ -0,0 +1,2 @@
1
+ import{Kna as V}from"./cli-0.1.10-hyxg32sc.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
2
+ export{b as Pma,T as Qma,K as Rma,z as Sma,B as Tma,x as Uma,k as Vma,m as Wma,G as Xma,O as Yma,y as Zma,l as _ma,o as $ma,i as ana,D as bna,R as cna,U0 as dna,E0 as ena,I0 as fna,D0 as gna,x0 as hna,O0 as ina,M as jna,p0 as kna,j6 as lna,nq as mna};
@@ -0,0 +1,2 @@
1
+ import{pg as E,qg as Jf}from"./cli-0.1.10-2k83cndj.mjs";import{$C as P,$M as Xf,$o as H,AM as T,DN as c,Fp as O,Gp as o,MO as _f,Qp as R,Wp as a,Xw as y,YL as C,Yw as ff,_y as N,aN as u,ap as r,az as zf,cO as v,gD as Gf,lr as w,mA as L,mr as e,nA as Bf,qO as Zf,sN as I,sO as A,tM as m,tN as M,uN as Yf,yq as t,zL as h,zq as s}from"./cli-0.1.10-y9mkzh11.mjs";import{D7 as k,y7 as x}from"./cli-0.1.10-mt6tj76h.mjs";import{Yfa as F,Zfa as n}from"./cli-0.1.10-f2jh6yv0.mjs";import{$ia as W,Oma as d,Uja as q,Wia as U}from"./cli-0.1.10-mqgz2v10.mjs";import{Hna as K,Kna as i}from"./cli-0.1.10-hyxg32sc.mjs";import{randomUUID as Qf}from"crypto";async function Ef({setMessages:V,readFileState:g,discoveredSkillNames:S,loadedNestedMemoryPaths:l,getAppState:G,setAppState:J,setConversationId:X}){let Y=c();await v("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=q();if(Z)F("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(P(f))Q.add(f.agentId),_.push(f);else if(y(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(Qf());if(E(Q),L(W()),g.clear(),S?.clear(),l?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(w(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(p){x(p)}I(D)}return{...f,tasks:B,attribution:H(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});R(),m(),U({setCurrentAsParent:!0}),await C();for(let f of _){if(f.status!=="running")continue;M(f.id,h(O(f.agentId)))}{let{saveMode:f}=(u(),K(Xf)),{isCoordinatorMode:B}=(s(),K(t));f(B()?"coordinator":"normal")}let b=A();if(b)T(b);let j=await N("clear");if(j.length>0)V(()=>j)}var Vf=i(()=>{d();n();ff();Gf();e();o();r();Zf();k();a();Bf();zf();u();Yf();_f();Jf()});
2
+ export{Ef as ng,Vf as og};