@claudiolabs/claudio 0.1.14 → 0.2.0

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 (703) hide show
  1. package/dist/chunks/AgentTool-0.2.0-g1wqt0s3.mjs +1 -0
  2. package/dist/chunks/App-0.2.0-ntfv12g0.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.2.0-2ymsvey5.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.2.0-8jec5v9r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.2.0-xvmknjn1.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.2.0-1cpe3m5c.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.2.0-851aysqd.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.2.0-v4515qqc.mjs +1 -0
  9. package/dist/chunks/{DiffDialog-0.1.14-wtx2wmbs.mjs → DiffDialog-0.2.0-kyhr5jh0.mjs} +1 -1
  10. package/dist/chunks/Doctor-0.2.0-ck3enc4g.mjs +1 -0
  11. package/dist/chunks/Grove-0.2.0-79c6g758.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.2.0-ez3ahe49.mjs +1 -0
  13. package/dist/chunks/InProcessTransport-0.2.0-9d5e65zk.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.2.0-mfrg36s6.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.2.0-n08wkb0d.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.2.0-9anh130m.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.2.0-2468pvay.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.2.0-cjpn5dkk.mjs +1 -0
  19. package/dist/chunks/REPL-0.2.0-q3fd5jfy.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.2.0-3ff000x5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.2.0-b51pr6s3.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.2.0-c3znpb7p.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.2.0-5wckmrvx.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.2.0-wdc9sxcv.mjs +1 -0
  25. package/dist/chunks/{TmuxBackend-0.1.14-175xkeyy.mjs → TmuxBackend-0.2.0-mkbxpe3a.mjs} +1 -1
  26. package/dist/chunks/ToolSearchTool-0.2.0-k7dvhq3e.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.2.0-xywdgnw5.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.2.0-6yja1haw.mjs +1 -0
  29. package/dist/chunks/add-dir-0.2.0-qg5z82ke.mjs +1 -0
  30. package/dist/chunks/agents-0.2.0-2j995rg8.mjs +3 -0
  31. package/dist/chunks/agents-0.2.0-mzww8vhq.mjs +110 -0
  32. package/dist/chunks/api-0.2.0-rfc17a1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.2.0-25ban1yy.mjs +1 -0
  34. package/dist/chunks/assistant-0.2.0-wt3sz6f5.mjs +1 -0
  35. package/dist/chunks/auth-0.2.0-p1v8yq4y.mjs +1 -0
  36. package/dist/chunks/auth-0.2.0-sh12qb2q.mjs +1 -0
  37. package/dist/chunks/{autoMode-0.1.14-jxse6h16.mjs → autoMode-0.2.0-vzqmqetr.mjs} +1 -1
  38. package/dist/chunks/backgroundHousekeeping-0.2.0-8d72paf3.mjs +1 -0
  39. package/dist/chunks/branch-0.2.0-vhf49enf.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.2.0-br2r89v9.mjs +1 -0
  41. package/dist/chunks/{btw-0.1.14-j1cexrtn.mjs → btw-0.2.0-qtwstg74.mjs} +1 -1
  42. package/dist/chunks/{buddy-0.1.14-r4nmfbke.mjs → buddy-0.2.0-5a9wzpm1.mjs} +1 -1
  43. package/dist/chunks/cacache-0.2.0-nps3what.mjs +1 -0
  44. package/dist/chunks/{cache-probe-0.1.14-zfb6aw4f.mjs → cache-probe-0.2.0-9d3hfar7.mjs} +1 -1
  45. package/dist/chunks/{cacheStats-0.1.14-15eahew3.mjs → cacheStats-0.2.0-rbr7a1xq.mjs} +1 -1
  46. package/dist/chunks/caches-0.2.0-jsvyz7k9.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.2.0-ca7jbnc4.mjs +1 -0
  48. package/dist/chunks/claudemd-0.2.0-yt6b83v9.mjs +1 -0
  49. package/dist/chunks/clear-0.2.0-5e6fb269.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.2.0-c21vszkv.mjs +1 -0
  51. package/dist/chunks/cli-0.2.0-087sjqr6.mjs +2 -0
  52. package/dist/chunks/cli-0.2.0-0cjgm41a.mjs +2 -0
  53. package/dist/chunks/cli-0.2.0-0fwa4agt.mjs +2 -0
  54. package/dist/chunks/cli-0.2.0-0nmdgd3g.mjs +2 -0
  55. package/dist/chunks/cli-0.2.0-0vvkn4c2.mjs +2 -0
  56. package/dist/chunks/{cli-0.1.14-ta3w93yb.mjs → cli-0.2.0-13sc1gtx.mjs} +2 -2
  57. package/dist/chunks/cli-0.2.0-16yt5fwn.mjs +2 -0
  58. package/dist/chunks/cli-0.2.0-1br2y5jr.mjs +2 -0
  59. package/dist/chunks/cli-0.2.0-1mbgzd60.mjs +2 -0
  60. package/dist/chunks/cli-0.2.0-1vczhepy.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.14-ba919tmj.mjs → cli-0.2.0-24bbrvmx.mjs} +1 -1
  62. package/dist/chunks/{cli-0.1.14-d1edbjh4.mjs → cli-0.2.0-280a64s9.mjs} +2 -2
  63. package/dist/chunks/cli-0.2.0-2c2rdf9b.mjs +2 -0
  64. package/dist/chunks/cli-0.2.0-2crrewfg.mjs +5 -0
  65. package/dist/chunks/{cli-0.1.14-wymtdw5f.mjs → cli-0.2.0-2edwgzmj.mjs} +1 -1
  66. package/dist/chunks/cli-0.2.0-2ppczk6v.mjs +2 -0
  67. package/dist/chunks/cli-0.2.0-35xeqadb.mjs +2 -0
  68. package/dist/chunks/cli-0.2.0-362nfwm4.mjs +5 -0
  69. package/dist/chunks/cli-0.2.0-3abr1pjj.mjs +2 -0
  70. package/dist/chunks/cli-0.2.0-3ttrh2tj.mjs +2 -0
  71. package/dist/chunks/cli-0.2.0-3y7hn5v2.mjs +2 -0
  72. package/dist/chunks/cli-0.2.0-41524wt1.mjs +2 -0
  73. package/dist/chunks/cli-0.2.0-46m4vcs3.mjs +2 -0
  74. package/dist/chunks/cli-0.2.0-48sfjp31.mjs +2 -0
  75. package/dist/chunks/cli-0.2.0-4hy8176k.mjs +2 -0
  76. package/dist/chunks/cli-0.2.0-4phx745d.mjs +2 -0
  77. package/dist/chunks/cli-0.2.0-4s3ve9jw.mjs +2 -0
  78. package/dist/chunks/cli-0.2.0-4t9h5c71.mjs +2 -0
  79. package/dist/chunks/cli-0.2.0-4vbz1xrx.mjs +2 -0
  80. package/dist/chunks/cli-0.2.0-4ve4asjv.mjs +2 -0
  81. package/dist/chunks/cli-0.2.0-514cx7c7.mjs +3 -0
  82. package/dist/chunks/cli-0.2.0-55mg69qb.mjs +2 -0
  83. package/dist/chunks/{cli-0.1.14-yphht6rx.mjs → cli-0.2.0-5a2sf5g7.mjs} +1 -1
  84. package/dist/chunks/{cli-0.1.14-heevc19y.mjs → cli-0.2.0-5rm5wnp9.mjs} +2 -2
  85. package/dist/chunks/cli-0.2.0-69bn5730.mjs +2 -0
  86. package/dist/chunks/cli-0.2.0-6dbn4mn2.mjs +2 -0
  87. package/dist/chunks/cli-0.2.0-6en16pc3.mjs +2 -0
  88. package/dist/chunks/cli-0.2.0-6scx1ptz.mjs +4 -0
  89. package/dist/chunks/cli-0.2.0-6y2zbjr4.mjs +2 -0
  90. package/dist/chunks/cli-0.2.0-715a2z01.mjs +2 -0
  91. package/dist/chunks/cli-0.2.0-7xs4mtmq.mjs +2 -0
  92. package/dist/chunks/cli-0.2.0-7zpdrxbp.mjs +2 -0
  93. package/dist/chunks/cli-0.2.0-82kqh5xm.mjs +2 -0
  94. package/dist/chunks/cli-0.2.0-847azgnr.mjs +2 -0
  95. package/dist/chunks/cli-0.2.0-8hbq2p5t.mjs +2 -0
  96. package/dist/chunks/cli-0.2.0-8wnt08ky.mjs +12 -0
  97. package/dist/chunks/cli-0.2.0-98h2e6bt.mjs +2 -0
  98. package/dist/chunks/cli-0.2.0-9ez4c6sj.mjs +6 -0
  99. package/dist/chunks/{cli-0.1.14-yfc7weqn.mjs → cli-0.2.0-9fckzgpc.mjs} +11 -11
  100. package/dist/chunks/cli-0.2.0-9jj1kcbc.mjs +2 -0
  101. package/dist/chunks/cli-0.2.0-9n89mtk3.mjs +2 -0
  102. package/dist/chunks/cli-0.2.0-9n8cdk9p.mjs +2 -0
  103. package/dist/chunks/cli-0.2.0-9t5wq1kd.mjs +2 -0
  104. package/dist/chunks/cli-0.2.0-am2e345h.mjs +2 -0
  105. package/dist/chunks/{cli-0.1.14-as1s0b0t.mjs → cli-0.2.0-amhtcvq4.mjs} +2 -2
  106. package/dist/chunks/cli-0.2.0-ar569zh3.mjs +2 -0
  107. package/dist/chunks/cli-0.2.0-arwyxqyx.mjs +2 -0
  108. package/dist/chunks/{cli-0.1.14-qzcceap6.mjs → cli-0.2.0-asc68d4g.mjs} +2 -2
  109. package/dist/chunks/cli-0.2.0-aw44dqmt.mjs +2 -0
  110. package/dist/chunks/cli-0.2.0-b1tfb8fj.mjs +2 -0
  111. package/dist/chunks/cli-0.2.0-b8a7b102.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.14-qn4ftczz.mjs → cli-0.2.0-b8hs09nv.mjs} +1 -1
  113. package/dist/chunks/{cli-0.1.14-473sgexj.mjs → cli-0.2.0-bd59jfmr.mjs} +1 -1
  114. package/dist/chunks/cli-0.2.0-bs742fy1.mjs +2 -0
  115. package/dist/chunks/cli-0.2.0-c3qvrk8y.mjs +2 -0
  116. package/dist/chunks/{cli-0.1.14-seq2fm2d.mjs → cli-0.2.0-c7ea0dry.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.14-nprcbhwn.mjs → cli-0.2.0-cabza42m.mjs} +1 -1
  118. package/dist/chunks/cli-0.2.0-ccwfmwcq.mjs +2 -0
  119. package/dist/chunks/cli-0.2.0-crn0mjsc.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.14-j5sbzwhy.mjs → cli-0.2.0-cs8e9514.mjs} +842 -972
  121. package/dist/chunks/cli-0.2.0-cst46q1r.mjs +2 -0
  122. package/dist/chunks/cli-0.2.0-d4ajkte5.mjs +2 -0
  123. package/dist/chunks/{cli-0.1.14-stv1d0q3.mjs → cli-0.2.0-da216rmz.mjs} +2 -2
  124. package/dist/chunks/cli-0.2.0-daxqaqx9.mjs +2 -0
  125. package/dist/chunks/cli-0.2.0-dsa5edrn.mjs +2 -0
  126. package/dist/chunks/cli-0.2.0-dtsxeqwx.mjs +17 -0
  127. package/dist/chunks/cli-0.2.0-e184jeam.mjs +2 -0
  128. package/dist/chunks/{cli-0.1.14-2mzb5ath.mjs → cli-0.2.0-e9xwjcb3.mjs} +2 -2
  129. package/dist/chunks/{cli-0.1.14-ftjxb57b.mjs → cli-0.2.0-eaeff4m6.mjs} +3 -3
  130. package/dist/chunks/cli-0.2.0-emdrfb4f.mjs +2 -0
  131. package/dist/chunks/cli-0.2.0-eyswa898.mjs +2 -0
  132. package/dist/chunks/{cli-0.1.14-nxphqjb4.mjs → cli-0.2.0-ezgpj8e5.mjs} +1 -1
  133. package/dist/chunks/cli-0.2.0-f0ec18e0.mjs +2 -0
  134. package/dist/chunks/cli-0.2.0-f5rgr2bw.mjs +5 -0
  135. package/dist/chunks/cli-0.2.0-f63v4pa4.mjs +2 -0
  136. package/dist/chunks/{cli-0.1.14-kmsvd61a.mjs → cli-0.2.0-f7tp61b0.mjs} +2 -2
  137. package/dist/chunks/cli-0.2.0-fanwxcjn.mjs +2 -0
  138. package/dist/chunks/cli-0.2.0-fgsp4dtv.mjs +2 -0
  139. package/dist/chunks/cli-0.2.0-fknhewrw.mjs +2 -0
  140. package/dist/chunks/cli-0.2.0-fr785r3y.mjs +2 -0
  141. package/dist/chunks/cli-0.2.0-frar6zbv.mjs +6 -0
  142. package/dist/chunks/{cli-0.1.14-0nhaxy76.mjs → cli-0.2.0-frwsdnhe.mjs} +2 -2
  143. package/dist/chunks/cli-0.2.0-fy5rnmc5.mjs +2 -0
  144. package/dist/chunks/{cli-0.1.14-2f7s5xbd.mjs → cli-0.2.0-g2h1t6ke.mjs} +4 -4
  145. package/dist/chunks/cli-0.2.0-g4kznbnn.mjs +2 -0
  146. package/dist/chunks/cli-0.2.0-g86682ye.mjs +2 -0
  147. package/dist/chunks/cli-0.2.0-gby7sqgg.mjs +2 -0
  148. package/dist/chunks/{cli-0.1.14-wgatq2fj.mjs → cli-0.2.0-gjtwz4v6.mjs} +2 -2
  149. package/dist/chunks/cli-0.2.0-gmq4bxtp.mjs +2 -0
  150. package/dist/chunks/cli-0.2.0-gngqqtnd.mjs +4 -0
  151. package/dist/chunks/cli-0.2.0-gpc69j0z.mjs +2 -0
  152. package/dist/chunks/cli-0.2.0-gsw60zfe.mjs +2 -0
  153. package/dist/chunks/cli-0.2.0-gy72dze8.mjs +2 -0
  154. package/dist/chunks/cli-0.2.0-h2wnach8.mjs +16 -0
  155. package/dist/chunks/cli-0.2.0-h9tvrrx9.mjs +2 -0
  156. package/dist/chunks/cli-0.2.0-hg1xg9nq.mjs +2 -0
  157. package/dist/chunks/cli-0.2.0-hw4ce6k6.mjs +2 -0
  158. package/dist/chunks/cli-0.2.0-hzzgbj9r.mjs +2 -0
  159. package/dist/chunks/cli-0.2.0-j71ct7m7.mjs +2 -0
  160. package/dist/chunks/cli-0.2.0-jna42sz6.mjs +2 -0
  161. package/dist/chunks/cli-0.2.0-jsrrpd02.mjs +2 -0
  162. package/dist/chunks/cli-0.2.0-k0aa6s39.mjs +2 -0
  163. package/dist/chunks/cli-0.2.0-k2tq4knj.mjs +2 -0
  164. package/dist/chunks/{cli-0.1.14-we6s7jfg.mjs → cli-0.2.0-k438c5g3.mjs} +1 -1
  165. package/dist/chunks/cli-0.2.0-k7cxbyxg.mjs +2 -0
  166. package/dist/chunks/{cli-0.1.14-3m63hy2a.mjs → cli-0.2.0-kg83sjcw.mjs} +2 -2
  167. package/dist/chunks/cli-0.2.0-kgs4hedc.mjs +2 -0
  168. package/dist/chunks/cli-0.2.0-krxmhdq4.mjs +2 -0
  169. package/dist/chunks/cli-0.2.0-m5s0ha7v.mjs +3 -0
  170. package/dist/chunks/cli-0.2.0-m81s8n1j.mjs +2 -0
  171. package/dist/chunks/cli-0.2.0-mg45dmsv.mjs +2 -0
  172. package/dist/chunks/cli-0.2.0-mhpecwq3.mjs +2 -0
  173. package/dist/chunks/cli-0.2.0-mne4f86b.mjs +7 -0
  174. package/dist/chunks/cli-0.2.0-mstcexpv.mjs +2 -0
  175. package/dist/chunks/{cli-0.1.14-0kzzfe41.mjs → cli-0.2.0-ncjme2vj.mjs} +1 -1
  176. package/dist/chunks/cli-0.2.0-ndz9dbxz.mjs +2 -0
  177. package/dist/chunks/cli-0.2.0-p0dd7k39.mjs +4 -0
  178. package/dist/chunks/cli-0.2.0-p19kyd3z.mjs +4 -0
  179. package/dist/chunks/cli-0.2.0-p2jewnbn.mjs +2 -0
  180. package/dist/chunks/cli-0.2.0-p46nxmgy.mjs +2 -0
  181. package/dist/chunks/cli-0.2.0-pa834vt3.mjs +2 -0
  182. package/dist/chunks/cli-0.2.0-pdb8evy6.mjs +2 -0
  183. package/dist/chunks/cli-0.2.0-pfja1jsa.mjs +2 -0
  184. package/dist/chunks/cli-0.2.0-pt145sac.mjs +3 -0
  185. package/dist/chunks/cli-0.2.0-ptwysnj7.mjs +2 -0
  186. package/dist/chunks/cli-0.2.0-pw3er14v.mjs +2 -0
  187. package/dist/chunks/cli-0.2.0-pxy1f4ky.mjs +2 -0
  188. package/dist/chunks/cli-0.2.0-q1fz4qmd.mjs +2 -0
  189. package/dist/chunks/cli-0.2.0-q822fesk.mjs +2 -0
  190. package/dist/chunks/cli-0.2.0-qcr87znh.mjs +2 -0
  191. package/dist/chunks/{cli-0.1.14-rc5yd94n.mjs → cli-0.2.0-qdcyy0k1.mjs} +3 -3
  192. package/dist/chunks/cli-0.2.0-qnd8v5pt.mjs +2 -0
  193. package/dist/chunks/cli-0.2.0-qw0kz7z3.mjs +2 -0
  194. package/dist/chunks/cli-0.2.0-r15zg9jv.mjs +2 -0
  195. package/dist/chunks/cli-0.2.0-r3f7ephj.mjs +2 -0
  196. package/dist/chunks/{cli-0.1.14-k9jcmxtd.mjs → cli-0.2.0-rwdy3dtq.mjs} +1 -1
  197. package/dist/chunks/{cli-0.1.14-dntkrp1j.mjs → cli-0.2.0-s02v5abf.mjs} +5 -5
  198. package/dist/chunks/{cli-0.1.14-jpe9sxch.mjs → cli-0.2.0-s130pb2c.mjs} +2 -2
  199. package/dist/chunks/cli-0.2.0-s919r7gy.mjs +2 -0
  200. package/dist/chunks/cli-0.2.0-sh26pc92.mjs +2 -0
  201. package/dist/chunks/cli-0.2.0-sj380wma.mjs +2 -0
  202. package/dist/chunks/cli-0.2.0-stn798t9.mjs +9 -0
  203. package/dist/chunks/cli-0.2.0-t0j5fnc5.mjs +2 -0
  204. package/dist/chunks/{cli-0.1.14-3xj419mp.mjs → cli-0.2.0-teqjxyws.mjs} +1 -1
  205. package/dist/chunks/{cli-0.1.14-nkza93de.mjs → cli-0.2.0-v8kqgxs0.mjs} +1 -1
  206. package/dist/chunks/cli-0.2.0-vdhcg4g4.mjs +2 -0
  207. package/dist/chunks/cli-0.2.0-vejekjsb.mjs +2 -0
  208. package/dist/chunks/cli-0.2.0-vjcy5y97.mjs +4 -0
  209. package/dist/chunks/cli-0.2.0-vjnmd5ey.mjs +2 -0
  210. package/dist/chunks/cli-0.2.0-wc6ydzff.mjs +2 -0
  211. package/dist/chunks/cli-0.2.0-wmfpk06g.mjs +2 -0
  212. package/dist/chunks/{cli-0.1.14-6cjjzttb.mjs → cli-0.2.0-wmstwkhw.mjs} +1 -1
  213. package/dist/chunks/cli-0.2.0-wqzmxfnd.mjs +2 -0
  214. package/dist/chunks/cli-0.2.0-wwwmxcwz.mjs +2 -0
  215. package/dist/chunks/{cli-0.1.14-hxvzvfr2.mjs → cli-0.2.0-x221h2yq.mjs} +1 -1
  216. package/dist/chunks/cli-0.2.0-xdmw2spe.mjs +4 -0
  217. package/dist/chunks/cli-0.2.0-xmf20rrm.mjs +2 -0
  218. package/dist/chunks/cli-0.2.0-xwrvt7rw.mjs +2 -0
  219. package/dist/chunks/cli-0.2.0-y1q43eac.mjs +2 -0
  220. package/dist/chunks/{cli-0.1.14-canpypsb.mjs → cli-0.2.0-y6g66sm5.mjs} +1 -1
  221. package/dist/chunks/cli-0.2.0-y93dcrnm.mjs +2 -0
  222. package/dist/chunks/cli-0.2.0-y9bxbkxm.mjs +2 -0
  223. package/dist/chunks/{cli-0.1.14-hvfg45y0.mjs → cli-0.2.0-ykvda8xj.mjs} +1 -1
  224. package/dist/chunks/cli-0.2.0-z1j2k2y8.mjs +2 -0
  225. package/dist/chunks/cli-0.2.0-zdr99w6n.mjs +2 -0
  226. package/dist/chunks/cli-0.2.0-zhq243rp.mjs +5 -0
  227. package/dist/chunks/cli-0.2.0-zxm7fqen.mjs +2 -0
  228. package/dist/chunks/client-0.2.0-qtv4epf8.mjs +1 -0
  229. package/dist/chunks/color-0.2.0-287d7bh5.mjs +1 -0
  230. package/dist/chunks/compact-0.2.0-qd4qye1t.mjs +3 -0
  231. package/dist/chunks/config-0.2.0-2fafd18t.mjs +1 -0
  232. package/dist/chunks/config-0.2.0-rm6w636d.mjs +1 -0
  233. package/dist/chunks/{context-0.1.14-hyykwj83.mjs → context-0.2.0-k3gcs0rz.mjs} +1 -1
  234. package/dist/chunks/context-noninteractive-0.2.0-k88gx3fk.mjs +1 -0
  235. package/dist/chunks/conversation-0.2.0-7c5rr3m8.mjs +1 -0
  236. package/dist/chunks/{copy-0.1.14-kp76nh7r.mjs → copy-0.2.0-adh6xrdj.mjs} +1 -1
  237. package/dist/chunks/cost-0.2.0-mnj9rgcz.mjs +1 -0
  238. package/dist/chunks/createSession-0.2.0-9g9gw88m.mjs +1 -0
  239. package/dist/chunks/desktop-0.2.0-8f8qkdkf.mjs +1 -0
  240. package/dist/chunks/detectRepository-0.2.0-349d15w3.mjs +1 -0
  241. package/dist/chunks/detection-0.2.0-bwykm3rz.mjs +1 -0
  242. package/dist/chunks/diff-0.2.0-9vymm8d8.mjs +1 -0
  243. package/dist/chunks/doctor-0.2.0-rxs4z5h9.mjs +1 -0
  244. package/dist/chunks/earlyInput-0.2.0-693jvbhz.mjs +1 -0
  245. package/dist/chunks/{effort-0.1.14-d9xmff2t.mjs → effort-0.2.0-v3ery43s.mjs} +1 -1
  246. package/dist/chunks/environmentSelection-0.2.0-51bq9j0p.mjs +1 -0
  247. package/dist/chunks/environments-0.2.0-f16b46v6.mjs +1 -0
  248. package/dist/chunks/exit-0.2.0-gxsz2644.mjs +1 -0
  249. package/dist/chunks/export-0.2.0-3tnxr36f.mjs +2 -0
  250. package/dist/chunks/extra-usage-0.2.0-7rhvw0qy.mjs +1 -0
  251. package/dist/chunks/extra-usage-noninteractive-0.2.0-6jn1b44v.mjs +1 -0
  252. package/dist/chunks/fast-0.2.0-m1ebwhxs.mjs +1 -0
  253. package/dist/chunks/feedback-0.2.0-n6jvewnr.mjs +14 -0
  254. package/dist/chunks/firstPartyEventLogger-0.2.0-20cb3z2a.mjs +1 -0
  255. package/dist/chunks/git-0.2.0-c4ee3tsv.mjs +1 -0
  256. package/dist/chunks/githubModelsCredentials-0.2.0-cdvezs97.mjs +1 -0
  257. package/dist/chunks/growthbook-0.2.0-att0j7gv.mjs +1 -0
  258. package/dist/chunks/heapdump-0.2.0-78f6h5zs.mjs +6 -0
  259. package/dist/chunks/help-0.2.0-dtcb464y.mjs +1 -0
  260. package/dist/chunks/hookChains-0.2.0-svw4xjh6.mjs +3 -0
  261. package/dist/chunks/{hooks-0.1.14-jy9bt7s6.mjs → hooks-0.2.0-4hvw5w19.mjs} +1 -1
  262. package/dist/chunks/hooks-0.2.0-hw6zwnp8.mjs +1 -0
  263. package/dist/chunks/{ide-0.1.14-0ar60k4r.mjs → ide-0.2.0-3a10v8p7.mjs} +1 -1
  264. package/dist/chunks/image-processor-napi-0.2.0-8t8g5777.mjs +1 -0
  265. package/dist/chunks/index-0.2.0-0f0aw7rx.mjs +1 -0
  266. package/dist/chunks/index-0.2.0-1pr9vtkj.mjs +9 -0
  267. package/dist/chunks/index-0.2.0-2dyw5tmn.mjs +1 -0
  268. package/dist/chunks/index-0.2.0-728crm0q.mjs +1 -0
  269. package/dist/chunks/index-0.2.0-7gpqav46.mjs +2 -0
  270. package/dist/chunks/{index-0.1.14-y3aj57xa.mjs → index-0.2.0-7wttyxdg.mjs} +1 -1
  271. package/dist/chunks/index-0.2.0-b33awb2n.mjs +1 -0
  272. package/dist/chunks/{index-0.1.14-hqphn8m5.mjs → index-0.2.0-b71emahw.mjs} +1 -1
  273. package/dist/chunks/index-0.2.0-czy0090x.mjs +1 -0
  274. package/dist/chunks/index-0.2.0-dactt0mw.mjs +1 -0
  275. package/dist/chunks/index-0.2.0-f8nnmapf.mjs +1 -0
  276. package/dist/chunks/{index-0.1.14-8v5xwttx.mjs → index-0.2.0-h3z86gdx.mjs} +2 -2
  277. package/dist/chunks/index-0.2.0-jrzrpfvk.mjs +1 -0
  278. package/dist/chunks/index-0.2.0-mny50v93.mjs +1 -0
  279. package/dist/chunks/index-0.2.0-nhw2r534.mjs +1 -0
  280. package/dist/chunks/index-0.2.0-p27jjyjb.mjs +1 -0
  281. package/dist/chunks/index-0.2.0-pf79ppar.mjs +1 -0
  282. package/dist/chunks/index-0.2.0-tamm1gme.mjs +1 -0
  283. package/dist/chunks/index-0.2.0-tj7rwkwq.mjs +1 -0
  284. package/dist/chunks/{index-0.1.14-dmbjzapt.mjs → index-0.2.0-v2mzpt7h.mjs} +1 -1
  285. package/dist/chunks/index-0.2.0-w1m3v2y0.mjs +9 -0
  286. package/dist/chunks/index-0.2.0-z8m5wd19.mjs +1 -0
  287. package/dist/chunks/initReplBridge-0.2.0-5abnx6wk.mjs +1 -0
  288. package/dist/chunks/ink-0.2.0-v2d1zzt6.mjs +1 -0
  289. package/dist/chunks/{insights-0.1.14-9n58d9t8.mjs → insights-0.2.0-5q6x53j1.mjs} +1 -1
  290. package/dist/chunks/install-0.2.0-0vhcv1w2.mjs +1 -0
  291. package/dist/chunks/{install-github-app-0.1.14-kmetkgdq.mjs → install-github-app-0.2.0-xcxxtxzh.mjs} +1 -1
  292. package/dist/chunks/install-slack-app-0.2.0-12qw49ga.mjs +1 -0
  293. package/dist/chunks/{instrumentation-0.1.14-fsgk97cp.mjs → instrumentation-0.2.0-rfc7gt94.mjs} +1 -1
  294. package/dist/chunks/interactiveHelpers-0.2.0-69j5avm0.mjs +1 -0
  295. package/dist/chunks/keybindings-0.2.0-r9ensjdz.mjs +2 -0
  296. package/dist/chunks/knowledge-0.2.0-r222df23.mjs +2 -0
  297. package/dist/chunks/loadAgentsDir-0.2.0-wrpffsg4.mjs +1 -0
  298. package/dist/chunks/loadPluginHooks-0.2.0-4wkq3ar6.mjs +1 -0
  299. package/dist/chunks/lsp-0.2.0-vyrfqxg7.mjs +1 -0
  300. package/dist/chunks/main-0.2.0-r3wv26vg.mjs +1 -0
  301. package/dist/chunks/managedEnv-0.2.0-t6y3d3hp.mjs +1 -0
  302. package/dist/chunks/mcp-0.2.0-8rxg4gkx.mjs +1 -0
  303. package/dist/chunks/{mcp-0.1.14-dmtc9tjr.mjs → mcp-0.2.0-anen8fv7.mjs} +3 -3
  304. package/dist/chunks/mcp-0.2.0-brdssfg7.mjs +4 -0
  305. package/dist/chunks/mcpServer-0.2.0-816p5gfy.mjs +1 -0
  306. package/dist/chunks/mcpb-0.2.0-pte54tfe.mjs +1 -0
  307. package/dist/chunks/memory-0.2.0-vxnsyq72.mjs +3 -0
  308. package/dist/chunks/{mobile-0.1.14-bwjnmpy0.mjs → mobile-0.2.0-npn2rcmr.mjs} +1 -1
  309. package/dist/chunks/model-0.2.0-ajjp4znr.mjs +1 -0
  310. package/dist/chunks/model-0.2.0-dsy2yzwq.mjs +2 -0
  311. package/dist/chunks/oauth-0.2.0-xfb7vgc2.mjs +1 -0
  312. package/dist/chunks/{openaiShim-0.1.14-jv6416m8.mjs → openaiShim-0.2.0-5rabbqwx.mjs} +1 -1
  313. package/dist/chunks/output-style-0.2.0-0tea3sgj.mjs +1 -0
  314. package/dist/chunks/package-WSP46L7M-0.2.0-54rp856z.mjs +1 -0
  315. package/dist/chunks/parser-0.2.0-vxksd2kb.mjs +1 -0
  316. package/dist/chunks/passes-0.2.0-kb6z71d5.mjs +1 -0
  317. package/dist/chunks/permissions-0.2.0-pvq85gdj.mjs +3 -0
  318. package/dist/chunks/plan-0.2.0-nc7dtaj1.mjs +1 -0
  319. package/dist/chunks/plist-0.2.0-veq45ed0.mjs +1 -0
  320. package/dist/chunks/plugin-0.2.0-q0ehrvv3.mjs +29 -0
  321. package/dist/chunks/pluginStartupCheck-0.2.0-cnkhwj3j.mjs +1 -0
  322. package/dist/chunks/{plugins-0.1.14-4tggkexv.mjs → plugins-0.2.0-s45nc253.mjs} +2 -2
  323. package/dist/chunks/{print-0.1.14-m719w2yp.mjs → print-0.2.0-e9ckvtwf.mjs} +4 -4
  324. package/dist/chunks/privacy-settings-0.2.0-e9qgq22a.mjs +1 -0
  325. package/dist/chunks/process-0.2.0-5q69t7tp.mjs +1 -0
  326. package/dist/chunks/processBashCommand-0.2.0-n1qzbvn8.mjs +1 -0
  327. package/dist/chunks/{processSlashCommand-0.1.14-7w1v93bg.mjs → processSlashCommand-0.2.0-phzfkm35.mjs} +1 -1
  328. package/dist/chunks/prompt-0.2.0-8tvc5hkt.mjs +1 -0
  329. package/dist/chunks/prompt-0.2.0-znq97v28.mjs +1 -0
  330. package/dist/chunks/prompts-0.2.0-43x4r8s1.mjs +1 -0
  331. package/dist/chunks/provider-0.2.0-hdw0f0gf.mjs +2 -0
  332. package/dist/chunks/providerProfiles-0.2.0-fxf0kwk5.mjs +1 -0
  333. package/dist/chunks/rate-limit-options-0.2.0-6gs96kga.mjs +1 -0
  334. package/dist/chunks/registry-0.2.0-qn6vn1a0.mjs +1 -0
  335. package/dist/chunks/release-notes-0.2.0-n7d001cj.mjs +5 -0
  336. package/dist/chunks/reload-plugins-0.2.0-z66hj6gv.mjs +2 -0
  337. package/dist/chunks/{remote-env-0.1.14-jyc0gkhb.mjs → remote-env-0.2.0-tb94ty2j.mjs} +1 -1
  338. package/dist/chunks/remoteBridgeCore-0.2.0-tggkxmb3.mjs +1 -0
  339. package/dist/chunks/remoteSession-0.2.0-e5ph1zn5.mjs +1 -0
  340. package/dist/chunks/rename-0.2.0-1a2tr4rh.mjs +1 -0
  341. package/dist/chunks/replBridgeHandle-0.2.0-58503tj0.mjs +1 -0
  342. package/dist/chunks/resume-0.2.0-nbs1aptk.mjs +2 -0
  343. package/dist/chunks/rewind-0.2.0-9vcza7j6.mjs +1 -0
  344. package/dist/chunks/sandbox-adapter-0.2.0-rvjkxzab.mjs +1 -0
  345. package/dist/chunks/{sandbox-toggle-0.1.14-jz6x02qp.mjs → sandbox-toggle-0.2.0-0hc6gk75.mjs} +1 -1
  346. package/dist/chunks/session-0.2.0-2mjsp1sz.mjs +2 -0
  347. package/dist/chunks/sessionFileAccessHooks-0.2.0-mmvc7bkc.mjs +1 -0
  348. package/dist/chunks/sessionStorage-0.2.0-69fq3tpm.mjs +1 -0
  349. package/dist/chunks/setup-0.2.0-06edanfh.mjs +5 -0
  350. package/dist/chunks/sinks-0.2.0-wja94cem.mjs +1 -0
  351. package/dist/chunks/skills-0.2.0-3z33tjhh.mjs +1 -0
  352. package/dist/chunks/startupProfiler-0.2.0-rsbrxr2e.mjs +1 -0
  353. package/dist/chunks/state-0.2.0-cqgytazz.mjs +1 -0
  354. package/dist/chunks/{stats-0.1.14-rr3tpwqw.mjs → stats-0.2.0-916qgsak.mjs} +1 -1
  355. package/dist/chunks/status-0.2.0-qpr1a3ep.mjs +1 -0
  356. package/dist/chunks/stickers-0.2.0-s40586dt.mjs +1 -0
  357. package/dist/chunks/subprocessEnv-0.2.0-8kaz087n.mjs +1 -0
  358. package/dist/chunks/tasks-0.2.0-kyab838f.mjs +1 -0
  359. package/dist/chunks/teamHelpers-0.2.0-r08wn3az.mjs +1 -0
  360. package/dist/chunks/teammateModeSnapshot-0.2.0-ew1rr6e3.mjs +1 -0
  361. package/dist/chunks/teleport-0.2.0-m7dva816.mjs +1 -0
  362. package/dist/chunks/terminalSetup-0.2.0-28qz91bk.mjs +1 -0
  363. package/dist/chunks/theme-0.2.0-t6hf3219.mjs +1 -0
  364. package/dist/chunks/thinkback-0.2.0-s3ggf62w.mjs +1 -0
  365. package/dist/chunks/thinkback-play-0.2.0-bh4h025z.mjs +1 -0
  366. package/dist/chunks/toolPool-0.2.0-cb20byyb.mjs +1 -0
  367. package/dist/chunks/toolSearch-0.2.0-2b8zp823.mjs +1 -0
  368. package/dist/chunks/trustedDevice-0.2.0-bm94scqy.mjs +1 -0
  369. package/dist/chunks/{turndown.cjs-0.1.14-nw2rtcyd.mjs → turndown.cjs-0.2.0-deg6aa1p.mjs} +1 -1
  370. package/dist/chunks/{ultrareviewCommand-0.1.14-9twnt5bp.mjs → ultrareviewCommand-0.2.0-zw0s8h8q.mjs} +1 -1
  371. package/dist/chunks/{update-0.1.14-9dhep94r.mjs → update-0.2.0-7s5194yn.mjs} +11 -11
  372. package/dist/chunks/upgrade-0.2.0-qwr6an4v.mjs +1 -0
  373. package/dist/chunks/{upstreamproxy-0.1.14-sc0x4n7b.mjs → upstreamproxy-0.2.0-xm05d4w5.mjs} +1 -1
  374. package/dist/chunks/usage-0.2.0-mp3vm726.mjs +1 -0
  375. package/dist/chunks/util-0.2.0-dbnnzv2b.mjs +1 -0
  376. package/dist/chunks/utils-0.2.0-memk8639.mjs +1 -0
  377. package/dist/chunks/vim-0.2.0-twpbq41v.mjs +1 -0
  378. package/dist/chunks/watcher-0.2.0-cfz0cgxt.mjs +1 -0
  379. package/dist/chunks/{wiki-0.1.14-s3exyf45.mjs → wiki-0.2.0-v5sdh8vv.mjs} +1 -1
  380. package/dist/chunks/worktree-0.2.0-cgeqcbwb.mjs +1 -0
  381. package/dist/chunks/worktreeModeEnabled-0.2.0-hb1hv05w.mjs +1 -0
  382. package/dist/chunks/wrapper-0.2.0-661tvhay.mjs +7 -0
  383. package/dist/claudio-vscode.vsix +0 -0
  384. package/dist/cli.mjs +3 -3
  385. package/package.json +1 -1
  386. package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +0 -1
  387. package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +0 -1
  388. package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +0 -1
  389. package/dist/chunks/AssistantSessionChooser-0.1.14-tf848k8v.mjs +0 -1
  390. package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +0 -1
  391. package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +0 -1
  392. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +0 -1
  393. package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +0 -1
  394. package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +0 -1
  395. package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +0 -1
  396. package/dist/chunks/ITermBackend-0.1.14-xtdr5bmp.mjs +0 -1
  397. package/dist/chunks/InProcessTransport-0.1.14-wdqgcpb4.mjs +0 -1
  398. package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +0 -1
  399. package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +0 -1
  400. package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +0 -1
  401. package/dist/chunks/Onboarding-0.1.14-1rddgg2b.mjs +0 -1
  402. package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +0 -1
  403. package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +0 -1
  404. package/dist/chunks/ResumeConversation-0.1.14-79hg5s2w.mjs +0 -1
  405. package/dist/chunks/SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs +0 -1
  406. package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +0 -1
  407. package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +0 -1
  408. package/dist/chunks/TeleportResumeWrapper-0.1.14-8wfa8twy.mjs +0 -1
  409. package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +0 -1
  410. package/dist/chunks/TrustDialog-0.1.14-zvmfmtg5.mjs +0 -1
  411. package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +0 -1
  412. package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +0 -1
  413. package/dist/chunks/agents-0.1.14-nm4k11re.mjs +0 -3
  414. package/dist/chunks/agents-0.1.14-pjr42t23.mjs +0 -111
  415. package/dist/chunks/api-0.1.14-v09922m9.mjs +0 -1
  416. package/dist/chunks/asciicast-0.1.14-kgp9j4z6.mjs +0 -1
  417. package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +0 -1
  418. package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +0 -1
  419. package/dist/chunks/auth-0.1.14-vj6095mm.mjs +0 -1
  420. package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +0 -1
  421. package/dist/chunks/branch-0.1.14-r5tt7cec.mjs +0 -4
  422. package/dist/chunks/bridgePointer-0.1.14-2w1wvxgt.mjs +0 -1
  423. package/dist/chunks/cacache-0.1.14-3vw5qkqs.mjs +0 -1
  424. package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +0 -1
  425. package/dist/chunks/claudeDesktop-0.1.14-0df0z4v6.mjs +0 -1
  426. package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +0 -1
  427. package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +0 -1
  428. package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +0 -1
  429. package/dist/chunks/cli-0.1.14-08ambmnj.mjs +0 -2
  430. package/dist/chunks/cli-0.1.14-0a8ckx07.mjs +0 -2
  431. package/dist/chunks/cli-0.1.14-0ctjta81.mjs +0 -5
  432. package/dist/chunks/cli-0.1.14-0x3m90bk.mjs +0 -2
  433. package/dist/chunks/cli-0.1.14-16jrehc2.mjs +0 -2
  434. package/dist/chunks/cli-0.1.14-1g5jq0j8.mjs +0 -2
  435. package/dist/chunks/cli-0.1.14-1shkmy81.mjs +0 -2
  436. package/dist/chunks/cli-0.1.14-1xkst5wv.mjs +0 -2
  437. package/dist/chunks/cli-0.1.14-244fknyr.mjs +0 -2
  438. package/dist/chunks/cli-0.1.14-25ta9abj.mjs +0 -2
  439. package/dist/chunks/cli-0.1.14-28exj8zm.mjs +0 -2
  440. package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +0 -2
  441. package/dist/chunks/cli-0.1.14-373staaj.mjs +0 -2
  442. package/dist/chunks/cli-0.1.14-39y8qfj7.mjs +0 -2
  443. package/dist/chunks/cli-0.1.14-3scecgzx.mjs +0 -6
  444. package/dist/chunks/cli-0.1.14-3w7fbjhy.mjs +0 -2
  445. package/dist/chunks/cli-0.1.14-3yj4dkmn.mjs +0 -2
  446. package/dist/chunks/cli-0.1.14-3zj4s594.mjs +0 -2
  447. package/dist/chunks/cli-0.1.14-42sm5vzr.mjs +0 -2
  448. package/dist/chunks/cli-0.1.14-442a367x.mjs +0 -2
  449. package/dist/chunks/cli-0.1.14-4mde8z7h.mjs +0 -2
  450. package/dist/chunks/cli-0.1.14-4tmbgg29.mjs +0 -2
  451. package/dist/chunks/cli-0.1.14-4wdh3k7y.mjs +0 -2
  452. package/dist/chunks/cli-0.1.14-59axynr8.mjs +0 -2
  453. package/dist/chunks/cli-0.1.14-5brvxst8.mjs +0 -2
  454. package/dist/chunks/cli-0.1.14-5e5kkjam.mjs +0 -2
  455. package/dist/chunks/cli-0.1.14-5rp4y3q2.mjs +0 -2
  456. package/dist/chunks/cli-0.1.14-5te1nbdc.mjs +0 -2
  457. package/dist/chunks/cli-0.1.14-68wbwy40.mjs +0 -4
  458. package/dist/chunks/cli-0.1.14-71m91842.mjs +0 -2
  459. package/dist/chunks/cli-0.1.14-71sp86jb.mjs +0 -2
  460. package/dist/chunks/cli-0.1.14-77ha4n58.mjs +0 -2
  461. package/dist/chunks/cli-0.1.14-7zjhrz42.mjs +0 -5
  462. package/dist/chunks/cli-0.1.14-7zz7abpc.mjs +0 -2
  463. package/dist/chunks/cli-0.1.14-86gckvrm.mjs +0 -2
  464. package/dist/chunks/cli-0.1.14-893g12wf.mjs +0 -2
  465. package/dist/chunks/cli-0.1.14-8fr10t94.mjs +0 -17
  466. package/dist/chunks/cli-0.1.14-90zkq8jm.mjs +0 -2
  467. package/dist/chunks/cli-0.1.14-9b8kspnd.mjs +0 -2
  468. package/dist/chunks/cli-0.1.14-9evp0ewn.mjs +0 -2
  469. package/dist/chunks/cli-0.1.14-9gem156t.mjs +0 -2
  470. package/dist/chunks/cli-0.1.14-9kxzs20h.mjs +0 -2
  471. package/dist/chunks/cli-0.1.14-9vc52dnj.mjs +0 -2
  472. package/dist/chunks/cli-0.1.14-a15xdexp.mjs +0 -12
  473. package/dist/chunks/cli-0.1.14-a6kwmqhz.mjs +0 -16
  474. package/dist/chunks/cli-0.1.14-a9ytrehs.mjs +0 -2
  475. package/dist/chunks/cli-0.1.14-ab0rxxvk.mjs +0 -2
  476. package/dist/chunks/cli-0.1.14-adz0gnzy.mjs +0 -2
  477. package/dist/chunks/cli-0.1.14-aky5tegx.mjs +0 -2
  478. package/dist/chunks/cli-0.1.14-akz49g5v.mjs +0 -2
  479. package/dist/chunks/cli-0.1.14-as9nq99n.mjs +0 -2
  480. package/dist/chunks/cli-0.1.14-bat0c779.mjs +0 -2
  481. package/dist/chunks/cli-0.1.14-bgqm4vsk.mjs +0 -2
  482. package/dist/chunks/cli-0.1.14-c0bv9eha.mjs +0 -4
  483. package/dist/chunks/cli-0.1.14-c4v2kfdn.mjs +0 -2
  484. package/dist/chunks/cli-0.1.14-cdby401e.mjs +0 -2
  485. package/dist/chunks/cli-0.1.14-ch9c9c38.mjs +0 -2
  486. package/dist/chunks/cli-0.1.14-ckjcet41.mjs +0 -2
  487. package/dist/chunks/cli-0.1.14-cp2pada5.mjs +0 -2
  488. package/dist/chunks/cli-0.1.14-d483gd53.mjs +0 -2
  489. package/dist/chunks/cli-0.1.14-d4zkffre.mjs +0 -2
  490. package/dist/chunks/cli-0.1.14-dcgxqsyp.mjs +0 -2
  491. package/dist/chunks/cli-0.1.14-dq7jkw1n.mjs +0 -2
  492. package/dist/chunks/cli-0.1.14-dqads3y3.mjs +0 -2
  493. package/dist/chunks/cli-0.1.14-dt11hwkv.mjs +0 -2
  494. package/dist/chunks/cli-0.1.14-dw74ppax.mjs +0 -2
  495. package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +0 -2
  496. package/dist/chunks/cli-0.1.14-e40hm9sd.mjs +0 -2
  497. package/dist/chunks/cli-0.1.14-edjtfw4q.mjs +0 -2
  498. package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +0 -2
  499. package/dist/chunks/cli-0.1.14-eq0gbnpg.mjs +0 -2
  500. package/dist/chunks/cli-0.1.14-fdpfr31f.mjs +0 -2
  501. package/dist/chunks/cli-0.1.14-fhfj87ej.mjs +0 -2
  502. package/dist/chunks/cli-0.1.14-fmgz6tx2.mjs +0 -5
  503. package/dist/chunks/cli-0.1.14-fmmxw3gj.mjs +0 -2
  504. package/dist/chunks/cli-0.1.14-fspxpmh7.mjs +0 -2
  505. package/dist/chunks/cli-0.1.14-g5q2xqp3.mjs +0 -2
  506. package/dist/chunks/cli-0.1.14-gdm27acz.mjs +0 -2
  507. package/dist/chunks/cli-0.1.14-harz1d9d.mjs +0 -2
  508. package/dist/chunks/cli-0.1.14-hjktwgtk.mjs +0 -2
  509. package/dist/chunks/cli-0.1.14-hkaqyhx1.mjs +0 -2
  510. package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +0 -2
  511. package/dist/chunks/cli-0.1.14-jbn4ywda.mjs +0 -6
  512. package/dist/chunks/cli-0.1.14-jf8019sb.mjs +0 -2
  513. package/dist/chunks/cli-0.1.14-jnfs73kb.mjs +0 -2
  514. package/dist/chunks/cli-0.1.14-k8nwm06m.mjs +0 -2
  515. package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +0 -2
  516. package/dist/chunks/cli-0.1.14-kcrsww4s.mjs +0 -2
  517. package/dist/chunks/cli-0.1.14-khtq9cgy.mjs +0 -2
  518. package/dist/chunks/cli-0.1.14-kn1f2x94.mjs +0 -2
  519. package/dist/chunks/cli-0.1.14-kpsh76mj.mjs +0 -2
  520. package/dist/chunks/cli-0.1.14-kt6sq4nr.mjs +0 -2
  521. package/dist/chunks/cli-0.1.14-ktz3cgwa.mjs +0 -2
  522. package/dist/chunks/cli-0.1.14-kv650aha.mjs +0 -2
  523. package/dist/chunks/cli-0.1.14-m75ce5ve.mjs +0 -2
  524. package/dist/chunks/cli-0.1.14-m7khgn2k.mjs +0 -2
  525. package/dist/chunks/cli-0.1.14-m7xchegb.mjs +0 -2
  526. package/dist/chunks/cli-0.1.14-mgcmwvcn.mjs +0 -4
  527. package/dist/chunks/cli-0.1.14-mngn74ga.mjs +0 -2
  528. package/dist/chunks/cli-0.1.14-mx9yse7m.mjs +0 -2
  529. package/dist/chunks/cli-0.1.14-nmmtd1d6.mjs +0 -2
  530. package/dist/chunks/cli-0.1.14-nnr43nyg.mjs +0 -2
  531. package/dist/chunks/cli-0.1.14-ntq8w1ss.mjs +0 -2
  532. package/dist/chunks/cli-0.1.14-nzsj259d.mjs +0 -2
  533. package/dist/chunks/cli-0.1.14-qe5zyvfh.mjs +0 -2
  534. package/dist/chunks/cli-0.1.14-qyx55m6c.mjs +0 -3
  535. package/dist/chunks/cli-0.1.14-r00mjm41.mjs +0 -2
  536. package/dist/chunks/cli-0.1.14-r46jh9af.mjs +0 -2
  537. package/dist/chunks/cli-0.1.14-r5qyt63x.mjs +0 -2
  538. package/dist/chunks/cli-0.1.14-rtstk94r.mjs +0 -2
  539. package/dist/chunks/cli-0.1.14-s9m1y93w.mjs +0 -2
  540. package/dist/chunks/cli-0.1.14-sb7dm65b.mjs +0 -2
  541. package/dist/chunks/cli-0.1.14-sn1rf71y.mjs +0 -2
  542. package/dist/chunks/cli-0.1.14-svqkx41a.mjs +0 -2
  543. package/dist/chunks/cli-0.1.14-t3fga5je.mjs +0 -2
  544. package/dist/chunks/cli-0.1.14-tkb5t0xv.mjs +0 -2
  545. package/dist/chunks/cli-0.1.14-tqexnkmz.mjs +0 -2
  546. package/dist/chunks/cli-0.1.14-tyv29sz9.mjs +0 -2
  547. package/dist/chunks/cli-0.1.14-v2acyy7r.mjs +0 -4
  548. package/dist/chunks/cli-0.1.14-v9q1cxjy.mjs +0 -2
  549. package/dist/chunks/cli-0.1.14-vp1kn532.mjs +0 -7
  550. package/dist/chunks/cli-0.1.14-w3rwfr1d.mjs +0 -2
  551. package/dist/chunks/cli-0.1.14-w6nzk5dc.mjs +0 -2
  552. package/dist/chunks/cli-0.1.14-w8efvbh6.mjs +0 -2
  553. package/dist/chunks/cli-0.1.14-whe4bxfr.mjs +0 -2
  554. package/dist/chunks/cli-0.1.14-wwehdfwx.mjs +0 -9
  555. package/dist/chunks/cli-0.1.14-wz5yr49j.mjs +0 -2
  556. package/dist/chunks/cli-0.1.14-x88ypr2r.mjs +0 -2
  557. package/dist/chunks/cli-0.1.14-xp6rc33g.mjs +0 -2
  558. package/dist/chunks/cli-0.1.14-y2wxptpk.mjs +0 -2
  559. package/dist/chunks/cli-0.1.14-y55hrwdp.mjs +0 -3
  560. package/dist/chunks/cli-0.1.14-y56629hj.mjs +0 -5
  561. package/dist/chunks/cli-0.1.14-yagh75p5.mjs +0 -2
  562. package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +0 -2
  563. package/dist/chunks/cli-0.1.14-yxce1bdc.mjs +0 -3
  564. package/dist/chunks/cli-0.1.14-yxq1tr3a.mjs +0 -2
  565. package/dist/chunks/cli-0.1.14-z0ckw2hb.mjs +0 -2
  566. package/dist/chunks/cli-0.1.14-z8j2n955.mjs +0 -2
  567. package/dist/chunks/cli-0.1.14-zjqt3r89.mjs +0 -2
  568. package/dist/chunks/cli-0.1.14-zq66y0mv.mjs +0 -2
  569. package/dist/chunks/cli-0.1.14-zrmretjp.mjs +0 -4
  570. package/dist/chunks/cli-0.1.14-zs4vmj7z.mjs +0 -4
  571. package/dist/chunks/client-0.1.14-3t6sfwha.mjs +0 -1
  572. package/dist/chunks/color-0.1.14-65rf0ap9.mjs +0 -1
  573. package/dist/chunks/compact-0.1.14-mx9ng433.mjs +0 -3
  574. package/dist/chunks/config-0.1.14-1v5v86ax.mjs +0 -1
  575. package/dist/chunks/config-0.1.14-76vavy7t.mjs +0 -1
  576. package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +0 -1
  577. package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +0 -1
  578. package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +0 -1
  579. package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +0 -1
  580. package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +0 -1
  581. package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +0 -1
  582. package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +0 -1
  583. package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +0 -1
  584. package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +0 -1
  585. package/dist/chunks/earlyInput-0.1.14-997vtdw4.mjs +0 -1
  586. package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +0 -1
  587. package/dist/chunks/environments-0.1.14-7napbg6g.mjs +0 -1
  588. package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +0 -1
  589. package/dist/chunks/export-0.1.14-qpt72paa.mjs +0 -2
  590. package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +0 -1
  591. package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +0 -1
  592. package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +0 -1
  593. package/dist/chunks/feedback-0.1.14-qhk5ek0b.mjs +0 -14
  594. package/dist/chunks/firstPartyEventLogger-0.1.14-78y09nr6.mjs +0 -1
  595. package/dist/chunks/git-0.1.14-zvsa13gk.mjs +0 -1
  596. package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +0 -1
  597. package/dist/chunks/growthbook-0.1.14-dcdeqgyq.mjs +0 -1
  598. package/dist/chunks/heapdump-0.1.14-tj7w79dt.mjs +0 -6
  599. package/dist/chunks/help-0.1.14-gk9s0stg.mjs +0 -1
  600. package/dist/chunks/hookChains-0.1.14-wng6tzfd.mjs +0 -3
  601. package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +0 -1
  602. package/dist/chunks/image-processor-napi-0.1.14-p1r3vkb0.mjs +0 -1
  603. package/dist/chunks/index-0.1.14-071xy8v4.mjs +0 -1
  604. package/dist/chunks/index-0.1.14-1mttyja2.mjs +0 -2
  605. package/dist/chunks/index-0.1.14-272zxs9n.mjs +0 -1
  606. package/dist/chunks/index-0.1.14-2v6wa4p4.mjs +0 -1
  607. package/dist/chunks/index-0.1.14-2x59va64.mjs +0 -1
  608. package/dist/chunks/index-0.1.14-3m7vrt91.mjs +0 -1
  609. package/dist/chunks/index-0.1.14-4hv4f8g9.mjs +0 -1
  610. package/dist/chunks/index-0.1.14-ac13h1t1.mjs +0 -1
  611. package/dist/chunks/index-0.1.14-g5kkm9ng.mjs +0 -1
  612. package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +0 -1
  613. package/dist/chunks/index-0.1.14-ksa4vdak.mjs +0 -9
  614. package/dist/chunks/index-0.1.14-mzhk0gvs.mjs +0 -1
  615. package/dist/chunks/index-0.1.14-qrykb444.mjs +0 -9
  616. package/dist/chunks/index-0.1.14-qvap58wt.mjs +0 -1
  617. package/dist/chunks/index-0.1.14-vygpnv88.mjs +0 -1
  618. package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +0 -1
  619. package/dist/chunks/index-0.1.14-yjw9017n.mjs +0 -1
  620. package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +0 -1
  621. package/dist/chunks/initReplBridge-0.1.14-qe820gff.mjs +0 -1
  622. package/dist/chunks/ink-0.1.14-kxs7ygns.mjs +0 -1
  623. package/dist/chunks/install-0.1.14-1zyjez10.mjs +0 -1
  624. package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +0 -1
  625. package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +0 -1
  626. package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +0 -2
  627. package/dist/chunks/knowledge-0.1.14-f7w4damb.mjs +0 -2
  628. package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +0 -1
  629. package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +0 -1
  630. package/dist/chunks/lsp-0.1.14-cks4jevz.mjs +0 -1
  631. package/dist/chunks/main-0.1.14-94wst05h.mjs +0 -1
  632. package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +0 -1
  633. package/dist/chunks/mcp-0.1.14-3tzc0agq.mjs +0 -1
  634. package/dist/chunks/mcp-0.1.14-tepbr987.mjs +0 -4
  635. package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +0 -1
  636. package/dist/chunks/mcpb-0.1.14-ffa57420.mjs +0 -1
  637. package/dist/chunks/memory-0.1.14-cgx518q9.mjs +0 -3
  638. package/dist/chunks/model-0.1.14-rq2dkze7.mjs +0 -2
  639. package/dist/chunks/model-0.1.14-zg566cz0.mjs +0 -1
  640. package/dist/chunks/oauth-0.1.14-gftadks2.mjs +0 -1
  641. package/dist/chunks/output-style-0.1.14-v41ce6t5.mjs +0 -1
  642. package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +0 -1
  643. package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +0 -1
  644. package/dist/chunks/passes-0.1.14-0jjh5wg5.mjs +0 -1
  645. package/dist/chunks/permissions-0.1.14-hh0d709r.mjs +0 -3
  646. package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +0 -1
  647. package/dist/chunks/plist-0.1.14-ssqtjjq9.mjs +0 -1
  648. package/dist/chunks/plugin-0.1.14-01jhhdd3.mjs +0 -29
  649. package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +0 -1
  650. package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +0 -1
  651. package/dist/chunks/process-0.1.14-vgdgd7sq.mjs +0 -1
  652. package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +0 -1
  653. package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +0 -1
  654. package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +0 -1
  655. package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +0 -1
  656. package/dist/chunks/provider-0.1.14-xs34vy3w.mjs +0 -2
  657. package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +0 -1
  658. package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +0 -1
  659. package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +0 -1
  660. package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +0 -5
  661. package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +0 -2
  662. package/dist/chunks/remoteBridgeCore-0.1.14-8kt4ffzy.mjs +0 -1
  663. package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +0 -1
  664. package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +0 -1
  665. package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +0 -1
  666. package/dist/chunks/resume-0.1.14-7sda36n0.mjs +0 -2
  667. package/dist/chunks/rewind-0.1.14-zba66at0.mjs +0 -1
  668. package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +0 -1
  669. package/dist/chunks/session-0.1.14-5qsfxmey.mjs +0 -2
  670. package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +0 -1
  671. package/dist/chunks/sessionStorage-0.1.14-sz2medpp.mjs +0 -1
  672. package/dist/chunks/setup-0.1.14-f13rnmdg.mjs +0 -5
  673. package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +0 -1
  674. package/dist/chunks/skills-0.1.14-1vvr60ph.mjs +0 -1
  675. package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +0 -1
  676. package/dist/chunks/state-0.1.14-rj00ry6n.mjs +0 -1
  677. package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +0 -1
  678. package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +0 -1
  679. package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +0 -1
  680. package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +0 -1
  681. package/dist/chunks/teamHelpers-0.1.14-zv908fgk.mjs +0 -1
  682. package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +0 -1
  683. package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +0 -1
  684. package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +0 -1
  685. package/dist/chunks/theme-0.1.14-202es8wd.mjs +0 -1
  686. package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +0 -1
  687. package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +0 -1
  688. package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +0 -1
  689. package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +0 -1
  690. package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +0 -1
  691. package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +0 -1
  692. package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +0 -1
  693. package/dist/chunks/util-0.1.14-vfg50acy.mjs +0 -1
  694. package/dist/chunks/utils-0.1.14-heqqycdx.mjs +0 -1
  695. package/dist/chunks/vim-0.1.14-z71303w7.mjs +0 -1
  696. package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +0 -1
  697. package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +0 -1
  698. package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +0 -1
  699. package/dist/chunks/wrapper-0.1.14-a4mesaeh.mjs +0 -7
  700. /package/dist/chunks/{cli-0.1.14-tsth8deg.mjs → cli-0.2.0-4tn02vgd.mjs} +0 -0
  701. /package/dist/chunks/{cli-0.1.14-et8yewbf.mjs → cli-0.2.0-50cf7d1p.mjs} +0 -0
  702. /package/dist/chunks/{cli-0.1.14-cahvg3jq.mjs → cli-0.2.0-dgenwca0.mjs} +0 -0
  703. /package/dist/chunks/{cli-0.1.14-nbvvdkk2.mjs → cli-0.2.0-rnpcefe5.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{C3 as v,D3 as C}from"./cli-0.2.0-h2wnach8.mjs";import{P4 as Z,e5 as V}from"./cli-0.2.0-da216rmz.mjs";import{$5 as O,Uaa as x,Vaa as Y,_5 as W}from"./cli-0.2.0-g2h1t6ke.mjs";import{mda as X,nda as U}from"./cli-0.2.0-98h2e6bt.mjs";import{Bda as P,Fda as Q,Nda as H}from"./cli-0.2.0-qcr87znh.mjs";import{Bfa as f,Efa as M,bfa as w,hfa as I,jfa as R,nfa as L}from"./cli-0.2.0-e9xwjcb3.mjs";import{Qla as N,Rla as F}from"./cli-0.2.0-p46nxmgy.mjs";import{dma as h,gma as B}from"./cli-0.2.0-b8hs09nv.mjs";import{hostname as E}from"os";function $(){return P(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await Q(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(W()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=X().BASE_API_URL,m;try{m=await Z.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${R(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{V();F();U();H();M();I();O();Y();L();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
+ export{u as mP,n as nP,o as oP,t as pP,d as qP};
@@ -0,0 +1,2 @@
1
+ import{VS as f,WU as W,iV as X,kV as k}from"./cli-0.2.0-c7ea0dry.mjs";import{IV as V,JV as J,LV as K}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as P}from"./cli-0.2.0-gsw60zfe.mjs";import{Tda as U,Uda as O}from"./cli-0.2.0-p0dd7k39.mjs";import{cma as Q,gma as L}from"./cli-0.2.0-b8hs09nv.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as Sf,N as Tf,j as Uf};
@@ -0,0 +1,2 @@
1
+ import{gma as e}from"./cli-0.2.0-b8hs09nv.mjs";function o(){return!0}var t=()=>{};
2
+ export{o as HQ,t as IQ};
@@ -0,0 +1,2 @@
1
+ import{TV as N,UV as V,VV as D}from"./cli-0.2.0-3y7hn5v2.mjs";import{D3 as x,E2 as Z,LZ as Y,QZ as _,d3 as J,f3 as $,i3 as B}from"./cli-0.2.0-h2wnach8.mjs";import{P4 as X,e5 as R}from"./cli-0.2.0-da216rmz.mjs";import{hda as Q,nda as P}from"./cli-0.2.0-98h2e6bt.mjs";import{gma as W}from"./cli-0.2.0-b8hs09nv.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudio-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
2
+ export{E as NV,I as OV,w as PV,C as QV,O as RV,H as SV};
@@ -0,0 +1,2 @@
1
+ import{Ifa as q,Sfa as U}from"./cli-0.2.0-xmf20rrm.mjs";import{fma as L,gma as X}from"./cli-0.2.0-b8hs09nv.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
2
+ export{G as oR,Y as pR,Z as qR,$ as rR,Q as sR,_ as tR,v as uR,E as vR,A as wR,h as xR,u as yR,f as zR,w as AR,S as BR,P as CR,I as DR,l as ER,y as FR,g as GR};
@@ -0,0 +1,3 @@
1
+ import{Cea as O,yea as L}from"./cli-0.2.0-crn0mjsc.mjs";import{gma as N}from"./cli-0.2.0-b8hs09nv.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
2
+ `,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
3
+ export{S as lV,J as mV,T as nV,U as oV,V as pV,W as qV,Q as rV};
@@ -0,0 +1,2 @@
1
+ import{HU as t,VS as s,kV as f}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as n,KV as c,LV as r}from"./cli-0.2.0-fgsp4dtv.mjs";import{cma as m,gma as l}from"./cli-0.2.0-b8hs09nv.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
+ export{T as Me,p as Ne};
@@ -1,4 +1,4 @@
1
- import{MH as X,_H as v,dE as O,eE as $,lH as V,wn as L,xn as Z}from"./cli-0.1.14-j5sbzwhy.mjs";import{bma as Y}from"./cli-0.1.14-qn4ftczz.mjs";function W(G){let D=[],H=G.matchAll(y);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
1
+ import{Bn as L,Cn as Z,RH as X,dI as v,iE as O,jE as $,qH as V}from"./cli-0.2.0-cs8e9514.mjs";import{gma as Y}from"./cli-0.2.0-b8hs09nv.mjs";function W(G){let D=[],H=G.matchAll(y);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
2
 
3
3
  IMPORTANT CONTEXT:
4
4
  - You are a separate, lightweight agent spawned to answer this one question
@@ -1,4 +1,4 @@
1
- import{g5 as Yn}from"./cli-0.1.14-kv650aha.mjs";import{$la as p,bma as Lo,cma as h}from"./cli-0.1.14-qn4ftczz.mjs";var Oa=p((tc,$a)=>{var U=1000,W=U*60,V=W*60,S=V*24,fn=S*7,bn=S*365.25;$a.exports=function(a,e){e=e||{};var i=typeof a;if(i==="string"&&a.length>0)return hn(a);else if(i==="number"&&isFinite(a))return e.long?wn(a):gn(a);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function hn(a){if(a=String(a),a.length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!e)return;var i=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return i*bn;case"weeks":case"week":case"w":return i*fn;case"days":case"day":case"d":return i*S;case"hours":case"hour":case"hrs":case"hr":case"h":return i*V;case"minutes":case"minute":case"mins":case"min":case"m":return i*W;case"seconds":case"second":case"secs":case"sec":case"s":return i*U;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}function gn(a){var e=Math.abs(a);if(e>=S)return Math.round(a/S)+"d";if(e>=V)return Math.round(a/V)+"h";if(e>=W)return Math.round(a/W)+"m";if(e>=U)return Math.round(a/U)+"s";return a+"ms"}function wn(a){var e=Math.abs(a);if(e>=S)return O(a,e,S,"day");if(e>=V)return O(a,e,V,"hour");if(e>=W)return O(a,e,W,"minute");if(e>=U)return O(a,e,U,"second");return a+" ms"}function O(a,e,i,n){var s=e>=i*1.5;return Math.round(a/i)+" "+n+(s?"s":"")}});var ua=p((rc,Da)=>{function jn(a){i.debug=i,i.default=i,i.coerce=x,i.disable=t,i.enable=s,i.enabled=r,i.humanize=Oa(),i.destroy=v,Object.keys(a).forEach((c)=>{i[c]=a[c]}),i.names=[],i.skips=[],i.formatters={};function e(c){let l=0;for(let m=0;m<c.length;m++)l=(l<<5)-l+c.charCodeAt(m),l|=0;return i.colors[Math.abs(l)%i.colors.length]}i.selectColor=e;function i(c){let l,m=null,b,z;function g(...k){if(!g.enabled)return;let q=g,C=Number(new Date),dn=C-(l||C);if(q.diff=dn,q.prev=l,q.curr=C,l=C,k[0]=i.coerce(k[0]),typeof k[0]!=="string")k.unshift("%O");let $=0;k[0]=k[0].replace(/%([a-zA-Z%])/g,(la,xn)=>{if(la==="%%")return"%";$++;let Ca=i.formatters[xn];if(typeof Ca==="function"){let vn=k[$];la=Ca.call(q,vn),k.splice($,1),$--}return la}),i.formatArgs.call(q,k),(q.log||i.log).apply(q,k)}if(g.namespace=c,g.useColors=i.useColors(),g.color=i.selectColor(c),g.extend=n,g.destroy=i.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(m!==null)return m;if(b!==i.namespaces)b=i.namespaces,z=i.enabled(c);return z},set:(k)=>{m=k}}),typeof i.init==="function")i.init(g);return g}function n(c,l){let m=i(this.namespace+(typeof l>"u"?":":l)+c);return m.log=this.log,m}function s(c){i.save(c),i.namespaces=c,i.names=[],i.skips=[];let l=(typeof c==="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let m of l)if(m[0]==="-")i.skips.push(m.slice(1));else i.names.push(m)}function o(c,l){let m=0,b=0,z=-1,g=0;while(m<c.length)if(b<l.length&&(l[b]===c[m]||l[b]==="*"))if(l[b]==="*")z=b,g=m,b++;else m++,b++;else if(z!==-1)b=z+1,g++,m=g;else return!1;while(b<l.length&&l[b]==="*")b++;return b===l.length}function t(){let c=[...i.names,...i.skips.map((l)=>"-"+l)].join(",");return i.enable(""),c}function r(c){for(let l of i.skips)if(o(c,l))return!1;for(let l of i.names)if(o(c,l))return!0;return!1}function x(c){if(c instanceof Error)return c.stack||c.message;return c}function v(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return i.enable(i.load()),i}Da.exports=jn});var Pa=p((Ra,D)=>{Ra.formatArgs=zn;Ra.save=yn;Ra.load=_n;Ra.useColors=kn;Ra.storage=qn();Ra.destroy=(()=>{let a=!1;return()=>{if(!a)a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();Ra.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function kn(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function zn(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+D.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;a.splice(1,0,e,"color: inherit");let i=0,n=0;a[0].replace(/%[a-zA-Z%]/g,(s)=>{if(s==="%%")return;if(i++,s==="%c")n=i}),a.splice(n,0,e)}Ra.log=console.debug||console.log||(()=>{});function yn(a){try{if(a)Ra.storage.setItem("debug",a);else Ra.storage.removeItem("debug")}catch(e){}}function _n(){let a;try{a=Ra.storage.getItem("debug")||Ra.storage.getItem("DEBUG")}catch(e){}if(!a&&typeof process<"u"&&"env"in process)a=process.env.DEBUG;return a}function qn(){try{return localStorage}catch(a){}}D.exports=ua()(Ra);var{formatters:Sn}=D.exports;Sn.j=function(a){try{return JSON.stringify(a)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var ni=p((ii,P)=>{var Fn=h("tty"),R=h("util");ii.init=Nn;ii.log=Mn;ii.formatArgs=Bn;ii.save=Ln;ii.load=Hn;ii.useColors=Gn;ii.destroy=R.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ii.colors=[6,2,3,4,5,1];try{let a=Yn();if(a&&(a.stderr||a).level>=2)ii.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(a){}ii.inspectOpts=Object.keys(process.env).filter((a)=>{return/^debug_/i.test(a)}).reduce((a,e)=>{let i=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,o)=>{return o.toUpperCase()}),n=process.env[e];if(/^(yes|on|true|enabled)$/i.test(n))n=!0;else if(/^(no|off|false|disabled)$/i.test(n))n=!1;else if(n==="null")n=null;else n=Number(n);return a[i]=n,a},{});function Gn(){return"colors"in ii.inspectOpts?Boolean(ii.inspectOpts.colors):Fn.isatty(process.stderr.fd)}function Bn(a){let{namespace:e,useColors:i}=this;if(i){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${s};1m${e} \x1B[0m`;a[0]=o+a[0].split(`
1
+ import{l5 as Yn}from"./cli-0.2.0-pw3er14v.mjs";import{ema as p,gma as Lo,hma as h}from"./cli-0.2.0-b8hs09nv.mjs";var Oa=p((tc,$a)=>{var U=1000,W=U*60,V=W*60,S=V*24,fn=S*7,bn=S*365.25;$a.exports=function(a,e){e=e||{};var i=typeof a;if(i==="string"&&a.length>0)return hn(a);else if(i==="number"&&isFinite(a))return e.long?wn(a):gn(a);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function hn(a){if(a=String(a),a.length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(!e)return;var i=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return i*bn;case"weeks":case"week":case"w":return i*fn;case"days":case"day":case"d":return i*S;case"hours":case"hour":case"hrs":case"hr":case"h":return i*V;case"minutes":case"minute":case"mins":case"min":case"m":return i*W;case"seconds":case"second":case"secs":case"sec":case"s":return i*U;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}function gn(a){var e=Math.abs(a);if(e>=S)return Math.round(a/S)+"d";if(e>=V)return Math.round(a/V)+"h";if(e>=W)return Math.round(a/W)+"m";if(e>=U)return Math.round(a/U)+"s";return a+"ms"}function wn(a){var e=Math.abs(a);if(e>=S)return O(a,e,S,"day");if(e>=V)return O(a,e,V,"hour");if(e>=W)return O(a,e,W,"minute");if(e>=U)return O(a,e,U,"second");return a+" ms"}function O(a,e,i,n){var s=e>=i*1.5;return Math.round(a/i)+" "+n+(s?"s":"")}});var ua=p((rc,Da)=>{function jn(a){i.debug=i,i.default=i,i.coerce=x,i.disable=t,i.enable=s,i.enabled=r,i.humanize=Oa(),i.destroy=v,Object.keys(a).forEach((c)=>{i[c]=a[c]}),i.names=[],i.skips=[],i.formatters={};function e(c){let l=0;for(let m=0;m<c.length;m++)l=(l<<5)-l+c.charCodeAt(m),l|=0;return i.colors[Math.abs(l)%i.colors.length]}i.selectColor=e;function i(c){let l,m=null,b,z;function g(...k){if(!g.enabled)return;let q=g,C=Number(new Date),dn=C-(l||C);if(q.diff=dn,q.prev=l,q.curr=C,l=C,k[0]=i.coerce(k[0]),typeof k[0]!=="string")k.unshift("%O");let $=0;k[0]=k[0].replace(/%([a-zA-Z%])/g,(la,xn)=>{if(la==="%%")return"%";$++;let Ca=i.formatters[xn];if(typeof Ca==="function"){let vn=k[$];la=Ca.call(q,vn),k.splice($,1),$--}return la}),i.formatArgs.call(q,k),(q.log||i.log).apply(q,k)}if(g.namespace=c,g.useColors=i.useColors(),g.color=i.selectColor(c),g.extend=n,g.destroy=i.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(m!==null)return m;if(b!==i.namespaces)b=i.namespaces,z=i.enabled(c);return z},set:(k)=>{m=k}}),typeof i.init==="function")i.init(g);return g}function n(c,l){let m=i(this.namespace+(typeof l>"u"?":":l)+c);return m.log=this.log,m}function s(c){i.save(c),i.namespaces=c,i.names=[],i.skips=[];let l=(typeof c==="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let m of l)if(m[0]==="-")i.skips.push(m.slice(1));else i.names.push(m)}function o(c,l){let m=0,b=0,z=-1,g=0;while(m<c.length)if(b<l.length&&(l[b]===c[m]||l[b]==="*"))if(l[b]==="*")z=b,g=m,b++;else m++,b++;else if(z!==-1)b=z+1,g++,m=g;else return!1;while(b<l.length&&l[b]==="*")b++;return b===l.length}function t(){let c=[...i.names,...i.skips.map((l)=>"-"+l)].join(",");return i.enable(""),c}function r(c){for(let l of i.skips)if(o(c,l))return!1;for(let l of i.names)if(o(c,l))return!0;return!1}function x(c){if(c instanceof Error)return c.stack||c.message;return c}function v(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return i.enable(i.load()),i}Da.exports=jn});var Pa=p((Ra,D)=>{Ra.formatArgs=zn;Ra.save=yn;Ra.load=_n;Ra.useColors=kn;Ra.storage=qn();Ra.destroy=(()=>{let a=!1;return()=>{if(!a)a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();Ra.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function kn(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function zn(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+D.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;a.splice(1,0,e,"color: inherit");let i=0,n=0;a[0].replace(/%[a-zA-Z%]/g,(s)=>{if(s==="%%")return;if(i++,s==="%c")n=i}),a.splice(n,0,e)}Ra.log=console.debug||console.log||(()=>{});function yn(a){try{if(a)Ra.storage.setItem("debug",a);else Ra.storage.removeItem("debug")}catch(e){}}function _n(){let a;try{a=Ra.storage.getItem("debug")||Ra.storage.getItem("DEBUG")}catch(e){}if(!a&&typeof process<"u"&&"env"in process)a=process.env.DEBUG;return a}function qn(){try{return localStorage}catch(a){}}D.exports=ua()(Ra);var{formatters:Sn}=D.exports;Sn.j=function(a){try{return JSON.stringify(a)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var ni=p((ii,P)=>{var Fn=h("tty"),R=h("util");ii.init=Nn;ii.log=Mn;ii.formatArgs=Bn;ii.save=Ln;ii.load=Hn;ii.useColors=Gn;ii.destroy=R.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ii.colors=[6,2,3,4,5,1];try{let a=Yn();if(a&&(a.stderr||a).level>=2)ii.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(a){}ii.inspectOpts=Object.keys(process.env).filter((a)=>{return/^debug_/i.test(a)}).reduce((a,e)=>{let i=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,o)=>{return o.toUpperCase()}),n=process.env[e];if(/^(yes|on|true|enabled)$/i.test(n))n=!0;else if(/^(no|off|false|disabled)$/i.test(n))n=!1;else if(n==="null")n=null;else n=Number(n);return a[i]=n,a},{});function Gn(){return"colors"in ii.inspectOpts?Boolean(ii.inspectOpts.colors):Fn.isatty(process.stderr.fd)}function Bn(a){let{namespace:e,useColors:i}=this;if(i){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${s};1m${e} \x1B[0m`;a[0]=o+a[0].split(`
2
2
  `).join(`
3
3
  `+o),a.push(s+"m+"+P.exports.humanize(this.diff)+"\x1B[0m")}else a[0]=Xn()+e+" "+a[0]}function Xn(){if(ii.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function Mn(...a){return process.stderr.write(R.formatWithOptions(ii.inspectOpts,...a)+`
4
4
  `)}function Ln(a){if(a)process.env.DEBUG=a;else delete process.env.DEBUG}function Hn(){return process.env.DEBUG}function Nn(a){a.inspectOpts={};let e=Object.keys(ii.inspectOpts);for(let i=0;i<e.length;i++)a.inspectOpts[e[i]]=ii.inspectOpts[e[i]]}P.exports=ua()(ii);var{formatters:ai}=P.exports;ai.o=function(a){return this.inspectOpts.colors=this.useColors,R.inspect(a,this.inspectOpts).split(`
@@ -9,4 +9,4 @@ import{g5 as Yn}from"./cli-0.1.14-kv650aha.mjs";import{$la as p,bma as Lo,cma as
9
9
  * MIT Licensed
10
10
  */var aa=mi(),as=h("path").extname,di=/^\s*([^;\s]*)(?:;|\s|$)/,is=/^text\//i;cs.charset=xi;cs.charsets={lookup:xi};cs.contentType=es;cs.extension=ns;cs.extensions=Object.create(null);cs.lookup=ss;cs.types=Object.create(null);os(cs.extensions,cs.types);function xi(a){if(!a||typeof a!=="string")return!1;var e=di.exec(a),i=e&&aa[e[1].toLowerCase()];if(i&&i.charset)return i.charset;if(e&&is.test(e[1]))return"UTF-8";return!1}function es(a){if(!a||typeof a!=="string")return!1;var e=a.indexOf("/")===-1?cs.lookup(a):a;if(!e)return!1;if(e.indexOf("charset")===-1){var i=cs.charset(e);if(i)e+="; charset="+i.toLowerCase()}return e}function ns(a){if(!a||typeof a!=="string")return!1;var e=di.exec(a),i=e&&cs.extensions[e[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]}function ss(a){if(!a||typeof a!=="string")return!1;var e=as("x."+a).toLowerCase().substr(1);if(!e)return!1;return cs.types[e]||!1}function os(a,e){var i=["nginx","apache",void 0,"iana"];Object.keys(aa).forEach(function(s){var o=aa[s],t=o.extensions;if(!t||!t.length)return;a[s]=t;for(var r=0;r<t.length;r++){var x=t[r];if(e[x]){var v=i.indexOf(aa[e[x]].source),c=i.indexOf(o.source);if(e[x]!=="application/octet-stream"&&(v>c||v===c&&e[x].substr(0,12)==="application/"))continue}e[x]=s}})}});var gi=p((bc,hi)=>{hi.exports=ls;function ls(a){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(e)e(a);else setTimeout(a,0)}});var va=p((hc,ji)=>{var wi=gi();ji.exports=us;function us(a){var e=!1;return wi(function(){e=!0}),function(n,s){if(e)a(n,s);else wi(function(){a(n,s)})}}});var fa=p((gc,ki)=>{ki.exports=ms;function ms(a){Object.keys(a.jobs).forEach(ds.bind(a)),a.jobs={}}function ds(a){if(typeof this.jobs[a]=="function")this.jobs[a]()}});var ba=p((wc,yi)=>{var zi=va(),xs=fa();yi.exports=vs;function vs(a,e,i,n){var s=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[s]=fs(e,s,a[s],function(o,t){if(!(s in i.jobs))return;if(delete i.jobs[s],o)xs(i);else i.results[s]=t;n(o,i.results)})}function fs(a,e,i,n){var s;if(a.length==2)s=a(i,zi(n));else s=a(i,e,zi(n));return s}});var ha=p((jc,_i)=>{_i.exports=bs;function bs(a,e){var i=!Array.isArray(a),n={index:0,keyedList:i||e?Object.keys(a):null,jobs:{},results:i?{}:[],size:i?Object.keys(a).length:a.length};if(e)n.keyedList.sort(i?e:function(s,o){return e(a[s],a[o])});return n}});var ga=p((kc,qi)=>{var hs=fa(),gs=va();qi.exports=ws;function ws(a){if(!Object.keys(this.jobs).length)return;this.index=this.size,hs(this),gs(a)(null,this.results)}});var Qi=p((zc,Si)=>{var js=ba(),ks=ha(),zs=ga();Si.exports=ys;function ys(a,e,i){var n=ks(a);while(n.index<(n.keyedList||a).length)js(a,e,n,function(s,o){if(s){i(s,o);return}if(Object.keys(n.jobs).length===0){i(null,n.results);return}}),n.index++;return zs.bind(n,i)}});var wa=p((yc,ia)=>{var Zi=ba(),_s=ha(),qs=ga();ia.exports=Ss;ia.exports.ascending=Ji;ia.exports.descending=Qs;function Ss(a,e,i,n){var s=_s(a,i);return Zi(a,e,s,function o(t,r){if(t){n(t,r);return}if(s.index++,s.index<(s.keyedList||a).length){Zi(a,e,s,o);return}n(null,s.results)}),qs.bind(s,n)}function Ji(a,e){return a<e?-1:a>e?1:0}function Qs(a,e){return-1*Ji(a,e)}});var Ui=p((_c,Ki)=>{var Zs=wa();Ki.exports=Js;function Js(a,e,i){return Zs(a,e,null,i)}});var Vi=p((qc,Wi)=>{Wi.exports={parallel:Qi(),serial:Ui(),serialOrdered:wa()}});var ja=p((Sc,Yi)=>{Yi.exports=Object});var Gi=p((Qc,Fi)=>{Fi.exports=Error});var Xi=p((Zc,Bi)=>{Bi.exports=EvalError});var Li=p((Jc,Mi)=>{Mi.exports=RangeError});var Ni=p((Kc,Hi)=>{Hi.exports=ReferenceError});var Ti=p((Uc,Ai)=>{Ai.exports=SyntaxError});var ea=p((Wc,Ei)=>{Ei.exports=TypeError});var Ci=p((Vc,Ii)=>{Ii.exports=URIError});var Oi=p((Yc,$i)=>{$i.exports=Math.abs});var Ri=p((Fc,Di)=>{Di.exports=Math.floor});var ae=p((Gc,Pi)=>{Pi.exports=Math.max});var ee=p((Bc,ie)=>{ie.exports=Math.min});var se=p((Xc,ne)=>{ne.exports=Math.pow});var ce=p((Mc,oe)=>{oe.exports=Math.round});var te=p((Lc,pe)=>{pe.exports=Number.isNaN||function(e){return e!==e}});var le=p((Hc,re)=>{var Ks=te();re.exports=function(e){if(Ks(e)||e===0)return e;return e<0?-1:1}});var me=p((Nc,ue)=>{ue.exports=Object.getOwnPropertyDescriptor});var ka=p((Ac,de)=>{var na=me();if(na)try{na([],"length")}catch(a){na=null}de.exports=na});var ve=p((Tc,xe)=>{var sa=Object.defineProperty||!1;if(sa)try{sa({},"a",{value:1})}catch(a){sa=!1}xe.exports=sa});var za=p((Ec,fe)=>{fe.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var e={},i=Symbol("test"),n=Object(i);if(typeof i==="string")return!1;if(Object.prototype.toString.call(i)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var s=42;e[i]=s;for(var o in e)return!1;if(typeof Object.keys==="function"&&Object.keys(e).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var t=Object.getOwnPropertySymbols(e);if(t.length!==1||t[0]!==i)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var r=Object.getOwnPropertyDescriptor(e,i);if(r.value!==s||r.enumerable!==!0)return!1}return!0}});var ge=p((Ic,he)=>{var be=typeof Symbol<"u"&&Symbol,Us=za();he.exports=function(){if(typeof be!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof be("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return Us()}});var ya=p((Cc,we)=>{we.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var _a=p(($c,je)=>{var Ws=ja();je.exports=Ws.getPrototypeOf||null});var ye=p((Oc,ze)=>{var Vs="Function.prototype.bind called on incompatible ",Ys=Object.prototype.toString,Fs=Math.max,Gs="[object Function]",ke=function(e,i){var n=[];for(var s=0;s<e.length;s+=1)n[s]=e[s];for(var o=0;o<i.length;o+=1)n[o+e.length]=i[o];return n},Bs=function(e,i){var n=[];for(var s=i||0,o=0;s<e.length;s+=1,o+=1)n[o]=e[s];return n},Xs=function(a,e){var i="";for(var n=0;n<a.length;n+=1)if(i+=a[n],n+1<a.length)i+=e;return i};ze.exports=function(e){var i=this;if(typeof i!=="function"||Ys.apply(i)!==Gs)throw TypeError(Vs+i);var n=Bs(arguments,1),s,o=function(){if(this instanceof s){var c=i.apply(this,ke(n,arguments));if(Object(c)===c)return c;return this}return i.apply(e,ke(n,arguments))},t=Fs(0,i.length-n.length),r=[];for(var x=0;x<t;x++)r[x]="$"+x;if(s=Function("binder","return function ("+Xs(r,",")+"){ return binder.apply(this,arguments); }")(o),i.prototype){var v=function(){};v.prototype=i.prototype,s.prototype=new v,v.prototype=null}return s}});var M=p((Dc,_e)=>{var Ms=ye();_e.exports=Function.prototype.bind||Ms});var oa=p((Rc,qe)=>{qe.exports=Function.prototype.call});var qa=p((Pc,Se)=>{Se.exports=Function.prototype.apply});var Ze=p((ap,Qe)=>{Qe.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Ke=p((ip,Je)=>{var Ls=M(),Hs=qa(),Ns=oa(),As=Ze();Je.exports=As||Ls.call(Ns,Hs)});var We=p((ep,Ue)=>{var Ts=M(),Es=ea(),Is=oa(),Cs=Ke();Ue.exports=function(e){if(e.length<1||typeof e[0]!=="function")throw new Es("a function is required");return Cs(Ts,Is,e)}});var Xe=p((np,Be)=>{var $s=We(),Ve=ka(),Fe;try{Fe=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!=="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var Sa=!!Fe&&Ve&&Ve(Object.prototype,"__proto__"),Ge=Object,Ye=Ge.getPrototypeOf;Be.exports=Sa&&typeof Sa.get==="function"?$s([Sa.get]):typeof Ye==="function"?function(e){return Ye(e==null?e:Ge(e))}:!1});var Ae=p((sp,Ne)=>{var Me=ya(),Le=_a(),He=Xe();Ne.exports=Me?function(e){return Me(e)}:Le?function(e){if(!e||typeof e!=="object"&&typeof e!=="function")throw TypeError("getProto: not an object");return Le(e)}:He?function(e){return He(e)}:null});var ca=p((op,Te)=>{var Os=Function.prototype.call,Ds=Object.prototype.hasOwnProperty,Rs=M();Te.exports=Rs.call(Os,Ds)});var De=p((cp,Oe)=>{var u,Ps=ja(),ao=Gi(),io=Xi(),eo=Li(),no=Ni(),B=Ti(),G=ea(),so=Ci(),oo=Oi(),co=Ri(),po=ae(),to=ee(),ro=se(),lo=ce(),uo=le(),Ce=Function,Qa=function(a){try{return Ce('"use strict"; return ('+a+").constructor;")()}catch(e){}},L=ka(),mo=ve(),Za=function(){throw new G},xo=L?function(){try{return arguments.callee,Za}catch(a){try{return L(arguments,"callee").get}catch(e){return Za}}}():Za,Y=ge()(),w=Ae(),vo=_a(),fo=ya(),$e=qa(),H=oa(),F={},bo=typeof Uint8Array>"u"||!w?u:w(Uint8Array),Z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?u:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?u:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&w?w([][Symbol.iterator]()):u,"%AsyncFromSyncIteratorPrototype%":u,"%AsyncFunction%":F,"%AsyncGenerator%":F,"%AsyncGeneratorFunction%":F,"%AsyncIteratorPrototype%":F,"%Atomics%":typeof Atomics>"u"?u:Atomics,"%BigInt%":typeof BigInt>"u"?u:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?u:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?u:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?u:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ao,"%eval%":eval,"%EvalError%":io,"%Float16Array%":typeof Float16Array>"u"?u:Float16Array,"%Float32Array%":typeof Float32Array>"u"?u:Float32Array,"%Float64Array%":typeof Float64Array>"u"?u:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?u:FinalizationRegistry,"%Function%":Ce,"%GeneratorFunction%":F,"%Int8Array%":typeof Int8Array>"u"?u:Int8Array,"%Int16Array%":typeof Int16Array>"u"?u:Int16Array,"%Int32Array%":typeof Int32Array>"u"?u:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&w?w(w([][Symbol.iterator]())):u,"%JSON%":typeof JSON==="object"?JSON:u,"%Map%":typeof Map>"u"?u:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!w?u:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Ps,"%Object.getOwnPropertyDescriptor%":L,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?u:Promise,"%Proxy%":typeof Proxy>"u"?u:Proxy,"%RangeError%":eo,"%ReferenceError%":no,"%Reflect%":typeof Reflect>"u"?u:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?u:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!w?u:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?u:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&w?w(""[Symbol.iterator]()):u,"%Symbol%":Y?Symbol:u,"%SyntaxError%":B,"%ThrowTypeError%":xo,"%TypedArray%":bo,"%TypeError%":G,"%Uint8Array%":typeof Uint8Array>"u"?u:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?u:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?u:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?u:Uint32Array,"%URIError%":so,"%WeakMap%":typeof WeakMap>"u"?u:WeakMap,"%WeakRef%":typeof WeakRef>"u"?u:WeakRef,"%WeakSet%":typeof WeakSet>"u"?u:WeakSet,"%Function.prototype.call%":H,"%Function.prototype.apply%":$e,"%Object.defineProperty%":mo,"%Object.getPrototypeOf%":vo,"%Math.abs%":oo,"%Math.floor%":co,"%Math.max%":po,"%Math.min%":to,"%Math.pow%":ro,"%Math.round%":lo,"%Math.sign%":uo,"%Reflect.getPrototypeOf%":fo};if(w)try{null.error}catch(a){Ja=w(w(a)),Z["%Error.prototype%"]=Ja}var Ja,ho=function a(e){var i;if(e==="%AsyncFunction%")i=Qa("async function () {}");else if(e==="%GeneratorFunction%")i=Qa("function* () {}");else if(e==="%AsyncGeneratorFunction%")i=Qa("async function* () {}");else if(e==="%AsyncGenerator%"){var n=a("%AsyncGeneratorFunction%");if(n)i=n.prototype}else if(e==="%AsyncIteratorPrototype%"){var s=a("%AsyncGenerator%");if(s&&w)i=w(s.prototype)}return Z[e]=i,i},Ee={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=M(),pa=ca(),go=N.call(H,Array.prototype.concat),wo=N.call($e,Array.prototype.splice),Ie=N.call(H,String.prototype.replace),ta=N.call(H,String.prototype.slice),jo=N.call(H,RegExp.prototype.exec),ko=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,zo=/\\(\\)?/g,yo=function(e){var i=ta(e,0,1),n=ta(e,-1);if(i==="%"&&n!=="%")throw new B("invalid intrinsic syntax, expected closing `%`");else if(n==="%"&&i!=="%")throw new B("invalid intrinsic syntax, expected opening `%`");var s=[];return Ie(e,ko,function(o,t,r,x){s[s.length]=r?Ie(x,zo,"$1"):t||o}),s},_o=function(e,i){var n=e,s;if(pa(Ee,n))s=Ee[n],n="%"+s[0]+"%";if(pa(Z,n)){var o=Z[n];if(o===F)o=ho(n);if(typeof o>"u"&&!i)throw new G("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:s,name:n,value:o}}throw new B("intrinsic "+e+" does not exist!")};Oe.exports=function(e,i){if(typeof e!=="string"||e.length===0)throw new G("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof i!=="boolean")throw new G('"allowMissing" argument must be a boolean');if(jo(/^%?[^%]*%?$/,e)===null)throw new B("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=yo(e),s=n.length>0?n[0]:"",o=_o("%"+s+"%",i),t=o.name,r=o.value,x=!1,v=o.alias;if(v)s=v[0],wo(n,go([0,1],v));for(var c=1,l=!0;c<n.length;c+=1){var m=n[c],b=ta(m,0,1),z=ta(m,-1);if((b==='"'||b==="'"||b==="`"||(z==='"'||z==="'"||z==="`"))&&b!==z)throw new B("property names with quotes must have matching quotes");if(m==="constructor"||!l)x=!0;if(s+="."+m,t="%"+s+"%",pa(Z,t))r=Z[t];else if(r!=null){if(!(m in r)){if(!i)throw new G("base intrinsic for "+e+" exists, but the property is not available.");return}if(L&&c+1>=n.length){var g=L(r,m);if(l=!!g,l&&"get"in g&&!("originalValue"in g.get))r=g.get;else r=r[m]}else l=pa(r,m),r=r[m];if(l&&!x)Z[t]=r}}return r}});var Pe=p((pp,Re)=>{var qo=za();Re.exports=function(){return qo()&&!!Symbol.toStringTag}});var nn=p((tp,en)=>{var So=De(),an=So("%Object.defineProperty%",!0),Qo=Pe()(),Zo=ca(),Jo=ea(),ra=Qo?Symbol.toStringTag:null;en.exports=function(e,i){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,s=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!=="boolean"||typeof s<"u"&&typeof s!=="boolean")throw new Jo("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(ra&&(n||!Zo(e,ra)))if(an)an(e,ra,{configurable:!s,enumerable:!1,value:i,writable:!1});else e[ra]=i}});var on=p((rp,sn)=>{sn.exports=function(a,e){return Object.keys(e).forEach(function(i){a[i]=a[i]||e[i]}),a}});var Mo=p((lp,cn)=>{var Va=ui(),Ko=h("util"),Ka=h("path"),Uo=h("http"),Wo=h("https"),Vo=h("url").parse,Yo=h("fs"),Fo=h("stream").Stream,Go=h("crypto"),Ua=bi(),Bo=Vi(),Xo=nn(),_=ca(),Wa=on();function d(a){if(!(this instanceof d))return new d(a);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Va.call(this),a=a||{};for(var e in a)this[e]=a[e]}Ko.inherits(d,Va);d.LINE_BREAK=`\r
11
11
  `;d.DEFAULT_CONTENT_TYPE="application/octet-stream";d.prototype.append=function(a,e,i){if(i=i||{},typeof i==="string")i={filename:i};var n=Va.prototype.append.bind(this);if(typeof e==="number"||e==null)e=String(e);if(Array.isArray(e)){this._error(Error("Arrays are not supported."));return}var s=this._multiPartHeader(a,e,i),o=this._multiPartFooter();n(s),n(e),n(o),this._trackLength(s,e,i)};d.prototype._trackLength=function(a,e,i){var n=0;if(i.knownLength!=null)n+=Number(i.knownLength);else if(Buffer.isBuffer(e))n=e.length;else if(typeof e==="string")n=Buffer.byteLength(e);if(this._valueLength+=n,this._overheadLength+=Buffer.byteLength(a)+d.LINE_BREAK.length,!e||!e.path&&!(e.readable&&_(e,"httpVersion"))&&!(e instanceof Fo))return;if(!i.knownLength)this._valuesToMeasure.push(e)};d.prototype._lengthRetriever=function(a,e){if(_(a,"fd"))if(a.end!=null&&a.end!=1/0&&a.start!=null)e(null,a.end+1-(a.start?a.start:0));else Yo.stat(a.path,function(i,n){if(i){e(i);return}var s=n.size-(a.start?a.start:0);e(null,s)});else if(_(a,"httpVersion"))e(null,Number(a.headers["content-length"]));else if(_(a,"httpModule"))a.on("response",function(i){a.pause(),e(null,Number(i.headers["content-length"]))}),a.resume();else e("Unknown stream")};d.prototype._multiPartHeader=function(a,e,i){if(typeof i.header==="string")return i.header;var n=this._getContentDisposition(e,i),s=this._getContentType(e,i),o="",t={"Content-Disposition":["form-data",'name="'+a+'"'].concat(n||[]),"Content-Type":[].concat(s||[])};if(typeof i.header==="object")Wa(t,i.header);var r;for(var x in t)if(_(t,x)){if(r=t[x],r==null)continue;if(!Array.isArray(r))r=[r];if(r.length)o+=x+": "+r.join("; ")+d.LINE_BREAK}return"--"+this.getBoundary()+d.LINE_BREAK+o+d.LINE_BREAK};d.prototype._getContentDisposition=function(a,e){var i;if(typeof e.filepath==="string")i=Ka.normalize(e.filepath).replace(/\\/g,"/");else if(e.filename||a&&(a.name||a.path))i=Ka.basename(e.filename||a&&(a.name||a.path));else if(a&&a.readable&&_(a,"httpVersion"))i=Ka.basename(a.client._httpMessage.path||"");if(i)return'filename="'+i+'"'};d.prototype._getContentType=function(a,e){var i=e.contentType;if(!i&&a&&a.name)i=Ua.lookup(a.name);if(!i&&a&&a.path)i=Ua.lookup(a.path);if(!i&&a&&a.readable&&_(a,"httpVersion"))i=a.headers["content-type"];if(!i&&(e.filepath||e.filename))i=Ua.lookup(e.filepath||e.filename);if(!i&&a&&typeof a==="object")i=d.DEFAULT_CONTENT_TYPE;return i};d.prototype._multiPartFooter=function(){return function(a){var e=d.LINE_BREAK,i=this._streams.length===0;if(i)e+=this._lastBoundary();a(e)}.bind(this)};d.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+d.LINE_BREAK};d.prototype.getHeaders=function(a){var e,i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in a)if(_(a,e))i[e.toLowerCase()]=a[e];return i};d.prototype.setBoundary=function(a){if(typeof a!=="string")throw TypeError("FormData boundary must be a string");this._boundary=a};d.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};d.prototype.getBuffer=function(){var a=new Buffer.alloc(0),e=this.getBoundary();for(var i=0,n=this._streams.length;i<n;i++)if(typeof this._streams[i]!=="function"){if(Buffer.isBuffer(this._streams[i]))a=Buffer.concat([a,this._streams[i]]);else a=Buffer.concat([a,Buffer.from(this._streams[i])]);if(typeof this._streams[i]!=="string"||this._streams[i].substring(2,e.length+2)!==e)a=Buffer.concat([a,Buffer.from(d.LINE_BREAK)])}return Buffer.concat([a,Buffer.from(this._lastBoundary())])};d.prototype._generateBoundary=function(){this._boundary="--------------------------"+Go.randomBytes(12).toString("hex")};d.prototype.getLengthSync=function(){var a=this._overheadLength+this._valueLength;if(this._streams.length)a+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return a};d.prototype.hasKnownLength=function(){var a=!0;if(this._valuesToMeasure.length)a=!1;return a};d.prototype.getLength=function(a){var e=this._overheadLength+this._valueLength;if(this._streams.length)e+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(a.bind(this,null,e));return}Bo.parallel(this._valuesToMeasure,this._lengthRetriever,function(i,n){if(i){a(i);return}n.forEach(function(s){e+=s}),a(null,e)})};d.prototype.submit=function(a,e){var i,n,s={method:"post"};if(typeof a==="string")a=Vo(a),n=Wa({port:a.port,path:a.pathname,host:a.hostname,protocol:a.protocol},s);else if(n=Wa(a,s),!n.port)n.port=n.protocol==="https:"?443:80;if(n.headers=this.getHeaders(a.headers),n.protocol==="https:")i=Wo.request(n);else i=Uo.request(n);return this.getLength(function(o,t){if(o&&o!=="Unknown stream"){this._error(o);return}if(t)i.setHeader("Content-Length",t);if(this.pipe(i),e){var r,x=function(v,c){return i.removeListener("error",x),i.removeListener("response",r),e.call(this,v,c)};r=x.bind(this,null),i.on("error",x),i.on("response",r)}}.bind(this)),i};d.prototype._error=function(a){if(!this.error)this.error=a,this.pause(),this.emit("error",a)};d.prototype.toString=function(){return"[object FormData]"};Xo(d.prototype,"FormData");cn.exports=d});function No(a){try{return new URL(a)}catch{return null}}function up(a){var e=(typeof a==="string"?No(a):a)||{},i=e.protocol,n=e.host,s=e.port;if(typeof n!=="string"||!n||typeof i!=="string")return"";if(i=i.split(":",1)[0],n=n.replace(/:\d*$/,""),s=parseInt(s)||Ho[i]||0,!Ao(n,s))return"";var o=Ya(i+"_proxy")||Ya("all_proxy");if(o&&o.indexOf("://")===-1)o=i+"://"+o;return o}function Ao(a,e){var i=Ya("no_proxy").toLowerCase();if(!i)return!0;if(i==="*")return!1;return i.split(/[,\s]/).every(function(n){if(!n)return!0;var s=n.match(/^(.+):(\d+)$/),o=s?s[1]:n,t=s?parseInt(s[2]):0;if(t&&t!==e)return!0;if(!/^[.*]/.test(o))return a!==o;if(o.charAt(0)==="*")o=o.slice(1);return!a.endsWith(o)})}function Ya(a){return process.env[a.toLowerCase()]||process.env[a.toUpperCase()]||""}var Ho;var To=Lo(()=>{Ho={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443}});var tn=p((dp,pn)=>{var A;pn.exports=function(){if(!A){try{A=si()("follow-redirects")}catch(a){}if(typeof A!=="function")A=function(){}}A.apply(null,arguments)}});var cc=p((xp,Ia)=>{var E=h("url"),T=E.URL,Eo=h("http"),Io=h("https"),Ma=h("stream").Writable,La=h("assert"),rn=tn();(function(){var e=typeof process<"u",i=typeof window<"u"&&typeof document<"u",n=K(Error.captureStackTrace);if(!e&&(i||!n))console.warn("The follow-redirects package should be excluded from browser builds.")})();var Ha=!1;try{La(new T(""))}catch(a){Ha=a.code==="ERR_INVALID_URL"}var Co=["Authorization","Proxy-Authorization","Cookie"],$o=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Na=["abort","aborted","connect","error","socket","timeout"],Aa=Object.create(null);Na.forEach(function(a){Aa[a]=function(e,i,n){this._redirectable.emit(a,e,i,n)}});var Ga=I("ERR_INVALID_URL","Invalid URL",TypeError),Ba=I("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Oo=I("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Ba),Do=I("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ro=I("ERR_STREAM_WRITE_AFTER_END","write after end"),Po=Ma.prototype.destroy||un;function j(a,e){if(Ma.call(this),this._sanitizeOptions(a),this._options=a,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e)this.on("response",e);var i=this;this._onNativeResponse=function(n){try{i._processResponse(n)}catch(s){i.emit("error",s instanceof Ba?s:new Ba({cause:s}))}},this._headerFilter=new RegExp("^(?:"+Co.concat(a.sensitiveHeaders).map(oc).join("|")+")$","i"),this._performRequest()}j.prototype=Object.create(Ma.prototype);j.prototype.abort=function(){Ea(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};j.prototype.destroy=function(a){return Ea(this._currentRequest,a),Po.call(this,a),this};j.prototype.write=function(a,e,i){if(this._ending)throw new Ro;if(!J(a)&&!nc(a))throw TypeError("data should be a string, Buffer or Uint8Array");if(K(e))i=e,e=null;if(a.length===0){if(i)i();return}if(this._requestBodyLength+a.length<=this._options.maxBodyLength)this._requestBodyLength+=a.length,this._requestBodyBuffers.push({data:a,encoding:e}),this._currentRequest.write(a,e,i);else this.emit("error",new Do),this.abort()};j.prototype.end=function(a,e,i){if(K(a))i=a,a=e=null;else if(K(e))i=e,e=null;if(!a)this._ended=this._ending=!0,this._currentRequest.end(null,null,i);else{var n=this,s=this._currentRequest;this.write(a,e,function(){n._ended=!0,s.end(null,null,i)}),this._ending=!0}};j.prototype.setHeader=function(a,e){this._options.headers[a]=e,this._currentRequest.setHeader(a,e)};j.prototype.removeHeader=function(a){delete this._options.headers[a],this._currentRequest.removeHeader(a)};j.prototype.setTimeout=function(a,e){var i=this;function n(t){t.setTimeout(a),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function s(t){if(i._timeout)clearTimeout(i._timeout);i._timeout=setTimeout(function(){i.emit("timeout"),o()},a),n(t)}function o(){if(i._timeout)clearTimeout(i._timeout),i._timeout=null;if(i.removeListener("abort",o),i.removeListener("error",o),i.removeListener("response",o),i.removeListener("close",o),e)i.removeListener("timeout",e);if(!i.socket)i._currentRequest.removeListener("socket",s)}if(e)this.on("timeout",e);if(this.socket)s(this.socket);else this._currentRequest.once("socket",s);return this.on("socket",n),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(a){j.prototype[a]=function(e,i){return this._currentRequest[a](e,i)}});["aborted","connection","socket"].forEach(function(a){Object.defineProperty(j.prototype,a,{get:function(){return this._currentRequest[a]}})});j.prototype._sanitizeOptions=function(a){if(!a.headers)a.headers={};if(!ec(a.sensitiveHeaders))a.sensitiveHeaders=[];if(a.host){if(!a.hostname)a.hostname=a.host;delete a.host}if(!a.pathname&&a.path){var e=a.path.indexOf("?");if(e<0)a.pathname=a.path;else a.pathname=a.path.substring(0,e),a.search=a.path.substring(e)}};j.prototype._performRequest=function(){var a=this._options.protocol,e=this._options.nativeProtocols[a];if(!e)throw TypeError("Unsupported protocol "+a);if(this._options.agents){var i=a.slice(0,-1);this._options.agent=this._options.agents[i]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var s of Na)n.on(s,Aa[s]);if(this._currentUrl=/^\//.test(this._options.path)?E.format(this._options):this._options.path,this._isRedirect){var o=0,t=this,r=this._requestBodyBuffers;(function x(v){if(n===t._currentRequest){if(v)t.emit("error",v);else if(o<r.length){var c=r[o++];if(!n.finished)n.write(c.data,c.encoding,x)}else if(t._ended)n.end()}})()}};j.prototype._processResponse=function(a){var e=a.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:a.headers,statusCode:e});var i=a.headers.location;if(!i||this._options.followRedirects===!1||e<300||e>=400){a.responseUrl=this._currentUrl,a.redirects=this._redirects,this.emit("response",a),this._requestBodyBuffers=[];return}if(Ea(this._currentRequest),a.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Oo;var n,s=this._options.beforeRedirect;if(s)n=Object.assign({Host:a.req.getHeader("host")},this._options.headers);var o=this._options.method;if((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],Fa(/^content-/i,this._options.headers);var t=Fa(/^host$/i,this._options.headers),r=Ta(this._currentUrl),x=t||r.host,v=/^\w+:/.test(i)?this._currentUrl:E.format(Object.assign(r,{host:x})),c=ac(i,v);if(rn("redirecting to",c.href),this._isRedirect=!0,Xa(c,this._options),c.protocol!==r.protocol&&c.protocol!=="https:"||c.host!==x&&!ic(c.host,x))Fa(this._headerFilter,this._options.headers);if(K(s)){var l={headers:a.headers,statusCode:e},m={url:v,method:o,headers:n};s(this._options,l,m),this._sanitizeOptions(this._options)}this._performRequest()};function ln(a){var e={maxRedirects:21,maxBodyLength:10485760},i={};return Object.keys(a).forEach(function(n){var s=n+":",o=i[s]=a[n],t=e[n]=Object.create(o);function r(v,c,l){if(sc(v))v=Xa(v);else if(J(v))v=Xa(Ta(v));else l=c,c=mn(v),v={protocol:s};if(K(c))l=c,c=null;if(c=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},v,c),c.nativeProtocols=i,!J(c.host)&&!J(c.hostname))c.hostname="::1";return La.equal(c.protocol,s,"protocol mismatch"),rn("options",c),new j(c,l)}function x(v,c,l){var m=t.request(v,c,l);return m.end(),m}Object.defineProperties(t,{request:{value:r,configurable:!0,enumerable:!0,writable:!0},get:{value:x,configurable:!0,enumerable:!0,writable:!0}})}),e}function un(){}function Ta(a){var e;if(Ha)e=new T(a);else if(e=mn(E.parse(a)),!J(e.protocol))throw new Ga({input:a});return e}function ac(a,e){return Ha?new T(a,e):Ta(E.resolve(e,a))}function mn(a){if(/^\[/.test(a.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(a.hostname))throw new Ga({input:a.href||a});if(/^\[/.test(a.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(a.host))throw new Ga({input:a.href||a});return a}function Xa(a,e){var i=e||{};for(var n of $o)i[n]=a[n];if(i.hostname.startsWith("["))i.hostname=i.hostname.slice(1,-1);if(i.port!=="")i.port=Number(i.port);return i.path=i.search?i.pathname+i.search:i.pathname,i}function Fa(a,e){var i;for(var n in e)if(a.test(n))i=e[n],delete e[n];return i===null||typeof i>"u"?void 0:String(i).trim()}function I(a,e,i){function n(s){if(K(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,s||{}),this.code=a,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(i||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+a+"]",enumerable:!1}}),n}function Ea(a,e){for(var i of Na)a.removeListener(i,Aa[i]);a.on("error",un),a.destroy(e)}function ic(a,e){La(J(a)&&J(e));var i=a.length-e.length-1;return i>0&&a[i]==="."&&a.endsWith(e)}function ec(a){return a instanceof Array}function J(a){return typeof a==="string"||a instanceof String}function K(a){return typeof a==="function"}function nc(a){return typeof a==="object"&&"length"in a}function sc(a){return T&&a instanceof T}function oc(a){return a.replace(/[\]\\/()*+?.$]/g,"\\$&")}Ia.exports=ln({http:Eo,https:Io});Ia.exports.wrap=ln});
12
- export{Mo as a5,up as b5,To as c5,si as d5,cc as e5};
12
+ export{Mo as f5,up as g5,To as h5,si as i5,cc as j5};
@@ -0,0 +1,2 @@
1
+ import{D3 as D,d3 as q}from"./cli-0.2.0-h2wnach8.mjs";import{mda as m,nda as z}from"./cli-0.2.0-98h2e6bt.mjs";import{gma as x}from"./cli-0.2.0-b8hs09nv.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
2
+ export{E as Fd,F as Gd,K as Hd,M as Id,G as Jd};
@@ -0,0 +1,2 @@
1
+ import{nv as h,pv as I,wt as g,xt as k}from"./cli-0.2.0-cs8e9514.mjs";import{HU as s,VS as S,kV as _}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as c,KV as m,LV as T}from"./cli-0.2.0-fgsp4dtv.mjs";import{Z$ as b,taa as P}from"./cli-0.2.0-g2h1t6ke.mjs";import{cma as D}from"./cli-0.2.0-b8hs09nv.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 Za};
@@ -0,0 +1,2 @@
1
+ import{pe as bG,qe as rG,we as iG}from"./cli-0.2.0-6scx1ptz.mjs";import{Aq as HG,Bi as FG,Ci as OG,Cq as dG,Eq as KG,Gi as VG,Jq as LG,QI as kG,Qi as vG,Sq as mG,TI as aG,Uq as WG,Vq as qG,WI as f,YI as v,ZI as s,Zn as uG,_I as c,_q as l,aJ as u,aK as i,bJ as r,bK as _G,cK as UG,cr as DG,dK as sG,eJ as oG,eK as $G,er as R,fK as cG,fr as a,gr as pG,uI as o,vI as lG,zq as jG}from"./cli-0.2.0-cs8e9514.mjs";import{VS as JJ}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as wG,LV as PG}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as BG}from"./cli-0.2.0-gsw60zfe.mjs";import{e_ as YG,f6 as I,g6 as k,i6 as CG,j_ as fG}from"./cli-0.2.0-g2h1t6ke.mjs";import{Nda as NG}from"./cli-0.2.0-qcr87znh.mjs";import{Dea as x,Eea as gG}from"./cli-0.2.0-35xeqadb.mjs";import{Bfa as zG,Efa as SG,bfa as w,hfa as MG,nfa as TG}from"./cli-0.2.0-e9xwjcb3.mjs";import{Aha as XG,rla as ZG}from"./cli-0.2.0-gmq4bxtp.mjs";import{cma as n,gma as p}from"./cli-0.2.0-b8hs09nv.mjs";var GG=p(()=>{TG();NG()});function JG(F){let B="plugin"in F?F.plugin:"no-plugin";return`${F.type}:${F.source}:${B}`}function QG(F,B){if(B.length===0)return;F((D)=>{let h=new Set(D.plugins.errors.map((H)=>JG(H))),P=B.filter((H)=>!h.has(JG(H)));if(P.length===0)return D;return{...D,plugins:{...D.plugins,errors:[...D.plugins.errors,...P]}}})}function EG(F,B=!1){let D=UG(),h=i((G)=>G.authVersion),P=i((G)=>G.mcp.pluginReconnectKey),H=_G(),K=q.useRef(new Map),N=q.useRef(new Set),S=q.useRef(null);q.useEffect(()=>{},[H]);let{addNotification:T}=$G(),RG=16,d=q.useRef([]),y=q.useRef(null),C=q.useCallback(()=>{y.current=null;let G=d.current;if(G.length===0)return;d.current=[],H((Y)=>{let z=Y.mcp;for(let L of G){let{tools:Q,commands:O,resources:W,...J}=L,V=J.type==="disabled"||J.type==="failed"?Q??[]:Q,X=J.type==="disabled"||J.type==="failed"?O??[]:O,Z=J.type==="disabled"||J.type==="failed"?W??[]:W,j=YG(J.name),g=z.clients.findIndex((E)=>E.name===J.name)===-1?[...z.clients,J]:z.clients.map((E)=>E.name===J.name?J:E),b=V===void 0?z.tools:[...o(z.tools,(E)=>E.name?.startsWith(j)),...V],m=X===void 0?z.commands:[...o(z.commands,(E)=>KG(E,J.name)),...X],hG=Z===void 0?z.resources:{...z.resources,...Z.length>0?{[J.name]:Z}:bG(z.resources,J.name)};z={...z,clients:g,tools:b,commands:m,resources:hG}}return{...Y,mcp:z}})},[H]),_=q.useCallback((G)=>{if(d.current.push(G),y.current===null)y.current=setTimeout(C,RG)},[C]),U=q.useCallback(({client:G,tools:Y,commands:z,resources:L})=>{switch(_({...G,tools:Y,commands:z,resources:L}),G.type){case"connected":{if(kG(G.client,G.name,H),G.client.onclose=()=>{let Q=G.config.type??"stdio";if(f(G.name,G.config).catch(()=>{zG(`Failed to invalidate the server cache: ${G.name}`)}),R(G.name)){k(G.name,"Server is disabled, skipping automatic reconnection");return}if(Q!=="stdio"&&Q!=="sdk"){let O=GJ(Q);k(G.name,`${O} transport closed/disconnected, attempting automatic reconnection`);let W=K.current.get(G.name);if(W)clearTimeout(W),K.current.delete(G.name);(async()=>{for(let V=1;V<=A;V++){if(R(G.name)){k(G.name,"Server disabled during reconnection, stopping retry"),K.current.delete(G.name);return}_({...G,type:"pending",reconnectAttempt:V,maxReconnectAttempts:A});let X=Date.now();try{let j=await u(G.name,G.config),$=Date.now()-X;if(j.client.type==="connected"){k(G.name,`${O} reconnection successful after ${$}ms (attempt ${V})`),K.current.delete(G.name),U(j);return}if(k(G.name,`${O} reconnection attempt ${V} completed with status: ${j.client.type}`),V===A){k(G.name,`Max reconnection attempts (${A}) reached, giving up`),K.current.delete(G.name),U(j);return}}catch(j){let $=Date.now()-X;if(I(G.name,`${O} reconnection attempt ${V} failed after ${$}ms: ${j}`),V===A){k(G.name,`Max reconnection attempts (${A}) reached, giving up`),K.current.delete(G.name),_({...G,type:"failed"});return}}let Z=Math.min(tG*Math.pow(2,V-1),eG);k(G.name,`Scheduling reconnection attempt ${V+1} in ${Z}ms`),await new Promise((j)=>{let $=setTimeout(j,Z);K.current.set(G.name,$)})}})()}else _({...G,type:"failed"})},!1)switch(Q.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{k(G.name,"Received tools/list_changed notification, refreshing tools");try{let Q=v.cache.get(G.name);v.cache.delete(G.name);let O=await v(G),W=O.length;if(Q)Q.then((J)=>{x("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:W})},()=>{x("tengu_mcp_list_changed",{type:"tools",newCount:W})});else x("tengu_mcp_list_changed",{type:"tools",newCount:W});_({...G,tools:O})}catch(Q){I(G.name,`Failed to refresh tools after list_changed notification: ${w(Q)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{k(G.name,"Received prompts/list_changed notification, refreshing prompts"),x("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[Q,O]=await Promise.all([c(G),Promise.resolve([])]);_({...G,commands:[...Q,...O]}),nG?.()}catch(Q){I(G.name,`Failed to refresh prompts after list_changed notification: ${w(Q)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{k(G.name,"Received resources/list_changed notification, refreshing resources"),x("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let Q=await s(G);_({...G,resources:Q})}}catch(Q){I(G.name,`Failed to refresh resources after list_changed notification: ${w(Q)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[_]),e=XG();q.useEffect(()=>{async function G(){let{servers:Y,errors:z}=B?{servers:{},errors:[]}:await l(F),L={...Y,...F};QG(H,z),H((Q)=>{let{stale:O,...W}=LG(Q.mcp,L);for(let X of O){let Z=K.current.get(X.name);if(Z)clearTimeout(Z),K.current.delete(X.name);if(X.type==="connected")X.client.onclose=void 0,f(X.name,X.config).catch(()=>{})}let J=new Set(W.clients.map((X)=>X.name)),V=Object.entries(L).filter(([X])=>!J.has(X)).map(([X,Z])=>({name:X,type:R(X)?"disabled":"pending",config:Z}));if(V.length===0&&O.length===0)return Q;return{...Q,mcp:{...Q.mcp,...W,clients:[...W.clients,...V]}}})}G().catch((Y)=>{I("useManageMCPConnections",`Failed to initialize servers as pending: ${w(Y)}`)})},[B,F,H,e,P]),q.useEffect(()=>{let G=!1;async function Y(){let z;if(B||DG())z=Promise.resolve({});else HG(),z=jG();let{servers:L,errors:Q}=B?{servers:{},errors:[]}:await l(F,z);if(G)return;QG(H,Q);let O={...L,...F},W=Object.fromEntries(Object.entries(O).filter(([Z])=>!R(Z)));r(U,W).catch((Z)=>{I("useManageMcpConnections",`Failed to get MCP resources: ${w(Z)}`)});let J={};if(!B){if(J=qG(await z).allowed,G)return;if(Object.keys(J).length>0){let{servers:Z}=WG(J,O);J=Z}if(Object.keys(J).length>0){H((j)=>{let $=new Set(j.mcp.clients.map((b)=>b.name)),g=Object.entries(J).filter(([b])=>!$.has(b)).map(([b,m])=>({name:b,type:R(b)?"disabled":"pending",config:m}));if(g.length===0)return j;return{...j,mcp:{...j.mcp,clients:[...j.mcp.clients,...g]}}});let Z=Object.fromEntries(Object.entries(J).filter(([j])=>!R(j)));r(U,Z).catch((j)=>{I("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${w(j)}`)})}}let V={...O,...J},X={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let Z of Object.values(V))if(Z.scope==="enterprise")X.enterprise++;else if(Z.scope==="user")X.global++;else if(Z.scope==="project")X.project++;else if(Z.scope==="local")X.user++;else if(Z.scope==="dynamic")X.plugin++;else if(Z.scope==="claudeai")X.claudeai++;x("tengu_mcp_servers",{...X})}return Y(),()=>{G=!0}},[B,F,U,H,h,e,P]),q.useEffect(()=>{let G=K.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),y.current!==null)clearTimeout(y.current),y.current=null,C()}},[C]);let yG=q.useCallback(async(G)=>{let Y=D.getState().mcp.clients.find((Q)=>Q.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let z=K.current.get(G);if(z)clearTimeout(z),K.current.delete(G);let L=await u(G,Y.config);return U(L),L},[D,U]),AG=q.useCallback(async(G)=>{let Y=D.getState().mcp.clients.find((L)=>L.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let L=K.current.get(G);if(L)clearTimeout(L),K.current.delete(G);if(a(G,!1),Y.type==="connected")await f(G,Y.config);_({name:G,type:"disabled",config:Y.config})}else{a(G,!0),_({name:G,type:"pending",config:Y.config});let L=await u(G,Y.config);U(L)}},[D,_,U]);return{reconnectMcpServer:yG,toggleMcpServer:AG}}function GJ(F){switch(F){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var q,nG=null,A=5,tG=1000,eG=30000;var IG=p(()=>{ZG();oG();vG();rG();lG();gG();pG();SG();ZG();cG();sG();MG();CG();uG();iG();GG();dG();aG();fG();mG();q=n(BG(),1)});function mJ(){let F=M.useContext(t);if(!F)throw Error("useMcpReconnect must be used within MCPConnectionManager");return F.reconnectMcpServer}function pJ(){let F=M.useContext(t);if(!F)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return F.toggleMcpServer}function lJ(F){let B=xG.c(6),{children:D,dynamicMcpConfig:h,isStrictMcpConfig:P}=F,{reconnectMcpServer:H,toggleMcpServer:K}=EG(h,P),N;if(B[0]!==H||B[1]!==K)N={reconnectMcpServer:H,toggleMcpServer:K},B[0]=H,B[1]=K,B[2]=N;else N=B[2];let S=N,T;if(B[3]!==D||B[4]!==S)T=wG(t.Provider,{value:S,children:D}),B[3]=D,B[4]=S,B[5]=T;else T=B[5];return T}var xG,M,t;var QJ=p(()=>{IG();PG();xG=n(JJ(),1),M=n(BG(),1),t=M.createContext(null)});
2
+ export{GG as ke,mJ as le,pJ as me,lJ as ne,QJ as oe};
@@ -0,0 +1,4 @@
1
+ import{Wj as h,Zj as LQ,ot as nJ,pt as lZ,up as m,vp as E6,yj as lJ,zj as aZ}from"./cli-0.2.0-cs8e9514.mjs";import{D3 as z6,d3 as VQ,o3 as wQ}from"./cli-0.2.0-h2wnach8.mjs";import{C5 as U,C7 as aJ,D5 as F,D7 as Z6,E5 as vJ,E7 as UQ,F5 as RZ,F7 as H6,G5 as mJ,G7 as BQ,H5 as FZ,H7 as K6,I5 as V,J5 as $J,K5 as PJ,L5 as pQ,M5 as yJ,N5 as IZ,a$ as EQ,o$ as I6,o5 as TJ,p5 as LZ,s5 as a,t5 as fQ,u5 as E,v5 as c,w5 as S,x5 as hJ}from"./cli-0.2.0-g2h1t6ke.mjs";import{tca as K,vca as xQ,wca as I,xca as NQ}from"./cli-0.2.0-f7tp61b0.mjs";import{_ca as v,dda as F6}from"./cli-0.2.0-h9tvrrx9.mjs";import{Bda as T,Nda as N6}from"./cli-0.2.0-qcr87znh.mjs";import{$fa as kJ,Aga as xZ,Dga as C,Ega as FJ,Fga as L,Gga as IJ,Rga as z,Sga as i,Tga as _J,Uga as NZ,Xga as N,Yga as f,Zfa as DQ,_fa as U6,aga as DZ,ala as zQ,dha as k,eha as rJ,fha as _,gha as tZ,hha as uJ,iha as rZ,jga as WQ,kga as X6,lga as O,mga as dJ,rla as R6,tga as l,uga as kQ,vga as w,wga as xJ,xga as ZQ,yga as q6,zga as fJ}from"./cli-0.2.0-gmq4bxtp.mjs";import{Ala as SJ,Bla as MZ,wla as x,xla as GJ}from"./cli-0.2.0-p46nxmgy.mjs";import{gma as Y}from"./cli-0.2.0-b8hs09nv.mjs";function AQ(J,Q){var Z=-1,q=J==null?0:J.length;while(++Z<q)if(Q(J[Z],Z,J)===!1)break;return J}var p;var b=Y(()=>{p=AQ});function OQ(J,Q){return J&&U(Q,z(Q),J)}var u;var n=Y(()=>{F();i();u=OQ});function SQ(J,Q){return J&&U(Q,E(Q),J)}var o;var r=Y(()=>{F();c();o=SQ});function dQ(J,Q){return U(J,l(J),Q)}var s;var t=Y(()=>{F();kQ();s=dQ});function _Q(J,Q){return U(J,a(J),Q)}var e;var JJ=Y(()=>{F();fQ();e=_Q});function vQ(J){var Q=J.length,Z=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&hQ.call(J,"index"))Z.index=J.index,Z.input=J.input;return Z}var TQ,hQ,QJ;var ZJ=Y(()=>{TQ=Object.prototype,hQ=TQ.hasOwnProperty;QJ=vQ});function mQ(J,Q){var Z=Q?V(J.buffer):J.buffer;return new J.constructor(Z,J.byteOffset,J.byteLength)}var qJ;var WJ=Y(()=>{$J();qJ=mQ});function gQ(J){var Q=new J.constructor(J.source,yQ.exec(J));return Q.lastIndex=J.lastIndex,Q}var yQ,XJ;var YJ=Y(()=>{yQ=/\w*$/;XJ=gQ});function jQ(J){return KJ?Object(KJ.call(J)):{}}var HJ,KJ,UJ;var BJ=Y(()=>{GJ();HJ=x?x.prototype:void 0,KJ=HJ?HJ.valueOf:void 0;UJ=jQ});function YZ(J,Q,Z){var q=J.constructor;switch(Q){case sQ:return V(J);case bQ:case iQ:return new q(+J);case tQ:return qJ(J,Z);case aQ:case eQ:case JZ:case QZ:case ZZ:case $Z:case qZ:case WZ:case XZ:return PJ(J,Z);case uQ:return new q;case nQ:case rQ:return new q(J);case cQ:return XJ(J);case oQ:return new q;case lQ:return UJ(J)}}var bQ="[object Boolean]",iQ="[object Date]",uQ="[object Map]",nQ="[object Number]",cQ="[object RegExp]",oQ="[object Set]",rQ="[object String]",lQ="[object Symbol]",sQ="[object ArrayBuffer]",tQ="[object DataView]",aQ="[object Float32Array]",eQ="[object Float64Array]",JZ="[object Int8Array]",QZ="[object Int16Array]",ZZ="[object Int32Array]",$Z="[object Uint8Array]",qZ="[object Uint8ClampedArray]",WZ="[object Uint16Array]",XZ="[object Uint32Array]",MJ;var DJ=Y(()=>{$J();WJ();YJ();BJ();pQ();MJ=YZ});function KZ(J){return w(J)&&N(J)==HZ}var HZ="[object Map]",NJ;var LJ=Y(()=>{f();xJ();NJ=KZ});var RJ,GZ,zJ;var EJ=Y(()=>{LJ();FJ();IJ();RJ=L&&L.isMap,GZ=RJ?C(RJ):NJ,zJ=GZ});function BZ(J){return w(J)&&N(J)==UZ}var UZ="[object Set]",VJ;var wJ=Y(()=>{f();xJ();VJ=BZ});var CJ,PZ,AJ;var OJ=Y(()=>{wJ();FJ();IJ();CJ=L&&L.isSet,PZ=CJ?C(CJ):VJ,AJ=PZ});function A(J,Q,Z,q,W,H){var $,G=Q&zZ,M=Q&EZ,d=Q&VZ;if(Z)$=W?Z(J,q,W,H):Z(J);if($!==void 0)return $;if(!SJ(J))return J;var R=O(J);if(R){if($=QJ(J),!G)return mJ(J,$)}else{var D=N(J),y=D==jJ||D==SZ;if(fJ(J))return vJ(J,G);if(D==pJ||D==gJ||y&&!W){if($=M||y?{}:yJ(J),!G)return M?e(J,o($,J)):s(J,u($,J))}else{if(!X[D])return W?J:{};$=MJ(J,D,G)}}H||(H=new kJ);var g=H.get(J);if(g)return g;if(H.set(J,$),AJ(J))J.forEach(function(B){$.add(A(B,Q,Z,B,J,H))});else if(zJ(J))J.forEach(function(B,P){$.set(P,A(B,Q,Z,P,J,H))});var CQ=d?M?S:_J:M?E:z,j=R?void 0:CQ(J);return p(j||J,function(B,P){if(j)P=B,B=J[P];TJ($,P,A(B,Q,Z,P,J,H))}),$}var zZ=1,EZ=2,VZ=4,gJ="[object Arguments]",wZ="[object Array]",CZ="[object Boolean]",AZ="[object Date]",OZ="[object Error]",jJ="[object Function]",SZ="[object GeneratorFunction]",kZ="[object Map]",dZ="[object Number]",pJ="[object Object]",fZ="[object RegExp]",_Z="[object Set]",TZ="[object String]",hZ="[object Symbol]",vZ="[object WeakMap]",mZ="[object ArrayBuffer]",yZ="[object DataView]",gZ="[object Float32Array]",jZ="[object Float64Array]",pZ="[object Int8Array]",bZ="[object Int16Array]",iZ="[object Int32Array]",uZ="[object Uint8Array]",nZ="[object Uint8ClampedArray]",cZ="[object Uint16Array]",oZ="[object Uint32Array]",X,bJ;var iJ=Y(()=>{DZ();b();LZ();n();r();RZ();FZ();t();JJ();NZ();hJ();f();ZJ();DJ();IZ();dJ();xZ();EJ();MZ();OJ();i();c();X={};X[gJ]=X[wZ]=X[mZ]=X[yZ]=X[CZ]=X[AZ]=X[gZ]=X[jZ]=X[pZ]=X[bZ]=X[iZ]=X[kZ]=X[dZ]=X[pJ]=X[fZ]=X[_Z]=X[TZ]=X[hZ]=X[uZ]=X[nZ]=X[cZ]=X[oZ]=!0;X[OZ]=X[jJ]=X[vZ]=!1;bJ=A});function sZ(J,Q){return Q.length<2?J:uJ(J,nJ(Q,0,-1))}var cJ;var oJ=Y(()=>{rZ();lZ();cJ=sZ});function Q6(J,Q){Q=k(Q,J);var Z=-1,q=Q.length;if(!q)return!0;while(++Z<q){var W=_(Q[Z]);if(W==="__proto__"&&!J6.call(J,"__proto__"))return!1;if((W==="constructor"||W==="prototype")&&Z<q-1)return!1}var H=cJ(J,Q);return H==null||delete H[_(lJ(Q))]}var eZ,J6,sJ;var tJ=Y(()=>{rJ();aZ();oJ();tZ();eZ=Object.prototype,J6=eZ.hasOwnProperty;sJ=Q6});function $6(J){return aJ(J)?void 0:J}var eJ;var JQ=Y(()=>{Z6();eJ=$6});function W6(J){return O(J)||ZQ(J)||!!(QQ&&J&&J[QQ])}var QQ,$Q;var qQ=Y(()=>{GJ();q6();dJ();QQ=x?x.isConcatSpreadable:void 0;$Q=W6});function XQ(J,Q,Z,q,W){var H=-1,$=J.length;Z||(Z=$Q),W||(W=[]);while(++H<$){var G=J[H];if(Q>0&&Z(G))if(Q>1)XQ(G,Q-1,Z,q,W);else WQ(W,G);else if(!q)W[W.length]=G}return W}var YQ;var HQ=Y(()=>{X6();qQ();YQ=XQ});function Y6(J){var Q=J==null?0:J.length;return Q?YQ(J,1):[]}var KQ;var GQ=Y(()=>{HQ();KQ=Y6});function G6(J){return BQ(UQ(J,void 0,KQ),J+"")}var PQ;var MQ=Y(()=>{GQ();H6();K6();PQ=G6});var B6=1,P6=2,M6=4,D6,D$;var x6=Y(()=>{U6();iJ();tJ();rJ();F();JQ();MQ();hJ();D6=PQ(function(J,Q){var Z={};if(J==null)return Z;var q=!1;if(Q=DQ(Q,function(H){return H=k(H,J),q||(q=H.length>1),H}),U(J,S(J),Z),q)Z=bJ(Z,B6|P6|M6,eJ);var W=Q.length;while(W--)sJ(Z,Q[W]);return Z}),D$=D6});function RQ(){let J=T("tengu_harbor_ledger",[]),Q=L6().safeParse(J);return Q.success?Q.data:[]}function FQ(){return T("tengu_harbor",!1)}var L6;var IQ=Y(()=>{xQ();NQ();LQ();N6();L6=I(()=>K.array(K.object({marketplace:K.string(),plugin:K.string()})))});function f$(J,Q,Z){let q=Object.entries(Z??{}).filter(([W])=>w6.test(W)).map(([W,H])=>` ${W}="${m(H)}"`).join("");return`<${v} source="${m(J)}"${q}>
2
+ ${Q}
3
+ </${v}>`}function C6(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:RQ(),source:"ledger"}}function A6(J,Q){let Z=J.split(":");return Q.find((q)=>q.kind==="server"?J===q.name:Z[0]==="plugin"&&Z[1]===q.name)}function _$(J,Q,Z){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!FQ())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!VQ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let q=wQ(),W=q==="team"||q==="enterprise",H=W?EQ("policySettings"):void 0;if(W&&H?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let $=A6(J,zQ());if(!$)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if($.kind==="plugin"){let G=Z?h(Z).marketplace:void 0;if(G!==$.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${$.name}@${$.marketplace} but the installed ${$.name} plugin is from ${G??"an unknown source"}`};if(!$.dev){let{entries:M,source:d}=C6(q,H?.allowedChannelPlugins);if(!M.some((R)=>R.plugin===$.name&&R.marketplace===$.marketplace))return{action:"skip",kind:"allowlist",reason:d==="org"?`plugin ${$.name}@${$.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${$.name}@${$.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!$.dev)return{action:"skip",kind:"allowlist",reason:`server ${$.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var k$,V6="notifications/claude/channel/permission",d$,w6;var O6=Y(()=>{xQ();R6();F6();z6();NQ();LQ();I6();E6();IQ();k$=I(()=>K.object({method:K.literal("notifications/claude/channel"),params:K.object({content:K.string(),meta:K.record(K.string(),K.string()).optional()})})),d$=I(()=>K.object({method:K.literal(V6),params:K.object({request_id:K.string(),behavior:K.enum(["allow","deny"])})})),w6=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
4
+ export{D$ as pe,x6 as qe,IQ as re,k$ as se,f$ as te,A6 as ue,_$ as ve,O6 as we};
@@ -0,0 +1,2 @@
1
+ import{Ifa as w,Sfa as F}from"./cli-0.2.0-xmf20rrm.mjs";import{gma as D}from"./cli-0.2.0-b8hs09nv.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
+ export{Q as MP,V as NP,L as OP};
@@ -0,0 +1,2 @@
1
+ import{Aba as H,Caa as M,Dba as E,Laa as S,Uaa as R,Vaa as T,q6 as U,s6 as m,yaa as P}from"./cli-0.2.0-g2h1t6ke.mjs";import{Kfa as K,Sfa as G}from"./cli-0.2.0-xmf20rrm.mjs";import{gma as x}from"./cli-0.2.0-b8hs09nv.mjs";function B(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||f}function O(J){return new Promise((N)=>setTimeout(N,J))}async function n(J){let N=J?.clientId??B();if(!N)throw new j("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let V=J?.fetchImpl??fetch,$=J?.scope?.trim()||Y,X=$===Y?[$]:[$,Y],y="Device code request failed.";for(let W of X){let Z=await V(g,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:N,scope:W})});if(!Z.ok){let C=await Z.text().catch(()=>"");y=`Device code request failed: ${Z.status} ${C}`;let F=/invalid_scope/i.test(C);if(W!==Y&&F)continue;throw new j(y)}let Q=await Z.json(),z=Q.device_code,q=Q.user_code,A=Q.verification_uri;if(typeof z!=="string"||typeof q!=="string"||typeof A!=="string")throw new j("Malformed device code response from GitHub");return{device_code:z,user_code:q,verification_uri:A,expires_in:typeof Q.expires_in==="number"?Q.expires_in:900,interval:typeof Q.interval==="number"?Q.interval:5}}throw new j(y)}async function d(J,N){let V=N?.clientId??B();if(!V)throw new j("client_id required for polling");let $=Math.max(1,N?.initialInterval??5),X=N?.timeoutSeconds??900,y=N?.fetchImpl??fetch,W=Date.now();while((Date.now()-W)/1000<X){let Z=await y(_,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:V,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!Z.ok){let q=await Z.text().catch(()=>"");throw new j(`Token request failed: ${Z.status} ${q}`)}let Q=await Z.json(),z=Q.error;if(z==null){let q=Q.access_token;if(typeof q==="string"&&q)return q;throw new j("No access_token in response")}if(z==="authorization_pending"){await O($*1000);continue}if(z==="slow_down"){$=typeof Q.interval==="number"?Q.interval:$+5,await O($*1000);continue}if(z==="expired_token")throw new j("Device code expired. Start the login flow again.");if(z==="access_denied")throw new j("Authorization was denied or cancelled.");throw new j(`GitHub OAuth error: ${z}`)}throw new j("Timed out waiting for authorization.")}async function a(J){try{if(process.platform==="darwin")await U("open",[J],{useCwd:!1,timeout:5000});else if(process.platform==="win32")await U("cmd",["/c","start","",J],{useCwd:!1,timeout:5000});else await U("xdg-open",[J],{useCwd:!1,timeout:5000})}catch{}}async function w(J,N){let $=await(N??fetch)(k,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...b}});if(!$.ok){let z=await $.text().catch(()=>"");throw new j(`Copilot token exchange failed: ${$.status} ${z}`)}let X=await $.json(),y=X.token,W=X.expires_at,Z=X.refresh_in,Q=X.endpoints;if(typeof y!=="string"||typeof W!=="number"||typeof Z!=="number"||!Q||typeof Q!=="object"||typeof Q.api!=="string")throw new j("Malformed Copilot token response");return{token:y,expires_at:W,refresh_in:Z,endpoints:Q}}var f="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",_="https://github.com/login/oauth/access_token",k="https://api.github.com/copilot_internal/v2/token",Y="read:user",b,j;var I=x(()=>{m();b={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};j=class j extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function D(){return H()?.transport==="github_copilot"}function h(J){let N=J.match(/exp=(\d+)/);if(N){let X=Number(N[1]);if(!Number.isNaN(X))return Date.now()>=X*1000?"expired":"valid"}let V=J.split(".");if(V.length===3&&V.every((X)=>/^[A-Za-z0-9_-]+$/.test(X)))try{let X=V[1].replace(/-/g,"+").replace(/_/g,"/"),y=X+"=".repeat((4-X.length%4)%4),W=Buffer.from(y,"base64").toString("utf8"),Z=JSON.parse(W);if(Z&&typeof Z==="object"&&Z.exp)return Date.now()>=Z.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function v(){if(K())return;try{return R().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function QJ(){if(K())return;try{return(await R().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function XJ(){if(!D())return;if(K())return;if(v())return}async function ZJ(){if(!D())return!1;if(K())return!1;try{let V=R().read()?.githubModels,$=V?.accessToken?.trim()||"",X=V?.oauthAccessToken?.trim()||"";if(!$&&!X)return!1;if(($?h($):"expired")==="valid")return!1;if(!X)return!1;let W=await w(X);if(!u(W.token,X).success)return!1;let Q=P().find((z)=>z.provider==="openai"&&z.extras?.githubToken!==void 0);if(Q)M(Q.id,{provider:"openai",name:Q.name,baseUrl:Q.baseUrl,model:Q.model,apiKey:W.token,extras:{...Q.extras,githubToken:W.token}});return!0}catch{return!1}}function u(J,N){if(K())return{success:!1,warning:"Bare mode: secure storage is disabled."};let V=J.trim();if(!V)return{success:!1,warning:"Token is empty."};let $=R(),X=$.read()||{},y=X[L],W=N?.trim(),Z={accessToken:V};if(W)Z.oauthAccessToken=W;else if(y?.oauthAccessToken?.trim())Z.oauthAccessToken=y.oauthAccessToken.trim();let Q={...X,[L]:Z};return $.update(Q)}function $J(){if(K())return{success:!0};let J=R(),V={...J.read()||{}};return delete V[L],J.update(V)}var L="githubModels",JJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED";var l=x(()=>{E();G();T();I();S()});
2
+ export{n as CY,d as DY,a as EY,w as FY,I as GY,L as HY,JJ as IY,v as JY,QJ as KY,XJ as LY,ZJ as MY,u as NY,$J as OY,l as PY};
@@ -0,0 +1,2 @@
1
+ import{_la as n}from"./cli-0.2.0-dtsxeqwx.mjs";import{ema as r}from"./cli-0.2.0-b8hs09nv.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as E4};
@@ -0,0 +1,2 @@
1
+ import{gma as B}from"./cli-0.2.0-b8hs09nv.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
+ export{F as Rg,C as Sg};
@@ -0,0 +1,2 @@
1
+ import{Ub as Z,Vb as _,Wb as $,Zb as O}from"./cli-0.2.0-qnd8v5pt.mjs";import{gd as Y,ld as x}from"./cli-0.2.0-gngqqtnd.mjs";import{HG as V,mG as U,rG as W,wG as S,xG as X}from"./cli-0.2.0-cs8e9514.mjs";import{Bfa as R,Efa as K,bfa as Q,hfa as C}from"./cli-0.2.0-e9xwjcb3.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
2
+ export{F as oa};
@@ -0,0 +1,2 @@
1
+ import{nj as Pq,rj as Sq,uj as Q,vj as hq}from"./cli-0.2.0-cs8e9514.mjs";import{$R as Iq,_R as Uq,cS as _q}from"./cli-0.2.0-13sc1gtx.mjs";import{FU as J,HU as L,VS as jq,kV as nq}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as H,KV as O,LV as vq}from"./cli-0.2.0-fgsp4dtv.mjs";import{K0 as bq,L0 as Mq,c1 as yq}from"./cli-0.2.0-h2wnach8.mjs";import{Y8 as Nq,_8 as gq,aaa as Rq,n7 as Xq,p7 as kq,taa as fq}from"./cli-0.2.0-g2h1t6ke.mjs";import{Nda as Bq}from"./cli-0.2.0-qcr87znh.mjs";import{cma as pq,gma as Gq}from"./cli-0.2.0-b8hs09nv.mjs";function xq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function mq(V,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return V.length>0&&!/^\s/.test(V)&&!V.startsWith("\x1B")}var Wq=Gq(()=>{_q();fq();gq()});function T(V){return V.replace(/\+/g," + ")}function qD(V){let q=Eq.c(99),{dimColor:D,fixedWidth:Aq,gap:x,paddingX:m}=V,l=Q("app:toggleTranscript","Global","ctrl+o"),_;if(q[0]!==l)_=T(l),q[0]=l,q[1]=_;else _=q[1];let e=_,d=Q("app:toggleTodos","Global","ctrl+t"),p;if(q[2]!==d)p=T(d),q[2]=d,q[3]=p;else p=q[3];let s=p,i=Q("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=T(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=Q("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=T($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=Q("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=T(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Dq=Q("chat:modelPicker","Chat","alt+p"),j;if(q[10]!==Dq)j=T(Dq),q[10]=Dq,q[11]=j;else j=q[11];let Hq=j,Jq=Q("chat:fastMode","Chat","alt+o"),n;if(q[12]!==Jq)n=T(Jq),q[12]=Jq,q[13]=n;else n=q[13];let Lq=n,Oq=Q("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Oq)S=T(Oq),q[14]=Oq,q[15]=S;else S=q[15];let Qq=S,Tq=Q("app:toggleTerminal","Global","meta+j"),h;if(q[16]!==Tq)h=T(Tq),q[16]=Tq,q[17]=h;else h=q[17];let Fq=h,Vq=Q("chat:imagePaste","Chat","ctrl+v"),a;if(q[18]!==Vq)a=T(Vq),q[18]=Vq,q[19]=a;else a=q[19];let Yq=a,C;if(q[20]!==D||q[21]!==Fq)C=null,q[20]=D,q[21]=Fq,q[22]=C;else C=q[22];let Zq=C,wq=Aq?24:void 0,Y;if(q[23]!==D)Y=H(J,{children:H(L,{dimColor:D,children:"! for bash mode"})}),q[23]=D,q[24]=Y;else Y=q[24];let Z;if(q[25]!==D)Z=H(J,{children:H(L,{dimColor:D,children:"/ for commands"})}),q[25]=D,q[26]=Z;else Z=q[26];let w;if(q[27]!==D)w=H(J,{children:H(L,{dimColor:D,children:"@ for file paths"})}),q[27]=D,q[28]=w;else w=q[28];let z;if(q[29]!==D)z=H(J,{children:H(L,{dimColor:D,children:"& for background"})}),q[29]=D,q[30]=z;else z=q[30];let A;if(q[31]!==D)A=H(J,{children:H(L,{dimColor:D,children:"/btw for side question"})}),q[31]=D,q[32]=A;else A=q[32];let F;if(q[33]!==wq||q[34]!==Y||q[35]!==Z||q[36]!==w||q[37]!==z||q[38]!==A)F=O(J,{flexDirection:"column",width:wq,children:[Y,Z,w,z,A]}),q[33]=wq,q[34]=Y,q[35]=Z,q[36]=w,q[37]=z,q[38]=A,q[39]=F;else F=q[39];let zq=Aq?35:void 0,G;if(q[40]!==D)G=H(J,{children:H(L,{dimColor:D,children:"double tap esc to clear input"})}),q[40]=D,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==D)N=H(J,{children:O(L,{dimColor:D,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=D,q[44]=N;else N=q[44];let R;if(q[45]!==D||q[46]!==e)R=H(J,{children:O(L,{dimColor:D,children:[e," for verbose output"]})}),q[45]=D,q[46]=e,q[47]=R;else R=q[47];let U;if(q[48]!==D||q[49]!==s)U=H(J,{children:O(L,{dimColor:D,children:[s," to toggle tasks"]})}),q[48]=D,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==D)I=H(J,{children:H(L,{dimColor:D,children:c})}),q[52]=D,q[53]=I;else I=q[53];let K;if(q[54]!==zq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==Zq)K=O(J,{flexDirection:"column",width:zq,children:[G,N,R,U,Zq,I]}),q[54]=zq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=Zq,q[61]=K;else K=q[61];let W;if(q[62]!==D||q[63]!==r)W=H(J,{children:O(L,{dimColor:D,children:[r," to undo"]})}),q[62]=D,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==D)v=Xq()!=="windows"&&H(J,{children:H(L,{dimColor:D,children:"ctrl + z to suspend"})}),q[65]=D,q[66]=v;else v=q[66];let X;if(q[67]!==D||q[68]!==Yq)X=H(J,{children:O(L,{dimColor:D,children:[Yq," to paste images"]})}),q[67]=D,q[68]=Yq,q[69]=X;else X=q[69];let b;if(q[70]!==D||q[71]!==Hq)b=H(J,{children:O(L,{dimColor:D,children:[Hq," to switch model"]})}),q[70]=D,q[71]=Hq,q[72]=b;else b=q[72];let M;if(q[73]!==D||q[74]!==Lq)M=bq()&&Mq()&&H(J,{children:O(L,{dimColor:D,children:[Lq," to toggle fast mode"]})}),q[73]=D,q[74]=Lq,q[75]=M;else M=q[75];let P;if(q[76]!==D||q[77]!==o)P=H(J,{children:O(L,{dimColor:D,children:[o," to stash prompt"]})}),q[76]=D,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==D||q[80]!==Qq)E=H(J,{children:O(L,{dimColor:D,children:[Qq," to edit in $EDITOR"]})}),q[79]=D,q[80]=Qq,q[81]=E;else E=q[81];let g;if(q[82]!==D)g=Pq()&&H(J,{children:H(L,{dimColor:D,children:"/keybindings to customize"})}),q[82]=D,q[83]=g;else g=q[83];let f;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)f=O(J,{flexDirection:"column",children:[W,v,X,b,M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=f;else f=q[92];let u;if(q[93]!==x||q[94]!==m||q[95]!==F||q[96]!==K||q[97]!==f)u=O(J,{paddingX:m,flexDirection:"row",gap:x,children:[F,K,f]}),q[93]=x,q[94]=m,q[95]=F,q[96]=K,q[97]=f,q[98]=u;else u=q[98];return u}var Eq;var aq=Gq(()=>{nq();kq();Sq();hq();Bq();yq();Wq();vq();Eq=pq(jq(),1)});
2
+ export{xq as Ve,mq as We,Wq as Xe,qD as Ye,aq as Ze};
@@ -0,0 +1,2 @@
1
+ import{Cd as R,Ed as d}from"./cli-0.2.0-gy72dze8.mjs";import{eS as j,hS as c}from"./cli-0.2.0-emdrfb4f.mjs";import{Bfa as K,Efa as D,bfa as C,hfa as h}from"./cli-0.2.0-e9xwjcb3.mjs";import{gma as I,hma as J}from"./cli-0.2.0-b8hs09nv.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.2.0-p1v8yq4y.mjs"),{getOrganizationUUID:Z}=await import("./client-0.2.0-qtv4epf8.mjs"),{getOauthConfig:V}=await import("./oauth-0.2.0-xfb7vgc2.mjs"),{getOAuthHeaders:P}=await import("./api-0.2.0-rfc17a1j.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.2.0-349d15w3.mjs"),{getDefaultBranch:_}=await import("./git-0.2.0-c4ee3tsv.mjs"),{getMainLoopModel:M}=await import("./model-0.2.0-ajjp4znr.mjs"),{default:T}=await import("./index-0.2.0-2dyw5tmn.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.2.0-349d15w3.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.2.0-p1v8yq4y.mjs"),{getOrganizationUUID:$}=await import("./client-0.2.0-qtv4epf8.mjs"),{getOauthConfig:Y}=await import("./oauth-0.2.0-xfb7vgc2.mjs"),{getOAuthHeaders:z}=await import("./api-0.2.0-rfc17a1j.mjs"),{default:G}=await import("./index-0.2.0-2dyw5tmn.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.2.0-p1v8yq4y.mjs"),{getOrganizationUUID:$}=await import("./client-0.2.0-qtv4epf8.mjs"),{getOauthConfig:Y}=await import("./oauth-0.2.0-xfb7vgc2.mjs"),{getOAuthHeaders:z}=await import("./api-0.2.0-rfc17a1j.mjs"),{default:G}=await import("./index-0.2.0-2dyw5tmn.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.2.0-p1v8yq4y.mjs"),{getOrganizationUUID:Y}=await import("./client-0.2.0-qtv4epf8.mjs"),{getOauthConfig:z}=await import("./oauth-0.2.0-xfb7vgc2.mjs"),{getOAuthHeaders:G}=await import("./api-0.2.0-rfc17a1j.mjs"),{default:L}=await import("./index-0.2.0-2dyw5tmn.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
+ export{i as ud,r as vd,t as wd,o as xd,p as yd};
@@ -0,0 +1,12 @@
1
+ import{$u as $,Mr as r,Nr as Xq,Wu as x,Xu as s,Yu as C,_u as n,bv as Zq,nv as o,pv as Mq,wj as E,wt as d,xj as Uq,xt as Yq}from"./cli-0.2.0-cs8e9514.mjs";import{$U as a,FU as N,HU as U,LU as V,VS as Jq,kV as Qq}from"./cli-0.2.0-c7ea0dry.mjs";import{IV as u,JV as J,KV as X,LV as g}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as zq}from"./cli-0.2.0-gsw60zfe.mjs";import{Dea as w,Eea as qq}from"./cli-0.2.0-35xeqadb.mjs";import{cma as i,gma as t}from"./cli-0.2.0-b8hs09nv.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
2
+ | \\ \\
3
+ | NEW TERMS \\__\\
4
+ | |
5
+ | ---------- |
6
+ | ---------- |
7
+ | ---------- |
8
+ | ---------- |
9
+ | ---------- |
10
+ | |
11
+ |______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
12
+ export{kq as rc,_q as sc,Aq as tc};
@@ -0,0 +1,2 @@
1
+ import{gma as M}from"./cli-0.2.0-b8hs09nv.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
2
+ export{W as eda,Q as fda,K as gda,X as hda,Y as ida,Z as jda,y as kda,G as lda,h as mda,w as nda};