@claudiolabs/claudin 0.6.13 → 0.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (889) hide show
  1. package/dist/chunks/AgentTool-0.6.14-xrhjvxqt.mjs +1 -0
  2. package/dist/chunks/App-0.6.14-nfgrt17c.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.14-4394rxge.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.14-k9ycen5r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.14-83erp0by.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.14-yg241yyt.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.14-h284g2h5.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.14-1j52jykj.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.14-qf3p4jd6.mjs +7 -0
  10. package/dist/chunks/Doctor-0.6.14-9tzq86fq.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.6.14-ngnzawn3.mjs +6 -0
  12. package/dist/chunks/Grove-0.6.14-nf1j5862.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.6.14-fcrrth30.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.6.14-pc5rtmwz.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.6.14-f2aqj7b2.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.6.14-y72q04xs.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.6.14-z4c051ds.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.6.14-5v58y8rq.mjs +1 -0
  19. package/dist/chunks/REPL-0.6.14-m1rtq4nq.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.6.14-58nmeyhm.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.6.14-hy43hxaf.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.6.14-5kncw55y.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.6.14-nwfww4kk.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.6.14-z2dt3f1b.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.6.14-pqjfnrw6.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.6.14-0cce0b2h.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.6.14-5yzgt2bj.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.6.14-mw3fqk9q.mjs +1 -0
  29. package/dist/chunks/add-dir-0.6.14-yw3tymgp.mjs +1 -0
  30. package/dist/chunks/agents-0.6.14-kjhjevhb.mjs +3 -0
  31. package/dist/chunks/agents-0.6.14-nv6zbrmz.mjs +110 -0
  32. package/dist/chunks/api-0.6.14-fv7cq859.mjs +1 -0
  33. package/dist/chunks/asciicast-0.6.14-f74vgv8x.mjs +1 -0
  34. package/dist/chunks/assistant-0.6.14-1gccdgy8.mjs +1 -0
  35. package/dist/chunks/auth-0.6.14-f22qzwg0.mjs +1 -0
  36. package/dist/chunks/auth-0.6.14-ngdv38z5.mjs +1 -0
  37. package/dist/chunks/autoMode-0.6.14-fav4fw0r.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.6.14-y0g8h11s.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.6.14-fhkm64fw.mjs +1 -0
  40. package/dist/chunks/branch-0.6.14-yc20c8aq.mjs +4 -0
  41. package/dist/chunks/bridge-0.6.14-7gf7tehd.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.6.14-wt7r4fwp.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.6.14-hztrqdk5.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.6.14-5zr5zygz.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.6.14-18tfrr2m.mjs +1 -0
  46. package/dist/chunks/btw-0.6.14-85qdeh59.mjs +1 -0
  47. package/dist/chunks/buddy-0.6.14-76httc04.mjs +3 -0
  48. package/dist/chunks/cacache-0.6.14-8azhr0nq.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.6.14-baevy66q.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.6.14-gyeh90zg.mjs +4 -0
  51. package/dist/chunks/caches-0.6.14-pjn29fse.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.6.14-eqfeec6n.mjs +1 -0
  53. package/dist/chunks/claudemd-0.6.14-axn98g3r.mjs +1 -0
  54. package/dist/chunks/clear-0.6.14-rqxgps7y.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.6.14-qv4wd3dp.mjs +1 -0
  56. package/dist/chunks/cli-0.6.14-00n6mq14.mjs +2 -0
  57. package/dist/chunks/cli-0.6.14-01m8v54j.mjs +59 -0
  58. package/dist/chunks/cli-0.6.14-02qtx9sh.mjs +2 -0
  59. package/dist/chunks/cli-0.6.14-04m30ved.mjs +2 -0
  60. package/dist/chunks/cli-0.6.14-06eabjt6.mjs +2 -0
  61. package/dist/chunks/cli-0.6.14-0a0ncvrs.mjs +2 -0
  62. package/dist/chunks/cli-0.6.14-0bsm5jn0.mjs +2 -0
  63. package/dist/chunks/cli-0.6.14-0h1s6fwr.mjs +5 -0
  64. package/dist/chunks/cli-0.6.14-0kj0zvsp.mjs +2 -0
  65. package/dist/chunks/cli-0.6.14-0kk6g260.mjs +2 -0
  66. package/dist/chunks/cli-0.6.14-0ycrhwsw.mjs +6 -0
  67. package/dist/chunks/cli-0.6.14-1007zfjt.mjs +2 -0
  68. package/dist/chunks/cli-0.6.14-106t4q8a.mjs +2 -0
  69. package/dist/chunks/cli-0.6.14-11n72npf.mjs +4 -0
  70. package/dist/chunks/cli-0.6.14-198q94mb.mjs +2 -0
  71. package/dist/chunks/cli-0.6.14-1mp3bqqa.mjs +2 -0
  72. package/dist/chunks/cli-0.6.14-1rd9c9zq.mjs +2 -0
  73. package/dist/chunks/cli-0.6.14-1rk4shzr.mjs +4 -0
  74. package/dist/chunks/cli-0.6.14-1wfs4a9y.mjs +34 -0
  75. package/dist/chunks/cli-0.6.14-1whzwvvw.mjs +1 -0
  76. package/dist/chunks/cli-0.6.14-1wqr5xn1.mjs +15 -0
  77. package/dist/chunks/cli-0.6.14-1ys7hxgb.mjs +2 -0
  78. package/dist/chunks/cli-0.6.14-21808d8s.mjs +2 -0
  79. package/dist/chunks/cli-0.6.14-28qb772v.mjs +2 -0
  80. package/dist/chunks/cli-0.6.14-28ysbvb3.mjs +2 -0
  81. package/dist/chunks/cli-0.6.14-2bs3j4p8.mjs +2 -0
  82. package/dist/chunks/cli-0.6.14-2cexfn3w.mjs +2 -0
  83. package/dist/chunks/cli-0.6.14-2hzx798v.mjs +2 -0
  84. package/dist/chunks/cli-0.6.14-2javagj5.mjs +2 -0
  85. package/dist/chunks/cli-0.6.14-2jgq14za.mjs +2 -0
  86. package/dist/chunks/cli-0.6.14-2kj6t828.mjs +2 -0
  87. package/dist/chunks/cli-0.6.14-2nwr8x55.mjs +2 -0
  88. package/dist/chunks/cli-0.6.14-2wn0hvep.mjs +2 -0
  89. package/dist/chunks/cli-0.6.14-3hq9q0xq.mjs +2 -0
  90. package/dist/chunks/cli-0.6.14-41a9k5hf.mjs +2 -0
  91. package/dist/chunks/cli-0.6.14-45cmq90s.mjs +2 -0
  92. package/dist/chunks/cli-0.6.14-45zdemyc.mjs +2 -0
  93. package/dist/chunks/cli-0.6.14-474e3rz7.mjs +2 -0
  94. package/dist/chunks/cli-0.6.14-480kc454.mjs +2 -0
  95. package/dist/chunks/cli-0.6.14-4jf7959w.mjs +2 -0
  96. package/dist/chunks/cli-0.6.14-4txh6031.mjs +2 -0
  97. package/dist/chunks/cli-0.6.14-4x6ppgsd.mjs +2 -0
  98. package/dist/chunks/cli-0.6.14-50e0q2ad.mjs +42 -0
  99. package/dist/chunks/cli-0.6.14-54jnnybp.mjs +8 -0
  100. package/dist/chunks/cli-0.6.14-58f16f68.mjs +2 -0
  101. package/dist/chunks/cli-0.6.14-645ardy7.mjs +2 -0
  102. package/dist/chunks/cli-0.6.14-666a7kck.mjs +2 -0
  103. package/dist/chunks/cli-0.6.14-67c3dtne.mjs +3 -0
  104. package/dist/chunks/cli-0.6.14-697075tj.mjs +133 -0
  105. package/dist/chunks/cli-0.6.14-6aay4k94.mjs +4 -0
  106. package/dist/chunks/cli-0.6.14-6bagc6mm.mjs +3 -0
  107. package/dist/chunks/cli-0.6.14-6ewrcjxp.mjs +2 -0
  108. package/dist/chunks/cli-0.6.14-6fqpmby9.mjs +2 -0
  109. package/dist/chunks/cli-0.6.14-6g4tz2xj.mjs +2 -0
  110. package/dist/chunks/cli-0.6.14-6jfxad27.mjs +2 -0
  111. package/dist/chunks/cli-0.6.14-6qk1tfbt.mjs +3 -0
  112. package/dist/chunks/cli-0.6.14-70gt6pyh.mjs +2 -0
  113. package/dist/chunks/cli-0.6.14-7202pzsa.mjs +2 -0
  114. package/dist/chunks/cli-0.6.14-742r2xc2.mjs +2 -0
  115. package/dist/chunks/cli-0.6.14-7dv884y9.mjs +2 -0
  116. package/dist/chunks/cli-0.6.14-7e258xyd.mjs +2 -0
  117. package/dist/chunks/cli-0.6.14-7r0v4vgc.mjs +4 -0
  118. package/dist/chunks/cli-0.6.14-7v6ykh0a.mjs +3 -0
  119. package/dist/chunks/cli-0.6.14-8br8tabm.mjs +2 -0
  120. package/dist/chunks/cli-0.6.14-8byhrd64.mjs +15 -0
  121. package/dist/chunks/cli-0.6.14-8csp6x7m.mjs +2 -0
  122. package/dist/chunks/cli-0.6.14-8fwb0rxq.mjs +28 -0
  123. package/dist/chunks/cli-0.6.14-8n7jces4.mjs +18 -0
  124. package/dist/chunks/cli-0.6.14-8y4djf48.mjs +2 -0
  125. package/dist/chunks/cli-0.6.14-91q3yxr1.mjs +7 -0
  126. package/dist/chunks/cli-0.6.14-96g9dpcc.mjs +2 -0
  127. package/dist/chunks/cli-0.6.14-99fa5ayv.mjs +2 -0
  128. package/dist/chunks/cli-0.6.14-99js5k5c.mjs +2 -0
  129. package/dist/chunks/cli-0.6.14-9byxqpdv.mjs +2 -0
  130. package/dist/chunks/cli-0.6.14-9cx1z2pw.mjs +2 -0
  131. package/dist/chunks/cli-0.6.14-9hvsvn95.mjs +2 -0
  132. package/dist/chunks/cli-0.6.14-9vb8dn9c.mjs +2 -0
  133. package/dist/chunks/cli-0.6.14-agy54y78.mjs +2 -0
  134. package/dist/chunks/cli-0.6.14-ahr7p5ae.mjs +2 -0
  135. package/dist/chunks/cli-0.6.14-aq75zv9g.mjs +2 -0
  136. package/dist/chunks/cli-0.6.14-atdabjtf.mjs +2 -0
  137. package/dist/chunks/cli-0.6.14-b84drszx.mjs +133 -0
  138. package/dist/chunks/cli-0.6.14-bxkmnd7t.mjs +2 -0
  139. package/dist/chunks/cli-0.6.14-by6pfc25.mjs +2 -0
  140. package/dist/chunks/cli-0.6.14-bypp2d0a.mjs +2 -0
  141. package/dist/chunks/cli-0.6.14-caxxj8jv.mjs +4 -0
  142. package/dist/chunks/cli-0.6.14-cwgdsa6g.mjs +2 -0
  143. package/dist/chunks/cli-0.6.14-czceqk0q.mjs +2 -0
  144. package/dist/chunks/cli-0.6.14-d7hwk3k9.mjs +6 -0
  145. package/dist/chunks/cli-0.6.14-dvpqcja3.mjs +2 -0
  146. package/dist/chunks/cli-0.6.14-dxbqd9pq.mjs +12 -0
  147. package/dist/chunks/cli-0.6.14-e4k2wv6r.mjs +6 -0
  148. package/dist/chunks/cli-0.6.14-ebpc2q9b.mjs +17 -0
  149. package/dist/chunks/cli-0.6.14-edddpydh.mjs +3 -0
  150. package/dist/chunks/cli-0.6.14-ejemjmg6.mjs +2 -0
  151. package/dist/chunks/cli-0.6.14-et3604gq.mjs +39 -0
  152. package/dist/chunks/cli-0.6.14-f2qf9rpv.mjs +2 -0
  153. package/dist/chunks/cli-0.6.14-f5hmncvj.mjs +2 -0
  154. package/dist/chunks/cli-0.6.14-f7cc62eb.mjs +2 -0
  155. package/dist/chunks/cli-0.6.14-f8c4q74r.mjs +2 -0
  156. package/dist/chunks/cli-0.6.14-fde4ab0h.mjs +2 -0
  157. package/dist/chunks/cli-0.6.14-fdqtsv1m.mjs +20 -0
  158. package/dist/chunks/cli-0.6.14-ffm0j5zp.mjs +2 -0
  159. package/dist/chunks/cli-0.6.14-fj1s0rkp.mjs +2 -0
  160. package/dist/chunks/cli-0.6.14-frt92hs0.mjs +9 -0
  161. package/dist/chunks/cli-0.6.14-fz53f5mk.mjs +2 -0
  162. package/dist/chunks/cli-0.6.14-g50h10rn.mjs +2 -0
  163. package/dist/chunks/cli-0.6.14-g6dh1cms.mjs +2 -0
  164. package/dist/chunks/cli-0.6.14-g818hb3n.mjs +67 -0
  165. package/dist/chunks/cli-0.6.14-gva5ynrb.mjs +5 -0
  166. package/dist/chunks/cli-0.6.14-h16dbgdt.mjs +12 -0
  167. package/dist/chunks/cli-0.6.14-h57ntdbv.mjs +4 -0
  168. package/dist/chunks/cli-0.6.14-h7ta197w.mjs +2 -0
  169. package/dist/chunks/cli-0.6.14-h9nhb76w.mjs +24 -0
  170. package/dist/chunks/cli-0.6.14-hphp4crf.mjs +2 -0
  171. package/dist/chunks/cli-0.6.14-hwwpzjf6.mjs +16 -0
  172. package/dist/chunks/cli-0.6.14-jccr8khp.mjs +2 -0
  173. package/dist/chunks/cli-0.6.14-jd419b75.mjs +2 -0
  174. package/dist/chunks/cli-0.6.14-jrza7rgy.mjs +2 -0
  175. package/dist/chunks/cli-0.6.14-jsk6pprz.mjs +3 -0
  176. package/dist/chunks/cli-0.6.14-jt2n5c1v.mjs +2 -0
  177. package/dist/chunks/cli-0.6.14-k0xhn7g8.mjs +2 -0
  178. package/dist/chunks/cli-0.6.14-k2gx4ab3.mjs +2 -0
  179. package/dist/chunks/cli-0.6.14-ka8hq4g3.mjs +2 -0
  180. package/dist/chunks/cli-0.6.14-kf6m200b.mjs +17 -0
  181. package/dist/chunks/cli-0.6.14-kkgqr44y.mjs +2 -0
  182. package/dist/chunks/cli-0.6.14-kwnf1xer.mjs +2 -0
  183. package/dist/chunks/cli-0.6.14-m3bx95g6.mjs +2 -0
  184. package/dist/chunks/cli-0.6.14-m43ydag7.mjs +2 -0
  185. package/dist/chunks/cli-0.6.14-mb6vtzwv.mjs +24 -0
  186. package/dist/chunks/cli-0.6.14-mfccnezj.mjs +21 -0
  187. package/dist/chunks/cli-0.6.14-mg7c9km9.mjs +2 -0
  188. package/dist/chunks/cli-0.6.14-n33bnafx.mjs +2 -0
  189. package/dist/chunks/cli-0.6.14-n3mgs3pe.mjs +2 -0
  190. package/dist/chunks/cli-0.6.14-n83d4d40.mjs +3 -0
  191. package/dist/chunks/cli-0.6.14-nwprj5e9.mjs +2 -0
  192. package/dist/chunks/cli-0.6.14-nynda58b.mjs +45 -0
  193. package/dist/chunks/cli-0.6.14-nz0nygqh.mjs +18 -0
  194. package/dist/chunks/cli-0.6.14-p0w8rth4.mjs +10 -0
  195. package/dist/chunks/cli-0.6.14-p1b2fr7h.mjs +15 -0
  196. package/dist/chunks/cli-0.6.14-p1tqmfbz.mjs +2 -0
  197. package/dist/chunks/cli-0.6.14-p380n7ja.mjs +12 -0
  198. package/dist/chunks/cli-0.6.14-p722jmps.mjs +2 -0
  199. package/dist/chunks/cli-0.6.14-p9g6q20d.mjs +2 -0
  200. package/dist/chunks/cli-0.6.14-q1pvwt5p.mjs +3 -0
  201. package/dist/chunks/cli-0.6.14-q565grvj.mjs +25 -0
  202. package/dist/chunks/cli-0.6.14-q9jdrh1d.mjs +2 -0
  203. package/dist/chunks/cli-0.6.14-qc8cmr0r.mjs +3 -0
  204. package/dist/chunks/cli-0.6.14-qx9bvx4j.mjs +2 -0
  205. package/dist/chunks/cli-0.6.14-qy6pdc22.mjs +3 -0
  206. package/dist/chunks/cli-0.6.14-qygdwtnt.mjs +2 -0
  207. package/dist/chunks/cli-0.6.14-qysasn12.mjs +2 -0
  208. package/dist/chunks/cli-0.6.14-qzya6w20.mjs +2 -0
  209. package/dist/chunks/cli-0.6.14-rmxstabz.mjs +58 -0
  210. package/dist/chunks/cli-0.6.14-rn7sy805.mjs +2 -0
  211. package/dist/chunks/cli-0.6.14-s1dz4xc5.mjs +2 -0
  212. package/dist/chunks/cli-0.6.14-sbxb46et.mjs +2 -0
  213. package/dist/chunks/cli-0.6.14-sfan5yg2.mjs +5420 -0
  214. package/dist/chunks/cli-0.6.14-sydjzmja.mjs +2 -0
  215. package/dist/chunks/cli-0.6.14-t0h283eb.mjs +2 -0
  216. package/dist/chunks/cli-0.6.14-t2qdx2z0.mjs +2 -0
  217. package/dist/chunks/cli-0.6.14-t88fpm4q.mjs +2 -0
  218. package/dist/chunks/cli-0.6.14-tag8j147.mjs +2 -0
  219. package/dist/chunks/cli-0.6.14-tdxev2bd.mjs +2 -0
  220. package/dist/chunks/cli-0.6.14-tme0rm4s.mjs +2 -0
  221. package/dist/chunks/cli-0.6.14-tsj8ceqz.mjs +4 -0
  222. package/dist/chunks/cli-0.6.14-twrb9ymv.mjs +2 -0
  223. package/dist/chunks/cli-0.6.14-v3f1f3sz.mjs +2 -0
  224. package/dist/chunks/cli-0.6.14-vatc2ew2.mjs +6 -0
  225. package/dist/chunks/cli-0.6.14-vcc877tq.mjs +5 -0
  226. package/dist/chunks/cli-0.6.14-vdt75vby.mjs +4 -0
  227. package/dist/chunks/cli-0.6.14-vtvsgpwy.mjs +2 -0
  228. package/dist/chunks/cli-0.6.14-wadqcwj7.mjs +4 -0
  229. package/dist/chunks/cli-0.6.14-wat8851e.mjs +2 -0
  230. package/dist/chunks/cli-0.6.14-wgfwkbbx.mjs +2 -0
  231. package/dist/chunks/cli-0.6.14-wmh9wt8e.mjs +2 -0
  232. package/dist/chunks/cli-0.6.14-wnqatmtw.mjs +2 -0
  233. package/dist/chunks/cli-0.6.14-x5c5tsdg.mjs +50 -0
  234. package/dist/chunks/cli-0.6.14-x5v6ap8c.mjs +2 -0
  235. package/dist/chunks/cli-0.6.14-x95b1v8n.mjs +2 -0
  236. package/dist/chunks/cli-0.6.14-xkdca0es.mjs +4 -0
  237. package/dist/chunks/cli-0.6.14-y6edg2da.mjs +2 -0
  238. package/dist/chunks/cli-0.6.14-y6jp1vbw.mjs +2 -0
  239. package/dist/chunks/cli-0.6.14-yqgjsp01.mjs +2 -0
  240. package/dist/chunks/cli-0.6.14-yzehn0ck.mjs +3 -0
  241. package/dist/chunks/cli-0.6.14-z0d41c6a.mjs +3 -0
  242. package/dist/chunks/cli-0.6.14-z2f9x7q6.mjs +2 -0
  243. package/dist/chunks/cli-0.6.14-zaq2td5m.mjs +2 -0
  244. package/dist/chunks/cli-0.6.14-zbg4rtam.mjs +2 -0
  245. package/dist/chunks/cli-0.6.14-zcj7h5kt.mjs +2 -0
  246. package/dist/chunks/cli-0.6.14-zdxkyktd.mjs +2 -0
  247. package/dist/chunks/cli-0.6.14-zdzmxpyn.mjs +2 -0
  248. package/dist/chunks/cli-0.6.14-zkvgknj2.mjs +2 -0
  249. package/dist/chunks/cli-0.6.14-zqc493f5.mjs +2 -0
  250. package/dist/chunks/cli-0.6.14-zs6qf39k.mjs +193 -0
  251. package/dist/chunks/cli-0.6.14-zz49ny6n.mjs +3 -0
  252. package/dist/chunks/client-0.6.14-a37v2hkc.mjs +1 -0
  253. package/dist/chunks/color-0.6.14-bzg7gay9.mjs +1 -0
  254. package/dist/chunks/compact-0.6.14-tc6cp8fp.mjs +3 -0
  255. package/dist/chunks/config-0.6.14-3wmc0969.mjs +1 -0
  256. package/dist/chunks/config-0.6.14-b68r8gag.mjs +1 -0
  257. package/dist/chunks/constants-0.6.14-v7badbs1.mjs +1 -0
  258. package/dist/chunks/context-0.6.14-xp245pp8.mjs +1 -0
  259. package/dist/chunks/context-noninteractive-0.6.14-hd0hk9h9.mjs +1 -0
  260. package/dist/chunks/conversation-0.6.14-891b08cf.mjs +1 -0
  261. package/dist/chunks/copilotHeaders-0.6.14-b9a2v65h.mjs +1 -0
  262. package/dist/chunks/copy-0.6.14-azcjvt9f.mjs +9 -0
  263. package/dist/chunks/cost-0.6.14-f4y2w5f0.mjs +1 -0
  264. package/dist/chunks/createSSHSession-0.6.14-8vvxmzhm.mjs +1 -0
  265. package/dist/chunks/createSession-0.6.14-9mbn7pxm.mjs +1 -0
  266. package/dist/chunks/debug-0.6.14-72pxzjer.mjs +1 -0
  267. package/dist/chunks/defaultActionDeps-0.6.14-576scmq8.mjs +1367 -0
  268. package/dist/chunks/desktop-0.6.14-hb7yxjq0.mjs +1 -0
  269. package/dist/chunks/detectRepository-0.6.14-y7mnfkm3.mjs +1 -0
  270. package/dist/chunks/detection-0.6.14-rfe82fdp.mjs +1 -0
  271. package/dist/chunks/diff-0.6.14-z24ty79x.mjs +1 -0
  272. package/dist/chunks/doctor-0.6.14-t7aa116a.mjs +1 -0
  273. package/dist/chunks/doctorDiagnostic-0.6.14-3pvysh1e.mjs +1 -0
  274. package/dist/chunks/earlyInput-0.6.14-4sras35a.mjs +1 -0
  275. package/dist/chunks/effort-0.6.14-6km9yng9.mjs +10 -0
  276. package/dist/chunks/envLessBridgeConfig-0.6.14-g7kb3d4z.mjs +1 -0
  277. package/dist/chunks/envUtils-0.6.14-4hmq0b5a.mjs +1 -0
  278. package/dist/chunks/environmentSelection-0.6.14-yf31rwvq.mjs +1 -0
  279. package/dist/chunks/environments-0.6.14-npzg2j62.mjs +1 -0
  280. package/dist/chunks/errors-0.6.14-86nj6401.mjs +1 -0
  281. package/dist/chunks/exampleCommands-0.6.14-n1qk8rhj.mjs +1 -0
  282. package/dist/chunks/exit-0.6.14-5za2fg93.mjs +1 -0
  283. package/dist/chunks/explorer-0.6.14-hexd7b76.mjs +1 -0
  284. package/dist/chunks/export-0.6.14-1v7e95q9.mjs +2 -0
  285. package/dist/chunks/extra-usage-0.6.14-gx6570zn.mjs +1 -0
  286. package/dist/chunks/extra-usage-noninteractive-0.6.14-vdwdwnz9.mjs +1 -0
  287. package/dist/chunks/fast-0.6.14-pnkczy1j.mjs +1 -0
  288. package/dist/chunks/feedback-0.6.14-gtmr1g2q.mjs +14 -0
  289. package/dist/chunks/firstPartyEventLogger-0.6.14-t9nfzshv.mjs +1 -0
  290. package/dist/chunks/git-0.6.14-f74k03xt.mjs +1 -0
  291. package/dist/chunks/githubModelsCredentials-0.6.14-ez3p2wg3.mjs +1 -0
  292. package/dist/chunks/goal-0.6.14-5d0ya1j2.mjs +4 -0
  293. package/dist/chunks/grove-0.6.14-sxnhb95y.mjs +1 -0
  294. package/dist/chunks/growthbook-0.6.14-gge4tqg1.mjs +1 -0
  295. package/dist/chunks/headless-0.6.14-b2wxjfrs.mjs +2 -0
  296. package/dist/chunks/heapdump-0.6.14-mms7s76k.mjs +6 -0
  297. package/dist/chunks/help-0.6.14-pqn4adtv.mjs +1 -0
  298. package/dist/chunks/hookChains-0.6.14-pqje8ftz.mjs +3 -0
  299. package/dist/chunks/hooks-0.6.14-ctdgjqej.mjs +1 -0
  300. package/dist/chunks/hooks-0.6.14-m71syqtm.mjs +79 -0
  301. package/dist/chunks/ide-0.6.14-0jxzgh55.mjs +3 -0
  302. package/dist/chunks/image-processor-napi-0.6.14-q7t6pn66.mjs +1 -0
  303. package/dist/chunks/inboundAttachments-0.6.14-q86263h2.mjs +1 -0
  304. package/dist/chunks/index-0.6.14-0cq48avx.mjs +1 -0
  305. package/dist/chunks/index-0.6.14-1mbqhpsc.mjs +1 -0
  306. package/dist/chunks/index-0.6.14-2862bv8a.mjs +2 -0
  307. package/dist/chunks/index-0.6.14-30t6majr.mjs +9 -0
  308. package/dist/chunks/index-0.6.14-3bzm9qc7.mjs +1 -0
  309. package/dist/chunks/index-0.6.14-61adtkwy.mjs +1 -0
  310. package/dist/chunks/index-0.6.14-6wed8pvs.mjs +1 -0
  311. package/dist/chunks/index-0.6.14-7s3sge6q.mjs +1 -0
  312. package/dist/chunks/index-0.6.14-8zzk0q1e.mjs +5 -0
  313. package/dist/chunks/index-0.6.14-9f0htcmg.mjs +1 -0
  314. package/dist/chunks/index-0.6.14-9rp3a2yc.mjs +1 -0
  315. package/dist/chunks/index-0.6.14-b8e5bnmy.mjs +1 -0
  316. package/dist/chunks/index-0.6.14-cjbhcv9x.mjs +1 -0
  317. package/dist/chunks/index-0.6.14-dstgm3mq.mjs +1 -0
  318. package/dist/chunks/index-0.6.14-grrxerr7.mjs +30 -0
  319. package/dist/chunks/index-0.6.14-hzpvqqxz.mjs +1 -0
  320. package/dist/chunks/index-0.6.14-ma34hgd2.mjs +1 -0
  321. package/dist/chunks/index-0.6.14-pe5f6erk.mjs +1 -0
  322. package/dist/chunks/index-0.6.14-q7ycrfky.mjs +1 -0
  323. package/dist/chunks/index-0.6.14-tj7zcx0j.mjs +2 -0
  324. package/dist/chunks/index-0.6.14-vsmnqyw7.mjs +9 -0
  325. package/dist/chunks/index-0.6.14-wjwtw877.mjs +1 -0
  326. package/dist/chunks/index-0.6.14-xr4ygqd8.mjs +1 -0
  327. package/dist/chunks/init-0.6.14-xsyn9ype.mjs +1 -0
  328. package/dist/chunks/initReplBridge-0.6.14-4xf599ff.mjs +1 -0
  329. package/dist/chunks/ink-0.6.14-nmt32hk2.mjs +1 -0
  330. package/dist/chunks/insights-0.6.14-19xzs05z.mjs +870 -0
  331. package/dist/chunks/install-0.6.14-vqtax3vj.mjs +1 -0
  332. package/dist/chunks/install-github-app-0.6.14-763gk6yh.mjs +149 -0
  333. package/dist/chunks/install-slack-app-0.6.14-errj5jgt.mjs +1 -0
  334. package/dist/chunks/instrumentation-0.6.14-5hpeqy3p.mjs +1 -0
  335. package/dist/chunks/interactiveHelpers-0.6.14-b57szzcn.mjs +1 -0
  336. package/dist/chunks/keybindings-0.6.14-xrfkf4ee.mjs +2 -0
  337. package/dist/chunks/knowledge-0.6.14-afa9zk0n.mjs +2 -0
  338. package/dist/chunks/latestVersionCache-0.6.14-srzyzbck.mjs +1 -0
  339. package/dist/chunks/loadAgentsDir-0.6.14-fa11st0a.mjs +1 -0
  340. package/dist/chunks/loadPluginHooks-0.6.14-pxqawxmk.mjs +1 -0
  341. package/dist/chunks/loadPluginHooks-0.6.14-q996y4ys.mjs +1 -0
  342. package/dist/chunks/log-0.6.14-r5g98evz.mjs +1 -0
  343. package/dist/chunks/main-0.6.14-t80arejb.mjs +1 -0
  344. package/dist/chunks/managedEnv-0.6.14-c69sc493.mjs +1 -0
  345. package/dist/chunks/mcp-0.6.14-kgz52fqg.mjs +17 -0
  346. package/dist/chunks/mcp-0.6.14-rp59xhps.mjs +1 -0
  347. package/dist/chunks/mcp-0.6.14-tsyhv9kh.mjs +4 -0
  348. package/dist/chunks/mcpb-0.6.14-t3tjab75.mjs +1 -0
  349. package/dist/chunks/memory-0.6.14-m03pztgw.mjs +3 -0
  350. package/dist/chunks/model-0.6.14-jdqn7n40.mjs +1 -0
  351. package/dist/chunks/model-0.6.14-qv4hzczr.mjs +2 -0
  352. package/dist/chunks/node-0.6.14-hjvhe7hn.mjs +12 -0
  353. package/dist/chunks/oauth-0.6.14-wy6c29gv.mjs +1 -0
  354. package/dist/chunks/openaiShim-0.6.14-da1kj5v4.mjs +14 -0
  355. package/dist/chunks/output-style-0.6.14-t6v2gb8n.mjs +1 -0
  356. package/dist/chunks/package-FMOR3ELU-0.6.14-emy5wf3r.mjs +1 -0
  357. package/dist/chunks/parseConnectUrl-0.6.14-3vqsr0kx.mjs +1 -0
  358. package/dist/chunks/parser-0.6.14-1sqra6j7.mjs +1 -0
  359. package/dist/chunks/passes-0.6.14-myy267ws.mjs +1 -0
  360. package/dist/chunks/permissions-0.6.14-3z8pbz2g.mjs +3 -0
  361. package/dist/chunks/permissions-0.6.14-79t7ebq2.mjs +1 -0
  362. package/dist/chunks/plan-0.6.14-y045axp0.mjs +1 -0
  363. package/dist/chunks/plist-0.6.14-ab99byjh.mjs +1 -0
  364. package/dist/chunks/plugin-0.6.14-qz01xk73.mjs +29 -0
  365. package/dist/chunks/pluginStartupCheck-0.6.14-qzs78ynj.mjs +1 -0
  366. package/dist/chunks/plugins-0.6.14-aswnzxep.mjs +9 -0
  367. package/dist/chunks/preActionHook-0.6.14-1d096j7q.mjs +2 -0
  368. package/dist/chunks/print-0.6.14-ar39mndx.mjs +57 -0
  369. package/dist/chunks/privacy-settings-0.6.14-87dkr1af.mjs +1 -0
  370. package/dist/chunks/process-0.6.14-c0akc420.mjs +1 -0
  371. package/dist/chunks/processBashCommand-0.6.14-es5xezck.mjs +1 -0
  372. package/dist/chunks/processSlashCommand-0.6.14-gqdsehy1.mjs +9 -0
  373. package/dist/chunks/prompt-0.6.14-9ry1h9sp.mjs +1 -0
  374. package/dist/chunks/prompt-0.6.14-tjm76x4x.mjs +1 -0
  375. package/dist/chunks/prompts-0.6.14-jvcj7380.mjs +1 -0
  376. package/dist/chunks/protocolHandler-0.6.14-ef5v3zyh.mjs +13 -0
  377. package/dist/chunks/provider-0.6.14-eey11cp2.mjs +2 -0
  378. package/dist/chunks/providerProfiles-0.6.14-svsc9dz2.mjs +1 -0
  379. package/dist/chunks/providerValidation-0.6.14-gnv5n4kb.mjs +6 -0
  380. package/dist/chunks/rate-limit-options-0.6.14-bmz8ww7q.mjs +1 -0
  381. package/dist/chunks/registerSubcommands-0.6.14-fywkqked.mjs +34 -0
  382. package/dist/chunks/registry-0.6.14-kphmp02w.mjs +1 -0
  383. package/dist/chunks/release-notes-0.6.14-3avcrn6e.mjs +5 -0
  384. package/dist/chunks/reload-plugins-0.6.14-gfg76jqa.mjs +2 -0
  385. package/dist/chunks/remote-env-0.6.14-rsbq7bet.mjs +1 -0
  386. package/dist/chunks/remoteBridgeCore-0.6.14-qp6qx722.mjs +1 -0
  387. package/dist/chunks/remoteSession-0.6.14-7ms8beek.mjs +1 -0
  388. package/dist/chunks/rename-0.6.14-8gj3cr0t.mjs +1 -0
  389. package/dist/chunks/replBridgeHandle-0.6.14-e4vhwyxz.mjs +1 -0
  390. package/dist/chunks/replLauncher-0.6.14-n2w77h31.mjs +1 -0
  391. package/dist/chunks/resume-0.6.14-kq4j9a02.mjs +2 -0
  392. package/dist/chunks/rewind-0.6.14-t4kjyzca.mjs +1 -0
  393. package/dist/chunks/rootOptions-0.6.14-m544z408.mjs +1 -0
  394. package/dist/chunks/sandbox-adapter-0.6.14-1gefp492.mjs +1 -0
  395. package/dist/chunks/sandbox-toggle-0.6.14-rrm1sx8h.mjs +1 -0
  396. package/dist/chunks/session-0.6.14-c4fxdqq4.mjs +2 -0
  397. package/dist/chunks/sessionDiscovery-0.6.14-xa35ttn0.mjs +1 -0
  398. package/dist/chunks/sessionFileAccessHooks-0.6.14-sadh6z4m.mjs +1 -0
  399. package/dist/chunks/sessionStorage-0.6.14-f5hcr3w9.mjs +1 -0
  400. package/dist/chunks/settings-0.6.14-kadpzkck.mjs +1 -0
  401. package/dist/chunks/setup-0.6.14-e9fxzm03.mjs +5 -0
  402. package/dist/chunks/sinks-0.6.14-6ykwkv40.mjs +1 -0
  403. package/dist/chunks/skills-0.6.14-txsmfaj3.mjs +1 -0
  404. package/dist/chunks/startupProfiler-0.6.14-3v8z482z.mjs +1 -0
  405. package/dist/chunks/startupUpdateCheck-0.6.14-41zkqddn.mjs +1 -0
  406. package/dist/chunks/state-0.6.14-4n3ak598.mjs +1 -0
  407. package/dist/chunks/stats-0.6.14-ea3435fh.mjs +6 -0
  408. package/dist/chunks/status-0.6.14-phzcwc8s.mjs +1 -0
  409. package/dist/chunks/stickers-0.6.14-6qww40c0.mjs +1 -0
  410. package/dist/chunks/subprocessEnv-0.6.14-4t9m3vaq.mjs +1 -0
  411. package/dist/chunks/tasks-0.6.14-1jwxz28f.mjs +1 -0
  412. package/dist/chunks/teamHelpers-0.6.14-vyhakypg.mjs +1 -0
  413. package/dist/chunks/teammateModeSnapshot-0.6.14-12r7yt67.mjs +1 -0
  414. package/dist/chunks/teleport-0.6.14-55jrt6fb.mjs +1 -0
  415. package/dist/chunks/terminalSetup-0.6.14-d79aqeyc.mjs +1 -0
  416. package/dist/chunks/theme-0.6.14-4859e0jg.mjs +1 -0
  417. package/dist/chunks/thinkback-0.6.14-5hxy4f53.mjs +1 -0
  418. package/dist/chunks/thinkback-play-0.6.14-rcstrvmt.mjs +1 -0
  419. package/dist/chunks/toolPool-0.6.14-dgws7ran.mjs +1 -0
  420. package/dist/chunks/toolSearch-0.6.14-wy210e1q.mjs +1 -0
  421. package/dist/chunks/tools-0.6.14-4brh5a3k.mjs +1 -0
  422. package/dist/chunks/trustedDevice-0.6.14-bvc0mt34.mjs +1 -0
  423. package/dist/chunks/turndown.cjs-0.6.14-wq5f2s7f.mjs +69 -0
  424. package/dist/chunks/types-0.6.14-zbh1a4yy.mjs +1 -0
  425. package/dist/chunks/ultrareviewCommand-0.6.14-pjr2ry7s.mjs +4 -0
  426. package/dist/chunks/update-0.6.14-gh8hbk2s.mjs +86 -0
  427. package/dist/chunks/upgrade-0.6.14-p84xqcx2.mjs +1 -0
  428. package/dist/chunks/upload-0.6.14-n7wr7bpj.mjs +7 -0
  429. package/dist/chunks/upstreamproxy-0.6.14-dfrtndvx.mjs +14 -0
  430. package/dist/chunks/url-handler-napi-0.6.14-dxy70q48.mjs +1 -0
  431. package/dist/chunks/usage-0.6.14-xxq4jwr7.mjs +1 -0
  432. package/dist/chunks/util-0.6.14-8cvteh10.mjs +1 -0
  433. package/dist/chunks/utils-0.6.14-310awtc9.mjs +1 -0
  434. package/dist/chunks/vim-0.6.14-j69d6qse.mjs +1 -0
  435. package/dist/chunks/watcher-0.6.14-5getwwq0.mjs +1 -0
  436. package/dist/chunks/wiki-0.6.14-d818xacs.mjs +132 -0
  437. package/dist/chunks/worktree-0.6.14-jfb07r4d.mjs +1 -0
  438. package/dist/chunks/worktreeModeEnabled-0.6.14-25qk5mhk.mjs +1 -0
  439. package/dist/chunks/wrapper-0.6.14-ecgg0wpw.mjs +7 -0
  440. package/dist/claudin-vscode.vsix +0 -0
  441. package/dist/cli.mjs +2 -2
  442. package/package.json +1 -1
  443. package/dist/chunks/AgentTool-0.6.13-372t6jvm.mjs +0 -1
  444. package/dist/chunks/App-0.6.13-qvfyfba9.mjs +0 -1
  445. package/dist/chunks/ApproveApiKey-0.6.13-6nmfyyev.mjs +0 -1
  446. package/dist/chunks/AssistantSessionChooser-0.6.13-b6yfhres.mjs +0 -1
  447. package/dist/chunks/AutoModeOptInDialog-0.6.13-dyqtw95c.mjs +0 -1
  448. package/dist/chunks/BypassPermissionsModeDialog-0.6.13-5pgva0rj.mjs +0 -1
  449. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.13-waw1tn55.mjs +0 -1
  450. package/dist/chunks/ConsoleOAuthFlow-0.6.13-hjwa1fbn.mjs +0 -1
  451. package/dist/chunks/DiffDialog-0.6.13-dk52swdy.mjs +0 -7
  452. package/dist/chunks/Doctor-0.6.13-1a58bmer.mjs +0 -1
  453. package/dist/chunks/ExplorerDialog-0.6.13-2jsr1kdp.mjs +0 -6
  454. package/dist/chunks/Grove-0.6.13-ndwmcy2m.mjs +0 -1
  455. package/dist/chunks/ITermBackend-0.6.13-nf00ba9t.mjs +0 -1
  456. package/dist/chunks/InvalidConfigDialog-0.6.13-5tjcywmj.mjs +0 -1
  457. package/dist/chunks/InvalidSettingsDialog-0.6.13-hfvttszy.mjs +0 -1
  458. package/dist/chunks/MigrationDialog-0.6.13-8kny4cnv.mjs +0 -1
  459. package/dist/chunks/Onboarding-0.6.13-kq8ksp1e.mjs +0 -1
  460. package/dist/chunks/ProviderManager-0.6.13-qk3hqkes.mjs +0 -1
  461. package/dist/chunks/REPL-0.6.13-61en5qve.mjs +0 -1
  462. package/dist/chunks/ResumeConversation-0.6.13-3fqxexjm.mjs +0 -1
  463. package/dist/chunks/SnapshotUpdateDialog-0.6.13-62cd6tth.mjs +0 -1
  464. package/dist/chunks/TeleportProgress-0.6.13-15xb363h.mjs +0 -1
  465. package/dist/chunks/TeleportRepoMismatchDialog-0.6.13-dsedgexe.mjs +0 -1
  466. package/dist/chunks/TeleportResumeWrapper-0.6.13-9j8hn55r.mjs +0 -1
  467. package/dist/chunks/TmuxBackend-0.6.13-8vwnn7q5.mjs +0 -9
  468. package/dist/chunks/ToolSearchTool-0.6.13-zh1xxj19.mjs +0 -1
  469. package/dist/chunks/TrustDialog-0.6.13-bxhrfq4g.mjs +0 -1
  470. package/dist/chunks/activeProvider-0.6.13-czzs1epn.mjs +0 -1
  471. package/dist/chunks/add-dir-0.6.13-j5n5k274.mjs +0 -1
  472. package/dist/chunks/agents-0.6.13-0m0b4n5a.mjs +0 -3
  473. package/dist/chunks/agents-0.6.13-v7mba2z1.mjs +0 -110
  474. package/dist/chunks/api-0.6.13-1s3mg09p.mjs +0 -1
  475. package/dist/chunks/asciicast-0.6.13-3mbwg05w.mjs +0 -1
  476. package/dist/chunks/assistant-0.6.13-bg17bbaf.mjs +0 -1
  477. package/dist/chunks/auth-0.6.13-586trvnj.mjs +0 -1
  478. package/dist/chunks/auth-0.6.13-jkzs3jr4.mjs +0 -1
  479. package/dist/chunks/autoMode-0.6.13-9sxgpw8z.mjs +0 -48
  480. package/dist/chunks/autoUpdater-0.6.13-0rtsfmyq.mjs +0 -1
  481. package/dist/chunks/backgroundHousekeeping-0.6.13-dfn3gpk2.mjs +0 -1
  482. package/dist/chunks/branch-0.6.13-nncg27cq.mjs +0 -4
  483. package/dist/chunks/bridge-0.6.13-p1vtbdeq.mjs +0 -2
  484. package/dist/chunks/bridgeConfig-0.6.13-99p1h4gg.mjs +0 -1
  485. package/dist/chunks/bridgeEnabled-0.6.13-jxfgwjry.mjs +0 -1
  486. package/dist/chunks/bridgeMain-0.6.13-fthkw7s3.mjs +0 -88
  487. package/dist/chunks/bridgePointer-0.6.13-zs37h6xx.mjs +0 -1
  488. package/dist/chunks/btw-0.6.13-hhztcxbv.mjs +0 -1
  489. package/dist/chunks/buddy-0.6.13-0j9feqm5.mjs +0 -3
  490. package/dist/chunks/cacache-0.6.13-kqpn2432.mjs +0 -1
  491. package/dist/chunks/cache-probe-0.6.13-d98620ds.mjs +0 -21
  492. package/dist/chunks/cacheStats-0.6.13-yktwg0rm.mjs +0 -4
  493. package/dist/chunks/caches-0.6.13-5s0az6ex.mjs +0 -1
  494. package/dist/chunks/claudeDesktop-0.6.13-ecqnvr2j.mjs +0 -1
  495. package/dist/chunks/claudemd-0.6.13-yae0af2s.mjs +0 -1
  496. package/dist/chunks/clear-0.6.13-nqy8a9yn.mjs +0 -1
  497. package/dist/chunks/clearTerminal-0.6.13-72xf6n5m.mjs +0 -1
  498. package/dist/chunks/cli-0.6.13-004msxtb.mjs +0 -2
  499. package/dist/chunks/cli-0.6.13-03nk0m3d.mjs +0 -24
  500. package/dist/chunks/cli-0.6.13-05yxsqtw.mjs +0 -2
  501. package/dist/chunks/cli-0.6.13-0602v59h.mjs +0 -2
  502. package/dist/chunks/cli-0.6.13-0fqa9efa.mjs +0 -2
  503. package/dist/chunks/cli-0.6.13-0k53jyws.mjs +0 -2
  504. package/dist/chunks/cli-0.6.13-0q2ceerc.mjs +0 -2
  505. package/dist/chunks/cli-0.6.13-0xg54q0q.mjs +0 -3
  506. package/dist/chunks/cli-0.6.13-15925v1q.mjs +0 -2
  507. package/dist/chunks/cli-0.6.13-17fmkp6v.mjs +0 -3
  508. package/dist/chunks/cli-0.6.13-1ax2v1qb.mjs +0 -24
  509. package/dist/chunks/cli-0.6.13-1hj4de9z.mjs +0 -18
  510. package/dist/chunks/cli-0.6.13-1jhzkjnr.mjs +0 -2
  511. package/dist/chunks/cli-0.6.13-1pb6yp4f.mjs +0 -2
  512. package/dist/chunks/cli-0.6.13-27ey3345.mjs +0 -17
  513. package/dist/chunks/cli-0.6.13-2999v1f0.mjs +0 -5
  514. package/dist/chunks/cli-0.6.13-2d7gmnka.mjs +0 -2
  515. package/dist/chunks/cli-0.6.13-2k50jqzf.mjs +0 -2
  516. package/dist/chunks/cli-0.6.13-2s33ahe4.mjs +0 -5420
  517. package/dist/chunks/cli-0.6.13-31zhsxsz.mjs +0 -2
  518. package/dist/chunks/cli-0.6.13-35rszksn.mjs +0 -2
  519. package/dist/chunks/cli-0.6.13-3812a7q8.mjs +0 -34
  520. package/dist/chunks/cli-0.6.13-3c8w16xp.mjs +0 -3
  521. package/dist/chunks/cli-0.6.13-3w1r3c0v.mjs +0 -2
  522. package/dist/chunks/cli-0.6.13-45x35nyh.mjs +0 -2
  523. package/dist/chunks/cli-0.6.13-46hqxeb7.mjs +0 -2
  524. package/dist/chunks/cli-0.6.13-4hknb5dd.mjs +0 -2
  525. package/dist/chunks/cli-0.6.13-50wr9g3w.mjs +0 -2
  526. package/dist/chunks/cli-0.6.13-56b3061c.mjs +0 -18
  527. package/dist/chunks/cli-0.6.13-56j5q7d2.mjs +0 -42
  528. package/dist/chunks/cli-0.6.13-5gh7ptbm.mjs +0 -4
  529. package/dist/chunks/cli-0.6.13-5t9gd5mv.mjs +0 -2
  530. package/dist/chunks/cli-0.6.13-643zsnv9.mjs +0 -2
  531. package/dist/chunks/cli-0.6.13-667dsr1w.mjs +0 -2
  532. package/dist/chunks/cli-0.6.13-77hs0qtg.mjs +0 -2
  533. package/dist/chunks/cli-0.6.13-79mne5jt.mjs +0 -2
  534. package/dist/chunks/cli-0.6.13-7c9n56f7.mjs +0 -2
  535. package/dist/chunks/cli-0.6.13-7ga8d4j1.mjs +0 -2
  536. package/dist/chunks/cli-0.6.13-7pva2mmr.mjs +0 -3
  537. package/dist/chunks/cli-0.6.13-7vd0kdw5.mjs +0 -2
  538. package/dist/chunks/cli-0.6.13-82datd4w.mjs +0 -2
  539. package/dist/chunks/cli-0.6.13-86pqnjyd.mjs +0 -2
  540. package/dist/chunks/cli-0.6.13-881js45c.mjs +0 -2
  541. package/dist/chunks/cli-0.6.13-8t0ttrk7.mjs +0 -2
  542. package/dist/chunks/cli-0.6.13-8ws8a2xy.mjs +0 -3
  543. package/dist/chunks/cli-0.6.13-949racwr.mjs +0 -7
  544. package/dist/chunks/cli-0.6.13-94nwan0d.mjs +0 -2
  545. package/dist/chunks/cli-0.6.13-97cs7c2r.mjs +0 -2
  546. package/dist/chunks/cli-0.6.13-9h9fp7zs.mjs +0 -2
  547. package/dist/chunks/cli-0.6.13-9wktvaax.mjs +0 -50
  548. package/dist/chunks/cli-0.6.13-ac8nyfp1.mjs +0 -58
  549. package/dist/chunks/cli-0.6.13-aekttw5a.mjs +0 -2
  550. package/dist/chunks/cli-0.6.13-ajc8203j.mjs +0 -2
  551. package/dist/chunks/cli-0.6.13-axsf5w7q.mjs +0 -2
  552. package/dist/chunks/cli-0.6.13-aztg2ca1.mjs +0 -2
  553. package/dist/chunks/cli-0.6.13-b3zncvcq.mjs +0 -16
  554. package/dist/chunks/cli-0.6.13-b55baxv4.mjs +0 -2
  555. package/dist/chunks/cli-0.6.13-bthkgbv5.mjs +0 -2
  556. package/dist/chunks/cli-0.6.13-c3452432.mjs +0 -5
  557. package/dist/chunks/cli-0.6.13-cc118njq.mjs +0 -2
  558. package/dist/chunks/cli-0.6.13-cc2eb8bm.mjs +0 -2
  559. package/dist/chunks/cli-0.6.13-cwm0q4km.mjs +0 -2
  560. package/dist/chunks/cli-0.6.13-cxnnt8b1.mjs +0 -2
  561. package/dist/chunks/cli-0.6.13-d2rfg5mp.mjs +0 -2
  562. package/dist/chunks/cli-0.6.13-da6fhpes.mjs +0 -133
  563. package/dist/chunks/cli-0.6.13-dada1afp.mjs +0 -6
  564. package/dist/chunks/cli-0.6.13-dayy1aa4.mjs +0 -2
  565. package/dist/chunks/cli-0.6.13-dh1skxhh.mjs +0 -2
  566. package/dist/chunks/cli-0.6.13-dvfmqzm9.mjs +0 -2
  567. package/dist/chunks/cli-0.6.13-e1t2dda2.mjs +0 -2
  568. package/dist/chunks/cli-0.6.13-ea52zrzt.mjs +0 -2
  569. package/dist/chunks/cli-0.6.13-eaev9cr7.mjs +0 -2
  570. package/dist/chunks/cli-0.6.13-erzcm5hv.mjs +0 -2
  571. package/dist/chunks/cli-0.6.13-esv4y00y.mjs +0 -2
  572. package/dist/chunks/cli-0.6.13-etytm730.mjs +0 -2
  573. package/dist/chunks/cli-0.6.13-ew05qjsa.mjs +0 -4
  574. package/dist/chunks/cli-0.6.13-f58v0vk7.mjs +0 -6
  575. package/dist/chunks/cli-0.6.13-f67v536f.mjs +0 -59
  576. package/dist/chunks/cli-0.6.13-f6qwz2h0.mjs +0 -2
  577. package/dist/chunks/cli-0.6.13-fkaxh655.mjs +0 -2
  578. package/dist/chunks/cli-0.6.13-fspszw8w.mjs +0 -2
  579. package/dist/chunks/cli-0.6.13-fw6m0fbm.mjs +0 -10
  580. package/dist/chunks/cli-0.6.13-fxj1zytn.mjs +0 -2
  581. package/dist/chunks/cli-0.6.13-fy3vgkpz.mjs +0 -2
  582. package/dist/chunks/cli-0.6.13-fzzdrhms.mjs +0 -4
  583. package/dist/chunks/cli-0.6.13-g65dfg11.mjs +0 -6
  584. package/dist/chunks/cli-0.6.13-gkfcc3c2.mjs +0 -2
  585. package/dist/chunks/cli-0.6.13-gpb93cvz.mjs +0 -2
  586. package/dist/chunks/cli-0.6.13-grrshx1z.mjs +0 -2
  587. package/dist/chunks/cli-0.6.13-gsfs6kre.mjs +0 -2
  588. package/dist/chunks/cli-0.6.13-gyq9mepg.mjs +0 -2
  589. package/dist/chunks/cli-0.6.13-h3ymv3nd.mjs +0 -2
  590. package/dist/chunks/cli-0.6.13-h5dej6se.mjs +0 -3
  591. package/dist/chunks/cli-0.6.13-hd0sd535.mjs +0 -193
  592. package/dist/chunks/cli-0.6.13-hp0r1ftj.mjs +0 -12
  593. package/dist/chunks/cli-0.6.13-hx71w6e6.mjs +0 -3
  594. package/dist/chunks/cli-0.6.13-hxfvksxq.mjs +0 -2
  595. package/dist/chunks/cli-0.6.13-j6mr3jmk.mjs +0 -4
  596. package/dist/chunks/cli-0.6.13-jhhmjq66.mjs +0 -133
  597. package/dist/chunks/cli-0.6.13-jjx7jq0w.mjs +0 -2
  598. package/dist/chunks/cli-0.6.13-jmzvtd06.mjs +0 -2
  599. package/dist/chunks/cli-0.6.13-jrdsk8wb.mjs +0 -3
  600. package/dist/chunks/cli-0.6.13-k0kyv254.mjs +0 -2
  601. package/dist/chunks/cli-0.6.13-kd5h1s1s.mjs +0 -2
  602. package/dist/chunks/cli-0.6.13-kdm4832x.mjs +0 -2
  603. package/dist/chunks/cli-0.6.13-kekrwb08.mjs +0 -45
  604. package/dist/chunks/cli-0.6.13-kmg491hy.mjs +0 -2
  605. package/dist/chunks/cli-0.6.13-kqq5n5q3.mjs +0 -12
  606. package/dist/chunks/cli-0.6.13-kxjmrbfd.mjs +0 -3
  607. package/dist/chunks/cli-0.6.13-m4pb5k9v.mjs +0 -2
  608. package/dist/chunks/cli-0.6.13-me17wefv.mjs +0 -2
  609. package/dist/chunks/cli-0.6.13-mreqrsw2.mjs +0 -2
  610. package/dist/chunks/cli-0.6.13-mt7jkjdp.mjs +0 -39
  611. package/dist/chunks/cli-0.6.13-mxr0y1kd.mjs +0 -2
  612. package/dist/chunks/cli-0.6.13-n4qwe0a1.mjs +0 -2
  613. package/dist/chunks/cli-0.6.13-n67mrj2g.mjs +0 -15
  614. package/dist/chunks/cli-0.6.13-n9fz7y3a.mjs +0 -4
  615. package/dist/chunks/cli-0.6.13-nqd696hv.mjs +0 -2
  616. package/dist/chunks/cli-0.6.13-nvcr131g.mjs +0 -4
  617. package/dist/chunks/cli-0.6.13-p02kfjzd.mjs +0 -8
  618. package/dist/chunks/cli-0.6.13-p2k33k0d.mjs +0 -2
  619. package/dist/chunks/cli-0.6.13-p5xafpx4.mjs +0 -3
  620. package/dist/chunks/cli-0.6.13-pa4yv2ra.mjs +0 -2
  621. package/dist/chunks/cli-0.6.13-pbk4h5n3.mjs +0 -3
  622. package/dist/chunks/cli-0.6.13-pezf5r7h.mjs +0 -2
  623. package/dist/chunks/cli-0.6.13-pmwrb4jf.mjs +0 -2
  624. package/dist/chunks/cli-0.6.13-prh9py3z.mjs +0 -2
  625. package/dist/chunks/cli-0.6.13-pyh5s43x.mjs +0 -2
  626. package/dist/chunks/cli-0.6.13-q161snt1.mjs +0 -2
  627. package/dist/chunks/cli-0.6.13-q2ssb82w.mjs +0 -2
  628. package/dist/chunks/cli-0.6.13-q4spcjyn.mjs +0 -2
  629. package/dist/chunks/cli-0.6.13-q8qzja14.mjs +0 -2
  630. package/dist/chunks/cli-0.6.13-qbn7xx3z.mjs +0 -2
  631. package/dist/chunks/cli-0.6.13-qemvn3t7.mjs +0 -4
  632. package/dist/chunks/cli-0.6.13-qfh8s56n.mjs +0 -2
  633. package/dist/chunks/cli-0.6.13-qj9zpvjy.mjs +0 -2
  634. package/dist/chunks/cli-0.6.13-qtea9rcg.mjs +0 -2
  635. package/dist/chunks/cli-0.6.13-qyd73z97.mjs +0 -2
  636. package/dist/chunks/cli-0.6.13-r043ksv1.mjs +0 -1
  637. package/dist/chunks/cli-0.6.13-r1exgbp8.mjs +0 -4
  638. package/dist/chunks/cli-0.6.13-r2w3m6g9.mjs +0 -2
  639. package/dist/chunks/cli-0.6.13-r4z5mchw.mjs +0 -2
  640. package/dist/chunks/cli-0.6.13-r7gkf1df.mjs +0 -2
  641. package/dist/chunks/cli-0.6.13-rkm2drsy.mjs +0 -6
  642. package/dist/chunks/cli-0.6.13-s2vxndky.mjs +0 -2
  643. package/dist/chunks/cli-0.6.13-s3r638fw.mjs +0 -2
  644. package/dist/chunks/cli-0.6.13-s9rv2pr3.mjs +0 -4
  645. package/dist/chunks/cli-0.6.13-sa8gmxxv.mjs +0 -3
  646. package/dist/chunks/cli-0.6.13-t5bkdhfz.mjs +0 -2
  647. package/dist/chunks/cli-0.6.13-tbg0cceg.mjs +0 -15
  648. package/dist/chunks/cli-0.6.13-tecj2x0d.mjs +0 -2
  649. package/dist/chunks/cli-0.6.13-tfaydn5r.mjs +0 -2
  650. package/dist/chunks/cli-0.6.13-tj2kvtza.mjs +0 -2
  651. package/dist/chunks/cli-0.6.13-tss2yk53.mjs +0 -2
  652. package/dist/chunks/cli-0.6.13-tvy6tmhe.mjs +0 -2
  653. package/dist/chunks/cli-0.6.13-tyd40vcz.mjs +0 -2
  654. package/dist/chunks/cli-0.6.13-tzsj5e1c.mjs +0 -17
  655. package/dist/chunks/cli-0.6.13-v05nfcar.mjs +0 -2
  656. package/dist/chunks/cli-0.6.13-v160yjcc.mjs +0 -2
  657. package/dist/chunks/cli-0.6.13-v2vt3snq.mjs +0 -2
  658. package/dist/chunks/cli-0.6.13-v7kg9gbp.mjs +0 -2
  659. package/dist/chunks/cli-0.6.13-v824ppa4.mjs +0 -3
  660. package/dist/chunks/cli-0.6.13-v83qp6b0.mjs +0 -2
  661. package/dist/chunks/cli-0.6.13-v8ksdm64.mjs +0 -2
  662. package/dist/chunks/cli-0.6.13-vkbwqnxx.mjs +0 -2
  663. package/dist/chunks/cli-0.6.13-vv2qqj0d.mjs +0 -2
  664. package/dist/chunks/cli-0.6.13-vxq8z40t.mjs +0 -2
  665. package/dist/chunks/cli-0.6.13-w039mymy.mjs +0 -2
  666. package/dist/chunks/cli-0.6.13-w0qrn825.mjs +0 -2
  667. package/dist/chunks/cli-0.6.13-w1jqswyq.mjs +0 -2
  668. package/dist/chunks/cli-0.6.13-w91d8mwx.mjs +0 -2
  669. package/dist/chunks/cli-0.6.13-waf5mvv3.mjs +0 -5
  670. package/dist/chunks/cli-0.6.13-wer1zp9j.mjs +0 -20
  671. package/dist/chunks/cli-0.6.13-wtc8585b.mjs +0 -2
  672. package/dist/chunks/cli-0.6.13-x28t8s6n.mjs +0 -2
  673. package/dist/chunks/cli-0.6.13-xc81kqm2.mjs +0 -2
  674. package/dist/chunks/cli-0.6.13-xdedyafk.mjs +0 -12
  675. package/dist/chunks/cli-0.6.13-xf37gba3.mjs +0 -21
  676. package/dist/chunks/cli-0.6.13-xkw3qe38.mjs +0 -2
  677. package/dist/chunks/cli-0.6.13-xpjrhgmy.mjs +0 -2
  678. package/dist/chunks/cli-0.6.13-y1j0jnkt.mjs +0 -2
  679. package/dist/chunks/cli-0.6.13-y20earfr.mjs +0 -2
  680. package/dist/chunks/cli-0.6.13-y4v6kta5.mjs +0 -2
  681. package/dist/chunks/cli-0.6.13-y6xnb20z.mjs +0 -28
  682. package/dist/chunks/cli-0.6.13-y8bhbkcr.mjs +0 -2
  683. package/dist/chunks/cli-0.6.13-yamxpaqw.mjs +0 -67
  684. package/dist/chunks/cli-0.6.13-ykg1yrfj.mjs +0 -2
  685. package/dist/chunks/cli-0.6.13-yrjy4at4.mjs +0 -2
  686. package/dist/chunks/cli-0.6.13-ytn0a18c.mjs +0 -2
  687. package/dist/chunks/cli-0.6.13-ywdbvmgd.mjs +0 -2
  688. package/dist/chunks/cli-0.6.13-z8s5yfv6.mjs +0 -9
  689. package/dist/chunks/cli-0.6.13-zcy8dsbx.mjs +0 -25
  690. package/dist/chunks/cli-0.6.13-zd9jp62z.mjs +0 -15
  691. package/dist/chunks/cli-0.6.13-ze0ah657.mjs +0 -4
  692. package/dist/chunks/cli-0.6.13-zktd03aq.mjs +0 -2
  693. package/dist/chunks/cli-0.6.13-zw3t7bxg.mjs +0 -2
  694. package/dist/chunks/client-0.6.13-apag8p3w.mjs +0 -1
  695. package/dist/chunks/color-0.6.13-m7e3xes9.mjs +0 -1
  696. package/dist/chunks/compact-0.6.13-064k380y.mjs +0 -3
  697. package/dist/chunks/config-0.6.13-2gskfa7r.mjs +0 -1
  698. package/dist/chunks/config-0.6.13-m7tbch3j.mjs +0 -1
  699. package/dist/chunks/constants-0.6.13-bq183whd.mjs +0 -1
  700. package/dist/chunks/context-0.6.13-4jm66js8.mjs +0 -1
  701. package/dist/chunks/context-noninteractive-0.6.13-2c2pa7c4.mjs +0 -1
  702. package/dist/chunks/conversation-0.6.13-gb8qd0a6.mjs +0 -1
  703. package/dist/chunks/copilotHeaders-0.6.13-sdz00vtr.mjs +0 -1
  704. package/dist/chunks/copy-0.6.13-11ksdws3.mjs +0 -9
  705. package/dist/chunks/cost-0.6.13-ht9hjse5.mjs +0 -1
  706. package/dist/chunks/createSSHSession-0.6.13-9nj8wxrq.mjs +0 -1
  707. package/dist/chunks/createSession-0.6.13-zx0ak0ar.mjs +0 -1
  708. package/dist/chunks/debug-0.6.13-1b2b2vfp.mjs +0 -1
  709. package/dist/chunks/defaultActionDeps-0.6.13-4ypccnwe.mjs +0 -1367
  710. package/dist/chunks/desktop-0.6.13-5jae65dg.mjs +0 -1
  711. package/dist/chunks/detectRepository-0.6.13-e3va8684.mjs +0 -1
  712. package/dist/chunks/detection-0.6.13-5kdd4ryt.mjs +0 -1
  713. package/dist/chunks/diff-0.6.13-3qr723e3.mjs +0 -1
  714. package/dist/chunks/doctor-0.6.13-ykby6vex.mjs +0 -1
  715. package/dist/chunks/doctorDiagnostic-0.6.13-m5tnyxr2.mjs +0 -1
  716. package/dist/chunks/earlyInput-0.6.13-e90ax06h.mjs +0 -1
  717. package/dist/chunks/effort-0.6.13-tqkv5tt7.mjs +0 -10
  718. package/dist/chunks/envLessBridgeConfig-0.6.13-m8pp5emf.mjs +0 -1
  719. package/dist/chunks/envUtils-0.6.13-6q29pewb.mjs +0 -1
  720. package/dist/chunks/environmentSelection-0.6.13-ajfa3pm0.mjs +0 -1
  721. package/dist/chunks/environments-0.6.13-gpjjpygt.mjs +0 -1
  722. package/dist/chunks/errors-0.6.13-amqhpv1w.mjs +0 -1
  723. package/dist/chunks/exampleCommands-0.6.13-yscjfr02.mjs +0 -1
  724. package/dist/chunks/exit-0.6.13-aex1mh9r.mjs +0 -1
  725. package/dist/chunks/explorer-0.6.13-g670396m.mjs +0 -1
  726. package/dist/chunks/export-0.6.13-zytxcpn5.mjs +0 -2
  727. package/dist/chunks/extra-usage-0.6.13-js9s3mpg.mjs +0 -1
  728. package/dist/chunks/extra-usage-noninteractive-0.6.13-1y21hfpz.mjs +0 -1
  729. package/dist/chunks/fast-0.6.13-eqx76m6v.mjs +0 -1
  730. package/dist/chunks/feedback-0.6.13-b2yh5zgv.mjs +0 -14
  731. package/dist/chunks/firstPartyEventLogger-0.6.13-29x54d6r.mjs +0 -1
  732. package/dist/chunks/git-0.6.13-r45r70q4.mjs +0 -1
  733. package/dist/chunks/githubModelsCredentials-0.6.13-3saqxp80.mjs +0 -1
  734. package/dist/chunks/goal-0.6.13-jm5f9y8r.mjs +0 -4
  735. package/dist/chunks/grove-0.6.13-9vr9ry8t.mjs +0 -1
  736. package/dist/chunks/growthbook-0.6.13-r6367yym.mjs +0 -1
  737. package/dist/chunks/headless-0.6.13-gfageb5h.mjs +0 -2
  738. package/dist/chunks/heapdump-0.6.13-m8g832m5.mjs +0 -6
  739. package/dist/chunks/help-0.6.13-781b4zzf.mjs +0 -1
  740. package/dist/chunks/hookChains-0.6.13-ztaa33k2.mjs +0 -3
  741. package/dist/chunks/hooks-0.6.13-2vp3h6tg.mjs +0 -1
  742. package/dist/chunks/hooks-0.6.13-ma0g96bd.mjs +0 -79
  743. package/dist/chunks/ide-0.6.13-ev74eqfz.mjs +0 -3
  744. package/dist/chunks/image-processor-napi-0.6.13-1yfk6729.mjs +0 -1
  745. package/dist/chunks/inboundAttachments-0.6.13-15y4n0ap.mjs +0 -1
  746. package/dist/chunks/index-0.6.13-22g8yp33.mjs +0 -1
  747. package/dist/chunks/index-0.6.13-3d9rd6ba.mjs +0 -1
  748. package/dist/chunks/index-0.6.13-3yrze12y.mjs +0 -2
  749. package/dist/chunks/index-0.6.13-4mx71hjt.mjs +0 -2
  750. package/dist/chunks/index-0.6.13-68g8rnf9.mjs +0 -1
  751. package/dist/chunks/index-0.6.13-6t8yz88d.mjs +0 -1
  752. package/dist/chunks/index-0.6.13-af1dgcmj.mjs +0 -1
  753. package/dist/chunks/index-0.6.13-afmvxwx2.mjs +0 -1
  754. package/dist/chunks/index-0.6.13-by0wfak3.mjs +0 -9
  755. package/dist/chunks/index-0.6.13-cx9jy8c2.mjs +0 -1
  756. package/dist/chunks/index-0.6.13-fd4kgsd2.mjs +0 -1
  757. package/dist/chunks/index-0.6.13-jte6phkv.mjs +0 -1
  758. package/dist/chunks/index-0.6.13-m632g3gy.mjs +0 -1
  759. package/dist/chunks/index-0.6.13-mwpm4arf.mjs +0 -5
  760. package/dist/chunks/index-0.6.13-nwvcwdkk.mjs +0 -30
  761. package/dist/chunks/index-0.6.13-nwy6gtkk.mjs +0 -1
  762. package/dist/chunks/index-0.6.13-ptnyngf8.mjs +0 -1
  763. package/dist/chunks/index-0.6.13-q3shbg14.mjs +0 -1
  764. package/dist/chunks/index-0.6.13-qbgadtxv.mjs +0 -1
  765. package/dist/chunks/index-0.6.13-sv4q66cp.mjs +0 -1
  766. package/dist/chunks/index-0.6.13-waxz0ekk.mjs +0 -1
  767. package/dist/chunks/index-0.6.13-why7ggz3.mjs +0 -9
  768. package/dist/chunks/index-0.6.13-y16k48ab.mjs +0 -1
  769. package/dist/chunks/init-0.6.13-4hnytb22.mjs +0 -1
  770. package/dist/chunks/initReplBridge-0.6.13-7zgngybp.mjs +0 -1
  771. package/dist/chunks/ink-0.6.13-tzqbb17q.mjs +0 -1
  772. package/dist/chunks/insights-0.6.13-jydg844c.mjs +0 -870
  773. package/dist/chunks/install-0.6.13-n2sd9y79.mjs +0 -1
  774. package/dist/chunks/install-github-app-0.6.13-e0f07703.mjs +0 -149
  775. package/dist/chunks/install-slack-app-0.6.13-bf4yjq6t.mjs +0 -1
  776. package/dist/chunks/instrumentation-0.6.13-adfxdg5f.mjs +0 -1
  777. package/dist/chunks/interactiveHelpers-0.6.13-xp328y9v.mjs +0 -1
  778. package/dist/chunks/keybindings-0.6.13-ktc3mjr7.mjs +0 -2
  779. package/dist/chunks/knowledge-0.6.13-187esqxd.mjs +0 -2
  780. package/dist/chunks/latestVersionCache-0.6.13-m4bhcjqa.mjs +0 -1
  781. package/dist/chunks/loadAgentsDir-0.6.13-6zpt11ke.mjs +0 -1
  782. package/dist/chunks/loadPluginHooks-0.6.13-828skfe0.mjs +0 -1
  783. package/dist/chunks/loadPluginHooks-0.6.13-aft854e2.mjs +0 -1
  784. package/dist/chunks/log-0.6.13-k8w72xt1.mjs +0 -1
  785. package/dist/chunks/main-0.6.13-g9fjc6sv.mjs +0 -1
  786. package/dist/chunks/managedEnv-0.6.13-gqrx16t7.mjs +0 -1
  787. package/dist/chunks/mcp-0.6.13-dyg98wmq.mjs +0 -1
  788. package/dist/chunks/mcp-0.6.13-mzkm1215.mjs +0 -4
  789. package/dist/chunks/mcp-0.6.13-zkt6y77x.mjs +0 -17
  790. package/dist/chunks/mcpb-0.6.13-dre8w2ra.mjs +0 -1
  791. package/dist/chunks/memory-0.6.13-atsckryz.mjs +0 -3
  792. package/dist/chunks/model-0.6.13-0atttv57.mjs +0 -1
  793. package/dist/chunks/model-0.6.13-2jvx0cgc.mjs +0 -2
  794. package/dist/chunks/node-0.6.13-x2bbeer9.mjs +0 -12
  795. package/dist/chunks/oauth-0.6.13-57mmwqmy.mjs +0 -1
  796. package/dist/chunks/openaiShim-0.6.13-yb751f6g.mjs +0 -14
  797. package/dist/chunks/output-style-0.6.13-m28me769.mjs +0 -1
  798. package/dist/chunks/package-FMOR3ELU-0.6.13-dfhez176.mjs +0 -1
  799. package/dist/chunks/parseConnectUrl-0.6.13-6ckj0vmf.mjs +0 -1
  800. package/dist/chunks/parser-0.6.13-cmp0vgjm.mjs +0 -1
  801. package/dist/chunks/passes-0.6.13-q60h610m.mjs +0 -1
  802. package/dist/chunks/permissions-0.6.13-9cf5bca2.mjs +0 -3
  803. package/dist/chunks/permissions-0.6.13-nqms1fh9.mjs +0 -1
  804. package/dist/chunks/plan-0.6.13-jnph14bx.mjs +0 -1
  805. package/dist/chunks/plist-0.6.13-fwm9pvp5.mjs +0 -1
  806. package/dist/chunks/plugin-0.6.13-4hpbymfw.mjs +0 -29
  807. package/dist/chunks/pluginStartupCheck-0.6.13-yftpxhh1.mjs +0 -1
  808. package/dist/chunks/plugins-0.6.13-jkptkxsv.mjs +0 -9
  809. package/dist/chunks/preActionHook-0.6.13-jxg6wxk8.mjs +0 -2
  810. package/dist/chunks/print-0.6.13-7cpe5d4z.mjs +0 -57
  811. package/dist/chunks/privacy-settings-0.6.13-5a5rxfdv.mjs +0 -1
  812. package/dist/chunks/process-0.6.13-38dsvzca.mjs +0 -1
  813. package/dist/chunks/processBashCommand-0.6.13-2hx0q8zw.mjs +0 -1
  814. package/dist/chunks/processSlashCommand-0.6.13-5r7afr4g.mjs +0 -9
  815. package/dist/chunks/prompt-0.6.13-pafq1qab.mjs +0 -1
  816. package/dist/chunks/prompt-0.6.13-y81g0m1b.mjs +0 -1
  817. package/dist/chunks/prompts-0.6.13-702ak30b.mjs +0 -1
  818. package/dist/chunks/protocolHandler-0.6.13-t8f8haqj.mjs +0 -13
  819. package/dist/chunks/provider-0.6.13-2sx115qq.mjs +0 -2
  820. package/dist/chunks/providerProfiles-0.6.13-f8x8hr6k.mjs +0 -1
  821. package/dist/chunks/providerValidation-0.6.13-tf07v3tj.mjs +0 -6
  822. package/dist/chunks/rate-limit-options-0.6.13-aensbess.mjs +0 -1
  823. package/dist/chunks/registerSubcommands-0.6.13-656h79d4.mjs +0 -34
  824. package/dist/chunks/registry-0.6.13-pstf339a.mjs +0 -1
  825. package/dist/chunks/release-notes-0.6.13-hrppyszt.mjs +0 -5
  826. package/dist/chunks/reload-plugins-0.6.13-je6wrn33.mjs +0 -2
  827. package/dist/chunks/remote-env-0.6.13-z246d03z.mjs +0 -1
  828. package/dist/chunks/remoteBridgeCore-0.6.13-ynnqhw07.mjs +0 -1
  829. package/dist/chunks/remoteSession-0.6.13-mv8v6s9c.mjs +0 -1
  830. package/dist/chunks/rename-0.6.13-xpt0c85z.mjs +0 -1
  831. package/dist/chunks/replBridgeHandle-0.6.13-rrpbzf13.mjs +0 -1
  832. package/dist/chunks/replLauncher-0.6.13-waeszqvx.mjs +0 -1
  833. package/dist/chunks/resume-0.6.13-sr7y57a2.mjs +0 -2
  834. package/dist/chunks/rewind-0.6.13-8czd98jc.mjs +0 -1
  835. package/dist/chunks/rootOptions-0.6.13-9h4cq5pq.mjs +0 -1
  836. package/dist/chunks/sandbox-adapter-0.6.13-hs1rvj4e.mjs +0 -1
  837. package/dist/chunks/sandbox-toggle-0.6.13-8j9r0wf9.mjs +0 -1
  838. package/dist/chunks/session-0.6.13-83jr96cj.mjs +0 -2
  839. package/dist/chunks/sessionDiscovery-0.6.13-wvzp1v01.mjs +0 -1
  840. package/dist/chunks/sessionFileAccessHooks-0.6.13-4fkbba35.mjs +0 -1
  841. package/dist/chunks/sessionStorage-0.6.13-rswa4zsd.mjs +0 -1
  842. package/dist/chunks/settings-0.6.13-6t3fk1ch.mjs +0 -1
  843. package/dist/chunks/setup-0.6.13-q8jrvatq.mjs +0 -5
  844. package/dist/chunks/sinks-0.6.13-zatt5gaw.mjs +0 -1
  845. package/dist/chunks/skills-0.6.13-3c0whjxb.mjs +0 -1
  846. package/dist/chunks/startupProfiler-0.6.13-cphqp37f.mjs +0 -1
  847. package/dist/chunks/startupUpdateCheck-0.6.13-hstp7str.mjs +0 -1
  848. package/dist/chunks/state-0.6.13-257cjw4h.mjs +0 -1
  849. package/dist/chunks/stats-0.6.13-cg0xacnc.mjs +0 -6
  850. package/dist/chunks/status-0.6.13-cefspgtr.mjs +0 -1
  851. package/dist/chunks/stickers-0.6.13-6e4t4ej1.mjs +0 -1
  852. package/dist/chunks/subprocessEnv-0.6.13-am2fa4tp.mjs +0 -1
  853. package/dist/chunks/tasks-0.6.13-2v9gfhwe.mjs +0 -1
  854. package/dist/chunks/teamHelpers-0.6.13-nesaxh5h.mjs +0 -1
  855. package/dist/chunks/teammateModeSnapshot-0.6.13-s8fahdkf.mjs +0 -1
  856. package/dist/chunks/teleport-0.6.13-15chrxd3.mjs +0 -1
  857. package/dist/chunks/terminalSetup-0.6.13-45tchntj.mjs +0 -1
  858. package/dist/chunks/theme-0.6.13-xzb35tqq.mjs +0 -1
  859. package/dist/chunks/thinkback-0.6.13-t9v5q33p.mjs +0 -1
  860. package/dist/chunks/thinkback-play-0.6.13-3zft02zv.mjs +0 -1
  861. package/dist/chunks/toolPool-0.6.13-v9s7e0g9.mjs +0 -1
  862. package/dist/chunks/toolSearch-0.6.13-yx9rjn17.mjs +0 -1
  863. package/dist/chunks/tools-0.6.13-heefxcxe.mjs +0 -1
  864. package/dist/chunks/trustedDevice-0.6.13-x08npyhs.mjs +0 -1
  865. package/dist/chunks/turndown.cjs-0.6.13-tqfk5xkj.mjs +0 -69
  866. package/dist/chunks/types-0.6.13-26eegce9.mjs +0 -1
  867. package/dist/chunks/ultrareviewCommand-0.6.13-pg8b86h2.mjs +0 -4
  868. package/dist/chunks/update-0.6.13-tj94pp6r.mjs +0 -86
  869. package/dist/chunks/upgrade-0.6.13-3qy3gqyq.mjs +0 -1
  870. package/dist/chunks/upload-0.6.13-jgydpvy4.mjs +0 -7
  871. package/dist/chunks/upstreamproxy-0.6.13-3jmepw2f.mjs +0 -14
  872. package/dist/chunks/url-handler-napi-0.6.13-cqr9xp6y.mjs +0 -1
  873. package/dist/chunks/usage-0.6.13-whrgny68.mjs +0 -1
  874. package/dist/chunks/util-0.6.13-dcwcf9pm.mjs +0 -1
  875. package/dist/chunks/utils-0.6.13-jybbphy0.mjs +0 -1
  876. package/dist/chunks/vim-0.6.13-rt1g3nw1.mjs +0 -1
  877. package/dist/chunks/watcher-0.6.13-jr5jxn5j.mjs +0 -1
  878. package/dist/chunks/wiki-0.6.13-pt6cr77j.mjs +0 -132
  879. package/dist/chunks/worktree-0.6.13-efnvp677.mjs +0 -1
  880. package/dist/chunks/worktreeModeEnabled-0.6.13-zdfe46d8.mjs +0 -1
  881. package/dist/chunks/wrapper-0.6.13-w672jy5j.mjs +0 -7
  882. /package/dist/chunks/{cli-0.6.13-e3h2z83b.mjs → cli-0.6.14-2rgps43t.mjs} +0 -0
  883. /package/dist/chunks/{cli-0.6.13-tsz6mx5f.mjs → cli-0.6.14-74vp9e0h.mjs} +0 -0
  884. /package/dist/chunks/{cli-0.6.13-1dwgndg5.mjs → cli-0.6.14-75anr16f.mjs} +0 -0
  885. /package/dist/chunks/{cli-0.6.13-5qvssn7h.mjs → cli-0.6.14-mjqpmr9h.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.13-p839x5sj.mjs → cli-0.6.14-qtx4mpnr.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.13-h2yxttam.mjs → cli-0.6.14-vd0wy56c.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.13-s9yqkgwe.mjs → cli-0.6.14-yhc397bd.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.13-rmzzvjt2.mjs → cli-0.6.14-zaf65t8e.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{ld as t,md as pJ}from"./cli-0.6.14-kkgqr44y.mjs";import{Qh as r,Rh as DJ}from"./cli-0.6.14-rmxstabz.mjs";import{Ay as x,Az as AJ,Hl as g,JE as l,JM as I,KE as HJ,Kl as _J,RP as P,TC as VJ,cS as OJ,hD as PJ,hm as c,iD as jJ,iG as T,mG as i,mj as u,nD as o,nG as n,nm as MJ,oD as yJ,oG as RJ,un as h,vk as zJ,zz as a}from"./cli-0.6.14-sfan5yg2.mjs";import{X4 as YJ}from"./cli-0.6.14-hwwpzjf6.mjs";import{Fba as f,Gba as wJ,Rba as UJ,b_ as QJ,eea as O,fea as NJ,nea as B,vea as H,xba as m}from"./cli-0.6.14-zs6qf39k.mjs";import{Hfa as ZJ}from"./cli-0.6.14-2kj6t828.mjs";import{gga as qJ}from"./cli-0.6.14-45cmq90s.mjs";import{Vga as R,Yga as y}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as LJ,Gha as KJ,Kha as V,Oha as BJ,Yha as d}from"./cli-0.6.14-e4k2wv6r.mjs";import{xia as C}from"./cli-0.6.14-tsj8ceqz.mjs";import{Aia as U,Nia as WJ}from"./cli-0.6.14-rn7sy805.mjs";import{fma as b,ooa as j,wla as F}from"./cli-0.6.14-f8c4q74r.mjs";import{Spa as IJ}from"./cli-0.6.14-mjqpmr9h.mjs";yJ();DJ();j();ZJ();y();I();zJ();h();QJ();qJ();C();H();P();YJ();KJ();x();I();h();H();C();P();x();VJ();function D(){}j();y();NJ();LJ();WJ();BJ();AJ();UJ();H();i();HJ();OJ();RJ();wJ();MJ();_J();import{join as Q}from"path";var TJ=30;function L(){let q=((m()||{}).cleanupPeriodDays??TJ)*24*60*60*1000;return new Date(Date.now()-q)}function vJ(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function FJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,q){let $={messages:0,errors:0};try{let G=await V().readdir(X);for(let K of G)try{if(FJ(K.name)<J)if(await V().unlink(Q(X,K.name)),q)$.messages++;else $.errors++}catch(Y){B(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")B(G)}return $}async function bJ(){let X=V(),J=L(),q=O.errors(),$=O.baseLogs(),G=await p(q,J,!1);try{let K;try{K=await X.readdir($)}catch{return G}let Y=K.filter((Z)=>Z.isDirectory()&&Z.name.startsWith("mcp-logs-")).map((Z)=>Q($,Z.name));for(let Z of Y)G=vJ(G,await p(Z,J,!0)),await z(Z,X)}catch(K){if(K instanceof Error&&"code"in K&&K.code!=="ENOENT")B(K)}return G}async function w(X,J,q){if((await q.stat(X)).mtime<J)return await q.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function SJ(){let X=L(),J={messages:0,errors:0},q=u(),$=V(),G;try{G=await $.readdir(q)}catch{return J}for(let K of G){if(!K.isDirectory())continue;let Y=Q(q,K.name),Z;try{Z=await $.readdir(Y)}catch{J.errors++;continue}for(let W of Z)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await w(Q(Y,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Q(Y,W.name),N=Q(M,c),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await w(Q(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Q(N,_.name),k;try{k=await $.readdir(A)}catch{continue}for(let E of k){if(!E.isFile())continue;try{if(await w(Q(A,E.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Y,$)}return J}async function kJ(X,J,q=!0){let $=L(),G={messages:0,errors:0},K=V(),Y;try{Y=await K.readdir(X)}catch{return G}for(let Z of Y){if(!Z.isFile()||!Z.name.endsWith(J))continue;try{if(await w(Q(X,Z.name),$,K))G.messages++}catch{G.errors++}}if(q)await z(X,K);return G}function EJ(){let X=Q(U(),"plans");return kJ(X,".md")}async function CJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"file-history"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));await Promise.all(Y.map(async(Z)=>{try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(G,q)}catch($){B($)}return J}async function hJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"session-env"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));for(let Z of Y)try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(G,q)}catch($){B($)}return J}async function xJ(){let X=L(),J={messages:0,errors:0},q=V(),$=Q(U(),"debug"),G;try{G=await q.readdir($)}catch{return J}for(let K of G){if(!K.isFile()||!K.name.endsWith(".txt")||K.name==="latest")continue;try{if(await w(Q($,K.name),X,q))J.messages++}catch{J.errors++}}return J}async function s(){let{errors:X}=n();if(X.length>0&&f("cleanupPeriodDays")){d("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await bJ(),await SJ(),await EJ(),await CJ(),await hJ(),await xJ(),await a(),await l(L());let J=await g(L());if(J>0)R("tengu_worktree_cleanup",{removed:J})}i();pJ();var dJ=(jJ(),IJ(PJ));var v=600000;function iX(){r(),D(),dJ.initExtractMemories(),o(),t();let X=!0;async function J(){if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await s();if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await T()}setTimeout(J,v).unref()}
2
+ export{iX as Y};
@@ -0,0 +1,2 @@
1
+ import{Yga as f}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as h}from"./cli-0.6.14-e4k2wv6r.mjs";import{Vpa as Z}from"./cli-0.6.14-mjqpmr9h.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
2
+ export{K as w1,w as x1,kz as y1,oz as z1,pz as A1,dz as B1,nz as C1,L as D1};
@@ -0,0 +1,2 @@
1
+ import{Hfa as K,wfa as G}from"./cli-0.6.14-2kj6t828.mjs";import{_fa as j,aga as M,bga as J,cga as N}from"./cli-0.6.14-g818hb3n.mjs";M();K();N();var q={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 B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.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((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.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 $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
+ export{q as gb,$ as hb};
@@ -0,0 +1,2 @@
1
+ import{Ni as M,Oi as W,QM as O,RM as P,SM as Q,TM as U,WM as X}from"./cli-0.6.14-sfan5yg2.mjs";import{Vpa as V}from"./cli-0.6.14-mjqpmr9h.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as ig,$ as jg};
@@ -0,0 +1,2 @@
1
+ import{Vpa as C}from"./cli-0.6.14-mjqpmr9h.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
2
+ export{L as hi,M as ii,N as ji,H as ki};
@@ -0,0 +1,5 @@
1
+ import{Tpa as tZ}from"./cli-0.6.14-mjqpmr9h.mjs";var u0=tZ((g0,LZ)=>{function JZ(Z){if(Z instanceof Map)Z.clear=Z.delete=Z.set=function(){throw Error("map is read-only")};else if(Z instanceof Set)Z.add=Z.clear=Z.delete=function(){throw Error("set is read-only")};return Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(function(J){var z=Z[J];if(typeof z=="object"&&!Object.isFrozen(z))JZ(z)}),Z}var yZ=JZ,aZ=JZ;yZ.default=aZ;class ZZ{constructor(Z){if(Z.data===void 0)Z.data={};this.data=Z.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function M(Z){return Z.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function x(Z,...J){let z=Object.create(null);for(let $ in Z)z[$]=Z[$];return J.forEach(function($){for(let P in $)z[P]=$[P]}),z}var oZ="</span>",GZ=(Z)=>{return!!Z.kind};class HZ{constructor(Z,J){this.buffer="",this.classPrefix=J.classPrefix,Z.walk(this)}addText(Z){this.buffer+=M(Z)}openNode(Z){if(!GZ(Z))return;let J=Z.kind;if(!Z.sublanguage)J=`${this.classPrefix}${J}`;this.span(J)}closeNode(Z){if(!GZ(Z))return;this.buffer+=oZ}value(){return this.buffer}span(Z){this.buffer+=`<span class="${Z}">`}}class QZ{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Z){this.top.children.push(Z)}openNode(Z){let J={kind:Z,children:[]};this.add(J),this.stack.push(J)}closeNode(){if(this.stack.length>1)return this.stack.pop();return}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Z){return this.constructor._walk(Z,this.rootNode)}static _walk(Z,J){if(typeof J==="string")Z.addText(J);else if(J.children)Z.openNode(J),J.children.forEach((z)=>this._walk(Z,z)),Z.closeNode(J);return Z}static _collapse(Z){if(typeof Z==="string")return;if(!Z.children)return;if(Z.children.every((J)=>typeof J==="string"))Z.children=[Z.children.join("")];else Z.children.forEach((J)=>{QZ._collapse(J)})}}class BZ extends QZ{constructor(Z){super();this.options=Z}addKeyword(Z,J){if(Z==="")return;this.openNode(J),this.addText(Z),this.closeNode()}addText(Z){if(Z==="")return;this.add(Z)}addSublanguage(Z,J){let z=Z.root;z.kind=J,z.sublanguage=!0,this.add(z)}toHTML(){return new HZ(this,this.options).value()}finalize(){return!0}}function eZ(Z){return new RegExp(Z.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function E(Z){if(!Z)return null;if(typeof Z==="string")return Z;return Z.source}function Z0(...Z){return Z.map((z)=>E(z)).join("")}function q0(...Z){return"("+Z.map((z)=>E(z)).join("|")+")"}function J0(Z){return new RegExp(Z.toString()+"|").exec("").length-1}function Q0(Z,J){let z=Z&&Z.exec(J);return z&&z.index===0}var X0=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function V0(Z,J="|"){let z=0;return Z.map(($)=>{z+=1;let P=z,v=E($),D="";while(v.length>0){let Q=X0.exec(v);if(!Q){D+=v;break}if(D+=v.substring(0,Q.index),v=v.substring(Q.index+Q[0].length),Q[0][0]==="\\"&&Q[1])D+="\\"+String(Number(Q[1])+P);else if(D+=Q[0],Q[0]==="(")z++}return D}).map(($)=>`(${$})`).join(J)}var z0=/\b\B/,DZ="[a-zA-Z]\\w*",XZ="[a-zA-Z_]\\w*",VZ="\\b\\d+(\\.\\d+)?",CZ="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",kZ="\\b(0b[01]+)",Y0="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",W0=(Z={})=>{let J=/^#![ ]*\//;if(Z.binary)Z.begin=Z0(J,/.*\b/,Z.binary,/\b.*/);return x({className:"meta",begin:J,end:/$/,relevance:0,"on:begin":(z,$)=>{if(z.index!==0)$.ignoreMatch()}},Z)},p={begin:"\\\\[\\s\\S]",relevance:0},$0={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[p]},F0={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[p]},jZ={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},r=function(Z,J,z={}){let $=x({className:"comment",begin:Z,end:J,contains:[]},z);return $.contains.push(jZ),$.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),$},G0=r("//","$"),U0=r("/\\*","\\*/"),K0=r("#","$"),I0={className:"number",begin:VZ,relevance:0},P0={className:"number",begin:CZ,relevance:0},v0={className:"number",begin:kZ,relevance:0},y0={className:"number",begin:VZ+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},H0={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[p,{begin:/\[/,end:/\]/,relevance:0,contains:[p]}]}]},B0={className:"title",begin:DZ,relevance:0},D0={className:"title",begin:XZ,relevance:0},C0={begin:"\\.\\s*"+XZ,relevance:0},k0=function(Z){return Object.assign(Z,{"on:begin":(J,z)=>{z.data._beginMatch=J[1]},"on:end":(J,z)=>{if(z.data._beginMatch!==J[1])z.ignoreMatch()}})},i=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z0,IDENT_RE:DZ,UNDERSCORE_IDENT_RE:XZ,NUMBER_RE:VZ,C_NUMBER_RE:CZ,BINARY_NUMBER_RE:kZ,RE_STARTERS_RE:Y0,SHEBANG:W0,BACKSLASH_ESCAPE:p,APOS_STRING_MODE:$0,QUOTE_STRING_MODE:F0,PHRASAL_WORDS_MODE:jZ,COMMENT:r,C_LINE_COMMENT_MODE:G0,C_BLOCK_COMMENT_MODE:U0,HASH_COMMENT_MODE:K0,NUMBER_MODE:I0,C_NUMBER_MODE:P0,BINARY_NUMBER_MODE:v0,CSS_NUMBER_MODE:y0,REGEXP_MODE:H0,TITLE_MODE:B0,UNDERSCORE_TITLE_MODE:D0,METHOD_GUARD:C0,END_SAME_AS_BEGIN:k0});function j0(Z,J){if(Z.input[Z.index-1]===".")J.ignoreMatch()}function A0(Z,J){if(!J)return;if(!Z.beginKeywords)return;if(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=j0,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,Z.relevance===void 0)Z.relevance=0}function w0(Z,J){if(!Array.isArray(Z.illegal))return;Z.illegal=q0(...Z.illegal)}function L0(Z,J){if(!Z.match)return;if(Z.begin||Z.end)throw Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}function O0(Z,J){if(Z.relevance===void 0)Z.relevance=1}var T0=["of","and","for","in","not","or","if","then","parent","list","value"],R0="keyword";function AZ(Z,J,z=R0){let $={};if(typeof Z==="string")P(z,Z.split(" "));else if(Array.isArray(Z))P(z,Z);else Object.keys(Z).forEach(function(v){Object.assign($,AZ(Z[v],J,v))});return $;function P(v,D){if(J)D=D.map((Q)=>Q.toLowerCase());D.forEach(function(Q){let X=Q.split("|");$[X[0]]=[v,S0(X[0],X[1])]})}}function S0(Z,J){if(J)return Number(J);return _0(Z)?0:1}function _0(Z){return T0.includes(Z.toLowerCase())}function x0(Z,{plugins:J}){function z(Q,X){return new RegExp(E(Q),"m"+(Z.case_insensitive?"i":"")+(X?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Q,X){X.position=this.position++,this.matchIndexes[this.matchAt]=X,this.regexes.push([X,Q]),this.matchAt+=J0(Q)+1}compile(){if(this.regexes.length===0)this.exec=()=>null;let Q=this.regexes.map((X)=>X[1]);this.matcherRe=z(V0(Q),!0),this.lastIndex=0}exec(Q){this.matcherRe.lastIndex=this.lastIndex;let X=this.matcherRe.exec(Q);if(!X)return null;let I=X.findIndex((k,S)=>S>0&&k!==void 0),U=this.matchIndexes[I];return X.splice(0,I),Object.assign(X,U)}}class P{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Q){if(this.multiRegexes[Q])return this.multiRegexes[Q];let X=new $;return this.rules.slice(Q).forEach(([I,U])=>X.addRule(I,U)),X.compile(),this.multiRegexes[Q]=X,X}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Q,X){if(this.rules.push([Q,X]),X.type==="begin")this.count++}exec(Q){let X=this.getMatcher(this.regexIndex);X.lastIndex=this.lastIndex;let I=X.exec(Q);if(this.resumingScanAtSamePosition())if(I&&I.index===this.lastIndex);else{let U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,I=U.exec(Q)}if(I){if(this.regexIndex+=I.position+1,this.regexIndex===this.count)this.considerAll()}return I}}function v(Q){let X=new P;if(Q.contains.forEach((I)=>X.addRule(I.begin,{rule:I,type:"begin"})),Q.terminatorEnd)X.addRule(Q.terminatorEnd,{type:"end"});if(Q.illegal)X.addRule(Q.illegal,{type:"illegal"});return X}function D(Q,X){let I=Q;if(Q.isCompiled)return I;[L0].forEach((k)=>k(Q,X)),Z.compilerExtensions.forEach((k)=>k(Q,X)),Q.__beforeBegin=null,[A0,w0,O0].forEach((k)=>k(Q,X)),Q.isCompiled=!0;let U=null;if(typeof Q.keywords==="object")U=Q.keywords.$pattern,delete Q.keywords.$pattern;if(Q.keywords)Q.keywords=AZ(Q.keywords,Z.case_insensitive);if(Q.lexemes&&U)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");if(U=U||Q.lexemes||/\w+/,I.keywordPatternRe=z(U,!0),X){if(!Q.begin)Q.begin=/\B|\b/;if(I.beginRe=z(Q.begin),Q.endSameAsBegin)Q.end=Q.begin;if(!Q.end&&!Q.endsWithParent)Q.end=/\B|\b/;if(Q.end)I.endRe=z(Q.end);if(I.terminatorEnd=E(Q.end)||"",Q.endsWithParent&&X.terminatorEnd)I.terminatorEnd+=(Q.end?"|":"")+X.terminatorEnd}if(Q.illegal)I.illegalRe=z(Q.illegal);if(!Q.contains)Q.contains=[];if(Q.contains=[].concat(...Q.contains.map(function(k){return f0(k==="self"?Q:k)})),Q.contains.forEach(function(k){D(k,I)}),Q.starts)D(Q.starts,X);return I.matcher=v(I),I}if(!Z.compilerExtensions)Z.compilerExtensions=[];if(Z.contains&&Z.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=x(Z.classNameAliases||{}),D(Z)}function wZ(Z){if(!Z)return!1;return Z.endsWithParent||wZ(Z.starts)}function f0(Z){if(Z.variants&&!Z.cachedVariants)Z.cachedVariants=Z.variants.map(function(J){return x(Z,{variants:null},J)});if(Z.cachedVariants)return Z.cachedVariants;if(wZ(Z))return x(Z,{starts:Z.starts?x(Z.starts):null});if(Object.isFrozen(Z))return x(Z);return Z}var b0="10.7.3";function N0(Z){return Boolean(Z||Z==="")}function M0(Z){let J={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Z.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,M(this.code);let $={};if(this.autoDetect)$=Z.highlightAuto(this.code),this.detectedLanguage=$.language;else $=Z.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language;return $.value},autoDetect(){return!this.language||N0(this.autodetect)},ignoreIllegals(){return!0}},render($){return $("pre",{},[$("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:J,VuePlugin:{install($){$.component("highlightjs",J)}}}}var E0={"after:highlightElement":({el:Z,result:J,text:z})=>{let $=UZ(Z);if(!$.length)return;let P=document.createElement("div");P.innerHTML=J.value,J.value=p0($,UZ(P),z)}};function qZ(Z){return Z.nodeName.toLowerCase()}function UZ(Z){let J=[];return function z($,P){for(let v=$.firstChild;v;v=v.nextSibling)if(v.nodeType===3)P+=v.nodeValue.length;else if(v.nodeType===1){if(J.push({event:"start",offset:P,node:v}),P=z(v,P),!qZ(v).match(/br|hr|img|input/))J.push({event:"stop",offset:P,node:v})}return P}(Z,0),J}function p0(Z,J,z){let $=0,P="",v=[];function D(){if(!Z.length||!J.length)return Z.length?Z:J;if(Z[0].offset!==J[0].offset)return Z[0].offset<J[0].offset?Z:J;return J[0].event==="start"?Z:J}function Q(U){function k(S){return" "+S.nodeName+'="'+M(S.value)+'"'}P+="<"+qZ(U)+[].map.call(U.attributes,k).join("")+">"}function X(U){P+="</"+qZ(U)+">"}function I(U){(U.event==="start"?Q:X)(U.node)}while(Z.length||J.length){let U=D();if(P+=M(z.substring($,U[0].offset)),$=U[0].offset,U===Z){v.reverse().forEach(X);do I(U.splice(0,1)[0]),U=D();while(U===Z&&U.length&&U[0].offset===$);v.reverse().forEach(Q)}else{if(U[0].event==="start")v.push(U[0].node);else v.pop();I(U.splice(0,1)[0])}}return P+M(z.substr($))}var KZ={},o=(Z)=>{console.error(Z)},IZ=(Z,...J)=>{console.log(`WARN: ${Z}`,...J)},w=(Z,J)=>{if(KZ[`${Z}/${J}`])return;console.log(`Deprecated as of ${Z}. ${J}`),KZ[`${Z}/${J}`]=!0},e=M,PZ=x,vZ=Symbol("nomatch"),h0=function(Z){let J=Object.create(null),z=Object.create(null),$=[],P=!0,v=/(^(<[^>]+>|\t|)+|\n)/gm,D="Could not find the language '{}', did you forget to load/include a language module?",Q={disableAutodetect:!0,name:"Plain text",contains:[]},X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:BZ};function I(q){return X.noHighlightRe.test(q)}function U(q){let V=q.className+" ";V+=q.parentNode?q.parentNode.className:"";let K=X.languageDetectRe.exec(V);if(K){let H=R(K[1]);if(!H)IZ(D.replace("{}",K[1])),IZ("Falling back to no-highlight mode for this block.",q);return H?K[1]:"no-highlight"}return V.split(/\s+/).find((H)=>I(H)||R(H))}function k(q,V,K,H){let C="",f="";if(typeof V==="object")C=q,K=V.ignoreIllegals,f=V.language,H=void 0;else w("10.7.0","highlight(lang, code, ...args) has been deprecated."),w("10.7.0",`Please use highlight(code, options) instead.
2
+ https://github.com/highlightjs/highlight.js/issues/2277`),f=q,C=V;let L={code:C,language:f};c("before:highlight",L);let O=L.result?L.result:S(L.language,L.code,K,H);return O.code=L.code,c("after:highlight",O),O}function S(q,V,K,H){function C(Y,W){let G=b.case_insensitive?W[0].toLowerCase():W[0];return Object.prototype.hasOwnProperty.call(Y.keywords,G)&&Y.keywords[G]}function f(){if(!F.keywords){j.addText(B);return}let Y=0;F.keywordPatternRe.lastIndex=0;let W=F.keywordPatternRe.exec(B),G="";while(W){G+=B.substring(Y,W.index);let y=C(F,W);if(y){let[A,s]=y;if(j.addText(G),G="",g+=s,A.startsWith("_"))G+=W[0];else{let nZ=b.classNameAliases[A]||A;j.addKeyword(W[0],nZ)}}else G+=W[0];Y=F.keywordPatternRe.lastIndex,W=F.keywordPatternRe.exec(B)}G+=B.substr(Y),j.addText(G)}function L(){if(B==="")return;let Y=null;if(typeof F.subLanguage==="string"){if(!J[F.subLanguage]){j.addText(B);return}Y=S(F.subLanguage,B,!0,FZ[F.subLanguage]),FZ[F.subLanguage]=Y.top}else Y=l(B,F.subLanguage.length?F.subLanguage:null);if(F.relevance>0)g+=Y.relevance;j.addSublanguage(Y.emitter,Y.language)}function O(){if(F.subLanguage!=null)L();else f();B=""}function T(Y){if(Y.className)j.openNode(b.classNameAliases[Y.className]||Y.className);return F=Object.create(Y,{parent:{value:F}}),F}function _(Y,W,G){let y=Q0(Y.endRe,G);if(y){if(Y["on:end"]){let A=new ZZ(Y);if(Y["on:end"](W,A),A.isMatchIgnored)y=!1}if(y){while(Y.endsParent&&Y.parent)Y=Y.parent;return Y}}if(Y.endsWithParent)return _(Y.parent,W,G)}function iZ(Y){if(F.matcher.regexIndex===0)return B+=Y[0],1;else return a=!0,0}function rZ(Y){let W=Y[0],G=Y.rule,y=new ZZ(G),A=[G.__beforeBegin,G["on:begin"]];for(let s of A){if(!s)continue;if(s(Y,y),y.isMatchIgnored)return iZ(W)}if(G&&G.endSameAsBegin)G.endRe=eZ(W);if(G.skip)B+=W;else{if(G.excludeBegin)B+=W;if(O(),!G.returnBegin&&!G.excludeBegin)B=W}return T(G),G.returnBegin?0:W.length}function lZ(Y){let W=Y[0],G=V.substr(Y.index),y=_(F,Y,G);if(!y)return vZ;let A=F;if(A.skip)B+=W;else{if(!(A.returnEnd||A.excludeEnd))B+=W;if(O(),A.excludeEnd)B=W}do{if(F.className)j.closeNode();if(!F.skip&&!F.subLanguage)g+=F.relevance;F=F.parent}while(F!==y.parent);if(y.starts){if(y.endSameAsBegin)y.starts.endRe=y.endRe;T(y.starts)}return A.returnEnd?0:W.length}function dZ(){let Y=[];for(let W=F;W!==b;W=W.parent)if(W.className)Y.unshift(W.className);Y.forEach((W)=>j.openNode(W))}let u={};function $Z(Y,W){let G=W&&W[0];if(B+=Y,G==null)return O(),0;if(u.type==="begin"&&W.type==="end"&&u.index===W.index&&G===""){if(B+=V.slice(W.index,W.index+1),!P){let y=Error("0 width match regex");throw y.languageName=q,y.badRule=u.rule,y}return 1}if(u=W,W.type==="begin")return rZ(W);else if(W.type==="illegal"&&!K){let y=Error('Illegal lexeme "'+G+'" for mode "'+(F.className||"<unnamed>")+'"');throw y.mode=F,y}else if(W.type==="end"){let y=lZ(W);if(y!==vZ)return y}if(W.type==="illegal"&&G==="")return 1;if(t>1e5&&t>W.index*3)throw Error("potential infinite loop, way more iterations than matches");return B+=G,G.length}let b=R(q);if(!b)throw o(D.replace("{}",q)),Error('Unknown language: "'+q+'"');let mZ=x0(b,{plugins:$}),n="",F=H||mZ,FZ={},j=new X.__emitter(X);dZ();let B="",g=0,N=0,t=0,a=!1;try{F.matcher.considerAll();for(;;){if(t++,a)a=!1;else F.matcher.considerAll();F.matcher.lastIndex=N;let Y=F.matcher.exec(V);if(!Y)break;let W=V.substring(N,Y.index),G=$Z(W,Y);N=Y.index+G}return $Z(V.substr(N)),j.closeAllNodes(),j.finalize(),n=j.toHTML(),{relevance:Math.floor(g),value:n,language:q,illegal:!1,emitter:j,top:F}}catch(Y){if(Y.message&&Y.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Y.message,context:V.slice(N-100,N+100),mode:Y.mode},sofar:n,relevance:0,value:e(V),emitter:j};else if(P)return{illegal:!1,relevance:0,value:e(V),emitter:j,language:q,top:F,errorRaised:Y};else throw Y}}function OZ(q){let V={relevance:0,emitter:new X.__emitter(X),value:e(q),illegal:!1,top:Q};return V.emitter.addText(q),V}function l(q,V){V=V||X.languages||Object.keys(J);let K=OZ(q),H=V.filter(R).filter(WZ).map((T)=>S(T,q,!1));H.unshift(K);let C=H.sort((T,_)=>{if(T.relevance!==_.relevance)return _.relevance-T.relevance;if(T.language&&_.language){if(R(T.language).supersetOf===_.language)return 1;else if(R(_.language).supersetOf===T.language)return-1}return 0}),[f,L]=C,O=f;return O.second_best=L,O}function TZ(q){if(!(X.tabReplace||X.useBR))return q;return q.replace(v,(V)=>{if(V===`
3
+ `)return X.useBR?"<br>":V;else if(X.tabReplace)return V.replace(/\t/g,X.tabReplace);return V})}function RZ(q,V,K){let H=V?z[V]:K;if(q.classList.add("hljs"),H)q.classList.add(H)}let SZ={"before:highlightElement":({el:q})=>{if(X.useBR)q.innerHTML=q.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
4
+ `)},"after:highlightElement":({result:q})=>{if(X.useBR)q.value=q.value.replace(/\n/g,"<br>")}},_Z=/^(<[^>]+>|\t)+/gm,xZ={"after:highlightElement":({result:q})=>{if(X.tabReplace)q.value=q.value.replace(_Z,(V)=>V.replace(/\t/g,X.tabReplace))}};function h(q){let V=null,K=U(q);if(I(K))return;c("before:highlightElement",{el:q,language:K}),V=q;let H=V.textContent,C=K?k(H,{language:K,ignoreIllegals:!0}):l(H);if(c("after:highlightElement",{el:q,result:C,text:H}),q.innerHTML=C.value,RZ(q,K,C.language),q.result={language:C.language,re:C.relevance,relavance:C.relevance},C.second_best)q.second_best={language:C.second_best.language,re:C.second_best.relevance,relavance:C.second_best.relevance}}function fZ(q){if(q.useBR)w("10.3.0","'useBR' will be removed entirely in v11.0"),w("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559");X=PZ(X,q)}let d=()=>{if(d.called)return;d.called=!0,w("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(h)};function bZ(){w("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),m=!0}let m=!1;function zZ(){if(document.readyState==="loading"){m=!0;return}document.querySelectorAll("pre code").forEach(h)}function NZ(){if(m)zZ()}if(typeof window<"u"&&window.addEventListener)window.addEventListener("DOMContentLoaded",NZ,!1);function MZ(q,V){let K=null;try{K=V(Z)}catch(H){if(o("Language definition for '{}' could not be registered.".replace("{}",q)),!P)throw H;else o(H);K=Q}if(!K.name)K.name=q;if(J[q]=K,K.rawDefinition=V.bind(null,Z),K.aliases)YZ(K.aliases,{languageName:q})}function EZ(q){delete J[q];for(let V of Object.keys(z))if(z[V]===q)delete z[V]}function pZ(){return Object.keys(J)}function hZ(q){w("10.4.0","requireLanguage will be removed entirely in v11."),w("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let V=R(q);if(V)return V;throw Error("The '{}' language is required, but not loaded.".replace("{}",q))}function R(q){return q=(q||"").toLowerCase(),J[q]||J[z[q]]}function YZ(q,{languageName:V}){if(typeof q==="string")q=[q];q.forEach((K)=>{z[K.toLowerCase()]=V})}function WZ(q){let V=R(q);return V&&!V.disableAutodetect}function cZ(q){if(q["before:highlightBlock"]&&!q["before:highlightElement"])q["before:highlightElement"]=(V)=>{q["before:highlightBlock"](Object.assign({block:V.el},V))};if(q["after:highlightBlock"]&&!q["after:highlightElement"])q["after:highlightElement"]=(V)=>{q["after:highlightBlock"](Object.assign({block:V.el},V))}}function uZ(q){cZ(q),$.push(q)}function c(q,V){let K=q;$.forEach(function(H){if(H[K])H[K](V)})}function gZ(q){return w("10.2.0","fixMarkup will be removed entirely in v11.0"),w("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),TZ(q)}function sZ(q){return w("10.7.0","highlightBlock will be removed entirely in v12.0"),w("10.7.0","Please use highlightElement now."),h(q)}Object.assign(Z,{highlight:k,highlightAuto:l,highlightAll:zZ,fixMarkup:gZ,highlightElement:h,highlightBlock:sZ,configure:fZ,initHighlighting:d,initHighlightingOnLoad:bZ,registerLanguage:MZ,unregisterLanguage:EZ,listLanguages:pZ,getLanguage:R,registerAliases:YZ,requireLanguage:hZ,autoDetection:WZ,inherit:PZ,addPlugin:uZ,vuePlugin:M0(Z).VuePlugin}),Z.debugMode=function(){P=!1},Z.safeMode=function(){P=!0},Z.versionString=b0;for(let q in i)if(typeof i[q]==="object")yZ(i[q]);return Object.assign(Z,i),Z.addPlugin(SZ),Z.addPlugin(E0),Z.addPlugin(xZ),Z},c0=h0({});LZ.exports=c0});
5
+ export{u0 as V1};
@@ -0,0 +1,2 @@
1
+ import{Vpa as j}from"./cli-0.6.14-mjqpmr9h.mjs";var q,v,z;var w=j(()=>{q=["acceptEdits","bypassPermissions","default","dontAsk","plan"],v=[...q,"auto"],z=v});
2
+ export{q as ifa,v as jfa,z as kfa,w as lfa};
@@ -0,0 +1,2 @@
1
+ import{E6 as f,H5 as M,P2 as G,T2 as W,U2 as V,e6 as j}from"./cli-0.6.14-hwwpzjf6.mjs";import{Sba as x,Tba as B,V9 as w,W9 as z,Z9 as Y}from"./cli-0.6.14-zs6qf39k.mjs";import{Mga as J,Uga as F}from"./cli-0.6.14-41a9k5hf.mjs";import{Vpa as Z}from"./cli-0.6.14-mjqpmr9h.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
2
+ export{g as GS,p as HS,X as IS,S as JS,y as KS,I as LS,b as MS};
@@ -0,0 +1,6 @@
1
+ import{Vpa as j}from"./cli-0.6.14-mjqpmr9h.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 Z6,O1 as _6,e as $6};
@@ -0,0 +1,2 @@
1
+ import{Kd as Jq,Od as Tq}from"./cli-0.6.14-wadqcwj7.mjs";import{Vd as zq,Wd as bq}from"./cli-0.6.14-s1dz4xc5.mjs";import{$J as a,IJ as S,Jn as n,Kn as yq,LJ as Nq,OK as D,RK as Cq,WJ as s,XJ as _q,cK as l,gK as t,lK as e,mH as u,nH as fq,nK as Rq,uK as qq,xF as r,yF as Gq,yK as Fq}from"./cli-0.6.14-sfan5yg2.mjs";import{HX as i,IX as Kq,RX as Bq,RZ as Oq,kZ as F,mZ as C}from"./cli-0.6.14-01m8v54j.mjs";import{X1 as v,Y1 as R,Z1 as p}from"./cli-0.6.14-4txh6031.mjs";import{_1 as Lq}from"./cli-0.6.14-f2qf9rpv.mjs";import{B_ as vq,e_ as x,k8 as g,l8 as Zq,nea as m,vea as wq,w8 as $,w9 as o,x9 as Hq,y8 as Xq}from"./cli-0.6.14-zs6qf39k.mjs";import{$ha as Yq,Yha as B}from"./cli-0.6.14-e4k2wv6r.mjs";import{pia as P,sia as h,xia as Wq}from"./cli-0.6.14-tsj8ceqz.mjs";import{Rpa as d,Vpa as Vq}from"./cli-0.6.14-mjqpmr9h.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as Ad,Yz as Bd,Dq as Cd};
@@ -0,0 +1,2 @@
1
+ import{Upa as n,Vpa as o}from"./cli-0.6.14-mjqpmr9h.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
+ export{i as Vga,c as Wga,p as Xga,u as Yga};
@@ -0,0 +1,4 @@
1
+ import{Qpa as Z}from"./cli-0.6.14-ebpc2q9b.mjs";import{Tpa as Y,Wpa as O}from"./cli-0.6.14-mjqpmr9h.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
+ export{ye as Jpa};
@@ -0,0 +1,2 @@
1
+ import{CY as T,DY as X,EY as I,GY as Y,HY as p,UY as v,VY as Z,WY as D}from"./cli-0.6.14-01m8v54j.mjs";import{X1 as P,Z1 as V}from"./cli-0.6.14-4txh6031.mjs";import{_1 as H}from"./cli-0.6.14-f2qf9rpv.mjs";import{ooa as F,xla as W}from"./cli-0.6.14-f8c4q74r.mjs";import{Rpa as A,Vpa as C}from"./cli-0.6.14-mjqpmr9h.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
2
+ export{u as Dh,M as Eh};
@@ -0,0 +1,2 @@
1
+ import{Rca as L,nea as B,vea as N,wca as A}from"./cli-0.6.14-zs6qf39k.mjs";import{$ha as K,Yha as z}from"./cli-0.6.14-e4k2wv6r.mjs";import{Upa as I,Vpa as J}from"./cli-0.6.14-mjqpmr9h.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=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
+ export{P as BT,Q as CT,R as DT,H as ET,U as FT,V as GT,W as HT};
@@ -0,0 +1,2 @@
1
+ import{Upa as x,Vpa as z}from"./cli-0.6.14-mjqpmr9h.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
+ export{A as P0,F as Q0,G as R0,H as S0,J as T0};
@@ -0,0 +1,4 @@
1
+ import{pT as W,qT as P}from"./cli-0.6.14-twrb9ymv.mjs";import{Cca as B,Dca as G,Rca as S,Y8 as M,Z8 as R,f$ as A,h$ as y,nea as O,u9 as _,vea as F,x8 as K,y8 as I}from"./cli-0.6.14-zs6qf39k.mjs";import{fga as D,gga as x}from"./cli-0.6.14-45cmq90s.mjs";import{Noa as $,Ooa as z}from"./cli-0.6.14-zqc493f5.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
2
+ `)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
3
+ `)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
4
+ export{d as Aa,E as Ba,p as Ca,c as Da,r as Ea};
@@ -0,0 +1,34 @@
1
+ import{RZ as IT,iZ as X,oZ as JT,pZ as ST}from"./cli-0.6.14-01m8v54j.mjs";import{$6 as VT,_6 as K}from"./cli-0.6.14-0ycrhwsw.mjs";import{B_ as XT,Cca as l,Dca as d,F_ as FT,I_ as qT,J_ as OT,Rca as D,Xba as f,Zba as YT,f$ as Q,h$ as UT,nea as H,tca as z,u_ as s,vea as n,w8 as Y,w9 as BT,wca as V,x9 as _T,y8 as o}from"./cli-0.6.14-zs6qf39k.mjs";import{fga as E,gga as QT}from"./cli-0.6.14-45cmq90s.mjs";import{Bha as GT,Cha as $T,Gha as zT,Kha as P,Oha as KT}from"./cli-0.6.14-e4k2wv6r.mjs";import{via as u,xia as LT}from"./cli-0.6.14-tsj8ceqz.mjs";import{Noa as r,Ooa as ZT}from"./cli-0.6.14-zqc493f5.mjs";import{Vpa as I}from"./cli-0.6.14-mjqpmr9h.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
2
+
3
+ No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
4
+ `;else if(B==="windows")J=` • Windows: Windows Terminal
5
+ `;let F=`Terminal setup cannot be run from ${$}.
6
+
7
+ This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
+ ${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
+
10
+ To set up the shortcut (optional):
11
+ 1. Exit tmux/screen temporarily
12
+ 2. Run /terminal-setup directly in one of these terminals:
13
+ ${J} • IDE: VSCode, Cursor, Windsurf, Zed
14
+ • Other: Alacritty
15
+ 3. Return to tmux/screen - settings will persist
16
+
17
+ ${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
18
+ {
19
+ "key": "shift+enter",
20
+ "command": "workbench.action.terminal.sendSequence",
21
+ "args": { "text": "\\u001b\\r" },
22
+ "when": "terminalFocus"
23
+ }
24
+ ]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
25
+ `))F+=`
26
+ `;return F+=`
27
+ [[keyboard.bindings]]
28
+ key = "Return"
29
+ mods = "Shift"
30
+ chars = "\\u001B\\r"
31
+ `,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
32
+ `,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
33
+ `,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
+ export{a as lX,h as mX,e as nX,TT as oX,Ww as pX,uT as qX,ET as rX,Lw as sX,zw as tX,Vw as uX,_w as vX,bT as wX};
@@ -0,0 +1 @@
1
+ import{_fa as q,aga as A,bga as x,cga as B}from"./cli-0.6.14-g818hb3n.mjs";import{Gha as J}from"./cli-0.6.14-e4k2wv6r.mjs";import{xia as G}from"./cli-0.6.14-tsj8ceqz.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
@@ -0,0 +1,15 @@
1
+ import{Ay as k,HM as f,JM as z,RP as _,Tj as J,zy as L}from"./cli-0.6.14-sfan5yg2.mjs";import{E_ as F,J_ as A}from"./cli-0.6.14-zs6qf39k.mjs";import{_fa as Y,aga as h,bga as H,cga as X}from"./cli-0.6.14-g818hb3n.mjs";import{Vga as W,Yga as M}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as R,Yha as D}from"./cli-0.6.14-e4k2wv6r.mjs";import{ema as q,ooa as C}from"./cli-0.6.14-f8c4q74r.mjs";import{Vpa as V}from"./cli-0.6.14-mjqpmr9h.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
+ `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
+
4
+ Return JSON with a single "title" field.
5
+
6
+ Good examples:
7
+ {"title": "Fix login button on mobile"}
8
+ {"title": "Add OAuth authentication"}
9
+ {"title": "Debug failing CI tests"}
10
+ {"title": "Refactor API client error handling"}
11
+
12
+ Bad (too vague): {"title": "Code changes"}
13
+ Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
+ Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
+ export{S as ie,T as je,I as ke};
@@ -0,0 +1,2 @@
1
+ import{HS as N,IS as p,JS as F,LS as U,MS as A}from"./cli-0.6.14-0kk6g260.mjs";import{F6 as L,G6 as P,J6 as O,L6 as V,V6 as x,X6 as H,Y6 as k}from"./cli-0.6.14-p380n7ja.mjs";import{Gba as K,R_ as I,Rca as M,T_ as D,rba as X,wca as Z,xba as Y}from"./cli-0.6.14-zs6qf39k.mjs";import{Dia as $,Nia as b}from"./cli-0.6.14-rn7sy805.mjs";import{Vpa as G}from"./cli-0.6.14-mjqpmr9h.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
2
+ export{r as Cc,g as Dc,j as Ec};
@@ -0,0 +1,2 @@
1
+ import{X1 as v,Z1 as D}from"./cli-0.6.14-4txh6031.mjs";import{Wpa as B}from"./cli-0.6.14-mjqpmr9h.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-0.6.14-nfgrt17c.mjs"),J=z??import("./REPL-0.6.14-m1rtq4nq.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
2
+ export{N as Sa,O as Ta};
@@ -0,0 +1,2 @@
1
+ import{s3 as H,t3 as _,u3 as Y,v3 as y}from"./cli-0.6.14-hwwpzjf6.mjs";import{s8 as M,u8 as f}from"./cli-0.6.14-zs6qf39k.mjs";import{$ga as F,$ha as S,Kha as P,Oha as p,Yha as x,bha as b}from"./cli-0.6.14-e4k2wv6r.mjs";import{qia as V,xia as R}from"./cli-0.6.14-tsj8ceqz.mjs";import{Dia as U,Nia as g}from"./cli-0.6.14-rn7sy805.mjs";import{Ama as D,Bma as W,ooa as A}from"./cli-0.6.14-f8c4q74r.mjs";import{Vpa as L}from"./cli-0.6.14-mjqpmr9h.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()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(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 Qq(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,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var h=L(()=>{b();f();g();Z=new Map});var $q;var m=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_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"}});
2
+ export{k as OU,s as PU,o as QU,u as RU,e as SU,qq as TU,Gq as UU,Jq as VU,Kq as WU,Qq as XU,h as YU,$q as ZU,m as _U};
@@ -0,0 +1,2 @@
1
+ import{yi as W,zi as B}from"./cli-0.6.14-wat8851e.mjs";import{X1 as U,Z1 as J}from"./cli-0.6.14-4txh6031.mjs";import{v2 as V,w2 as v}from"./cli-0.6.14-67c3dtne.mjs";import{E6 as $,d3 as N,e3 as _,e6 as Q,j6 as R}from"./cli-0.6.14-hwwpzjf6.mjs";import{nea as K,vea as Z}from"./cli-0.6.14-zs6qf39k.mjs";import{Vpa as Y}from"./cli-0.6.14-mjqpmr9h.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
2
+ export{w as Ub,E as Vb};
@@ -0,0 +1,2 @@
1
+ import{Vpa as M}from"./cli-0.6.14-mjqpmr9h.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as qi,W as ri,X as si,Z as ti,Y as ui};
@@ -0,0 +1,2 @@
1
+ import{D6 as v,E6 as C}from"./cli-0.6.14-hwwpzjf6.mjs";import{Sba as Z,Tba as V,qda as x,rda as Y}from"./cli-0.6.14-zs6qf39k.mjs";import{Hfa as O,vfa as R,zfa as W}from"./cli-0.6.14-2kj6t828.mjs";import{Tga as Q,Uga as M}from"./cli-0.6.14-41a9k5hf.mjs";import{$ha as L,Bha as P,Gha as I,Yha as f}from"./cli-0.6.14-e4k2wv6r.mjs";import{qia as w,xia as H}from"./cli-0.6.14-tsj8ceqz.mjs";import{Noa as N,Ooa as F}from"./cli-0.6.14-zqc493f5.mjs";import{Bpa as U,jpa as X}from"./cli-0.6.14-8fwb0rxq.mjs";import{Spa as h,Vpa as B}from"./cli-0.6.14-mjqpmr9h.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
+ export{u as $U,n as aV,o as bV,t as cV,d as dV};
@@ -0,0 +1,2 @@
1
+ import{iU as k,jU as f,zU as u}from"./cli-0.6.14-by6pfc25.mjs";import{lW as C,xW as d}from"./cli-0.6.14-2jgq14za.mjs";import{r2 as A,t2 as F}from"./cli-0.6.14-zcj7h5kt.mjs";import{P2 as q,U2 as i}from"./cli-0.6.14-hwwpzjf6.mjs";import{I6 as W,L6 as _,S6 as j,T6 as w,Y6 as I}from"./cli-0.6.14-p380n7ja.mjs";import{nea as V,vea as U}from"./cli-0.6.14-zs6qf39k.mjs";import{Tga as M,Uga as v}from"./cli-0.6.14-41a9k5hf.mjs";import{$ha as x,Bha as X,Cha as R,Gha as p,Yha as J}from"./cli-0.6.14-e4k2wv6r.mjs";import{qia as P,xia as T}from"./cli-0.6.14-tsj8ceqz.mjs";import{Wpa as O}from"./cli-0.6.14-mjqpmr9h.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-0.6.14-ecgg0wpw.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
2
+ export{b as T,$z as U,Xz as V,Wz as W,Lz as X};
@@ -0,0 +1,2 @@
1
+ import{Vpa as g}from"./cli-0.6.14-mjqpmr9h.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
+ export{Bq as AU,d as BU,$J as CU,DJ as DU,GJ as EU};
@@ -0,0 +1,2 @@
1
+ import{Dia as q,Nia as U}from"./cli-0.6.14-rn7sy805.mjs";import{Upa as L,Vpa as X}from"./cli-0.6.14-mjqpmr9h.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
2
+ export{G as fW,Y as gW,Z as hW,$ as iW,Q as jW,_ as kW,v as lW,E as mW,A as nW,h as oW,u as pW,f as qW,w as rW,S as sW,P as tW,I as uW,l as vW,y as wW,g as xW};
@@ -0,0 +1,2 @@
1
+ import{Vpa as C}from"./cli-0.6.14-mjqpmr9h.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
2
+ export{O as mfa,Q as nfa,R as ofa,S as pfa,T as qfa,U as rfa,W as sfa,X as tfa,Y as ufa,Z as vfa,$ as wfa,v as xfa,w as yfa,P as zfa,B as Afa,D as Bfa,h as Cfa,N as Dfa,m as Efa,c as Ffa,F as Gfa,J as Hfa};
@@ -0,0 +1,2 @@
1
+ import{Vpa as b}from"./cli-0.6.14-mjqpmr9h.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
2
+ export{j as Ve,k as We,q as Xe,w as Ye,g as Ze};
@@ -0,0 +1,2 @@
1
+ import{Jn as y,Kn as p,xF as O,zF as j}from"./cli-0.6.14-sfan5yg2.mjs";import{RX as S,RZ as v,kZ as F,mZ as I,qZ as R}from"./cli-0.6.14-01m8v54j.mjs";import{X1 as Z,Y1 as N,Z1 as U}from"./cli-0.6.14-4txh6031.mjs";import{_1 as d}from"./cli-0.6.14-f2qf9rpv.mjs";import{Gba as E,tba as M}from"./cli-0.6.14-zs6qf39k.mjs";import{Vga as H,Yga as b}from"./cli-0.6.14-106t4q8a.mjs";import{Rpa as k}from"./cli-0.6.14-mjqpmr9h.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
+ export{x as Ja,l as Ka};
@@ -0,0 +1,2 @@
1
+ import{hp as W,ip as n,ky as I,ly as P,py as t}from"./cli-0.6.14-sfan5yg2.mjs";import{d2 as H,e2 as p}from"./cli-0.6.14-7202pzsa.mjs";import{f2 as C,h2 as i}from"./cli-0.6.14-zbg4rtam.mjs";import{E6 as l,F5 as v,P2 as S,U2 as c,e6 as R,k6 as V}from"./cli-0.6.14-hwwpzjf6.mjs";import{Qda as T,Rca as O,Rda as Y,Sba as q,Tba as u,Xda as y,_da as k,bea as g,nea as D,tca as E,vea as m,wca as X}from"./cli-0.6.14-zs6qf39k.mjs";import{_fa as G,aga as f,bga as $,cga as h}from"./cli-0.6.14-g818hb3n.mjs";import{Oga as Z,Tga as _,Uga as M}from"./cli-0.6.14-41a9k5hf.mjs";import{$ha as b,Yha as x}from"./cli-0.6.14-e4k2wv6r.mjs";import{Bpa as A,jpa as Q}from"./cli-0.6.14-8fwb0rxq.mjs";import{Vpa as U}from"./cli-0.6.14-mjqpmr9h.mjs";async function s(){if(q())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 J=`${_().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":Z};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(J,{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}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.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:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
2
+ export{Yj as gc,r as hc};
@@ -0,0 +1,2 @@
1
+ import{Vpa as M}from"./cli-0.6.14-mjqpmr9h.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
2
+ export{W as Lga,Q as Mga,K as Nga,X as Oga,Y as Pga,Z as Qga,y as Rga,G as Sga,h as Tga,w as Uga};
@@ -0,0 +1,2 @@
1
+ import{Bka as B,ooa as H,xka as z}from"./cli-0.6.14-f8c4q74r.mjs";import{Vpa as x}from"./cli-0.6.14-mjqpmr9h.mjs";import{AsyncLocalStorage as I}from"async_hooks";function Q(E,F){return D.run(E,F)}function J(){return D.getStore()??B()}function R(){try{return J()}catch{return z()}}var D;var K=x(()=>{H();D=new I});var U="command-name",V="command-message",W="command-args",X="bash-input",Y="bash-stdout",Z="bash-stderr",$="local-command-stdout",j="local-command-stderr",q="local-command-caveat",A,G="tick",L="task-notification",_="task-id",b="tool-use-id",k="task-type",p="output-file",v="status",C="summary",O="worktree",y="worktreePath",S="worktreeBranch",f="remote-review",m="remote-review-progress",u="teammate-message",h="channel",l="fork-boilerplate",w="Your directive: ",g,d;var M=x(()=>{A=["bash-input","bash-stdout","bash-stderr","local-command-stdout","local-command-stderr","local-command-caveat"],g=["help","-h","--help"],d=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
+ export{Q as dga,J as ega,R as fga,K as gga,U as hga,V as iga,W as jga,X as kga,Y as lga,Z as mga,$ as nga,j as oga,q as pga,A as qga,G as rga,L as sga,_ as tga,b as uga,k as vga,p as wga,v as xga,C as yga,O as zga,y as Aga,S as Bga,f as Cga,m as Dga,u as Ega,h as Fga,l as Gga,w as Hga,g as Iga,d as Jga,M as Kga};
@@ -0,0 +1,2 @@
1
+ import{$ha as $,Yha as Q}from"./cli-0.6.14-e4k2wv6r.mjs";import{sia as K,xia as Z}from"./cli-0.6.14-tsj8ceqz.mjs";import{Aia as J,Nia as Y}from"./cli-0.6.14-rn7sy805.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
2
+ export{T as Q,w as R,y as S};
@@ -0,0 +1,2 @@
1
+ import{Vpa as r}from"./cli-0.6.14-mjqpmr9h.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},c;var p=r(()=>{i=Object.getOwnPropertyNames,c=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.28.1",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0","form-data@>=4.0.0 <4.0.6":"4.0.6","@babel/core@>=7.0.0 <7.29.6":"7.29.7","esbuild@>=0.17.0 <0.28.1":"0.28.1"}}}}})});
2
+ export{c as ai,p as bi};