@claudiolabs/claudio 0.1.12 → 0.1.14

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 (642) hide show
  1. package/bin/claudio +7 -0
  2. package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +1 -0
  3. package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +1 -0
  5. package/dist/chunks/{AssistantSessionChooser-0.1.12-x3zt5579.mjs → AssistantSessionChooser-0.1.14-tf848k8v.mjs} +1 -1
  6. package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +1 -0
  10. package/dist/chunks/{DiffDialog-0.1.12-tzjdg5ys.mjs → DiffDialog-0.1.14-wtx2wmbs.mjs} +1 -1
  11. package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +1 -0
  12. package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.1.14-xtdr5bmp.mjs +1 -0
  14. package/dist/chunks/{InProcessTransport-0.1.12-xnrc78z1.mjs → InProcessTransport-0.1.14-wdqgcpb4.mjs} +1 -1
  15. package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.1.14-1rddgg2b.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +1 -0
  20. package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.1.14-79hg5s2w.mjs +1 -0
  22. package/dist/chunks/{SnapshotUpdateDialog-0.1.12-f1byjres.mjs → SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs} +1 -1
  23. package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.1.14-8wfa8twy.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.1.14-175xkeyy.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.1.14-zvmfmtg5.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +1 -0
  30. package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +1 -0
  31. package/dist/chunks/agents-0.1.14-nm4k11re.mjs +3 -0
  32. package/dist/chunks/{agents-0.1.12-vfwpnn0d.mjs → agents-0.1.14-pjr42t23.mjs} +2 -2
  33. package/dist/chunks/api-0.1.14-v09922m9.mjs +1 -0
  34. package/dist/chunks/{asciicast-0.1.12-nwzfr5gz.mjs → asciicast-0.1.14-kgp9j4z6.mjs} +1 -1
  35. package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +1 -0
  36. package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +1 -0
  37. package/dist/chunks/{auth-0.1.12-vhdwtwhb.mjs → auth-0.1.14-vj6095mm.mjs} +1 -1
  38. package/dist/chunks/{autoMode-0.1.12-xjr5qd6q.mjs → autoMode-0.1.14-jxse6h16.mjs} +1 -1
  39. package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +1 -0
  40. package/dist/chunks/branch-0.1.14-r5tt7cec.mjs +4 -0
  41. package/dist/chunks/{bridgePointer-0.1.12-vdj4j4ke.mjs → bridgePointer-0.1.14-2w1wvxgt.mjs} +1 -1
  42. package/dist/chunks/btw-0.1.14-j1cexrtn.mjs +1 -0
  43. package/dist/chunks/{buddy-0.1.12-4q50s2x4.mjs → buddy-0.1.14-r4nmfbke.mjs} +1 -1
  44. package/dist/chunks/cacache-0.1.14-3vw5qkqs.mjs +1 -0
  45. package/dist/chunks/{cache-probe-0.1.12-4s8cc2km.mjs → cache-probe-0.1.14-zfb6aw4f.mjs} +1 -1
  46. package/dist/chunks/{cacheStats-0.1.12-qqcw6b5n.mjs → cacheStats-0.1.14-15eahew3.mjs} +1 -1
  47. package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +1 -0
  48. package/dist/chunks/{claudeDesktop-0.1.12-1yrkynq4.mjs → claudeDesktop-0.1.14-0df0z4v6.mjs} +1 -1
  49. package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +1 -0
  50. package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +1 -0
  51. package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +1 -0
  52. package/dist/chunks/cli-0.1.14-08ambmnj.mjs +2 -0
  53. package/dist/chunks/cli-0.1.14-0a8ckx07.mjs +2 -0
  54. package/dist/chunks/cli-0.1.14-0ctjta81.mjs +5 -0
  55. package/dist/chunks/{cli-0.1.12-faa9mx3m.mjs → cli-0.1.14-0kzzfe41.mjs} +2 -2
  56. package/dist/chunks/cli-0.1.14-0nhaxy76.mjs +4 -0
  57. package/dist/chunks/{cli-0.1.12-q63qrz06.mjs → cli-0.1.14-0x3m90bk.mjs} +2 -2
  58. package/dist/chunks/{cli-0.1.12-v000x470.mjs → cli-0.1.14-16jrehc2.mjs} +2 -2
  59. package/dist/chunks/{cli-0.1.12-352pjhkh.mjs → cli-0.1.14-1g5jq0j8.mjs} +2 -2
  60. package/dist/chunks/cli-0.1.14-1shkmy81.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.12-trdq9d6x.mjs → cli-0.1.14-1xkst5wv.mjs} +2 -2
  62. package/dist/chunks/{cli-0.1.12-rwhrpb6w.mjs → cli-0.1.14-244fknyr.mjs} +2 -2
  63. package/dist/chunks/{cli-0.1.12-1x06khjr.mjs → cli-0.1.14-25ta9abj.mjs} +2 -2
  64. package/dist/chunks/{cli-0.1.12-0vf5f6qn.mjs → cli-0.1.14-28exj8zm.mjs} +2 -2
  65. package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +2 -0
  66. package/dist/chunks/{cli-0.1.12-vzga2are.mjs → cli-0.1.14-2f7s5xbd.mjs} +6 -6
  67. package/dist/chunks/{cli-0.1.12-rzpc0tr9.mjs → cli-0.1.14-2mzb5ath.mjs} +2 -2
  68. package/dist/chunks/cli-0.1.14-373staaj.mjs +2 -0
  69. package/dist/chunks/cli-0.1.14-39y8qfj7.mjs +2 -0
  70. package/dist/chunks/cli-0.1.14-3m63hy2a.mjs +3 -0
  71. package/dist/chunks/cli-0.1.14-3scecgzx.mjs +6 -0
  72. package/dist/chunks/{cli-0.1.12-g2s9mjr6.mjs → cli-0.1.14-3w7fbjhy.mjs} +2 -2
  73. package/dist/chunks/{cli-0.1.12-9pq0gse0.mjs → cli-0.1.14-3xj419mp.mjs} +2 -2
  74. package/dist/chunks/{cli-0.1.12-yk12dgnx.mjs → cli-0.1.14-3yj4dkmn.mjs} +2 -2
  75. package/dist/chunks/cli-0.1.14-3zj4s594.mjs +2 -0
  76. package/dist/chunks/{cli-0.1.12-ae3e3ffp.mjs → cli-0.1.14-42sm5vzr.mjs} +2 -2
  77. package/dist/chunks/cli-0.1.14-442a367x.mjs +2 -0
  78. package/dist/chunks/{cli-0.1.12-jqrk975g.mjs → cli-0.1.14-473sgexj.mjs} +2 -2
  79. package/dist/chunks/{cli-0.1.12-6238zg7k.mjs → cli-0.1.14-4mde8z7h.mjs} +2 -2
  80. package/dist/chunks/{cli-0.1.12-9v01t95v.mjs → cli-0.1.14-4tmbgg29.mjs} +2 -2
  81. package/dist/chunks/cli-0.1.14-4wdh3k7y.mjs +2 -0
  82. package/dist/chunks/{cli-0.1.12-vxej5jdm.mjs → cli-0.1.14-59axynr8.mjs} +2 -2
  83. package/dist/chunks/{cli-0.1.12-qsh4sj4y.mjs → cli-0.1.14-5brvxst8.mjs} +2 -2
  84. package/dist/chunks/cli-0.1.14-5e5kkjam.mjs +2 -0
  85. package/dist/chunks/cli-0.1.14-5rp4y3q2.mjs +2 -0
  86. package/dist/chunks/{cli-0.1.12-0eznapyf.mjs → cli-0.1.14-5te1nbdc.mjs} +2 -2
  87. package/dist/chunks/cli-0.1.14-68wbwy40.mjs +4 -0
  88. package/dist/chunks/cli-0.1.14-6cjjzttb.mjs +3 -0
  89. package/dist/chunks/{cli-0.1.12-v8j9zstg.mjs → cli-0.1.14-71m91842.mjs} +2 -2
  90. package/dist/chunks/{cli-0.1.12-0kqx19vz.mjs → cli-0.1.14-71sp86jb.mjs} +2 -2
  91. package/dist/chunks/{cli-0.1.12-d0es0fxd.mjs → cli-0.1.14-77ha4n58.mjs} +2 -2
  92. package/dist/chunks/{cli-0.1.12-a2qh6gjr.mjs → cli-0.1.14-7zjhrz42.mjs} +3 -3
  93. package/dist/chunks/{cli-0.1.12-r6f9sy54.mjs → cli-0.1.14-7zz7abpc.mjs} +2 -2
  94. package/dist/chunks/cli-0.1.14-86gckvrm.mjs +2 -0
  95. package/dist/chunks/cli-0.1.14-893g12wf.mjs +2 -0
  96. package/dist/chunks/cli-0.1.14-8fr10t94.mjs +17 -0
  97. package/dist/chunks/{cli-0.1.12-3ywnr2v1.mjs → cli-0.1.14-90zkq8jm.mjs} +2 -2
  98. package/dist/chunks/cli-0.1.14-9b8kspnd.mjs +2 -0
  99. package/dist/chunks/cli-0.1.14-9evp0ewn.mjs +2 -0
  100. package/dist/chunks/cli-0.1.14-9gem156t.mjs +2 -0
  101. package/dist/chunks/{cli-0.1.12-hsw67esw.mjs → cli-0.1.14-9kxzs20h.mjs} +2 -2
  102. package/dist/chunks/{cli-0.1.12-4wwhk7dc.mjs → cli-0.1.14-9vc52dnj.mjs} +2 -2
  103. package/dist/chunks/cli-0.1.14-a15xdexp.mjs +12 -0
  104. package/dist/chunks/cli-0.1.14-a6kwmqhz.mjs +16 -0
  105. package/dist/chunks/{cli-0.1.12-37ga9zc2.mjs → cli-0.1.14-a9ytrehs.mjs} +2 -2
  106. package/dist/chunks/{cli-0.1.12-7ehqw1dk.mjs → cli-0.1.14-ab0rxxvk.mjs} +2 -2
  107. package/dist/chunks/{cli-0.1.12-mr41yjpw.mjs → cli-0.1.14-adz0gnzy.mjs} +2 -2
  108. package/dist/chunks/{cli-0.1.12-ktpqrbjc.mjs → cli-0.1.14-aky5tegx.mjs} +2 -2
  109. package/dist/chunks/{cli-0.1.12-vgbc3g9x.mjs → cli-0.1.14-akz49g5v.mjs} +2 -2
  110. package/dist/chunks/{cli-0.1.12-sgtpyf6y.mjs → cli-0.1.14-as1s0b0t.mjs} +2 -2
  111. package/dist/chunks/cli-0.1.14-as9nq99n.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.12-5exp787z.mjs → cli-0.1.14-ba919tmj.mjs} +2 -2
  113. package/dist/chunks/cli-0.1.14-bat0c779.mjs +2 -0
  114. package/dist/chunks/{cli-0.1.12-v0510w04.mjs → cli-0.1.14-bgqm4vsk.mjs} +2 -2
  115. package/dist/chunks/{cli-0.1.12-756ngehz.mjs → cli-0.1.14-c0bv9eha.mjs} +2 -2
  116. package/dist/chunks/{cli-0.1.12-f0x1y6nn.mjs → cli-0.1.14-c4v2kfdn.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.12-xekep4qg.mjs → cli-0.1.14-canpypsb.mjs} +2 -2
  118. package/dist/chunks/{cli-0.1.12-g3ycbjxk.mjs → cli-0.1.14-cdby401e.mjs} +2 -2
  119. package/dist/chunks/cli-0.1.14-ch9c9c38.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.12-nv2m8kgk.mjs → cli-0.1.14-ckjcet41.mjs} +2 -2
  121. package/dist/chunks/{cli-0.1.12-c23pyffx.mjs → cli-0.1.14-cp2pada5.mjs} +2 -2
  122. package/dist/chunks/cli-0.1.14-d1edbjh4.mjs +25 -0
  123. package/dist/chunks/{cli-0.1.12-z8eybrhz.mjs → cli-0.1.14-d483gd53.mjs} +2 -2
  124. package/dist/chunks/{cli-0.1.12-d8m01qtm.mjs → cli-0.1.14-d4zkffre.mjs} +2 -2
  125. package/dist/chunks/{cli-0.1.12-ps94e9y5.mjs → cli-0.1.14-dcgxqsyp.mjs} +2 -2
  126. package/dist/chunks/cli-0.1.14-dntkrp1j.mjs +134 -0
  127. package/dist/chunks/cli-0.1.14-dq7jkw1n.mjs +2 -0
  128. package/dist/chunks/cli-0.1.14-dqads3y3.mjs +2 -0
  129. package/dist/chunks/{cli-0.1.12-8znn9f50.mjs → cli-0.1.14-dt11hwkv.mjs} +2 -2
  130. package/dist/chunks/{cli-0.1.12-kys514qx.mjs → cli-0.1.14-dw74ppax.mjs} +2 -2
  131. package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +2 -0
  132. package/dist/chunks/cli-0.1.14-e40hm9sd.mjs +2 -0
  133. package/dist/chunks/{cli-0.1.12-2zqgfhrb.mjs → cli-0.1.14-edjtfw4q.mjs} +2 -2
  134. package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +2 -0
  135. package/dist/chunks/cli-0.1.14-eq0gbnpg.mjs +2 -0
  136. package/dist/chunks/cli-0.1.14-et8yewbf.mjs +2 -0
  137. package/dist/chunks/cli-0.1.14-fdpfr31f.mjs +2 -0
  138. package/dist/chunks/{cli-0.1.12-mwp84gtr.mjs → cli-0.1.14-fhfj87ej.mjs} +2 -2
  139. package/dist/chunks/{cli-0.1.12-zs5rpqmb.mjs → cli-0.1.14-fmgz6tx2.mjs} +3 -3
  140. package/dist/chunks/{cli-0.1.12-ds2mn8zn.mjs → cli-0.1.14-fmmxw3gj.mjs} +2 -2
  141. package/dist/chunks/{cli-0.1.12-5ye0t0xd.mjs → cli-0.1.14-fspxpmh7.mjs} +2 -2
  142. package/dist/chunks/{cli-0.1.12-h0d833vg.mjs → cli-0.1.14-ftjxb57b.mjs} +4 -4
  143. package/dist/chunks/{cli-0.1.12-wdmxm11z.mjs → cli-0.1.14-g5q2xqp3.mjs} +2 -2
  144. package/dist/chunks/cli-0.1.14-gdm27acz.mjs +2 -0
  145. package/dist/chunks/{cli-0.1.12-ytxphavm.mjs → cli-0.1.14-harz1d9d.mjs} +2 -2
  146. package/dist/chunks/{cli-0.1.12-qn20n18h.mjs → cli-0.1.14-heevc19y.mjs} +5 -5
  147. package/dist/chunks/{cli-0.1.12-04jw23rj.mjs → cli-0.1.14-hjktwgtk.mjs} +2 -2
  148. package/dist/chunks/cli-0.1.14-hkaqyhx1.mjs +2 -0
  149. package/dist/chunks/{cli-0.1.12-4syxz3pe.mjs → cli-0.1.14-hvfg45y0.mjs} +2 -2
  150. package/dist/chunks/{cli-0.1.12-04v3yab2.mjs → cli-0.1.14-hxvzvfr2.mjs} +3 -3
  151. package/dist/chunks/cli-0.1.14-j5sbzwhy.mjs +5045 -0
  152. package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +2 -0
  153. package/dist/chunks/{cli-0.1.12-m6jeef2z.mjs → cli-0.1.14-jbn4ywda.mjs} +2 -2
  154. package/dist/chunks/{cli-0.1.12-7xsa2bcp.mjs → cli-0.1.14-jf8019sb.mjs} +2 -2
  155. package/dist/chunks/cli-0.1.14-jnfs73kb.mjs +2 -0
  156. package/dist/chunks/{cli-0.1.12-4qedbzt3.mjs → cli-0.1.14-jpe9sxch.mjs} +2 -2
  157. package/dist/chunks/{cli-0.1.12-7mjpbm22.mjs → cli-0.1.14-k8nwm06m.mjs} +2 -2
  158. package/dist/chunks/{cli-0.1.12-j6hwb68p.mjs → cli-0.1.14-k9jcmxtd.mjs} +2 -2
  159. package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +2 -0
  160. package/dist/chunks/cli-0.1.14-kcrsww4s.mjs +2 -0
  161. package/dist/chunks/{cli-0.1.12-bh7jp3zk.mjs → cli-0.1.14-khtq9cgy.mjs} +2 -2
  162. package/dist/chunks/{cli-0.1.12-j6gjfwh5.mjs → cli-0.1.14-kmsvd61a.mjs} +2 -2
  163. package/dist/chunks/{cli-0.1.12-zk49aaxv.mjs → cli-0.1.14-kn1f2x94.mjs} +2 -2
  164. package/dist/chunks/cli-0.1.14-kpsh76mj.mjs +2 -0
  165. package/dist/chunks/{cli-0.1.12-34gqc6yf.mjs → cli-0.1.14-kt6sq4nr.mjs} +2 -2
  166. package/dist/chunks/{cli-0.1.12-w0qbr98a.mjs → cli-0.1.14-ktz3cgwa.mjs} +2 -2
  167. package/dist/chunks/{cli-0.1.12-y04asmqh.mjs → cli-0.1.14-kv650aha.mjs} +2 -2
  168. package/dist/chunks/{cli-0.1.12-024a8zz7.mjs → cli-0.1.14-m75ce5ve.mjs} +2 -2
  169. package/dist/chunks/cli-0.1.14-m7khgn2k.mjs +2 -0
  170. package/dist/chunks/{cli-0.1.12-fqpxr3qb.mjs → cli-0.1.14-m7xchegb.mjs} +2 -2
  171. package/dist/chunks/{cli-0.1.12-bhxgr018.mjs → cli-0.1.14-mgcmwvcn.mjs} +2 -2
  172. package/dist/chunks/{cli-0.1.12-238c85zt.mjs → cli-0.1.14-mngn74ga.mjs} +2 -2
  173. package/dist/chunks/cli-0.1.14-mx9yse7m.mjs +2 -0
  174. package/dist/chunks/{cli-0.1.12-ng34ay3g.mjs → cli-0.1.14-nbvvdkk2.mjs} +1 -1
  175. package/dist/chunks/{cli-0.1.12-830kqdpq.mjs → cli-0.1.14-nkza93de.mjs} +2 -2
  176. package/dist/chunks/cli-0.1.14-nmmtd1d6.mjs +2 -0
  177. package/dist/chunks/cli-0.1.14-nnr43nyg.mjs +2 -0
  178. package/dist/chunks/{cli-0.1.12-xj3mv67x.mjs → cli-0.1.14-nprcbhwn.mjs} +2 -2
  179. package/dist/chunks/{cli-0.1.12-86nmrm6g.mjs → cli-0.1.14-ntq8w1ss.mjs} +2 -2
  180. package/dist/chunks/{cli-0.1.12-73k5qd97.mjs → cli-0.1.14-nxphqjb4.mjs} +7 -10
  181. package/dist/chunks/{cli-0.1.12-8qvgy8xr.mjs → cli-0.1.14-nzsj259d.mjs} +2 -2
  182. package/dist/chunks/cli-0.1.14-qe5zyvfh.mjs +2 -0
  183. package/dist/chunks/{cli-0.1.12-1hv04bp7.mjs → cli-0.1.14-qn4ftczz.mjs} +1 -1
  184. package/dist/chunks/{cli-0.1.12-4sh0f4y1.mjs → cli-0.1.14-qyx55m6c.mjs} +2 -2
  185. package/dist/chunks/cli-0.1.14-qzcceap6.mjs +20 -0
  186. package/dist/chunks/{cli-0.1.12-s0cwq66w.mjs → cli-0.1.14-r00mjm41.mjs} +2 -2
  187. package/dist/chunks/cli-0.1.14-r46jh9af.mjs +2 -0
  188. package/dist/chunks/{cli-0.1.12-c28bme4j.mjs → cli-0.1.14-r5qyt63x.mjs} +2 -2
  189. package/dist/chunks/{cli-0.1.12-erggrdth.mjs → cli-0.1.14-rc5yd94n.mjs} +3 -3
  190. package/dist/chunks/{cli-0.1.12-cxn1ke77.mjs → cli-0.1.14-rtstk94r.mjs} +2 -2
  191. package/dist/chunks/{cli-0.1.12-ra3sby5b.mjs → cli-0.1.14-s9m1y93w.mjs} +2 -2
  192. package/dist/chunks/cli-0.1.14-sb7dm65b.mjs +2 -0
  193. package/dist/chunks/{cli-0.1.12-bddm1g1s.mjs → cli-0.1.14-seq2fm2d.mjs} +2 -2
  194. package/dist/chunks/cli-0.1.14-sn1rf71y.mjs +2 -0
  195. package/dist/chunks/{cli-0.1.12-rwzav5h1.mjs → cli-0.1.14-stv1d0q3.mjs} +2 -2
  196. package/dist/chunks/cli-0.1.14-svqkx41a.mjs +2 -0
  197. package/dist/chunks/cli-0.1.14-t3fga5je.mjs +2 -0
  198. package/dist/chunks/{cli-0.1.12-a5h71tt8.mjs → cli-0.1.14-ta3w93yb.mjs} +2 -2
  199. package/dist/chunks/{cli-0.1.12-t8712dbc.mjs → cli-0.1.14-tkb5t0xv.mjs} +2 -2
  200. package/dist/chunks/{cli-0.1.12-7da43cy1.mjs → cli-0.1.14-tqexnkmz.mjs} +2 -2
  201. package/dist/chunks/{cli-0.1.12-41zq3gv6.mjs → cli-0.1.14-tsth8deg.mjs} +1 -1
  202. package/dist/chunks/cli-0.1.14-tyv29sz9.mjs +2 -0
  203. package/dist/chunks/cli-0.1.14-v2acyy7r.mjs +4 -0
  204. package/dist/chunks/{cli-0.1.12-9gs0g8yb.mjs → cli-0.1.14-v9q1cxjy.mjs} +2 -2
  205. package/dist/chunks/{cli-0.1.12-c47ape20.mjs → cli-0.1.14-vp1kn532.mjs} +2 -2
  206. package/dist/chunks/cli-0.1.14-w3rwfr1d.mjs +2 -0
  207. package/dist/chunks/{cli-0.1.12-tyt09z73.mjs → cli-0.1.14-w6nzk5dc.mjs} +2 -2
  208. package/dist/chunks/cli-0.1.14-w8efvbh6.mjs +2 -0
  209. package/dist/chunks/{cli-0.1.12-awb2yac7.mjs → cli-0.1.14-we6s7jfg.mjs} +2 -2
  210. package/dist/chunks/{cli-0.1.12-bjzb0sjt.mjs → cli-0.1.14-wgatq2fj.mjs} +2 -2
  211. package/dist/chunks/{cli-0.1.12-k2164g7e.mjs → cli-0.1.14-whe4bxfr.mjs} +2 -2
  212. package/dist/chunks/cli-0.1.14-wwehdfwx.mjs +9 -0
  213. package/dist/chunks/{cli-0.1.12-0xzdygm2.mjs → cli-0.1.14-wymtdw5f.mjs} +2 -2
  214. package/dist/chunks/{cli-0.1.12-actnmgw5.mjs → cli-0.1.14-wz5yr49j.mjs} +2 -2
  215. package/dist/chunks/{cli-0.1.12-a2frnpdd.mjs → cli-0.1.14-x88ypr2r.mjs} +2 -2
  216. package/dist/chunks/cli-0.1.14-xp6rc33g.mjs +2 -0
  217. package/dist/chunks/{cli-0.1.12-6ddq5n4e.mjs → cli-0.1.14-y2wxptpk.mjs} +2 -2
  218. package/dist/chunks/cli-0.1.14-y55hrwdp.mjs +3 -0
  219. package/dist/chunks/{cli-0.1.12-wcdh3m4s.mjs → cli-0.1.14-y56629hj.mjs} +2 -2
  220. package/dist/chunks/{cli-0.1.12-g728hcdr.mjs → cli-0.1.14-yagh75p5.mjs} +2 -2
  221. package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +2 -0
  222. package/dist/chunks/cli-0.1.14-yfc7weqn.mjs +821 -0
  223. package/dist/chunks/{cli-0.1.12-qrx9nssg.mjs → cli-0.1.14-yphht6rx.mjs} +2 -2
  224. package/dist/chunks/{cli-0.1.12-kzd4y6yq.mjs → cli-0.1.14-yxce1bdc.mjs} +2 -2
  225. package/dist/chunks/cli-0.1.14-yxq1tr3a.mjs +2 -0
  226. package/dist/chunks/{cli-0.1.12-5pw10pf8.mjs → cli-0.1.14-z0ckw2hb.mjs} +2 -2
  227. package/dist/chunks/cli-0.1.14-z8j2n955.mjs +2 -0
  228. package/dist/chunks/{cli-0.1.12-2fajd44n.mjs → cli-0.1.14-zjqt3r89.mjs} +2 -2
  229. package/dist/chunks/{cli-0.1.12-af1r644n.mjs → cli-0.1.14-zq66y0mv.mjs} +2 -2
  230. package/dist/chunks/cli-0.1.14-zrmretjp.mjs +4 -0
  231. package/dist/chunks/cli-0.1.14-zs4vmj7z.mjs +4 -0
  232. package/dist/chunks/client-0.1.14-3t6sfwha.mjs +1 -0
  233. package/dist/chunks/color-0.1.14-65rf0ap9.mjs +1 -0
  234. package/dist/chunks/compact-0.1.14-mx9ng433.mjs +3 -0
  235. package/dist/chunks/config-0.1.14-1v5v86ax.mjs +1 -0
  236. package/dist/chunks/config-0.1.14-76vavy7t.mjs +1 -0
  237. package/dist/chunks/context-0.1.14-hyykwj83.mjs +1 -0
  238. package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +1 -0
  239. package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +1 -0
  240. package/dist/chunks/{copy-0.1.12-w6tabpy0.mjs → copy-0.1.14-kp76nh7r.mjs} +1 -1
  241. package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +1 -0
  242. package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +1 -0
  243. package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +1 -0
  244. package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +1 -0
  245. package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +1 -0
  246. package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +1 -0
  247. package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +1 -0
  248. package/dist/chunks/earlyInput-0.1.14-997vtdw4.mjs +1 -0
  249. package/dist/chunks/effort-0.1.14-d9xmff2t.mjs +8 -0
  250. package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +1 -0
  251. package/dist/chunks/environments-0.1.14-7napbg6g.mjs +1 -0
  252. package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +1 -0
  253. package/dist/chunks/export-0.1.14-qpt72paa.mjs +2 -0
  254. package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +1 -0
  255. package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +1 -0
  256. package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +1 -0
  257. package/dist/chunks/feedback-0.1.14-qhk5ek0b.mjs +14 -0
  258. package/dist/chunks/{firstPartyEventLogger-0.1.12-95kzm3md.mjs → firstPartyEventLogger-0.1.14-78y09nr6.mjs} +1 -1
  259. package/dist/chunks/git-0.1.14-zvsa13gk.mjs +1 -0
  260. package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +1 -0
  261. package/dist/chunks/{growthbook-0.1.12-4phnr6b3.mjs → growthbook-0.1.14-dcdeqgyq.mjs} +1 -1
  262. package/dist/chunks/{heapdump-0.1.12-m49qs4r7.mjs → heapdump-0.1.14-tj7w79dt.mjs} +1 -1
  263. package/dist/chunks/help-0.1.14-gk9s0stg.mjs +1 -0
  264. package/dist/chunks/{hookChains-0.1.12-brq8x7f7.mjs → hookChains-0.1.14-wng6tzfd.mjs} +2 -2
  265. package/dist/chunks/hooks-0.1.14-jy9bt7s6.mjs +79 -0
  266. package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +1 -0
  267. package/dist/chunks/{ide-0.1.12-553mazfs.mjs → ide-0.1.14-0ar60k4r.mjs} +1 -1
  268. package/dist/chunks/image-processor-napi-0.1.14-p1r3vkb0.mjs +1 -0
  269. package/dist/chunks/index-0.1.14-071xy8v4.mjs +1 -0
  270. package/dist/chunks/index-0.1.14-1mttyja2.mjs +2 -0
  271. package/dist/chunks/index-0.1.14-272zxs9n.mjs +1 -0
  272. package/dist/chunks/index-0.1.14-2v6wa4p4.mjs +1 -0
  273. package/dist/chunks/{index-0.1.12-3nbh75ta.mjs → index-0.1.14-2x59va64.mjs} +1 -1
  274. package/dist/chunks/index-0.1.14-3m7vrt91.mjs +1 -0
  275. package/dist/chunks/index-0.1.14-4hv4f8g9.mjs +1 -0
  276. package/dist/chunks/index-0.1.14-8v5xwttx.mjs +10 -0
  277. package/dist/chunks/index-0.1.14-ac13h1t1.mjs +1 -0
  278. package/dist/chunks/index-0.1.14-dmbjzapt.mjs +2 -0
  279. package/dist/chunks/index-0.1.14-g5kkm9ng.mjs +1 -0
  280. package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +1 -0
  281. package/dist/chunks/index-0.1.14-hqphn8m5.mjs +5 -0
  282. package/dist/chunks/index-0.1.14-ksa4vdak.mjs +9 -0
  283. package/dist/chunks/index-0.1.14-mzhk0gvs.mjs +1 -0
  284. package/dist/chunks/index-0.1.14-qrykb444.mjs +9 -0
  285. package/dist/chunks/index-0.1.14-qvap58wt.mjs +1 -0
  286. package/dist/chunks/index-0.1.14-vygpnv88.mjs +1 -0
  287. package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +1 -0
  288. package/dist/chunks/{index-0.1.12-rhj8dsvk.mjs → index-0.1.14-y3aj57xa.mjs} +1 -1
  289. package/dist/chunks/index-0.1.14-yjw9017n.mjs +1 -0
  290. package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +1 -0
  291. package/dist/chunks/initReplBridge-0.1.14-qe820gff.mjs +1 -0
  292. package/dist/chunks/ink-0.1.14-kxs7ygns.mjs +1 -0
  293. package/dist/chunks/{insights-0.1.12-93mz1f1d.mjs → insights-0.1.14-9n58d9t8.mjs} +3 -3
  294. package/dist/chunks/install-0.1.14-1zyjez10.mjs +1 -0
  295. package/dist/chunks/{install-github-app-0.1.12-qd8g81v4.mjs → install-github-app-0.1.14-kmetkgdq.mjs} +1 -1
  296. package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +1 -0
  297. package/dist/chunks/instrumentation-0.1.14-fsgk97cp.mjs +12 -0
  298. package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +1 -0
  299. package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +2 -0
  300. package/dist/chunks/knowledge-0.1.14-f7w4damb.mjs +2 -0
  301. package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +1 -0
  302. package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +1 -0
  303. package/dist/chunks/lsp-0.1.14-cks4jevz.mjs +1 -0
  304. package/dist/chunks/main-0.1.14-94wst05h.mjs +1 -0
  305. package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +1 -0
  306. package/dist/chunks/mcp-0.1.14-3tzc0agq.mjs +1 -0
  307. package/dist/chunks/{mcp-0.1.12-vm3tpth6.mjs → mcp-0.1.14-dmtc9tjr.mjs} +3 -3
  308. package/dist/chunks/mcp-0.1.14-tepbr987.mjs +4 -0
  309. package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +1 -0
  310. package/dist/chunks/mcpb-0.1.14-ffa57420.mjs +1 -0
  311. package/dist/chunks/memory-0.1.14-cgx518q9.mjs +3 -0
  312. package/dist/chunks/{mobile-0.1.12-qdtxwz76.mjs → mobile-0.1.14-bwjnmpy0.mjs} +1 -1
  313. package/dist/chunks/model-0.1.14-rq2dkze7.mjs +2 -0
  314. package/dist/chunks/model-0.1.14-zg566cz0.mjs +1 -0
  315. package/dist/chunks/{oauth-0.1.12-3aky0v8n.mjs → oauth-0.1.14-gftadks2.mjs} +1 -1
  316. package/dist/chunks/{openaiShim-0.1.12-p458t1q6.mjs → openaiShim-0.1.14-jv6416m8.mjs} +2 -2
  317. package/dist/chunks/{output-style-0.1.12-cahkbh9x.mjs → output-style-0.1.14-v41ce6t5.mjs} +1 -1
  318. package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +1 -0
  319. package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +1 -0
  320. package/dist/chunks/passes-0.1.14-0jjh5wg5.mjs +1 -0
  321. package/dist/chunks/permissions-0.1.14-hh0d709r.mjs +3 -0
  322. package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +1 -0
  323. package/dist/chunks/plist-0.1.14-ssqtjjq9.mjs +1 -0
  324. package/dist/chunks/plugin-0.1.14-01jhhdd3.mjs +29 -0
  325. package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +1 -0
  326. package/dist/chunks/{plugins-0.1.12-sm87b8fm.mjs → plugins-0.1.14-4tggkexv.mjs} +2 -2
  327. package/dist/chunks/{print-0.1.12-8mgqmx4k.mjs → print-0.1.14-m719w2yp.mjs} +10 -10
  328. package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +1 -0
  329. package/dist/chunks/{process-0.1.12-t401v84c.mjs → process-0.1.14-vgdgd7sq.mjs} +1 -1
  330. package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +1 -0
  331. package/dist/chunks/processSlashCommand-0.1.14-7w1v93bg.mjs +9 -0
  332. package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +1 -0
  333. package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +1 -0
  334. package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +1 -0
  335. package/dist/chunks/provider-0.1.14-xs34vy3w.mjs +2 -0
  336. package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +1 -0
  337. package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +1 -0
  338. package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +1 -0
  339. package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +5 -0
  340. package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +2 -0
  341. package/dist/chunks/remote-env-0.1.14-jyc0gkhb.mjs +1 -0
  342. package/dist/chunks/remoteBridgeCore-0.1.14-8kt4ffzy.mjs +1 -0
  343. package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +1 -0
  344. package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +1 -0
  345. package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +1 -0
  346. package/dist/chunks/resume-0.1.14-7sda36n0.mjs +2 -0
  347. package/dist/chunks/{rewind-0.1.12-707se5pz.mjs → rewind-0.1.14-zba66at0.mjs} +1 -1
  348. package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +1 -0
  349. package/dist/chunks/sandbox-toggle-0.1.14-jz6x02qp.mjs +1 -0
  350. package/dist/chunks/session-0.1.14-5qsfxmey.mjs +2 -0
  351. package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +1 -0
  352. package/dist/chunks/sessionStorage-0.1.14-sz2medpp.mjs +1 -0
  353. package/dist/chunks/setup-0.1.14-f13rnmdg.mjs +5 -0
  354. package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +1 -0
  355. package/dist/chunks/skills-0.1.14-1vvr60ph.mjs +1 -0
  356. package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +1 -0
  357. package/dist/chunks/state-0.1.14-rj00ry6n.mjs +1 -0
  358. package/dist/chunks/{stats-0.1.12-5pj1c6sr.mjs → stats-0.1.14-rr3tpwqw.mjs} +1 -1
  359. package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +1 -0
  360. package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +1 -0
  361. package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +1 -0
  362. package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +1 -0
  363. package/dist/chunks/teamHelpers-0.1.14-zv908fgk.mjs +1 -0
  364. package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +1 -0
  365. package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +1 -0
  366. package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +1 -0
  367. package/dist/chunks/theme-0.1.14-202es8wd.mjs +1 -0
  368. package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +1 -0
  369. package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +1 -0
  370. package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +1 -0
  371. package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +1 -0
  372. package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +1 -0
  373. package/dist/chunks/{turndown.cjs-0.1.12-9525v010.mjs → turndown.cjs-0.1.14-nw2rtcyd.mjs} +1 -1
  374. package/dist/chunks/{ultrareviewCommand-0.1.12-d5c4096k.mjs → ultrareviewCommand-0.1.14-9twnt5bp.mjs} +1 -1
  375. package/dist/chunks/{update-0.1.12-hwx0e6fq.mjs → update-0.1.14-9dhep94r.mjs} +11 -11
  376. package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +1 -0
  377. package/dist/chunks/{upstreamproxy-0.1.12-yhnqfcyb.mjs → upstreamproxy-0.1.14-sc0x4n7b.mjs} +1 -1
  378. package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +1 -0
  379. package/dist/chunks/util-0.1.14-vfg50acy.mjs +1 -0
  380. package/dist/chunks/utils-0.1.14-heqqycdx.mjs +1 -0
  381. package/dist/chunks/vim-0.1.14-z71303w7.mjs +1 -0
  382. package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +1 -0
  383. package/dist/chunks/{wiki-0.1.12-vecp82xq.mjs → wiki-0.1.14-s3exyf45.mjs} +1 -1
  384. package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +1 -0
  385. package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +1 -0
  386. package/dist/chunks/{wrapper-0.1.12-bpewypaz.mjs → wrapper-0.1.14-a4mesaeh.mjs} +1 -1
  387. package/dist/claudio-vscode.vsix +0 -0
  388. package/dist/cli.mjs +5 -5
  389. package/package.json +2 -19
  390. package/dist/chunks/AgentTool-0.1.12-kgypyeny.mjs +0 -1
  391. package/dist/chunks/App-0.1.12-t1g68ag4.mjs +0 -1
  392. package/dist/chunks/ApproveApiKey-0.1.12-zpw36mzg.mjs +0 -1
  393. package/dist/chunks/AutoModeOptInDialog-0.1.12-fgvj28kh.mjs +0 -1
  394. package/dist/chunks/BypassPermissionsModeDialog-0.1.12-y1vnt631.mjs +0 -1
  395. package/dist/chunks/ClaudeInChromeOnboarding-0.1.12-n4az8bcp.mjs +0 -1
  396. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.12-j7w4pe1r.mjs +0 -1
  397. package/dist/chunks/ConsoleOAuthFlow-0.1.12-57crf0yg.mjs +0 -1
  398. package/dist/chunks/Doctor-0.1.12-52dk0t0z.mjs +0 -1
  399. package/dist/chunks/Grove-0.1.12-m9r696vw.mjs +0 -1
  400. package/dist/chunks/ITermBackend-0.1.12-85zqw000.mjs +0 -1
  401. package/dist/chunks/InvalidConfigDialog-0.1.12-9w4z4d73.mjs +0 -1
  402. package/dist/chunks/InvalidSettingsDialog-0.1.12-j1jmd6jg.mjs +0 -1
  403. package/dist/chunks/MigrationDialog-0.1.12-n5zwn0kh.mjs +0 -1
  404. package/dist/chunks/Onboarding-0.1.12-tc4trc3y.mjs +0 -1
  405. package/dist/chunks/ProviderManager-0.1.12-01epdnc3.mjs +0 -1
  406. package/dist/chunks/REPL-0.1.12-4750qvss.mjs +0 -1
  407. package/dist/chunks/ResumeConversation-0.1.12-sn3hxnfq.mjs +0 -1
  408. package/dist/chunks/TeleportProgress-0.1.12-p5spc4b6.mjs +0 -1
  409. package/dist/chunks/TeleportRepoMismatchDialog-0.1.12-562cbm4h.mjs +0 -1
  410. package/dist/chunks/TeleportResumeWrapper-0.1.12-w2rds1kj.mjs +0 -1
  411. package/dist/chunks/TmuxBackend-0.1.12-02kj3wef.mjs +0 -9
  412. package/dist/chunks/ToolSearchTool-0.1.12-qesye0kj.mjs +0 -1
  413. package/dist/chunks/TrustDialog-0.1.12-gr62n6f8.mjs +0 -1
  414. package/dist/chunks/activeProvider-0.1.12-dnn18th9.mjs +0 -1
  415. package/dist/chunks/add-dir-0.1.12-he4qjfr7.mjs +0 -1
  416. package/dist/chunks/agents-0.1.12-1dz073e3.mjs +0 -3
  417. package/dist/chunks/api-0.1.12-e314x4g9.mjs +0 -1
  418. package/dist/chunks/assistant-0.1.12-x4e2qcyw.mjs +0 -1
  419. package/dist/chunks/auth-0.1.12-9xrz11cs.mjs +0 -1
  420. package/dist/chunks/backgroundHousekeeping-0.1.12-z7jhyx9z.mjs +0 -1
  421. package/dist/chunks/branch-0.1.12-e2jz4k8j.mjs +0 -4
  422. package/dist/chunks/btw-0.1.12-k5gxnrq8.mjs +0 -1
  423. package/dist/chunks/cacache-0.1.12-mtaw8981.mjs +0 -1
  424. package/dist/chunks/caches-0.1.12-jvzzcs09.mjs +0 -1
  425. package/dist/chunks/chrome-0.1.12-6qypq8nj.mjs +0 -1
  426. package/dist/chunks/chromeNativeHost-0.1.12-7e2jv2nr.mjs +0 -2
  427. package/dist/chunks/claude-for-chrome-mcp-0.1.12-2q97mema.mjs +0 -1
  428. package/dist/chunks/claudemd-0.1.12-dnz21tgs.mjs +0 -1
  429. package/dist/chunks/clear-0.1.12-cq6vnm92.mjs +0 -1
  430. package/dist/chunks/clearTerminal-0.1.12-pzt74jz3.mjs +0 -1
  431. package/dist/chunks/cli-0.1.12-0x3cd401.mjs +0 -2
  432. package/dist/chunks/cli-0.1.12-19as1myk.mjs +0 -2
  433. package/dist/chunks/cli-0.1.12-1cn8b1tj.mjs +0 -2
  434. package/dist/chunks/cli-0.1.12-242der7s.mjs +0 -5036
  435. package/dist/chunks/cli-0.1.12-2f2v27e3.mjs +0 -2
  436. package/dist/chunks/cli-0.1.12-2sqxe53a.mjs +0 -2
  437. package/dist/chunks/cli-0.1.12-2v18rdhk.mjs +0 -2
  438. package/dist/chunks/cli-0.1.12-2yy1nw3s.mjs +0 -2
  439. package/dist/chunks/cli-0.1.12-37ezy1qg.mjs +0 -2
  440. package/dist/chunks/cli-0.1.12-3d2xpvk2.mjs +0 -2
  441. package/dist/chunks/cli-0.1.12-4gj8p030.mjs +0 -22
  442. package/dist/chunks/cli-0.1.12-4tanq0qc.mjs +0 -2
  443. package/dist/chunks/cli-0.1.12-4ys47rex.mjs +0 -2
  444. package/dist/chunks/cli-0.1.12-52dbx2x6.mjs +0 -4
  445. package/dist/chunks/cli-0.1.12-5b3j1c9c.mjs +0 -2
  446. package/dist/chunks/cli-0.1.12-5k9mfnz0.mjs +0 -2
  447. package/dist/chunks/cli-0.1.12-5p9g1vcm.mjs +0 -2
  448. package/dist/chunks/cli-0.1.12-5qhkbp8w.mjs +0 -2
  449. package/dist/chunks/cli-0.1.12-6e4e36bv.mjs +0 -16
  450. package/dist/chunks/cli-0.1.12-6rjh20wh.mjs +0 -2
  451. package/dist/chunks/cli-0.1.12-6x2mnahn.mjs +0 -2
  452. package/dist/chunks/cli-0.1.12-6zryzryc.mjs +0 -2
  453. package/dist/chunks/cli-0.1.12-74tt2500.mjs +0 -2
  454. package/dist/chunks/cli-0.1.12-7v8dtyx8.mjs +0 -2
  455. package/dist/chunks/cli-0.1.12-817sd5bc.mjs +0 -6
  456. package/dist/chunks/cli-0.1.12-8qm558mj.mjs +0 -2
  457. package/dist/chunks/cli-0.1.12-8tdckdxp.mjs +0 -2
  458. package/dist/chunks/cli-0.1.12-9dvxchv3.mjs +0 -2
  459. package/dist/chunks/cli-0.1.12-b01yrner.mjs +0 -2
  460. package/dist/chunks/cli-0.1.12-baxk5jyy.mjs +0 -4
  461. package/dist/chunks/cli-0.1.12-bmtahtv7.mjs +0 -2
  462. package/dist/chunks/cli-0.1.12-bnn1nrwd.mjs +0 -2
  463. package/dist/chunks/cli-0.1.12-bnss4rxn.mjs +0 -833
  464. package/dist/chunks/cli-0.1.12-c8d9vr4b.mjs +0 -2
  465. package/dist/chunks/cli-0.1.12-dc4e6688.mjs +0 -2
  466. package/dist/chunks/cli-0.1.12-dqynn0at.mjs +0 -2
  467. package/dist/chunks/cli-0.1.12-dtba3gm9.mjs +0 -8
  468. package/dist/chunks/cli-0.1.12-e262snmb.mjs +0 -3
  469. package/dist/chunks/cli-0.1.12-e4zeaahk.mjs +0 -2
  470. package/dist/chunks/cli-0.1.12-fx0zg3d9.mjs +0 -2
  471. package/dist/chunks/cli-0.1.12-g1yp7kdf.mjs +0 -2
  472. package/dist/chunks/cli-0.1.12-g4sdgt8h.mjs +0 -2
  473. package/dist/chunks/cli-0.1.12-g604mknq.mjs +0 -2
  474. package/dist/chunks/cli-0.1.12-g8mny195.mjs +0 -2
  475. package/dist/chunks/cli-0.1.12-h248m986.mjs +0 -2
  476. package/dist/chunks/cli-0.1.12-hfmv72b6.mjs +0 -2
  477. package/dist/chunks/cli-0.1.12-jjza3gz9.mjs +0 -2
  478. package/dist/chunks/cli-0.1.12-kea0zcje.mjs +0 -2
  479. package/dist/chunks/cli-0.1.12-kg8gb6e3.mjs +0 -2
  480. package/dist/chunks/cli-0.1.12-kwc7ew38.mjs +0 -2
  481. package/dist/chunks/cli-0.1.12-m3q5r7wd.mjs +0 -2
  482. package/dist/chunks/cli-0.1.12-mevh0dza.mjs +0 -2
  483. package/dist/chunks/cli-0.1.12-nfvtmt75.mjs +0 -2
  484. package/dist/chunks/cli-0.1.12-nnyca8nb.mjs +0 -2
  485. package/dist/chunks/cli-0.1.12-p5w2kms9.mjs +0 -4
  486. package/dist/chunks/cli-0.1.12-pm5cwtxh.mjs +0 -2
  487. package/dist/chunks/cli-0.1.12-pnh4t8c3.mjs +0 -2
  488. package/dist/chunks/cli-0.1.12-q1nn9teh.mjs +0 -3
  489. package/dist/chunks/cli-0.1.12-q8k1zvhb.mjs +0 -2
  490. package/dist/chunks/cli-0.1.12-qf1kw5cr.mjs +0 -2
  491. package/dist/chunks/cli-0.1.12-rqedb88a.mjs +0 -10
  492. package/dist/chunks/cli-0.1.12-rtft4mrx.mjs +0 -4
  493. package/dist/chunks/cli-0.1.12-ryycx3v6.mjs +0 -2
  494. package/dist/chunks/cli-0.1.12-sd72y750.mjs +0 -12
  495. package/dist/chunks/cli-0.1.12-strz382t.mjs +0 -2
  496. package/dist/chunks/cli-0.1.12-sxxpysy8.mjs +0 -2
  497. package/dist/chunks/cli-0.1.12-tadj1p4y.mjs +0 -2
  498. package/dist/chunks/cli-0.1.12-tae7cd7e.mjs +0 -2
  499. package/dist/chunks/cli-0.1.12-taqfqnag.mjs +0 -4
  500. package/dist/chunks/cli-0.1.12-v79j5ced.mjs +0 -2
  501. package/dist/chunks/cli-0.1.12-vpnp7x5c.mjs +0 -100
  502. package/dist/chunks/cli-0.1.12-vwcas8f6.mjs +0 -2
  503. package/dist/chunks/cli-0.1.12-wfbfq2mm.mjs +0 -3
  504. package/dist/chunks/cli-0.1.12-wwnkrzck.mjs +0 -134
  505. package/dist/chunks/cli-0.1.12-xanhpra7.mjs +0 -2
  506. package/dist/chunks/cli-0.1.12-xcxjv6qd.mjs +0 -2
  507. package/dist/chunks/cli-0.1.12-xfqkrd5x.mjs +0 -2
  508. package/dist/chunks/cli-0.1.12-y0fb5j7x.mjs +0 -2
  509. package/dist/chunks/cli-0.1.12-y9598sy3.mjs +0 -16
  510. package/dist/chunks/cli-0.1.12-ybm1kvwy.mjs +0 -4
  511. package/dist/chunks/cli-0.1.12-zwyec6tj.mjs +0 -2
  512. package/dist/chunks/client-0.1.12-f54egbjx.mjs +0 -1
  513. package/dist/chunks/color-0.1.12-jss6svg8.mjs +0 -1
  514. package/dist/chunks/compact-0.1.12-9b9fsqs5.mjs +0 -3
  515. package/dist/chunks/config-0.1.12-1pyte6wv.mjs +0 -1
  516. package/dist/chunks/config-0.1.12-ryxz4stj.mjs +0 -1
  517. package/dist/chunks/context-0.1.12-mnwn2xss.mjs +0 -1
  518. package/dist/chunks/context-noninteractive-0.1.12-qhe1aprp.mjs +0 -1
  519. package/dist/chunks/conversation-0.1.12-7pvwtwdn.mjs +0 -1
  520. package/dist/chunks/cost-0.1.12-3ca0tbv9.mjs +0 -1
  521. package/dist/chunks/createSession-0.1.12-117q0efg.mjs +0 -1
  522. package/dist/chunks/desktop-0.1.12-3t2jc3mt.mjs +0 -1
  523. package/dist/chunks/detectRepository-0.1.12-sd9276rx.mjs +0 -1
  524. package/dist/chunks/detection-0.1.12-c0tecfvg.mjs +0 -1
  525. package/dist/chunks/diff-0.1.12-2ck0qzp6.mjs +0 -1
  526. package/dist/chunks/doctor-0.1.12-rb6t847g.mjs +0 -1
  527. package/dist/chunks/earlyInput-0.1.12-b94g75cb.mjs +0 -1
  528. package/dist/chunks/effort-0.1.12-jxkp3wwf.mjs +0 -8
  529. package/dist/chunks/environmentSelection-0.1.12-z9knjbv1.mjs +0 -1
  530. package/dist/chunks/environments-0.1.12-m9v7hag6.mjs +0 -1
  531. package/dist/chunks/exit-0.1.12-0fzdjpbr.mjs +0 -1
  532. package/dist/chunks/export-0.1.12-s6ag6jke.mjs +0 -2
  533. package/dist/chunks/extra-usage-0.1.12-x8gd0q32.mjs +0 -1
  534. package/dist/chunks/extra-usage-noninteractive-0.1.12-pfgq5r6b.mjs +0 -1
  535. package/dist/chunks/fast-0.1.12-9x69m50c.mjs +0 -1
  536. package/dist/chunks/feedback-0.1.12-d1j49tb4.mjs +0 -14
  537. package/dist/chunks/git-0.1.12-7fyh5fhk.mjs +0 -1
  538. package/dist/chunks/githubModelsCredentials-0.1.12-6em81h7g.mjs +0 -1
  539. package/dist/chunks/help-0.1.12-f02ce11x.mjs +0 -1
  540. package/dist/chunks/hooks-0.1.12-n1f9dp3r.mjs +0 -1
  541. package/dist/chunks/hooks-0.1.12-swtq74gm.mjs +0 -79
  542. package/dist/chunks/image-processor-napi-0.1.12-3mrm0vts.mjs +0 -1
  543. package/dist/chunks/index-0.1.12-218arkqe.mjs +0 -9
  544. package/dist/chunks/index-0.1.12-2ykt90tn.mjs +0 -1
  545. package/dist/chunks/index-0.1.12-34ew4zjx.mjs +0 -1
  546. package/dist/chunks/index-0.1.12-41g5mvtk.mjs +0 -7
  547. package/dist/chunks/index-0.1.12-77szwkm6.mjs +0 -1
  548. package/dist/chunks/index-0.1.12-aeeh5zvp.mjs +0 -1
  549. package/dist/chunks/index-0.1.12-cpv0hf3f.mjs +0 -1
  550. package/dist/chunks/index-0.1.12-d5w1w05d.mjs +0 -1
  551. package/dist/chunks/index-0.1.12-d7j83tkh.mjs +0 -1
  552. package/dist/chunks/index-0.1.12-hvf65cbr.mjs +0 -1
  553. package/dist/chunks/index-0.1.12-m0e193t8.mjs +0 -1
  554. package/dist/chunks/index-0.1.12-nc3z95ph.mjs +0 -5
  555. package/dist/chunks/index-0.1.12-r92p75vh.mjs +0 -1
  556. package/dist/chunks/index-0.1.12-sxh3dwcy.mjs +0 -1
  557. package/dist/chunks/index-0.1.12-sy5zw7vk.mjs +0 -1
  558. package/dist/chunks/index-0.1.12-v53nbtdb.mjs +0 -2
  559. package/dist/chunks/index-0.1.12-vbv1ac2q.mjs +0 -1
  560. package/dist/chunks/index-0.1.12-z0brwe1k.mjs +0 -2
  561. package/dist/chunks/index-0.1.12-zc2ayczg.mjs +0 -1
  562. package/dist/chunks/index-0.1.12-zqrp5tve.mjs +0 -9
  563. package/dist/chunks/initReplBridge-0.1.12-yyn8mbyh.mjs +0 -1
  564. package/dist/chunks/ink-0.1.12-qdefs6hn.mjs +0 -1
  565. package/dist/chunks/install-0.1.12-11xkk6vf.mjs +0 -1
  566. package/dist/chunks/install-slack-app-0.1.12-a44xy1pr.mjs +0 -1
  567. package/dist/chunks/instrumentation-0.1.12-nqv5x6q8.mjs +0 -12
  568. package/dist/chunks/interactiveHelpers-0.1.12-c4xec7dn.mjs +0 -1
  569. package/dist/chunks/keybindings-0.1.12-21jbfvfp.mjs +0 -2
  570. package/dist/chunks/knowledge-0.1.12-1zq0qj6h.mjs +0 -2
  571. package/dist/chunks/loadAgentsDir-0.1.12-1ckjzc8p.mjs +0 -1
  572. package/dist/chunks/loadPluginHooks-0.1.12-85daax4j.mjs +0 -1
  573. package/dist/chunks/logout-0.1.12-n2tbfcz8.mjs +0 -1
  574. package/dist/chunks/lsp-0.1.12-ks84es3y.mjs +0 -1
  575. package/dist/chunks/main-0.1.12-47ck3kj2.mjs +0 -1
  576. package/dist/chunks/managedEnv-0.1.12-vt155n3n.mjs +0 -1
  577. package/dist/chunks/mcp-0.1.12-93a71b1q.mjs +0 -1
  578. package/dist/chunks/mcp-0.1.12-rwfrrttw.mjs +0 -4
  579. package/dist/chunks/mcpServer-0.1.12-zwsas6ss.mjs +0 -1
  580. package/dist/chunks/mcpb-0.1.12-mcbd7ywh.mjs +0 -1
  581. package/dist/chunks/memory-0.1.12-7x2msczw.mjs +0 -3
  582. package/dist/chunks/model-0.1.12-15e9c8j0.mjs +0 -2
  583. package/dist/chunks/model-0.1.12-z2qjscwh.mjs +0 -1
  584. package/dist/chunks/package-HMBVQOZ4-0.1.12-3njzvqd2.mjs +0 -1
  585. package/dist/chunks/parser-0.1.12-jz2xz2kd.mjs +0 -1
  586. package/dist/chunks/passes-0.1.12-7vmawmvq.mjs +0 -1
  587. package/dist/chunks/permissions-0.1.12-dmp58kwy.mjs +0 -3
  588. package/dist/chunks/plan-0.1.12-waed49m8.mjs +0 -1
  589. package/dist/chunks/plist-0.1.12-65r770yt.mjs +0 -1
  590. package/dist/chunks/plugin-0.1.12-j30rqvv5.mjs +0 -29
  591. package/dist/chunks/pluginStartupCheck-0.1.12-5bp08b06.mjs +0 -1
  592. package/dist/chunks/privacy-settings-0.1.12-9drzsgkz.mjs +0 -1
  593. package/dist/chunks/processBashCommand-0.1.12-3s8a2x65.mjs +0 -1
  594. package/dist/chunks/processSlashCommand-0.1.12-m9sh3sjt.mjs +0 -9
  595. package/dist/chunks/prompt-0.1.12-786vk11a.mjs +0 -1
  596. package/dist/chunks/prompt-0.1.12-fg4npvax.mjs +0 -1
  597. package/dist/chunks/prompts-0.1.12-h3xd9wvy.mjs +0 -1
  598. package/dist/chunks/provider-0.1.12-wrfpbx8a.mjs +0 -2
  599. package/dist/chunks/providerProfiles-0.1.12-3fp9n85w.mjs +0 -1
  600. package/dist/chunks/rate-limit-options-0.1.12-dx2886b6.mjs +0 -1
  601. package/dist/chunks/registry-0.1.12-btwd6z61.mjs +0 -1
  602. package/dist/chunks/release-notes-0.1.12-dwzs8z2c.mjs +0 -5
  603. package/dist/chunks/reload-plugins-0.1.12-ec88j31s.mjs +0 -2
  604. package/dist/chunks/remote-env-0.1.12-w15618dm.mjs +0 -1
  605. package/dist/chunks/remoteBridgeCore-0.1.12-c0y46zw8.mjs +0 -1
  606. package/dist/chunks/remoteSession-0.1.12-npxn0mje.mjs +0 -1
  607. package/dist/chunks/rename-0.1.12-sbes9wm3.mjs +0 -1
  608. package/dist/chunks/replBridgeHandle-0.1.12-2jqj7bby.mjs +0 -1
  609. package/dist/chunks/resume-0.1.12-9vpmw2hg.mjs +0 -2
  610. package/dist/chunks/sandbox-adapter-0.1.12-htfmfp9m.mjs +0 -1
  611. package/dist/chunks/sandbox-toggle-0.1.12-qq2yf1ta.mjs +0 -1
  612. package/dist/chunks/session-0.1.12-2xgt0x74.mjs +0 -2
  613. package/dist/chunks/sessionFileAccessHooks-0.1.12-xpxt6bqs.mjs +0 -1
  614. package/dist/chunks/sessionStorage-0.1.12-7s6eezdt.mjs +0 -1
  615. package/dist/chunks/setup-0.1.12-2kjx6mnf.mjs +0 -5
  616. package/dist/chunks/sinks-0.1.12-qvx26vtt.mjs +0 -1
  617. package/dist/chunks/skills-0.1.12-sh637gsv.mjs +0 -1
  618. package/dist/chunks/startupProfiler-0.1.12-n3fce9wg.mjs +0 -1
  619. package/dist/chunks/state-0.1.12-e374v6h8.mjs +0 -1
  620. package/dist/chunks/status-0.1.12-qphx08h4.mjs +0 -1
  621. package/dist/chunks/stickers-0.1.12-dksexsqf.mjs +0 -1
  622. package/dist/chunks/subprocessEnv-0.1.12-sbpfvs29.mjs +0 -1
  623. package/dist/chunks/tasks-0.1.12-268nn2c6.mjs +0 -1
  624. package/dist/chunks/teamHelpers-0.1.12-3trvxmmz.mjs +0 -1
  625. package/dist/chunks/teammateModeSnapshot-0.1.12-28s4rsx4.mjs +0 -1
  626. package/dist/chunks/teleport-0.1.12-zz9z0w99.mjs +0 -1
  627. package/dist/chunks/terminalSetup-0.1.12-xf61sxh6.mjs +0 -1
  628. package/dist/chunks/theme-0.1.12-3rgm5yr1.mjs +0 -1
  629. package/dist/chunks/thinkback-0.1.12-sf0y9d2d.mjs +0 -1
  630. package/dist/chunks/thinkback-play-0.1.12-vyyv42tm.mjs +0 -1
  631. package/dist/chunks/toolPool-0.1.12-tyqns5jv.mjs +0 -1
  632. package/dist/chunks/toolSearch-0.1.12-k91edc7b.mjs +0 -1
  633. package/dist/chunks/trustedDevice-0.1.12-w1scr51x.mjs +0 -1
  634. package/dist/chunks/upgrade-0.1.12-zhqgygsd.mjs +0 -1
  635. package/dist/chunks/usage-0.1.12-g40wd0mq.mjs +0 -1
  636. package/dist/chunks/util-0.1.12-qdejkkj5.mjs +0 -1
  637. package/dist/chunks/utils-0.1.12-3f08ztd2.mjs +0 -1
  638. package/dist/chunks/vim-0.1.12-z78k9k65.mjs +0 -1
  639. package/dist/chunks/watcher-0.1.12-pkwq5a2d.mjs +0 -1
  640. package/dist/chunks/worktree-0.1.12-a1mh6hjt.mjs +0 -1
  641. package/dist/chunks/worktreeModeEnabled-0.1.12-amrewbka.mjs +0 -1
  642. /package/dist/chunks/{cli-0.1.12-tvawkeks.mjs → cli-0.1.14-cahvg3jq.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{pX as o}from"./cli-0.1.12-h248m986.mjs";import{Una as r}from"./cli-0.1.12-1hv04bp7.mjs";var t=r(()=>{o();o()});
2
- export{t as th};
@@ -1,2 +0,0 @@
1
- import{Wb as z,Xb as K}from"./cli-0.1.12-c28bme4j.mjs";import{RC as w,SC as J}from"./cli-0.1.12-242der7s.mjs";import{uX as H}from"./cli-0.1.12-ytxphavm.mjs";import{Qna as E,Una as G}from"./cli-0.1.12-1hv04bp7.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
2
- export{V as Sb,N as Tb};
@@ -1,4 +0,0 @@
1
- import{Cda as d,Dda as f,Fda as z,Gda as Q,Hda as l,Jda as I,Kda as x,Lda as w,Mda as X,Nda as G,Oda as h,Pda as q,Qda as B,Rda as Y,Sda as D,Tda as H,Uda as a,Vda as S,_da as Of}from"./cli-0.1.12-j6gjfwh5.mjs";import{Una as R}from"./cli-0.1.12-1hv04bp7.mjs";var Pf="2025-11-25",Fy,Tf="io.modelcontextprotocol/related-task",M="2.0",K,o,r,by,kf,Uf,g,Z,J,jy=(y)=>J.safeParse(y).success,V,_,$,W,p,e,Jy=(y)=>e.safeParse(y).success,ff,Ny=(y)=>ff.safeParse(y).success,n,Oy=(y)=>n.safeParse(y).success,U,m,Py=(y)=>m.safeParse(y).success,wf,Ty,yf,Lf,Df,Mf,N,F,xf,pf,Rf,hf,qf,Sf,gf,nf,mf,cf,zf,ky=(y)=>zf.safeParse(y).success,Bf,vf,tf,Gf,Ef,O,P,Cf,T,Hf,uf,If,Kf,Qf,Vf,Uy,Wf,Xf,Yf,Ly,Zf,_f,c,$f,k,b,Af,sf,df,lf,af,of,i,rf,ef,fw,ww,yw,Dw,xw,zw,Bw,Gw,Hw,Iw,Kw,Qw,Vw,Ww,v,t,E,Xw,Yw,Zw,C,_w,$w,Aw,Fw,bw,Ff,jw,Jw,bf,My,Nw,Ow,Pw,py,jf,Tw,kw,Uw,Lw,Mw,pw,Rw,hw,qw,L,Sw,gw,nw,mw,cw,iw,vw,tw,Ew,Cw,uw,sw,dw,lw,aw,ow,rw,ew,fy,wy,yy,Dy,xy,zy,By,Gy,Hy,Iy,Ky,Qy,Vy,Wy,Xy,Ry,hy,qy,Sy,gy,ny,u,Jf;var Nf=R(()=>{Of();Fy=[Pf,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],K=a((y)=>y!==null&&(typeof y==="object"||typeof y==="function")),o=G([f(),z().int()]),r=f(),by=X({ttl:z().optional(),pollInterval:z().optional()}),kf=w({ttl:z().optional()}),Uf=w({taskId:f()}),g=X({progressToken:o.optional(),[Tf]:Uf.optional()}),Z=w({_meta:g.optional()}),J=Z.extend({task:kf.optional()}),V=w({method:f(),params:Z.loose().optional()}),_=w({_meta:g.optional()}),$=w({method:f(),params:_.loose().optional()}),W=X({_meta:g.optional()}),p=G([f(),z().int()]),e=w({jsonrpc:D(M),id:p,...V.shape}).strict(),ff=w({jsonrpc:D(M),...$.shape}).strict(),n=w({jsonrpc:D(M),id:p,result:W}).strict();(function(y){y[y.ConnectionClosed=-32000]="ConnectionClosed",y[y.RequestTimeout=-32001]="RequestTimeout",y[y.ParseError=-32700]="ParseError",y[y.InvalidRequest=-32600]="InvalidRequest",y[y.MethodNotFound=-32601]="MethodNotFound",y[y.InvalidParams=-32602]="InvalidParams",y[y.InternalError=-32603]="InternalError",y[y.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(U||(U={}));m=w({jsonrpc:D(M),id:p.optional(),error:w({code:z().int(),message:f(),data:I().optional()})}).strict(),wf=G([e,ff,n,m]),Ty=G([n,m]),yf=W.strict(),Lf=_.extend({requestId:p.optional(),reason:f().optional()}),Df=$.extend({method:D("notifications/cancelled"),params:Lf}),Mf=w({src:f(),mimeType:f().optional(),sizes:x(f()).optional(),theme:Y(["light","dark"]).optional()}),N=w({icons:x(Mf).optional()}),F=w({name:f(),title:f().optional()}),xf=F.extend({...F.shape,...N.shape,version:f(),websiteUrl:f().optional(),description:f().optional()}),pf=q(w({applyDefaults:Q().optional()}),B(f(),I())),Rf=S((y)=>{if(y&&typeof y==="object"&&!Array.isArray(y)){if(Object.keys(y).length===0)return{form:{}}}return y},q(w({form:pf.optional(),url:K.optional()}),B(f(),I()).optional())),hf=X({list:K.optional(),cancel:K.optional(),requests:X({sampling:X({createMessage:K.optional()}).optional(),elicitation:X({create:K.optional()}).optional()}).optional()}),qf=X({list:K.optional(),cancel:K.optional(),requests:X({tools:X({call:K.optional()}).optional()}).optional()}),Sf=w({experimental:B(f(),K).optional(),sampling:w({context:K.optional(),tools:K.optional()}).optional(),elicitation:Rf.optional(),roots:w({listChanged:Q().optional()}).optional(),tasks:hf.optional(),extensions:B(f(),K).optional()}),gf=Z.extend({protocolVersion:f(),capabilities:Sf,clientInfo:xf}),nf=V.extend({method:D("initialize"),params:gf}),mf=w({experimental:B(f(),K).optional(),logging:K.optional(),completions:K.optional(),prompts:w({listChanged:Q().optional()}).optional(),resources:w({subscribe:Q().optional(),listChanged:Q().optional()}).optional(),tools:w({listChanged:Q().optional()}).optional(),tasks:qf.optional(),extensions:B(f(),K).optional()}),cf=W.extend({protocolVersion:f(),capabilities:mf,serverInfo:xf,instructions:f().optional()}),zf=$.extend({method:D("notifications/initialized"),params:_.optional()}),Bf=V.extend({method:D("ping"),params:Z.optional()}),vf=w({progress:z(),total:H(z()),message:H(f())}),tf=w({..._.shape,...vf.shape,progressToken:o}),Gf=$.extend({method:D("notifications/progress"),params:tf}),Ef=Z.extend({cursor:r.optional()}),O=V.extend({params:Ef.optional()}),P=W.extend({nextCursor:r.optional()}),Cf=Y(["working","input_required","completed","failed","cancelled"]),T=w({taskId:f(),status:Cf,ttl:G([z(),l()]),createdAt:f(),lastUpdatedAt:f(),pollInterval:H(z()),statusMessage:H(f())}),Hf=W.extend({task:T}),uf=_.merge(T),If=$.extend({method:D("notifications/tasks/status"),params:uf}),Kf=V.extend({method:D("tasks/get"),params:Z.extend({taskId:f()})}),Qf=W.merge(T),Vf=V.extend({method:D("tasks/result"),params:Z.extend({taskId:f()})}),Uy=W.loose(),Wf=O.extend({method:D("tasks/list")}),Xf=P.extend({tasks:x(T)}),Yf=V.extend({method:D("tasks/cancel"),params:Z.extend({taskId:f()})}),Ly=W.merge(T),Zf=w({uri:f(),mimeType:H(f()),_meta:B(f(),I()).optional()}),_f=Zf.extend({text:f()}),c=f().refine((y)=>{try{return atob(y),!0}catch{return!1}},{message:"Invalid Base64 string"}),$f=Zf.extend({blob:c}),k=Y(["user","assistant"]),b=w({audience:x(k).optional(),priority:z().min(0).max(1).optional(),lastModified:d.datetime({offset:!0}).optional()}),Af=w({...F.shape,...N.shape,uri:f(),description:H(f()),mimeType:H(f()),size:H(z()),annotations:b.optional(),_meta:H(X({}))}),sf=w({...F.shape,...N.shape,uriTemplate:f(),description:H(f()),mimeType:H(f()),annotations:b.optional(),_meta:H(X({}))}),df=O.extend({method:D("resources/list")}),lf=P.extend({resources:x(Af)}),af=O.extend({method:D("resources/templates/list")}),of=P.extend({resourceTemplates:x(sf)}),i=Z.extend({uri:f()}),rf=i,ef=V.extend({method:D("resources/read"),params:rf}),fw=W.extend({contents:x(G([_f,$f]))}),ww=$.extend({method:D("notifications/resources/list_changed"),params:_.optional()}),yw=i,Dw=V.extend({method:D("resources/subscribe"),params:yw}),xw=i,zw=V.extend({method:D("resources/unsubscribe"),params:xw}),Bw=_.extend({uri:f()}),Gw=$.extend({method:D("notifications/resources/updated"),params:Bw}),Hw=w({name:f(),description:H(f()),required:H(Q())}),Iw=w({...F.shape,...N.shape,description:H(f()),arguments:H(x(Hw)),_meta:H(X({}))}),Kw=O.extend({method:D("prompts/list")}),Qw=P.extend({prompts:x(Iw)}),Vw=Z.extend({name:f(),arguments:B(f(),f()).optional()}),Ww=V.extend({method:D("prompts/get"),params:Vw}),v=w({type:D("text"),text:f(),annotations:b.optional(),_meta:B(f(),I()).optional()}),t=w({type:D("image"),data:c,mimeType:f(),annotations:b.optional(),_meta:B(f(),I()).optional()}),E=w({type:D("audio"),data:c,mimeType:f(),annotations:b.optional(),_meta:B(f(),I()).optional()}),Xw=w({type:D("tool_use"),name:f(),id:f(),input:B(f(),I()),_meta:B(f(),I()).optional()}),Yw=w({type:D("resource"),resource:G([_f,$f]),annotations:b.optional(),_meta:B(f(),I()).optional()}),Zw=Af.extend({type:D("resource_link")}),C=G([v,t,E,Zw,Yw]),_w=w({role:k,content:C}),$w=W.extend({description:f().optional(),messages:x(_w)}),Aw=$.extend({method:D("notifications/prompts/list_changed"),params:_.optional()}),Fw=w({title:f().optional(),readOnlyHint:Q().optional(),destructiveHint:Q().optional(),idempotentHint:Q().optional(),openWorldHint:Q().optional()}),bw=w({taskSupport:Y(["required","optional","forbidden"]).optional()}),Ff=w({...F.shape,...N.shape,description:f().optional(),inputSchema:w({type:D("object"),properties:B(f(),K).optional(),required:x(f()).optional()}).catchall(I()),outputSchema:w({type:D("object"),properties:B(f(),K).optional(),required:x(f()).optional()}).catchall(I()).optional(),annotations:Fw.optional(),execution:bw.optional(),_meta:B(f(),I()).optional()}),jw=O.extend({method:D("tools/list")}),Jw=P.extend({tools:x(Ff)}),bf=W.extend({content:x(C).default([]),structuredContent:B(f(),I()).optional(),isError:Q().optional()}),My=bf.or(W.extend({toolResult:I()})),Nw=J.extend({name:f(),arguments:B(f(),I()).optional()}),Ow=V.extend({method:D("tools/call"),params:Nw}),Pw=$.extend({method:D("notifications/tools/list_changed"),params:_.optional()}),py=w({autoRefresh:Q().default(!0),debounceMs:z().int().nonnegative().default(300)}),jf=Y(["debug","info","notice","warning","error","critical","alert","emergency"]),Tw=Z.extend({level:jf}),kw=V.extend({method:D("logging/setLevel"),params:Tw}),Uw=_.extend({level:jf,logger:f().optional(),data:I()}),Lw=$.extend({method:D("notifications/message"),params:Uw}),Mw=w({name:f().optional()}),pw=w({hints:x(Mw).optional(),costPriority:z().min(0).max(1).optional(),speedPriority:z().min(0).max(1).optional(),intelligencePriority:z().min(0).max(1).optional()}),Rw=w({mode:Y(["auto","required","none"]).optional()}),hw=w({type:D("tool_result"),toolUseId:f().describe("The unique identifier for the corresponding tool call."),content:x(C).default([]),structuredContent:w({}).loose().optional(),isError:Q().optional(),_meta:B(f(),I()).optional()}),qw=h("type",[v,t,E]),L=h("type",[v,t,E,Xw,hw]),Sw=w({role:k,content:G([L,x(L)]),_meta:B(f(),I()).optional()}),gw=J.extend({messages:x(Sw),modelPreferences:pw.optional(),systemPrompt:f().optional(),includeContext:Y(["none","thisServer","allServers"]).optional(),temperature:z().optional(),maxTokens:z().int(),stopSequences:x(f()).optional(),metadata:K.optional(),tools:x(Ff).optional(),toolChoice:Rw.optional()}),nw=V.extend({method:D("sampling/createMessage"),params:gw}),mw=W.extend({model:f(),stopReason:H(Y(["endTurn","stopSequence","maxTokens"]).or(f())),role:k,content:qw}),cw=W.extend({model:f(),stopReason:H(Y(["endTurn","stopSequence","maxTokens","toolUse"]).or(f())),role:k,content:G([L,x(L)])}),iw=w({type:D("boolean"),title:f().optional(),description:f().optional(),default:Q().optional()}),vw=w({type:D("string"),title:f().optional(),description:f().optional(),minLength:z().optional(),maxLength:z().optional(),format:Y(["email","uri","date","date-time"]).optional(),default:f().optional()}),tw=w({type:Y(["number","integer"]),title:f().optional(),description:f().optional(),minimum:z().optional(),maximum:z().optional(),default:z().optional()}),Ew=w({type:D("string"),title:f().optional(),description:f().optional(),enum:x(f()),default:f().optional()}),Cw=w({type:D("string"),title:f().optional(),description:f().optional(),oneOf:x(w({const:f(),title:f()})),default:f().optional()}),uw=w({type:D("string"),title:f().optional(),description:f().optional(),enum:x(f()),enumNames:x(f()).optional(),default:f().optional()}),sw=G([Ew,Cw]),dw=w({type:D("array"),title:f().optional(),description:f().optional(),minItems:z().optional(),maxItems:z().optional(),items:w({type:D("string"),enum:x(f())}),default:x(f()).optional()}),lw=w({type:D("array"),title:f().optional(),description:f().optional(),minItems:z().optional(),maxItems:z().optional(),items:w({anyOf:x(w({const:f(),title:f()}))}),default:x(f()).optional()}),aw=G([dw,lw]),ow=G([uw,sw,aw]),rw=G([ow,iw,vw,tw]),ew=J.extend({mode:D("form").optional(),message:f(),requestedSchema:w({type:D("object"),properties:B(f(),rw),required:x(f()).optional()})}),fy=J.extend({mode:D("url"),message:f(),elicitationId:f(),url:f().url()}),wy=G([ew,fy]),yy=V.extend({method:D("elicitation/create"),params:wy}),Dy=_.extend({elicitationId:f()}),xy=$.extend({method:D("notifications/elicitation/complete"),params:Dy}),zy=W.extend({action:Y(["accept","decline","cancel"]),content:S((y)=>y===null?void 0:y,B(f(),G([f(),z(),Q(),x(f())])).optional())}),By=w({type:D("ref/resource"),uri:f()}),Gy=w({type:D("ref/prompt"),name:f()}),Hy=Z.extend({ref:G([Gy,By]),argument:w({name:f(),value:f()}),context:w({arguments:B(f(),f()).optional()}).optional()}),Iy=V.extend({method:D("completion/complete"),params:Hy}),Ky=W.extend({completion:X({values:x(f()).max(100),total:H(z().int()),hasMore:H(Q())})}),Qy=w({uri:f().startsWith("file://"),name:f().optional(),_meta:B(f(),I()).optional()}),Vy=V.extend({method:D("roots/list"),params:Z.optional()}),Wy=W.extend({roots:x(Qy)}),Xy=$.extend({method:D("notifications/roots/list_changed"),params:_.optional()}),Ry=G([Bf,nf,Iy,kw,Ww,Kw,df,af,ef,Dw,zw,Ow,jw,Kf,Vf,Wf,Yf]),hy=G([Df,Gf,zf,Xy,If]),qy=G([yf,mw,cw,zy,Wy,Qf,Xf,Hf]),Sy=G([Bf,nw,yy,Vy,Kf,Vf,Wf,Yf]),gy=G([Df,Gf,Lw,Gw,ww,Pw,Aw,If,xy]),ny=G([yf,cf,Ky,$w,Qw,lf,of,fw,bf,Jw,Qf,Xf,Hf]);u=class u extends Error{constructor(y,A,j){super(`MCP error ${y}: ${A}`);this.code=y,this.data=j,this.name="McpError"}static fromError(y,A,j){if(y===U.UrlElicitationRequired&&j){let s=j;if(s.elicitations)return new Jf(s.elicitations,A)}return new u(y,A,j)}};Jf=class Jf extends u{constructor(y,A=`URL elicitation${y.length>1?"s":""} required`){super(U.UrlElicitationRequired,A,{elicitations:y})}get elicitations(){return this.data?.elicitations??[]}}});async function cy(){}var Yy=()=>{};class Zy{append(y){this._buffer=this._buffer?Buffer.concat([this._buffer,y]):y}readMessage(){if(!this._buffer)return null;let y=this._buffer.indexOf(`
2
- `);if(y===-1)return null;let A=this._buffer.toString("utf8",0,y).replace(/\r$/,"");return this._buffer=this._buffer.subarray(y+1),_y(A)}clear(){this._buffer=void 0}}function _y(y){return wf.parse(JSON.parse(y))}function ty(y){return JSON.stringify(y)+`
3
- `}var $y=R(()=>{Nf()});
4
- export{Pf as OV,Fy as PV,Tf as QV,jy as RV,Jy as SV,Ny as TV,Oy as UV,U as VV,Py as WV,wf as XV,yf as YV,Df as ZV,nf as _V,cf as $V,zf as aW,ky as bW,Bf as cW,Gf as dW,Hf as eW,If as fW,Kf as gW,Qf as hW,Vf as iW,Wf as jW,Xf as kW,Yf as lW,Ly as mW,lf as nW,of as oW,fw as pW,ww as qW,Qw as rW,$w as sW,Aw as tW,jw as uW,Jw as vW,bf as wW,Ow as xW,Pw as yW,py as zW,jf as AW,kw as BW,nw as CW,mw as DW,cw as EW,yy as FW,xy as GW,zy as HW,Ky as IW,Vy as JW,Wy as KW,u as LW,Nf as MW,Zy as NW,ty as OW,$y as PW,cy as QW,Yy as RW};
@@ -1,2 +0,0 @@
1
- import{rR as M,tR as X}from"./cli-0.1.12-1x06khjr.mjs";import{Faa as K,Kaa as L,Taa as W,e_ as B,n_ as V}from"./cli-0.1.12-vzga2are.mjs";import{Una as Q}from"./cli-0.1.12-1hv04bp7.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
2
- export{F as kb,Y as lb};
@@ -1,2 +0,0 @@
1
- import{Df as qG,Ef as mG}from"./cli-0.1.12-vwcas8f6.mjs";import{Gf as GG,Hf as FG}from"./cli-0.1.12-6zryzryc.mjs";import{Vk as Lq,Wk as uq,bK as yq,bl as dq,cK as tq,dl as $q,eK as TG,hl as Tq,ll as fq,ml as PG,ov as eq,qv as CG,tt as lq,ut as yG}from"./cli-0.1.12-242der7s.mjs";import{DP as rq,EP as IG,FP as aq,GP as bG,HP as iq,IP as LG}from"./cli-0.1.12-vpnp7x5c.mjs";import{aS as sq,bS as DG}from"./cli-0.1.12-2v18rdhk.mjs";import{VS as nq,WS as RG,cT as oq,dT as NG}from"./cli-0.1.12-tyt09z73.mjs";import{QU as U,SU as Y,eT as AG,vV as BG}from"./cli-0.1.12-bddm1g1s.mjs";import{qX as pq,rX as Z,sX as H,tX as jq}from"./cli-0.1.12-04jw23rj.mjs";import{uX as WG}from"./cli-0.1.12-ytxphavm.mjs";import{A3 as UG,H2 as cq,K3 as JG,M2 as KG,Q3 as vG,S4 as QG,j3 as Cq,l3 as _,l5 as _G,s2 as Nq,t2 as Eq,u3 as g,v2 as Pq,x3 as bq}from"./cli-0.1.12-y9598sy3.mjs";import{Faa as Sq,Haa as xq,Taa as HG}from"./cli-0.1.12-vzga2are.mjs";import{gga as _q,hga as kG}from"./cli-0.1.12-6x2mnahn.mjs";import{Qna as Mq,Una as vq}from"./cli-0.1.12-1hv04bp7.mjs";function JJ(J){let q=mq.c(82),{initial:X,sessionModel:Q,onSelect:z,onCancel:w,isStandaloneCommand:W,showFastModeNotice:zq,headerText:XG,skipSettingsWrite:Yq}=J,wq=tq(),x=sq(),A=X===null?S:X,[B,ZG]=Zq.useState(A),zG=yq(jG),[R,YG]=Zq.useState(!1),P=yq(VG),E;if(q[0]!==P)E=P!==void 0?Tq(P):void 0,q[0]=P,q[1]=E;else E=q[1];let[b,Fq]=Zq.useState(E),kq=zG??!1,c;if(q[2]!==kq)c=qG(kq),q[2]=kq,q[3]=c;else c=q[3];let M=c,Hq;q:{if(X!==null&&!M.some((G)=>{if(G.value===X)return!0;if(G.value===null)return!1;try{return _(g(String(G.value)))===_(g(X))}catch{return!1}})){let G;if(q[4]!==X)G=bq(X),q[4]=X,q[5]=G;else G=q[5];let k;if(q[6]!==X||q[7]!==G)k={value:X,label:G,description:"Current model"},q[6]=X,q[7]=G,q[8]=k;else k=q[8];let L;if(q[9]!==M||q[10]!==k)L=[...M,k],q[9]=M,q[10]=k,q[11]=L;else L=q[11];Hq=L;break q}Hq=M}let Kq=Hq,p;if(q[12]!==Kq)p=Kq.map(OG),q[12]=Kq,q[13]=p;else p=q[13];let K=p,r;if(q[14]!==A||q[15]!==K)r=K.find((G)=>{if(G.value===A)return!0;if(A===S||G.value===null)return!1;try{return _(g(String(G.value)))===_(g(String(A)))}catch{return!1}})?.value??K[0]?.value??void 0,q[14]=A,q[15]=K,q[16]=r;else r=q[16];let Uq=r,n=Math.min(10,K.length),u=Math.max(0,K.length-n),d;if(q[17]!==B||q[18]!==K)d=K.find((G)=>G.value===B)?.label,q[17]=B,q[18]=K,q[19]=d;else d=q[19];let $=d,I,f;if(q[20]!==B){let G=Dq(B);I=G?Lq(G):!1,f=G?uq(G):!1,q[20]=B,q[21]=I,q[22]=f}else I=q[21],f=q[22];let a=f,i;if(q[23]!==B)i=Rq(B),q[23]=B,q[24]=i;else i=q[24];let y=i,v=b==="max"&&!a?"high":b,l;if(q[25]!==P||q[26]!==R)l=(G)=>{if(ZG(G),!R&&P===void 0)Fq(Rq(G))},q[25]=P,q[26]=R,q[27]=l;else l=q[27];let Wq=l,s;if(q[28]!==y||q[29]!==I||q[30]!==a)s=(G)=>{if(!I)return;Fq((k)=>gG(k??y,G,a)),YG(!0)},q[28]=y,q[29]=I,q[30]=a,q[31]=s;else s=q[31];let o=s,e;if(q[32]!==o)e={"modelPicker:decreaseEffort":()=>o("left"),"modelPicker:increaseEffort":()=>o("right")},q[32]=o,q[33]=e;else e=q[33];let t;if(q[34]===Symbol.for("react.memo_cache_sentinel"))t={context:"ModelPicker"},q[34]=t;else t=q[34];nq(e,t);let qq;if(q[35]!==b||q[36]!==R||q[37]!==z||q[38]!==wq||q[39]!==Yq)qq=function(k){if(_q("tengu_model_command_menu_effort",{effort:b}),!Yq){let Oq=$q(b,Rq(k),Sq("userSettings")?.effortLevel,R),Vq=dq(Oq);if(Vq!==void 0)xq("userSettings",{effortLevel:Vq});wq((wG)=>({...wG,effortValue:Oq}))}let L=Dq(k),hq=R&&L&&Lq(L)?b:void 0;if(k===S){z(null,hq);return}z(k,hq)},q[35]=b,q[36]=R,q[37]=z,q[38]=wq,q[39]=Yq,q[40]=qq;else qq=q[40];let Aq=qq,Gq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Gq=Z(Y,{color:"remember",bold:!0,children:"Select model"}),q[41]=Gq;else Gq=q[41];let Bq=XG??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",D;if(q[42]!==Bq)D=Z(Y,{dimColor:!0,children:Bq}),q[42]=Bq,q[43]=D;else D=q[43];let N;if(q[44]!==Q)N=Q&&H(Y,{dimColor:!0,children:["Currently using ",bq(Q)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Q,q[45]=N;else N=q[45];let C;if(q[46]!==D||q[47]!==N)C=H(U,{marginBottom:1,flexDirection:"column",children:[Gq,D,N]}),q[46]=D,q[47]=N,q[48]=C;else C=q[48];let Iq=w??hG,T;if(q[49]!==Wq||q[50]!==Aq||q[51]!==Uq||q[52]!==A||q[53]!==K||q[54]!==Iq||q[55]!==n)T=Z(U,{flexDirection:"column",children:Z(eq,{defaultValue:A,defaultFocusValue:Uq,options:K,onChange:Aq,onFocus:Wq,onCancel:Iq,visibleOptionCount:n})}),q[49]=Wq,q[50]=Aq,q[51]=Uq,q[52]=A,q[53]=K,q[54]=Iq,q[55]=n,q[56]=T;else T=q[56];let m;if(q[57]!==u)m=u>0&&Z(U,{paddingLeft:3,children:H(Y,{dimColor:!0,children:["and ",u," more…"]})}),q[57]=u,q[58]=m;else m=q[58];let F;if(q[59]!==T||q[60]!==m)F=H(U,{flexDirection:"column",marginBottom:1,children:[T,m]}),q[59]=T,q[60]=m,q[61]=F;else F=q[61];let h;if(q[62]!==v||q[63]!==y||q[64]!==$||q[65]!==I)h=Z(U,{marginBottom:1,flexDirection:"column",children:I?H(Y,{dimColor:!0,children:[Z(gq,{effort:v})," ",lq(v)," effort",v===y?" (default)":""," ",Z(Y,{color:"subtle",children:"← → to adjust"})]}):H(Y,{color:"subtle",children:[Z(gq,{effort:void 0})," Effort not supported",$?` for ${$}`:""]})}),q[62]=v,q[63]=y,q[64]=$,q[65]=I,q[66]=h;else h=q[66];let O;if(q[67]!==zq)O=Nq()?zq?Z(U,{marginBottom:1,children:H(Y,{dimColor:!0,children:["Fast mode is ",Z(Y,{bold:!0,children:"ON"})," and available with"," ",Pq," only (/fast). Switching to other models turn off fast mode."]})}):Eq()&&!cq()?Z(U,{marginBottom:1,children:H(Y,{dimColor:!0,children:["Use ",Z(Y,{bold:!0,children:"/fast"})," to turn on Fast mode (",Pq," only)."]})}):null:null,q[67]=zq,q[68]=O;else O=q[68];let V;if(q[69]!==C||q[70]!==F||q[71]!==h||q[72]!==O)V=H(U,{flexDirection:"column",children:[C,F,h,O]}),q[69]=C,q[70]=F,q[71]=h,q[72]=O,q[73]=V;else V=q[73];let j;if(q[74]!==x||q[75]!==W)j=W&&Z(Y,{dimColor:!0,italic:!0,children:x.pending?H(pq,{children:["Press ",x.keyName," again to exit"]}):H(iq,{children:[Z(rq,{shortcut:"Enter",action:"confirm"}),Z(aq,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=x,q[75]=W,q[76]=j;else j=q[76];let Jq;if(q[77]!==V||q[78]!==j)Jq=H(U,{flexDirection:"column",children:[V,j]}),q[77]=V,q[78]=j,q[79]=Jq;else Jq=q[79];let Qq=Jq;if(!W)return Qq;let Xq;if(q[80]!==Qq)Xq=Z(oq,{color:"permission",children:Qq}),q[80]=Qq,q[81]=Xq;else Xq=q[81];return Xq}function hG(){}function OG(J){return{...J,value:J.value===null?S:J.value}}function VG(J){return J.effortValue}function jG(J){return Nq()?J.fastMode:!1}function Dq(J){if(!J)return;return J===S?Cq():g(J)}function gq(J){let q=mq.c(5),{effort:X}=J,Q=X?"claude":"subtle",z=X??"low",w;if(q[0]!==z)w=GG(z),q[0]=z,q[1]=w;else w=q[1];let W;if(q[2]!==Q||q[3]!==w)W=Z(Y,{color:Q,children:w}),q[2]=Q,q[3]=w,q[4]=W;else W=q[4];return W}function gG(J,q,X){let Q=X?["low","medium","high","max"]:["low","medium","high"],z=Q.indexOf(J),w=z!==-1?z:Q.indexOf("high");if(q==="right")return Q[(w+1)%Q.length];else return Q[(w-1+Q.length)%Q.length]}function Rq(J){let q=Dq(J)??Cq(),X=fq(q);return X!==void 0?Tq(X):"high"}var mq,Zq,S="__NO_PREFERENCE__";var MG=vq(()=>{yG();DG();kG();KG();BG();RG();TG();PG();UG();mG();HG();bG();CG();LG();IG();NG();FG();jq();mq=Mq(AG(),1),Zq=Mq(WG(),1)});function YJ(J,q,X){if(!QG())return!1;if(q)return!0;if(J===null||!JG(J))return!1;let Q=J.toLowerCase().replace(/\[1m\]$/,"").trim(),z=Q==="opus"||Q.includes("opus-4-6")||Q.includes("opus-4-7"),w=Q==="sonnet"||Q.includes("sonnet-4-6");if(z&&X)return!1;return z||w}var SG=vq(()=>{_G();vG()});
2
- export{JJ as zf,MG as Af,YJ as Bf,SG as Cf};
@@ -1,2 +0,0 @@
1
- import{ov as A,qv as O}from"./cli-0.1.12-242der7s.mjs";import{LP as M,MP as G}from"./cli-0.1.12-vpnp7x5c.mjs";import{QU as w,SU as d,WU as v,eT as U,vV as W}from"./cli-0.1.12-bddm1g1s.mjs";import{rX as a,sX as i,tX as S}from"./cli-0.1.12-04jw23rj.mjs";import{uX as N}from"./cli-0.1.12-ytxphavm.mjs";import{Lba as I,Yba as P}from"./cli-0.1.12-vzga2are.mjs";import{gga as h,hga as L}from"./cli-0.1.12-6x2mnahn.mjs";import{Qna as b,Una as B}from"./cli-0.1.12-1hv04bp7.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=a(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&i(w,{flexDirection:"column",children:[a(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=i(d,{dimColor:!0,children:["Important: Only use Claude Code with files you trust. Accessing untrusted files may pose security risks"," ",a(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=a(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=i(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return i(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
2
- export{V as xf,z as yf};
@@ -1,2 +0,0 @@
1
- import{bK as g,cK as Zf,eK as _f}from"./cli-0.1.12-242der7s.mjs";import{LP as Xf,MP as Uf}from"./cli-0.1.12-vpnp7x5c.mjs";import{VS as Wf,WS as Tf}from"./cli-0.1.12-tyt09z73.mjs";import{OU as F,PU as cf,QU as r,SU as q,WU as Vf,eT as n,kT as s,lT as If,vV as a}from"./cli-0.1.12-bddm1g1s.mjs";import{qX as Qf,rX as H,sX as X,tX as T}from"./cli-0.1.12-04jw23rj.mjs";import{uX as Rf}from"./cli-0.1.12-ytxphavm.mjs";import{B2 as qf,D2 as zf,L2 as Jf,M2 as hf,Q2 as M,T2 as p,U2 as Ef,s2 as Nf,u2 as b,v2 as _,w2 as Hf,y2 as j}from"./cli-0.1.12-y9598sy3.mjs";import{H5 as l,I5 as Pf}from"./cli-0.1.12-m6jeef2z.mjs";import{Fba as i,Haa as Gf,J_ as w,Taa as Cf,V_ as yf,Yba as Bf}from"./cli-0.1.12-vzga2are.mjs";import{Ifa as mf,Qfa as Of}from"./cli-0.1.12-bhxgr018.mjs";import{gga as D,hga as Lf}from"./cli-0.1.12-6x2mnahn.mjs";import{Qna as x,Una as o}from"./cli-0.1.12-1hv04bp7.mjs";function e(m){let f=t.c(2),{cooldown:G}=m;if(G){let z;if(f[0]===Symbol.for("react.memo_cache_sentinel"))z=H(q,{color:"promptBorder",dimColor:!0,children:w}),f[0]=z;else z=f[0];return z}let N;if(f[1]===Symbol.for("react.memo_cache_sentinel"))N=H(q,{color:"fastMode",children:w}),f[1]=N;else N=f[1];return N}function U(m=!0,f=!1){if(!m)return w;let G=s(i().theme);if(f)return l.dim(F("promptBorder",G)(w));return F("fastMode",G)(w)}var t;var ff=o(()=>{Pf();yf();a();Bf();If();cf();T();t=x(n(),1)});function S(m,f){if(zf(),Gf("userSettings",{fastMode:m?!0:void 0}),m)f((G)=>{let N=!j(G.mainLoopModel);return{...G,...N?{mainLoopModel:Hf(),mainLoopModelForSession:null}:{},fastMode:!0}});else f((G)=>({...G,fastMode:!1}))}function Df(m){let f=kf.c(30),{onDone:G,unavailableReason:N}=m,z=g(vf),V=g(Af),W=Zf(),[J,wf]=Kf.useState(V??!1),y;if(f[0]===Symbol.for("react.memo_cache_sentinel"))y=qf(),f[0]=y;else y=f[0];let B=y,$=B.status==="cooldown",Q=N!==null,P;if(f[1]===Symbol.for("react.memo_cache_sentinel"))P=p(M(!0)),f[1]=P;else P=f[1];let d=P,I;if(f[2]!==J||f[3]!==Q||f[4]!==z||f[5]!==G||f[6]!==W)I=function(){if(Q)return;if(S(J,W),D("tengu_fast_mode_toggled",{enabled:J,source:"picker"}),J){let v=U(J),rf=!j(z)?` · model set to ${_}`:"";G(`${v} Fast mode ON${rf} · ${d}`)}else W(uf),G("Fast mode OFF")},f[2]=J,f[3]=Q,f[4]=z,f[5]=G,f[6]=W,f[7]=I;else I=f[7];let u=I,c;if(f[8]!==V||f[9]!==Q||f[10]!==G||f[11]!==W)c=function(){if(Q){if(V)S(!1,W);G("Fast mode OFF",{display:"system"});return}let v=V?`${U()} Kept Fast mode ON`:"Kept Fast mode OFF";G(v,{display:"system"})},f[8]=V,f[9]=Q,f[10]=G,f[11]=W,f[12]=c;else c=f[12];let A=c,L;if(f[13]!==Q)L=function(){if(Q)return;wf(jf)},f[13]=Q,f[14]=L;else L=f[14];let Z=L,O;if(f[15]!==u||f[16]!==Z)O={"confirm:yes":u,"confirm:nextField":Z,"confirm:next":Z,"confirm:previous":Z,"confirm:cycleMode":Z,"confirm:toggle":Z},f[15]=u,f[16]=Z,f[17]=O;else O=f[17];let C;if(f[18]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},f[18]=C;else C=f[18];Wf(O,C);let h;if(f[19]===Symbol.for("react.memo_cache_sentinel"))h=X(q,{children:[H(e,{cooldown:$})," Fast mode (research preview)"]}),f[19]=h;else h=f[19];let Yf=h,k;if(f[20]!==Q)k=(Y)=>Y.pending?X(q,{children:["Press ",Y.keyName," again to exit"]}):Q?H(q,{children:"Esc to cancel"}):H(q,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),f[20]=Q,f[21]=k;else k=f[21];let K;if(f[22]!==J||f[23]!==N)K=N?H(r,{marginLeft:2,children:H(q,{color:"error",children:N})}):X(Qf,{children:[H(r,{flexDirection:"column",gap:0,marginLeft:2,children:X(r,{flexDirection:"row",gap:2,children:[H(q,{bold:!0,children:"Fast mode"}),H(q,{color:J?"fastMode":void 0,bold:J,children:J?"ON ":"OFF"}),H(q,{dimColor:!0,children:d})]})}),$&&B.status==="cooldown"&&H(r,{marginLeft:2,children:X(q,{color:"warning",children:[B.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",mf(B.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),f[22]=J,f[23]=N,f[24]=K;else K=f[24];let E;if(f[25]===Symbol.for("react.memo_cache_sentinel"))E=X(q,{dimColor:!0,children:["Learn more:"," ",H(Vf,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),f[25]=E;else E=f[25];let R;if(f[26]!==A||f[27]!==K||f[28]!==k)R=X(Xf,{title:Yf,subtitle:`High-speed mode for ${_}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:A,color:"fastMode",inputGuide:k,children:[K,E]}),f[26]=A,f[27]=K,f[28]=k,f[29]=R;else R=f[29];return R}function jf(m){return!m}function uf(m){return{...m,fastMode:!1}}function Af(m){return m.fastMode}function vf(m){return m.mainLoopModel}async function Ff(m,f,G){let N=b();if(N)return`Fast mode unavailable: ${N}`;let{mainLoopModel:z}=f();if(S(m,G),D("tengu_fast_mode_toggled",{enabled:m,source:"shortcut"}),m){let V=U(!0),W=!j(z)?` · model set to ${_}`:"",J=p(M(!0));return`${V} Fast mode ON${W} · ${J}`}else return"Fast mode OFF"}async function H0(m,f,G){if(!Nf())return null;await Jf();let N=G?.trim().toLowerCase();if(N==="on"||N==="off"){let V=await Ff(N==="on",f.getAppState,f.setAppState);return m(V),null}let z=b();return D("tengu_fast_mode_picker_shown",{unavailable_reason:z??""}),H(Df,{onDone:m,unavailableReason:z})}var kf,Kf;var xf=o(()=>{Uf();ff();a();Tf();Lf();_f();hf();Of();Ef();Cf();T();kf=x(n(),1),Kf=x(Rf(),1)});
2
- export{U as Zc,ff as _c,Df as $c,H0 as ad,xf as bd};
@@ -1,16 +0,0 @@
1
- import{Lna as Yc,Mna as hf}from"./cli-0.1.12-taqfqnag.mjs";import{Nna as lo}from"./cli-0.1.12-dqynn0at.mjs";import{Pna as q}from"./cli-0.1.12-2f2v27e3.mjs";import{Sna as d,Vna as $}from"./cli-0.1.12-1hv04bp7.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.12-hvf65cbr.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 Ana,Fe as Bna,Vt as Cna,ze as Dna,Ze as Ena,ve as Fna,an as Gna,wn as Hna,Cn as Ina,Ya as Jna};
@@ -1,2 +0,0 @@
1
- import{ov as h,qv as I}from"./cli-0.1.12-242der7s.mjs";import{LP as g,MP as k}from"./cli-0.1.12-vpnp7x5c.mjs";import{SU as s,eT as S,vV as _}from"./cli-0.1.12-bddm1g1s.mjs";import{rX as c,sX as m,tX as T}from"./cli-0.1.12-04jw23rj.mjs";import{Cba as b,Yba as P}from"./cli-0.1.12-vzga2are.mjs";import{Qna as D}from"./cli-0.1.12-1hv04bp7.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
2
- export{E as Sa};
@@ -1,2 +0,0 @@
1
- import{Una as t}from"./cli-0.1.12-1hv04bp7.mjs";function o(){}var n=()=>{};
2
- export{o as gga,n as hga};
@@ -1,2 +0,0 @@
1
- import{Vk as J,gl as K,ml as Q}from"./cli-0.1.12-242der7s.mjs";import{K_ as z,L_ as B,M_ as q,N_ as C,V_ as P}from"./cli-0.1.12-vzga2are.mjs";import{Una as N}from"./cli-0.1.12-1hv04bp7.mjs";function A(k,w){if(!J(w))return;let x=K(w,k);return`${Y(x)} ${x} · /effort`}function Y(k){switch(k){case"low":return z;case"medium":return B;case"high":return q;case"max":return C;default:return q}}var Z=N(()=>{P();Q()});
2
- export{A as Ff,Y as Gf,Z as Hf};
@@ -1,2 +0,0 @@
1
- import{Sna as T}from"./cli-0.1.12-1hv04bp7.mjs";var I=T((C)=>{var h=(l,a)=>{let p=[];if(l)p.push(l);if(a)for(let c of a)p.push(c);return p},m=(l,a)=>{return`${l||"anonymous"}${a&&a.length>0?` (a.k.a. ${a.join(",")})`:""}`},g=()=>{let l=[],a=[],p=!1,c=new Set,y=(e)=>e.sort((i,r)=>R[r.step]-R[i.step]||O[r.priority||"normal"]-O[i.priority||"normal"]),z=(e)=>{let i=!1,r=(n)=>{let d=h(n.name,n.aliases);if(d.includes(e)){i=!0;for(let t of d)c.delete(t);return!1}return!0};return l=l.filter(r),a=a.filter(r),i},x=(e)=>{let i=!1,r=(n)=>{if(n.middleware===e){i=!0;for(let d of h(n.name,n.aliases))c.delete(d);return!1}return!0};return l=l.filter(r),a=a.filter(r),i},$=(e)=>{return l.forEach((i)=>{e.add(i.middleware,{...i})}),a.forEach((i)=>{e.addRelativeTo(i.middleware,{...i})}),e.identifyOnResolve?.(v.identifyOnResolve()),e},E=(e)=>{let i=[];return e.before.forEach((r)=>{if(r.before.length===0&&r.after.length===0)i.push(r);else i.push(...E(r))}),i.push(e),e.after.reverse().forEach((r)=>{if(r.before.length===0&&r.after.length===0)i.push(r);else i.push(...E(r))}),i},M=(e=!1)=>{let i=[],r=[],n={};return l.forEach((t)=>{let s={...t,before:[],after:[]};for(let o of h(s.name,s.aliases))n[o]=s;i.push(s)}),a.forEach((t)=>{let s={...t,before:[],after:[]};for(let o of h(s.name,s.aliases))n[o]=s;r.push(s)}),r.forEach((t)=>{if(t.toMiddleware){let s=n[t.toMiddleware];if(s===void 0){if(e)return;throw Error(`${t.toMiddleware} is not found when adding ${m(t.name,t.aliases)} middleware ${t.relation} ${t.toMiddleware}`)}if(t.relation==="after")s.after.push(t);if(t.relation==="before")s.before.push(t)}}),y(i).map(E).reduce((t,s)=>{return t.push(...s),t},[])},v={add:(e,i={})=>{let{name:r,override:n,aliases:d}=i,t={step:"initialize",priority:"normal",middleware:e,...i},s=h(r,d);if(s.length>0){if(s.some((o)=>c.has(o))){if(!n)throw Error(`Duplicate middleware name '${m(r,d)}'`);for(let o of s){let u=l.findIndex((w)=>w.name===o||w.aliases?.some((b)=>b===o));if(u===-1)continue;let f=l[u];if(f.step!==t.step||t.priority!==f.priority)throw Error(`"${m(f.name,f.aliases)}" middleware with ${f.priority} priority in ${f.step} step cannot be overridden by "${m(r,d)}" middleware with ${t.priority} priority in ${t.step} step.`);l.splice(u,1)}}for(let o of s)c.add(o)}l.push(t)},addRelativeTo:(e,i)=>{let{name:r,override:n,aliases:d}=i,t={middleware:e,...i},s=h(r,d);if(s.length>0){if(s.some((o)=>c.has(o))){if(!n)throw Error(`Duplicate middleware name '${m(r,d)}'`);for(let o of s){let u=a.findIndex((w)=>w.name===o||w.aliases?.some((b)=>b===o));if(u===-1)continue;let f=a[u];if(f.toMiddleware!==t.toMiddleware||f.relation!==t.relation)throw Error(`"${m(f.name,f.aliases)}" middleware ${f.relation} "${f.toMiddleware}" middleware cannot be overridden by "${m(r,d)}" middleware ${t.relation} "${t.toMiddleware}" middleware.`);a.splice(u,1)}}for(let o of s)c.add(o)}a.push(t)},clone:()=>$(g()),use:(e)=>{e.applyToStack(v)},remove:(e)=>{if(typeof e==="string")return z(e);else return x(e)},removeByTag:(e)=>{let i=!1,r=(n)=>{let{tags:d,name:t,aliases:s}=n;if(d&&d.includes(e)){let o=h(t,s);for(let u of o)c.delete(u);return i=!0,!1}return!0};return l=l.filter(r),a=a.filter(r),i},concat:(e)=>{let i=$(g());return i.use(e),i.identifyOnResolve(p||i.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),i},applyToStack:$,identify:()=>{return M(!0).map((e)=>{let i=e.step??e.relation+" "+e.toMiddleware;return m(e.name,e.aliases)+" - "+i})},identifyOnResolve(e){if(typeof e==="boolean")p=e;return p},resolve:(e,i)=>{for(let r of M().map((n)=>n.middleware).reverse())e=r(e,i);if(p)console.log(v.identify());return e}};return v},R={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},O={high:3,normal:2,low:1};C.constructStack=g});
2
- export{I as zna};
@@ -1,2 +0,0 @@
1
- import{AX as Z,yX as K}from"./cli-0.1.12-7xsa2bcp.mjs";import{BX as J,DX as Y}from"./cli-0.1.12-d8m01qtm.mjs";import{N4 as D,S1 as B,S4 as F,T4 as G,X1 as W,l5 as X}from"./cli-0.1.12-y9598sy3.mjs";import{J6 as V,s6 as z}from"./cli-0.1.12-rwzav5h1.mjs";import{Rea as y,Sea as Q}from"./cli-0.1.12-4wwhk7dc.mjs";import{Una as N}from"./cli-0.1.12-1hv04bp7.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
2
- export{P as Gh,_ as Hh};
@@ -1,6 +0,0 @@
1
- import{nX as m,pX as Gt}from"./cli-0.1.12-h248m986.mjs";import{Una as a}from"./cli-0.1.12-1hv04bp7.mjs";var gt,Dt,Zt=(t)=>typeof t==="string"?{...Dt,name:t}:{...Dt,...t};var S=a(()=>{gt=Symbol("Let zodToJsonSchema decide on which parser to use"),Dt={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"}});var O=a(()=>{Gt()});var I=(t,n)=>{let r=0;for(;r<t.length&&r<n.length;r++)if(t[r]!==n[r])break;return[(t.length-r).toString(),...n.slice(r)].join("/")};var L=()=>{};function g(t){if(t.target!=="openAi")return{};let n=[...t.basePath,t.definitionPath,t.openAiAnyTypeName];return t.flags.hasReferencedOpenAiAnyType=!0,{$ref:t.$refStrategy==="relative"?I(n,t.currentPath):n.join("/")}}var x=a(()=>{L()});function J(t,n,r,o){if(!o?.errorMessages)return;if(r)t.errorMessage={...t.errorMessage,[n]:r}}function l(t,n,r,o,p){t[n]=r,J(t,n,o,p)}var b=()=>{};function vt(t,n){let r={type:"array"};if(t.type?._def&&t.type?._def?.typeName!==m.ZodAny)r.items=i(t.type._def,{...n,currentPath:[...n.currentPath,"items"]});if(t.minLength)l(r,"minItems",t.minLength.value,t.minLength.message,n);if(t.maxLength)l(r,"maxItems",t.maxLength.value,t.maxLength.message,n);if(t.exactLength)l(r,"minItems",t.exactLength.value,t.exactLength.message,n),l(r,"maxItems",t.exactLength.value,t.exactLength.message,n);return r}var q=a(()=>{O();b();Z()});function xt(t,n){let r={type:"integer",format:"int64"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"min":if(n.target==="jsonSchema7")if(o.inclusive)l(r,"minimum",o.value,o.message,n);else l(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;l(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)l(r,"maximum",o.value,o.message,n);else l(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;l(r,"maximum",o.value,o.message,n)}break;case"multipleOf":l(r,"multipleOf",o.value,o.message,n);break}return r}var Q=a(()=>{b()});function _t(){return{type:"boolean"}}var X=()=>{};function M(t,n){return i(t.type._def,n)}var B=a(()=>{Z()});var Tt=(t,n)=>{return i(t.innerType._def,n)};var Y=a(()=>{Z()});function H(t,n,r){let o=r??n.dateStrategy;if(Array.isArray(o))return{anyOf:o.map((p,u)=>H(t,n,p))};switch(o){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return jt(t,n)}}var jt=(t,n)=>{let r={type:"integer",format:"unix-time"};if(n.target==="openApi3")return r;for(let o of t.checks)switch(o.kind){case"min":l(r,"minimum",o.value,o.message,n);break;case"max":l(r,"maximum",o.value,o.message,n);break}return r};var V=a(()=>{b()});function bt(t,n){return{...i(t.innerType._def,n),default:t.defaultValue()}}var W=a(()=>{Z()});function Nt(t,n){return n.effectStrategy==="input"?i(t.schema._def,n):g(n)}var z=a(()=>{Z();x()});function At(t){return{type:"string",enum:Array.from(t.values)}}var d=()=>{};function Pt(t,n){let r=[i(t.left._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),i(t.right._def,{...n,currentPath:[...n.currentPath,"allOf","1"]})].filter((u)=>!!u),o=n.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,p=[];return r.forEach((u)=>{if(Ct(u)){if(p.push(...u.allOf),u.unevaluatedProperties===void 0)o=void 0}else{let y=u;if("additionalProperties"in u&&u.additionalProperties===!1){let{additionalProperties:D,...e}=u;y=e}else o=void 0;p.push(y)}}),p.length?{allOf:p,...o}:void 0}var Ct=(t)=>{if("type"in t&&t.type==="string")return!1;return"allOf"in t};var F=a(()=>{Z()});function St(t,n){let r=typeof t.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string")return{type:Array.isArray(t.value)?"array":"object"};if(n.target==="openApi3")return{type:r==="bigint"?"integer":r,enum:[t.value]};return{type:r==="bigint"?"integer":r,const:t.value}}var G=()=>{};function U(t,n){let r={type:"string"};if(t.checks)for(let o of t.checks)switch(o.kind){case"min":l(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n);break;case"max":l(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"email":switch(n.emailStrategy){case"format:email":T(r,"email",o.message,n);break;case"format:idn-email":T(r,"idn-email",o.message,n);break;case"pattern:zod":v(r,_.email,o.message,n);break}break;case"url":T(r,"uri",o.message,n);break;case"uuid":T(r,"uuid",o.message,n);break;case"regex":v(r,o.regex,o.message,n);break;case"cuid":v(r,_.cuid,o.message,n);break;case"cuid2":v(r,_.cuid2,o.message,n);break;case"startsWith":v(r,RegExp(`^${C(o.value,n)}`),o.message,n);break;case"endsWith":v(r,RegExp(`${C(o.value,n)}$`),o.message,n);break;case"datetime":T(r,"date-time",o.message,n);break;case"date":T(r,"date",o.message,n);break;case"time":T(r,"time",o.message,n);break;case"duration":T(r,"duration",o.message,n);break;case"length":l(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n),l(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"includes":{v(r,RegExp(C(o.value,n)),o.message,n);break}case"ip":{if(o.version!=="v6")T(r,"ipv4",o.message,n);if(o.version!=="v4")T(r,"ipv6",o.message,n);break}case"base64url":v(r,_.base64url,o.message,n);break;case"jwt":v(r,_.jwt,o.message,n);break;case"cidr":{if(o.version!=="v6")v(r,_.ipv4Cidr,o.message,n);if(o.version!=="v4")v(r,_.ipv6Cidr,o.message,n);break}case"emoji":v(r,_.emoji(),o.message,n);break;case"ulid":{v(r,_.ulid,o.message,n);break}case"base64":{switch(n.base64Strategy){case"format:binary":{T(r,"binary",o.message,n);break}case"contentEncoding:base64":{l(r,"contentEncoding","base64",o.message,n);break}case"pattern:zod":{v(r,_.base64,o.message,n);break}}break}case"nanoid":v(r,_.nanoid,o.message,n);case"toLowerCase":case"toUpperCase":case"trim":break;default:((p)=>{})(o)}return r}function C(t,n){return n.patternStrategy==="escape"?kt(t):t}function kt(t){let n="";for(let r=0;r<t.length;r++){if(!Rt.has(t[r]))n+="\\";n+=t[r]}return n}function T(t,n,r,o){if(t.format||t.anyOf?.some((p)=>p.format)){if(!t.anyOf)t.anyOf=[];if(t.format){if(t.anyOf.push({format:t.format,...t.errorMessage&&o.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage){if(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.anyOf.push({format:n,...r&&o.errorMessages&&{errorMessage:{format:r}}})}else l(t,"format",n,r,o)}function v(t,n,r,o){if(t.pattern||t.allOf?.some((p)=>p.pattern)){if(!t.allOf)t.allOf=[];if(t.pattern){if(t.allOf.push({pattern:t.pattern,...t.errorMessage&&o.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage){if(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.allOf.push({pattern:Ot(n,o),...r&&o.errorMessages&&{errorMessage:{pattern:r}}})}else l(t,"pattern",Ot(n,o),r,o)}function Ot(t,n){if(!n.applyRegexFlags||!t.flags)return t.source;let r={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},o=r.i?t.source.toLowerCase():t.source,p="",u=!1,y=!1,D=!1;for(let e=0;e<o.length;e++){if(u){p+=o[e],u=!1;continue}if(r.i){if(y){if(o[e].match(/[a-z]/)){if(D)p+=o[e],p+=`${o[e-2]}-${o[e]}`.toUpperCase(),D=!1;else if(o[e+1]==="-"&&o[e+2]?.match(/[a-z]/))p+=o[e],D=!0;else p+=`${o[e]}${o[e].toUpperCase()}`;continue}}else if(o[e].match(/[a-z]/)){p+=`[${o[e]}${o[e].toUpperCase()}]`;continue}}if(r.m){if(o[e]==="^"){p+=`(^|(?<=[\r
2
- ]))`;continue}else if(o[e]==="$"){p+=`($|(?=[\r
3
- ]))`;continue}}if(r.s&&o[e]==="."){p+=y?`${o[e]}\r
4
- `:`[${o[e]}\r
5
- ]`;continue}if(p+=o[e],o[e]==="\\")u=!0;else if(y&&o[e]==="]")y=!1;else if(!y&&o[e]==="[")y=!0}try{new RegExp(p)}catch{return console.warn(`Could not convert regex pattern at ${n.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),t.source}return p}var j=void 0,_,Rt;var w=a(()=>{b();_={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(j===void 0)j=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return j},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};Rt=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function E(t,n){if(n.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if(n.target==="openApi3"&&t.keyType?._def.typeName===m.ZodEnum)return{type:"object",required:t.keyType._def.values,properties:t.keyType._def.values.reduce((o,p)=>({...o,[p]:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"properties",p]})??g(n)}),{}),additionalProperties:n.rejectedAdditionalProperties};let r={type:"object",additionalProperties:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"additionalProperties"]})??n.allowedAdditionalProperties};if(n.target==="openApi3")return r;if(t.keyType?._def.typeName===m.ZodString&&t.keyType._def.checks?.length){let{type:o,...p}=U(t.keyType._def,n);return{...r,propertyNames:p}}else if(t.keyType?._def.typeName===m.ZodEnum)return{...r,propertyNames:{enum:t.keyType._def.values}};else if(t.keyType?._def.typeName===m.ZodBranded&&t.keyType._def.type._def.typeName===m.ZodString&&t.keyType._def.type._def.checks?.length){let{type:o,...p}=M(t.keyType._def,n);return{...r,propertyNames:p}}return r}var K=a(()=>{O();Z();w();B();x()});function It(t,n){if(n.mapStrategy==="record")return E(t,n);let r=i(t.keyType._def,{...n,currentPath:[...n.currentPath,"items","items","0"]})||g(n),o=i(t.valueType._def,{...n,currentPath:[...n.currentPath,"items","items","1"]})||g(n);return{type:"array",maxItems:125,items:{type:"array",items:[r,o],minItems:2,maxItems:2}}}var R=a(()=>{Z();K();x()});function Lt(t){let n=t.values,o=Object.keys(t.values).filter((u)=>{return typeof n[n[u]]!=="number"}).map((u)=>n[u]),p=Array.from(new Set(o.map((u)=>typeof u)));return{type:p.length===1?p[0]==="string"?"string":"number":["string","number"],enum:o}}var k=()=>{};function Mt(t){return t.target==="openAi"?void 0:{not:g({...t,currentPath:[...t.currentPath,"not"]})}}var c=a(()=>{x()});function Bt(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var h=()=>{};function wt(t,n){if(n.target==="openApi3")return Ut(t,n);let r=t.options instanceof Map?Array.from(t.options.values()):t.options;if(r.every((o)=>(o._def.typeName in A)&&(!o._def.checks||!o._def.checks.length))){let o=r.reduce((p,u)=>{let y=A[u._def.typeName];return y&&!p.includes(y)?[...p,y]:p},[]);return{type:o.length>1?o:o[0]}}else if(r.every((o)=>o._def.typeName==="ZodLiteral"&&!o.description)){let o=r.reduce((p,u)=>{let y=typeof u._def.value;switch(y){case"string":case"number":case"boolean":return[...p,y];case"bigint":return[...p,"integer"];case"object":if(u._def.value===null)return[...p,"null"];case"symbol":case"undefined":case"function":default:return p}},[]);if(o.length===r.length){let p=o.filter((u,y,D)=>D.indexOf(u)===y);return{type:p.length>1?p:p[0],enum:r.reduce((u,y)=>{return u.includes(y._def.value)?u:[...u,y._def.value]},[])}}}else if(r.every((o)=>o._def.typeName==="ZodEnum"))return{type:"string",enum:r.reduce((o,p)=>[...o,...p._def.values.filter((u)=>!o.includes(u))],[])};return Ut(t,n)}var A,Ut=(t,n)=>{let r=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((o,p)=>i(o._def,{...n,currentPath:[...n.currentPath,"anyOf",`${p}`]})).filter((o)=>!!o&&(!n.strictUnions||typeof o==="object"&&Object.keys(o).length>0));return r.length?{anyOf:r}:void 0};var $=a(()=>{Z();A={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function Et(t,n){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(t.innerType._def.typeName)&&(!t.innerType._def.checks||!t.innerType._def.checks.length)){if(n.target==="openApi3")return{type:A[t.innerType._def.typeName],nullable:!0};return{type:[A[t.innerType._def.typeName],"null"]}}if(n.target==="openApi3"){let o=i(t.innerType._def,{...n,currentPath:[...n.currentPath]});if(o&&"$ref"in o)return{allOf:[o],nullable:!0};return o&&{...o,nullable:!0}}let r=i(t.innerType._def,{...n,currentPath:[...n.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}var f=a(()=>{Z();$()});function Kt(t,n){let r={type:"number"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"int":r.type="integer",J(r,"type",o.message,n);break;case"min":if(n.target==="jsonSchema7")if(o.inclusive)l(r,"minimum",o.value,o.message,n);else l(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;l(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)l(r,"maximum",o.value,o.message,n);else l(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;l(r,"maximum",o.value,o.message,n)}break;case"multipleOf":l(r,"multipleOf",o.value,o.message,n);break}return r}var s=a(()=>{b()});function $t(t,n){let r=n.target==="openAi",o={type:"object",properties:{}},p=[],u=t.shape();for(let D in u){let e=u[D];if(e===void 0||e._def===void 0)continue;let N=ht(e);if(N&&r){if(e._def.typeName==="ZodOptional")e=e._def.innerType;if(!e.isNullable())e=e.nullable();N=!1}let P=i(e._def,{...n,currentPath:[...n.currentPath,"properties",D],propertyPath:[...n.currentPath,"properties",D]});if(P===void 0)continue;if(o.properties[D]=P,!N)p.push(D)}if(p.length)o.required=p;let y=ct(t,n);if(y!==void 0)o.additionalProperties=y;return o}function ct(t,n){if(t.catchall._def.typeName!=="ZodNever")return i(t.catchall._def,{...n,currentPath:[...n.currentPath,"additionalProperties"]});switch(t.unknownKeys){case"passthrough":return n.allowedAdditionalProperties;case"strict":return n.rejectedAdditionalProperties;case"strip":return n.removeAdditionalStrategy==="strict"?n.allowedAdditionalProperties:n.rejectedAdditionalProperties}}function ht(t){try{return t.isOptional()}catch{return!0}}var tt=a(()=>{Z()});var Jt=(t,n)=>{if(n.currentPath.toString()===n.propertyPath?.toString())return i(t.innerType._def,n);let r=i(t.innerType._def,{...n,currentPath:[...n.currentPath,"anyOf","1"]});return r?{anyOf:[{not:g(n)},r]}:g(n)};var nt=a(()=>{Z();x()});var qt=(t,n)=>{if(n.pipeStrategy==="input")return i(t.in._def,n);else if(n.pipeStrategy==="output")return i(t.out._def,n);let r=i(t.in._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),o=i(t.out._def,{...n,currentPath:[...n.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,o].filter((p)=>p!==void 0)}};var rt=a(()=>{Z()});function Qt(t,n){return i(t.type._def,n)}var ot=a(()=>{Z()});function Xt(t,n){let o={type:"array",uniqueItems:!0,items:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"items"]})};if(t.minSize)l(o,"minItems",t.minSize.value,t.minSize.message,n);if(t.maxSize)l(o,"maxItems",t.maxSize.value,t.maxSize.message,n);return o}var pt=a(()=>{b();Z()});function Yt(t,n){if(t.rest)return{type:"array",minItems:t.items.length,items:t.items.map((r,o)=>i(r._def,{...n,currentPath:[...n.currentPath,"items",`${o}`]})).reduce((r,o)=>o===void 0?r:[...r,o],[]),additionalItems:i(t.rest._def,{...n,currentPath:[...n.currentPath,"additionalItems"]})};else return{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((r,o)=>i(r._def,{...n,currentPath:[...n.currentPath,"items",`${o}`]})).reduce((r,o)=>o===void 0?r:[...r,o],[])}}var it=a(()=>{Z()});function Ht(t){return{not:g(t)}}var ut=a(()=>{x()});function Vt(t){return g(t)}var mt=a(()=>{x()});var Wt=(t,n)=>{return i(t.innerType._def,n)};var at=a(()=>{Z()});var zt=(t,n,r)=>{switch(n){case m.ZodString:return U(t,r);case m.ZodNumber:return Kt(t,r);case m.ZodObject:return $t(t,r);case m.ZodBigInt:return xt(t,r);case m.ZodBoolean:return _t();case m.ZodDate:return H(t,r);case m.ZodUndefined:return Ht(r);case m.ZodNull:return Bt(r);case m.ZodArray:return vt(t,r);case m.ZodUnion:case m.ZodDiscriminatedUnion:return wt(t,r);case m.ZodIntersection:return Pt(t,r);case m.ZodTuple:return Yt(t,r);case m.ZodRecord:return E(t,r);case m.ZodLiteral:return St(t,r);case m.ZodEnum:return At(t);case m.ZodNativeEnum:return Lt(t);case m.ZodNullable:return Et(t,r);case m.ZodOptional:return Jt(t,r);case m.ZodMap:return It(t,r);case m.ZodSet:return Xt(t,r);case m.ZodLazy:return()=>t.getter()._def;case m.ZodPromise:return Qt(t,r);case m.ZodNaN:case m.ZodNever:return Mt(r);case m.ZodEffects:return Nt(t,r);case m.ZodAny:return g(r);case m.ZodUnknown:return Vt(r);case m.ZodDefault:return bt(t,r);case m.ZodBranded:return M(t,r);case m.ZodReadonly:return Wt(t,r);case m.ZodCatch:return Tt(t,r);case m.ZodPipeline:return qt(t,r);case m.ZodFunction:case m.ZodVoid:case m.ZodSymbol:return;default:return((o)=>{return})(n)}};var et=a(()=>{O();x();q();Q();X();B();Y();V();W();z();d();F();G();R();k();c();h();f();s();tt();nt();rt();ot();K();pt();w();it();ut();$();mt();at()});function i(t,n,r=!1){let o=n.seen.get(t);if(n.override){let D=n.override?.(t,n,o,r);if(D!==gt)return D}if(o&&!r){let D=ft(o,n);if(D!==void 0)return D}let p={def:t,path:n.currentPath,jsonSchema:void 0};n.seen.set(t,p);let u=zt(t,t.typeName,n),y=typeof u==="function"?i(u(),n):u;if(y)st(t,n,y);if(n.postProcess){let D=n.postProcess(y,t,n);return p.jsonSchema=y,D}return p.jsonSchema=y,y}var ft=(t,n)=>{switch(n.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:I(n.currentPath,t.path)};case"none":case"seen":{if(t.path.length<n.currentPath.length&&t.path.every((r,o)=>n.currentPath[o]===r))return console.warn(`Recursive reference detected at ${n.currentPath.join("/")}! Defaulting to any`),g(n);return n.$refStrategy==="seen"?g(n):void 0}}},st=(t,n,r)=>{if(t.description){if(r.description=t.description,n.markdownDescription)r.markdownDescription=t.description}return r};var Z=a(()=>{S();et();L();x()});var dt=(t)=>{let n=Zt(t),r=n.name!==void 0?[...n.basePath,n.definitionPath,n.name]:n.basePath;return{...n,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([o,p])=>[p._def,{def:p._def,path:[...n.basePath,n.definitionPath,o],jsonSchema:void 0}]))}};var lt=a(()=>{S()});var tn=(t,n)=>{let r=dt(n),o=typeof n==="object"&&n.definitions?Object.entries(n.definitions).reduce((e,[N,P])=>({...e,[N]:i(P._def,{...r,currentPath:[...r.basePath,r.definitionPath,N]},!0)??g(r)}),{}):void 0,p=typeof n==="string"?n:n?.nameStrategy==="title"?void 0:n?.name,u=i(t._def,p===void 0?r:{...r,currentPath:[...r.basePath,r.definitionPath,p]},!1)??g(r),y=typeof n==="object"&&n.name!==void 0&&n.nameStrategy==="title"?n.name:void 0;if(y!==void 0)u.title=y;if(r.flags.hasReferencedOpenAiAnyType){if(!o)o={};if(!o[r.openAiAnyTypeName])o[r.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:r.$refStrategy==="relative"?"1":[...r.basePath,r.definitionPath,r.openAiAnyTypeName].join("/")}}}let D=p===void 0?o?{...u,[r.definitionPath]:o}:u:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,p].join("/"),[r.definitionPath]:{...o,[p]:u}};if(r.target==="jsonSchema7")D.$schema="http://json-schema.org/draft-07/schema#";else if(r.target==="jsonSchema2019-09"||r.target==="openAi")D.$schema="https://json-schema.org/draft/2019-09/schema#";if(r.target==="openAi"&&(("anyOf"in D)||("oneOf"in D)||("allOf"in D)||("type"in D)&&Array.isArray(D.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return D};var yt=a(()=>{Z();lt();x()});var Ft=()=>{};var nn=a(()=>{yt();S();lt();b();L();Z();Ft();x();q();Q();X();B();Y();V();W();z();d();F();G();R();k();c();h();f();s();tt();nt();rt();ot();at();K();pt();w();it();ut();$();mt();et();yt()});
6
- export{tn as kX,nn as lX};
@@ -1,2 +0,0 @@
1
- import{Cba as M,Fba as L,Xba as G,Yba as h,aca as v,bca as P,eca as k,oca as f}from"./cli-0.1.12-vzga2are.mjs";import{Jea as E,Sea as x}from"./cli-0.1.12-4wwhk7dc.mjs";import{Bha as u,oha as T}from"./cli-0.1.12-ra3sby5b.mjs";import{Una as C}from"./cli-0.1.12-1hv04bp7.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudioMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudioMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudioMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
2
- export{Vj as Gb,Wj as Hb,e as Ib,Xj as Jb,Yj as Kb,jj as Lb};
@@ -1,2 +0,0 @@
1
- import{IV as x}from"./cli-0.1.12-5ye0t0xd.mjs";import{l5 as q}from"./cli-0.1.12-y9598sy3.mjs";import{qfa as f}from"./cli-0.1.12-g8mny195.mjs";import{Bha as p}from"./cli-0.1.12-ra3sby5b.mjs";import{Una as d}from"./cli-0.1.12-1hv04bp7.mjs";function N(){return!1}async function O(){return!1}function P(){return!1}function Q(){return!0}function R(){return null}var z=d(()=>{f();q();p();x()});
2
- export{N as nf,O as of,P as pf,Q as qf,R as rf,z as sf};
@@ -1,2 +0,0 @@
1
- import{yna as F}from"./cli-0.1.12-xanhpra7.mjs";import{Ona as w}from"./cli-0.1.12-qf1kw5cr.mjs";import{Sna as h}from"./cli-0.1.12-1hv04bp7.mjs";var P=h((p)=>{var t=w(),l=F();function d(e){try{let o=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));return o.delete("CONFIG"),o.delete("CONFIG_PREFIX_SEPARATOR"),o.delete("ENV"),[...o].join(", ")}catch(o){return e}}var u=(e,o)=>async()=>{try{let r=e(process.env,o);if(r===void 0)throw Error();return r}catch(r){throw new t.CredentialsProviderError(r.message||`Not found in ENV: ${d(e.toString())}`,{logger:o?.logger})}},C=(e,{preferredFile:o="config",...r}={})=>async()=>{let n=l.getProfileName(r),{configFile:i,credentialsFile:c}=await l.loadSharedConfigFiles(r),s=c[n]||{},g=i[n]||{},m=o==="config"?{...s,...g}:{...g,...s};try{let f=e(m,o==="config"?i:c);if(f===void 0)throw Error();return f}catch(a){throw new t.CredentialsProviderError(a.message||`Not found in config files w/ profile [${n}]: ${d(e.toString())}`,{logger:r.logger})}},y=(e)=>typeof e==="function",E=(e)=>y(e)?async()=>await e():t.fromStatic(e),N=({environmentVariableSelector:e,configFileSelector:o,default:r},n={})=>{let{signingName:i,logger:c}=n,s={signingName:i,logger:c};return t.memoize(t.chain(u(e,s),C(o,n),E(r)))};p.loadConfig=N});
2
- export{P as xna};
@@ -1,2 +0,0 @@
1
- import{kc as t,lc as pJ}from"./cli-0.1.12-z8eybrhz.mjs";import{qg as r,rg as DJ}from"./cli-0.1.12-xekep4qg.mjs";import{$D as yJ,$t as _J,Aw as c,Bw as MJ,Dx as a,Jx as AJ,PO as n,Rn as h,SO as OJ,YD as PJ,ZD as jJ,_D as o,_t as u,gI as I,gN as RJ,rJ as P,ri as zJ,ro as VJ,to as x,vE as l,vw as T,wE as HJ,zL as i,zw as g}from"./cli-0.1.12-242der7s.mjs";import{A3 as YJ}from"./cli-0.1.12-y9598sy3.mjs";import{I7 as B,Kaa as m,N7 as H,Saa as f,Taa as UJ,cba as NJ,x7 as O,y7 as wJ,y9 as QJ}from"./cli-0.1.12-vzga2are.mjs";import{eea as ZJ}from"./cli-0.1.12-g3ycbjxk.mjs";import{qfa as KJ}from"./cli-0.1.12-g8mny195.mjs";import{gga as R,hga as y}from"./cli-0.1.12-6x2mnahn.mjs";import{Mga as C,Sga as qJ,Wga as V,_ga as BJ,eha as d,hha as LJ}from"./cli-0.1.12-rzpc0tr9.mjs";import{Bha as WJ,oha as U}from"./cli-0.1.12-ra3sby5b.mjs";import{Tka as b,Yma as j,ika as F}from"./cli-0.1.12-pm5cwtxh.mjs";import{Rna as IJ}from"./cli-0.1.12-1hv04bp7.mjs";yJ();DJ();j();KJ();y();P();zJ();x();QJ();ZJ();C();H();I();YJ();qJ();h();P();x();H();C();I();h();VJ();function D(){}j();y();wJ();LJ();WJ();BJ();_J();NJ();H();g();HJ();RJ();MJ();UJ();AJ();OJ();import{join as Q}from"path";var TJ=30;function L(){let q=((m()||{}).cleanupPeriodDays??TJ)*24*60*60*1000;return new Date(Date.now()-q)}function vJ(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function FJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,q){let $={messages:0,errors:0};try{let G=await V().readdir(X);for(let K of G)try{if(FJ(K.name)<J)if(await V().unlink(Q(X,K.name)),q)$.messages++;else $.errors++}catch(Y){B(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")B(G)}return $}async function bJ(){let X=V(),J=L(),q=O.errors(),$=O.baseLogs(),G=await p(q,J,!1);try{let K;try{K=await X.readdir($)}catch{return G}let Y=K.filter((Z)=>Z.isDirectory()&&Z.name.startsWith("mcp-logs-")).map((Z)=>Q($,Z.name));for(let Z of Y)G=vJ(G,await p(Z,J,!0)),await z(Z,X)}catch(K){if(K instanceof Error&&"code"in K&&K.code!=="ENOENT")B(K)}return G}async function w(X,J,q){if((await q.stat(X)).mtime<J)return await q.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function SJ(){let X=L(),J={messages:0,errors:0},q=i(),$=V(),G;try{G=await $.readdir(q)}catch{return J}for(let K of G){if(!K.isDirectory())continue;let Y=Q(q,K.name),Z;try{Z=await $.readdir(Y)}catch{J.errors++;continue}for(let W of Z)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await w(Q(Y,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Q(Y,W.name),N=Q(M,a),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await w(Q(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Q(N,_.name),k;try{k=await $.readdir(A)}catch{continue}for(let E of k){if(!E.isFile())continue;try{if(await w(Q(A,E.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Y,$)}return J}async function kJ(X,J,q=!0){let $=L(),G={messages:0,errors:0},K=V(),Y;try{Y=await K.readdir(X)}catch{return G}for(let Z of Y){if(!Z.isFile()||!Z.name.endsWith(J))continue;try{if(await w(Q(X,Z.name),$,K))G.messages++}catch{G.errors++}}if(q)await z(X,K);return G}function EJ(){let X=Q(U(),"plans");return kJ(X,".md")}async function CJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"file-history"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));await Promise.all(Y.map(async(Z)=>{try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(G,q)}catch($){B($)}return J}async function hJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"session-env"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));for(let Z of Y)try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(G,q)}catch($){B($)}return J}async function xJ(){let X=L(),J={messages:0,errors:0},q=V(),$=Q(U(),"debug"),G;try{G=await q.readdir($)}catch{return J}for(let K of G){if(!K.isFile()||!K.name.endsWith(".txt")||K.name==="latest")continue;try{if(await w(Q($,K.name),X,q))J.messages++}catch{J.errors++}}return J}async function s(){let{errors:X}=c();if(X.length>0&&f("cleanupPeriodDays")){d("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await bJ(),await SJ(),await EJ(),await CJ(),await hJ(),await xJ(),await u(),await l(L());let J=await n(L());if(J>0)R("tengu_worktree_cleanup",{removed:J})}g();pJ();var dJ=(jJ(),IJ(PJ));var v=600000;function iX(){r(),D(),dJ.initExtractMemories(),o(),t();let X=!0;async function J(){if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await s();if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await T()}setTimeout(J,v).unref()}
2
- export{iX as S};
@@ -1,4 +0,0 @@
1
- import{$j as pJ,Kh as dJ,LN as TJ,Tj as DJ,Vj as cJ,Zj as IJ,_j as BJ,sO as jJ,wO as ZV}from"./cli-0.1.12-242der7s.mjs";import{Fba as NJ,I7 as L,Jaa as WJ,N7 as kJ,Q8 as fJ,Taa as uJ,W7 as c,X7 as PJ,Yba as hJ,_8 as qJ,c9 as mJ,q8 as VJ,s8 as p}from"./cli-0.1.12-vzga2are.mjs";import{dea as j,eea as zJ}from"./cli-0.1.12-g3ycbjxk.mjs";import{gga as f,hga as gJ}from"./cli-0.1.12-6x2mnahn.mjs";import{Gga as e,Mga as SJ,Wga as JJ,_ga as bJ,eha as Q,hha as yJ}from"./cli-0.1.12-rzpc0tr9.mjs";import{bja as AJ,cja as wJ}from"./cli-0.1.12-pm5cwtxh.mjs";import{Qna as LJ,Una as XJ}from"./cli-0.1.12-1hv04bp7.mjs";class d{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await y(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let H=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,H)W(),H=!1;await y(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=CJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let H=W.charCodeAt(Y);if(H>=97&&H<=122)V|=1<<H-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),H=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);H[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,X=[],N=-1/0,{paths:D,lowerPaths:q,charBits:x,pathLens:U,readyCount:m}=this;J:for(let M=0;M<m;M++){if((x[M]&$)!==$)continue;let B=Z?D[M]:q[M],E=B.indexOf(H[0]);if(E===-1)continue;b[0]=E;let R=0,g=0,u=E;for(let A=1;A<Y;A++){if(E=B.indexOf(H[A],u+1),E===-1)continue J;b[A]=E;let F=E-u-1;if(F===0)g+=4;else R+=3+F*1;u=E}if(X.length===W&&_+g-R<=N)continue;let S=D[M],UJ=U[M],T=Y*16+g-R;T+=HJ(S,b[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,b[A],!1);if(T+=Math.max(0,32-(UJ>>2)),X.length<W){if(X.push({path:S,fuzzScore:T}),X.length===W)X.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=X[0].fuzzScore}else if(T>N){let A=0,F=X.length;while(A<F){let h=A+F>>1;if(X[h].fuzzScore<T)A=h+1;else F=h}X.splice(A,0,{path:S,fuzzScore:T}),X.shift(),N=X[0].fuzzScore}}X.sort((M,B)=>B.fuzzScore-M.fuzzScore);let I=X.length,w=Math.max(I,1),z=Array(I);for(let M=0;M<I;M++){let B=X[M].path,E=M/w,R=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:R}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(vJ(V))return 8;if(GJ(V)&&RJ(J.charCodeAt(W)))return 6;return 0}function vJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function RJ(J){return J>=65&&J<=90}function y(){return new Promise((J)=>setImmediate(J))}function CJ(J,W){let Z=new Set;for(let Y of J){let H=Y.length;for(let _=0;_<Y.length;_++){let X=Y.charCodeAt(_);if(X===47||X===92){H=_;break}}let $=Y.slice(0,H);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,H)=>{let $=Y.length-H.length;if($!==0)return $;return Y<H?-1:Y>H?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var _J=4,b;var QJ=XJ(()=>{b=new Int32Array(64)});import{statSync as lJ}from"fs";import*as O from"path";function l(){if(!K)K=new d;return K}function UV(){K=null,v=null,G++,k=null,C=[],ZJ=[],$J=[],YJ.clear(),n=null,s=null,o=0,a=null,i=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let H=J[Y];for(let $=0;$<H.length;$++)V=(V^H.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let H=0;H<Y.length;H++)V=(V^Y.charCodeAt(H))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function nJ(){let J=VJ(j());if(!J)return null;try{return lJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function MJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function sJ(J){if(J.length===0)return;if(!K||C.length===0)return;let W=await FJ(J),Z=[...C,...ZJ,...$J,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${C.length} tracked + ${J.length} untracked files`)}async function OJ(J,W){let Z=`${J}:${W}`;if(s===Z)return n;let V=JJ(),Y=[".ignore",".rgignore"],H=[...new Set([J,W])],$=KJ.default(),_=!1,X=H.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(X.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${X[q]}`)}let D=_?$:null;return n=D,s=Z,D}async function oJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=VJ(j());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=j(),H=Date.now(),$=await c(p(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-H}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
2
- `).filter(Boolean),X=MJ(_,V,Y),N=await OJ(V,Y);if(N){let q=X.length;X=N.filter(X),Q(`[FileIndex] applied ignore patterns: ${q} -> ${X.length} files`)}C=X;let D=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${X.length} tracked files in ${D}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:X.length,tracked_count:X.length,untracked_count:0,duration_ms:D}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=G;k=c(p(),q,{timeout:1e4,cwd:V}).then(async(U)=>{if(x!==G)return;if(U.code===0){let m=U.stdout.trim().split(`
3
- `).filter(Boolean),I=MJ(m,V,Y),w=await OJ(V,Y);if(w&&I.length>0){let z=I.length;I=w.filter(I),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${I.length} files`)}Q(`[FileIndex] background untracked fetch: ${I.length} files`),sJ(I)}}).catch((U)=>{Q(`[FileIndex] background untracked fetch failed: ${U}`)}).finally(()=>{k=null})}return X}catch(Y){return Q(`[FileIndex] git ls-files error: ${e(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(aJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>_J)await y(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function aJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let H=O.dirname(J[Y]);while(H!=="."&&!V.has(H)){let $=O.dirname(H);if($===H)break;V.add(H),H=$}}}async function iJ(J){return(await Promise.all(IJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function rJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await oJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;Q("[FileIndex] git ls-files returned null, falling back to ripgrep");let V=Date.now(),Y=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)Y.push("--no-ignore-vcs");let $=(await DJ(Y,".",J)).map((X)=>O.relative(j(),X)),_=Date.now()-V;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function tJ(){let J=AbortSignal.timeout(1e4),W=l();try{let Z=WJ(),V=NJ(),Y=Z.respectGitignore??V.respectGitignore??!0,H=j(),[$,_]=await Promise.all([rJ(J,Y),iJ(H)]);ZJ=_;let X=[...$,..._],N=await FJ(X);$J=N;let D=[...N,...X],q=xJ(D);if(q!==i)await W.loadFromFileListAsync(D).done,i=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){L(Z)}return W}function eJ(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function vV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=eJ(Z,Y),Z==="")return""}return Z}function r(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function JV(J,W){return J.search(W,t).map((V)=>r(V.path,V.score))}function EJ(){if(v)return;let J=nJ();if(K){if(!(J!==null&&J!==a)&&Date.now()-o<VV)return}let W=G,Z=Date.now();l(),v=tJ().then((V)=>{if(W!==G)return V;return v=null,YJ.emit(),a=J,o=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${e(V)}`),L(V),W===G)v=null;return l()})}async function WV(){let J=JJ(),W=j();try{return(await J.readdir(W)).map((V)=>{let Y=O.join(W,V.name),H=O.relative(W,Y);return V.isDirectory()?H+O.sep:H})}catch(Z){return L(Z),[]}}async function GV(J,W=!1){if(!J&&!W)return[];if(WJ().fileSuggestion?.type==="command"){let V={...TJ(),query:J};return(await jJ(V)).slice(0,t).map(r)}if(J===""||J==="."||J==="./"){let V=await WV();return EJ(),V.slice(0,t).map(r)}let Z=Date.now();try{let V=v!==null;EJ();let Y=J,H="."+O.sep;if(J.startsWith(H))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=K?JV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return L(V),[]}}function RV(J,W,Z,V,Y,H){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let X=V+$.length;H(X)}var KJ,K=null,v=null,YJ,jV,G=0,k=null,C,ZJ,$J,n=null,s=null,o=0,a=null,i=null,P=null,t=15,VV=5000;var YV=XJ(()=>{pJ();QJ();gJ();hJ();zJ();yJ();SJ();PJ();bJ();fJ();ZV();kJ();mJ();cJ();uJ();wJ();KJ=LJ(dJ(),1);YJ=AJ(),jV=YJ.subscribe,C=[],ZJ=[],$J=[]});
4
- export{jV as ig,UV as jg,vV as kg,EJ as lg,GV as mg,RV as ng,YV as og};
@@ -1,2 +0,0 @@
1
- import{Una as z}from"./cli-0.1.12-1hv04bp7.mjs";var g=()=>null,c=class{},q,A,l,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O,T="service.name",h="service.version",x="service.name",d="service.version",f,m,t,e,C;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),l=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P=g,Q={SUCCESS:0,FAILED:1},R=g,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w=c,y={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},N={active:g,with:(v,j)=>j()},O={OK:0,ERROR:1,UNSET:2},f={CUMULATIVE:0,DELTA:1},m={HISTOGRAM:0,SUM:1,GAUGE:2},t={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},e=c,C={}});
2
- export{D as xg,E as yg,F as zg,G as Ag,H as Bg,I as Cg,J as Dg,K as Eg,L as Fg,M as Gg,P as Hg,Q as Ig,R as Jg,S as Kg,U as Lg,V as Mg,W as Ng,X as Og,Y as Pg,Z as Qg,_ as Rg,$ as Sg,b as Tg,i as Ug,k as Vg,u as Wg,w as Xg,y as Yg,N as Zg,O as _g,T as $g,h as ah,x as bh,d as ch,f as dh,m as eh,t as fh,e as gh,C as hh,l as ih,B as jh};
@@ -1,2 +0,0 @@
1
- import{jg as f,og as c}from"./cli-0.1.12-baxk5jyy.mjs";import{pg as F,rg as s}from"./cli-0.1.12-xekep4qg.mjs";import{$i as $,$t as m,Cx as S,EF as G,HF as o,Hy as M,Hz as W,IE as x,Iy as d,Iz as C,JE as i,Kr as V,Lr as g,Mi as Z,NA as j,OA as n,Zi as P,Zt as E,_i as _,aj as B,bj as N,cj as D,lL as u,pA as b,pm as U,qA as h,qm as p,si as Y,tJ as R,ti as A,vJ as l,vL as t,xx as L}from"./cli-0.1.12-242der7s.mjs";import{l6 as Q,r6 as k}from"./cli-0.1.12-mr41yjpw.mjs";import{A9 as v,_7 as O,f8 as I,z9 as X}from"./cli-0.1.12-vzga2are.mjs";import{Ema as K,Yma as T,sma as J}from"./cli-0.1.12-pm5cwtxh.mjs";import{Una as y,Vna as w}from"./cli-0.1.12-1hv04bp7.mjs";function Mq(H=new Set){let z=H.size>0;if(N.cache.clear?.(),B.cache.clear?.(),$.cache.clear?.(),Y.cache.clear?.(),f(),u(),!z)U();if(_(null),K(null),x(),G(),Z("session_start"),E(),X.clear(),M(),!z)L();if(Q(),R(),!z)V();J(H),O(),j(),W(),F(),b(),import("./utils-0.1.12-3f08ztd2.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-0.1.12-qesye0kj.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-0.1.12-1ckjzc8p.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-0.1.12-786vk11a.mjs").then(({clearPromptCache:q})=>q())}var r=y(()=>{T();t();A();D();c();S();g();p();d();i();C();s();n();o();l();P();k();I();v();m();h()});
2
- export{Mq as gg,r as hg};