@claudiolabs/claudin 1.1.28 → 1.1.30

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 (918) hide show
  1. package/dist/chunks/AgentTool-1.1.30-3wq8zzaa.mjs +1 -0
  2. package/dist/chunks/App-1.1.30-ywb53g2c.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.30-wtpe9n8e.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.30-776xks64.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.30-bjm91hx0.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.30-rcy7msd9.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.30-bexsqxcb.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.30-jfhq3h4z.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.30-kqds97f2.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.30-48qzfckm.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.30-tfv4wc5m.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.30-z31ecx5v.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.30-f17w1kzx.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.30-fzajgngq.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.30-15c4h452.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.30-xajg2p3r.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.30-8jrhxd1r.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.30-74pzzw1d.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.30-8bmshptz.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.30-v5fnwt30.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.30-v55nsv7g.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.30-2hg56v1b.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.30-r2hwd3a6.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.30-y6hny4s2.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.30-cq18pvam.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.30-qp3cr0fk.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.30-ydaqb760.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.30-gta8twv0.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.30-rxcmv28v.mjs +1 -0
  30. package/dist/chunks/agents-1.1.30-d5hxfnnt.mjs +3 -0
  31. package/dist/chunks/agents-1.1.30-q3f25044.mjs +110 -0
  32. package/dist/chunks/api-1.1.30-30hng0e4.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.30-mhcedd5b.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.30-1zxsr09t.mjs +1 -0
  35. package/dist/chunks/auth-1.1.30-mmymct98.mjs +1 -0
  36. package/dist/chunks/auth-1.1.30-ntfwzwxz.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.30-9jd1avyj.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.30-8cnp296z.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.30-f0wbf5ha.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.30-b7t4y9th.mjs +1 -0
  41. package/dist/chunks/branch-1.1.30-x77nhthz.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.30-scfmh172.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.30-8hd92b6p.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.30-n5c6p8kd.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.30-9cpc29zx.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.30-gsa0eerc.mjs +1 -0
  47. package/dist/chunks/btw-1.1.30-gyh84rd1.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.30-vzfs4xt1.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.30-qjppzj5p.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.30-w1c0ekr4.mjs +4 -0
  51. package/dist/chunks/caches-1.1.30-6rye5cdg.mjs +1 -0
  52. package/dist/chunks/cd-1.1.30-tn402589.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.30-sm5ncwqz.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.30-36eyf63s.mjs +1 -0
  55. package/dist/chunks/clear-1.1.30-p5p9kp96.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.30-nrdembs6.mjs +1 -0
  57. package/dist/chunks/cli-1.1.30-053d5ph7.mjs +2 -0
  58. package/dist/chunks/cli-1.1.30-092dkm0p.mjs +2 -0
  59. package/dist/chunks/cli-1.1.30-0e0e9msg.mjs +17 -0
  60. package/dist/chunks/cli-1.1.30-0fz758j0.mjs +2 -0
  61. package/dist/chunks/cli-1.1.30-0qcyzbs1.mjs +2 -0
  62. package/dist/chunks/cli-1.1.30-0yafp3ky.mjs +2 -0
  63. package/dist/chunks/cli-1.1.30-1j4dyr5r.mjs +2 -0
  64. package/dist/chunks/cli-1.1.30-1k2bwved.mjs +3 -0
  65. package/dist/chunks/cli-1.1.30-1qczaqkt.mjs +2 -0
  66. package/dist/chunks/cli-1.1.30-1wfffyq2.mjs +2 -0
  67. package/dist/chunks/cli-1.1.30-1xmhk219.mjs +2 -0
  68. package/dist/chunks/cli-1.1.30-1ybfyckn.mjs +2 -0
  69. package/dist/chunks/cli-1.1.30-1zsgv3yp.mjs +2 -0
  70. package/dist/chunks/cli-1.1.30-2af3eeg6.mjs +2 -0
  71. package/dist/chunks/cli-1.1.30-2hw4vdpg.mjs +2 -0
  72. package/dist/chunks/cli-1.1.30-2pqs37e0.mjs +3 -0
  73. package/dist/chunks/cli-1.1.30-2y4yj9sd.mjs +2 -0
  74. package/dist/chunks/cli-1.1.30-2yd2af56.mjs +50 -0
  75. package/dist/chunks/cli-1.1.30-2zq3aea6.mjs +2 -0
  76. package/dist/chunks/cli-1.1.30-322advqh.mjs +4 -0
  77. package/dist/chunks/cli-1.1.30-3b1nw95m.mjs +2 -0
  78. package/dist/chunks/cli-1.1.30-3c6j35rs.mjs +2 -0
  79. package/dist/chunks/cli-1.1.30-3x86c2pa.mjs +24 -0
  80. package/dist/chunks/cli-1.1.30-489cr054.mjs +2 -0
  81. package/dist/chunks/cli-1.1.30-4d90v0pd.mjs +6 -0
  82. package/dist/chunks/cli-1.1.30-4kytbyxq.mjs +15 -0
  83. package/dist/chunks/cli-1.1.30-4t03vay7.mjs +2 -0
  84. package/dist/chunks/cli-1.1.30-4wqfr0ya.mjs +2 -0
  85. package/dist/chunks/cli-1.1.30-4zrfbe17.mjs +2 -0
  86. package/dist/chunks/cli-1.1.30-51kze0eh.mjs +2 -0
  87. package/dist/chunks/cli-1.1.30-569esepc.mjs +60 -0
  88. package/dist/chunks/cli-1.1.30-57b410qh.mjs +25 -0
  89. package/dist/chunks/cli-1.1.30-5cc6nada.mjs +2 -0
  90. package/dist/chunks/cli-1.1.30-5f76gnk2.mjs +2 -0
  91. package/dist/chunks/cli-1.1.30-5j2mdj81.mjs +2 -0
  92. package/dist/chunks/cli-1.1.30-5pn20fxz.mjs +2 -0
  93. package/dist/chunks/cli-1.1.30-5r9pakw5.mjs +2 -0
  94. package/dist/chunks/cli-1.1.30-63ndyxgm.mjs +2 -0
  95. package/dist/chunks/cli-1.1.30-6eaj3n76.mjs +9 -0
  96. package/dist/chunks/cli-1.1.30-6phpx599.mjs +2 -0
  97. package/dist/chunks/cli-1.1.30-6pp4z5px.mjs +2 -0
  98. package/dist/chunks/cli-1.1.30-7a064pfm.mjs +2 -0
  99. package/dist/chunks/cli-1.1.30-7bdj31x8.mjs +2 -0
  100. package/dist/chunks/cli-1.1.30-7dtpd1ra.mjs +2 -0
  101. package/dist/chunks/cli-1.1.30-7h45a0x6.mjs +6 -0
  102. package/dist/chunks/cli-1.1.30-7ma427qh.mjs +8 -0
  103. package/dist/chunks/cli-1.1.30-7q8f7mp7.mjs +2 -0
  104. package/dist/chunks/cli-1.1.30-84cemtwn.mjs +4 -0
  105. package/dist/chunks/cli-1.1.30-87zsgch6.mjs +21 -0
  106. package/dist/chunks/cli-1.1.30-8a5gwcde.mjs +2 -0
  107. package/dist/chunks/cli-1.1.30-8e36e2c1.mjs +2 -0
  108. package/dist/chunks/cli-1.1.30-8hcc4gax.mjs +15 -0
  109. package/dist/chunks/cli-1.1.30-8t3c3a4k.mjs +20 -0
  110. package/dist/chunks/cli-1.1.30-8vr9ea9g.mjs +2 -0
  111. package/dist/chunks/cli-1.1.30-8zyep40e.mjs +2 -0
  112. package/dist/chunks/cli-1.1.30-902jyjpx.mjs +2 -0
  113. package/dist/chunks/cli-1.1.30-917y0q4m.mjs +2 -0
  114. package/dist/chunks/cli-1.1.30-92t0b3hs.mjs +2 -0
  115. package/dist/chunks/cli-1.1.30-94vhzqcd.mjs +2 -0
  116. package/dist/chunks/cli-1.1.30-9685r12p.mjs +2 -0
  117. package/dist/chunks/cli-1.1.30-9h8mm4pg.mjs +2 -0
  118. package/dist/chunks/cli-1.1.30-9m8jc7as.mjs +4 -0
  119. package/dist/chunks/cli-1.1.30-9rn8qz9x.mjs +2 -0
  120. package/dist/chunks/cli-1.1.30-9s9qp1m7.mjs +2 -0
  121. package/dist/chunks/cli-1.1.30-a1phf5vm.mjs +2 -0
  122. package/dist/chunks/cli-1.1.30-a2ww16zh.mjs +2 -0
  123. package/dist/chunks/cli-1.1.30-a2xctbvc.mjs +18 -0
  124. package/dist/chunks/cli-1.1.30-amecp2v0.mjs +3 -0
  125. package/dist/chunks/cli-1.1.30-aqvjv0jh.mjs +4 -0
  126. package/dist/chunks/cli-1.1.30-aw93z4yt.mjs +2 -0
  127. package/dist/chunks/cli-1.1.30-b1mqmct7.mjs +4 -0
  128. package/dist/chunks/cli-1.1.30-bfqnz691.mjs +2 -0
  129. package/dist/chunks/cli-1.1.30-bgrp9j3q.mjs +2 -0
  130. package/dist/chunks/cli-1.1.30-bwdw42tf.mjs +24 -0
  131. package/dist/chunks/cli-1.1.30-bzjamz5p.mjs +2 -0
  132. package/dist/chunks/cli-1.1.30-c0b5kmhr.mjs +2 -0
  133. package/dist/chunks/cli-1.1.30-c2e2yeaj.mjs +2 -0
  134. package/dist/chunks/cli-1.1.30-c44kpd39.mjs +2 -0
  135. package/dist/chunks/cli-1.1.30-c70p43p6.mjs +133 -0
  136. package/dist/chunks/cli-1.1.30-c9xtenrd.mjs +2 -0
  137. package/dist/chunks/cli-1.1.30-ca1a9ntm.mjs +2 -0
  138. package/dist/chunks/cli-1.1.30-cb34mrvh.mjs +2 -0
  139. package/dist/chunks/cli-1.1.30-cgcdnarw.mjs +2 -0
  140. package/dist/chunks/cli-1.1.30-cjetc80p.mjs +2 -0
  141. package/dist/chunks/cli-1.1.30-cwc68erm.mjs +2 -0
  142. package/dist/chunks/cli-1.1.30-d3n6dp6r.mjs +2 -0
  143. package/dist/chunks/cli-1.1.30-d8chymja.mjs +2 -0
  144. package/dist/chunks/cli-1.1.30-d9sphwgb.mjs +3 -0
  145. package/dist/chunks/cli-1.1.30-dbbhdfn1.mjs +2 -0
  146. package/dist/chunks/cli-1.1.30-dv38qw87.mjs +3 -0
  147. package/dist/chunks/cli-1.1.30-e0fcx44n.mjs +2 -0
  148. package/dist/chunks/cli-1.1.30-e15hq24m.mjs +2 -0
  149. package/dist/chunks/cli-1.1.30-eg5krttf.mjs +2 -0
  150. package/dist/chunks/cli-1.1.30-ehk76t59.mjs +2 -0
  151. package/dist/chunks/cli-1.1.30-em031y3s.mjs +2 -0
  152. package/dist/chunks/cli-1.1.30-endh0hmx.mjs +2 -0
  153. package/dist/chunks/cli-1.1.30-ensp6hjk.mjs +2 -0
  154. package/dist/chunks/cli-1.1.30-erqva8zn.mjs +2 -0
  155. package/dist/chunks/cli-1.1.30-etnn22zf.mjs +2 -0
  156. package/dist/chunks/cli-1.1.30-f6tarbyn.mjs +2 -0
  157. package/dist/chunks/cli-1.1.30-f8qnd0hw.mjs +20 -0
  158. package/dist/chunks/cli-1.1.30-f9cckkn6.mjs +7 -0
  159. package/dist/chunks/cli-1.1.30-f9tp1b8r.mjs +6 -0
  160. package/dist/chunks/cli-1.1.30-facztg9n.mjs +133 -0
  161. package/dist/chunks/cli-1.1.30-fct5wt67.mjs +2 -0
  162. package/dist/chunks/cli-1.1.30-fm4mj7wy.mjs +2 -0
  163. package/dist/chunks/cli-1.1.30-fpa799y4.mjs +3 -0
  164. package/dist/chunks/cli-1.1.30-fzan6qjf.mjs +2 -0
  165. package/dist/chunks/cli-1.1.30-g17zgmea.mjs +3 -0
  166. package/dist/chunks/cli-1.1.30-g3qd3ec3.mjs +2 -0
  167. package/dist/chunks/cli-1.1.30-g4c9mx6r.mjs +2 -0
  168. package/dist/chunks/cli-1.1.30-g9qsgq1r.mjs +2 -0
  169. package/dist/chunks/cli-1.1.30-gdmbygdz.mjs +2 -0
  170. package/dist/chunks/cli-1.1.30-gev0f31f.mjs +24 -0
  171. package/dist/chunks/cli-1.1.30-gk8x7f6m.mjs +2 -0
  172. package/dist/chunks/cli-1.1.30-gncy6j5b.mjs +2 -0
  173. package/dist/chunks/cli-1.1.30-gv4z21b9.mjs +4 -0
  174. package/dist/chunks/cli-1.1.30-gvp1pabq.mjs +2 -0
  175. package/dist/chunks/cli-1.1.30-h5yj1axw.mjs +6 -0
  176. package/dist/chunks/cli-1.1.30-h9pfkdf2.mjs +2 -0
  177. package/dist/chunks/cli-1.1.30-ha9qd4n4.mjs +2 -0
  178. package/dist/chunks/cli-1.1.30-he73pyqy.mjs +2 -0
  179. package/dist/chunks/cli-1.1.30-hncb22wm.mjs +2 -0
  180. package/dist/chunks/cli-1.1.30-hxy861gq.mjs +2 -0
  181. package/dist/chunks/cli-1.1.30-j29r8pgr.mjs +4 -0
  182. package/dist/chunks/cli-1.1.30-j2wahkcp.mjs +6 -0
  183. package/dist/chunks/cli-1.1.30-j46p2me4.mjs +3 -0
  184. package/dist/chunks/cli-1.1.30-jb34rbbt.mjs +7 -0
  185. package/dist/chunks/cli-1.1.30-jevxd0jk.mjs +2 -0
  186. package/dist/chunks/cli-1.1.30-jgxnrbme.mjs +2 -0
  187. package/dist/chunks/cli-1.1.30-jvqc1jfc.mjs +2 -0
  188. package/dist/chunks/cli-1.1.30-jyvb3jrk.mjs +3 -0
  189. package/dist/chunks/cli-1.1.30-kx2svwf6.mjs +2 -0
  190. package/dist/chunks/cli-1.1.30-kzbhw1mf.mjs +2 -0
  191. package/dist/chunks/cli-1.1.30-m5fx6y02.mjs +2 -0
  192. package/dist/chunks/cli-1.1.30-m5ta5zwh.mjs +2 -0
  193. package/dist/chunks/cli-1.1.30-m62yy9h8.mjs +2 -0
  194. package/dist/chunks/cli-1.1.30-mebteknr.mjs +206 -0
  195. package/dist/chunks/cli-1.1.30-mef66hvr.mjs +10 -0
  196. package/dist/chunks/cli-1.1.30-mgj06132.mjs +2 -0
  197. package/dist/chunks/cli-1.1.30-mpmg84pk.mjs +3 -0
  198. package/dist/chunks/cli-1.1.30-mz5a585j.mjs +9 -0
  199. package/dist/chunks/cli-1.1.30-n306djbd.mjs +2 -0
  200. package/dist/chunks/cli-1.1.30-naaxghkh.mjs +2 -0
  201. package/dist/chunks/cli-1.1.30-nhfsct38.mjs +2 -0
  202. package/dist/chunks/cli-1.1.30-p3m6d618.mjs +2 -0
  203. package/dist/chunks/cli-1.1.30-p63h2njx.mjs +42 -0
  204. package/dist/chunks/cli-1.1.30-p6bsj13y.mjs +2 -0
  205. package/dist/chunks/cli-1.1.30-pc2wp50b.mjs +5504 -0
  206. package/dist/chunks/cli-1.1.30-pc6nevmd.mjs +2 -0
  207. package/dist/chunks/cli-1.1.30-pez1sh7w.mjs +2 -0
  208. package/dist/chunks/cli-1.1.30-pg6jbgcq.mjs +12 -0
  209. package/dist/chunks/cli-1.1.30-pgx35gqd.mjs +2 -0
  210. package/dist/chunks/cli-1.1.30-pw08jvvr.mjs +3 -0
  211. package/dist/chunks/cli-1.1.30-pzp496y6.mjs +2 -0
  212. package/dist/chunks/cli-1.1.30-q00wdmf9.mjs +2 -0
  213. package/dist/chunks/cli-1.1.30-q51sf5gk.mjs +2 -0
  214. package/dist/chunks/cli-1.1.30-q8sd13v9.mjs +2 -0
  215. package/dist/chunks/cli-1.1.30-q8xgmv1x.mjs +39 -0
  216. package/dist/chunks/cli-1.1.30-qcwzchrc.mjs +2 -0
  217. package/dist/chunks/cli-1.1.30-qdnzwgr7.mjs +2 -0
  218. package/dist/chunks/cli-1.1.30-qjdmnkfj.mjs +2 -0
  219. package/dist/chunks/cli-1.1.30-qm4vn98q.mjs +2 -0
  220. package/dist/chunks/cli-1.1.30-qn71nvqn.mjs +2 -0
  221. package/dist/chunks/cli-1.1.30-qykdr3bk.mjs +2 -0
  222. package/dist/chunks/cli-1.1.30-r4ap6bq3.mjs +4 -0
  223. package/dist/chunks/cli-1.1.30-rdbwn1xc.mjs +2 -0
  224. package/dist/chunks/cli-1.1.30-rdgv4qpw.mjs +2 -0
  225. package/dist/chunks/cli-1.1.30-s2b0zbj0.mjs +1 -0
  226. package/dist/chunks/cli-1.1.30-s7f7x42j.mjs +2 -0
  227. package/dist/chunks/cli-1.1.30-sdxgwxfm.mjs +2 -0
  228. package/dist/chunks/cli-1.1.30-sgm7bcet.mjs +58 -0
  229. package/dist/chunks/cli-1.1.30-sr3wnzt7.mjs +17 -0
  230. package/dist/chunks/cli-1.1.30-syea4bx7.mjs +2 -0
  231. package/dist/chunks/cli-1.1.30-t27wxks6.mjs +6 -0
  232. package/dist/chunks/cli-1.1.30-tc8vq728.mjs +15 -0
  233. package/dist/chunks/cli-1.1.30-tcz89gqa.mjs +2 -0
  234. package/dist/chunks/cli-1.1.30-tt85hxby.mjs +25 -0
  235. package/dist/chunks/cli-1.1.30-ty0pw373.mjs +24 -0
  236. package/dist/chunks/cli-1.1.30-vcexen3n.mjs +2 -0
  237. package/dist/chunks/cli-1.1.30-vda14n5e.mjs +2 -0
  238. package/dist/chunks/cli-1.1.30-vf6wrqmh.mjs +2 -0
  239. package/dist/chunks/cli-1.1.30-vhh5kt6v.mjs +2 -0
  240. package/dist/chunks/cli-1.1.30-vrgnzjd2.mjs +2 -0
  241. package/dist/chunks/cli-1.1.30-w9wdamqc.mjs +34 -0
  242. package/dist/chunks/cli-1.1.30-wfs29rd9.mjs +12 -0
  243. package/dist/chunks/cli-1.1.30-wgmdrp34.mjs +2 -0
  244. package/dist/chunks/cli-1.1.30-wjx6yhry.mjs +2 -0
  245. package/dist/chunks/cli-1.1.30-wmpgbhw0.mjs +16 -0
  246. package/dist/chunks/cli-1.1.30-x76str7r.mjs +3 -0
  247. package/dist/chunks/cli-1.1.30-x8wzmxay.mjs +2 -0
  248. package/dist/chunks/cli-1.1.30-x960htw5.mjs +2 -0
  249. package/dist/chunks/cli-1.1.30-xhk0n48x.mjs +2 -0
  250. package/dist/chunks/cli-1.1.30-xqb55m51.mjs +2 -0
  251. package/dist/chunks/cli-1.1.30-xrrzhx6s.mjs +5 -0
  252. package/dist/chunks/cli-1.1.30-xxvagrpc.mjs +2 -0
  253. package/dist/chunks/cli-1.1.30-ycv7a9hg.mjs +2 -0
  254. package/dist/chunks/cli-1.1.30-ygdwz4ed.mjs +4 -0
  255. package/dist/chunks/cli-1.1.30-yt59tc1t.mjs +2 -0
  256. package/dist/chunks/cli-1.1.30-yw5qpt76.mjs +2 -0
  257. package/dist/chunks/cli-1.1.30-yy92v8yq.mjs +63 -0
  258. package/dist/chunks/cli-1.1.30-z1e7k65a.mjs +5 -0
  259. package/dist/chunks/cli-1.1.30-z9xfs5zq.mjs +2 -0
  260. package/dist/chunks/cli-1.1.30-zfz29t3v.mjs +3 -0
  261. package/dist/chunks/cli-1.1.30-zj3nk96z.mjs +2 -0
  262. package/dist/chunks/cli-1.1.30-zm2e2zvb.mjs +2 -0
  263. package/dist/chunks/cli-1.1.30-zpss0nht.mjs +3 -0
  264. package/dist/chunks/cli-1.1.30-zxkfqcvj.mjs +2 -0
  265. package/dist/chunks/cli-1.1.30-zych8w4z.mjs +45 -0
  266. package/dist/chunks/client-1.1.30-6xd07jrd.mjs +1 -0
  267. package/dist/chunks/color-1.1.30-yhxh49s0.mjs +1 -0
  268. package/dist/chunks/compact-1.1.30-wxxb111z.mjs +3 -0
  269. package/dist/chunks/config-1.1.30-4gdp5w7v.mjs +1 -0
  270. package/dist/chunks/config-1.1.30-s02sv9vf.mjs +1 -0
  271. package/dist/chunks/constants-1.1.30-g1xm727k.mjs +1 -0
  272. package/dist/chunks/context-1.1.30-pepgc836.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.30-ahdmm09h.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.30-93marv3a.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.30-ypx3j03s.mjs +1 -0
  276. package/dist/chunks/copy-1.1.30-bsfx33za.mjs +9 -0
  277. package/dist/chunks/cost-1.1.30-rhgx2a0h.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.30-p5qve4c1.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.30-rwvvv9na.mjs +1 -0
  280. package/dist/chunks/debug-1.1.30-j1zw0q5b.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.30-5gkcnqp5.mjs +1481 -0
  282. package/dist/chunks/desktop-1.1.30-rwbfgek7.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.30-2xwvggy6.mjs +1 -0
  284. package/dist/chunks/detection-1.1.30-kkar89w6.mjs +1 -0
  285. package/dist/chunks/diff-1.1.30-t1r0x9g4.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.30-cvqts45f.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.30-smg0046q.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.30-cpx4e858.mjs +1 -0
  289. package/dist/chunks/effort-1.1.30-jdxyeqz7.mjs +13 -0
  290. package/dist/chunks/engine-1.1.30-8qhtasfe.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.30-jnz4sy6x.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.30-y5dyaydm.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.30-w1z47qad.mjs +1 -0
  294. package/dist/chunks/environments-1.1.30-sjscvfn9.mjs +1 -0
  295. package/dist/chunks/errors-1.1.30-7cmbc98j.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.30-jx9hvt2q.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.30-dqrsra7k.mjs +1 -0
  298. package/dist/chunks/exit-1.1.30-m2yzbcth.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.30-5tat30es.mjs +1 -0
  300. package/dist/chunks/export-1.1.30-545a0v8x.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.30-5k9b4t6b.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.30-h5fqbtg3.mjs +1 -0
  303. package/dist/chunks/fast-1.1.30-91wr1vy4.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.30-36xrb399.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.30-be1ke8r3.mjs +1 -0
  306. package/dist/chunks/git-1.1.30-sxa8xf85.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.30-m7a8kdwg.mjs +1 -0
  308. package/dist/chunks/goal-1.1.30-71sj2735.mjs +4 -0
  309. package/dist/chunks/growthbook-1.1.30-rx44zvrq.mjs +1 -0
  310. package/dist/chunks/headless-1.1.30-h98t9mfb.mjs +2 -0
  311. package/dist/chunks/heapdump-1.1.30-82m1rvjw.mjs +6 -0
  312. package/dist/chunks/help-1.1.30-vnsg1001.mjs +1 -0
  313. package/dist/chunks/hookChains-1.1.30-tc5ff3xr.mjs +3 -0
  314. package/dist/chunks/hooks-1.1.30-2sctf45c.mjs +79 -0
  315. package/dist/chunks/hooks-1.1.30-707b390t.mjs +1 -0
  316. package/dist/chunks/ide-1.1.30-e8neepsj.mjs +3 -0
  317. package/dist/chunks/image-processor-napi-1.1.30-gcqgfeec.mjs +1 -0
  318. package/dist/chunks/import-1.1.30-g0p9rj63.mjs +261 -0
  319. package/dist/chunks/inboundAttachments-1.1.30-a5p4ftqg.mjs +1 -0
  320. package/dist/chunks/index-1.1.30-00d73fwg.mjs +1 -0
  321. package/dist/chunks/index-1.1.30-0sdck5q1.mjs +9 -0
  322. package/dist/chunks/index-1.1.30-38597fv3.mjs +5 -0
  323. package/dist/chunks/index-1.1.30-3z58evcj.mjs +1 -0
  324. package/dist/chunks/index-1.1.30-5k081eyt.mjs +1 -0
  325. package/dist/chunks/index-1.1.30-8n15b4e3.mjs +2 -0
  326. package/dist/chunks/index-1.1.30-9nx8fm72.mjs +1 -0
  327. package/dist/chunks/index-1.1.30-9zfyk995.mjs +23 -0
  328. package/dist/chunks/index-1.1.30-ba27qy75.mjs +1 -0
  329. package/dist/chunks/index-1.1.30-cddndqaa.mjs +1 -0
  330. package/dist/chunks/index-1.1.30-cnbcr7zp.mjs +1 -0
  331. package/dist/chunks/index-1.1.30-f65yg5kz.mjs +9 -0
  332. package/dist/chunks/index-1.1.30-fwvhky1a.mjs +1 -0
  333. package/dist/chunks/index-1.1.30-hmnpjmd5.mjs +1 -0
  334. package/dist/chunks/index-1.1.30-nemv1gaj.mjs +1 -0
  335. package/dist/chunks/index-1.1.30-pnpy7v0s.mjs +1 -0
  336. package/dist/chunks/index-1.1.30-q4x054c8.mjs +2 -0
  337. package/dist/chunks/index-1.1.30-racdqjba.mjs +1 -0
  338. package/dist/chunks/index-1.1.30-scb66j47.mjs +1 -0
  339. package/dist/chunks/index-1.1.30-tfz6950h.mjs +30 -0
  340. package/dist/chunks/index-1.1.30-tx381qq5.mjs +1 -0
  341. package/dist/chunks/index-1.1.30-w4zhj1qd.mjs +1 -0
  342. package/dist/chunks/index-1.1.30-xxh224ea.mjs +1 -0
  343. package/dist/chunks/init-1.1.30-txzpz2vm.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.30-hkrhwfr3.mjs +1 -0
  345. package/dist/chunks/ink-1.1.30-av1t4b54.mjs +1 -0
  346. package/dist/chunks/insights-1.1.30-nbs0zndp.mjs +870 -0
  347. package/dist/chunks/install-1.1.30-kd3vnaat.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.30-ea78ytf6.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.30-v2q1py01.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.30-20686d7h.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.30-rd0zzjyp.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.30-157aap7w.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.30-4mcx1txk.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.30-65qvjpys.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.30-nfrca2zv.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.30-wa8regkc.mjs +1 -0
  357. package/dist/chunks/log-1.1.30-nh81h0jz.mjs +1 -0
  358. package/dist/chunks/main-1.1.30-87zf4enf.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.30-p38nd6r6.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.30-egynhffm.mjs +17 -0
  361. package/dist/chunks/mcp-1.1.30-gaz9mgmq.mjs +4 -0
  362. package/dist/chunks/mcp-1.1.30-r6q89d8c.mjs +1 -0
  363. package/dist/chunks/mcpb-1.1.30-qxpx83j6.mjs +1 -0
  364. package/dist/chunks/memory-1.1.30-72gbfb3b.mjs +77 -0
  365. package/dist/chunks/model-1.1.30-7nsbqqvm.mjs +2 -0
  366. package/dist/chunks/model-1.1.30-f7d6dbt2.mjs +1 -0
  367. package/dist/chunks/node-1.1.30-nbnhkya6.mjs +15 -0
  368. package/dist/chunks/node-1.1.30-vaaf7x0g.mjs +1 -0
  369. package/dist/chunks/oauth-1.1.30-g201gbyg.mjs +1 -0
  370. package/dist/chunks/openaiShim-1.1.30-rz4xax1e.mjs +14 -0
  371. package/dist/chunks/output-style-1.1.30-ms4eck90.mjs +1 -0
  372. package/dist/chunks/package-D2QZMRW7-1.1.30-08c7mgpt.mjs +1 -0
  373. package/dist/chunks/parseConnectUrl-1.1.30-bd7ade4m.mjs +1 -0
  374. package/dist/chunks/parser-1.1.30-qe7n0vnw.mjs +1 -0
  375. package/dist/chunks/passes-1.1.30-3cz64bpa.mjs +1 -0
  376. package/dist/chunks/permissions-1.1.30-28z7ax7g.mjs +3 -0
  377. package/dist/chunks/permissions-1.1.30-vgtb4qf9.mjs +1 -0
  378. package/dist/chunks/plan-1.1.30-s865r5b5.mjs +1 -0
  379. package/dist/chunks/plist-1.1.30-pxa62mce.mjs +1 -0
  380. package/dist/chunks/plugin-1.1.30-6apj9sf8.mjs +29 -0
  381. package/dist/chunks/pluginStartupCheck-1.1.30-gmcab9kx.mjs +1 -0
  382. package/dist/chunks/plugins-1.1.30-40c7sagf.mjs +9 -0
  383. package/dist/chunks/preActionHook-1.1.30-q2g48qsk.mjs +2 -0
  384. package/dist/chunks/print-1.1.30-drvg0v0c.mjs +57 -0
  385. package/dist/chunks/process-1.1.30-f6y2msx6.mjs +1 -0
  386. package/dist/chunks/processBashCommand-1.1.30-5bzgcejg.mjs +1 -0
  387. package/dist/chunks/processSlashCommand-1.1.30-2bwd1kpt.mjs +9 -0
  388. package/dist/chunks/prompt-1.1.30-9rbbx5vr.mjs +1 -0
  389. package/dist/chunks/prompt-1.1.30-phmv317m.mjs +1 -0
  390. package/dist/chunks/prompts-1.1.30-1myv5ewh.mjs +1 -0
  391. package/dist/chunks/protocolHandler-1.1.30-d6jkd0dk.mjs +13 -0
  392. package/dist/chunks/provider-1.1.30-cwkzb2t8.mjs +2 -0
  393. package/dist/chunks/providerProfiles-1.1.30-qe0y7b6e.mjs +1 -0
  394. package/dist/chunks/providerValidation-1.1.30-rzg2nkx3.mjs +6 -0
  395. package/dist/chunks/rate-limit-options-1.1.30-4q04y9f7.mjs +1 -0
  396. package/dist/chunks/registerSubcommands-1.1.30-k3ar1dyg.mjs +26 -0
  397. package/dist/chunks/registry-1.1.30-epdyxcsa.mjs +1 -0
  398. package/dist/chunks/release-notes-1.1.30-k11yp5hh.mjs +5 -0
  399. package/dist/chunks/reload-plugins-1.1.30-n7qhqqr3.mjs +2 -0
  400. package/dist/chunks/remote-env-1.1.30-f8e03jpx.mjs +1 -0
  401. package/dist/chunks/remoteBridgeCore-1.1.30-fqankvvx.mjs +1 -0
  402. package/dist/chunks/remoteSession-1.1.30-fc5x1bz4.mjs +1 -0
  403. package/dist/chunks/rename-1.1.30-vw8eyfha.mjs +1 -0
  404. package/dist/chunks/replBridgeHandle-1.1.30-bagtg7fm.mjs +1 -0
  405. package/dist/chunks/replLauncher-1.1.30-318vaq80.mjs +1 -0
  406. package/dist/chunks/resume-1.1.30-jrj1wpvj.mjs +2 -0
  407. package/dist/chunks/rewind-1.1.30-z97mdn25.mjs +1 -0
  408. package/dist/chunks/rootOptions-1.1.30-ybrgmmyy.mjs +1 -0
  409. package/dist/chunks/runWorkflowHeadless-1.1.30-w3gn8w75.mjs +10 -0
  410. package/dist/chunks/sandbox-adapter-1.1.30-4rd9w5by.mjs +1 -0
  411. package/dist/chunks/sandbox-toggle-1.1.30-zmtfq25w.mjs +1 -0
  412. package/dist/chunks/session-1.1.30-sbykpbav.mjs +2 -0
  413. package/dist/chunks/sessionDiscovery-1.1.30-dd680nx7.mjs +1 -0
  414. package/dist/chunks/sessionFileAccessHooks-1.1.30-4rhdr018.mjs +1 -0
  415. package/dist/chunks/sessionStorage-1.1.30-cwb5a83p.mjs +1 -0
  416. package/dist/chunks/settings-1.1.30-xxee6nzb.mjs +1 -0
  417. package/dist/chunks/setup-1.1.30-p2wwqw6v.mjs +12 -0
  418. package/dist/chunks/sinks-1.1.30-phkc3yep.mjs +1 -0
  419. package/dist/chunks/skills-1.1.30-vsg5twx1.mjs +1 -0
  420. package/dist/chunks/startupProfiler-1.1.30-wa0xbx1z.mjs +1 -0
  421. package/dist/chunks/startupUpdateCheck-1.1.30-9cgnvwtt.mjs +1 -0
  422. package/dist/chunks/state-1.1.30-ge0kb9gr.mjs +1 -0
  423. package/dist/chunks/stats-1.1.30-n5w7ehyg.mjs +1 -0
  424. package/dist/chunks/status-1.1.30-snsvg4xb.mjs +1 -0
  425. package/dist/chunks/stickers-1.1.30-7ffpw08c.mjs +1 -0
  426. package/dist/chunks/subprocessEnv-1.1.30-5efpmhgz.mjs +1 -0
  427. package/dist/chunks/tasks-1.1.30-ykgkx7d8.mjs +1 -0
  428. package/dist/chunks/teamHelpers-1.1.30-cjjzmnj6.mjs +1 -0
  429. package/dist/chunks/teammateModeSnapshot-1.1.30-e2mh88ze.mjs +1 -0
  430. package/dist/chunks/teleport-1.1.30-9y1akw6m.mjs +1 -0
  431. package/dist/chunks/terminalSetup-1.1.30-mwbzfrfc.mjs +1 -0
  432. package/dist/chunks/theme-1.1.30-9dqykgv2.mjs +1 -0
  433. package/dist/chunks/thinkback-1.1.30-3pbzqt97.mjs +1 -0
  434. package/dist/chunks/thinkback-play-1.1.30-83akae4q.mjs +1 -0
  435. package/dist/chunks/toolPool-1.1.30-3kvrwtxa.mjs +1 -0
  436. package/dist/chunks/toolSearch-1.1.30-s60zcj4t.mjs +1 -0
  437. package/dist/chunks/tools-1.1.30-by0ddhf4.mjs +1 -0
  438. package/dist/chunks/trustedDevice-1.1.30-ecq2hfrc.mjs +1 -0
  439. package/dist/chunks/turndown.cjs-1.1.30-m5hyejns.mjs +69 -0
  440. package/dist/chunks/types-1.1.30-mrv5q877.mjs +1 -0
  441. package/dist/chunks/ultrareviewCommand-1.1.30-5etzjedp.mjs +4 -0
  442. package/dist/chunks/update-1.1.30-ax60cy72.mjs +72 -0
  443. package/dist/chunks/upgrade-1.1.30-hrny7f12.mjs +1 -0
  444. package/dist/chunks/upload-1.1.30-s0z8kw2s.mjs +7 -0
  445. package/dist/chunks/upstreamproxy-1.1.30-tkvbafsh.mjs +14 -0
  446. package/dist/chunks/url-handler-napi-1.1.30-enhczdhm.mjs +1 -0
  447. package/dist/chunks/usage-1.1.30-ew9dakf2.mjs +1 -0
  448. package/dist/chunks/util-1.1.30-knp77fm5.mjs +1 -0
  449. package/dist/chunks/utils-1.1.30-74ykpfac.mjs +1 -0
  450. package/dist/chunks/vim-1.1.30-y01vnb23.mjs +1 -0
  451. package/dist/chunks/watchLoop-1.1.30-sjecqqx4.mjs +13 -0
  452. package/dist/chunks/watcher-1.1.30-qnfq5sma.mjs +1 -0
  453. package/dist/chunks/wiki-1.1.30-qddcp6x2.mjs +132 -0
  454. package/dist/chunks/workflows-1.1.30-j5wcb76g.mjs +1 -0
  455. package/dist/chunks/worktree-1.1.30-m6gvqkc9.mjs +1 -0
  456. package/dist/chunks/worktreeModeEnabled-1.1.30-nma5ggmd.mjs +1 -0
  457. package/dist/chunks/wrapper-1.1.30-c8vm3try.mjs +7 -0
  458. package/dist/cli.mjs +2 -2
  459. package/package.json +9 -9
  460. package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +0 -1
  461. package/dist/chunks/App-1.1.28-rdhr58j6.mjs +0 -1
  462. package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +0 -1
  463. package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +0 -1
  464. package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +0 -1
  465. package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +0 -1
  466. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +0 -1
  467. package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +0 -1
  468. package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +0 -6
  469. package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +0 -1
  470. package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +0 -6
  471. package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +0 -1
  472. package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +0 -1
  473. package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +0 -1
  474. package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +0 -1
  475. package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +0 -1
  476. package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +0 -1
  477. package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +0 -1
  478. package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +0 -1
  479. package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +0 -1
  480. package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +0 -1
  481. package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +0 -1
  482. package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +0 -1
  483. package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +0 -9
  484. package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +0 -1
  485. package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +0 -1
  486. package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +0 -1
  487. package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +0 -1
  488. package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +0 -1
  489. package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +0 -110
  490. package/dist/chunks/agents-1.1.28-4qdh001q.mjs +0 -3
  491. package/dist/chunks/api-1.1.28-znpy0eyy.mjs +0 -1
  492. package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +0 -1
  493. package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +0 -1
  494. package/dist/chunks/auth-1.1.28-bw7dane8.mjs +0 -1
  495. package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +0 -1
  496. package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +0 -52
  497. package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +0 -44
  498. package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +0 -1
  499. package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +0 -1
  500. package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +0 -4
  501. package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +0 -2
  502. package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +0 -1
  503. package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +0 -1
  504. package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +0 -88
  505. package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +0 -1
  506. package/dist/chunks/btw-1.1.28-p1tk901s.mjs +0 -1
  507. package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +0 -3
  508. package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +0 -21
  509. package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +0 -4
  510. package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +0 -1
  511. package/dist/chunks/cd-1.1.28-84z1kqam.mjs +0 -3
  512. package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +0 -1
  513. package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +0 -1
  514. package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +0 -1
  515. package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +0 -1
  516. package/dist/chunks/cli-1.1.28-01g60h7m.mjs +0 -2
  517. package/dist/chunks/cli-1.1.28-040xb4f8.mjs +0 -2
  518. package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +0 -24
  519. package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +0 -60
  520. package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +0 -24
  521. package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +0 -58
  522. package/dist/chunks/cli-1.1.28-130w2y17.mjs +0 -50
  523. package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +0 -2
  524. package/dist/chunks/cli-1.1.28-14abe08r.mjs +0 -4
  525. package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +0 -2
  526. package/dist/chunks/cli-1.1.28-1mscaejt.mjs +0 -2
  527. package/dist/chunks/cli-1.1.28-1q409efb.mjs +0 -2
  528. package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +0 -2
  529. package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +0 -5
  530. package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +0 -2
  531. package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +0 -34
  532. package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +0 -6
  533. package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +0 -2
  534. package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +0 -2
  535. package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +0 -2
  536. package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +0 -2
  537. package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +0 -4
  538. package/dist/chunks/cli-1.1.28-347ygvzg.mjs +0 -6
  539. package/dist/chunks/cli-1.1.28-36891pwy.mjs +0 -2
  540. package/dist/chunks/cli-1.1.28-36y6830c.mjs +0 -2
  541. package/dist/chunks/cli-1.1.28-37rkgevh.mjs +0 -2
  542. package/dist/chunks/cli-1.1.28-3bj091x6.mjs +0 -2
  543. package/dist/chunks/cli-1.1.28-3fssr567.mjs +0 -2
  544. package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +0 -2
  545. package/dist/chunks/cli-1.1.28-4kda7s33.mjs +0 -2
  546. package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +0 -2
  547. package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +0 -9
  548. package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +0 -2
  549. package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +0 -3
  550. package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +0 -2
  551. package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +0 -6
  552. package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +0 -206
  553. package/dist/chunks/cli-1.1.28-638dshxx.mjs +0 -42
  554. package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +0 -2
  555. package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +0 -2
  556. package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +0 -17
  557. package/dist/chunks/cli-1.1.28-75thpvfa.mjs +0 -2
  558. package/dist/chunks/cli-1.1.28-7amn29ks.mjs +0 -2
  559. package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +0 -2
  560. package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +0 -2
  561. package/dist/chunks/cli-1.1.28-7g65bppm.mjs +0 -2
  562. package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +0 -4
  563. package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +0 -2
  564. package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +0 -25
  565. package/dist/chunks/cli-1.1.28-7x94aewp.mjs +0 -2
  566. package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +0 -2
  567. package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +0 -2
  568. package/dist/chunks/cli-1.1.28-83k0knzj.mjs +0 -2
  569. package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +0 -2
  570. package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +0 -4
  571. package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +0 -2
  572. package/dist/chunks/cli-1.1.28-8v2vx373.mjs +0 -2
  573. package/dist/chunks/cli-1.1.28-943993zt.mjs +0 -2
  574. package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +0 -5
  575. package/dist/chunks/cli-1.1.28-95fs05hq.mjs +0 -2
  576. package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +0 -2
  577. package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +0 -2
  578. package/dist/chunks/cli-1.1.28-a00k75hj.mjs +0 -2
  579. package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +0 -2
  580. package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +0 -2
  581. package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +0 -16
  582. package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +0 -2
  583. package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +0 -15
  584. package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +0 -15
  585. package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +0 -2
  586. package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +0 -3
  587. package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +0 -2
  588. package/dist/chunks/cli-1.1.28-brh6rw23.mjs +0 -2
  589. package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +0 -2
  590. package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +0 -2
  591. package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +0 -2
  592. package/dist/chunks/cli-1.1.28-by5acg3a.mjs +0 -2
  593. package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +0 -2
  594. package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +0 -7
  595. package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +0 -2
  596. package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +0 -2
  597. package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +0 -24
  598. package/dist/chunks/cli-1.1.28-davs3ve8.mjs +0 -58
  599. package/dist/chunks/cli-1.1.28-denmqz0s.mjs +0 -2
  600. package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +0 -2
  601. package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +0 -3
  602. package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +0 -2
  603. package/dist/chunks/cli-1.1.28-egskcwa5.mjs +0 -2
  604. package/dist/chunks/cli-1.1.28-ek683x01.mjs +0 -2
  605. package/dist/chunks/cli-1.1.28-epzkhgww.mjs +0 -2
  606. package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +0 -6
  607. package/dist/chunks/cli-1.1.28-es8var4t.mjs +0 -2
  608. package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +0 -24
  609. package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +0 -2
  610. package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +0 -2
  611. package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +0 -12
  612. package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +0 -2
  613. package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +0 -39
  614. package/dist/chunks/cli-1.1.28-fetsedc8.mjs +0 -2
  615. package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +0 -2
  616. package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +0 -2
  617. package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +0 -2
  618. package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +0 -8
  619. package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +0 -2
  620. package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +0 -2
  621. package/dist/chunks/cli-1.1.28-hb02sa63.mjs +0 -2
  622. package/dist/chunks/cli-1.1.28-hkfays5k.mjs +0 -2
  623. package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +0 -17
  624. package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +0 -2
  625. package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +0 -2
  626. package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +0 -3
  627. package/dist/chunks/cli-1.1.28-j6nysca9.mjs +0 -2
  628. package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +0 -3
  629. package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +0 -2
  630. package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +0 -2
  631. package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +0 -20
  632. package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +0 -3
  633. package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +0 -2
  634. package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +0 -2
  635. package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +0 -3
  636. package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +0 -2
  637. package/dist/chunks/cli-1.1.28-knfg26kb.mjs +0 -2
  638. package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +0 -2
  639. package/dist/chunks/cli-1.1.28-mdexghj2.mjs +0 -2
  640. package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +0 -4
  641. package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +0 -2
  642. package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +0 -3
  643. package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +0 -2
  644. package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +0 -2
  645. package/dist/chunks/cli-1.1.28-mx413hqd.mjs +0 -3
  646. package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +0 -2
  647. package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +0 -2
  648. package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +0 -2
  649. package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +0 -2
  650. package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +0 -10
  651. package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +0 -4
  652. package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +0 -2
  653. package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +0 -2
  654. package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +0 -2
  655. package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +0 -25
  656. package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +0 -2
  657. package/dist/chunks/cli-1.1.28-prd0t983.mjs +0 -9
  658. package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +0 -4
  659. package/dist/chunks/cli-1.1.28-q14qmewe.mjs +0 -2
  660. package/dist/chunks/cli-1.1.28-q43r6snq.mjs +0 -2
  661. package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +0 -2
  662. package/dist/chunks/cli-1.1.28-qb921m5a.mjs +0 -3
  663. package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +0 -3
  664. package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +0 -45
  665. package/dist/chunks/cli-1.1.28-qj312jgw.mjs +0 -2
  666. package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +0 -2
  667. package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +0 -2
  668. package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +0 -4
  669. package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +0 -2
  670. package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +0 -2
  671. package/dist/chunks/cli-1.1.28-r81y1681.mjs +0 -3
  672. package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +0 -2
  673. package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +0 -4
  674. package/dist/chunks/cli-1.1.28-rez81jab.mjs +0 -6
  675. package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +0 -2
  676. package/dist/chunks/cli-1.1.28-rt0aect8.mjs +0 -2
  677. package/dist/chunks/cli-1.1.28-rwfwz209.mjs +0 -2
  678. package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +0 -3
  679. package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +0 -2
  680. package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +0 -2
  681. package/dist/chunks/cli-1.1.28-smb1frk6.mjs +0 -2
  682. package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +0 -12
  683. package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +0 -2
  684. package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +0 -2
  685. package/dist/chunks/cli-1.1.28-t5yawarz.mjs +0 -2
  686. package/dist/chunks/cli-1.1.28-tt0c354s.mjs +0 -2
  687. package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +0 -2
  688. package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +0 -2
  689. package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +0 -2
  690. package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +0 -2
  691. package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +0 -133
  692. package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +0 -2
  693. package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +0 -2
  694. package/dist/chunks/cli-1.1.28-vje1ac31.mjs +0 -7
  695. package/dist/chunks/cli-1.1.28-vphadsag.mjs +0 -2
  696. package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +0 -3
  697. package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +0 -2
  698. package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +0 -20
  699. package/dist/chunks/cli-1.1.28-wew8jymx.mjs +0 -2
  700. package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +0 -2
  701. package/dist/chunks/cli-1.1.28-wvj52k91.mjs +0 -2
  702. package/dist/chunks/cli-1.1.28-wze93r29.mjs +0 -2
  703. package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +0 -18
  704. package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +0 -2
  705. package/dist/chunks/cli-1.1.28-x13sctb2.mjs +0 -2
  706. package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +0 -2
  707. package/dist/chunks/cli-1.1.28-y173v5ak.mjs +0 -133
  708. package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +0 -2
  709. package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +0 -2
  710. package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +0 -15
  711. package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +0 -2
  712. package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +0 -2
  713. package/dist/chunks/cli-1.1.28-yyk292aq.mjs +0 -6
  714. package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +0 -21
  715. package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +0 -2
  716. package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +0 -2
  717. package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +0 -1
  718. package/dist/chunks/cli-1.1.28-zhftjycn.mjs +0 -5553
  719. package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +0 -2
  720. package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +0 -2
  721. package/dist/chunks/client-1.1.28-59t63af8.mjs +0 -1
  722. package/dist/chunks/color-1.1.28-gmbrq89g.mjs +0 -1
  723. package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +0 -3
  724. package/dist/chunks/config-1.1.28-b69ey9g1.mjs +0 -1
  725. package/dist/chunks/config-1.1.28-cryax439.mjs +0 -1
  726. package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +0 -1
  727. package/dist/chunks/context-1.1.28-09kfp2sa.mjs +0 -1
  728. package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +0 -1
  729. package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +0 -1
  730. package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +0 -1
  731. package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +0 -9
  732. package/dist/chunks/cost-1.1.28-507xt42s.mjs +0 -1
  733. package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +0 -1
  734. package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +0 -1
  735. package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +0 -1
  736. package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +0 -1534
  737. package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +0 -1
  738. package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +0 -1
  739. package/dist/chunks/detection-1.1.28-06p2mev8.mjs +0 -1
  740. package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +0 -1
  741. package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +0 -1
  742. package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +0 -1
  743. package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +0 -1
  744. package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +0 -13
  745. package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +0 -1
  746. package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +0 -1
  747. package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +0 -1
  748. package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +0 -1
  749. package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +0 -1
  750. package/dist/chunks/errors-1.1.28-eysc80qa.mjs +0 -1
  751. package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +0 -1
  752. package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +0 -1
  753. package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +0 -1
  754. package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +0 -1
  755. package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +0 -2
  756. package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +0 -1
  757. package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +0 -1
  758. package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +0 -1
  759. package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +0 -14
  760. package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +0 -1
  761. package/dist/chunks/git-1.1.28-ktf61jaz.mjs +0 -1
  762. package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +0 -1
  763. package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +0 -4
  764. package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +0 -1
  765. package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +0 -2
  766. package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +0 -6
  767. package/dist/chunks/help-1.1.28-yhrv28x1.mjs +0 -1
  768. package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +0 -3
  769. package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +0 -79
  770. package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +0 -1
  771. package/dist/chunks/ide-1.1.28-27vb56tk.mjs +0 -3
  772. package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +0 -1
  773. package/dist/chunks/import-1.1.28-bqs6ebec.mjs +0 -261
  774. package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +0 -1
  775. package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +0 -23
  776. package/dist/chunks/index-1.1.28-30ges9rx.mjs +0 -1
  777. package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +0 -1
  778. package/dist/chunks/index-1.1.28-76ztpb54.mjs +0 -1
  779. package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +0 -1
  780. package/dist/chunks/index-1.1.28-ac1sbem8.mjs +0 -9
  781. package/dist/chunks/index-1.1.28-axnrgqkq.mjs +0 -1
  782. package/dist/chunks/index-1.1.28-b5b1qact.mjs +0 -1
  783. package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +0 -1
  784. package/dist/chunks/index-1.1.28-bt937784.mjs +0 -1
  785. package/dist/chunks/index-1.1.28-bxtzy977.mjs +0 -2
  786. package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +0 -9
  787. package/dist/chunks/index-1.1.28-dtfxav1q.mjs +0 -1
  788. package/dist/chunks/index-1.1.28-gk3v69b8.mjs +0 -1
  789. package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +0 -1
  790. package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +0 -1
  791. package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +0 -1
  792. package/dist/chunks/index-1.1.28-w2a4k4md.mjs +0 -2
  793. package/dist/chunks/index-1.1.28-wajajmmp.mjs +0 -1
  794. package/dist/chunks/index-1.1.28-xaw4tf13.mjs +0 -30
  795. package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +0 -1
  796. package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +0 -5
  797. package/dist/chunks/index-1.1.28-z85wbmey.mjs +0 -1
  798. package/dist/chunks/init-1.1.28-vt168swt.mjs +0 -1
  799. package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +0 -1
  800. package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +0 -1
  801. package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +0 -870
  802. package/dist/chunks/install-1.1.28-azeaj14w.mjs +0 -1
  803. package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +0 -149
  804. package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +0 -1
  805. package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +0 -1
  806. package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +0 -1
  807. package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +0 -2
  808. package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +0 -2
  809. package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +0 -1
  810. package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +0 -1
  811. package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +0 -1
  812. package/dist/chunks/log-1.1.28-744tvnnz.mjs +0 -1
  813. package/dist/chunks/main-1.1.28-ngd4qj24.mjs +0 -1
  814. package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +0 -1
  815. package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +0 -17
  816. package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +0 -1
  817. package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +0 -4
  818. package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +0 -1
  819. package/dist/chunks/memory-1.1.28-437zyh3m.mjs +0 -77
  820. package/dist/chunks/model-1.1.28-1weg50dg.mjs +0 -2
  821. package/dist/chunks/model-1.1.28-qbnnaa17.mjs +0 -1
  822. package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +0 -15
  823. package/dist/chunks/node-1.1.28-q18jbvyv.mjs +0 -1
  824. package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +0 -1
  825. package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +0 -14
  826. package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +0 -1
  827. package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +0 -1
  828. package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +0 -1
  829. package/dist/chunks/parser-1.1.28-hahczgmc.mjs +0 -1
  830. package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +0 -1
  831. package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +0 -1
  832. package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +0 -3
  833. package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +0 -1
  834. package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +0 -1
  835. package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +0 -29
  836. package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +0 -1
  837. package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +0 -9
  838. package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +0 -2
  839. package/dist/chunks/print-1.1.28-g8smjzce.mjs +0 -57
  840. package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +0 -1
  841. package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +0 -1
  842. package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +0 -9
  843. package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +0 -1
  844. package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +0 -1
  845. package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +0 -1
  846. package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +0 -13
  847. package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +0 -2
  848. package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +0 -1
  849. package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +0 -6
  850. package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +0 -1
  851. package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +0 -26
  852. package/dist/chunks/registry-1.1.28-a9wz892f.mjs +0 -1
  853. package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +0 -5
  854. package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +0 -2
  855. package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +0 -1
  856. package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +0 -1
  857. package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +0 -1
  858. package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +0 -1
  859. package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +0 -1
  860. package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +0 -1
  861. package/dist/chunks/resume-1.1.28-mr6necqk.mjs +0 -2
  862. package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +0 -1
  863. package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +0 -1
  864. package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +0 -10
  865. package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +0 -1
  866. package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +0 -1
  867. package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +0 -2
  868. package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +0 -1
  869. package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +0 -1
  870. package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +0 -1
  871. package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +0 -1
  872. package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +0 -12
  873. package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +0 -1
  874. package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +0 -1
  875. package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +0 -1
  876. package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +0 -1
  877. package/dist/chunks/state-1.1.28-fd27gqw0.mjs +0 -1
  878. package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +0 -1
  879. package/dist/chunks/status-1.1.28-67a4bkc3.mjs +0 -1
  880. package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +0 -1
  881. package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +0 -1
  882. package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +0 -1
  883. package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +0 -1
  884. package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +0 -1
  885. package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +0 -1
  886. package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +0 -1
  887. package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +0 -1
  888. package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +0 -1
  889. package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +0 -1
  890. package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +0 -1
  891. package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +0 -1
  892. package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +0 -1
  893. package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +0 -1
  894. package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +0 -69
  895. package/dist/chunks/types-1.1.28-51fcbp8c.mjs +0 -1
  896. package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +0 -4
  897. package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +0 -72
  898. package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +0 -1
  899. package/dist/chunks/upload-1.1.28-whe18m8m.mjs +0 -7
  900. package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +0 -14
  901. package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +0 -1
  902. package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +0 -1
  903. package/dist/chunks/util-1.1.28-cvpx898d.mjs +0 -1
  904. package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +0 -1
  905. package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +0 -1
  906. package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +0 -13
  907. package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +0 -1
  908. package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +0 -132
  909. package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +0 -1
  910. package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +0 -1
  911. package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +0 -1
  912. package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +0 -7
  913. /package/dist/chunks/{cli-1.1.28-qzdtd4w8.mjs → cli-1.1.30-2cmsx74f.mjs} +0 -0
  914. /package/dist/chunks/{cli-1.1.28-f658tc1w.mjs → cli-1.1.30-dy1jvt4f.mjs} +0 -0
  915. /package/dist/chunks/{cli-1.1.28-m37hk495.mjs → cli-1.1.30-fa5djn9v.mjs} +0 -0
  916. /package/dist/chunks/{cli-1.1.28-7d7hz6b4.mjs → cli-1.1.30-s27erhy7.mjs} +0 -0
  917. /package/dist/chunks/{cli-1.1.28-43p679k7.mjs → cli-1.1.30-vxh27fdj.mjs} +0 -0
  918. /package/dist/chunks/{cli-1.1.28-m7x3ax7z.mjs → cli-1.1.30-y1pn2vb5.mjs} +0 -0
