@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
@@ -1,5 +0,0 @@
1
- import{E as f}from"./cli-0.1.14-vp1kn532.mjs";import{aA as F,bA as i}from"./cli-0.1.14-j5sbzwhy.mjs";import{$O as z,WO as T,ZO as e,_O as k,eP as d}from"./cli-0.1.14-k8nwm06m.mjs";import{E3 as W,H3 as m,M3 as y,N3 as U,S3 as c}from"./cli-0.1.14-rc5yd94n.mjs";import{$4 as s,K4 as S}from"./cli-0.1.14-stv1d0q3.mjs";import{J5 as Z,L5 as R}from"./cli-0.1.14-2f7s5xbd.mjs";import{oca as V,qca as I,rca as N,sca as v}from"./cli-0.1.14-kmsvd61a.mjs";import{Ida as b,xda as E}from"./cli-0.1.14-z8j2n955.mjs";import{yea as q,zea as p}from"./cli-0.1.14-t3fga5je.mjs";import{efa as O,ifa as w,wfa as Y,zfa as _}from"./cli-0.1.14-2mzb5ath.mjs";import{Dfa as H,Nfa as h}from"./cli-0.1.14-s9m1y93w.mjs";import{cma as u}from"./cli-0.1.14-qn4ftczz.mjs";I();b();v();var j={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var x={message:"must be 0 (disabled) or ≥100ms"},C=N(()=>V.object({poll_interval_ms_not_at_capacity:V.number().int().min(100),poll_interval_ms_at_capacity:V.number().int().refine((J)=>J===0||J>=100,x),non_exclusive_heartbeat_interval_ms:V.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:V.number().int().min(100).default(j.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:V.number().int().min(100).default(j.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:V.number().int().refine((J)=>J===0||J>=100,x).default(j.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:V.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:V.number().int().min(0).default(120000)}).refine((J)=>J.non_exclusive_heartbeat_interval_ms>0||J.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((J)=>J.non_exclusive_heartbeat_interval_ms>0||J.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function BJ(){let J=E("tengu_bridge_poll_interval_config",j,300000),K=C().safeParse(J);return K.success?K.data:j}s();_();R();e();p();i();_();R();h();m();c();d();w();var g=`{"type":"keep_alive"}
2
- `,t=1000,l=1000,D=30000,n=600000,r=1e4,o=300000,A=D*2,a=new Set([1002,4001,4003]);class L{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new F(t)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:U(this.url.href),tls:W()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.1.14-a4mesaeh.mjs"),Q=new K(this.url.href,{headers:J,agent:y(this.url.href),...W()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)q("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),k(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),z(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)q("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&a.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>A)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<n){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let B=this.refreshHeaders();Object.assign(this.headers,B),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(l*Math.pow(2,this.reconnectAttempts-1),D),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)q("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),z(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=O($)+`
3
- `;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=O(J)+`
4
- `;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>A){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},r)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),H(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(g),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},o)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var JJ=100,KJ=15000,QJ=3000;class XJ extends L{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:B}=$??{};this.postUrl=YJ(J),this.uploader=new f({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(M,P)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:M,failures:P}),B?.(M,P)},send:(M)=>this.postOnce(M)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),JJ);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,QJ)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=T();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await S.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:KJ})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function YJ(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
5
- export{j as q,BJ as r,L as s,XJ as t};
@@ -1,2 +0,0 @@
1
- import{AU as Y,CU as u,QS as u2,ZS as Z,fV as e2}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as t,FV as o,GV as U}from"./cli-0.1.14-hjktwgtk.mjs";import{T8 as X,V8 as j}from"./cli-0.1.14-2f7s5xbd.mjs";import{Zla as s}from"./cli-0.1.14-qn4ftczz.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudio"," "]}),o(u,{dimColor:!0,children:["v","0.1.14"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudio"," "]}),o(u,{dimColor:!0,children:["v","0.1.14"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.1.14"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.1.14"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
- export{c2 as _a};
@@ -1,2 +0,0 @@
1
- import{$la as O,bma as r9}from"./cli-0.1.14-qn4ftczz.mjs";var C=O((o9,Oq)=>{var Z0=Number.MAX_SAFE_INTEGER||9007199254740991,W0=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Z0,RELEASE_TYPES:W0,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var R=O((e9,Hq)=>{var K0=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=K0});var E=O((A,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:j0,MAX_LENGTH:z0}=C(),U0=R();A=wq.exports={};var Y0=A.re=[],F0=A.safeRe=[],j=A.src=[],I0=A.safeSrc=[],z=A.t={},O0=0,o="[a-zA-Z0-9-]",H0=[["\\s",1],["\\d",z0],[o,j0]],w0=(q)=>{for(let[$,J]of H0)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=w0($),Z=O0++;U0(q,Z,$),z[q]=Z,j[Z]=$,I0[Z]=Q,Y0[Z]=new RegExp($,J?"g":void 0),F0[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${o}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${o}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);A.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);A.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);A.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var f=O((qJ,yq)=>{var y0=Object.freeze({loose:!0}),B0=Object.freeze({}),x0=(q)=>{if(!q)return B0;if(typeof q!=="object")return y0;return q};yq.exports=x0});var e=O(($J,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},D0=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:D0}});var D=O((JJ,Vq)=>{var h=R(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:v}=C(),{safeRe:d,t:l}=E(),G0=f(),{compareIdentifiers:qq}=e();class L{constructor(q,$){if($=G0($),q instanceof L)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?d[l.LOOSE]:d[l.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>v||this.major<0)throw TypeError("Invalid major version");if(this.minor>v||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>v||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<v)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof L)){if(typeof q==="string"&&q===this.version)return 0;q=new L(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof L))q=new L(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof L))q=new L(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return qq(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof L))q=new L(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return qq(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?d[l.PRERELEASELOOSE]:d[l.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(qq(this.prerelease[0],$)===0){if(isNaN(this.prerelease[1]))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=L});var N=O((QJ,Pq)=>{var Xq=D(),V0=(q,$,J=!1)=>{if(q instanceof Xq)return q;try{return new Xq(q,$)}catch(Q){if(!J)return null;throw Q}};Pq.exports=V0});var Lq=O((ZJ,_q)=>{var X0=N(),P0=(q,$)=>{let J=X0(q,$);return J?J.version:null};_q.exports=P0});var Nq=O((WJ,Aq)=>{var _0=N(),L0=(q,$)=>{let J=_0(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Aq.exports=L0});var Rq=O((KJ,Cq)=>{var Eq=D(),A0=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Eq(q instanceof Eq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=A0});var uq=O((jJ,kq)=>{var Sq=N(),N0=(q,$)=>{let J=Sq(q,null,!0),Q=Sq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,U=W?Q:J,Y=!!K.prerelease.length;if(!!U.prerelease.length&&!Y){if(!U.patch&&!U.minor)return"major";if(U.compareMain(K)===0){if(U.minor&&!U.patch)return"minor";return"patch"}}let F=Y?"pre":"";if(J.major!==Q.major)return F+"major";if(J.minor!==Q.minor)return F+"minor";if(J.patch!==Q.patch)return F+"patch";return"prerelease"};kq.exports=N0});var Mq=O((zJ,Tq)=>{var E0=D(),C0=(q,$)=>new E0(q,$).major;Tq.exports=C0});var fq=O((UJ,bq)=>{var R0=D(),S0=(q,$)=>new R0(q,$).minor;bq.exports=S0});var vq=O((YJ,hq)=>{var k0=D(),u0=(q,$)=>new k0(q,$).patch;hq.exports=u0});var lq=O((FJ,dq)=>{var T0=N(),M0=(q,$)=>{let J=T0(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=M0});var P=O((IJ,cq)=>{var gq=D(),b0=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=b0});var pq=O((OJ,mq)=>{var f0=P(),h0=(q,$,J)=>f0($,q,J);mq.exports=h0});var aq=O((HJ,sq)=>{var v0=P(),d0=(q,$)=>v0(q,$,!0);sq.exports=d0});var g=O((wJ,iq)=>{var nq=D(),l0=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};iq.exports=l0});var tq=O((yJ,rq)=>{var g0=g(),c0=(q,$)=>q.sort((J,Q)=>g0(J,Q,$));rq.exports=c0});var eq=O((BJ,oq)=>{var m0=g(),p0=(q,$)=>q.sort((J,Q)=>m0(Q,J,$));oq.exports=p0});var S=O((xJ,q1)=>{var s0=P(),a0=(q,$,J)=>s0(q,$,J)>0;q1.exports=a0});var c=O((DJ,$1)=>{var n0=P(),i0=(q,$,J)=>n0(q,$,J)<0;$1.exports=i0});var $q=O((GJ,J1)=>{var r0=P(),t0=(q,$,J)=>r0(q,$,J)===0;J1.exports=t0});var Jq=O((VJ,Q1)=>{var o0=P(),e0=(q,$,J)=>o0(q,$,J)!==0;Q1.exports=e0});var m=O((XJ,Z1)=>{var q$=P(),$$=(q,$,J)=>q$(q,$,J)>=0;Z1.exports=$$});var p=O((PJ,W1)=>{var J$=P(),Q$=(q,$,J)=>J$(q,$,J)<=0;W1.exports=Q$});var Qq=O((_J,K1)=>{var Z$=$q(),W$=Jq(),K$=S(),j$=m(),z$=c(),U$=p(),Y$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return Z$(q,J,Q);case"!=":return W$(q,J,Q);case">":return K$(q,J,Q);case">=":return j$(q,J,Q);case"<":return z$(q,J,Q);case"<=":return U$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K1.exports=Y$});var z1=O((LJ,j1)=>{var F$=D(),I$=N(),{safeRe:s,t:a}=E(),O$=(q,$)=>{if(q instanceof F$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?s[a.COERCEFULL]:s[a.COERCE]);else{let Y=$.includePrerelease?s[a.COERCERTLFULL]:s[a.COERCERTL],H;while((H=Y.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||H.index+H[0].length!==J.index+J[0].length)J=H;Y.lastIndex=H.index+H[1].length+H[2].length}Y.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",U=$.includePrerelease&&J[6]?`+${J[6]}`:"";return I$(`${Q}.${Z}.${W}${K}${U}`,$)};j1.exports=O$});var F1=O((AJ,Y1)=>{class U1{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}Y1.exports=U1});var _=O((NJ,w1)=>{var H$=/\s+/g;class k{constructor(q,$){if($=y$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Zq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(H$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!O1(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&P$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){let J=((this.options.includePrerelease&&V$)|(this.options.loose&&X$))+":"+q,Q=I1.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?V[G.HYPHENRANGELOOSE]:V[G.HYPHENRANGE];q=q.replace(W,u$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(V[G.COMPARATORTRIM],x$),B("comparator trim",q),q=q.replace(V[G.TILDETRIM],D$),B("tilde trim",q),q=q.replace(V[G.CARETTRIM],G$),B("caret trim",q);let K=q.split(" ").map((F)=>_$(F,this.options)).join(" ").split(/\s+/).map((F)=>k$(F,this.options));if(Z)K=K.filter((F)=>{return B("loose invalid filter",F,this.options),!!F.match(V[G.COMPARATORLOOSE])});B("range list",K);let U=new Map,Y=K.map((F)=>new Zq(F,this.options));for(let F of Y){if(O1(F))return[F];U.set(F.value,F)}if(U.size>1&&U.has(""))U.delete("");let H=[...U.values()];return I1.set(J,H),H}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return H1(J,$)&&q.set.some((Q)=>{return H1(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new B$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(T$(this.set[$],q,this.options))return!0;return!1}}w1.exports=k;var w$=F1(),I1=new w$,y$=f(),Zq=u(),B=R(),B$=D(),{safeRe:V,t:G,comparatorTrimReplace:x$,tildeTrimReplace:D$,caretTrimReplace:G$}=E(),{FLAG_INCLUDE_PRERELEASE:V$,FLAG_LOOSE:X$}=C(),O1=(q)=>q.value==="<0.0.0-0",P$=(q)=>q.value==="",H1=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},_$=(q,$)=>{return q=q.replace(V[G.BUILD],""),B("comp",q,$),q=N$(q,$),B("caret",q),q=L$(q,$),B("tildes",q),q=C$(q,$),B("xrange",q),q=S$(q,$),B("stars",q),q},X=(q)=>!q||q.toLowerCase()==="x"||q==="*",L$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>A$(J,$)).join(" ")},A$=(q,$)=>{let J=$.loose?V[G.TILDELOOSE]:V[G.TILDE];return q.replace(J,(Q,Z,W,K,U)=>{B("tilde",q,Q,Z,W,K,U);let Y;if(X(Z))Y="";else if(X(W))Y=`>=${Z}.0.0 <${+Z+1}.0.0-0`;else if(X(K))Y=`>=${Z}.${W}.0 <${Z}.${+W+1}.0-0`;else if(U)B("replaceTilde pr",U),Y=`>=${Z}.${W}.${K}-${U} <${Z}.${+W+1}.0-0`;else Y=`>=${Z}.${W}.${K} <${Z}.${+W+1}.0-0`;return B("tilde return",Y),Y})},N$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>E$(J,$)).join(" ")},E$=(q,$)=>{B("caret",q,$);let J=$.loose?V[G.CARETLOOSE]:V[G.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,U,Y)=>{B("caret",q,Z,W,K,U,Y);let H;if(X(W))H="";else if(X(K))H=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(X(U))if(W==="0")H=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else H=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(Y)if(B("replaceCaret pr",Y),W==="0")if(K==="0")H=`>=${W}.${K}.${U}-${Y} <${W}.${K}.${+U+1}-0`;else H=`>=${W}.${K}.${U}-${Y} <${W}.${+K+1}.0-0`;else H=`>=${W}.${K}.${U}-${Y} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")H=`>=${W}.${K}.${U}${Q} <${W}.${K}.${+U+1}-0`;else H=`>=${W}.${K}.${U}${Q} <${W}.${+K+1}.0-0`;else H=`>=${W}.${K}.${U} <${+W+1}.0.0-0`;return B("caret return",H),H})},C$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>R$(J,$)).join(" ")},R$=(q,$)=>{q=q.trim();let J=$.loose?V[G.XRANGELOOSE]:V[G.XRANGE];return q.replace(J,(Q,Z,W,K,U,Y)=>{B("xRange",q,Q,Z,W,K,U,Y);let H=X(W),F=H||X(K),y=F||X(U),x=y;if(Z==="="&&x)Z="";if(Y=$.includePrerelease?"-0":"",H)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(F)K=0;if(U=0,Z===">")if(Z=">=",F)W=+W+1,K=0,U=0;else K=+K+1,U=0;else if(Z==="<=")if(Z="<",F)W=+W+1;else K=+K+1;if(Z==="<")Y="-0";Q=`${Z+W}.${K}.${U}${Y}`}else if(F)Q=`>=${W}.0.0${Y} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${Y} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},S$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(V[G.STAR],"")},k$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(V[$.includePrerelease?G.GTE0PRE:G.GTE0],"")},u$=(q)=>($,J,Q,Z,W,K,U,Y,H,F,y,x)=>{if(X(Q))J="";else if(X(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(X(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(X(H))Y="";else if(X(F))Y=`<${+H+1}.0.0-0`;else if(X(y))Y=`<${H}.${+F+1}.0-0`;else if(x)Y=`<=${H}.${F}.${y}-${x}`;else if(q)Y=`<${H}.${F}.${+y+1}-0`;else Y=`<=${Y}`;return`${J} ${Y}`.trim()},T$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Zq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=O((EJ,V1)=>{var T=Symbol("SemVer ANY");class n{static get ANY(){return T}constructor(q,$){if($=y1($),q instanceof n)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Kq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Kq("comp",this)}parse(q){let $=this.options.loose?B1[x1.COMPARATORLOOSE]:B1[x1.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new D1(J[2],this.options.loose)}toString(){return this.value}test(q){if(Kq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new D1(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof n))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new G1(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new G1(this.value,$).test(q.semver)}if($=y1($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}V1.exports=n;var y1=f(),{safeRe:B1,t:x1}=E(),Wq=Qq(),Kq=R(),D1=D(),G1=_()});var M=O((CJ,X1)=>{var M$=_(),b$=(q,$,J)=>{try{$=new M$($,J)}catch(Q){return!1}return $.test(q)};X1.exports=b$});var _1=O((RJ,P1)=>{var f$=_(),h$=(q,$)=>new f$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));P1.exports=h$});var A1=O((SJ,L1)=>{var v$=D(),d$=_(),l$=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new d$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new v$(Q,J)}}),Q};L1.exports=l$});var E1=O((kJ,N1)=>{var g$=D(),c$=_(),m$=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new c$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new g$(Q,J)}}),Q};N1.exports=m$});var S1=O((uJ,R1)=>{var jq=D(),p$=_(),C1=S(),s$=(q,$)=>{q=new p$(q,$);let J=new jq("0.0.0");if(q.test(J))return J;if(J=new jq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let U=new jq(K.semver.version);switch(K.operator){case">":if(U.prerelease.length===0)U.patch++;else U.prerelease.push(0);U.raw=U.format();case"":case">=":if(!W||C1(U,W))W=U;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||C1(J,W)))J=W}if(J&&q.test(J))return J;return null};R1.exports=s$});var u1=O((TJ,k1)=>{var a$=_(),n$=(q,$)=>{try{return new a$(q,$).range||"*"}catch(J){return null}};k1.exports=n$});var i=O((MJ,f1)=>{var i$=D(),b1=u(),{ANY:r$}=b1,t$=_(),o$=M(),T1=S(),M1=c(),e$=p(),q9=m(),$9=(q,$,J,Q)=>{q=new i$(q,Q),$=new t$($,Q);let Z,W,K,U,Y;switch(J){case">":Z=T1,W=e$,K=M1,U=">",Y=">=";break;case"<":Z=M1,W=q9,K=T1,U="<",Y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(o$(q,$,Q))return!1;for(let H=0;H<$.set.length;++H){let F=$.set[H],y=null,x=null;if(F.forEach((I)=>{if(I.semver===r$)I=new b1(">=0.0.0");if(y=y||I,x=x||I,Z(I.semver,y.semver,Q))y=I;else if(K(I.semver,x.semver,Q))x=I}),y.operator===U||y.operator===Y)return!1;if((!x.operator||x.operator===U)&&W(q,x.semver))return!1;else if(x.operator===Y&&K(q,x.semver))return!1}return!0};f1.exports=$9});var v1=O((bJ,h1)=>{var J9=i(),Q9=(q,$,J)=>J9(q,$,">",J);h1.exports=Q9});var l1=O((fJ,d1)=>{var Z9=i(),W9=(q,$,J)=>Z9(q,$,"<",J);d1.exports=W9});var m1=O((hJ,c1)=>{var g1=_(),K9=(q,$,J)=>{return q=new g1(q,J),$=new g1($,J),q.intersects($,J)};c1.exports=K9});var s1=O((vJ,p1)=>{var j9=M(),z9=P();p1.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((F,y)=>z9(F,y,J));for(let F of K)if(j9(F,$,J)){if(W=F,!Z)Z=F}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let U=[];for(let[F,y]of Q)if(F===y)U.push(F);else if(!y&&F===K[0])U.push("*");else if(!y)U.push(`>=${F}`);else if(F===K[0])U.push(`<=${y}`);else U.push(`${F} - ${y}`);let Y=U.join(" || "),H=typeof $.raw==="string"?$.raw:String($);return Y.length<H.length?Y:$}});var o1=O((dJ,t1)=>{var a1=_(),Uq=u(),{ANY:zq}=Uq,b=M(),Yq=P(),U9=(q,$,J={})=>{if(q===$)return!0;q=new a1(q,J),$=new a1($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=F9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},Y9=[new Uq(">=0.0.0-0")],n1=[new Uq(">=0.0.0")],F9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===zq)if($.length===1&&$[0].semver===zq)return!0;else if(J.includePrerelease)q=Y9;else q=n1;if($.length===1&&$[0].semver===zq)if(J.includePrerelease)return!0;else $=n1;let Q=new Set,Z,W;for(let I of q)if(I.operator===">"||I.operator===">=")Z=i1(Z,I,J);else if(I.operator==="<"||I.operator==="<=")W=r1(W,I,J);else Q.add(I.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Yq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let I of Q){if(Z&&!b(I,String(Z),J))return null;if(W&&!b(I,String(W),J))return null;for(let Q0 of $)if(!b(I,String(Q0),J))return!1;return!0}let U,Y,H,F,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let I of $){if(F=F||I.operator===">"||I.operator===">=",H=H||I.operator==="<"||I.operator==="<=",Z){if(x){if(I.semver.prerelease&&I.semver.prerelease.length&&I.semver.major===x.major&&I.semver.minor===x.minor&&I.semver.patch===x.patch)x=!1}if(I.operator===">"||I.operator===">="){if(U=i1(Z,I,J),U===I&&U!==Z)return!1}else if(Z.operator===">="&&!b(Z.semver,String(I),J))return!1}if(W){if(y){if(I.semver.prerelease&&I.semver.prerelease.length&&I.semver.major===y.major&&I.semver.minor===y.minor&&I.semver.patch===y.patch)y=!1}if(I.operator==="<"||I.operator==="<="){if(Y=r1(W,I,J),Y===I&&Y!==W)return!1}else if(W.operator==="<="&&!b(W.semver,String(I),J))return!1}if(!I.operator&&(W||Z)&&K!==0)return!1}if(Z&&H&&!W&&K!==0)return!1;if(W&&F&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},i1=(q,$,J)=>{if(!q)return $;let Q=Yq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},r1=(q,$,J)=>{if(!q)return $;let Q=Yq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};t1.exports=U9});var J0=O((lJ,$0)=>{var Fq=E(),e1=C(),I9=D(),q0=e(),O9=N(),H9=Lq(),w9=Nq(),y9=Rq(),B9=uq(),x9=Mq(),D9=fq(),G9=vq(),V9=lq(),X9=P(),P9=pq(),_9=aq(),L9=g(),A9=tq(),N9=eq(),E9=S(),C9=c(),R9=$q(),S9=Jq(),k9=m(),u9=p(),T9=Qq(),M9=z1(),b9=u(),f9=_(),h9=M(),v9=_1(),d9=A1(),l9=E1(),g9=S1(),c9=u1(),m9=i(),p9=v1(),s9=l1(),a9=m1(),n9=s1(),i9=o1();$0.exports={parse:O9,valid:H9,clean:w9,inc:y9,diff:B9,major:x9,minor:D9,patch:G9,prerelease:V9,compare:X9,rcompare:P9,compareLoose:_9,compareBuild:L9,sort:A9,rsort:N9,gt:E9,lt:C9,eq:R9,neq:S9,gte:k9,lte:u9,cmp:T9,coerce:M9,Comparator:b9,Range:f9,satisfies:h9,toComparators:v9,maxSatisfying:d9,minSatisfying:l9,minVersion:g9,validRange:c9,outside:m9,gtr:p9,ltr:s9,intersects:a9,simplifyRange:n9,subset:i9,SemVer:I9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:e1.SEMVER_SPEC_VERSION,RELEASE_TYPES:e1.RELEASE_TYPES,compareIdentifiers:q0.compareIdentifiers,rcompareIdentifiers:q0.rcompareIdentifiers}});function r(){if(!Iq)Iq=J0();return Iq}function gJ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return r().gt(q,$,{loose:!0})}function cJ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return r().gte(q,$,{loose:!0})}function mJ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return r().lt(q,$,{loose:!0})}function pJ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return r().satisfies(q,$,{loose:!0})}var Iq;var t9=()=>{};
2
- export{J0 as nV,gJ as oV,cJ as pV,mJ as qV,pJ as rV,t9 as sV};
@@ -1,2 +0,0 @@
1
- import{QS as f}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as p,GV as c}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as M}from"./cli-0.1.14-harz1d9d.mjs";import{Zla as o}from"./cli-0.1.14-qn4ftczz.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
- export{a as db,l as eb};
@@ -1,2 +0,0 @@
1
- import{Gaa as f,U$ as M,X$ as L,naa as G,oaa as h,saa as v,taa as P,waa as k}from"./cli-0.1.14-2f7s5xbd.mjs";import{$ca as E,ida as x}from"./cli-0.1.14-9vc52dnj.mjs";import{Afa as T,Nfa as u}from"./cli-0.1.14-s9m1y93w.mjs";import{bma as C}from"./cli-0.1.14-qn4ftczz.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudioMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudioMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudioMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
2
- export{Vj as Bc,Wj as Cc,e as Dc,Xj as Ec,Yj as Fc,jj as Gc};
@@ -1,2 +0,0 @@
1
- import{$la as j}from"./cli-0.1.14-qn4ftczz.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.4"});
2
- export{Lt as HV};
@@ -1,2 +0,0 @@
1
- import{bma as l}from"./cli-0.1.14-qn4ftczz.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
2
- export{u as DV,E as EV,a as FV,c as GV};
@@ -1,2 +0,0 @@
1
- import{yg as p}from"./cli-0.1.14-ydm3fwx1.mjs";import{AK as P,DK as t,yk as W,zK as I,zk as l}from"./cli-0.1.14-j5sbzwhy.mjs";import{zV as J}from"./cli-0.1.14-3scecgzx.mjs";import{MV as H,NV as i}from"./cli-0.1.14-jf8019sb.mjs";import{OV as C,QV as n}from"./cli-0.1.14-d4zkffre.mjs";import{GZ as S,LZ as m,_2 as R,e3 as V,y3 as c,z2 as v}from"./cli-0.1.14-a6kwmqhz.mjs";import{$4 as u,K4 as Q}from"./cli-0.1.14-stv1d0q3.mjs";import{U$ as T,V5 as Z,W5 as M,X$ as X,_5 as _,d6 as f,lba as k,mba as Y,oaa as O,sba as y,vba as D,yba as g}from"./cli-0.1.14-2f7s5xbd.mjs";import{rca as $,sca as h}from"./cli-0.1.14-kmsvd61a.mjs";import{cda as q,hda as E,ida as A}from"./cli-0.1.14-9vc52dnj.mjs";import{wfa as x,zfa as b}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as U}from"./cli-0.1.14-qn4ftczz.mjs";async function s(){if(Z())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let G=`${E().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":q};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(G,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=k(),G=await P({baseUrl:F,apiKey:D()?.apiKey});if(G===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:G.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:G,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,G)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),T((B)=>({...B,clientDataCache:G,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){_(w)}}var d;var r=U(()=>{u();l();c();p();A();O();b();i();h();f();m();M();t();n();g();y();d=$(()=>J.object({client_data:J.record(J.unknown()).nullish(),additional_model_options:J.array(J.object({model:J.string(),name:J.string(),description:J.string()}).transform(({model:w,name:F,description:G})=>({value:w,label:F,description:G}))).nullish()}))});
2
- export{Yj as qb,r as rb};
@@ -1,2 +0,0 @@
1
- import{bma as o}from"./cli-0.1.14-qn4ftczz.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
- export{e as Dg,t as Eg};
@@ -1,6 +0,0 @@
1
- import{bma as j}from"./cli-0.1.14-qn4ftczz.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
2
- `:`
3
- `)+z,H=D+1,D=q.indexOf(`
4
- `,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
5
- `);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
6
- export{o as T3,O1 as U3,e as V3};
@@ -1,2 +0,0 @@
1
- import{OV as N,PV as V,QV as D}from"./cli-0.1.14-d4zkffre.mjs";import{GZ as Y,LZ as _,_2 as J,a3 as $,d3 as B,y3 as x,z2 as Z}from"./cli-0.1.14-a6kwmqhz.mjs";import{$4 as R,K4 as X}from"./cli-0.1.14-stv1d0q3.mjs";import{cda as Q,ida as P}from"./cli-0.1.14-9vc52dnj.mjs";import{bma as W}from"./cli-0.1.14-qn4ftczz.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 IV,I as JV,w as KV,C as LV,O as MV,H as NV};
@@ -1,2 +0,0 @@
1
- import{Vla as n}from"./cli-0.1.14-8fr10t94.mjs";import{$la as r}from"./cli-0.1.14-qn4ftczz.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 z4};
@@ -1,2 +0,0 @@
1
- import{j0 as H,k0 as _,l0 as Y,m0 as y}from"./cli-0.1.14-a6kwmqhz.mjs";import{J5 as M,L5 as v}from"./cli-0.1.14-2f7s5xbd.mjs";import{Cea as F,Eea as f,Yea as V,cfa as R,mfa as P,qfa as p,wfa as x,zfa as S}from"./cli-0.1.14-2mzb5ath.mjs";import{Dfa as U,Nfa as g}from"./cli-0.1.14-s9m1y93w.mjs";import{Eja as D,Fja as W,mla as A}from"./cli-0.1.14-r46jh9af.mjs";import{bma as L}from"./cli-0.1.14-qn4ftczz.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});var r;var b=L(()=>{r={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function h(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function Gq(q){if($=q,J>0&&K===null)E()}function Jq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Kq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Qq(){return $!==null}function Xq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function $q(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,h()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{f();v();g();Z=new Map});
2
- export{k as WO,s as XO,o as YO,u as ZO,Gq as _O,Jq as $O,Kq as aP,Qq as bP,Xq as cP,$q as dP,m as eP,r as fP,b as gP};
@@ -1,2 +0,0 @@
1
- import{XJ as C,_J as X}from"./cli-0.1.14-j5sbzwhy.mjs";import{HV as W}from"./cli-0.1.14-harz1d9d.mjs";import{H1 as J,N1 as V,v1 as I}from"./cli-0.1.14-a6kwmqhz.mjs";import{Ida as T,nda as H}from"./cli-0.1.14-z8j2n955.mjs";import{Zla as P,bma as Q}from"./cli-0.1.14-qn4ftczz.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
2
- export{v as Kb,Y as Lb};
@@ -1,2 +0,0 @@
1
- import{nj as Pq,rj as Sq,uj as Q,vj as hq}from"./cli-0.1.14-j5sbzwhy.mjs";import{VR as Uq,WR as Iq,ZR as _q}from"./cli-0.1.14-ta3w93yb.mjs";import{AU as J,CU as L,QS as jq,fV as nq}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as H,FV as O,GV as vq}from"./cli-0.1.14-hjktwgtk.mjs";import{F0 as bq,G0 as Mq,Z0 as yq}from"./cli-0.1.14-a6kwmqhz.mjs";import{T8 as Nq,V8 as gq,X$ as Rq,i7 as Xq,k7 as kq,oaa as fq}from"./cli-0.1.14-2f7s5xbd.mjs";import{Ida as Bq}from"./cli-0.1.14-z8j2n955.mjs";import{Zla as pq,bma as Gq}from"./cli-0.1.14-qn4ftczz.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};
@@ -1,2 +0,0 @@
1
- import{yea as $,zea as P}from"./cli-0.1.14-t3fga5je.mjs";import{Yea as X,cfa as z,efa as Y,ifa as H,wfa as Z,zfa as O}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as x}from"./cli-0.1.14-qn4ftczz.mjs";function h(q){return q.replace(w,(Q,J,K)=>{if(K.length<F)return`"${J}":"[REDACTED]"`;let V=`${K.slice(0,8)}...${K.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let Q=typeof q==="string"?q:Y(q),J=h(Q);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function R(q){let Q=X(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let K=J.data,V=typeof K.message==="string"?K.message:typeof K.error==="object"&&K.error&&("message"in K.error)&&typeof K.error.message==="string"?K.error.message:void 0;if(V)return`${Q}: ${V}`}}return Q}function U(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function j(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function D(q,Q,J){if(Q)Z(Q);$("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{P();O();z();H();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
- export{N as zd,R as Ad,U as Bd,j as Cd,D as Dd,m as Ed};
@@ -1,2 +0,0 @@
1
- import{sy as U,ty as w}from"./cli-0.1.14-j5sbzwhy.mjs";import{AU as N,CU as O,QS as f,fV as k}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as M,FV as H,GV as R}from"./cli-0.1.14-hjktwgtk.mjs";import{Zla as Y,bma as Z}from"./cli-0.1.14-qn4ftczz.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
- export{_ as gf,A as hf};
@@ -1,2 +0,0 @@
1
- import{Gaa as S,Paa as R,Qaa as T,l6 as U,n6 as m,taa as P,vba as H,xaa as M,yba as E}from"./cli-0.1.14-2f7s5xbd.mjs";import{Ffa as K,Nfa as G}from"./cli-0.1.14-s9m1y93w.mjs";import{bma as x}from"./cli-0.1.14-qn4ftczz.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 xY,d as yY,a as zY,w as AY,I as BY,L as CY,JJ as DY,v as EY,QJ as FY,XJ as GY,ZJ as HY,u as IY,$J as JY,l as KY};
@@ -1,2 +0,0 @@
1
- import{pr as H,sr as L}from"./cli-0.1.14-j5sbzwhy.mjs";import{F8 as K,y8 as G}from"./cli-0.1.14-2f7s5xbd.mjs";import{bma as J}from"./cli-0.1.14-qn4ftczz.mjs";function T(q,w){let z=new Map;for(let h of w)z.set(h.agentType,h);let C=new Set,E=[];for(let h of q){let F=`${h.agentType}:${h.source}`;if(C.has(F))continue;C.add(F);let x=z.get(h.agentType),I=x&&x.source!==h.source?x.source:void 0;E.push({...h,overriddenBy:I})}return E}function U(q){let w=q.model||H();if(!w)return;return w==="inherit"?"inherit":w}function V(q){return G(q).toLowerCase()}function W(q,w){return q.agentType.localeCompare(w.agentType,void 0,{sensitivity:"base"})}var R;var O=J(()=>{L();K();R=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
2
- export{R as wb,T as xb,U as yb,V as zb,W as Ab,O as Bb};
@@ -1,2 +0,0 @@
1
- import{bma as B}from"./cli-0.1.14-qn4ftczz.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};
@@ -1,2 +0,0 @@
1
- import{$la as D,cma as J}from"./cli-0.1.14-qn4ftczz.mjs";var G=D((V,E)=>{E.exports=(O,k=process.argv)=>{let q=O.startsWith("-")?"":O.length===1?"-":"--",i=k.indexOf(q+O),B=k.indexOf("--");return i!==-1&&(B===-1||i<B)}});var U=D((W,K)=>{var M=J("os"),H=J("tty"),P=G(),{env:x}=process,j;if(P("no-color")||P("no-colors")||P("color=false")||P("color=never"))j=0;else if(P("color")||P("colors")||P("color=true")||P("color=always"))j=1;if("FORCE_COLOR"in x)if(x.FORCE_COLOR==="true")j=1;else if(x.FORCE_COLOR==="false")j=0;else j=x.FORCE_COLOR.length===0?1:Math.min(parseInt(x.FORCE_COLOR,10),3);function z(O){if(O===0)return!1;return{level:O,hasBasic:!0,has256:O>=2,has16m:O>=3}}function A(O,k){if(j===0)return 0;if(P("color=16m")||P("color=full")||P("color=truecolor"))return 3;if(P("color=256"))return 2;if(O&&!k&&j===void 0)return 0;let q=j||0;if(x.TERM==="dumb")return q;if(process.platform==="win32"){let i=M.release().split(".");if(Number(i[0])>=10&&Number(i[2])>=10586)return Number(i[2])>=14931?3:2;return 1}if("CI"in x){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((i)=>(i in x))||x.CI_NAME==="codeship")return 1;return q}if("TEAMCITY_VERSION"in x)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(x.TEAMCITY_VERSION)?1:0;if(x.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in x){let i=parseInt((x.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(x.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(x.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(x.TERM))return 1;if("COLORTERM"in x)return 1;return q}function Q(O){let k=A(O,O&&O.isTTY);return z(k)}K.exports={supportsColor:Q,stdout:z(A(!0,H.isatty(1))),stderr:z(A(!0,H.isatty(2)))}});
2
- export{G as f5,U as g5};
@@ -1,2 +0,0 @@
1
- import{$f as Yf,_f as C}from"./cli-0.1.14-dz2jvye2.mjs";import{$M as $f,AM as u,BN as A,Bx as Jf,Hp as w,KO as Df,Np as e,So as O,To as t,Uw as N,Vw as Gf,YL as T,Yy as P,ZC as h,_y as Qf,aN as c,aO as g,cr as y,dr as Bf,eD as Xf,kA as E,lA as Vf,oO as jf,pq as ff,qO as S,qq as zf,sN as I,tM as M,tN as v,uN as bf,wp as R,wx as L,xp as s,zL as m}from"./cli-0.1.14-j5sbzwhy.mjs";import{_5 as F,d6 as o}from"./cli-0.1.14-2f7s5xbd.mjs";import{yea as H,zea as a}from"./cli-0.1.14-t3fga5je.mjs";import{Bha as q,mla as r,uia as x,vha as U,wha as W}from"./cli-0.1.14-r46jh9af.mjs";import{_la as K,bma as n}from"./cli-0.1.14-qn4ftczz.mjs";import{randomUUID as Zf}from"crypto";async function Tf({setMessages:V,readFileState:l,discoveredSkillNames:p,loadedNestedMemoryPaths:k,getAppState:G,setAppState:J,setConversationId:X}){let Y=A();await g("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=x();if(Z)H("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(h(f))Q.add(f.agentId),_.push(f);else if(N(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(Zf());if(C(Q),E(q()),l.clear(),p?.clear(),k?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(y(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(i){F(i)}I(D)}return{...f,tasks:B,attribution:O(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});w(),M();let d=U();W({setCurrentAsParent:!0}),L(d),await T();for(let f of _){if(f.status!=="running")continue;v(f.id,m(R(f.agentId)))}{let{saveMode:f}=(c(),K($f)),{isCoordinatorMode:B}=(zf(),K(ff));f(B()?"coordinator":"normal")}let b=S();if(b)u(b);let j=await P("clear");if(j.length>0)V(()=>j)}var _f=n(()=>{r();a();Gf();Xf();Bf();s();t();jf();o();e();Vf();Qf();c();bf();Jf();Df();Yf()});
2
- export{Tf as Yf,_f as Zf};
@@ -1,2 +0,0 @@
1
- import{mg as e,pg as fq}from"./cli-0.1.14-y2wxptpk.mjs";import{qg as t,sg as Hq}from"./cli-0.1.14-90zkq8jm.mjs";import{Fr as i,Gr as Wq,Hr as r,Ir as Yq,ih as u,iv as o,jh as g,jv as Mq,kh as Zq,rt as n,st as kq,wj as S,xK as s,xj as Nq,yK as Oq}from"./cli-0.1.14-j5sbzwhy.mjs";import{ES as $,GS as Vq}from"./cli-0.1.14-w6nzk5dc.mjs";import{AU as M,CU as F,QS as Qq,UU as c,VU as Uq,fV as Xq}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as L,FV as R,GV as l}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as Lq}from"./cli-0.1.14-harz1d9d.mjs";import{e6 as d,f6 as Jq}from"./cli-0.1.14-2f7s5xbd.mjs";import{Zla as a,bma as Gq}from"./cli-0.1.14-qn4ftczz.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(s,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await u(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(g(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];$("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(o,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(n,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R(r,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(i,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Zq();Oq();Xq();Vq();fq();Wq();Mq();Yq();kq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
- export{lq as kg,Fq as lg};
@@ -1,2 +0,0 @@
1
- import{Mh as l,Nh as Rq,Oh as i,Ph as Aq,bk as E,ck as m,dk as Xq,sk as S,xk as Zq}from"./cli-0.1.14-j5sbzwhy.mjs";import{$4 as Qq,K4 as p}from"./cli-0.1.14-stv1d0q3.mjs";import{M9 as u,O9 as g,R9 as h,S9 as n,X9 as vq,_5 as D,d6 as qq}from"./cli-0.1.14-2f7s5xbd.mjs";import{oca as d,qca as Uq}from"./cli-0.1.14-kmsvd61a.mjs";import{Yea as W,Zea as O,_ea as C,cfa as _,efa as P,ffa as v,ifa as f,mfa as M,qfa as y,wfa as V,zfa as e}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as N}from"./cli-0.1.14-qn4ftczz.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{Qq();e();_();y();qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
- export{Fq as Mb,r as Nb,nq as Ob,lq as Pb,Oq as Qb,QQ as Rb,XQ as Sb,Dq as Tb};
@@ -1,4 +0,0 @@
1
- import{rea as $,vea as W,wea as f,xea as I}from"./cli-0.1.14-16jrehc2.mjs";import{yea as XD,zea as aD}from"./cli-0.1.14-t3fga5je.mjs";import{hfa as $D,ifa as cD,mfa as qD,qfa as mD,wfa as l,zfa as rD}from"./cli-0.1.14-2mzb5ath.mjs";import{Afa as VD,Dfa as YD,Nfa as PD}from"./cli-0.1.14-s9m1y93w.mjs";import{mla as hD,vha as QD}from"./cli-0.1.14-r46jh9af.mjs";import{$la as HD,Zla as RD,bma as Q,cma as gD}from"./cli-0.1.14-qn4ftczz.mjs";var h=HD((uu,g)=>{g.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var U,H,_,O,J;var P=Q(()=>{U=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],H=[12288,12288,65281,65376,65504,65510],_=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],O=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],J=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var M=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var c=()=>{};function yD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(m>=E&&m<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var MD,zD,jD,vD,Au,Ku,Qu,Vu,ND,GD,m=19968,_D,OD,r=(D)=>{if(D<MD||D>zD)return!1;return M(U,D)},y=(D)=>{if(D<jD||D>vD)return!1;return M(H,D)},b=(D)=>{if(D>=_D&&D<=OD)return!0;if(D<ND||D>GD)return!1;return M(J,D)};var k=Q(()=>{P();c();MD=U[0],zD=U.at(-1),jD=H[0],vD=H.at(-1),Au=_[0],Ku=_.at(-1),Qu=O[0],Vu=O.at(-1),ND=J[0],GD=J.at(-1),[_D,OD]=yD(J)});function bD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function R(D,{ambiguousAsWide:F=!1}={}){if(bD(D),y(D)||b(D)||F&&r(D))return 2;return 1}var a=Q(()=>{k();k()});function L({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var d=()=>{};function w(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes("›"))return D;return D.replace(kD,"")}var kD;var s=Q(()=>{d();kD=L()});function LD(D){if(typeof D!=="string"||D.length===0)return 0;let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=w(D),D.length===0)return 0}if(!wD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!i(B))C+=R(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of $().segment(D)){if(n.lastIndex=0,n.test(C)){u+=ID(C);continue}for(let E of C){let B=E.codePointAt(0);if(!i(B)){u+=R(B,{ambiguousAsWide:!1});break}}}return u}function wD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function ID(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function i(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var t,n,o,SD,V;var e=Q(()=>{a();s();I();t=RD(h(),1),n=t.default();o=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,SD={ambiguousIsNarrow:!0},V=o?(D)=>o(D,SD):LD});function TD(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=0)return"…";if(F<5)return z(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=V(E);if(A>=F-1)return S(D,F);let K=F-1-A;if(K<=0)return S(E,F);return DD(B,K)+"…"+E}function z(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of $().segment(u)){let A=V(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function S(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=1)return"…";let C=[...$().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let K=V(C[A].segment);if(E+K>F-1)break;E+=K,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function DD(D,F){let u=D??"";if(V(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of $().segment(u)){let A=V(B);if(C+A>F)break;E+=B,C+=A}return E}function xD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
2
- `);if(B!==-1){if(E=C.substring(0,B),V(E)+1>F)return z(E,F);return`${E}…`}}if(V(E)<=F)return E;return z(E,F)}var uD=Q(()=>{e();I()});function j(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function bu(D){return`${(D/1000).toFixed(1)}s`}function ku(D,F){if(D<60000){if(D===0)return"0s";if(D<1)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function fD(D){let F=D>=1000;return WD(F).format(D).toLowerCase()}function Ru(D){return fD(D).replace(".0","")}function FD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),K=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:Y,seconds:q,shortUnit:G}of K)if(Math.abs(A)>=q){let X=Math.trunc(A/q);if(u==="narrow")return A<0?`${Math.abs(X)}${G} ago`:`in ${X}${G}`;return W("long",C).format(X,Y)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return W(u,C).format(0,"second")}function pD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return FD(D,{...C,now:u});return FD(D,{...C,numeric:"always",now:u})}function Lu(D){let F=D.fileSize!==void 0?j(D.fileSize):`${D.messageCount} messages`,u=[pD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function lD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let Y={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())Y.year="numeric";return C.toLocaleString("en-US",Y).replace(/ ([AP]M)/i,(G,X)=>X.toLowerCase())+(F?` (${f()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(Y,q)=>q.toLowerCase())+(F?` (${f()})`:"")}function wu(D,F=!1,u=!0){let C=new Date(D);return`${lD(Math.floor(C.getTime()/1000),F,u)}`}var T=null,x=null,WD=(D)=>{if(D){if(!T)T=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return T}else{if(!x)x=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return x}};var CD=Q(()=>{I();uD()});function N(){if(!p)p=gD("perf_hooks").performance;return p}function v(D){return D.toFixed(3)}function ED(D,F,u,C,E,B,A=""){let K=C?` | RSS: ${j(C.rss)}, Heap: ${j(C.heapUsed)}`:"";return`[+${v(D).padStart(E)}ms] (+${v(F).padStart(B)}ms) ${u}${A}${K}`}var p=null;var BD=Q(()=>{CD()});import{dirname as dD,join as sD}from"path";function oD(D){if(!ZD)return;if(N().mark(D),Z)UD.push(process.memoryUsage())}function AD(){if(!Z)return"Startup profiling not enabled";let F=N().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(ED(A.startTime,A.startTime-C,A.name,UD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${v(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
3
- `)}function mu(){if(KD)return;if(KD=!0,eD(),Z){let D=tD(),F=dD(D);qD().mkdirSync(F),$D(D,AD(),{encoding:"utf8",flush:!0}),l("Startup profiling report:"),l(AD())}}function ru(){return Z}function tD(){return sD(VD(),"startup-perf",`${QD()}.txt`)}function eD(){if(!JD)return;let F=N().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(iD)){let K=u.get(B),Y=u.get(A);if(K!==void 0&&Y!==void 0)C[`${E}_ms`]=Math.round(Y-K)}C.checkpoint_count=F.length,XD("tengu_startup_perf",C)}var Z,nD=0.005,JD,ZD,UD,iD,KD=!1;var Du=Q(()=>{hD();aD();rD();PD();mD();BD();cD();Z=YD(process.env.CLAUDE_CODE_PROFILE_STARTUP),JD=Math.random()<nD,ZD=Z||JD,UD=[],iD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(ZD)oD("profiler_initialized")});
4
- export{h as Jda,y as Kda,b as Lda,R as Mda,a as Nda,w as Oda,s as Pda,V as Qda,e as Rda,TD as Sda,z as Tda,S as Uda,DD as Vda,xD as Wda,uD as Xda,j as Yda,bu as Zda,ku as _da,fD as $da,Ru as aea,FD as bea,pD as cea,Lu as dea,lD as eea,wu as fea,CD as gea,N as hea,v as iea,ED as jea,BD as kea,oD as lea,mu as mea,ru as nea,tD as oea,eD as pea,Du as qea};
@@ -1,2 +0,0 @@
1
- import{sk as Z,xk as G}from"./cli-0.1.14-j5sbzwhy.mjs";import{_5 as X,d6 as R}from"./cli-0.1.14-2f7s5xbd.mjs";import{efa as v,ffa as B,ifa as A,mfa as C,qfa as M,wfa as U,zfa as O}from"./cli-0.1.14-2mzb5ath.mjs";import{bma as b}from"./cli-0.1.14-qn4ftczz.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
2
- export{o as Ub,c as Vb,p as Wb,d as Xb,g as Yb,w as Zb};
@@ -1,2 +0,0 @@
1
- import{iv as h,kv as I,rt as g,st as k}from"./cli-0.1.14-j5sbzwhy.mjs";import{CU as s,QS as S,fV as _}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as c,FV as m,GV as T}from"./cli-0.1.14-hjktwgtk.mjs";import{U$ as b,oaa as P}from"./cli-0.1.14-2f7s5xbd.mjs";import{Zla as D}from"./cli-0.1.14-qn4ftczz.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};
@@ -1,2 +0,0 @@
1
- import{X$ as B,_5 as A,d6 as L,oaa as N}from"./cli-0.1.14-2f7s5xbd.mjs";import{wfa as z,zfa as K}from"./cli-0.1.14-2mzb5ath.mjs";import{ama as I,bma as J}from"./cli-0.1.14-qn4ftczz.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=B().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)A(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{N();K();L()});
2
- export{P as mP,Q as nP,R as oP,H as pP,U as qP,V as rP,W as sP};
@@ -1,2 +0,0 @@
1
- import{bma as q}from"./cli-0.1.14-qn4ftczz.mjs";function x(k){j=[k,...j.slice(0,v-1)]}function y(){return j}var j,v=20;var w=q(()=>{j=[]});
2
- export{x as jc,y as kc,w as lc};