@claudiolabs/claudin 0.7.2 → 0.7.5

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 (905) hide show
  1. package/LICENSE +23 -200
  2. package/README.md +27 -90
  3. package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +1 -0
  4. package/dist/chunks/App-0.7.5-acjfhz7f.mjs +1 -0
  5. package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +1 -0
  6. package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +1 -0
  7. package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +1 -0
  8. package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +1 -0
  10. package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +1 -0
  11. package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +7 -0
  12. package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +1 -0
  13. package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +6 -0
  14. package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +1 -0
  15. package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +1 -0
  16. package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +1 -0
  17. package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +1 -0
  18. package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +1 -0
  19. package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +1 -0
  20. package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +1 -0
  21. package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +1 -0
  22. package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +1 -0
  23. package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +1 -0
  24. package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +1 -0
  25. package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +1 -0
  26. package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +1 -0
  27. package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +9 -0
  28. package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +1 -0
  29. package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +1 -0
  30. package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +1 -0
  31. package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +1 -0
  32. package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +1 -0
  33. package/dist/chunks/agents-0.7.5-4qcppggm.mjs +110 -0
  34. package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +3 -0
  35. package/dist/chunks/api-0.7.5-fcbv21bw.mjs +1 -0
  36. package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +1 -0
  37. package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +1 -0
  38. package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +1 -0
  39. package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +1 -0
  40. package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +48 -0
  41. package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +1 -0
  42. package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +1 -0
  43. package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +4 -0
  44. package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +2 -0
  45. package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +1 -0
  46. package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +1 -0
  47. package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +88 -0
  48. package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +1 -0
  49. package/dist/chunks/btw-0.7.5-yawwzr37.mjs +1 -0
  50. package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +3 -0
  51. package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +1 -0
  52. package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +21 -0
  53. package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +4 -0
  54. package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +1 -0
  55. package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +1 -0
  56. package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +1 -0
  57. package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +1 -0
  58. package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +1 -0
  59. package/dist/chunks/cli-0.7.5-012a6zfk.mjs +2 -0
  60. package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +2 -0
  61. package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +2 -0
  62. package/dist/chunks/cli-0.7.5-10stvena.mjs +2 -0
  63. package/dist/chunks/cli-0.7.5-1130jhj6.mjs +5469 -0
  64. package/dist/chunks/cli-0.7.5-137tt9mn.mjs +42 -0
  65. package/dist/chunks/cli-0.7.5-1raty5m9.mjs +2 -0
  66. package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +2 -0
  67. package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +17 -0
  68. package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +2 -0
  69. package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +2 -0
  70. package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +2 -0
  71. package/dist/chunks/cli-0.7.5-2czfx8da.mjs +2 -0
  72. package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +2 -0
  73. package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +3 -0
  74. package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +2 -0
  75. package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +2 -0
  76. package/dist/chunks/cli-0.7.5-40m9mj91.mjs +133 -0
  77. package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +2 -0
  78. package/dist/chunks/cli-0.7.5-49f39qnb.mjs +2 -0
  79. package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +59 -0
  80. package/dist/chunks/cli-0.7.5-4pc187my.mjs +2 -0
  81. package/dist/chunks/cli-0.7.5-4pekv38x.mjs +2 -0
  82. package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +2 -0
  83. package/dist/chunks/cli-0.7.5-510b39kd.mjs +3 -0
  84. package/dist/chunks/cli-0.7.5-529cdx0d.mjs +2 -0
  85. package/dist/chunks/cli-0.7.5-56navtps.mjs +3 -0
  86. package/dist/chunks/cli-0.7.5-57cepgzg.mjs +4 -0
  87. package/dist/chunks/cli-0.7.5-5a315ky8.mjs +17 -0
  88. package/dist/chunks/cli-0.7.5-5nkj9199.mjs +2 -0
  89. package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +15 -0
  90. package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +2 -0
  91. package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +3 -0
  92. package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +3 -0
  93. package/dist/chunks/cli-0.7.5-5z67f2be.mjs +18 -0
  94. package/dist/chunks/cli-0.7.5-60age1v3.mjs +3 -0
  95. package/dist/chunks/cli-0.7.5-614rpqd6.mjs +2 -0
  96. package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +34 -0
  97. package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +2 -0
  98. package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +2 -0
  99. package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +2 -0
  100. package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +2 -0
  101. package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +2 -0
  102. package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +2 -0
  103. package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +2 -0
  104. package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +2 -0
  105. package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +6 -0
  106. package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +45 -0
  107. package/dist/chunks/cli-0.7.5-80je81v4.mjs +2 -0
  108. package/dist/chunks/cli-0.7.5-81aasr9m.mjs +2 -0
  109. package/dist/chunks/cli-0.7.5-84ksc40j.mjs +25 -0
  110. package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +15 -0
  111. package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +2 -0
  112. package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +2 -0
  113. package/dist/chunks/cli-0.7.5-92scwwjf.mjs +24 -0
  114. package/dist/chunks/cli-0.7.5-975by9n8.mjs +3 -0
  115. package/dist/chunks/cli-0.7.5-987zbyps.mjs +2 -0
  116. package/dist/chunks/cli-0.7.5-99wdc670.mjs +24 -0
  117. package/dist/chunks/cli-0.7.5-9na53kvh.mjs +2 -0
  118. package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +5 -0
  119. package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +133 -0
  120. package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +2 -0
  121. package/dist/chunks/cli-0.7.5-a36ctp71.mjs +6 -0
  122. package/dist/chunks/cli-0.7.5-acfkszsn.mjs +8 -0
  123. package/dist/chunks/cli-0.7.5-akxpdesn.mjs +2 -0
  124. package/dist/chunks/cli-0.7.5-aphrc23w.mjs +2 -0
  125. package/dist/chunks/cli-0.7.5-apycan2y.mjs +2 -0
  126. package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +2 -0
  127. package/dist/chunks/cli-0.7.5-atzfkz67.mjs +2 -0
  128. package/dist/chunks/cli-0.7.5-az0dwafe.mjs +2 -0
  129. package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +2 -0
  130. package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +2 -0
  131. package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +2 -0
  132. package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +2 -0
  133. package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +2 -0
  134. package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +2 -0
  135. package/dist/chunks/cli-0.7.5-c3w496ap.mjs +3 -0
  136. package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +2 -0
  137. package/dist/chunks/cli-0.7.5-ca0xearm.mjs +2 -0
  138. package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +2 -0
  139. package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +2 -0
  140. package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +20 -0
  141. package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +2 -0
  142. package/dist/chunks/cli-0.7.5-dc34hzge.mjs +12 -0
  143. package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +2 -0
  144. package/dist/chunks/cli-0.7.5-dp4tresm.mjs +2 -0
  145. package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +2 -0
  146. package/dist/chunks/cli-0.7.5-dzyyype0.mjs +2 -0
  147. package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +10 -0
  148. package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +2 -0
  149. package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +2 -0
  150. package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +2 -0
  151. package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +2 -0
  152. package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +2 -0
  153. package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +5 -0
  154. package/dist/chunks/cli-0.7.5-f9v35634.mjs +2 -0
  155. package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +2 -0
  156. package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +12 -0
  157. package/dist/chunks/cli-0.7.5-ftngeevg.mjs +2 -0
  158. package/dist/chunks/cli-0.7.5-fzamc565.mjs +3 -0
  159. package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +4 -0
  160. package/dist/chunks/cli-0.7.5-fzqampqh.mjs +4 -0
  161. package/dist/chunks/cli-0.7.5-g3ejs520.mjs +2 -0
  162. package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +2 -0
  163. package/dist/chunks/cli-0.7.5-gbz8thht.mjs +50 -0
  164. package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +3 -0
  165. package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +2 -0
  166. package/dist/chunks/cli-0.7.5-gfq85y17.mjs +2 -0
  167. package/dist/chunks/cli-0.7.5-gh00zb08.mjs +18 -0
  168. package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +194 -0
  169. package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +2 -0
  170. package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +2 -0
  171. package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +2 -0
  172. package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +2 -0
  173. package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +2 -0
  174. package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +2 -0
  175. package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +9 -0
  176. package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +2 -0
  177. package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +2 -0
  178. package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +2 -0
  179. package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +2 -0
  180. package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +2 -0
  181. package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +2 -0
  182. package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +2 -0
  183. package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +2 -0
  184. package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +2 -0
  185. package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +2 -0
  186. package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +2 -0
  187. package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +2 -0
  188. package/dist/chunks/cli-0.7.5-jc93grn1.mjs +2 -0
  189. package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +2 -0
  190. package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +2 -0
  191. package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +39 -0
  192. package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +4 -0
  193. package/dist/chunks/cli-0.7.5-krbmx93g.mjs +2 -0
  194. package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +7 -0
  195. package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +2 -0
  196. package/dist/chunks/cli-0.7.5-medd7tha.mjs +2 -0
  197. package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +2 -0
  198. package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +2 -0
  199. package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +2 -0
  200. package/dist/chunks/cli-0.7.5-mkypasee.mjs +3 -0
  201. package/dist/chunks/cli-0.7.5-mtaq950q.mjs +2 -0
  202. package/dist/chunks/cli-0.7.5-myvw92ta.mjs +2 -0
  203. package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +4 -0
  204. package/dist/chunks/cli-0.7.5-p72rah24.mjs +2 -0
  205. package/dist/chunks/cli-0.7.5-paykwdd9.mjs +26 -0
  206. package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +2 -0
  207. package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +67 -0
  208. package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +2 -0
  209. package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +2 -0
  210. package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +2 -0
  211. package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +4 -0
  212. package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +3 -0
  213. package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +5 -0
  214. package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +2 -0
  215. package/dist/chunks/cli-0.7.5-rahmqve7.mjs +2 -0
  216. package/dist/chunks/cli-0.7.5-rbv538zg.mjs +2 -0
  217. package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +2 -0
  218. package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +2 -0
  219. package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +2 -0
  220. package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +16 -0
  221. package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +58 -0
  222. package/dist/chunks/cli-0.7.5-sq0v922e.mjs +6 -0
  223. package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +2 -0
  224. package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +2 -0
  225. package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +4 -0
  226. package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +2 -0
  227. package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +2 -0
  228. package/dist/chunks/cli-0.7.5-v8apq7df.mjs +15 -0
  229. package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +2 -0
  230. package/dist/chunks/cli-0.7.5-vktpnz25.mjs +2 -0
  231. package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +6 -0
  232. package/dist/chunks/cli-0.7.5-vzssapx0.mjs +2 -0
  233. package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +18 -0
  234. package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +2 -0
  235. package/dist/chunks/cli-0.7.5-wj3w13az.mjs +2 -0
  236. package/dist/chunks/cli-0.7.5-wjfmb762.mjs +2 -0
  237. package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +4 -0
  238. package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +2 -0
  239. package/dist/chunks/cli-0.7.5-x2z686xj.mjs +25 -0
  240. package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +2 -0
  241. package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +2 -0
  242. package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +12 -0
  243. package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +24 -0
  244. package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +2 -0
  245. package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +2 -0
  246. package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +2 -0
  247. package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +2 -0
  248. package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +2 -0
  249. package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +3 -0
  250. package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +12 -0
  251. package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +2 -0
  252. package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +1 -0
  253. package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +21 -0
  254. package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +2 -0
  255. package/dist/chunks/cli-0.7.5-yr70t57x.mjs +2 -0
  256. package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +2 -0
  257. package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +2 -0
  258. package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +4 -0
  259. package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +4 -0
  260. package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +2 -0
  261. package/dist/chunks/cli-0.7.5-zftjc44p.mjs +2 -0
  262. package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +2 -0
  263. package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +2 -0
  264. package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +2 -0
  265. package/dist/chunks/client-0.7.5-w36k0xa4.mjs +1 -0
  266. package/dist/chunks/color-0.7.5-6q028b6j.mjs +1 -0
  267. package/dist/chunks/compact-0.7.5-brw7r66h.mjs +3 -0
  268. package/dist/chunks/config-0.7.5-23y0vmxv.mjs +1 -0
  269. package/dist/chunks/config-0.7.5-scfm2ghv.mjs +1 -0
  270. package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +1 -0
  271. package/dist/chunks/context-0.7.5-5sr5p20h.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +1 -0
  273. package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +1 -0
  275. package/dist/chunks/copy-0.7.5-1j6r3503.mjs +9 -0
  276. package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +1 -0
  277. package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +1 -0
  278. package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +1 -0
  279. package/dist/chunks/debug-0.7.5-f7ay5633.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +1446 -0
  281. package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +1 -0
  282. package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +1 -0
  283. package/dist/chunks/detection-0.7.5-g5p116dy.mjs +1 -0
  284. package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +1 -0
  285. package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +1 -0
  287. package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +1 -0
  288. package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +10 -0
  289. package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +1 -0
  291. package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +1 -0
  292. package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +1 -0
  293. package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +1 -0
  294. package/dist/chunks/errors-0.7.5-39sxdk37.mjs +1 -0
  295. package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +1 -0
  296. package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +1 -0
  297. package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +1 -0
  298. package/dist/chunks/export-0.7.5-34j4n9kh.mjs +2 -0
  299. package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +1 -0
  301. package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +1 -0
  302. package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +1 -0
  304. package/dist/chunks/git-0.7.5-e2235c1t.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +1 -0
  306. package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +4 -0
  307. package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +1 -0
  308. package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +1 -0
  309. package/dist/chunks/headless-0.7.5-wbtxesec.mjs +2 -0
  310. package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +6 -0
  311. package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +1 -0
  312. package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +3 -0
  313. package/dist/chunks/hooks-0.7.5-167mv9th.mjs +1 -0
  314. package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +79 -0
  315. package/dist/chunks/ide-0.7.5-n6hvszan.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +1 -0
  318. package/dist/chunks/index-0.7.5-5j4305xq.mjs +1 -0
  319. package/dist/chunks/index-0.7.5-63xhx5j4.mjs +1 -0
  320. package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +9 -0
  321. package/dist/chunks/index-0.7.5-a12krakj.mjs +2 -0
  322. package/dist/chunks/index-0.7.5-bsq6e16w.mjs +1 -0
  323. package/dist/chunks/index-0.7.5-caethvnv.mjs +1 -0
  324. package/dist/chunks/index-0.7.5-cx1vr981.mjs +17 -0
  325. package/dist/chunks/index-0.7.5-dcd3w04q.mjs +1 -0
  326. package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +9 -0
  327. package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +2 -0
  328. package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +5 -0
  329. package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +1 -0
  330. package/dist/chunks/index-0.7.5-kzhpap3n.mjs +1 -0
  331. package/dist/chunks/index-0.7.5-njd4yt57.mjs +1 -0
  332. package/dist/chunks/index-0.7.5-r1ny63xd.mjs +1 -0
  333. package/dist/chunks/index-0.7.5-ry24w7t2.mjs +1 -0
  334. package/dist/chunks/index-0.7.5-syzp921n.mjs +30 -0
  335. package/dist/chunks/index-0.7.5-t7jx62n3.mjs +1 -0
  336. package/dist/chunks/index-0.7.5-wj36e6k0.mjs +1 -0
  337. package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +1 -0
  338. package/dist/chunks/index-0.7.5-yzrfjy23.mjs +1 -0
  339. package/dist/chunks/index-0.7.5-zfker4t5.mjs +1 -0
  340. package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +1 -0
  341. package/dist/chunks/init-0.7.5-hh6v113j.mjs +1 -0
  342. package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +1 -0
  343. package/dist/chunks/ink-0.7.5-56yev9n3.mjs +1 -0
  344. package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +870 -0
  345. package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +1 -0
  346. package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +149 -0
  347. package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +1 -0
  348. package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +1 -0
  350. package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +2 -0
  351. package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +1 -0
  355. package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +1 -0
  356. package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +1 -0
  357. package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +1 -0
  358. package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +1 -0
  359. package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +1 -0
  360. package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +4 -0
  361. package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +17 -0
  362. package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +1 -0
  363. package/dist/chunks/memory-0.7.5-fvpt844c.mjs +3 -0
  364. package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +2 -0
  365. package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +1 -0
  366. package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +12 -0
  367. package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +1 -0
  368. package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +14 -0
  369. package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +1 -0
  370. package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +1 -0
  371. package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +1 -0
  372. package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +1 -0
  373. package/dist/chunks/passes-0.7.5-4axt111x.mjs +1 -0
  374. package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +3 -0
  375. package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +1 -0
  376. package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +1 -0
  377. package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +1 -0
  378. package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +29 -0
  379. package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +1 -0
  380. package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +9 -0
  381. package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +2 -0
  382. package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +57 -0
  383. package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +1 -0
  384. package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +1 -0
  385. package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +9 -0
  387. package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +1 -0
  388. package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +1 -0
  389. package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +1 -0
  390. package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +13 -0
  391. package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +2 -0
  392. package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +1 -0
  393. package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +34 -0
  396. package/dist/chunks/registry-0.7.5-whsh7x53.mjs +1 -0
  397. package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +5 -0
  398. package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +2 -0
  399. package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +1 -0
  401. package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +1 -0
  402. package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +1 -0
  404. package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +1 -0
  405. package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +2 -0
  406. package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +1 -0
  407. package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +1 -0
  408. package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +1 -0
  409. package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +1 -0
  410. package/dist/chunks/session-0.7.5-hkxz3wye.mjs +2 -0
  411. package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +1 -0
  412. package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +1 -0
  413. package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +1 -0
  414. package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +1 -0
  415. package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +5 -0
  416. package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +1 -0
  417. package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +1 -0
  418. package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +1 -0
  419. package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +1 -0
  420. package/dist/chunks/state-0.7.5-ak36peq3.mjs +1 -0
  421. package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +6 -0
  422. package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +1 -0
  423. package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +1 -0
  424. package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +1 -0
  425. package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +1 -0
  426. package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +1 -0
  427. package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +1 -0
  428. package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +1 -0
  429. package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +1 -0
  430. package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +1 -0
  431. package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +1 -0
  432. package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +1 -0
  433. package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +1 -0
  434. package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +1 -0
  435. package/dist/chunks/tools-0.7.5-a8e705rj.mjs +1 -0
  436. package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +1 -0
  437. package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +69 -0
  438. package/dist/chunks/types-0.7.5-63qbfwst.mjs +1 -0
  439. package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +4 -0
  440. package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +86 -0
  441. package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +1 -0
  442. package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +7 -0
  443. package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +14 -0
  444. package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +1 -0
  445. package/dist/chunks/usage-0.7.5-36hanm9f.mjs +1 -0
  446. package/dist/chunks/util-0.7.5-90a4jn87.mjs +1 -0
  447. package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +1 -0
  448. package/dist/chunks/vim-0.7.5-nptszgna.mjs +1 -0
  449. package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +1 -0
  450. package/dist/chunks/wiki-0.7.5-zngdktge.mjs +132 -0
  451. package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +1 -0
  452. package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +1 -0
  454. package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +7 -0
  455. package/dist/claudin-vscode.vsix +0 -0
  456. package/dist/cli.mjs +2 -2
  457. package/package.json +12 -4
  458. package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +0 -1
  459. package/dist/chunks/App-0.7.2-1yazneaj.mjs +0 -1
  460. package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +0 -1
  461. package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +0 -1
  462. package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +0 -1
  463. package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +0 -1
  464. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +0 -1
  465. package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +0 -1
  466. package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +0 -7
  467. package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +0 -1
  468. package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +0 -6
  469. package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +0 -1
  470. package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +0 -1
  474. package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +0 -1
  475. package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +0 -1
  476. package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +0 -1
  484. package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +0 -1
  485. package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +0 -1
  486. package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +0 -1
  487. package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +0 -3
  488. package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +0 -110
  489. package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +0 -1
  490. package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +0 -1
  491. package/dist/chunks/assistant-0.7.2-txvf934b.mjs +0 -1
  492. package/dist/chunks/auth-0.7.2-02q30rsb.mjs +0 -1
  493. package/dist/chunks/auth-0.7.2-x29x49yh.mjs +0 -1
  494. package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +0 -48
  495. package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +0 -1
  496. package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +0 -1
  497. package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +0 -4
  498. package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +0 -2
  499. package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +0 -1
  500. package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +0 -1
  501. package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +0 -88
  502. package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +0 -1
  503. package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +0 -1
  504. package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +0 -3
  505. package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +0 -1
  506. package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +0 -21
  507. package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +0 -4
  508. package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +0 -1
  509. package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +0 -1
  510. package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +0 -1
  511. package/dist/chunks/clear-0.7.2-v59pskrm.mjs +0 -1
  512. package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +0 -1
  513. package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +0 -2
  514. package/dist/chunks/cli-0.7.2-0mj25tns.mjs +0 -2
  515. package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +0 -2
  516. package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +0 -2
  517. package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +0 -2
  518. package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +0 -2
  519. package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +0 -2
  520. package/dist/chunks/cli-0.7.2-21mtjks8.mjs +0 -15
  521. package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +0 -2
  522. package/dist/chunks/cli-0.7.2-26rzbaez.mjs +0 -2
  523. package/dist/chunks/cli-0.7.2-29hh46ve.mjs +0 -3
  524. package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +0 -2
  525. package/dist/chunks/cli-0.7.2-2rj33835.mjs +0 -6
  526. package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +0 -2
  527. package/dist/chunks/cli-0.7.2-358vh55m.mjs +0 -2
  528. package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +0 -2
  529. package/dist/chunks/cli-0.7.2-3frg7csa.mjs +0 -2
  530. package/dist/chunks/cli-0.7.2-3s2zd715.mjs +0 -3
  531. package/dist/chunks/cli-0.7.2-3synxf81.mjs +0 -2
  532. package/dist/chunks/cli-0.7.2-40f37y02.mjs +0 -2
  533. package/dist/chunks/cli-0.7.2-40xymk1q.mjs +0 -2
  534. package/dist/chunks/cli-0.7.2-437jawbh.mjs +0 -2
  535. package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +0 -2
  536. package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +0 -2
  537. package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +0 -2
  538. package/dist/chunks/cli-0.7.2-4g4d682x.mjs +0 -3
  539. package/dist/chunks/cli-0.7.2-520tgkhw.mjs +0 -5438
  540. package/dist/chunks/cli-0.7.2-53qayxqk.mjs +0 -2
  541. package/dist/chunks/cli-0.7.2-5415yrkc.mjs +0 -2
  542. package/dist/chunks/cli-0.7.2-55ye29jy.mjs +0 -2
  543. package/dist/chunks/cli-0.7.2-5750g5et.mjs +0 -2
  544. package/dist/chunks/cli-0.7.2-59wm2srd.mjs +0 -2
  545. package/dist/chunks/cli-0.7.2-5aka4emf.mjs +0 -133
  546. package/dist/chunks/cli-0.7.2-5c89p68w.mjs +0 -2
  547. package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +0 -4
  548. package/dist/chunks/cli-0.7.2-5e72m61f.mjs +0 -25
  549. package/dist/chunks/cli-0.7.2-5ff63f31.mjs +0 -4
  550. package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +0 -2
  551. package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +0 -193
  552. package/dist/chunks/cli-0.7.2-5tacs42k.mjs +0 -2
  553. package/dist/chunks/cli-0.7.2-5y498dyr.mjs +0 -2
  554. package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +0 -15
  555. package/dist/chunks/cli-0.7.2-5yrman6f.mjs +0 -2
  556. package/dist/chunks/cli-0.7.2-60exfzc0.mjs +0 -2
  557. package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +0 -2
  558. package/dist/chunks/cli-0.7.2-68dn8am7.mjs +0 -2
  559. package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +0 -2
  560. package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +0 -12
  561. package/dist/chunks/cli-0.7.2-796x24s1.mjs +0 -2
  562. package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +0 -2
  563. package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +0 -2
  564. package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +0 -2
  565. package/dist/chunks/cli-0.7.2-81s45w7r.mjs +0 -2
  566. package/dist/chunks/cli-0.7.2-828f420c.mjs +0 -7
  567. package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +0 -2
  568. package/dist/chunks/cli-0.7.2-88h70xrj.mjs +0 -50
  569. package/dist/chunks/cli-0.7.2-894093rv.mjs +0 -2
  570. package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +0 -2
  571. package/dist/chunks/cli-0.7.2-8pfcc363.mjs +0 -12
  572. package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +0 -16
  573. package/dist/chunks/cli-0.7.2-9156j3vm.mjs +0 -6
  574. package/dist/chunks/cli-0.7.2-9328ezjz.mjs +0 -3
  575. package/dist/chunks/cli-0.7.2-9953mwyy.mjs +0 -2
  576. package/dist/chunks/cli-0.7.2-99am4r15.mjs +0 -4
  577. package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +0 -4
  578. package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +0 -2
  579. package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +0 -2
  580. package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +0 -2
  581. package/dist/chunks/cli-0.7.2-a6q1amed.mjs +0 -2
  582. package/dist/chunks/cli-0.7.2-a9324x4q.mjs +0 -8
  583. package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +0 -2
  584. package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +0 -2
  585. package/dist/chunks/cli-0.7.2-atsd6734.mjs +0 -2
  586. package/dist/chunks/cli-0.7.2-avk3azcp.mjs +0 -2
  587. package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +0 -2
  588. package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +0 -2
  589. package/dist/chunks/cli-0.7.2-b9pdb0nv.mjs +0 -26
  590. package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +0 -2
  591. package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +0 -21
  592. package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +0 -2
  593. package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +0 -18
  594. package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +0 -4
  595. package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +0 -2
  596. package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +0 -2
  597. package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +0 -2
  598. package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +0 -2
  599. package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +0 -6
  600. package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +0 -2
  601. package/dist/chunks/cli-0.7.2-d5fbych4.mjs +0 -2
  602. package/dist/chunks/cli-0.7.2-dggndd24.mjs +0 -2
  603. package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +0 -2
  604. package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +0 -2
  605. package/dist/chunks/cli-0.7.2-dxm2c139.mjs +0 -24
  606. package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +0 -2
  607. package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +0 -2
  608. package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +0 -2
  609. package/dist/chunks/cli-0.7.2-edf740pd.mjs +0 -5
  610. package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +0 -2
  611. package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +0 -2
  612. package/dist/chunks/cli-0.7.2-f4nt233k.mjs +0 -3
  613. package/dist/chunks/cli-0.7.2-fcadqwem.mjs +0 -1
  614. package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +0 -2
  615. package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +0 -12
  616. package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +0 -2
  617. package/dist/chunks/cli-0.7.2-gar34ch2.mjs +0 -4
  618. package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +0 -2
  619. package/dist/chunks/cli-0.7.2-gssxkynf.mjs +0 -2
  620. package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +0 -2
  621. package/dist/chunks/cli-0.7.2-gysw8esj.mjs +0 -2
  622. package/dist/chunks/cli-0.7.2-h248q4gt.mjs +0 -2
  623. package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +0 -2
  624. package/dist/chunks/cli-0.7.2-h7m849rt.mjs +0 -2
  625. package/dist/chunks/cli-0.7.2-h903zfjz.mjs +0 -2
  626. package/dist/chunks/cli-0.7.2-hbmczrch.mjs +0 -9
  627. package/dist/chunks/cli-0.7.2-he1hdn59.mjs +0 -18
  628. package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +0 -2
  629. package/dist/chunks/cli-0.7.2-hv1z3had.mjs +0 -3
  630. package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +0 -2
  631. package/dist/chunks/cli-0.7.2-j029dkan.mjs +0 -3
  632. package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +0 -2
  633. package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +0 -2
  634. package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +0 -2
  635. package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +0 -2
  636. package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +0 -2
  637. package/dist/chunks/cli-0.7.2-jn2497vh.mjs +0 -2
  638. package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +0 -2
  639. package/dist/chunks/cli-0.7.2-k40k933y.mjs +0 -24
  640. package/dist/chunks/cli-0.7.2-k6jnr159.mjs +0 -2
  641. package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +0 -2
  642. package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +0 -2
  643. package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +0 -2
  644. package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +0 -12
  645. package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +0 -2
  646. package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +0 -15
  647. package/dist/chunks/cli-0.7.2-mqv265gk.mjs +0 -42
  648. package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +0 -3
  649. package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +0 -2
  650. package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +0 -2
  651. package/dist/chunks/cli-0.7.2-ndt224p1.mjs +0 -2
  652. package/dist/chunks/cli-0.7.2-nf346apq.mjs +0 -18
  653. package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +0 -2
  654. package/dist/chunks/cli-0.7.2-nkafymh4.mjs +0 -3
  655. package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +0 -45
  656. package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +0 -3
  657. package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +0 -67
  658. package/dist/chunks/cli-0.7.2-pjavf176.mjs +0 -2
  659. package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +0 -4
  660. package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +0 -2
  661. package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +0 -2
  662. package/dist/chunks/cli-0.7.2-q85af7gm.mjs +0 -2
  663. package/dist/chunks/cli-0.7.2-q88h44qv.mjs +0 -17
  664. package/dist/chunks/cli-0.7.2-q9twb2tn.mjs +0 -2
  665. package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +0 -2
  666. package/dist/chunks/cli-0.7.2-qf8435qy.mjs +0 -2
  667. package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +0 -5
  668. package/dist/chunks/cli-0.7.2-qr706n52.mjs +0 -10
  669. package/dist/chunks/cli-0.7.2-qsx52bst.mjs +0 -2
  670. package/dist/chunks/cli-0.7.2-r1502pen.mjs +0 -2
  671. package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +0 -5
  672. package/dist/chunks/cli-0.7.2-r7x165sf.mjs +0 -17
  673. package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +0 -2
  674. package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +0 -2
  675. package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +0 -2
  676. package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +0 -133
  677. package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +0 -2
  678. package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +0 -2
  679. package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +0 -2
  680. package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +0 -2
  681. package/dist/chunks/cli-0.7.2-tds456xt.mjs +0 -34
  682. package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +0 -4
  683. package/dist/chunks/cli-0.7.2-twx01hwg.mjs +0 -2
  684. package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +0 -3
  685. package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +0 -2
  686. package/dist/chunks/cli-0.7.2-tz5zv753.mjs +0 -6
  687. package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +0 -3
  688. package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +0 -2
  689. package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +0 -4
  690. package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +0 -2
  691. package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +0 -2
  692. package/dist/chunks/cli-0.7.2-vx10940a.mjs +0 -2
  693. package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +0 -2
  694. package/dist/chunks/cli-0.7.2-w07ksegr.mjs +0 -2
  695. package/dist/chunks/cli-0.7.2-waas8a1p.mjs +0 -2
  696. package/dist/chunks/cli-0.7.2-wahbzckp.mjs +0 -58
  697. package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +0 -2
  698. package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +0 -2
  699. package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +0 -2
  700. package/dist/chunks/cli-0.7.2-xced0m7v.mjs +0 -2
  701. package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +0 -2
  702. package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +0 -39
  703. package/dist/chunks/cli-0.7.2-xpw13d73.mjs +0 -59
  704. package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +0 -2
  705. package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +0 -2
  706. package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +0 -2
  707. package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +0 -20
  708. package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +0 -4
  709. package/dist/chunks/cli-0.7.2-ygx94a70.mjs +0 -2
  710. package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +0 -2
  711. package/dist/chunks/cli-0.7.2-yppcb6em.mjs +0 -2
  712. package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +0 -2
  713. package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +0 -2
  714. package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +0 -3
  715. package/dist/chunks/cli-0.7.2-zva1j44t.mjs +0 -2
  716. package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +0 -2
  717. package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +0 -1
  718. package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +0 -1
  719. package/dist/chunks/compact-0.7.2-1htfptdq.mjs +0 -3
  720. package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +0 -1
  721. package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +0 -1
  722. package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +0 -1
  723. package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +0 -1
  724. package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +0 -1
  725. package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +0 -1
  726. package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +0 -1
  727. package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +0 -9
  728. package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +0 -1
  729. package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +0 -1
  730. package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +0 -1
  731. package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +0 -1
  732. package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +0 -1446
  733. package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +0 -1
  734. package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +0 -1
  735. package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +0 -1
  736. package/dist/chunks/diff-0.7.2-7np6da8n.mjs +0 -1
  737. package/dist/chunks/doctor-0.7.2-spqx634t.mjs +0 -1
  738. package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +0 -1
  739. package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +0 -1
  740. package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +0 -10
  741. package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +0 -1
  742. package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +0 -1
  743. package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +0 -1
  744. package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +0 -1
  745. package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +0 -1
  746. package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +0 -1
  747. package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +0 -1
  748. package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +0 -1
  749. package/dist/chunks/export-0.7.2-j6tnta5r.mjs +0 -2
  750. package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +0 -1
  751. package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +0 -1
  752. package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +0 -1
  753. package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +0 -14
  754. package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +0 -1
  755. package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +0 -1
  756. package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +0 -1
  757. package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +0 -4
  758. package/dist/chunks/grove-0.7.2-9sxczf29.mjs +0 -1
  759. package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +0 -1
  760. package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +0 -2
  761. package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +0 -6
  762. package/dist/chunks/help-0.7.2-mkkkzv97.mjs +0 -1
  763. package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +0 -3
  764. package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +0 -1
  765. package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +0 -79
  766. package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +0 -3
  767. package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +0 -1
  768. package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +0 -1
  769. package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +0 -1
  770. package/dist/chunks/index-0.7.2-5mfmhd35.mjs +0 -1
  771. package/dist/chunks/index-0.7.2-62g62r4p.mjs +0 -1
  772. package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +0 -9
  773. package/dist/chunks/index-0.7.2-87jrdmn3.mjs +0 -2
  774. package/dist/chunks/index-0.7.2-9h4tsef1.mjs +0 -1
  775. package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +0 -1
  776. package/dist/chunks/index-0.7.2-a3w6at2z.mjs +0 -1
  777. package/dist/chunks/index-0.7.2-b296et1z.mjs +0 -1
  778. package/dist/chunks/index-0.7.2-c22bn4q9.mjs +0 -1
  779. package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +0 -9
  780. package/dist/chunks/index-0.7.2-f8swc4mv.mjs +0 -30
  781. package/dist/chunks/index-0.7.2-fdsptfbt.mjs +0 -17
  782. package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +0 -1
  783. package/dist/chunks/index-0.7.2-hjcptpaz.mjs +0 -1
  784. package/dist/chunks/index-0.7.2-hts44hhf.mjs +0 -2
  785. package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +0 -1
  786. package/dist/chunks/index-0.7.2-nhtpksxs.mjs +0 -5
  787. package/dist/chunks/index-0.7.2-p5a52s17.mjs +0 -1
  788. package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +0 -1
  789. package/dist/chunks/index-0.7.2-vfyvycvc.mjs +0 -1
  790. package/dist/chunks/index-0.7.2-vw5e1spt.mjs +0 -1
  791. package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +0 -1
  792. package/dist/chunks/init-0.7.2-mdhax55g.mjs +0 -1
  793. package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +0 -1
  794. package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +0 -1
  795. package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +0 -870
  796. package/dist/chunks/install-0.7.2-f33pbxz0.mjs +0 -1
  797. package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +0 -149
  798. package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +0 -1
  799. package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +0 -1
  800. package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +0 -1
  801. package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +0 -2
  802. package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +0 -2
  803. package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +0 -1
  804. package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +0 -1
  805. package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +0 -1
  806. package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +0 -1
  807. package/dist/chunks/log-0.7.2-n28x7jf3.mjs +0 -1
  808. package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +0 -1
  809. package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +0 -1
  810. package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +0 -1
  811. package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +0 -17
  812. package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +0 -4
  813. package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +0 -1
  814. package/dist/chunks/memory-0.7.2-1hfh6410.mjs +0 -3
  815. package/dist/chunks/model-0.7.2-c8esc658.mjs +0 -1
  816. package/dist/chunks/model-0.7.2-sjw6chpt.mjs +0 -2
  817. package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +0 -12
  818. package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +0 -1
  819. package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +0 -14
  820. package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +0 -1
  821. package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +0 -1
  822. package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +0 -1
  823. package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +0 -1
  824. package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +0 -1
  825. package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +0 -3
  826. package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +0 -1
  827. package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +0 -1
  828. package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +0 -1
  829. package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +0 -29
  830. package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +0 -1
  831. package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +0 -9
  832. package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +0 -2
  833. package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +0 -57
  834. package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +0 -1
  835. package/dist/chunks/process-0.7.2-bydxzc10.mjs +0 -1
  836. package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +0 -1
  837. package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +0 -9
  838. package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +0 -1
  839. package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +0 -1
  840. package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +0 -1
  841. package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +0 -13
  842. package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +0 -2
  843. package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +0 -1
  844. package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +0 -6
  845. package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +0 -1
  846. package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +0 -34
  847. package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +0 -1
  848. package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +0 -5
  849. package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +0 -2
  850. package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +0 -1
  851. package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +0 -1
  852. package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +0 -1
  853. package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +0 -1
  854. package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +0 -1
  855. package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +0 -1
  856. package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +0 -2
  857. package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +0 -1
  858. package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +0 -1
  859. package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +0 -1
  860. package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +0 -1
  861. package/dist/chunks/session-0.7.2-c8me3g3x.mjs +0 -2
  862. package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +0 -1
  863. package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +0 -1
  864. package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +0 -1
  865. package/dist/chunks/settings-0.7.2-xc200363.mjs +0 -1
  866. package/dist/chunks/setup-0.7.2-c982wyvz.mjs +0 -5
  867. package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +0 -1
  868. package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +0 -1
  869. package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +0 -1
  870. package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +0 -1
  871. package/dist/chunks/state-0.7.2-p9tevca2.mjs +0 -1
  872. package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +0 -6
  873. package/dist/chunks/status-0.7.2-fh89jm1g.mjs +0 -1
  874. package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +0 -1
  875. package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +0 -1
  876. package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +0 -1
  877. package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +0 -1
  878. package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +0 -1
  879. package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +0 -1
  880. package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +0 -1
  881. package/dist/chunks/theme-0.7.2-1zmsca02.mjs +0 -1
  882. package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +0 -1
  883. package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +0 -1
  884. package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +0 -1
  885. package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +0 -1
  886. package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +0 -1
  887. package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +0 -1
  888. package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +0 -69
  889. package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +0 -1
  890. package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +0 -4
  891. package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +0 -86
  892. package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +0 -1
  893. package/dist/chunks/upload-0.7.2-p6je053d.mjs +0 -7
  894. package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +0 -14
  895. package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +0 -1
  896. package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +0 -1
  897. package/dist/chunks/util-0.7.2-n4vdasdr.mjs +0 -1
  898. package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +0 -1
  899. package/dist/chunks/vim-0.7.2-bd15xeza.mjs +0 -1
  900. package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +0 -1
  901. package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +0 -132
  902. package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +0 -1
  904. package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +0 -7
  905. /package/dist/chunks/{cli-0.7.2-1xbehmgb.mjs → cli-0.7.5-jk7d368h.mjs} +0 -0