@@ -0,0 +1,88 @@
1
+ import{ea as yJ,fa as xz,ga as rz,ha as cz,ia as iz,ja as kJ}from"./cli-1.1.30-rdgv4qpw.mjs";import{la as Tz}from"./cli-1.1.30-p6bsj13y.mjs";import{va as EJ,wa as TJ,xa as xJ,ya as MJ,za as wJ}from"./cli-1.1.30-3c6j35rs.mjs";import{Ba as fJ}from"./cli-1.1.30-c0b5kmhr.mjs";import{ie as LJ,ke as oz,me as RK}from"./cli-1.1.30-pzp496y6.mjs";import{Oe as mz,Qe as UJ,Ue as OJ}from"./cli-1.1.30-8vr9ea9g.mjs";import{sf as jJ,tf as cJ}from"./cli-1.1.30-8hcc4gax.mjs";import{$H as $J,Co as AJ,Do as PK,Hk as CJ,Ik as FK,Sm as DJ,Tm as vz,WH as JJ,XH as Cz,Xm as NK,YH as KJ,ZH as ZJ,aI as YJ,bI as XJ,cI as QJ,dI as WJ}from"./cli-1.1.30-pc2wp50b.mjs";import"./cli-1.1.30-5j2mdj81.mjs";import"./cli-1.1.30-tc8vq728.mjs";import"./cli-1.1.30-q00wdmf9.mjs";import"./cli-1.1.30-aw93z4yt.mjs";import"./cli-1.1.30-xhk0n48x.mjs";import"./cli-1.1.30-sr3wnzt7.mjs";import{OV as RJ,UV as _K}from"./cli-1.1.30-jevxd0jk.mjs";import"./cli-1.1.30-bfqnz691.mjs";import"./cli-1.1.30-ycv7a9hg.mjs";import"./cli-1.1.30-mpmg84pk.mjs";import"./cli-1.1.30-7bdj31x8.mjs";import{bX as az,fX as CK}from"./cli-1.1.30-489cr054.mjs";import"./cli-1.1.30-pw08jvvr.mjs";import"./cli-1.1.30-ensp6hjk.mjs";import"./cli-1.1.30-51kze0eh.mjs";import"./cli-1.1.30-ty0pw373.mjs";import"./cli-1.1.30-1zsgv3yp.mjs";import"./cli-1.1.30-5cc6nada.mjs";import"./cli-1.1.30-zxkfqcvj.mjs";import"./cli-1.1.30-p3m6d618.mjs";import"./cli-1.1.30-w9wdamqc.mjs";import"./cli-1.1.30-569esepc.mjs";import"./cli-1.1.30-zfz29t3v.mjs";import{I1 as pz,L1 as BK}from"./cli-1.1.30-gk8x7f6m.mjs";import"./cli-1.1.30-qn71nvqn.mjs";import"./cli-1.1.30-1qczaqkt.mjs";import"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-5r9pakw5.mjs";import"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-gvp1pabq.mjs";import"./cli-1.1.30-f9tp1b8r.mjs";import"./cli-1.1.30-2af3eeg6.mjs";import"./cli-1.1.30-vcexen3n.mjs";import"./cli-1.1.30-2hw4vdpg.mjs";import"./cli-1.1.30-t27wxks6.mjs";import"./cli-1.1.30-92t0b3hs.mjs";import"./cli-1.1.30-cjetc80p.mjs";import"./cli-1.1.30-rdbwn1xc.mjs";import"./cli-1.1.30-bgrp9j3q.mjs";import"./cli-1.1.30-eg5krttf.mjs";import"./cli-1.1.30-zpss0nht.mjs";import{x9 as i,y9 as OK}from"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import{Z_ as V,__ as gJ}from"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import"./cli-1.1.30-he73pyqy.mjs";import{$da as pJ,Baa as Wz,Daa as GK,Qia as Ez,Yda as fz,Yia as qK,Zda as ez,_da as zJ,wda as PJ,xda as HK}from"./cli-1.1.30-mebteknr.mjs";import{bja as sz,cja as uJ,eja as Rz,lja as qz,vja as jK}from"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import{aka as BJ,ika as VK}from"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import{ula as zz,vla as _J,xla as XK}from"./cli-1.1.30-pgx35gqd.mjs";import{Ama as tz,ama as qJ,bma as uz,fma as aJ,xma as q}from"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import{Xma as g,cna as WK}from"./cli-1.1.30-gv4z21b9.mjs";import{ina as NJ,qna as QK}from"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import{Nua as I}from"./cli-1.1.30-7dtpd1ra.mjs";PK();FK();_K();VK();XK();HK();tz();GK();QK();WK();jK();qK();OK();NK();import{randomUUID as Sz}from"crypto";import{hostname as bJ,tmpdir as DK}from"os";import{basename as AK,join as UK,resolve as lz}from"path";WJ();gJ();cJ();pJ();uJ();tz();WJ();var lJ={type:"utf8",errorCorrectionLevel:"L",small:!0};async function dJ(z){return(await jJ(z,lJ)).split(`
2
+ `).filter((K)=>K.length>0)}function VJ(z){let J=z.write??(($)=>process.stdout.write($)),K=z.verbose,Y=0,O="idle",Z="Ready",R="",B="",U="",F="",L="",A=null,_=[],M=!1,y=null,P=0,x=0,N=1,f=null,k="single-session",b=new Map,d=null,S=0;function Xz($){let G=process.stdout.columns||80,w=0;for(let Vz of $.split(`
3
+ `)){if(Vz.length===0){w++;continue}let _z=sz(Vz);w+=Math.max(1,Math.ceil(_z/G))}if($.endsWith(`
4
+ `))w--;return w}function m($){J($),Y+=Xz($)}function a(){if(Y<=0)return;q(`[bridge:ui] clearStatusLines count=${Y}`),J(`\x1B[${Y}A`),J("\x1B[J"),Y=0}function $z($){a(),J($)}function n($){dJ($).then((G)=>{_=G,p()}).catch((G)=>{q(`QR code generation failed: ${G}`,{level:"error"})})}function o(){a();let $=fz[S%fz.length],G="";if(R)G+=V.dim(" · ")+V.dim(R);if(B)G+=V.dim(" · ")+V.dim(B);m(`${V.yellow($)} ${V.yellow("Connecting")}${G}
5
+ `)}function jz(){t(),o(),d=setInterval(()=>{S++,o()},150)}function t(){if(d)clearInterval(d),d=null}function p(){if(O==="reconnecting"||O==="failed")return;a();let $=O==="idle";if(M)for(let Jz of _)m(`${V.dim(Jz)}
6
+ `);let G=ez,w=$?V.green:V.cyan,_z=($?V.green:V.cyan)(Z),Oz="";if(R)Oz+=V.dim(" · ")+V.dim(R);if(B&&k!=="worktree")Oz+=V.dim(" · ")+V.dim(B);if(m(`${w(G)} ${_z}${Oz}
7
+ `),N>1){let Jz=k==="worktree"?"New sessions will be created in an isolated worktree":"New sessions will be created in the current directory";m(` ${V.dim(`Capacity: ${x}/${N} · ${Jz}`)}
8
+ `);for(let[,Kz]of b){let r=Kz.title?Rz(Kz.title,35):V.dim("Attached"),Mz=QJ(r,Kz.url),Fz=Kz.activity,j=Fz&&Fz.type!=="result"&&Fz.type!=="error"?V.dim(` ${Rz(Fz.summary,40)}`):"";m(` ${Mz}${j}
9
+ `)}}if(N===1){let Jz=k==="single-session"?"Single session · exits when complete":k==="worktree"?`Capacity: ${x}/1 · New sessions will be created in an isolated worktree`:`Capacity: ${x}/1 · New sessions will be created in the current directory`;m(` ${V.dim(Jz)}
10
+ `)}if(N===1&&!$&&y&&Date.now()-P<JJ)m(` ${V.dim(Rz(y,60))}
11
+ `);let Qz=A??U;if(Qz){m(`
12
+ `);let Jz=$?$J(Qz):YJ(Qz),Kz=M?V.dim.italic("space to hide QR code"):V.dim.italic("space to show QR code"),r=f?V.dim.italic(" · w to toggle spawn mode"):"";m(`${V.dim(Jz)}
13
+ `),m(`${Kz}${r}
14
+ `)}}return{printBanner($,G){if(F=$.sessionIngressUrl,L=G,U=KJ(G,F),n(U),K)J(V.dim("Remote Control")+` v99.0.0
15
+ `);if(K){if($.spawnMode!=="single-session")J(V.dim("Spawn mode: ")+`${$.spawnMode}
16
+ `),J(V.dim("Max concurrent sessions: ")+`${$.maxSessions}
17
+ `);J(V.dim("Environment ID: ")+`${G}
18
+ `)}if($.sandbox)J(V.dim("Sandbox: ")+`${V.green("Enabled")}
19
+ `);J(`
20
+ `),jz()},logSessionStart($,G){if(K){let w=Rz(G,80);$z(V.dim(`[${Cz()}]`)+` Session started: ${V.white(`"${w}"`)} (${V.dim($)})
21
+ `)}},logSessionComplete($,G){$z(V.dim(`[${Cz()}]`)+` Session ${V.green("completed")} (${qz(G)}) ${V.dim($)}
22
+ `)},logSessionFailed($,G){$z(V.dim(`[${Cz()}]`)+` Session ${V.red("failed")}: ${G} ${V.dim($)}
23
+ `)},logStatus($){$z(V.dim(`[${Cz()}]`)+` ${$}
24
+ `)},logVerbose($){if(K)$z(V.dim(`[${Cz()}] ${$}`)+`
25
+ `)},logError($){$z(V.red(`[${Cz()}] Error: ${$}`)+`
26
+ `)},logReconnected($){$z(V.dim(`[${Cz()}]`)+` ${V.green("Reconnected")} after ${qz($)}
27
+ `)},setRepoInfo($,G){R=$,B=G},updateIdleStatus(){t(),O="idle",Z="Ready",y=null,P=0,A=null,n(U),p()},setAttached($){if(t(),O="attached",Z="Connected",y=null,P=0,N<=1)A=ZJ($,L,F),n(A);p()},updateReconnectingStatus($,G){if(t(),a(),O="reconnecting",M)for(let Vz of _)m(`${V.dim(Vz)}
28
+ `);let w=fz[S%fz.length];S++,m(`${V.yellow(w)} ${V.yellow("Reconnecting")} ${V.dim("·")} ${V.dim(`retrying in ${$}`)} ${V.dim("·")} ${V.dim(`disconnected ${G}`)}
29
+ `)},updateFailedStatus($){t(),a(),O="failed";let G="";if(R)G+=V.dim(" · ")+V.dim(R);if(B)G+=V.dim(" · ")+V.dim(B);if(m(`${V.red(zJ)} ${V.red("Remote Control Failed")}${G}
30
+ `),m(`${V.dim(XJ)}
31
+ `),$)m(`${V.red($)}
32
+ `)},updateSessionStatus($,G,w,Vz){if(w.type==="tool_start")y=w.summary,P=Date.now();p()},clearStatus(){t(),a()},toggleQr(){M=!M,p()},updateSessionCount($,G,w){if(x===$&&N===G&&k===w)return;x=$,N=G,k=w},setSpawnModeDisplay($){if(f===$)return;if(f=$,$)k=$},addSession($,G){b.set($,{url:G})},updateSessionActivity($,G){let w=b.get($);if(!w)return;w.activity=G},setSessionTitle($,G){let w=b.get($);if(!w)return;if(w.title=G,O==="reconnecting"||O==="failed")return;if(N===1)O="titled",Z=Rz(G,40);p()},removeSession($){b.delete($)},refreshDisplay(){if(O==="reconnecting"||O==="failed")return;p()}}}OJ();BK();aJ();OJ();import{spawn as oJ}from"child_process";import{createWriteStream as rJ}from"fs";import{tmpdir as iJ}from"os";import{dirname as nJ,join as GJ}from"path";import{createInterface as HJ}from"readline";var tJ=10,sJ=10,eJ=new Set(["PATH","HOME","USERPROFILE","HOMEPATH","HOMEDRIVE","USERNAME","USER","LOGNAME","TEMP","TMP","TMPDIR","SYSTEMROOT","SYSTEMDRIVE","COMSPEC","WINDIR","LANG","LC_ALL","LC_CTYPE","NODE_OPTIONS","NODE_PATH","NODE_ENV","CLAUDE_CODE_ENVIRONMENT_KIND","CLAUDE_CODE_FORCE_SANDBOX","CLAUDIN_BUBBLEWRAP","CLAUDE_CODE_ENTRYPOINT","CLAUDIN_COORDINATOR_MODE","CLAUDE_CODE_PERMISSIONS_VERSION","CLAUDE_CODE_PERMISSIONS_SETTING","TERM","COLORTERM","FORCE_COLOR","NO_COLOR"]);function zK(z,J){let K={};for(let Y of Object.keys(z))if(eJ.has(Y))K[Y]=z[Y];if(K.CLAUDE_CODE_OAUTH_TOKEN=void 0,K.CLAUDE_CODE_ENVIRONMENT_KIND="bridge",J.sandbox)K.CLAUDE_CODE_FORCE_SANDBOX="1";if(K.CLAUDE_CODE_SESSION_ACCESS_TOKEN=J.accessToken,K.CLAUDE_CODE_POST_FOR_SESSION_INGRESS_V2="1",J.useCcrV2)K.CLAUDE_CODE_USE_CCR_V2="1",K.CLAUDE_CODE_WORKER_EPOCH=String(J.workerEpoch);return K}function Iz(z){return z.replace(/[^a-zA-Z0-9_-]/g,"_")}var JK={Read:"Reading",Write:"Writing",Edit:"Editing",MultiEdit:"Editing",Bash:"Running",Glob:"Searching",Grep:"Searching",WebFetch:"Fetching",WebSearch:"Searching",Task:"Running task",FileReadTool:"Reading",FileWriteTool:"Writing",FileEditTool:"Editing",GlobTool:"Searching",GrepTool:"Searching",BashTool:"Running",NotebookEditTool:"Editing notebook",LSP:"LSP"};function KK(z,J){let K=JK[z]??z,Y=J.file_path??J.filePath??J.pattern??J.command?.slice(0,60)??J.url??J.query??"";if(Y)return`${K} ${Y}`;return K}function ZK(z,J,K){let Y;try{Y=uz(z)}catch{return[]}if(!Y||typeof Y!=="object")return[];let O=Y,Z=[],R=Date.now();switch(O.type){case"assistant":{let B=O.message;if(!B)break;let U=B.content;if(!Array.isArray(U))break;for(let F of U){if(!F||typeof F!=="object")continue;let L=F;if(L.type==="tool_use"){let A=L.name??"Tool",_=L.input??{},M=KK(A,_);Z.push({type:"tool_start",summary:M,timestamp:R}),K(`[bridge:activity] sessionId=${J} tool_use name=${A} ${YK(_)}`)}else if(L.type==="text"){let A=L.text??"";if(A.length>0)Z.push({type:"text",summary:A.slice(0,80),timestamp:R}),K(`[bridge:activity] sessionId=${J} text "${A.slice(0,100)}"`)}}break}case"result":{let B=O.subtype;if(B==="success")Z.push({type:"result",summary:"Session completed",timestamp:R}),K(`[bridge:activity] sessionId=${J} result subtype=success`);else if(B){let F=O.errors?.[0]??`Error: ${B}`;Z.push({type:"error",summary:F,timestamp:R}),K(`[bridge:activity] sessionId=${J} result subtype=${B} error="${F}"`)}else K(`[bridge:activity] sessionId=${J} result subtype=undefined`);break}default:break}return Z}function $K(z){if(z.parent_tool_use_id!=null||z.isSynthetic||z.isReplay)return;let K=z.message?.content,Y;if(typeof K==="string")Y=K;else if(Array.isArray(K)){for(let O of K)if(O&&typeof O==="object"&&O.type==="text"){Y=O.text;break}}return Y=Y?.trim(),Y?Y:void 0}function YK(z){let J=[];for(let[K,Y]of Object.entries(z)){if(typeof Y==="string")J.push(`${K}="${Y.slice(0,100)}"`);if(J.length>=3)break}return J.join(" ")}function gz(z){return{spawn(J,K){let Y=Iz(J.sessionId),O;if(z.debugFile){let N=z.debugFile.lastIndexOf(".");if(N>0)O=`${z.debugFile.slice(0,N)}-${Y}${z.debugFile.slice(N)}`;else O=`${z.debugFile}-${Y}`}else if(z.verbose)O=GJ(iJ(),"claude",`bridge-session-${Y}.log`);let Z=null,R;if(z.debugFile)R=GJ(nJ(z.debugFile),`bridge-transcript-${Y}.jsonl`),Z=rJ(R,{flags:"a"}),Z.on("error",(N)=>{z.onDebug(`[bridge:session] Transcript write error: ${N.message}`),Z=null}),z.onDebug(`[bridge:session] Transcript log: ${R}`);let B=[...z.scriptArgs,"--print","--sdk-url",J.sdkUrl,"--session-id",J.sessionId,"--input-format","stream-json","--output-format","stream-json","--replay-user-messages",...z.verbose?["--verbose"]:[],...O?["--debug-file",O]:[],...z.permissionMode?["--permission-mode",z.permissionMode]:[]],U=zK(z.env,{accessToken:J.accessToken,useCcrV2:J.useCcrV2??!1,workerEpoch:J.workerEpoch,sandbox:z.sandbox});if(z.onDebug(`[bridge:session] Spawning sessionId=${J.sessionId} sdkUrl=${J.sdkUrl} accessToken=${J.accessToken?"present":"MISSING"}`),z.onDebug(`[bridge:session] Child args: ${B.join(" ")}`),O)z.onDebug(`[bridge:session] Debug log: ${O}`);let F=oJ(z.execPath,B,{cwd:K,stdio:["pipe","pipe","pipe"],env:U,windowsHide:!0});z.onDebug(`[bridge:session] sessionId=${J.sessionId} pid=${F.pid}`);let L=[],A=null,_=[],M=!1,y=!1;if(F.stderr)HJ({input:F.stderr}).on("line",(f)=>{if(z.verbose)process.stderr.write(f+`
33
+ `);if(_.length>=sJ)_.shift();_.push(f)});if(F.stdout)HJ({input:F.stdout}).on("line",(f)=>{if(Z)Z.write(f+`
34
+ `);if(z.onDebug(`[bridge:ws] sessionId=${J.sessionId} <<< ${mz(f)}`),z.verbose)process.stderr.write(f+`
35
+ `);let k=ZK(f,J.sessionId,z.onDebug);for(let b of k){if(L.length>=tJ)L.shift();L.push(b),A=b,z.onActivity?.(J.sessionId,b)}{let b;try{b=uz(f)}catch{}if(b&&typeof b==="object"){let d=b;if(d.type==="control_request"){if(d.request?.subtype==="can_use_tool"&&z.onPermissionRequest)z.onPermissionRequest(J.sessionId,b,J.accessToken)}else if(d.type==="user"&&!y&&J.onFirstUserMessage){let S=$K(d);if(S)y=!0,J.onFirstUserMessage(S)}}}});let P=new Promise((N)=>{F.on("close",(f,k)=>{if(Z)Z.end(),Z=null;if(k==="SIGTERM"||k==="SIGINT")z.onDebug(`[bridge:session] sessionId=${J.sessionId} interrupted signal=${k} pid=${F.pid}`),N("interrupted");else if(f===0)z.onDebug(`[bridge:session] sessionId=${J.sessionId} completed exit_code=0 pid=${F.pid}`),N("completed");else z.onDebug(`[bridge:session] sessionId=${J.sessionId} failed exit_code=${f} pid=${F.pid}`),N("failed")}),F.on("error",(f)=>{z.onDebug(`[bridge:session] sessionId=${J.sessionId} spawn error: ${f.message}`),N("failed")})}),x={sessionId:J.sessionId,done:P,activities:L,accessToken:J.accessToken,lastStderr:_,get currentActivity(){return A},kill(){if(!F.killed)if(z.onDebug(`[bridge:session] Sending SIGTERM to sessionId=${J.sessionId} pid=${F.pid}`),process.platform==="win32")F.kill();else F.kill("SIGTERM")},forceKill(){if(!M&&F.pid)if(M=!0,z.onDebug(`[bridge:session] Sending SIGKILL to sessionId=${J.sessionId} pid=${F.pid}`),process.platform==="win32")F.kill();else F.kill("SIGKILL")},writeStdin(N){if(F.stdin&&!F.stdin.destroyed)z.onDebug(`[bridge:ws] sessionId=${J.sessionId} >>> ${mz(N)}`),F.stdin.write(N)},updateAccessToken(N){x.accessToken=N,x.writeStdin(qJ({type:"update_environment_variables",variables:{CLAUDE_CODE_SESSION_ACCESS_TOKEN:N}})+`
36
+ `),z.onDebug(`[bridge:session] Sent token refresh via stdin for sessionId=${J.sessionId}`)}};return x}}}CK();RK();var LK={connInitialMs:2000,connCapMs:120000,connGiveUpMs:600000,generalInitialMs:500,generalCapMs:30000,generalGiveUpMs:600000},yK=1000,IJ=32;async function vJ(){return BJ("tengu_ccr_bridge_multi_session")}function FJ(z){return z.connCapMs*2}function hJ(){if(PJ()||!process.argv[1])return[];return[process.argv[1]]}function EK(z,J,K){try{return z.spawn(J,K)}catch(Y){let O=g(Y);return Ez(Error(`Session spawn failed: ${O}`)),O}}async function SJ(z,J,K,Y,O,Z,R,B=LK,U,F){let L=new AbortController;if(R.aborted)L.abort();else R.addEventListener("abort",()=>L.abort(),{once:!0});let A=L.signal,_=new Map,M=new Map,y=new Map,P=new Map,x=new Map,N=new Map,f=new Set,k=new Map,b=new Set,d=new Set,S=kJ(A);async function Xz(){let Q=!1,j=!1,E=[];for(let[H]of _){let D=y.get(H),v=x.get(H);if(!D||!v)continue;try{await Y.heartbeatWork(J,D,v),Q=!0}catch(u){if(q(`[bridge:heartbeat] Failed for sessionId=${H} workId=${D}: ${g(u)}`),u instanceof xz)if(zz("",{status:u.status,error_type:u.status===401||u.status===403?"auth_failed":"fatal"}),u.status===401||u.status===403)E.push(H);else j=!0}}for(let H of E){Z.logVerbose(`Session ${H} token expired — re-queuing via bridge/reconnect`);try{await Y.reconnectSession(J,H),q(`[bridge:heartbeat] Re-queued sessionId=${H} via bridge/reconnect`)}catch(D){Z.logError(`Failed to refresh session ${H} token: ${g(D)}`),q(`[bridge:heartbeat] reconnectSession(${H}) failed: ${g(D)}`,{level:"error"})}}if(j)return"fatal";if(E.length>0)return"auth_failed";return Q?"ok":"failed"}let m=new Set,a=F?fJ({getAccessToken:F,onRefresh:(Q,j)=>{let E=_.get(Q);if(!E)return;if(m.has(Q))Z.logVerbose(`Refreshing session ${Q} token via bridge/reconnect`),Y.reconnectSession(J,Q).catch((H)=>{Z.logError(`Failed to refresh session ${Q} token: ${g(H)}`),q(`[bridge:token] reconnectSession(${Q}) failed: ${g(H)}`,{level:"error"})});else E.updateAccessToken(j)},label:"bridge"}):null,$z=Date.now(),n=new Set;function o(Q){n.add(Q),Q.finally(()=>n.delete(Q))}let jz=0,t=0,p=null,$=null,G=null,w=null,Vz=!1;if(q(`[bridge:work] Starting poll loop spawnMode=${z.spawnMode} maxSessions=${z.maxSessions} environmentId=${J}`),Wz("info","bridge_loop_started",{max_sessions:z.maxSessions,spawn_mode:z.spawnMode}),Z.printBanner(z,J),Z.updateSessionCount(0,z.maxSessions,z.spawnMode),U)Z.setAttached(U);function _z(){Z.updateSessionCount(_.size,z.maxSessions,z.spawnMode);for(let[u,X]of _){let T=X.currentActivity;if(T)Z.updateSessionActivity(P.get(u)??u,T)}if(_.size===0){Z.updateIdleStatus();return}let[Q,j]=[..._.entries()].pop(),E=M.get(Q);if(!E)return;let H=j.currentActivity;if(!H||H.type==="result"||H.type==="error"){if(z.maxSessions>1)Z.refreshDisplay();return}let D=qz(Date.now()-E),v=j.activities.filter((u)=>u.type==="tool_start").slice(-5).map((u)=>u.summary);Z.updateSessionStatus(Q,D,H,v)}function Oz(){Qz(),_z(),w=setInterval(_z,yK)}function Qz(){if(w)clearInterval(w),w=null}function Jz(Q,j,E){return(H)=>{let D=y.get(Q);_.delete(Q),M.delete(Q),y.delete(Q),x.delete(Q);let v=P.get(Q)??Q;P.delete(Q),Z.removeSession(v),d.delete(v),m.delete(Q);let u=N.get(Q);if(u)clearTimeout(u),N.delete(Q);a?.cancel(Q),S.wake();let X=b.delete(Q),T=X&&H==="interrupted"?"failed":H,c=Date.now()-j;q(`[bridge:session] sessionId=${Q} workId=${D??"unknown"} exited status=${T} duration=${qz(c)}`),zz("",{status:T,duration_ms:c}),Wz("info","bridge_session_done",{status:T,duration_ms:c}),Z.clearStatus(),Qz();let s=E.lastStderr.length>0?E.lastStderr.join(`
37
+ `):void 0,Yz;switch(T){case"completed":Z.logSessionComplete(Q,c);break;case"failed":if(!X&&!A.aborted)Yz=s??"Process exited with error",Z.logSessionFailed(Q,Yz),Ez(Error(`Bridge session failed: ${Yz}`));break;case"interrupted":Z.logVerbose(`Session ${Q} interrupted`);break}if(T!=="interrupted"&&D)o(kz(Y,J,D,Z,B.stopWorkBaseDelayMs)),f.add(D);let Zz=k.get(Q);if(Zz)k.delete(Q),o(vz(Zz.worktreePath,Zz.worktreeBranch,Zz.gitRoot,Zz.hookBased).catch((l)=>Z.logVerbose(`Failed to remove worktree ${Zz.worktreePath}: ${g(l)}`)));if(T!=="interrupted"&&!A.aborted)if(z.spawnMode!=="single-session")o(Y.archiveSession(v).catch((l)=>Z.logVerbose(`Failed to archive session ${Q}: ${g(l)}`))),q(`[bridge:session] Session ${T}, returning to idle (multi-session mode)`);else{q(`[bridge:session] Session ${T}, aborting poll loop to tear down environment`),L.abort();return}if(!A.aborted)Oz()}}if(!U)Oz();while(!A.aborted){let Q=Tz();try{let j=await Y.pollForWork(J,K,A,Q.reclaim_older_than_ms);if(p!==null||$!==null){let X=Date.now()-(p??$??Date.now());Z.logReconnected(X),q(`[bridge:poll] Reconnected after ${qz(X)}`),zz("",{disconnected_ms:X})}if(jz=0,t=0,p=null,$=null,G=null,!j){if(_.size>=z.maxSessions){let T=Q.multisession_poll_interval_ms_at_capacity;if(Q.non_exclusive_heartbeat_interval_ms>0){zz("",{active_sessions:_.size,heartbeat_interval_ms:Q.non_exclusive_heartbeat_interval_ms});let c=T>0?Date.now()+T:null,s="ok",Yz=0;while(!A.aborted&&_.size>=z.maxSessions&&(c===null||Date.now()<c)){let l=Tz();if(l.non_exclusive_heartbeat_interval_ms<=0)break;let Nz=S.signal();if(s=await Xz(),s==="auth_failed"||s==="fatal"){Nz.cleanup();break}Yz++,await i(l.non_exclusive_heartbeat_interval_ms,Nz.signal),Nz.cleanup()}let Zz=s==="auth_failed"||s==="fatal"?s:A.aborted?"shutdown":_.size<z.maxSessions?"capacity_changed":c!==null&&Date.now()>=c?"poll_due":"config_disabled";if(zz("",{reason:Zz,heartbeat_cycles:Yz,active_sessions:_.size}),Zz==="poll_due")q(`[bridge:poll] Heartbeat poll_due after ${Yz} cycles — falling through to pollForWork`);if(s==="auth_failed"||s==="fatal"){let l=S.signal();await i(T>0?T:Q.non_exclusive_heartbeat_interval_ms,l.signal),l.cleanup()}}else if(T>0){let c=S.signal();await i(T,c.signal),c.cleanup()}}else{let T=_.size>0?Q.multisession_poll_interval_ms_partial_capacity:Q.multisession_poll_interval_ms_not_at_capacity;await i(T,A)}continue}let H=_.size>=z.maxSessions;if(f.has(j.id)){if(q(`[bridge:work] Skipping already-completed workId=${j.id}`),H){let X=S.signal();if(Q.non_exclusive_heartbeat_interval_ms>0)await Xz(),await i(Q.non_exclusive_heartbeat_interval_ms,X.signal);else if(Q.multisession_poll_interval_ms_at_capacity>0)await i(Q.multisession_poll_interval_ms_at_capacity,X.signal);X.cleanup()}else await i(1000,A);continue}let D;try{D=EJ(j.secret)}catch(X){let T=g(X);if(Z.logError(`Failed to decode work secret for workId=${j.id}: ${T}`),zz("",{}),f.add(j.id),o(kz(Y,J,j.id,Z,B.stopWorkBaseDelayMs)),H){let c=S.signal();if(Q.non_exclusive_heartbeat_interval_ms>0)await Xz(),await i(Q.non_exclusive_heartbeat_interval_ms,c.signal);else if(Q.multisession_poll_interval_ms_at_capacity>0)await i(Q.multisession_poll_interval_ms_at_capacity,c.signal);c.cleanup()}continue}let v=async()=>{q(`[bridge:work] Acknowledging workId=${j.id}`);try{await Y.acknowledgeWork(J,j.id,D.session_ingress_token)}catch(X){q(`[bridge:work] Acknowledge failed workId=${j.id}: ${g(X)}`)}},u=j.data.type;switch(j.data.type){case"healthcheck":await v(),q("[bridge:work] Healthcheck received"),Z.logVerbose("Healthcheck received");break;case"session":{let X=j.data.id;try{yJ(X,"session_id")}catch{await v(),Z.logError(`Invalid session_id received: ${X}`);break}let T=_.get(X);if(T){T.updateAccessToken(D.session_ingress_token),x.set(X,D.session_ingress_token),y.set(X,j.id),a?.schedule(X,D.session_ingress_token),q(`[bridge:work] Updated access token for existing sessionId=${X} workId=${j.id}`),await v();break}if(_.size>=z.maxSessions){q(`[bridge:work] At capacity (${_.size}/${z.maxSessions}), cannot spawn new session for workId=${j.id}`);break}await v();let c=Date.now(),s,Yz=!1,Zz;if(D.use_code_sessions===!0||NJ(process.env.CLAUDE_BRIDGE_USE_CCR_V2)){s=MJ(z.apiBaseUrl,X);for(let W=1;W<=2;W++)try{Zz=await wJ(s,D.session_ingress_token),Yz=!0,q(`[bridge:session] CCR v2: registered worker sessionId=${X} epoch=${Zz} attempt=${W}`);break}catch(C){let h=g(C);if(W<2){if(q(`[bridge:session] CCR v2: registerWorker attempt ${W} failed, retrying: ${h}`),await i(2000,A),A.aborted)break;continue}Z.logError(`CCR v2 worker registration failed for session ${X}: ${h}`),Ez(Error(`registerWorker failed: ${h}`)),f.add(j.id),o(kz(Y,J,j.id,Z,B.stopWorkBaseDelayMs))}if(!Yz)break}else s=TJ(z.sessionIngressUrl,X);let{spawnMode:l,dir:Nz}=z,Uz=0;if(l==="worktree"&&(U===void 0||!xJ(X,U))){let W=Date.now();try{let C=await DJ(`bridge-${Iz(X)}`);Uz=Date.now()-W,k.set(X,{worktreePath:C.worktreePath,worktreeBranch:C.worktreeBranch,gitRoot:C.gitRoot,hookBased:C.hookBased}),Nz=C.worktreePath,q(`[bridge:session] Created worktree for sessionId=${X} at ${C.worktreePath}`)}catch(C){let h=g(C);Z.logError(`Failed to create worktree for session ${X}: ${h}`),Ez(Error(`Worktree creation failed: ${h}`)),f.add(j.id),o(kz(Y,J,j.id,Z,B.stopWorkBaseDelayMs));break}}q(`[bridge:session] Spawning sessionId=${X} sdkUrl=${s}`);let e=pz(X),Lz=EK(O,{sessionId:X,sdkUrl:s,accessToken:D.session_ingress_token,useCcrV2:Yz,workerEpoch:Zz,onFirstUserMessage:(W)=>{if(d.has(e))return;d.add(e);let C=SK(W);Z.setSessionTitle(e,C),q(`[bridge:title] derived title for ${e}: ${C}`),import("./createSession-1.1.30-rwvvv9na.mjs").then(({updateBridgeSessionTitle:h})=>h(e,C,{baseUrl:z.apiBaseUrl})).catch((h)=>q(`[bridge:title] failed to update title for ${e}: ${h}`,{level:"error"}))}},Nz);if(typeof Lz==="string"){Z.logError(`Failed to spawn session ${X}: ${Lz}`);let W=k.get(X);if(W)k.delete(X),o(vz(W.worktreePath,W.worktreeBranch,W.gitRoot,W.hookBased).catch((C)=>Z.logVerbose(`Failed to remove worktree ${W.worktreePath}: ${g(C)}`)));f.add(j.id),o(kz(Y,J,j.id,Z,B.stopWorkBaseDelayMs));break}let Dz=Lz,Az=Date.now()-c;zz("",{active_sessions:_.size,spawn_mode:l,in_worktree:k.has(X),spawn_duration_ms:Az,worktree_create_ms:Uz}),Wz("info","bridge_session_started",{spawn_mode:l,in_worktree:k.has(X),spawn_duration_ms:Az,worktree_create_ms:Uz}),_.set(X,Dz),y.set(X,j.id),x.set(X,D.session_ingress_token),P.set(X,e);let wz=Date.now();M.set(X,wz),Z.logSessionStart(X,`Session ${X}`);let yz=Iz(X),Gz;if(z.debugFile){let W=z.debugFile.lastIndexOf(".");if(W>0)Gz=`${z.debugFile.slice(0,W)}-${yz}${z.debugFile.slice(W)}`;else Gz=`${z.debugFile}-${yz}`}else if(z.verbose)Gz=UK(DK(),"claude",`bridge-session-${yz}.log`);if(Gz)Z.logVerbose(`Debug log: ${Gz}`);Z.addSession(e,AJ(e,z.sessionIngressUrl)),Oz(),Z.setAttached(e),mK(e,z.apiBaseUrl).then((W)=>{if(W&&_.has(X))d.add(e),Z.setSessionTitle(e,W),q(`[bridge:title] server title for ${e}: ${W}`)}).catch((W)=>q(`[bridge:title] failed to fetch title for ${e}: ${W}`,{level:"error"}));let Bz=z.sessionTimeoutMs??LJ;if(Bz>0){let W=setTimeout(wK,Bz,X,Bz,Z,b,Dz);N.set(X,W)}if(Yz)m.add(X);a?.schedule(X,D.session_ingress_token),Dz.done.then(Jz(X,wz,Dz));break}default:await v(),q(`[bridge:work] Unknown work type: ${u}, skipping`);break}if(H){let X=S.signal();if(Q.non_exclusive_heartbeat_interval_ms>0)await Xz(),await i(Q.non_exclusive_heartbeat_interval_ms,X.signal);else if(Q.multisession_poll_interval_ms_at_capacity>0)await i(Q.multisession_poll_interval_ms_at_capacity,X.signal);X.cleanup()}}catch(j){if(A.aborted)break;if(j instanceof xz){if(Vz=!0,cz(j.errorType))Z.logStatus(j.message);else if(iz(j))q(`[bridge:work] Suppressed 403 error: ${j.message}`);else Z.logError(j.message),Ez(j);zz("",{status:j.status,error_type:j.errorType}),Wz(cz(j.errorType)?"info":"error","bridge_fatal_error",{status:j.status,error_type:j.errorType});break}let E=UJ(j);if(xK(j)||MK(j)){let H=Date.now();if(G!==null&&H-G>FJ(B))q(`[bridge:work] Detected system sleep (${Math.round((H-G)/1000)}s gap), resetting error budget`),Wz("info","bridge_poll_sleep_detected",{gapMs:H-G}),p=null,jz=0,$=null,t=0;if(G=H,!p)p=H;let D=H-p;if(D>=B.connGiveUpMs){Z.logError(`Server unreachable for ${Math.round(D/60000)} minutes, giving up.`),zz("",{error_type:"connection",elapsed_ms:D}),Wz("error","bridge_poll_give_up",{error_type:"connection",elapsed_ms:D}),Vz=!0;break}$=null,t=0,jz=jz?Math.min(jz*2,B.connCapMs):B.connInitialMs;let v=dz(jz);if(Z.logVerbose(`Connection error, retrying in ${bz(v)} (${Math.round(D/1000)}s elapsed): ${E}`),Z.updateReconnectingStatus(bz(v),qz(D)),Tz().non_exclusive_heartbeat_interval_ms>0)await Xz();await i(v,A)}else{let H=Date.now();if(G!==null&&H-G>FJ(B))q(`[bridge:work] Detected system sleep (${Math.round((H-G)/1000)}s gap), resetting error budget`),Wz("info","bridge_poll_sleep_detected",{gapMs:H-G}),p=null,jz=0,$=null,t=0;if(G=H,!$)$=H;let D=H-$;if(D>=B.generalGiveUpMs){Z.logError(`Persistent errors for ${Math.round(D/60000)} minutes, giving up.`),zz("",{error_type:"general",elapsed_ms:D}),Wz("error","bridge_poll_give_up",{error_type:"general",elapsed_ms:D}),Vz=!0;break}p=null,jz=0,t=t?Math.min(t*2,B.generalCapMs):B.generalInitialMs;let v=dz(t);if(Z.logVerbose(`Poll failed, retrying in ${bz(v)} (${Math.round(D/1000)}s elapsed): ${E}`),Z.updateReconnectingStatus(bz(v),qz(D)),Tz().non_exclusive_heartbeat_interval_ms>0)await Xz();await i(v,A)}}}Qz(),Z.clearStatus();let Kz=Date.now()-$z;zz("",{active_sessions:_.size,loop_duration_ms:Kz}),Wz("info","bridge_shutdown",{active_sessions:_.size,loop_duration_ms:Kz});let r=new Set(_.keys());if(U)r.add(U);let Mz=new Map(P);if(_.size>0){q(`[bridge:shutdown] Shutting down ${_.size} active session(s)`),Z.logStatus(`Shutting down ${_.size} active session(s)…`);let Q=new Map(y);for(let[E,H]of _.entries())q(`[bridge:shutdown] Sending SIGTERM to sessionId=${E}`),H.kill();let j=new AbortController;await Promise.race([Promise.allSettled([..._.values()].map((E)=>E.done)),i(B.shutdownGraceMs??30000,j.signal)]),j.abort();for(let[E,H]of _.entries())q(`[bridge:shutdown] Force-killing stuck sessionId=${E}`),H.forceKill();for(let E of N.values())clearTimeout(E);if(N.clear(),a?.cancelAll(),k.size>0){let E=[...k.values()];k.clear(),q(`[bridge:shutdown] Cleaning up ${E.length} worktree(s)`),await Promise.allSettled(E.map((H)=>vz(H.worktreePath,H.worktreeBranch,H.gitRoot,H.hookBased)))}await Promise.allSettled([...Q.entries()].map(([E,H])=>{return Y.stopWork(J,H,!0).catch((D)=>Z.logVerbose(`Failed to stop work ${H} for session ${E}: ${g(D)}`))}))}if(n.size>0)await Promise.allSettled([...n]);if(r.size>0)q(`[bridge:shutdown] Archiving ${r.size} session(s)`),await Promise.allSettled([...r].map((Q)=>Y.archiveSession(Mz.get(Q)??pz(Q)).catch((j)=>Z.logVerbose(`Failed to archive session ${Q}: ${g(j)}`))));try{await Y.deregisterEnvironment(J),q("[bridge:shutdown] Environment deregistered, bridge offline"),Z.logVerbose("Environment deregistered.")}catch(Q){Z.logVerbose(`Failed to deregister environment: ${g(Q)}`)}let{clearBridgePointer:Fz}=await import("./bridgePointer-1.1.30-gsa0eerc.mjs");await Fz(z.dir),Z.logVerbose("Environment offline.")}var TK=new Set(["ECONNREFUSED","ECONNRESET","ETIMEDOUT","ENETUNREACH","EHOSTUNREACH"]);function xK(z){if(z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&TK.has(z.code))return!0;return!1}function MK(z){return!!z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&z.code==="ERR_BAD_RESPONSE"}function dz(z){return Math.max(0,z+z*0.25*(2*Math.random()-1))}function bz(z){return z>=1000?`${(z/1000).toFixed(1)}s`:`${Math.round(z)}ms`}async function kz(z,J,K,Y,O=1000){for(let R=1;R<=3;R++)try{await z.stopWork(J,K,!1),q(`[bridge:work] stopWork succeeded for workId=${K} on attempt ${R}/3`);return}catch(B){if(B instanceof xz){if(iz(B))q(`[bridge:work] Suppressed stopWork 403 for ${K}: ${B.message}`);else Y.logError(`Failed to stop work ${K}: ${B.message}`);Wz("error","bridge_stop_work_failed",{attempts:R,fatal:!0});return}let U=g(B);if(R<3){let F=dz(O*Math.pow(2,R-1));Y.logVerbose(`Failed to stop work ${K} (attempt ${R}/3), retrying in ${bz(F)}: ${U}`),await i(F)}else Y.logError(`Failed to stop work ${K} after 3 attempts: ${U}`),Wz("error","bridge_stop_work_failed",{attempts:3})}}function wK(z,J,K,Y,O){q(`[bridge:session] sessionId=${z} timed out after ${qz(J)}`),zz("",{timeout_ms:J}),K.logSessionFailed(z,`Session timed out after ${qz(J)}`),Y.add(z),O.kill()}var fK=["session","same-dir","worktree"];function kK(z){if(z==="session")return"single-session";if(z==="same-dir")return"same-dir";if(z==="worktree")return"worktree";return`--spawn requires one of: ${fK.join(", ")} (got: ${z??"<missing>"})`}function bK(z){let J=z===void 0?NaN:parseInt(z,10);if(isNaN(J)||J<1)return`--capacity requires a positive integer (got: ${z??"<missing>"})`;return J}function IK(z){let J=!1,K=!1,Y,O,Z,R,B=!1,U,F,L,A,_=!1;for(let y=0;y<z.length;y++){let P=z[y];if(P==="--help"||P==="-h")B=!0;else if(P==="--verbose"||P==="-v")J=!0;else if(P==="--sandbox")K=!0;else if(P==="--no-sandbox")K=!1;else if(P==="--debug-file"&&y+1<z.length)Y=lz(z[++y]);else if(P.startsWith("--debug-file="))Y=lz(P.slice(13));else if(P==="--session-timeout"&&y+1<z.length)O=parseInt(z[++y],10)*1000;else if(P.startsWith("--session-timeout="))O=parseInt(P.slice(18),10)*1000;else if(P==="--permission-mode"&&y+1<z.length)Z=z[++y];else if(P.startsWith("--permission-mode="))Z=P.slice(18);else if(P==="--name"&&y+1<z.length)R=z[++y];else if(P.startsWith("--name="))R=P.slice(7);else if(P==="--spawn"||P.startsWith("--spawn=")){if(U!==void 0)return M("--spawn may only be specified once");let x=P.startsWith("--spawn=")?P.slice(8):z[++y],N=kK(x);if(N==="single-session"||N==="same-dir"||N==="worktree")U=N;else return M(N)}else if(P==="--capacity"||P.startsWith("--capacity=")){if(F!==void 0)return M("--capacity may only be specified once");let x=P.startsWith("--capacity=")?P.slice(11):z[++y],N=bK(x);if(typeof N==="number")F=N;else return M(N)}else if(P==="--create-session-in-dir")L=!0;else if(P==="--no-create-session-in-dir")L=!1;else return M(`Unknown argument: ${P}
38
+ Run 'claudin remote-control --help' for usage.`)}if(U==="single-session"&&F!==void 0)return M("--capacity cannot be used with --spawn=session (single-session mode has fixed capacity 1).");if((A||_)&&(U!==void 0||F!==void 0||L!==void 0))return M("--session-id and --continue cannot be used with --spawn, --capacity, or --create-session-in-dir.");if(A&&_)return M("--session-id and --continue cannot be used together.");return{verbose:J,sandbox:K,debugFile:Y,sessionTimeoutMs:O,permissionMode:Z,name:R,spawnMode:U,capacity:F,createSessionInDir:L,sessionId:A,continueSession:_,help:B};function M(y){return{verbose:J,sandbox:K,debugFile:Y,sessionTimeoutMs:O,permissionMode:Z,name:R,spawnMode:U,capacity:F,createSessionInDir:L,sessionId:A,continueSession:_,help:B,error:y}}}async function vK(){let{EXTERNAL_PERMISSION_MODES:z}=await import("./permissions-1.1.30-vgtb4qf9.mjs"),J=z.join(", "),K=await vJ(),Y=K?` --spawn <mode> Spawn mode: same-dir, worktree, session
39
+ (default: same-dir)
40
+ --capacity <N> Max concurrent sessions in worktree or
41
+ same-dir mode (default: ${IJ})
42
+ --[no-]create-session-in-dir Pre-create a session in the current
43
+ directory; in worktree mode this session
44
+ stays in cwd while on-demand sessions get
45
+ isolated worktrees (default: on)
46
+ `:"",R=`
47
+ Remote Control - Connect your local environment to claude.ai/code
48
+
49
+ USAGE
50
+ claudin remote-control [options]
51
+ OPTIONS
52
+ --name <name> Name for the session (shown in claude.ai/code)
53
+ --permission-mode <mode> Permission mode for spawned sessions
54
+ (${J})
55
+ --debug-file <path> Write debug logs to file
56
+ -v, --verbose Enable verbose output
57
+ -h, --help Show this help
58
+ ${Y}
59
+ DESCRIPTION
60
+ Remote Control allows you to control sessions on your local device from
61
+ claude.ai/code (https://claude.ai/code). Run this command in the
62
+ directory you want to work in, then connect from the Claude app or web.
63
+ ${K?`
64
+ Remote Control runs as a persistent server that accepts multiple concurrent
65
+ sessions in the current directory. One session is pre-created on start so
66
+ you have somewhere to type immediately. Use --spawn=worktree to isolate
67
+ each on-demand session in its own git worktree, or --spawn=session for
68
+ the classic single-session mode (exits when that session ends). Press 'w'
69
+ during runtime to toggle between same-dir and worktree.
70
+ `:""}
71
+ NOTES
72
+ - You must be logged in with a Claude account that has a subscription
73
+ - Run \`claudin\` first in the directory to accept the workspace trust dialog
74
+ ${K?` - Worktree mode requires a git repository or WorktreeCreate/WorktreeRemove hooks
75
+ `:""}`;console.log(R)}var hK=80;function SK(z){let J=z.replace(/\s+/g," ").trim();return Rz(J,hK)}async function mK(z,J){let{getBridgeSession:K}=await import("./createSession-1.1.30-rwvvv9na.mjs");return(await K(z,{baseUrl:J}))?.title||void 0}async function fZ(z){let J=IK(z);if(J.help){await vK();return}if(J.error)console.error(`Error: ${J.error}`),process.exit(1);let{verbose:K,sandbox:Y,debugFile:O,sessionTimeoutMs:Z,permissionMode:R,name:B,spawnMode:U,capacity:F,createSessionInDir:L,sessionId:A,continueSession:_}=J,M=A,y,P=U!==void 0||F!==void 0||L!==void 0;if(R!==void 0){let{PERMISSION_MODES:W}=await import("./permissions-1.1.30-vgtb4qf9.mjs"),C=W;if(!C.includes(R))console.error(`Error: Invalid permission mode '${R}'. Valid modes: ${C.join(", ")}`),process.exit(1)}let x=lz("."),{enableConfigs:N,checkHasTrustDialogAccepted:f}=await import("./config-1.1.30-s02sv9vf.mjs");N();let{initSinks:k}=await import("./sinks-1.1.30-phkc3yep.mjs");k();let b=await vJ();if(P&&!b)await _J("",{used_spawn:U!==void 0,used_capacity:F!==void 0,used_create_session_in_dir:L!==void 0}),await Promise.race([Promise.all([RJ(),CJ()]),i(500,void 0,{unref:!0})]).catch(()=>{}),console.error("Error: Multi-session Remote Control is not enabled for your account yet."),process.exit(1);let{setOriginalCwd:d,setCwdState:S}=await import("./state-1.1.30-ge0kb9gr.mjs");if(d(x),S(x),!f())console.error(`Error: Workspace not trusted. Please run \`claude\` in ${x} first to review and accept the workspace trust dialog.`),process.exit(1);let{clearOAuthTokenCache:Xz,checkAndRefreshOAuthTokenIfNeeded:m}=await import("./auth-1.1.30-mmymct98.mjs"),{getBridgeAccessToken:a,getBridgeBaseUrl:$z}=await import("./bridgeConfig-1.1.30-8hd92b6p.mjs");if(!a())console.error(oz),process.exit(1);let{getGlobalConfig:o,saveGlobalConfig:jz,getCurrentProjectConfig:t,saveCurrentProjectConfig:p}=await import("./config-1.1.30-s02sv9vf.mjs");if(!o().remoteDialogSeen){let C=(await import("readline")).createInterface({input:process.stdin,output:process.stdout});console.log(`
76
+ Remote Control lets you access this CLI session from the web (claude.ai/code)
77
+ or the Claude app, so you can pick up where you left off on any device.
78
+
79
+ You can disconnect remote access anytime by running /remote-control again.
80
+ `);let h=await new Promise((Hz)=>{C.question("Enable Remote Control? (y/n) ",Hz)});if(C.close(),jz((Hz)=>{if(Hz.remoteDialogSeen)return Hz;return{...Hz,remoteDialogSeen:!0}}),h.toLowerCase()!=="y"&&h.toLowerCase()!=="yes")process.exit(0)}let $=$z();if($.startsWith("http://")&&!$.includes("localhost")&&!$.includes("127.0.0.1"))console.error("Error: Remote Control base URL uses HTTP. Only HTTPS or localhost HTTP is allowed."),process.exit(1);let G=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||$,{getBranch:w,getRemoteUrl:Vz,findGitRoot:_z}=await import("./git-1.1.30-sxa8xf85.mjs"),{hasWorktreeCreateHook:Oz}=await import("./hooks-1.1.30-707b390t.mjs"),Qz=Oz()||_z(x)!==null,Jz=b?t().remoteControlSpawnMode:void 0;if(Jz==="worktree"&&!Qz)console.error("Warning: Saved spawn mode is worktree but this directory is not a git repository. Falling back to same-dir."),Jz=void 0,p((W)=>{if(W.remoteControlSpawnMode===void 0)return W;return{...W,remoteControlSpawnMode:void 0}});if(b&&!Jz&&Qz&&U===void 0&&!M&&process.stdin.isTTY){let C=(await import("readline")).createInterface({input:process.stdin,output:process.stdout});console.log(`
81
+ Claude Remote Control is launching in spawn mode which lets you create new sessions in this project from Claude Code on Web or your Mobile app. Learn more here: https://code.claude.com/docs/en/remote-control
82
+
83
+ Spawn mode for this project:
84
+ `+` [1] same-dir — sessions share the current directory (default)
85
+ `+` [2] worktree — each session gets an isolated git worktree
86
+
87
+ `+`This can be changed later or explicitly set with --spawn=same-dir or --spawn=worktree.
88
+ `);let h=await new Promise((Pz)=>{C.question("Choose [1/2] (default: 1): ",Pz)});C.close();let Hz=h.trim()==="2"?"worktree":"same-dir";Jz=Hz,zz("",{spawn_mode:Hz}),p((Pz)=>{if(Pz.remoteControlSpawnMode===Hz)return Pz;return{...Pz,remoteControlSpawnMode:Hz}})}let Kz,r;if(M)r="single-session",Kz="resume";else if(U!==void 0)r=U,Kz="flag";else if(Jz!==void 0)r=Jz,Kz="saved";else r=b?"same-dir":"single-session",Kz="gate_default";let Mz=r==="single-session"?1:F??IJ,Fz=L??!0;if(!M){let{clearBridgePointer:W}=await import("./bridgePointer-1.1.30-gsa0eerc.mjs");await W(x)}if(r==="worktree"&&!Qz)console.error("Error: Worktree mode requires a git repository or WorktreeCreate hooks configured. Use --spawn=session for single-session mode."),process.exit(1);let Q=await w(),j=await Vz(),E=bJ(),H=Sz(),{handleOAuth401Error:D}=await import("./auth-1.1.30-mmymct98.mjs"),v=rz({baseUrl:$,getAccessToken:a,runnerVersion:"99.0.0",onDebug:q,onAuth401:D,getTrustedDeviceToken:az}),u,X={dir:x,machineName:E,branch:Q,gitRepoUrl:j,maxSessions:Mz,spawnMode:r,verbose:K,sandbox:Y,bridgeId:H,workerType:"claude_code",environmentId:Sz(),reuseEnvironmentId:u,apiBaseUrl:$,sessionIngressUrl:G,debugFile:O,sessionTimeoutMs:Z};q(`[bridge:init] bridgeId=${H}${u?` reuseEnvironmentId=${u}`:""} dir=${x} branch=${Q} gitRepoUrl=${j} machine=${E}`),q(`[bridge:init] apiBaseUrl=${$} sessionIngressUrl=${G}`),q(`[bridge:init] sandbox=${Y}${O?` debugFile=${O}`:""}`);let T,c;try{let W=await v.registerBridgeEnvironment(X);T=W.environment_id,c=W.environment_secret}catch(W){zz("",{status:W instanceof xz?W.status:void 0}),console.error(W instanceof xz&&W.status===404?"Remote Control environments are not available for your account.":`Error: ${g(W)}`),process.exit(1)}let s;q(`[bridge:init] Registered, server environmentId=${T}`);let Yz=Tz();zz("",{max_sessions:X.maxSessions,has_debug_file:!!X.debugFile,sandbox:X.sandbox,verbose:X.verbose,heartbeat_interval_ms:Yz.non_exclusive_heartbeat_interval_ms,spawn_mode:X.spawnMode,spawn_mode_source:Kz,multi_session_gate:b,pre_create_session:Fz,worktree_available:Qz}),Wz("info","bridge_started",{max_sessions:X.maxSessions,sandbox:X.sandbox,spawn_mode:X.spawnMode});let Zz=gz({execPath:process.execPath,scriptArgs:hJ(),env:process.env,verbose:K,sandbox:Y,debugFile:O,permissionMode:R,onDebug:q,onActivity:(W,C)=>{q(`[bridge:activity] sessionId=${W} ${C.type} ${C.summary}`)},onPermissionRequest:(W,C,h)=>{q(`[bridge:perm] sessionId=${W} tool=${C.request.tool_name} request_id=${C.request_id} (not auto-approving)`)}}),l=VJ({verbose:K}),{parseGitHubRepository:Nz}=await import("./detectRepository-1.1.30-2xwvggy6.mjs"),Uz=j?Nz(j):null,e=Uz?Uz.split("/").pop():AK(x);l.setRepoInfo(e,Q);let Lz=r!=="single-session"&&Qz;if(Lz)l.setSpawnModeDisplay(r);let Dz=(W)=>{if(W[0]===3||W[0]===4){process.emit("SIGINT");return}if(W[0]===32){l.toggleQr();return}if(W[0]===119){if(!Lz)return;let C=X.spawnMode==="same-dir"?"worktree":"same-dir";X.spawnMode=C,zz("",{spawn_mode:C}),l.logStatus(C==="worktree"?"Spawn mode: worktree (new sessions get isolated git worktrees)":"Spawn mode: same-dir (new sessions share the current directory)"),l.setSpawnModeDisplay(C),l.refreshDisplay(),p((h)=>{if(h.remoteControlSpawnMode===C)return h;return{...h,remoteControlSpawnMode:C}});return}};if(process.stdin.isTTY)process.stdin.setRawMode(!0),process.stdin.resume(),process.stdin.on("data",Dz);let Az=new AbortController,wz=()=>{q("[bridge:shutdown] SIGINT received, shutting down"),Az.abort()},yz=()=>{q("[bridge:shutdown] SIGTERM received, shutting down"),Az.abort()};process.on("SIGINT",wz),process.on("SIGTERM",yz);let Gz=null;if(Fz){let{createBridgeSession:W}=await import("./createSession-1.1.30-rwvvv9na.mjs");try{if(Gz=await W({environmentId:T,title:B,events:[],gitRepoUrl:j,branch:Q,signal:Az.signal,baseUrl:$,getAccessToken:a,permissionMode:R}),Gz)q(`[bridge:init] Created initial session ${Gz}`)}catch(C){q(`[bridge:init] Session creation failed (non-fatal): ${g(C)}`)}}let Bz=null;if(Gz&&r==="single-session"){let{writeBridgePointer:W}=await import("./bridgePointer-1.1.30-gsa0eerc.mjs"),C={sessionId:Gz,environmentId:T,source:"standalone"};await W(X.dir,C),Bz=setInterval(W,3600000,X.dir,C),Bz.unref?.()}try{await SJ(X,T,c,v,Zz,l,Az.signal,void 0,Gz??void 0,async()=>{return Xz(),await m(),a()})}finally{if(Bz!==null)clearInterval(Bz);if(process.off("SIGINT",wz),process.off("SIGTERM",yz),process.stdin.off("data",Dz),process.stdin.isTTY)process.stdin.setRawMode(!1);process.stdin.pause()}process.exit(0)}class hz extends Error{constructor(z){super(z);this.name="BridgeHeadlessPermanentError"}}async function kZ(z,J){let{dir:K,log:Y}=z;process.chdir(K);let{setOriginalCwd:O,setCwdState:Z}=await import("./state-1.1.30-ge0kb9gr.mjs");O(K),Z(K);let{enableConfigs:R,checkHasTrustDialogAccepted:B}=await import("./config-1.1.30-s02sv9vf.mjs");R();let{initSinks:U}=await import("./sinks-1.1.30-phkc3yep.mjs");if(U(),!B())throw new hz(`Workspace not trusted: ${K}. Run \`claude\` in that directory first to accept the trust dialog.`);if(!z.getAccessToken())throw Error(oz);let{getBridgeBaseUrl:F}=await import("./bridgeConfig-1.1.30-8hd92b6p.mjs"),L=F();if(L.startsWith("http://")&&!L.includes("localhost")&&!L.includes("127.0.0.1"))throw new hz("Remote Control base URL uses HTTP. Only HTTPS or localhost HTTP is allowed.");let A=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||L,{getBranch:_,getRemoteUrl:M,findGitRoot:y}=await import("./git-1.1.30-sxa8xf85.mjs"),{hasWorktreeCreateHook:P}=await import("./hooks-1.1.30-707b390t.mjs");if(z.spawnMode==="worktree"){if(!(P()||y(K)!==null))throw new hz(`Worktree mode requires a git repository or WorktreeCreate hooks. Directory ${K} has neither.`)}let x=await _(),N=await M(),f=bJ(),k=Sz(),b={dir:K,machineName:f,branch:x,gitRepoUrl:N,maxSessions:z.capacity,spawnMode:z.spawnMode,verbose:!1,sandbox:z.sandbox,bridgeId:k,workerType:"claude_code",environmentId:Sz(),apiBaseUrl:L,sessionIngressUrl:A,sessionTimeoutMs:z.sessionTimeoutMs},d=rz({baseUrl:L,getAccessToken:z.getAccessToken,runnerVersion:"99.0.0",onDebug:Y,onAuth401:z.onAuth401,getTrustedDeviceToken:az}),S,Xz;try{let n=await d.registerBridgeEnvironment(b);S=n.environment_id,Xz=n.environment_secret}catch(n){throw Error(`Bridge registration failed: ${g(n)}`)}let m=gz({execPath:process.execPath,scriptArgs:hJ(),env:process.env,verbose:!1,sandbox:z.sandbox,permissionMode:z.permissionMode,onDebug:Y}),a=uK(Y);a.printBanner(b,S);let $z;if(z.createSessionOnStart){let{createBridgeSession:n}=await import("./createSession-1.1.30-rwvvv9na.mjs");try{let o=await n({environmentId:S,title:z.name,events:[],gitRepoUrl:N,branch:x,signal:J,baseUrl:L,getAccessToken:z.getAccessToken,permissionMode:z.permissionMode});if(o)$z=o,Y(`created initial session ${o}`)}catch(o){Y(`session pre-creation failed (non-fatal): ${g(o)}`)}}await SJ(b,S,Xz,d,m,a,J,void 0,$z,async()=>z.getAccessToken())}function uK(z){let J=()=>{};return{printBanner:(K,Y)=>z(`registered environmentId=${Y} dir=${K.dir} spawnMode=${K.spawnMode} capacity=${K.maxSessions}`),logSessionStart:(K,Y)=>z(`session start ${K}`),logSessionComplete:(K,Y)=>z(`session complete ${K} (${Y}ms)`),logSessionFailed:(K,Y)=>z(`session failed ${K}: ${Y}`),logStatus:z,logVerbose:z,logError:(K)=>z(`error: ${K}`),logReconnected:(K)=>z(`reconnected after ${K}ms`),addSession:(K,Y)=>z(`session attached ${K}`),removeSession:(K)=>z(`session detached ${K}`),updateIdleStatus:J,updateReconnectingStatus:J,updateSessionStatus:J,updateSessionActivity:J,updateSessionCount:J,updateFailedStatus:J,setSpawnModeDisplay:J,setRepoInfo:J,setAttached:J,setSessionTitle:J,clearStatus:J,toggleQr:J,refreshDisplay:J}}export{SJ as runBridgeLoop,kZ as runBridgeHeadless,IK as parseArgs,MK as isServerError,xK as isConnectionError,fZ as bridgeMain,hz as BridgeHeadlessPermanentError};
@@ -0,0 +1 @@
1
+ import{OW as S,PW as c}from"./cli-1.1.30-mpmg84pk.mjs";import{Aka as Y,Bka as O,Cka as N,Dka as _,ska as G,tka as A,xka as M}from"./cli-1.1.30-yy92v8yq.mjs";import{Ama as k,ama as K,bma as W,fma as R,xma as C}from"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import{Zma as y,cna as j}from"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-7dtpd1ra.mjs";O();k();j();c();_();M();R();import{mkdir as z,readFile as E,stat as T,unlink as m,writeFile as B}from"fs/promises";import{dirname as b,join as f}from"path";var I=50,u=14400000,D=N(()=>Y.object({sessionId:Y.string(),environmentId:Y.string(),source:Y.enum(["standalone","repl"])}));function J(q){return f(A(),G(q),"bridge-pointer.json")}async function g(q,x){let v=J(q);try{await z(b(v),{recursive:!0}),await B(v,K(x),"utf8"),C(`[bridge:pointer] wrote ${v}`)}catch(V){C(`[bridge:pointer] write failed: ${V}`,{level:"warn"})}}async function U(q){let x=J(q),v,V;try{V=(await T(x)).mtimeMs,v=await E(x,"utf8")}catch{return null}let Z=D().safeParse(F(v));if(!Z.success)return C(`[bridge:pointer] invalid schema, clearing: ${x}`),await X(q),null;let $=Math.max(0,Date.now()-V);if($>u)return C(`[bridge:pointer] stale (>4h mtime), clearing: ${x}`),await X(q),null;return{...Z.data,ageMs:$}}async function s(q){let x=await U(q);if(x)return{pointer:x,dir:q};let v=await S(q);if(v.length<=1)return null;if(v.length>I)return C(`[bridge:pointer] ${v.length} worktrees exceeds fanout cap ${I}, skipping`),null;let V=G(q),Z=v.filter((H)=>G(H)!==V),$=await Promise.all(Z.map(async(H)=>{let L=await U(H);return L?{pointer:L,dir:H}:null})),Q=null;for(let H of $)if(H&&(!Q||H.pointer.ageMs<Q.pointer.ageMs))Q=H;if(Q)C(`[bridge:pointer] fanout found pointer in worktree ${Q.dir} (ageMs=${Q.pointer.ageMs})`);return Q}async function X(q){let x=J(q);try{await m(x),C(`[bridge:pointer] cleared ${x}`)}catch(v){if(!y(v))C(`[bridge:pointer] clear failed: ${v}`,{level:"warn"})}}function F(q){try{return W(q)}catch{return null}}export{g as writeBridgePointer,s as readBridgePointerAcrossWorktrees,U as readBridgePointer,J as getBridgePointerPath,X as clearBridgePointer,u as BRIDGE_POINTER_TTL_MS};
@@ -0,0 +1 @@
1
+ import{Ui as a,Vi as AJ}from"./cli-1.1.30-87zsgch6.mjs";import{Wi as x,Xi as vJ}from"./cli-1.1.30-zm2e2zvb.mjs";import{Cy as m,DU as s,EU as t,Ey as HJ,FU as DJ,Ko as g,Lo as UJ,QE as c,WE as WJ,hR as r,kS as o,lI as $,mI as bJ,nx as u,ox as IJ,sR as TJ,zS as hJ}from"./cli-1.1.30-pc2wp50b.mjs";import"./cli-1.1.30-5j2mdj81.mjs";import"./cli-1.1.30-tc8vq728.mjs";import"./cli-1.1.30-q00wdmf9.mjs";import"./cli-1.1.30-aw93z4yt.mjs";import"./cli-1.1.30-xhk0n48x.mjs";import"./cli-1.1.30-sr3wnzt7.mjs";import"./cli-1.1.30-jevxd0jk.mjs";import"./cli-1.1.30-bfqnz691.mjs";import"./cli-1.1.30-ycv7a9hg.mjs";import"./cli-1.1.30-mpmg84pk.mjs";import"./cli-1.1.30-7bdj31x8.mjs";import"./cli-1.1.30-489cr054.mjs";import"./cli-1.1.30-pw08jvvr.mjs";import"./cli-1.1.30-ensp6hjk.mjs";import"./cli-1.1.30-51kze0eh.mjs";import"./cli-1.1.30-ty0pw373.mjs";import"./cli-1.1.30-1zsgv3yp.mjs";import"./cli-1.1.30-5cc6nada.mjs";import"./cli-1.1.30-zxkfqcvj.mjs";import{IY as i,JY as QJ,dZ as l,fZ as kJ}from"./cli-1.1.30-p3m6d618.mjs";import"./cli-1.1.30-w9wdamqc.mjs";import{B1 as NJ,GZ as GJ,V0 as W,X0 as b,m1 as S,o1 as KJ}from"./cli-1.1.30-569esepc.mjs";import"./cli-1.1.30-zfz29t3v.mjs";import"./cli-1.1.30-gk8x7f6m.mjs";import"./cli-1.1.30-qn71nvqn.mjs";import"./cli-1.1.30-1qczaqkt.mjs";import"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-5r9pakw5.mjs";import"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-gvp1pabq.mjs";import"./cli-1.1.30-f9tp1b8r.mjs";import"./cli-1.1.30-2af3eeg6.mjs";import"./cli-1.1.30-vcexen3n.mjs";import"./cli-1.1.30-2hw4vdpg.mjs";import"./cli-1.1.30-t27wxks6.mjs";import{S5 as F,T5 as H,U5 as _}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as zJ}from"./cli-1.1.30-cjetc80p.mjs";import"./cli-1.1.30-rdbwn1xc.mjs";import"./cli-1.1.30-bgrp9j3q.mjs";import"./cli-1.1.30-eg5krttf.mjs";import"./cli-1.1.30-zpss0nht.mjs";import"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import"./cli-1.1.30-he73pyqy.mjs";import{$da as ZJ,Ida as j,Jda as p,Uga as C,qha as FJ}from"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import{Xma as f,cna as YJ}from"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import{Iua as R,Mua as XJ}from"./cli-1.1.30-7dtpd1ra.mjs";function BJ(V){let J=n.c(25),{question:Y,context:z,onDone:G}=V,[Z,e]=N.useState(null),[K,y]=N.useState(null),[P,JJ]=N.useState(0),T=N.useRef(null),{rows:VJ}=l(i()),v;if(J[0]===Symbol.for("react.memo_cache_sentinel"))v=()=>JJ(EJ),J[0]=v;else v=J[0];S(v,Z||K?null:80);let A;if(J[1]!==G)A=function(X){if(X.key==="escape"||X.key==="return"||X.key===" "||X.ctrl&&(X.key==="c"||X.key==="d")){X.preventDefault(),G(void 0,{display:"skip"});return}if(X.key==="up"||X.ctrl&&X.key==="p")X.preventDefault(),T.current?.scrollBy(-d);if(X.key==="down"||X.ctrl&&X.key==="n")X.preventDefault(),T.current?.scrollBy(d)},J[1]=G,J[2]=A;else A=J[2];let h=A,w,L;if(J[3]!==z||J[4]!==Y)w=()=>{let q=g();return async function(){try{let O=await MJ(z),M=await a({question:Y,cacheSafeParams:O});if(!q.signal.aborted)if(M.response)e(M.response);else y("No response received")}catch(O){let M=O;if(!q.signal.aborted)y(f(M)||"Failed to get response")}}(),()=>{q.abort()}},L=[Y,z],J[3]=z,J[4]=Y,J[5]=w,J[6]=L;else w=J[5],L=J[6];N.useEffect(w,L);let D=Math.max(5,VJ-wJ-LJ),B;if(J[7]===Symbol.for("react.memo_cache_sentinel"))B=H(b,{color:"warning",bold:!0,children:["/btw"," "]}),J[7]=B;else B=J[7];let Q;if(J[8]!==Y)Q=H(W,{children:[B,F(b,{dimColor:!0,children:Y})]}),J[8]=Y,J[9]=Q;else Q=J[9];let U;if(J[10]!==K||J[11]!==P||J[12]!==Z)U=F(x,{ref:T,flexDirection:"column",flexGrow:1,children:K?F(b,{color:"error",children:K}):Z?F(m,{children:Z}):H(W,{children:[F($,{frame:P,messageColor:"warning"}),F(b,{color:"warning",children:"Answering..."})]})}),J[10]=K,J[11]=P,J[12]=Z,J[13]=U;else U=J[13];let k;if(J[14]!==D||J[15]!==U)k=F(W,{marginTop:1,marginLeft:2,maxHeight:D,children:U}),J[14]=D,J[15]=U,J[16]=k;else k=J[16];let I;if(J[17]!==K||J[18]!==Z)I=(Z||K)&&F(W,{marginTop:1,children:H(b,{dimColor:!0,children:[j,"/",p," to scroll · Space, Enter, or Escape to dismiss"]})}),J[17]=K,J[18]=Z,J[19]=I;else I=J[19];let E;if(J[20]!==h||J[21]!==Q||J[22]!==k||J[23]!==I)E=H(W,{flexDirection:"column",paddingLeft:2,marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:h,children:[Q,k,I]}),J[20]=h,J[21]=Q,J[22]=k,J[23]=I,J[24]=E;else E=J[24];return E}function EJ(V){return V+1}function qJ(V){let J=V.at(-1);if(J?.type==="assistant"&&J.message.stop_reason===null)return V.slice(0,-1);return V}async function MJ(V){let J=o(qJ(V.messages)),Y=c();if(Y)return{systemPrompt:Y.systemPrompt,userContext:Y.userContext,systemContext:Y.systemContext,toolUseContext:V,forkContextMessages:J};let[z,G,Z]=await Promise.all([r(V.options.tools,V.options.mainLoopModel,[],V.options.mcpClients),t(),s()]);return{systemPrompt:u(z),userContext:G,systemContext:Z,toolUseContext:V,forkContextMessages:J}}async function aJ(V,J,Y){let z=Y?.trim();if(!z)return V("Usage: /btw <your question>",{display:"system"}),null;return C((G)=>({...G,btwUseCount:G.btwUseCount+1})),F(BJ,{question:z,context:J,onDone:V})}var n,N,wJ=5,LJ=6,d=3;var PJ=XJ(()=>{KJ();HJ();bJ();ZJ();TJ();kJ();DJ();QJ();vJ();NJ();UJ();FJ();YJ();WJ();hJ();AJ();IJ();_();n=R(GJ(),1),N=R(zJ(),1)});PJ();export{aJ as call};
@@ -0,0 +1,3 @@
1
+ import{EY as p,FY as f,GY as a,HY as S}from"./cli-1.1.30-zxkfqcvj.mjs";import{Uga as d,qha as C}from"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import{hla as m,ila as y,jla as b}from"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import{Mua as g}from"./cli-1.1.30-7dtpd1ra.mjs";function R(t){let o=2166136261;for(let s=0;s<t.length;s++)o^=t.charCodeAt(s),o=Math.imul(o,16777619);return o>>>0}function r(t,o){return t[R(o)%t.length]}function M(t){return t.charAt(0).toUpperCase()+t.slice(1)}function O(){let t=f(),{bones:o}=p(`${t}:buddy`),s=r($,`${t}:prefix`),n=r(A,`${t}:suffix`),i=r(w,`${t}:personality`);return{name:`${s}${n}`,personality:`${i}.`,hatchedAt:Date.now()}}function l(t,o,s=!1){t.setAppState((n)=>({...n,companionReaction:o,companionPetAt:s?Date.now():n.companionPetAt}))}function c(t){t(`Usage: /buddy [status|mute|unmute]
2
+
3
+ Run /buddy with no args to hatch your companion the first time, then pet it on later runs.`,{display:"system"})}async function X(t,o,s){let n=s?.trim().toLowerCase()??"";if(m.includes(n)||n===""){let e=a();if(n!==""||e){if(n!=="")return c(t),null}}if(m.includes(n))return c(t),null;if(y.includes(n)||n==="status"){let e=a();if(!e)return t("No buddy hatched yet. Run /buddy to hatch one.",{display:"system"}),null;return t(`${e.name} is your ${M(e.rarity)} ${e.species}. ${e.personality}`,{display:"system"}),null}if(n==="mute"||n==="unmute"){let e=n==="mute";if(d((u)=>({...u,companionMuted:e})),e)l(o,void 0);return t(`Buddy ${e?"muted":"unmuted"}.`,{display:"system"}),null}if(n!=="")return c(t),null;let i=a();if(!i){let e=O();return d((u)=>({...u,companion:e,companionMuted:!1})),i={...p(`${f()}:buddy`).bones,...e},l(o,`${i.name} the ${i.species} has hatched.`,!0),t(`${i.name} the ${i.species} is now your buddy. Run /buddy again to pet them.`,{display:"system"}),null}let h=`${i.name} ${r(E,`${Date.now()}:${i.name}`)}`;return l(o,h,!0),t(void 0,{display:"skip"}),null}var $,A,w,E;var L=g(()=>{C();S();b();$=["Byte","Echo","Glint","Miso","Nova","Pixel","Rune","Static","Vector","Whisk"],A=["bean","bit","bud","dot","ling","loop","moss","patch","puff","spark"],w=["Curious and quietly encouraging","A patient little watcher with strong debugging instincts","Playful, observant, and suspicious of flaky tests","Calm under pressure and fond of clean diffs","A tiny terminal gremlin who likes successful builds"],E=["leans into the headpat","does a proud little bounce","emits a content beep","looks delighted","wiggles happily"]});L();export{X as call};
@@ -0,0 +1,21 @@
1
+ import{M2 as u,O2 as Vz}from"./cli-1.1.30-1qczaqkt.mjs";import{Z2 as p,b3 as Qz}from"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-zpss0nht.mjs";import{U8 as Nz,u8 as h}from"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import{Bia as c,Eia as Jz,qia as m,yia as zz}from"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import{Ama as e,xma as L}from"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import{Vsa as r,Woa as v}from"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import{Mua as s}from"./cli-1.1.30-7dtpd1ra.mjs";function Xz(z){if(!z)return"unknown";return z.replace(/-\d{4,}$/,"").replace(/-latest$/,"").replace(/-preview$/,"")}function q(z,N){return N.split(".").reduce((V,U)=>V!=null?V[U]:void 0,z)}async function b(z,N,V,U){let A=Date.now(),C;try{C=await fetch(z,{method:"POST",headers:N,body:JSON.stringify(V)})}catch(H){return{label:U,status:0,elapsed:Date.now()-A,headers:{},usage:null,responseId:null,error:H.message}}let $=Date.now()-A,G={};if(C.headers.forEach((H,O)=>{G[O]=H}),!C.ok){let H=await C.text().catch(()=>"");return{label:U,status:C.status,elapsed:$,headers:G,usage:null,responseId:null,error:H}}let P=await C.text(),D=null,_=null,x=z.endsWith("/responses");for(let H of P.split(`
2
+
3
+ `)){let O=H.split(`
4
+ `).map((w)=>w.trim()).filter(Boolean);if(x){let w=O.find((j)=>j.startsWith("event: ")),B=O.filter((j)=>j.startsWith("data: "));if(!w||!B.length)continue;let Z=w.slice(7).trim();if(Z==="response.completed"||Z==="response.incomplete")try{let j=JSON.parse(B.map((E)=>E.slice(6)).join(`
5
+ `));D=j?.response?.usage??null,_=j?.response?.id??null}catch{}}else for(let w of O){if(!w.startsWith("data: "))continue;let B=w.slice(6).trim();if(B==="[DONE]")continue;try{let Z=JSON.parse(B);if(Z.usage)D=Z.usage,_=Z.id??null}catch{}}}return{label:U,status:C.status,elapsed:$,headers:G,usage:D,responseId:_,error:null}}function y(z){let N=[`--- ${z.label} ---`];if(z.error)return N.push(` ERROR (HTTP ${z.status}): ${z.error.slice(0,200)}`),N.join(`
6
+ `);if(N.push(` HTTP ${z.status} — ${z.elapsed}ms`),z.responseId)N.push(` response.id: ${z.responseId}`);if(z.usage)N.push(" Usage:"),N.push(` ${JSON.stringify(z.usage,null,2).replace(/\n/g,`
7
+ `)}`);else N.push(" Usage: null");for(let V of["openai-processing-ms","x-ratelimit-remaining","x-ratelimit-limit","x-ms-region","x-github-request-id","x-request-id"])if(z.headers[V])N.push(` ${V}: ${z.headers[V]}`);return N.join(`
8
+ `)}var Wz,M,R='Say "hello" and nothing else.',S=3000,Oz=async(z)=>{let N=(z??"").trim().split(/\s+/).filter(Boolean),V=N.includes("--no-key"),U=N.includes("--conv-id"),C=(N.find((J)=>!J.startsWith("--"))||void 0)??h(),$=m({model:C}),G=c(),P=G?.transport==="github_copilot";if(P)p();let D=await u(G),_=G?.apiKey??G?.extras?.githubToken??D.accessToken??"";if(!_)return{type:"text",value:`No API key found. Make sure you are in an active OpenAI-compatible or GitHub Copilot session.
9
+ For GitHub Copilot: run /provider and choose GitHub Copilot.
10
+ For OpenAI-compatible: configure a profile via /provider.`};let x=$.transport==="codex_responses",H=x?"/responses":"/chat/completions",O=`${$.baseUrl}${H}`,w=Xz($.resolvedModel),B=`${v()}:${w}`,Z={"Content-Type":"application/json",Authorization:`Bearer ${_}`,originator:"claudin"};if(P)Object.assign(Z,Wz);if(D.userAgent)Z["User-Agent"]=D.userAgent;if(D.deviceHeaders)Object.assign(Z,D.deviceHeaders);if(U)Z["x-grok-conv-id"]=B;let j;if(x)j={model:$.resolvedModel,instructions:M,input:[{type:"message",role:"user",content:[{type:"input_text",text:R}]}],stream:!0,...V?{}:{store:!1,prompt_cache_key:B}};else j={model:$.resolvedModel,messages:[{role:"system",content:M},{role:"user",content:R}],stream:!0,stream_options:{include_usage:!0},max_tokens:20,...V?{}:{store:!1,prompt_cache_key:B}};let E=[`[cache-probe] Starting cache probe${V?" (--no-key: cache params OMITTED)":""}`,` model: ${$.resolvedModel} (family: ${w})`,` transport: ${$.transport}`,` endpoint: ${O}`,` prompt_cache_key: ${V?"NOT SENT":B}`,` x-grok-conv-id: ${U?B:"NOT SENT"}`,` store: ${V?"NOT SENT":"false"}`,` system prompt: ~${Math.round(M.length/4)} tokens`,` delay between calls: ${S}ms`].join(`
11
+ `);L(E);let Q=await b(O,Z,j,"CALL 1 — Cold (no cache)");if(L(`[cache-probe]
12
+ ${y(Q)}`),Q.error)return{type:"text",value:`Cache probe failed on first call: HTTP ${Q.status}
13
+ ${Q.error.slice(0,300)}
14
+
15
+ Full details in debug log.`};await new Promise((J)=>setTimeout(J,S));let W=await b(O,Z,j,"CALL 2 — Warm (cache expected)");L(`[cache-probe]
16
+ ${y(W)}`);let d=["input_tokens","output_tokens","total_tokens","prompt_tokens","completion_tokens","input_tokens_details.cached_tokens","prompt_tokens_details.cached_tokens","output_tokens_details.reasoning_tokens"],X=["[cache-probe] COMPARISON"];X.push(` ${"Field".padEnd(42)} ${"Call 1".padStart(8)} ${"Call 2".padStart(8)} ${"Delta".padStart(8)}`),X.push(` ${"-".repeat(72)}`);for(let J of d){let Y=q(Q.usage,J),T=q(W.usage,J);if(Y===void 0&&T===void 0)continue;let o=typeof Y==="number"&&typeof T==="number"?T-Y:"";X.push(` ${J.padEnd(42)} ${String(Y??"-").padStart(8)} ${String(T??"-").padStart(8)} ${String(o).padStart(8)}`)}X.push(""),X.push(` Latency: ${Q.elapsed}ms → ${W.elapsed}ms (${W.elapsed-Q.elapsed>0?"+":""}${W.elapsed-Q.elapsed}ms)`);for(let J of["openai-processing-ms","x-ms-region","x-ratelimit-remaining"]){let Y=Q.headers[J],T=W.headers[J];if(Y||T)X.push(` ${J}: ${Y??"-"} → ${T??"-"}`)}let I=q(W.usage,"input_tokens_details.cached_tokens")??q(W.usage,"prompt_tokens_details.cached_tokens")??0,f=Q.usage?.input_tokens??Q.usage?.prompt_tokens??0,F=W.usage?.input_tokens??W.usage?.prompt_tokens??0,k;if(I>0){let J=F>0?Math.round(I/F*100):"?";k=`CACHE HIT: ${I} cached tokens (${J}% of input)`}else if(f===0&&F===0)k="INCONCLUSIVE: Server returns 0 input_tokens — cannot measure";else if(W.elapsed<Q.elapsed*0.6&&f>100)k=`POSSIBLE SILENT CACHING: Call 2 was ${Math.round((1-W.elapsed/Q.elapsed)*100)}% faster but no cached_tokens reported`;else k="NO CACHE DETECTED";X.push(`
17
+ Verdict: ${k}`);function l(J){return{input_tokens:J?.input_tokens??0,output_tokens:J?.output_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:0}}function t(J){return{input_tokens:J?.prompt_tokens??0,output_tokens:J?.completion_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:J?.prompt_tokens_details?.cached_tokens??0}}let g=x?l:t,i=g(Q.usage),K=g(W.usage);if(X.push(""),X.push(` --- What main's shim reports (${x?"codexShim.makeUsage":"openaiShim.convertChunkUsage"}) ---`),X.push(` Call 1: cache_read_input_tokens=${i.cache_read_input_tokens}`),X.push(` Call 2: cache_read_input_tokens=${K.cache_read_input_tokens}`),x&&I>0)X.push(` BUG: Server returned ${I} cached tokens but main's makeUsage() drops it → reports 0`);else if(!x&&K.cache_read_input_tokens>0)X.push(" OK: Chat Completions path on main correctly reads cached_tokens");L(X.join(`
18
+ `));let n=V?" (NO cache key sent)":"",a=x?"codexShim.makeUsage()":"openaiShim.convertChunkUsage()";return{type:"text",value:[`Cache Probe — ${$.resolvedModel} via ${x?"Responses API":"Chat Completions"}${n}`,"",`Call 1: ${Q.elapsed}ms, input=${f}, cached=${q(Q.usage,"input_tokens_details.cached_tokens")??q(Q.usage,"prompt_tokens_details.cached_tokens")??0}`,`Call 2: ${W.elapsed}ms, input=${F}, cached=${I}`,"",k,"",`What main's ${a} reports:`,` Call 2 cache_read_input_tokens = ${K.cache_read_input_tokens}${x&&I>0?" ← BUG: server sent "+I+" but main drops it":""}`,"","Full details written to debug log."].join(`
19
+ `)}};var Zz=s(()=>{r();Jz();zz();e();Qz();Vz();Nz();Wz={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},M=["You are a coding assistant. Answer concisely.","CONTEXT: User is working on a TypeScript project with Bun runtime.",...Array.from({length:80},(z,N)=>`Rule ${N+1}: Follow best practices for TypeScript including strict typing, error handling, testing, and clean code. Prefer explicit types over any. Use const assertions. Await all async operations.`)].join(`
20
+
21
+ `)});Zz();export{Oz as call};
@@ -0,0 +1,4 @@
1
+ import{P1 as P,Q1 as Q,S1 as w,Z1 as U,b2 as V,c2 as Y,d2 as Z,e2 as A}from"./cli-1.1.30-qn71nvqn.mjs";import{Mua as j}from"./cli-1.1.30-7dtpd1ra.mjs";function H(k,D){let I=new Date(k.timestamp).toISOString(),B=`${I.slice(0,10)} ${I.slice(11,19)}`,J=P(k.metrics);return` #${String(D+1).padStart(3)} ${B} ${k.label.padEnd(28).slice(0,28)} ${J}`}function L(k,D){return`${k.padEnd(18)}${Q(D)}`}var F=20,b=async()=>{let k=Z(),D=Y(),I=U();if(k.length===0)return{type:"text",value:`Cache stats
2
+ No API requests yet this session.
3
+ Start a turn and re-run /cache-stats to see results.`};let B=k.slice(-F),J=k.length-B.length,q=["Cache stats",""];q.push(L("Current turn:",I)),q.push(L("Session total:",D));let G=V();if(G.events>0)q.push(`${"Server clears:".padEnd(18)}${G.events} event${G.events===1?"":"s"}, ${G.clearedToolUses} tool results, ${G.clearedInputTokens.toLocaleString("en-US")} input tokens cleared`);q.push(""),q.push(`Recent requests (${B.length}${J>0?` of ${k.length}, ${J} older omitted`:""}):`),q.push(" # time model cache");for(let[K,$]of B.entries())q.push(H($,k.length-B.length+K));if(B.some((K)=>!K.metrics.supported))q.push(""),q.push(" N/A rows: provider API does not expose cache usage (GitHub Copilot, Ollama)."),q.push(" The request still ran normally — only the metric is unavailable.");return{type:"text",value:q.join(`
4
+ `)}};var N=j(()=>{A();w()});N();export{b as call};
@@ -0,0 +1 @@
1
+ import{qh as a,rh as b}from"./cli-1.1.30-4zrfbe17.mjs";import"./cli-1.1.30-sgm7bcet.mjs";import"./cli-1.1.30-ygdwz4ed.mjs";import"./cli-1.1.30-pc2wp50b.mjs";import"./cli-1.1.30-5j2mdj81.mjs";import"./cli-1.1.30-tc8vq728.mjs";import"./cli-1.1.30-q00wdmf9.mjs";import"./cli-1.1.30-aw93z4yt.mjs";import"./cli-1.1.30-xhk0n48x.mjs";import"./cli-1.1.30-sr3wnzt7.mjs";import"./cli-1.1.30-jevxd0jk.mjs";import"./cli-1.1.30-bfqnz691.mjs";import"./cli-1.1.30-ycv7a9hg.mjs";import"./cli-1.1.30-mpmg84pk.mjs";import"./cli-1.1.30-7bdj31x8.mjs";import"./cli-1.1.30-489cr054.mjs";import"./cli-1.1.30-pw08jvvr.mjs";import"./cli-1.1.30-ensp6hjk.mjs";import"./cli-1.1.30-51kze0eh.mjs";import"./cli-1.1.30-ty0pw373.mjs";import"./cli-1.1.30-1zsgv3yp.mjs";import"./cli-1.1.30-5cc6nada.mjs";import"./cli-1.1.30-zxkfqcvj.mjs";import"./cli-1.1.30-p3m6d618.mjs";import"./cli-1.1.30-w9wdamqc.mjs";import"./cli-1.1.30-569esepc.mjs";import"./cli-1.1.30-zfz29t3v.mjs";import"./cli-1.1.30-gk8x7f6m.mjs";import"./cli-1.1.30-qn71nvqn.mjs";import"./cli-1.1.30-1qczaqkt.mjs";import"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-5r9pakw5.mjs";import"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-gvp1pabq.mjs";import"./cli-1.1.30-f9tp1b8r.mjs";import"./cli-1.1.30-2af3eeg6.mjs";import"./cli-1.1.30-vcexen3n.mjs";import"./cli-1.1.30-2hw4vdpg.mjs";import"./cli-1.1.30-t27wxks6.mjs";import"./cli-1.1.30-92t0b3hs.mjs";import"./cli-1.1.30-cjetc80p.mjs";import"./cli-1.1.30-rdbwn1xc.mjs";import"./cli-1.1.30-bgrp9j3q.mjs";import"./cli-1.1.30-eg5krttf.mjs";import"./cli-1.1.30-zpss0nht.mjs";import"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import"./cli-1.1.30-he73pyqy.mjs";import"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import"./cli-1.1.30-7dtpd1ra.mjs";b();export{a as clearSessionCaches};
@@ -0,0 +1,3 @@
1
+ import{AU as Kz,Cm as c,EL as j,FL as Ez,Fn as W,Gn as e,Ln as u,Qn as Uz,Up as v,Vp as Vz,Xm as Qz,cP as n,cu as x,du as zz,eP as Xz,fP as p,hP as l,iP as Yz,in as M,ll as F,ml as r,nD as Z,nU as P,nn as s,oD as Bz}from"./cli-1.1.30-pc2wp50b.mjs";import"./cli-1.1.30-5j2mdj81.mjs";import"./cli-1.1.30-tc8vq728.mjs";import"./cli-1.1.30-q00wdmf9.mjs";import"./cli-1.1.30-aw93z4yt.mjs";import"./cli-1.1.30-xhk0n48x.mjs";import"./cli-1.1.30-sr3wnzt7.mjs";import"./cli-1.1.30-jevxd0jk.mjs";import"./cli-1.1.30-bfqnz691.mjs";import"./cli-1.1.30-ycv7a9hg.mjs";import"./cli-1.1.30-mpmg84pk.mjs";import"./cli-1.1.30-7bdj31x8.mjs";import"./cli-1.1.30-489cr054.mjs";import"./cli-1.1.30-pw08jvvr.mjs";import"./cli-1.1.30-ensp6hjk.mjs";import"./cli-1.1.30-51kze0eh.mjs";import"./cli-1.1.30-ty0pw373.mjs";import"./cli-1.1.30-1zsgv3yp.mjs";import"./cli-1.1.30-5cc6nada.mjs";import"./cli-1.1.30-zxkfqcvj.mjs";import"./cli-1.1.30-p3m6d618.mjs";import"./cli-1.1.30-w9wdamqc.mjs";import"./cli-1.1.30-569esepc.mjs";import"./cli-1.1.30-zfz29t3v.mjs";import"./cli-1.1.30-gk8x7f6m.mjs";import"./cli-1.1.30-qn71nvqn.mjs";import"./cli-1.1.30-1qczaqkt.mjs";import"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-5r9pakw5.mjs";import"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-gvp1pabq.mjs";import"./cli-1.1.30-f9tp1b8r.mjs";import"./cli-1.1.30-2af3eeg6.mjs";import"./cli-1.1.30-vcexen3n.mjs";import"./cli-1.1.30-2hw4vdpg.mjs";import"./cli-1.1.30-t27wxks6.mjs";import"./cli-1.1.30-92t0b3hs.mjs";import"./cli-1.1.30-cjetc80p.mjs";import"./cli-1.1.30-rdbwn1xc.mjs";import"./cli-1.1.30-bgrp9j3q.mjs";import"./cli-1.1.30-eg5krttf.mjs";import"./cli-1.1.30-zpss0nht.mjs";import"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import{Z_ as E,__ as Lz}from"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import"./cli-1.1.30-he73pyqy.mjs";import{Eba as o,Qia as g,Yia as Nz,hba as q,jga as R,mga as t}from"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import{uka as y,xka as d}from"./cli-1.1.30-yy92v8yq.mjs";import{Gka as Y,Ika as f}from"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import{$oa as T,Ira as C,Vsa as O,Woa as G,Zoa as H,apa as b,cpa as A,dpa as I,xsa as m,ysa as w}from"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import{Mua as $}from"./cli-1.1.30-7dtpd1ra.mjs";function h(){return k}function S(J){let B=Y();Z(J);let z=Y();try{process.chdir(z)}catch(N){throw Z(B),N}return H(G(),T()??y(b())),A(z),I(z),k=B,Jz(),{previousCwd:B,newCwd:z}}function Jz(){W(),P(),M.cache.clear?.(),F(),j.cache?.clear?.(),R.cache?.clear?.(),q.cache?.clear?.(),x()}var k=null;var D=$(()=>{s();e();r();Kz();Ez();t();O();zz();d();f();Bz();o()});import{dirname as Zz}from"node:path";function _z(J){let B=J.trim();if(!B)return{kind:"empty"};if(B==="-")return{kind:"previous"};return{kind:"path",path:B}}function $z(J,B,z){let N=[B?`${J.previousCwd} kept accessible for this session`:null,"transcript stays under the original project",z?"cancelled the pending /loop wakeup":null,"/cd - to return"].filter((V)=>V!==null);return`Moved this session to ${E.bold(J.newCwd)}
2
+ ${E.dim(N.join(" · "))}`}function L(J){return{type:"text",value:J}}async function uz(J,B,z=Gz){let N=_z(J);if(N.kind==="empty")return L(`Usage: ${E.bold("/cd <path>")} — moves this session to another directory.
3
+ ${E.dim("/cd - returns to the previous one.")}`);if(z.currentWorktreeSession())return L(`This session is inside a worktree. Use ${E.bold("ExitWorktree")} to leave it first, then ${E.bold("/cd")}.`);let V;if(N.kind==="previous"){let U=z.previousDir();if(!U)return L("This session has not moved yet, so there is no previous directory.");V=U}else V=N.path;let K=await z.resolveDirectory(V);if(K.resultType!=="success"){if(K.resultType==="notADirectory")return L(`${E.bold(K.directoryPath)} is not a directory. Did you mean ${E.bold(Zz(K.absolutePath))}?`);return L(l(K))}if(K.absolutePath===z.currentCwd())return L(`Already in ${E.bold(K.absolutePath)}.`);let a=z.hasPendingWakeup(),Q;try{Q=z.reroot(K.absolutePath)}catch(U){let X=U instanceof Error?U.message:"Unknown error";return g(Error(`/cd failed to move to ${K.absolutePath}: ${X}`)),L(`Could not move to ${E.bold(K.absolutePath)}: ${X}`)}let _=!n(Q.previousCwd,Q.newCwd);if(_){let U=u(B.getAppState().toolPermissionContext,{type:"addDirectories",directories:[Q.previousCwd],destination:"session"});B.setAppState((i)=>({...i,toolPermissionContext:U}));let X=m();if(!X.includes(Q.previousCwd))w([...X,Q.previousCwd])}return z.refreshSandbox(),L($z(Q,_,a))}var Gz;var Hz=$(()=>{Lz();Yz();Uz();Xz();O();Vz();D();f();Nz();Qz();Gz={currentWorktreeSession:c,resolveDirectory:p,reroot:S,previousDir:h,hasPendingWakeup:()=>C()!==null,currentCwd:Y,refreshSandbox:()=>v.refreshConfig()}});Hz();export{_z as parseCdTarget,$z as formatCdResult,uz as call};
@@ -0,0 +1 @@
1
+ import{Fba as V,Gba as W,Hba as J,Qia as X,Rca as k,Wca as N,Yia as H,sea as x,vea as A}from"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import{Yma as b,cna as y}from"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-7dtpd1ra.mjs";A();y();N();H();J();import{readdir as L,readFile as U,stat as Z}from"fs/promises";import{homedir as _}from"os";import{join as $}from"path";async function F(){let B=W();if(!V.includes(B))throw Error(`Unsupported platform: ${B} - Claude Desktop integration only works on macOS and WSL.`);if(B==="macos")return $(_(),"Library","Application Support","Claude","claude_desktop_config.json");let K=process.env.USERPROFILE?process.env.USERPROFILE.replace(/\\/g,"/"):null;if(K){let q=`/mnt/c${K.replace(/^[A-Z]:/,"")}/AppData/Roaming/Claude/claude_desktop_config.json`;try{return await Z(q),q}catch{}}try{try{let q=await L("/mnt/c/Users",{withFileTypes:!0});for(let z of q){if(z.name==="Public"||z.name==="Default"||z.name==="Default User"||z.name==="All Users")continue;let I=$("/mnt/c/Users",z.name,"AppData","Roaming","Claude","claude_desktop_config.json");try{return await Z(I),I}catch{}}}catch{}}catch(G){X(G)}throw Error("Could not find Claude Desktop config file in Windows. Make sure Claude Desktop is installed on Windows.")}async function v(){if(!V.includes(W()))throw Error("Unsupported platform - Claude Desktop integration only works on macOS and WSL.");try{let B=await F(),K;try{K=await U(B,{encoding:"utf8"})}catch(I){if(b(I)==="ENOENT")return{};throw I}let G=k(K);if(!G||typeof G!=="object")return{};let q=G.mcpServers;if(!q||typeof q!=="object")return{};let z={};for(let[I,Q]of Object.entries(q)){if(!Q||typeof Q!=="object")continue;let Y=x().safeParse(Q);if(Y.success)z[I]=Y.data}return z}catch(B){return X(B),{}}}export{v as readClaudeDesktopMcpServers,F as getClaudeDesktopConfigPath};
@@ -0,0 +1 @@
1
+ import{AU as r,jU as a,kU as b,lU as c,mU as d,nU as e,oU as f,pU as g,qU as h,rU as i,sU as j,tU as k,uU as l,vU as m,wU as n,xU as o,yU as p,zU as q}from"./cli-1.1.30-pc2wp50b.mjs";import"./cli-1.1.30-5j2mdj81.mjs";import"./cli-1.1.30-tc8vq728.mjs";import"./cli-1.1.30-q00wdmf9.mjs";import"./cli-1.1.30-aw93z4yt.mjs";import"./cli-1.1.30-xhk0n48x.mjs";import"./cli-1.1.30-sr3wnzt7.mjs";import"./cli-1.1.30-jevxd0jk.mjs";import"./cli-1.1.30-bfqnz691.mjs";import"./cli-1.1.30-ycv7a9hg.mjs";import"./cli-1.1.30-mpmg84pk.mjs";import"./cli-1.1.30-7bdj31x8.mjs";import"./cli-1.1.30-489cr054.mjs";import"./cli-1.1.30-pw08jvvr.mjs";import"./cli-1.1.30-ensp6hjk.mjs";import"./cli-1.1.30-51kze0eh.mjs";import"./cli-1.1.30-ty0pw373.mjs";import"./cli-1.1.30-1zsgv3yp.mjs";import"./cli-1.1.30-5cc6nada.mjs";import"./cli-1.1.30-zxkfqcvj.mjs";import"./cli-1.1.30-p3m6d618.mjs";import"./cli-1.1.30-w9wdamqc.mjs";import"./cli-1.1.30-569esepc.mjs";import"./cli-1.1.30-zfz29t3v.mjs";import"./cli-1.1.30-gk8x7f6m.mjs";import"./cli-1.1.30-qn71nvqn.mjs";import"./cli-1.1.30-1qczaqkt.mjs";import"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-5r9pakw5.mjs";import"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-gvp1pabq.mjs";import"./cli-1.1.30-f9tp1b8r.mjs";import"./cli-1.1.30-2af3eeg6.mjs";import"./cli-1.1.30-vcexen3n.mjs";import"./cli-1.1.30-2hw4vdpg.mjs";import"./cli-1.1.30-t27wxks6.mjs";import"./cli-1.1.30-92t0b3hs.mjs";import"./cli-1.1.30-cjetc80p.mjs";import"./cli-1.1.30-rdbwn1xc.mjs";import"./cli-1.1.30-bgrp9j3q.mjs";import"./cli-1.1.30-eg5krttf.mjs";import"./cli-1.1.30-zpss0nht.mjs";import"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import"./cli-1.1.30-he73pyqy.mjs";import"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import"./cli-1.1.30-7dtpd1ra.mjs";r();export{p as shouldShowClaudeMdExternalIncludesWarning,f as resetGetMemoryFilesCache,b as processMemoryFile,c as processMdRules,m as processConditionedMdRules,q as isMemoryFilePath,o as hasExternalClaudeMdIncludes,k as getMemoryFilesForNestedDirectory,d as getMemoryFiles,j as getManagedAndUserConditionalRules,g as getLargeMemoryFiles,n as getExternalClaudeMdIncludes,l as getConditionalRulesForCwdLevelDirectory,i as getClaudeMds,h as filterInjectedMemoryFiles,e as clearMemoryFileCaches,a as MAX_MEMORY_CHARACTER_COUNT};
@@ -0,0 +1 @@
1
+ import{oh as b,ph as h}from"./cli-1.1.30-s7f7x42j.mjs";import"./cli-1.1.30-4zrfbe17.mjs";import"./cli-1.1.30-a2xctbvc.mjs";import"./cli-1.1.30-sgm7bcet.mjs";import"./cli-1.1.30-ygdwz4ed.mjs";import"./cli-1.1.30-pc2wp50b.mjs";import"./cli-1.1.30-5j2mdj81.mjs";import"./cli-1.1.30-tc8vq728.mjs";import"./cli-1.1.30-q00wdmf9.mjs";import"./cli-1.1.30-aw93z4yt.mjs";import"./cli-1.1.30-xhk0n48x.mjs";import"./cli-1.1.30-sr3wnzt7.mjs";import"./cli-1.1.30-jevxd0jk.mjs";import"./cli-1.1.30-bfqnz691.mjs";import"./cli-1.1.30-ycv7a9hg.mjs";import"./cli-1.1.30-mpmg84pk.mjs";import"./cli-1.1.30-7bdj31x8.mjs";import"./cli-1.1.30-489cr054.mjs";import"./cli-1.1.30-pw08jvvr.mjs";import"./cli-1.1.30-ensp6hjk.mjs";import"./cli-1.1.30-51kze0eh.mjs";import"./cli-1.1.30-ty0pw373.mjs";import"./cli-1.1.30-1zsgv3yp.mjs";import"./cli-1.1.30-5cc6nada.mjs";import"./cli-1.1.30-zxkfqcvj.mjs";import"./cli-1.1.30-p3m6d618.mjs";import"./cli-1.1.30-w9wdamqc.mjs";import"./cli-1.1.30-569esepc.mjs";import"./cli-1.1.30-zfz29t3v.mjs";import"./cli-1.1.30-gk8x7f6m.mjs";import"./cli-1.1.30-qn71nvqn.mjs";import"./cli-1.1.30-1qczaqkt.mjs";import"./cli-1.1.30-902jyjpx.mjs";import"./cli-1.1.30-5r9pakw5.mjs";import"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-gvp1pabq.mjs";import"./cli-1.1.30-f9tp1b8r.mjs";import"./cli-1.1.30-2af3eeg6.mjs";import"./cli-1.1.30-vcexen3n.mjs";import"./cli-1.1.30-2hw4vdpg.mjs";import"./cli-1.1.30-t27wxks6.mjs";import"./cli-1.1.30-92t0b3hs.mjs";import"./cli-1.1.30-cjetc80p.mjs";import"./cli-1.1.30-rdbwn1xc.mjs";import"./cli-1.1.30-bgrp9j3q.mjs";import"./cli-1.1.30-eg5krttf.mjs";import"./cli-1.1.30-zpss0nht.mjs";import"./cli-1.1.30-wmpgbhw0.mjs";import"./cli-1.1.30-wfs29rd9.mjs";import"./cli-1.1.30-4d90v0pd.mjs";import"./cli-1.1.30-facztg9n.mjs";import"./cli-1.1.30-3b1nw95m.mjs";import"./cli-1.1.30-he73pyqy.mjs";import"./cli-1.1.30-mebteknr.mjs";import"./cli-1.1.30-322advqh.mjs";import"./cli-1.1.30-jvqc1jfc.mjs";import"./cli-1.1.30-0fz758j0.mjs";import"./cli-1.1.30-d3n6dp6r.mjs";import"./cli-1.1.30-yy92v8yq.mjs";import"./cli-1.1.30-1ybfyckn.mjs";import"./cli-1.1.30-c9xtenrd.mjs";import"./cli-1.1.30-pgx35gqd.mjs";import"./cli-1.1.30-7h45a0x6.mjs";import"./cli-1.1.30-q8sd13v9.mjs";import"./cli-1.1.30-gv4z21b9.mjs";import"./cli-1.1.30-qdnzwgr7.mjs";import"./cli-1.1.30-ehk76t59.mjs";import"./cli-1.1.30-m62yy9h8.mjs";import"./cli-1.1.30-p63h2njx.mjs";import"./cli-1.1.30-gev0f31f.mjs";import"./cli-1.1.30-j2wahkcp.mjs";import"./cli-1.1.30-gncy6j5b.mjs";import{Mua as g}from"./cli-1.1.30-7dtpd1ra.mjs";var u=async(p,f)=>{return await b(f),{type:"text",value:""}};var k=g(()=>{h()});k();export{u as call};
@@ -0,0 +1 @@
1
+ import{H4 as a,I4 as b,J4 as c}from"./cli-1.1.30-c44kpd39.mjs";import"./cli-1.1.30-7dtpd1ra.mjs";c();export{a as getClearTerminalSequence,b as clearTerminal};
@@ -0,0 +1,2 @@
1
+ import{Mua as o}from"./cli-1.1.30-7dtpd1ra.mjs";var l=()=>null,e;var n=o(()=>{e=l});
2
+ export{e as wj,n as xj};
@@ -0,0 +1,2 @@
1
+ import{Bia as B,Eia as K,Rha as $,Sha as y,Vaa as Z,Xaa as f}from"./cli-1.1.30-mebteknr.mjs";import{kna as Y,qna as E}from"./cli-1.1.30-qdnzwgr7.mjs";import{Mua as N,Nua as x}from"./cli-1.1.30-7dtpd1ra.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
+ export{D as lj,s as mj,g as nj};