@@ -0,0 +1,88 @@
1
+ import{pb as yJ,qb as xz,rb as rz,sb as cz,tb as iz,ub as bJ}from"./cli-0.7.5-zsmx06gy.mjs";import{wb as Tz}from"./cli-0.7.5-apycan2y.mjs";import{Eb as TJ,Fb as xJ,Gb as MJ,Hb as wJ,Ib as fJ}from"./cli-0.7.5-wd0yxrvg.mjs";import{Kb as kJ}from"./cli-0.7.5-hcxagyjb.mjs";import{ne as mz,pe as LJ,te as OJ}from"./cli-0.7.5-ek1sq6b5.mjs";import{Re as VJ,Se as lJ}from"./cli-0.7.5-85hyf5qe.mjs";import{hf as EJ,jf as oz,lf as DK}from"./cli-0.7.5-fjd3yr3y.mjs";import{Kl as AJ,Lj as RJ,Ll as vz,Mj as NK,Pl as BK,RG as JJ,SG as Cz,TG as KJ,UG as ZJ,WG as $J,XG as YJ,YG as XJ,ZG as QJ,_G as WJ,qn as UJ,rn as CK}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import{sU as DJ,yU as _K}from"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import{RV as az,VV as RK}from"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import{s1 as pz,v1 as PK}from"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import{g6 as i,h6 as FK}from"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import{I7 as G,J7 as pJ}from"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{K$ as CJ,L$ as qK,Zea as yz,a9 as Wz,c9 as HK,ffa as OK,kaa as fz,laa as ez,maa as zJ,naa as cJ}from"./cli-0.7.5-ghq2axmf.mjs";import{Cfa as GK,kfa as sz,lfa as gJ,nfa as Rz,ufa as qz}from"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import{jga as PJ,rga as jK}from"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import{Fha as zz,Gha as NJ,Iha as QK}from"./cli-0.7.5-tbrfr6hj.mjs";import{Iia as q,Lia as tz,lia as qJ,mia as uz,qia as oJ}from"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import{gja as g,nja as VK}from"./cli-0.7.5-fzqampqh.mjs";import{Bja as BJ,Dja as WK,tja as _J}from"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Qqa as I}from"./cli-0.7.5-012a6zfk.mjs";CK();NK();_K();jK();QK();qK();tz();HK();WK();VK();GK();OK();FK();BK();import{randomUUID as Sz}from"crypto";import{hostname as IJ,tmpdir as AK}from"os";import{basename as UK,join as LK,resolve as lz}from"path";WJ();pJ();lJ();cJ();gJ();tz();WJ();var dJ={type:"utf8",errorCorrectionLevel:"L",small:!0};async function aJ(z){return(await VJ(z,dJ)).split(`
2
+ `).filter((K)=>K.length>0)}function GJ(z){let J=z.write??(($)=>process.stdout.write($)),K=z.verbose,Y=0,O="idle",Z="Ready",R="",B="",U="",F="",L="",A=null,N=[],M=!1,E=null,P=0,x=0,_=1,f=null,k="single-session",b=new Map,d=null,S=0;function Xz($){let j=process.stdout.columns||80,w=0;for(let Gz of $.split(`
3
+ `)){if(Gz.length===0){w++;continue}let Nz=sz(Gz);w+=Math.max(1,Math.ceil(Nz/j))}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($){aJ($).then((j)=>{N=j,p()}).catch((j)=>{q(`QR code generation failed: ${j}`,{level:"error"})})}function o(){a();let $=fz[S%fz.length],j="";if(R)j+=G.dim(" · ")+G.dim(R);if(B)j+=G.dim(" · ")+G.dim(B);m(`${G.yellow($)} ${G.yellow("Connecting")}${j}
5
+ `)}function Vz(){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 N)m(`${G.dim(Jz)}
6
+ `);let j=ez,w=$?G.green:G.cyan,Nz=($?G.green:G.cyan)(Z),Oz="";if(R)Oz+=G.dim(" · ")+G.dim(R);if(B&&k!=="worktree")Oz+=G.dim(" · ")+G.dim(B);if(m(`${w(j)} ${Nz}${Oz}
7
+ `),_>1){let Jz=k==="worktree"?"New sessions will be created in an isolated worktree":"New sessions will be created in the current directory";m(` ${G.dim(`Capacity: ${x}/${_} · ${Jz}`)}
8
+ `);for(let[,Kz]of b){let r=Kz.title?Rz(Kz.title,35):G.dim("Attached"),Mz=QJ(r,Kz.url),Fz=Kz.activity,V=Fz&&Fz.type!=="result"&&Fz.type!=="error"?G.dim(` ${Rz(Fz.summary,40)}`):"";m(` ${Mz}${V}
9
+ `)}}if(_===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(` ${G.dim(Jz)}
10
+ `)}if(_===1&&!$&&E&&Date.now()-P<JJ)m(` ${G.dim(Rz(E,60))}
11
+ `);let Qz=A??U;if(Qz){m(`
12
+ `);let Jz=$?$J(Qz):YJ(Qz),Kz=M?G.dim.italic("space to hide QR code"):G.dim.italic("space to show QR code"),r=f?G.dim.italic(" · w to toggle spawn mode"):"";m(`${G.dim(Jz)}
13
+ `),m(`${Kz}${r}
14
+ `)}}return{printBanner($,j){if(F=$.sessionIngressUrl,L=j,U=KJ(j,F),n(U),K)J(G.dim("Remote Control")+` v99.0.0
15
+ `);if(K){if($.spawnMode!=="single-session")J(G.dim("Spawn mode: ")+`${$.spawnMode}
16
+ `),J(G.dim("Max concurrent sessions: ")+`${$.maxSessions}
17
+ `);J(G.dim("Environment ID: ")+`${j}
18
+ `)}if($.sandbox)J(G.dim("Sandbox: ")+`${G.green("Enabled")}
19
+ `);J(`
20
+ `),Vz()},logSessionStart($,j){if(K){let w=Rz(j,80);$z(G.dim(`[${Cz()}]`)+` Session started: ${G.white(`"${w}"`)} (${G.dim($)})
21
+ `)}},logSessionComplete($,j){$z(G.dim(`[${Cz()}]`)+` Session ${G.green("completed")} (${qz(j)}) ${G.dim($)}
22
+ `)},logSessionFailed($,j){$z(G.dim(`[${Cz()}]`)+` Session ${G.red("failed")}: ${j} ${G.dim($)}
23
+ `)},logStatus($){$z(G.dim(`[${Cz()}]`)+` ${$}
24
+ `)},logVerbose($){if(K)$z(G.dim(`[${Cz()}] ${$}`)+`
25
+ `)},logError($){$z(G.red(`[${Cz()}] Error: ${$}`)+`
26
+ `)},logReconnected($){$z(G.dim(`[${Cz()}]`)+` ${G.green("Reconnected")} after ${qz($)}
27
+ `)},setRepoInfo($,j){R=$,B=j},updateIdleStatus(){t(),O="idle",Z="Ready",E=null,P=0,A=null,n(U),p()},setAttached($){if(t(),O="attached",Z="Connected",E=null,P=0,_<=1)A=ZJ($,L,F),n(A);p()},updateReconnectingStatus($,j){if(t(),a(),O="reconnecting",M)for(let Gz of N)m(`${G.dim(Gz)}
28
+ `);let w=fz[S%fz.length];S++,m(`${G.yellow(w)} ${G.yellow("Reconnecting")} ${G.dim("·")} ${G.dim(`retrying in ${$}`)} ${G.dim("·")} ${G.dim(`disconnected ${j}`)}
29
+ `)},updateFailedStatus($){t(),a(),O="failed";let j="";if(R)j+=G.dim(" · ")+G.dim(R);if(B)j+=G.dim(" · ")+G.dim(B);if(m(`${G.red(zJ)} ${G.red("Remote Control Failed")}${j}
30
+ `),m(`${G.dim(XJ)}
31
+ `),$)m(`${G.red($)}
32
+ `)},updateSessionStatus($,j,w,Gz){if(w.type==="tool_start")E=w.summary,P=Date.now();p()},clearStatus(){t(),a()},toggleQr(){M=!M,p()},updateSessionCount($,j,w){if(x===$&&_===j&&k===w)return;x=$,_=j,k=w},setSpawnModeDisplay($){if(f===$)return;if(f=$,$)k=$},addSession($,j){b.set($,{url:j})},updateSessionActivity($,j){let w=b.get($);if(!w)return;w.activity=j},setSessionTitle($,j){let w=b.get($);if(!w)return;if(w.title=j,O==="reconnecting"||O==="failed")return;if(_===1)O="titled",Z=Rz(j,40);p()},removeSession($){b.delete($)},refreshDisplay(){if(O==="reconnecting"||O==="failed")return;p()}}}OJ();PK();oJ();OJ();import{spawn as rJ}from"child_process";import{createWriteStream as iJ}from"fs";import{tmpdir as nJ}from"os";import{dirname as tJ,join as jJ}from"path";import{createInterface as HJ}from"readline";var sJ=10,eJ=10,zK=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","CLAUDE_CODE_BUBBLEWRAP","CLAUDE_CODE_ENTRYPOINT","CLAUDE_CODE_COORDINATOR_MODE","CLAUDE_CODE_PERMISSIONS_VERSION","CLAUDE_CODE_PERMISSIONS_SETTING","TERM","COLORTERM","FORCE_COLOR","NO_COLOR"]);function JK(z,J){let K={};for(let Y of Object.keys(z))if(zK.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 KK={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 ZK(z,J){let K=KK[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 $K(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",N=L.input??{},M=ZK(A,N);Z.push({type:"tool_start",summary:M,timestamp:R}),K(`[bridge:activity] sessionId=${J} tool_use name=${A} ${XK(N)}`)}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 YK(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 XK(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 _=z.debugFile.lastIndexOf(".");if(_>0)O=`${z.debugFile.slice(0,_)}-${Y}${z.debugFile.slice(_)}`;else O=`${z.debugFile}-${Y}`}else if(z.verbose)O=jJ(nJ(),"claude",`bridge-session-${Y}.log`);let Z=null,R;if(z.debugFile)R=jJ(tJ(z.debugFile),`bridge-transcript-${Y}.jsonl`),Z=iJ(R,{flags:"a"}),Z.on("error",(_)=>{z.onDebug(`[bridge:session] Transcript write error: ${_.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=JK(z.env,{accessToken:J.accessToken,useCcrV2:J.useCcrV2,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=rJ(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,N=[],M=!1,E=!1;if(F.stderr)HJ({input:F.stderr}).on("line",(f)=>{if(z.verbose)process.stderr.write(f+`
33
+ `);if(N.length>=eJ)N.shift();N.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=$K(f,J.sessionId,z.onDebug);for(let b of k){if(L.length>=sJ)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"&&!E&&J.onFirstUserMessage){let S=YK(d);if(S)E=!0,J.onFirstUserMessage(S)}}}});let P=new Promise((_)=>{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}`),_("interrupted");else if(f===0)z.onDebug(`[bridge:session] sessionId=${J.sessionId} completed exit_code=0 pid=${F.pid}`),_("completed");else z.onDebug(`[bridge:session] sessionId=${J.sessionId} failed exit_code=${f} pid=${F.pid}`),_("failed")}),F.on("error",(f)=>{z.onDebug(`[bridge:session] sessionId=${J.sessionId} spawn error: ${f.message}`),_("failed")})}),x={sessionId:J.sessionId,done:P,activities:L,accessToken:J.accessToken,lastStderr:N,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(_){if(F.stdin&&!F.stdin.destroyed)z.onDebug(`[bridge:ws] sessionId=${J.sessionId} >>> ${mz(_)}`),F.stdin.write(_)},updateAccessToken(_){x.accessToken=_,x.writeStdin(qJ({type:"update_environment_variables",variables:{CLAUDE_CODE_SESSION_ACCESS_TOKEN:_}})+`
36
+ `),z.onDebug(`[bridge:session] Sent token refresh via stdin for sessionId=${J.sessionId}`)}};return x}}}RK();DK();var EK={connInitialMs:2000,connCapMs:120000,connGiveUpMs:600000,generalInitialMs:500,generalCapMs:30000,generalGiveUpMs:600000},yK=1000,vJ=32;async function hJ(){return PJ("tengu_ccr_bridge_multi_session")}function FJ(z){return z.connCapMs*2}function SJ(){if(CJ()||!process.argv[1])return[];return[process.argv[1]]}function TK(z,J,K){try{return z.spawn(J,K)}catch(Y){let O=g(Y);return yz(Error(`Session spawn failed: ${O}`)),O}}async function mJ(z,J,K,Y,O,Z,R,B=EK,U,F){let L=new AbortController;if(R.aborted)L.abort();else R.addEventListener("abort",()=>L.abort(),{once:!0});let A=L.signal,N=new Map,M=new Map,E=new Map,P=new Map,x=new Map,_=new Map,f=new Set,k=new Map,b=new Set,d=new Set,S=bJ(A);async function Xz(){let Q=!1,V=!1,y=[];for(let[H]of N){let D=E.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("tengu_bridge_heartbeat_error",{status:u.status,error_type:u.status===401||u.status===403?"auth_failed":"fatal"}),u.status===401||u.status===403)y.push(H);else V=!0}}for(let H of y){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(V)return"fatal";if(y.length>0)return"auth_failed";return Q?"ok":"failed"}let m=new Set,a=F?kJ({getAccessToken:F,onRefresh:(Q,V)=>{let y=N.get(Q);if(!y)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 y.updateAccessToken(V)},label:"bridge"}):null,$z=Date.now(),n=new Set;function o(Q){n.add(Q),Q.finally(()=>n.delete(Q))}let Vz=0,t=0,p=null,$=null,j=null,w=null,Gz=!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 Nz(){Z.updateSessionCount(N.size,z.maxSessions,z.spawnMode);for(let[u,X]of N){let T=X.currentActivity;if(T)Z.updateSessionActivity(P.get(u)??u,T)}if(N.size===0){Z.updateIdleStatus();return}let[Q,V]=[...N.entries()].pop(),y=M.get(Q);if(!y)return;let H=V.currentActivity;if(!H||H.type==="result"||H.type==="error"){if(z.maxSessions>1)Z.refreshDisplay();return}let D=qz(Date.now()-y),v=V.activities.filter((u)=>u.type==="tool_start").slice(-5).map((u)=>u.summary);Z.updateSessionStatus(Q,D,H,v)}function Oz(){Qz(),Nz(),w=setInterval(Nz,yK)}function Qz(){if(w)clearInterval(w),w=null}function Jz(Q,V,y){return(H)=>{let D=E.get(Q);N.delete(Q),M.delete(Q),E.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=_.get(Q);if(u)clearTimeout(u),_.delete(Q);a?.cancel(Q),S.wake();let X=b.delete(Q),T=X&&H==="interrupted"?"failed":H,c=Date.now()-V;q(`[bridge:session] sessionId=${Q} workId=${D??"unknown"} exited status=${T} duration=${qz(c)}`),zz("tengu_bridge_session_done",{status:T,duration_ms:c}),Wz("info","bridge_session_done",{status:T,duration_ms:c}),Z.clearStatus(),Qz();let s=y.lastStderr.length>0?y.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),yz(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 V=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("tengu_bridge_reconnected",{disconnected_ms:X})}if(Vz=0,t=0,p=null,$=null,j=null,!V){if(N.size>=z.maxSessions){let T=Q.multisession_poll_interval_ms_at_capacity;if(Q.non_exclusive_heartbeat_interval_ms>0){zz("tengu_bridge_heartbeat_mode_entered",{active_sessions:N.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&&N.size>=z.maxSessions&&(c===null||Date.now()<c)){let l=Tz();if(l.non_exclusive_heartbeat_interval_ms<=0)break;let _z=S.signal();if(s=await Xz(),s==="auth_failed"||s==="fatal"){_z.cleanup();break}Yz++,await i(l.non_exclusive_heartbeat_interval_ms,_z.signal),_z.cleanup()}let Zz=s==="auth_failed"||s==="fatal"?s:A.aborted?"shutdown":N.size<z.maxSessions?"capacity_changed":c!==null&&Date.now()>=c?"poll_due":"config_disabled";if(zz("tengu_bridge_heartbeat_mode_exited",{reason:Zz,heartbeat_cycles:Yz,active_sessions:N.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=N.size>0?Q.multisession_poll_interval_ms_partial_capacity:Q.multisession_poll_interval_ms_not_at_capacity;await i(T,A)}continue}let H=N.size>=z.maxSessions;if(f.has(V.id)){if(q(`[bridge:work] Skipping already-completed workId=${V.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=TJ(V.secret)}catch(X){let T=g(X);if(Z.logError(`Failed to decode work secret for workId=${V.id}: ${T}`),zz("tengu_bridge_work_secret_failed",{}),f.add(V.id),o(kz(Y,J,V.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=${V.id}`);try{await Y.acknowledgeWork(J,V.id,D.session_ingress_token)}catch(X){q(`[bridge:work] Acknowledge failed workId=${V.id}: ${g(X)}`)}},u=V.data.type;switch(V.data.type){case"healthcheck":await v(),q("[bridge:work] Healthcheck received"),Z.logVerbose("Healthcheck received");break;case"session":{let X=V.data.id;try{yJ(X,"session_id")}catch{await v(),Z.logError(`Invalid session_id received: ${X}`);break}let T=N.get(X);if(T){T.updateAccessToken(D.session_ingress_token),x.set(X,D.session_ingress_token),E.set(X,V.id),a?.schedule(X,D.session_ingress_token),q(`[bridge:work] Updated access token for existing sessionId=${X} workId=${V.id}`),await v();break}if(N.size>=z.maxSessions){q(`[bridge:work] At capacity (${N.size}/${z.maxSessions}), cannot spawn new session for workId=${V.id}`);break}await v();let c=Date.now(),s,Yz=!1,Zz;if(D.use_code_sessions===!0||_J(process.env.CLAUDE_BRIDGE_USE_CCR_V2)){s=wJ(z.apiBaseUrl,X);for(let W=1;W<=2;W++)try{Zz=await fJ(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}`),yz(Error(`registerWorker failed: ${h}`)),f.add(V.id),o(kz(Y,J,V.id,Z,B.stopWorkBaseDelayMs))}if(!Yz)break}else s=xJ(z.sessionIngressUrl,X);let{spawnMode:l,dir:_z}=z,Uz=0;if(l==="worktree"&&(U===void 0||!MJ(X,U))){let W=Date.now();try{let C=await AJ(`bridge-${Iz(X)}`);Uz=Date.now()-W,k.set(X,{worktreePath:C.worktreePath,worktreeBranch:C.worktreeBranch,gitRoot:C.gitRoot,hookBased:C.hookBased}),_z=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}`),yz(Error(`Worktree creation failed: ${h}`)),f.add(V.id),o(kz(Y,J,V.id,Z,B.stopWorkBaseDelayMs));break}}q(`[bridge:session] Spawning sessionId=${X} sdkUrl=${s}`);let e=pz(X),Lz=TK(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=mK(W);Z.setSessionTitle(e,C),q(`[bridge:title] derived title for ${e}: ${C}`),import("./createSession-0.7.5-4ry726v4.mjs").then(({updateBridgeSessionTitle:h})=>h(e,C,{baseUrl:z.apiBaseUrl})).catch((h)=>q(`[bridge:title] failed to update title for ${e}: ${h}`,{level:"error"}))}},_z);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(V.id),o(kz(Y,J,V.id,Z,B.stopWorkBaseDelayMs));break}let Dz=Lz,Az=Date.now()-c;zz("tengu_bridge_session_started",{active_sessions:N.size,spawn_mode:l,in_worktree:k.has(X),spawn_duration_ms:Az,worktree_create_ms:Uz,inProtectedNamespace:BJ()}),Wz("info","bridge_session_started",{spawn_mode:l,in_worktree:k.has(X),spawn_duration_ms:Az,worktree_create_ms:Uz}),N.set(X,Dz),E.set(X,V.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 Ez=Iz(X),jz;if(z.debugFile){let W=z.debugFile.lastIndexOf(".");if(W>0)jz=`${z.debugFile.slice(0,W)}-${Ez}${z.debugFile.slice(W)}`;else jz=`${z.debugFile}-${Ez}`}else if(z.verbose)jz=LK(AK(),"claude",`bridge-session-${Ez}.log`);if(jz)Z.logVerbose(`Debug log: ${jz}`);Z.addSession(e,UJ(e,z.sessionIngressUrl)),Oz(),Z.setAttached(e),uK(e,z.apiBaseUrl).then((W)=>{if(W&&N.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??EJ;if(Bz>0){let W=setTimeout(fK,Bz,X,Bz,Z,b,Dz);_.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(V){if(A.aborted)break;if(V instanceof xz){if(Gz=!0,cz(V.errorType))Z.logStatus(V.message);else if(iz(V))q(`[bridge:work] Suppressed 403 error: ${V.message}`);else Z.logError(V.message),yz(V);zz("tengu_bridge_fatal_error",{status:V.status,error_type:V.errorType}),Wz(cz(V.errorType)?"info":"error","bridge_fatal_error",{status:V.status,error_type:V.errorType});break}let y=LJ(V);if(MK(V)||wK(V)){let H=Date.now();if(j!==null&&H-j>FJ(B))q(`[bridge:work] Detected system sleep (${Math.round((H-j)/1000)}s gap), resetting error budget`),Wz("info","bridge_poll_sleep_detected",{gapMs:H-j}),p=null,Vz=0,$=null,t=0;if(j=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("tengu_bridge_poll_give_up",{error_type:"connection",elapsed_ms:D}),Wz("error","bridge_poll_give_up",{error_type:"connection",elapsed_ms:D}),Gz=!0;break}$=null,t=0,Vz=Vz?Math.min(Vz*2,B.connCapMs):B.connInitialMs;let v=dz(Vz);if(Z.logVerbose(`Connection error, retrying in ${bz(v)} (${Math.round(D/1000)}s elapsed): ${y}`),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(j!==null&&H-j>FJ(B))q(`[bridge:work] Detected system sleep (${Math.round((H-j)/1000)}s gap), resetting error budget`),Wz("info","bridge_poll_sleep_detected",{gapMs:H-j}),p=null,Vz=0,$=null,t=0;if(j=H,!$)$=H;let D=H-$;if(D>=B.generalGiveUpMs){Z.logError(`Persistent errors for ${Math.round(D/60000)} minutes, giving up.`),zz("tengu_bridge_poll_give_up",{error_type:"general",elapsed_ms:D}),Wz("error","bridge_poll_give_up",{error_type:"general",elapsed_ms:D}),Gz=!0;break}p=null,Vz=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): ${y}`),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("tengu_bridge_shutdown",{active_sessions:N.size,loop_duration_ms:Kz}),Wz("info","bridge_shutdown",{active_sessions:N.size,loop_duration_ms:Kz});let r=new Set(N.keys());if(U)r.add(U);let Mz=new Map(P);if(N.size>0){q(`[bridge:shutdown] Shutting down ${N.size} active session(s)`),Z.logStatus(`Shutting down ${N.size} active session(s)…`);let Q=new Map(E);for(let[y,H]of N.entries())q(`[bridge:shutdown] Sending SIGTERM to sessionId=${y}`),H.kill();let V=new AbortController;await Promise.race([Promise.allSettled([...N.values()].map((y)=>y.done)),i(B.shutdownGraceMs??30000,V.signal)]),V.abort();for(let[y,H]of N.entries())q(`[bridge:shutdown] Force-killing stuck sessionId=${y}`),H.forceKill();for(let y of _.values())clearTimeout(y);if(_.clear(),a?.cancelAll(),k.size>0){let y=[...k.values()];k.clear(),q(`[bridge:shutdown] Cleaning up ${y.length} worktree(s)`),await Promise.allSettled(y.map((H)=>vz(H.worktreePath,H.worktreeBranch,H.gitRoot,H.hookBased)))}await Promise.allSettled([...Q.entries()].map(([y,H])=>{return Y.stopWork(J,H,!0).catch((D)=>Z.logVerbose(`Failed to stop work ${H} for session ${y}: ${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((V)=>Z.logVerbose(`Failed to archive session ${Q}: ${g(V)}`))));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-0.7.5-5wgvs16s.mjs");await Fz(z.dir),Z.logVerbose("Environment offline.")}var xK=new Set(["ECONNREFUSED","ECONNRESET","ETIMEDOUT","ENETUNREACH","EHOSTUNREACH"]);function MK(z){if(z&&typeof z==="object"&&"code"in z&&typeof z.code==="string"&&xK.has(z.code))return!0;return!1}function wK(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 fK(z,J,K,Y,O){q(`[bridge:session] sessionId=${z} timed out after ${qz(J)}`),zz("tengu_bridge_session_timeout",{timeout_ms:J}),K.logSessionFailed(z,`Session timed out after ${qz(J)}`),Y.add(z),O.kill()}var kK=["session","same-dir","worktree"];function bK(z){if(z==="session")return"single-session";if(z==="same-dir")return"same-dir";if(z==="worktree")return"worktree";return`--spawn requires one of: ${kK.join(", ")} (got: ${z??"<missing>"})`}function IK(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 vK(z){let J=!1,K=!1,Y,O,Z,R,B=!1,U,F,L,A,N=!1;for(let E=0;E<z.length;E++){let P=z[E];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"&&E+1<z.length)Y=lz(z[++E]);else if(P.startsWith("--debug-file="))Y=lz(P.slice(13));else if(P==="--session-timeout"&&E+1<z.length)O=parseInt(z[++E],10)*1000;else if(P.startsWith("--session-timeout="))O=parseInt(P.slice(18),10)*1000;else if(P==="--permission-mode"&&E+1<z.length)Z=z[++E];else if(P.startsWith("--permission-mode="))Z=P.slice(18);else if(P==="--name"&&E+1<z.length)R=z[++E];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[++E],_=bK(x);if(_==="single-session"||_==="same-dir"||_==="worktree")U=_;else return M(_)}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[++E],_=IK(x);if(typeof _==="number")F=_;else return M(_)}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 'claude 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||N)&&(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&&N)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:N,help:B};function M(E){return{verbose:J,sandbox:K,debugFile:Y,sessionTimeoutMs:O,permissionMode:Z,name:R,spawnMode:U,capacity:F,createSessionInDir:L,sessionId:A,continueSession:N,help:B,error:E}}}async function hK(){let{EXTERNAL_PERMISSION_MODES:z}=await import("./permissions-0.7.5-xdxqnd7w.mjs"),J=z.join(", "),K=await hJ(),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: ${vJ})
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
+ claude 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 \`claude\` 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 SK=80;function mK(z){let J=z.replace(/\s+/g," ").trim();return Rz(J,SK)}async function uK(z,J){let{getBridgeSession:K}=await import("./createSession-0.7.5-4ry726v4.mjs");return(await K(z,{baseUrl:J}))?.title||void 0}async function kZ(z){let J=vK(z);if(J.help){await hK();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:N}=J,M=A,E,P=U!==void 0||F!==void 0||L!==void 0;if(R!==void 0){let{PERMISSION_MODES:W}=await import("./permissions-0.7.5-xdxqnd7w.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:_,checkHasTrustDialogAccepted:f}=await import("./config-0.7.5-23y0vmxv.mjs");_();let{initSinks:k}=await import("./sinks-0.7.5-cvxvp35v.mjs");k();let b=await hJ();if(P&&!b)await NJ("tengu_bridge_multi_session_denied",{used_spawn:U!==void 0,used_capacity:F!==void 0,used_create_session_in_dir:L!==void 0}),await Promise.race([Promise.all([DJ(),RJ()]),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-0.7.5-ak36peq3.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-0.7.5-gdt0tbr7.mjs"),{getBridgeAccessToken:a,getBridgeBaseUrl:$z}=await import("./bridgeConfig-0.7.5-nme7hkby.mjs");if(!a())console.error(oz),process.exit(1);let{getGlobalConfig:o,saveGlobalConfig:Vz,getCurrentProjectConfig:t,saveCurrentProjectConfig:p}=await import("./config-0.7.5-23y0vmxv.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(),Vz((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 j=process.env.CLAUDE_BRIDGE_SESSION_INGRESS_URL||$,{getBranch:w,getRemoteUrl:Gz,findGitRoot:Nz}=await import("./git-0.7.5-e2235c1t.mjs"),{hasWorktreeCreateHook:Oz}=await import("./hooks-0.7.5-167mv9th.mjs"),Qz=Oz()||Nz(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("tengu_bridge_spawn_mode_chosen",{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??vJ,Fz=L??!0;if(!M){let{clearBridgePointer:W}=await import("./bridgePointer-0.7.5-5wgvs16s.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(),V=await Gz(),y=IJ(),H=Sz(),{handleOAuth401Error:D}=await import("./auth-0.7.5-gdt0tbr7.mjs"),v=rz({baseUrl:$,getAccessToken:a,runnerVersion:"99.0.0",onDebug:q,onAuth401:D,getTrustedDeviceToken:az}),u,X={dir:x,machineName:y,branch:Q,gitRepoUrl:V,maxSessions:Mz,spawnMode:r,verbose:K,sandbox:Y,bridgeId:H,workerType:"claude_code",environmentId:Sz(),reuseEnvironmentId:u,apiBaseUrl:$,sessionIngressUrl:j,debugFile:O,sessionTimeoutMs:Z};q(`[bridge:init] bridgeId=${H}${u?` reuseEnvironmentId=${u}`:""} dir=${x} branch=${Q} gitRepoUrl=${V} machine=${y}`),q(`[bridge:init] apiBaseUrl=${$} sessionIngressUrl=${j}`),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("tengu_bridge_registration_failed",{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("tengu_bridge_started",{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:SJ(),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=GJ({verbose:K}),{parseGitHubRepository:_z}=await import("./detectRepository-0.7.5-9tagnw7m.mjs"),Uz=V?_z(V):null,e=Uz?Uz.split("/").pop():UK(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("tengu_bridge_spawn_mode_toggled",{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()},Ez=()=>{q("[bridge:shutdown] SIGTERM received, shutting down"),Az.abort()};process.on("SIGINT",wz),process.on("SIGTERM",Ez);let jz=null;if(Fz){let{createBridgeSession:W}=await import("./createSession-0.7.5-4ry726v4.mjs");try{if(jz=await W({environmentId:T,title:B,events:[],gitRepoUrl:V,branch:Q,signal:Az.signal,baseUrl:$,getAccessToken:a,permissionMode:R}),jz)q(`[bridge:init] Created initial session ${jz}`)}catch(C){q(`[bridge:init] Session creation failed (non-fatal): ${g(C)}`)}}let Bz=null;if(jz&&r==="single-session"){let{writeBridgePointer:W}=await import("./bridgePointer-0.7.5-5wgvs16s.mjs"),C={sessionId:jz,environmentId:T,source:"standalone"};await W(X.dir,C),Bz=setInterval(W,3600000,X.dir,C),Bz.unref?.()}try{await mJ(X,T,c,v,Zz,l,Az.signal,void 0,jz??void 0,async()=>{return Xz(),await m(),a()})}finally{if(Bz!==null)clearInterval(Bz);if(process.off("SIGINT",wz),process.off("SIGTERM",Ez),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 bZ(z,J){let{dir:K,log:Y}=z;process.chdir(K);let{setOriginalCwd:O,setCwdState:Z}=await import("./state-0.7.5-ak36peq3.mjs");O(K),Z(K);let{enableConfigs:R,checkHasTrustDialogAccepted:B}=await import("./config-0.7.5-23y0vmxv.mjs");R();let{initSinks:U}=await import("./sinks-0.7.5-cvxvp35v.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-0.7.5-nme7hkby.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:N,getRemoteUrl:M,findGitRoot:E}=await import("./git-0.7.5-e2235c1t.mjs"),{hasWorktreeCreateHook:P}=await import("./hooks-0.7.5-167mv9th.mjs");if(z.spawnMode==="worktree"){if(!(P()||E(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=IJ(),k=Sz(),b={dir:K,machineName:f,branch:x,gitRepoUrl:_,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:SJ(),env:process.env,verbose:!1,sandbox:z.sandbox,permissionMode:z.permissionMode,onDebug:Y}),a=gK(Y);a.printBanner(b,S);let $z;if(z.createSessionOnStart){let{createBridgeSession:n}=await import("./createSession-0.7.5-4ry726v4.mjs");try{let o=await n({environmentId:S,title:z.name,events:[],gitRepoUrl:_,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 mJ(b,S,Xz,d,m,a,J,void 0,$z,async()=>z.getAccessToken())}function gK(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{mJ as runBridgeLoop,bZ as runBridgeHeadless,vK as parseArgs,wK as isServerError,MK as isConnectionError,kZ as bridgeMain,hz as BridgeHeadlessPermanentError};
@@ -0,0 +1 @@
1
+ import{Dga as G,Ega as N,Hga as M,Kga as Y,Mga as O,Nga as S,Oga as _,sga as A,tga as k}from"./cli-0.7.5-pm9grnq1.mjs";import{Iia as C,Lia as R,lia as K,mia as W,qia as j}from"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import{ija as y,nja as c}from"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-012a6zfk.mjs";O();R();c();k();_();M();j();import{mkdir as m,readFile as z,stat as E,unlink as T,writeFile as f}from"fs/promises";import{dirname as B,join as b}from"path";var I=50,D=14400000,u=S(()=>Y.object({sessionId:Y.string(),environmentId:Y.string(),source:Y.enum(["standalone","repl"])}));function J(q){return b(N(),G(q),"bridge-pointer.json")}async function g(q,x){let v=J(q);try{await m(B(v),{recursive:!0}),await f(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 E(x)).mtimeMs,v=await z(x,"utf8")}catch{return null}let Z=u().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($>D)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 A(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 T(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,D as BRIDGE_POINTER_TTL_MS};
@@ -0,0 +1 @@
1
+ import{$h as bJ,_h as a}from"./cli-0.7.5-ydfgf7qv.mjs";import{ai as x,bi as AJ}from"./cli-0.7.5-xv3vs7j9.mjs";import{DD as l,Gy as i,Hy as HJ,JD as kJ,bz as u,dz as WJ,gH as $,hH as vJ,jT as s,kT as t,lP as r,lQ as o,lT as DJ,uP as TJ,yn as m,zQ as hJ,zn as UJ}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import{GX as c,IX as IJ,jX as g,kX as QJ}from"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{UZ as k,WZ as v,l0 as j,n0 as KJ,z0 as NJ,zY as GJ}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as F,G2 as W,H2 as d}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as zJ}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{Bda as FJ,W$ as p,X$ as C,dda as S,naa as ZJ}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import{gja as f,nja as YJ}from"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as R,Pqa as XJ}from"./cli-0.7.5-012a6zfk.mjs";function EJ(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}=c(g()),A;if(J[0]===Symbol.for("react.memo_cache_sentinel"))A=()=>JJ(qJ),J[0]=A;else A=J[0];j(A,Z||K?null:80);let b;if(J[1]!==G)b=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(-_);if(X.key==="down"||X.ctrl&&X.key==="n")X.preventDefault(),T.current?.scrollBy(_)},J[1]=G,J[2]=b;else b=J[2];let h=b,w,L;if(J[3]!==z||J[4]!==Y)w=()=>{let B=m();return async function(){try{let O=await MJ(z),M=await a({question:Y,cacheSafeParams:O});if(!B.signal.aborted)if(M.response)e(M.response);else y("No response received")}catch(O){let M=O;if(!B.signal.aborted)y(f(M)||"Failed to get response")}}(),()=>{B.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),E;if(J[7]===Symbol.for("react.memo_cache_sentinel"))E=W(v,{color:"warning",bold:!0,children:["/btw"," "]}),J[7]=E;else E=J[7];let Q;if(J[8]!==Y)Q=W(k,{children:[E,F(v,{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(v,{color:"error",children:K}):Z?F(u,{children:Z}):W(k,{children:[F($,{frame:P,messageColor:"warning"}),F(v,{color:"warning",children:"Answering..."})]})}),J[10]=K,J[11]=P,J[12]=Z,J[13]=U;else U=J[13];let I;if(J[14]!==D||J[15]!==U)I=F(k,{marginTop:1,marginLeft:2,maxHeight:D,children:U}),J[14]=D,J[15]=U,J[16]=I;else I=J[16];let H;if(J[17]!==K||J[18]!==Z)H=(Z||K)&&F(k,{marginTop:1,children:W(v,{dimColor:!0,children:[p,"/",C," to scroll · Space, Enter, or Escape to dismiss"]})}),J[17]=K,J[18]=Z,J[19]=H;else H=J[19];let q;if(J[20]!==h||J[21]!==Q||J[22]!==I||J[23]!==H)q=W(k,{flexDirection:"column",paddingLeft:2,marginTop:1,tabIndex:0,autoFocus:!0,onKeyDown:h,children:[Q,I,H]}),J[20]=h,J[21]=Q,J[22]=I,J[23]=H,J[24]=q;else q=J[24];return q}function qJ(V){return V+1}function BJ(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(BJ(V.messages)),Y=l();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:i(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 S((G)=>({...G,btwUseCount:G.btwUseCount+1})),F(EJ,{question:z,context:J,onDone:V})}var n,N,wJ=5,LJ=6,_=3;var PJ=XJ(()=>{KJ();WJ();vJ();ZJ();TJ();IJ();DJ();QJ();AJ();NJ();UJ();FJ();YJ();kJ();hJ();bJ();HJ();d();n=R(GJ(),1),N=R(zJ(),1)});PJ();export{aJ as call};
@@ -0,0 +1,3 @@
1
+ import{fX as p,gX as f,hX as a,iX as S}from"./cli-0.7.5-wpgtmkvc.mjs";import{Bda as C,dda as d}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import{sha as m,tha as y,uha as b}from"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import{Pqa as g}from"./cli-0.7.5-012a6zfk.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 @@
1
+ import"./cli-0.7.5-012a6zfk.mjs";var g=()=>null,c=class{},q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},z=new Proxy(g,q),C=z,A=!0,B=null,D=new Proxy({},{get:()=>g}),E={parse:()=>({})},F=[],G=g,H=null,I=null,J=g,K=g,L={SUCCESS:0,FAILED:1},M=g,P=c,Q=c,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},u={active:g,with:(v,j)=>j()},w={OK:0,ERROR:1,UNSET:2},y="service.name",N="service.version",O="service.name",T="service.version",h={CUMULATIVE:0,DELTA:1},x={HISTOGRAM:0,SUM:1,GAUGE:2},d={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},f=c,m={};export{k as trace,M as resourceFromAttributes,K as plot,J as getSyntaxTheme,G as getMcpConfigForManifest,C as default,u as context,A as __stub,w as SpanStatusCode,Q as SimpleSpanProcessor,_ as SimpleLogRecordProcessor,m as SeverityNumber,B as SandboxViolationStore,E as SandboxRuntimeConfigSchema,D as SandboxManager,T as SEMRESATTRS_SERVICE_VERSION,O as SEMRESATTRS_SERVICE_NAME,P as Resource,f as PushMetricExporter,Y as PrometheusExporter,i as PeriodicExportingMetricReader,V as OTLPTraceExporter,X as OTLPMetricExporter,W as OTLPLogExporter,S as NodeTracerProvider,b as MeterProvider,Z as LoggerProvider,d as InstrumentType,L as ExportResultCode,x as DataPointType,I as ColorFile,H as ColorDiff,R as BatchSpanProcessor,$ as BatchLogRecordProcessor,U as BasicTracerProvider,F as BROWSER_TOOLS,h as AggregationTemporality,N as ATTR_SERVICE_VERSION,y as ATTR_SERVICE_NAME};
@@ -0,0 +1,21 @@
1
+ import{M1 as h,Q1 as zz}from"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-fzamc565.mjs";import{F5 as e,g5 as m}from"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import{Aea as y,Hea as s,Kea as v,Nea as r}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import{Iia as k,Lia as o}from"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import{epa as a,hla as b}from"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Pqa as n}from"./cli-0.7.5-012a6zfk.mjs";function Nz(J){if(!J)return"unknown";return J.replace(/-\d{4,}$/,"").replace(/-latest$/,"").replace(/-preview$/,"")}function Y(J,Q){return Q.split(".").reduce((X,O)=>X!=null?X[O]:void 0,J)}async function R(J,Q,X,O){let q=Date.now(),V;try{V=await fetch(J,{method:"POST",headers:Q,body:JSON.stringify(X)})}catch(B){return{label:O,status:0,elapsed:Date.now()-q,headers:{},usage:null,responseId:null,error:B.message}}let A=Date.now()-q,U={};if(V.headers.forEach((B,w)=>{U[w]=B}),!V.ok){let B=await V.text().catch(()=>"");return{label:O,status:V.status,elapsed:A,headers:U,usage:null,responseId:null,error:B}}let L=await V.text(),$=null,T=null,_=J.endsWith("/responses");for(let B of L.split(`
2
+
3
+ `)){let w=B.split(`
4
+ `).map((x)=>x.trim()).filter(Boolean);if(_){let x=w.find((z)=>z.startsWith("event: ")),j=w.filter((z)=>z.startsWith("data: "));if(!x||!j.length)continue;let C=x.slice(7).trim();if(C==="response.completed"||C==="response.incomplete")try{let z=JSON.parse(j.map((W)=>W.slice(6)).join(`
5
+ `));$=z?.response?.usage??null,T=z?.response?.id??null}catch{}}else for(let x of w){if(!x.startsWith("data: "))continue;let j=x.slice(6).trim();if(j==="[DONE]")continue;try{let C=JSON.parse(j);if(C.usage)$=C.usage,T=C.id??null}catch{}}}return{label:O,status:V.status,elapsed:A,headers:U,usage:$,responseId:T,error:null}}function S(J){let Q=[`--- ${J.label} ---`];if(J.error)return Q.push(` ERROR (HTTP ${J.status}): ${J.error.slice(0,200)}`),Q.join(`
6
+ `);if(Q.push(` HTTP ${J.status} — ${J.elapsed}ms`),J.responseId)Q.push(` response.id: ${J.responseId}`);if(J.usage)Q.push(" Usage:"),Q.push(` ${JSON.stringify(J.usage,null,2).replace(/\n/g,`
7
+ `)}`);else Q.push(" Usage: null");for(let X of["openai-processing-ms","x-ratelimit-remaining","x-ratelimit-limit","x-ms-region","x-github-request-id","x-request-id"])if(J.headers[X])Q.push(` ${X}: ${J.headers[X]}`);return Q.join(`
8
+ `)}var Jz,K,M='Say "hello" and nothing else.',g=3000,jz=async(J)=>{let Q=(J??"").trim().split(/\s+/).filter(Boolean),X=Q.includes("--no-key"),q=(Q.find((N)=>!N.startsWith("--"))||void 0)??m(),V=y({model:q}),A=v(),U=A?.transport==="github_copilot";if(U)h();let L=A?.apiKey??A?.extras?.githubToken??"";if(!L)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 $=V.transport==="codex_responses",T=$?"/responses":"/chat/completions",_=`${V.baseUrl}${T}`,B=Nz(V.resolvedModel),w=`${b()}:${B}`,x={"Content-Type":"application/json",Authorization:`Bearer ${L}`,originator:"claudin"};if(U)Object.assign(x,Jz);let j;if($)j={model:V.resolvedModel,instructions:K,input:[{type:"message",role:"user",content:[{type:"input_text",text:M}]}],stream:!0,...X?{}:{store:!1,prompt_cache_key:w,prompt_cache_retention:"24h"}};else j={model:V.resolvedModel,messages:[{role:"system",content:K},{role:"user",content:M}],stream:!0,stream_options:{include_usage:!0},max_tokens:20,...X?{}:{store:!1,prompt_cache_key:w}};let C=[`[cache-probe] Starting cache probe${X?" (--no-key: cache params OMITTED)":""}`,` model: ${V.resolvedModel} (family: ${B})`,` transport: ${V.transport}`,` endpoint: ${_}`,` prompt_cache_key: ${X?"NOT SENT":w}`,` store: ${X?"NOT SENT":"false"}`,` system prompt: ~${Math.round(K.length/4)} tokens`,` delay between calls: ${g}ms`].join(`
11
+ `);k(C);let z=await R(_,x,j,"CALL 1 — Cold (no cache)");if(k(`[cache-probe]
12
+ ${S(z)}`),z.error)return{type:"text",value:`Cache probe failed on first call: HTTP ${z.status}
13
+ ${z.error.slice(0,300)}
14
+
15
+ Full details in debug log.`};await new Promise((N)=>setTimeout(N,g));let W=await R(_,x,j,"CALL 2 — Warm (cache expected)");k(`[cache-probe]
16
+ ${S(W)}`);let c=["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"],Z=["[cache-probe] COMPARISON"];Z.push(` ${"Field".padEnd(42)} ${"Call 1".padStart(8)} ${"Call 2".padStart(8)} ${"Delta".padStart(8)}`),Z.push(` ${"-".repeat(72)}`);for(let N of c){let H=Y(z.usage,N),I=Y(W.usage,N);if(H===void 0&&I===void 0)continue;let i=typeof H==="number"&&typeof I==="number"?I-H:"";Z.push(` ${N.padEnd(42)} ${String(H??"-").padStart(8)} ${String(I??"-").padStart(8)} ${String(i).padStart(8)}`)}Z.push(""),Z.push(` Latency: ${z.elapsed}ms → ${W.elapsed}ms (${W.elapsed-z.elapsed>0?"+":""}${W.elapsed-z.elapsed}ms)`);for(let N of["openai-processing-ms","x-ms-region","x-ratelimit-remaining"]){let H=z.headers[N],I=W.headers[N];if(H||I)Z.push(` ${N}: ${H??"-"} → ${I??"-"}`)}let D=Y(W.usage,"input_tokens_details.cached_tokens")??Y(W.usage,"prompt_tokens_details.cached_tokens")??0,F=z.usage?.input_tokens??z.usage?.prompt_tokens??0,P=W.usage?.input_tokens??W.usage?.prompt_tokens??0,G;if(D>0){let N=P>0?Math.round(D/P*100):"?";G=`CACHE HIT: ${D} cached tokens (${N}% of input)`}else if(F===0&&P===0)G="INCONCLUSIVE: Server returns 0 input_tokens — cannot measure";else if(W.elapsed<z.elapsed*0.6&&F>100)G=`POSSIBLE SILENT CACHING: Call 2 was ${Math.round((1-W.elapsed/z.elapsed)*100)}% faster but no cached_tokens reported`;else G="NO CACHE DETECTED";Z.push(`
17
+ Verdict: ${G}`);function u(N){return{input_tokens:N?.input_tokens??0,output_tokens:N?.output_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:0}}function p(N){return{input_tokens:N?.prompt_tokens??0,output_tokens:N?.completion_tokens??0,cache_creation_input_tokens:0,cache_read_input_tokens:N?.prompt_tokens_details?.cached_tokens??0}}let f=$?u:p,d=f(z.usage),E=f(W.usage);if(Z.push(""),Z.push(` --- What main's shim reports (${$?"codexShim.makeUsage":"openaiShim.convertChunkUsage"}) ---`),Z.push(` Call 1: cache_read_input_tokens=${d.cache_read_input_tokens}`),Z.push(` Call 2: cache_read_input_tokens=${E.cache_read_input_tokens}`),$&&D>0)Z.push(` BUG: Server returned ${D} cached tokens but main's makeUsage() drops it → reports 0`);else if(!$&&E.cache_read_input_tokens>0)Z.push(" OK: Chat Completions path on main correctly reads cached_tokens");k(Z.join(`
18
+ `));let t=X?" (NO cache key sent)":"",l=$?"codexShim.makeUsage()":"openaiShim.convertChunkUsage()";return{type:"text",value:[`Cache Probe — ${V.resolvedModel} via ${$?"Responses API":"Chat Completions"}${t}`,"",`Call 1: ${z.elapsed}ms, input=${F}, cached=${Y(z.usage,"input_tokens_details.cached_tokens")??Y(z.usage,"prompt_tokens_details.cached_tokens")??0}`,`Call 2: ${W.elapsed}ms, input=${P}, cached=${D}`,"",G,"",`What main's ${l} reports:`,` Call 2 cache_read_input_tokens = ${E.cache_read_input_tokens}${$&&D>0?" ← BUG: server sent "+D+" but main drops it":""}`,"","Full details written to debug log."].join(`
19
+ `)}};var Qz=n(()=>{a();r();s();o();zz();e();Jz={"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"},K=["You are a coding assistant. Answer concisely.","CONTEXT: User is working on a TypeScript project with Bun runtime.",...Array.from({length:80},(J,Q)=>`Rule ${Q+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
+ `)});Qz();export{jz as call};
@@ -0,0 +1,4 @@
1
+ import{$1 as U,U1 as L,V1 as P,W1 as $,_1 as Q,a2 as V,b2 as j}from"./cli-0.7.5-g3ejs520.mjs";import{Pqa as Z}from"./cli-0.7.5-012a6zfk.mjs";function w(k,D){let G=new Date(k.timestamp).toISOString(),B=`${G.slice(0,10)} ${G.slice(11,19)}`,I=L(k.metrics);return` #${String(D+1).padStart(3)} ${B} ${k.label.padEnd(28).slice(0,28)} ${I}`}function K(k,D){return`${k.padEnd(18)}${P(D)}`}var v=20,O=async()=>{let k=V(),D=U(),G=Q();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(-v),I=k.length-B.length,q=["Cache stats",""];q.push(K("Current turn:",G)),q.push(K("Session total:",D)),q.push(""),q.push(`Recent requests (${B.length}${I>0?` of ${k.length}, ${I} older omitted`:""}):`),q.push(" # time model cache");for(let[J,Y]of B.entries())q.push(w(Y,k.length-B.length+J));if(B.some((J)=>!J.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 A=Z(()=>{j();$()});A();export{O as call};
@@ -0,0 +1 @@
1
+ import{Ag as b,zg as a}from"./cli-0.7.5-mtaq950q.mjs";import"./cli-0.7.5-s65rbrvj.mjs";import"./cli-0.7.5-tqwr1q73.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as clearSessionCaches};
@@ -0,0 +1 @@
1
+ import{Gaa as x,Jaa as A,Zea as X,d_ as V,e_ as W,f_ as J,ffa as H,n$ as k,s$ as N}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import{hja as b,nja as y}from"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-012a6zfk.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 h(){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{h as readClaudeDesktopMcpServers,F as getClaudeDesktopConfigPath};
@@ -0,0 +1 @@
1
+ import{$S as m,PS as a,QS as b,RS as c,SS as d,TS as e,US as f,VS as g,WS as h,XS as i,YS as j,ZS as k,_S as l,aT as n,bT as o,cT as p,dT as q,eT as r,fT as s,gT as t}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";t();export{b as stripHtmlComments,q as shouldShowClaudeMdExternalIncludesWarning,g as resetGetMemoryFilesCache,c as processMemoryFile,d as processMdRules,n as processConditionedMdRules,r as isMemoryFilePath,p as hasExternalClaudeMdIncludes,l as getMemoryFilesForNestedDirectory,e as getMemoryFiles,k as getManagedAndUserConditionalRules,h as getLargeMemoryFiles,o as getExternalClaudeMdIncludes,m as getConditionalRulesForCwdLevelDirectory,j as getClaudeMds,s as getAllMemoryFilePaths,i as filterInjectedMemoryFiles,f as clearMemoryFileCaches,a as MAX_MEMORY_CHARACTER_COUNT};
@@ -0,0 +1 @@
1
+ import{xg as a,yg as l}from"./cli-0.7.5-6mf5dxyw.mjs";import"./cli-0.7.5-mtaq950q.mjs";import"./cli-0.7.5-gh00zb08.mjs";import"./cli-0.7.5-s65rbrvj.mjs";import"./cli-0.7.5-tqwr1q73.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Pqa as t}from"./cli-0.7.5-012a6zfk.mjs";var n=async(e,o)=>{return await a(o),{type:"text",value:""}};var m=t(()=>{l()});m();export{n as call};
@@ -0,0 +1 @@
1
+ import{o1 as a,p1 as b,q1 as c}from"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-012a6zfk.mjs";c();export{a as getClearTerminalSequence,b as clearTerminal};
@@ -0,0 +1,2 @@
1
+ import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
+ export{z as Lqa,A as Mqa,B as Nqa,C as Oqa,D as Pqa,F as Qqa,G as Rqa,H as Sqa};
@@ -0,0 +1,2 @@
1
+ import{Bd as Z,Cd as _,Dd as $,Gd as O}from"./cli-0.7.5-eeb6rjs0.mjs";import{Qd as Y,Vd as x}from"./cli-0.7.5-wjpv5xmb.mjs";import{bL as U,gL as W,lL as S,mL as X,wL as V}from"./cli-0.7.5-1130jhj6.mjs";import{Iia as R,Lia as K}from"./cli-0.7.5-7h3tq3wc.mjs";import{gja as Q,nja as C}from"./cli-0.7.5-fzqampqh.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
2
+ export{F as Ma};
@@ -0,0 +1,2 @@
1
+ import{FF as O,HF as j,On as y,Pn as p}from"./cli-0.7.5-1130jhj6.mjs";import{UZ as F,WZ as I,_Z as R,z0 as v,zY as S}from"./cli-0.7.5-4mvg3dke.mjs";import{F2 as Z,G2 as N,H2 as U}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as d}from"./cli-0.7.5-1w5f2dfy.mjs";import{cca as M,pca as E}from"./cli-0.7.5-ghq2axmf.mjs";import{Fha as H,Iha as b}from"./cli-0.7.5-tbrfr6hj.mjs";import{Lqa as k}from"./cli-0.7.5-012a6zfk.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
+ export{x as Ua,l as Va};
@@ -0,0 +1,2 @@
1
+ import{Pqa as M}from"./cli-0.7.5-012a6zfk.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as ui,W as vi,X as wi,Z as xi,Y as yi};