@claudiolabs/claudio 0.1.9 → 0.1.11

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 (814) hide show
  1. package/bin/claudio +50 -1
  2. package/dist/chunks/AgentTool-0.1.11-m06x003m.mjs +1 -0
  3. package/dist/chunks/App-0.1.11-z60c27dk.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.1.11-dpm879x7.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.1.11-kb5jvw8n.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.1.11-dnqj2p8g.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.1.11-h71pmj5p.mjs +1 -0
  8. package/dist/chunks/ClaudeInChromeOnboarding-0.1.11-vjwzqejw.mjs +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.11-0wpjjdn9.mjs +1 -0
  10. package/dist/chunks/ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs +1 -0
  11. package/dist/chunks/DiffDialog-0.1.11-k3zsm9tz.mjs +3 -0
  12. package/dist/chunks/Doctor-0.1.11-958cxvhj.mjs +1 -0
  13. package/dist/chunks/Grove-0.1.11-93bnbcec.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.1.11-xbxm144g.mjs +1 -0
  15. package/dist/chunks/InProcessTransport-0.1.11-xecmx0sw.mjs +1 -0
  16. package/dist/chunks/InvalidConfigDialog-0.1.11-vbeef1wb.mjs +1 -0
  17. package/dist/chunks/InvalidSettingsDialog-0.1.11-5bct7bny.mjs +1 -0
  18. package/dist/chunks/MigrationDialog-0.1.11-13kfzmtt.mjs +1 -0
  19. package/dist/chunks/Onboarding-0.1.11-kz5hnpx3.mjs +1 -0
  20. package/dist/chunks/ProviderManager-0.1.11-nggswmdv.mjs +1 -0
  21. package/dist/chunks/REPL-0.1.11-ctxx4039.mjs +1 -0
  22. package/dist/chunks/ResumeConversation-0.1.11-gwxzn4yg.mjs +1 -0
  23. package/dist/chunks/SnapshotUpdateDialog-0.1.11-h881m192.mjs +1 -0
  24. package/dist/chunks/TeleportProgress-0.1.11-z1ez7pce.mjs +1 -0
  25. package/dist/chunks/TeleportRepoMismatchDialog-0.1.11-pjt2g9ss.mjs +1 -0
  26. package/dist/chunks/TeleportResumeWrapper-0.1.11-9y29zset.mjs +1 -0
  27. package/dist/chunks/TmuxBackend-0.1.11-5a4ddj92.mjs +9 -0
  28. package/dist/chunks/ToolSearchTool-0.1.11-w3cgae0s.mjs +1 -0
  29. package/dist/chunks/TrustDialog-0.1.11-3dsrj239.mjs +1 -0
  30. package/dist/chunks/activeProvider-0.1.11-qrn947by.mjs +1 -0
  31. package/dist/chunks/add-dir-0.1.11-9j7tq9gk.mjs +1 -0
  32. package/dist/chunks/agents-0.1.11-26pbss9x.mjs +3 -0
  33. package/dist/chunks/agents-0.1.11-m56gfjmy.mjs +111 -0
  34. package/dist/chunks/api-0.1.11-5ygenb1h.mjs +1 -0
  35. package/dist/chunks/asciicast-0.1.11-7mkaazy8.mjs +1 -0
  36. package/dist/chunks/assistant-0.1.11-5xbar4vv.mjs +1 -0
  37. package/dist/chunks/auth-0.1.11-2363mst5.mjs +1 -0
  38. package/dist/chunks/auth-0.1.11-p47wajra.mjs +1 -0
  39. package/dist/chunks/autoMode-0.1.11-nv8vsag0.mjs +48 -0
  40. package/dist/chunks/backgroundHousekeeping-0.1.11-fy6tykxe.mjs +1 -0
  41. package/dist/chunks/branch-0.1.11-aqhrj1x2.mjs +4 -0
  42. package/dist/chunks/bridgePointer-0.1.11-wr8dfs91.mjs +1 -0
  43. package/dist/chunks/btw-0.1.11-2kks7dfd.mjs +1 -0
  44. package/dist/chunks/buddy-0.1.11-gsj76spy.mjs +3 -0
  45. package/dist/chunks/cacache-0.1.11-wtz0ca19.mjs +1 -0
  46. package/dist/chunks/cache-probe-0.1.11-pgsemwpr.mjs +21 -0
  47. package/dist/chunks/cacheStats-0.1.11-1zqq6pm7.mjs +4 -0
  48. package/dist/chunks/caches-0.1.11-vewfnrya.mjs +1 -0
  49. package/dist/chunks/chrome-0.1.11-0g5459b5.mjs +1 -0
  50. package/dist/chunks/chromeNativeHost-0.1.11-m5kskzjw.mjs +2 -0
  51. package/dist/chunks/claude-for-chrome-mcp-0.1.11-h99xhv8j.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.1.11-zpdtj6k8.mjs +1 -0
  53. package/dist/chunks/claudemd-0.1.11-qrr22x5b.mjs +1 -0
  54. package/dist/chunks/clear-0.1.11-c93nbam7.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.1.11-pdrc3735.mjs +1 -0
  56. package/dist/chunks/cli-0.1.11-036me3yr.mjs +2 -0
  57. package/dist/chunks/cli-0.1.11-05g86mrk.mjs +2 -0
  58. package/dist/chunks/cli-0.1.11-05ngjm8p.mjs +2 -0
  59. package/dist/chunks/cli-0.1.11-0fshz0ak.mjs +2 -0
  60. package/dist/chunks/cli-0.1.11-0n77qn68.mjs +2 -0
  61. package/dist/chunks/cli-0.1.11-0qwee9gy.mjs +2 -0
  62. package/dist/chunks/cli-0.1.11-0tge574q.mjs +2 -0
  63. package/dist/chunks/cli-0.1.11-10nmrfsz.mjs +8 -0
  64. package/dist/chunks/cli-0.1.11-16086k9e.mjs +2 -0
  65. package/dist/chunks/cli-0.1.11-1b48xqbe.mjs +2 -0
  66. package/dist/chunks/cli-0.1.11-1bmswdg3.mjs +2 -0
  67. package/dist/chunks/cli-0.1.11-1bryv90w.mjs +2 -0
  68. package/dist/chunks/cli-0.1.11-1bxwxewq.mjs +833 -0
  69. package/dist/chunks/cli-0.1.11-1e6fgnts.mjs +3 -0
  70. package/dist/chunks/cli-0.1.11-1xr9et85.mjs +2 -0
  71. package/dist/chunks/cli-0.1.11-21epc92q.mjs +2 -0
  72. package/dist/chunks/cli-0.1.11-23qqxmk4.mjs +2 -0
  73. package/dist/chunks/cli-0.1.11-2w8d5vqb.mjs +2 -0
  74. package/dist/chunks/cli-0.1.11-2xf0g9qc.mjs +45 -0
  75. package/dist/chunks/cli-0.1.11-3f5dv6mt.mjs +2 -0
  76. package/dist/chunks/cli-0.1.11-3p2f194m.mjs +2 -0
  77. package/dist/chunks/cli-0.1.11-3tqzgd9f.mjs +2 -0
  78. package/dist/chunks/cli-0.1.11-424zgj5k.mjs +4 -0
  79. package/dist/chunks/cli-0.1.11-4bn5ap1n.mjs +2 -0
  80. package/dist/chunks/cli-0.1.11-4cdyzvxv.mjs +3 -0
  81. package/dist/chunks/cli-0.1.11-4ggr81tw.mjs +2 -0
  82. package/dist/chunks/cli-0.1.11-4px8nt5r.mjs +2 -0
  83. package/dist/chunks/cli-0.1.11-4xsg15d1.mjs +2 -0
  84. package/dist/chunks/cli-0.1.11-50naxqgt.mjs +2 -0
  85. package/dist/chunks/cli-0.1.11-56bdg2vw.mjs +3 -0
  86. package/dist/chunks/cli-0.1.11-56p41bk3.mjs +2 -0
  87. package/dist/chunks/cli-0.1.11-5e45zda5.mjs +2 -0
  88. package/dist/chunks/cli-0.1.11-5hrysrcd.mjs +2 -0
  89. package/dist/chunks/cli-0.1.11-5hs4xyjq.mjs +2 -0
  90. package/dist/chunks/cli-0.1.11-5vqj6k7m.mjs +2 -0
  91. package/dist/chunks/cli-0.1.11-5zqfr92n.mjs +2 -0
  92. package/dist/chunks/cli-0.1.11-6r97rwda.mjs +2 -0
  93. package/dist/chunks/cli-0.1.11-6vqzqsdj.mjs +3 -0
  94. package/dist/chunks/cli-0.1.11-6zkfmcxp.mjs +2 -0
  95. package/dist/chunks/cli-0.1.11-70f778wy.mjs +2 -0
  96. package/dist/chunks/cli-0.1.11-71ewwy7m.mjs +50 -0
  97. package/dist/chunks/cli-0.1.11-7238rfy8.mjs +2 -0
  98. package/dist/chunks/cli-0.1.11-7mmhsc3x.mjs +2 -0
  99. package/dist/chunks/cli-0.1.11-7qpnfx56.mjs +2 -0
  100. package/dist/chunks/cli-0.1.11-7t04gqx2.mjs +3 -0
  101. package/dist/chunks/cli-0.1.11-7tybqg56.mjs +2 -0
  102. package/dist/chunks/cli-0.1.11-7vz357wm.mjs +58 -0
  103. package/dist/chunks/cli-0.1.11-7xr2ermy.mjs +2 -0
  104. package/dist/chunks/cli-0.1.11-84j34n0s.mjs +2 -0
  105. package/dist/chunks/cli-0.1.11-852v06g0.mjs +2 -0
  106. package/dist/chunks/cli-0.1.11-8qrhqvh5.mjs +2 -0
  107. package/dist/chunks/cli-0.1.11-91mf8dfr.mjs +2 -0
  108. package/dist/chunks/cli-0.1.11-96y2d09c.mjs +2 -0
  109. package/dist/chunks/cli-0.1.11-98zcwng9.mjs +2 -0
  110. package/dist/chunks/cli-0.1.11-anegs86e.mjs +7 -0
  111. package/dist/chunks/cli-0.1.11-anvzywg4.mjs +5 -0
  112. package/dist/chunks/cli-0.1.11-at3c85af.mjs +2 -0
  113. package/dist/chunks/cli-0.1.11-b0jasw23.mjs +9 -0
  114. package/dist/chunks/cli-0.1.11-bbx2h4x9.mjs +2 -0
  115. package/dist/chunks/cli-0.1.11-be28ty4m.mjs +2 -0
  116. package/dist/chunks/cli-0.1.11-bhqwqe2w.mjs +2 -0
  117. package/dist/chunks/cli-0.1.11-bqpcwywz.mjs +4 -0
  118. package/dist/chunks/cli-0.1.11-btayz9zj.mjs +2 -0
  119. package/dist/chunks/cli-0.1.11-bvd2r7an.mjs +252 -0
  120. package/dist/chunks/cli-0.1.11-bwn9ehxv.mjs +2 -0
  121. package/dist/chunks/cli-0.1.11-bwpemkht.mjs +2 -0
  122. package/dist/chunks/cli-0.1.11-cdpswj0n.mjs +2 -0
  123. package/dist/chunks/cli-0.1.11-cezypfbt.mjs +2 -0
  124. package/dist/chunks/cli-0.1.11-cf049e4w.mjs +134 -0
  125. package/dist/chunks/cli-0.1.11-chnrb9xx.mjs +10 -0
  126. package/dist/chunks/cli-0.1.11-ctjvkg5k.mjs +2 -0
  127. package/dist/chunks/cli-0.1.11-cw0ss3jw.mjs +4 -0
  128. package/dist/chunks/cli-0.1.11-cwptjaf7.mjs +12 -0
  129. package/dist/chunks/cli-0.1.11-d10nfa6g.mjs +11 -0
  130. package/dist/chunks/cli-0.1.11-d3exw047.mjs +2 -0
  131. package/dist/chunks/cli-0.1.11-d4ahh3jz.mjs +2 -0
  132. package/dist/chunks/cli-0.1.11-da6szcvw.mjs +2 -0
  133. package/dist/chunks/cli-0.1.11-dcswnc8x.mjs +24 -0
  134. package/dist/chunks/cli-0.1.11-dpfxvfty.mjs +2 -0
  135. package/dist/chunks/cli-0.1.11-e5ecf583.mjs +2 -0
  136. package/dist/chunks/cli-0.1.11-e66dak4h.mjs +4 -0
  137. package/dist/chunks/cli-0.1.11-e7gjxknm.mjs +16 -0
  138. package/dist/chunks/cli-0.1.11-egck69w4.mjs +2 -0
  139. package/dist/chunks/cli-0.1.11-eh7tjdab.mjs +18 -0
  140. package/dist/chunks/cli-0.1.11-ek6mck0j.mjs +2 -0
  141. package/dist/chunks/cli-0.1.11-emw2wfff.mjs +3 -0
  142. package/dist/chunks/cli-0.1.11-fag2wtke.mjs +2 -0
  143. package/dist/chunks/cli-0.1.11-fptq9w4t.mjs +2 -0
  144. package/dist/chunks/cli-0.1.11-fs3d0ajf.mjs +2 -0
  145. package/dist/chunks/cli-0.1.11-fstfs72j.mjs +2 -0
  146. package/dist/chunks/cli-0.1.11-ft47r1wq.mjs +2 -0
  147. package/dist/chunks/cli-0.1.11-fveg0t77.mjs +22 -0
  148. package/dist/chunks/cli-0.1.11-fx6ztxrs.mjs +5 -0
  149. package/dist/chunks/cli-0.1.11-g2202evh.mjs +2 -0
  150. package/dist/chunks/cli-0.1.11-g33qp0jz.mjs +2 -0
  151. package/dist/chunks/cli-0.1.11-gc069ne7.mjs +2 -0
  152. package/dist/chunks/cli-0.1.11-gdcvfp9f.mjs +2 -0
  153. package/dist/chunks/cli-0.1.11-ggrme14p.mjs +2 -0
  154. package/dist/chunks/cli-0.1.11-h02tyg8p.mjs +2 -0
  155. package/dist/chunks/cli-0.1.11-h2hxx8ma.mjs +12 -0
  156. package/dist/chunks/cli-0.1.11-h3jatwe1.mjs +2 -0
  157. package/dist/chunks/cli-0.1.11-h762f6hr.mjs +2 -0
  158. package/dist/chunks/cli-0.1.11-h7e4rkwk.mjs +31 -0
  159. package/dist/chunks/cli-0.1.11-h7phna9g.mjs +2 -0
  160. package/dist/chunks/cli-0.1.11-hgsa4nnp.mjs +2 -0
  161. package/dist/chunks/cli-0.1.11-hhs8ke9g.mjs +2 -0
  162. package/dist/chunks/cli-0.1.11-hmfevmz1.mjs +4 -0
  163. package/dist/chunks/cli-0.1.11-hrn726gf.mjs +2 -0
  164. package/dist/chunks/cli-0.1.11-hzezqkew.mjs +2 -0
  165. package/dist/chunks/cli-0.1.11-jj3s3dxd.mjs +15 -0
  166. package/dist/chunks/cli-0.1.11-jjgjkqqv.mjs +2 -0
  167. package/dist/chunks/cli-0.1.11-jkrt4znb.mjs +11 -0
  168. package/dist/chunks/cli-0.1.11-jne21ka1.mjs +2 -0
  169. package/dist/chunks/cli-0.1.11-jr50ahcv.mjs +3 -0
  170. package/dist/chunks/cli-0.1.11-jye250b3.mjs +2 -0
  171. package/dist/chunks/cli-0.1.11-kghg51gb.mjs +6 -0
  172. package/dist/chunks/cli-0.1.11-kk0qqs5v.mjs +7 -0
  173. package/dist/chunks/cli-0.1.11-kndj4a86.mjs +2 -0
  174. package/dist/chunks/cli-0.1.11-kthpxpj3.mjs +24 -0
  175. package/dist/chunks/cli-0.1.11-ktwtyqmp.mjs +2 -0
  176. package/dist/chunks/cli-0.1.11-m0aaey0g.mjs +4 -0
  177. package/dist/chunks/cli-0.1.11-m1dpnkp0.mjs +2 -0
  178. package/dist/chunks/cli-0.1.11-mj78w4sp.mjs +2 -0
  179. package/dist/chunks/cli-0.1.11-mr356stf.mjs +2 -0
  180. package/dist/chunks/cli-0.1.11-mstxxz33.mjs +2 -0
  181. package/dist/chunks/cli-0.1.11-n23d2wej.mjs +2 -0
  182. package/dist/chunks/cli-0.1.11-n24p2y0p.mjs +2 -0
  183. package/dist/chunks/cli-0.1.11-na9tsy21.mjs +2 -0
  184. package/dist/chunks/cli-0.1.11-nesh7dep.mjs +2 -0
  185. package/dist/chunks/cli-0.1.11-nhjbgc7t.mjs +2 -0
  186. package/dist/chunks/cli-0.1.11-nhwmv5g6.mjs +4 -0
  187. package/dist/chunks/cli-0.1.11-nx8a99hz.mjs +4 -0
  188. package/dist/chunks/cli-0.1.11-p22bdjhv.mjs +2 -0
  189. package/dist/chunks/cli-0.1.11-p4eeg584.mjs +5 -0
  190. package/dist/chunks/cli-0.1.11-pfgwwtw9.mjs +2 -0
  191. package/dist/chunks/cli-0.1.11-pr9jdfxt.mjs +3 -0
  192. package/dist/chunks/cli-0.1.11-q58q9jqr.mjs +2 -0
  193. package/dist/chunks/cli-0.1.11-q89t0xzx.mjs +2 -0
  194. package/dist/chunks/cli-0.1.11-qbcfg80y.mjs +16 -0
  195. package/dist/chunks/cli-0.1.11-qheffjft.mjs +2 -0
  196. package/dist/chunks/cli-0.1.11-qpzn4q17.mjs +15 -0
  197. package/dist/chunks/cli-0.1.11-qrq0sw0h.mjs +2 -0
  198. package/dist/chunks/cli-0.1.11-r990p54m.mjs +100 -0
  199. package/dist/chunks/cli-0.1.11-rj68n2kw.mjs +2 -0
  200. package/dist/chunks/cli-0.1.11-rj9ea3zn.mjs +2 -0
  201. package/dist/chunks/cli-0.1.11-rmyvg4yw.mjs +2 -0
  202. package/dist/chunks/cli-0.1.11-rrnr3ab1.mjs +2 -0
  203. package/dist/chunks/cli-0.1.11-rvk3t45h.mjs +2 -0
  204. package/dist/chunks/cli-0.1.11-s6yfjcm5.mjs +6 -0
  205. package/dist/chunks/cli-0.1.11-s8ygndzf.mjs +5036 -0
  206. package/dist/chunks/cli-0.1.11-sma2xhvv.mjs +2 -0
  207. package/dist/chunks/cli-0.1.11-sqqzwx4h.mjs +132 -0
  208. package/dist/chunks/cli-0.1.11-t07hba0z.mjs +2 -0
  209. package/dist/chunks/cli-0.1.11-t7dc7fbj.mjs +2 -0
  210. package/dist/chunks/cli-0.1.11-ta77hm2b.mjs +2 -0
  211. package/dist/chunks/cli-0.1.11-trcf78n1.mjs +2 -0
  212. package/dist/chunks/cli-0.1.11-tvfkn5mh.mjs +2 -0
  213. package/dist/chunks/cli-0.1.11-tyh8gms9.mjs +2 -0
  214. package/dist/chunks/cli-0.1.11-v2s8ey1n.mjs +12 -0
  215. package/dist/chunks/cli-0.1.11-v6kwgrqc.mjs +2 -0
  216. package/dist/chunks/cli-0.1.11-v7bwjqf0.mjs +192 -0
  217. package/dist/chunks/cli-0.1.11-v8j5bkfs.mjs +2 -0
  218. package/dist/chunks/cli-0.1.11-vb5f7c3a.mjs +2 -0
  219. package/dist/chunks/cli-0.1.11-vch8cn95.mjs +2 -0
  220. package/dist/chunks/cli-0.1.11-vq5fvf9m.mjs +44 -0
  221. package/dist/chunks/cli-0.1.11-vzet5m4y.mjs +2 -0
  222. package/dist/chunks/cli-0.1.11-w3fp9par.mjs +39 -0
  223. package/dist/chunks/cli-0.1.11-w3trj52p.mjs +21 -0
  224. package/dist/chunks/cli-0.1.11-w3ydpv9v.mjs +2 -0
  225. package/dist/chunks/cli-0.1.11-wc9bay3d.mjs +34 -0
  226. package/dist/chunks/cli-0.1.11-weav8142.mjs +2 -0
  227. package/dist/chunks/cli-0.1.11-wjxhn7j5.mjs +2 -0
  228. package/dist/chunks/cli-0.1.11-x37jysc0.mjs +14 -0
  229. package/dist/chunks/cli-0.1.11-x5nvafch.mjs +2 -0
  230. package/dist/chunks/cli-0.1.11-xhrk5hr0.mjs +2 -0
  231. package/dist/chunks/cli-0.1.11-xp93fxnp.mjs +2 -0
  232. package/dist/chunks/cli-0.1.11-xwj7cmkj.mjs +2 -0
  233. package/dist/chunks/cli-0.1.11-y4c6y87y.mjs +2 -0
  234. package/dist/chunks/cli-0.1.11-y909w8bb.mjs +2 -0
  235. package/dist/chunks/cli-0.1.11-yd6f29v2.mjs +2 -0
  236. package/dist/chunks/cli-0.1.11-yhk2y3c0.mjs +2 -0
  237. package/dist/chunks/cli-0.1.11-yrfxpjhr.mjs +2 -0
  238. package/dist/chunks/cli-0.1.11-yv5pfq6n.mjs +2 -0
  239. package/dist/chunks/cli-0.1.11-yvnhbsfn.mjs +3 -0
  240. package/dist/chunks/cli-0.1.11-z0thk4h0.mjs +2 -0
  241. package/dist/chunks/cli-0.1.11-z4hb2mcd.mjs +2 -0
  242. package/dist/chunks/cli-0.1.11-z62s8qx1.mjs +2 -0
  243. package/dist/chunks/cli-0.1.11-zb2sa3e2.mjs +13 -0
  244. package/dist/chunks/cli-0.1.11-zdyddegg.mjs +2 -0
  245. package/dist/chunks/cli-0.1.11-zfnmx1ny.mjs +2 -0
  246. package/dist/chunks/cli-0.1.11-zwkjaj0d.mjs +2 -0
  247. package/dist/chunks/client-0.1.11-h38k7vkj.mjs +1 -0
  248. package/dist/chunks/color-0.1.11-b7favzc8.mjs +1 -0
  249. package/dist/chunks/compact-0.1.11-damm234b.mjs +3 -0
  250. package/dist/chunks/config-0.1.11-bb6v0pwv.mjs +1 -0
  251. package/dist/chunks/config-0.1.11-cqy7fnab.mjs +1 -0
  252. package/dist/chunks/context-0.1.11-e2s56h3b.mjs +1 -0
  253. package/dist/chunks/context-noninteractive-0.1.11-s6b9q91h.mjs +1 -0
  254. package/dist/chunks/conversation-0.1.11-d8ejy4b9.mjs +1 -0
  255. package/dist/chunks/copy-0.1.11-aq32vn1b.mjs +9 -0
  256. package/dist/chunks/cost-0.1.11-3z9y6a5a.mjs +1 -0
  257. package/dist/chunks/createSession-0.1.11-rgaw7n2v.mjs +1 -0
  258. package/dist/chunks/desktop-0.1.11-k8ac4bfx.mjs +1 -0
  259. package/dist/chunks/detectRepository-0.1.11-m3chgqa1.mjs +1 -0
  260. package/dist/chunks/detection-0.1.11-aa9k5rxv.mjs +1 -0
  261. package/dist/chunks/devtools-0.1.11-fkz4akhx.mjs +1 -0
  262. package/dist/chunks/diff-0.1.11-tcqh42f6.mjs +1 -0
  263. package/dist/chunks/doctor-0.1.11-6fwwz8hp.mjs +1 -0
  264. package/dist/chunks/earlyInput-0.1.11-94asnfvh.mjs +1 -0
  265. package/dist/chunks/effort-0.1.11-zcxskzrb.mjs +8 -0
  266. package/dist/chunks/environmentSelection-0.1.11-6ngvrt1m.mjs +1 -0
  267. package/dist/chunks/environments-0.1.11-pdsv6dgq.mjs +1 -0
  268. package/dist/chunks/exit-0.1.11-2jab9tfm.mjs +1 -0
  269. package/dist/chunks/export-0.1.11-wv5bd05w.mjs +2 -0
  270. package/dist/chunks/extra-usage-0.1.11-f5rm0265.mjs +1 -0
  271. package/dist/chunks/extra-usage-noninteractive-0.1.11-dt7znwbn.mjs +1 -0
  272. package/dist/chunks/fast-0.1.11-a665n9kz.mjs +1 -0
  273. package/dist/chunks/feedback-0.1.11-q77qty87.mjs +14 -0
  274. package/dist/chunks/firstPartyEventLogger-0.1.11-y7qkhdj6.mjs +1 -0
  275. package/dist/chunks/git-0.1.11-g77ppr52.mjs +1 -0
  276. package/dist/chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs +1 -0
  277. package/dist/chunks/growthbook-0.1.11-2w2b1mzd.mjs +1 -0
  278. package/dist/chunks/heapdump-0.1.11-b216wzt7.mjs +6 -0
  279. package/dist/chunks/help-0.1.11-byp88gen.mjs +1 -0
  280. package/dist/chunks/hookChains-0.1.11-jp8f82q7.mjs +3 -0
  281. package/dist/chunks/hooks-0.1.11-v9jan2ss.mjs +1 -0
  282. package/dist/chunks/hooks-0.1.11-vf6vcsgg.mjs +79 -0
  283. package/dist/chunks/ide-0.1.11-7nxbd03r.mjs +3 -0
  284. package/dist/chunks/image-processor-napi-0.1.11-dpg3ygnw.mjs +1 -0
  285. package/dist/chunks/index-0.1.11-3dfjfmc6.mjs +1 -0
  286. package/dist/chunks/index-0.1.11-82wnmfq3.mjs +9 -0
  287. package/dist/chunks/index-0.1.11-8gtaa17w.mjs +1 -0
  288. package/dist/chunks/index-0.1.11-ajdpkanw.mjs +1 -0
  289. package/dist/chunks/index-0.1.11-b2q967nq.mjs +30 -0
  290. package/dist/chunks/index-0.1.11-bhrstsgc.mjs +1 -0
  291. package/dist/chunks/index-0.1.11-d6qbzwah.mjs +1 -0
  292. package/dist/chunks/index-0.1.11-d9ft1b0s.mjs +1 -0
  293. package/dist/chunks/index-0.1.11-e52dzxjz.mjs +5 -0
  294. package/dist/chunks/index-0.1.11-gb3saayk.mjs +2 -0
  295. package/dist/chunks/index-0.1.11-kksxmkwe.mjs +1 -0
  296. package/dist/chunks/index-0.1.11-n564rmwy.mjs +1 -0
  297. package/dist/chunks/index-0.1.11-n90nxjqp.mjs +1 -0
  298. package/dist/chunks/index-0.1.11-p0j3w83p.mjs +1 -0
  299. package/dist/chunks/index-0.1.11-pmkgntay.mjs +7 -0
  300. package/dist/chunks/index-0.1.11-qspcw49p.mjs +1 -0
  301. package/dist/chunks/index-0.1.11-r6p77pf7.mjs +1 -0
  302. package/dist/chunks/index-0.1.11-s0w8xy7q.mjs +9 -0
  303. package/dist/chunks/index-0.1.11-wbhj1ny7.mjs +1 -0
  304. package/dist/chunks/index-0.1.11-wze82293.mjs +1 -0
  305. package/dist/chunks/index-0.1.11-xs4mng75.mjs +1 -0
  306. package/dist/chunks/index-0.1.11-yej3awws.mjs +2 -0
  307. package/dist/chunks/initReplBridge-0.1.11-71963wyw.mjs +1 -0
  308. package/dist/chunks/ink-0.1.11-tzp2q9bd.mjs +1 -0
  309. package/dist/chunks/insights-0.1.11-4yjg2bxs.mjs +870 -0
  310. package/dist/chunks/install-0.1.11-4zfvr6pk.mjs +1 -0
  311. package/dist/chunks/install-github-app-0.1.11-frqzdwsz.mjs +149 -0
  312. package/dist/chunks/install-slack-app-0.1.11-0yyjjvrw.mjs +1 -0
  313. package/dist/chunks/instrumentation-0.1.11-zyp2r390.mjs +12 -0
  314. package/dist/chunks/interactiveHelpers-0.1.11-chnsxp26.mjs +1 -0
  315. package/dist/chunks/keybindings-0.1.11-r2jke9h5.mjs +2 -0
  316. package/dist/chunks/knowledge-0.1.11-wpjw8ybd.mjs +2 -0
  317. package/dist/chunks/loadAgentsDir-0.1.11-bwymseqa.mjs +1 -0
  318. package/dist/chunks/loadPluginHooks-0.1.11-npf49gc4.mjs +1 -0
  319. package/dist/chunks/logout-0.1.11-48ynp610.mjs +1 -0
  320. package/dist/chunks/lsp-0.1.11-e4z6m5t5.mjs +1 -0
  321. package/dist/chunks/main-0.1.11-6sh6xycv.mjs +1 -0
  322. package/dist/chunks/managedEnv-0.1.11-6bnnpsm0.mjs +1 -0
  323. package/dist/chunks/mcp-0.1.11-vjjx8eer.mjs +17 -0
  324. package/dist/chunks/mcp-0.1.11-zf74a6am.mjs +4 -0
  325. package/dist/chunks/mcp-0.1.11-zw22jjqc.mjs +1 -0
  326. package/dist/chunks/mcpServer-0.1.11-czg51mvy.mjs +1 -0
  327. package/dist/chunks/mcpb-0.1.11-czkze48a.mjs +1 -0
  328. package/dist/chunks/memory-0.1.11-k7y98zqn.mjs +3 -0
  329. package/dist/chunks/mobile-0.1.11-2w5py2cb.mjs +2 -0
  330. package/dist/chunks/model-0.1.11-4v166f98.mjs +2 -0
  331. package/dist/chunks/model-0.1.11-qekc9c4w.mjs +1 -0
  332. package/dist/chunks/oauth-0.1.11-jkkd9wzq.mjs +1 -0
  333. package/dist/chunks/openaiShim-0.1.11-b9yqnc9c.mjs +14 -0
  334. package/dist/chunks/output-style-0.1.11-zwxn1knb.mjs +1 -0
  335. package/dist/chunks/package-HMBVQOZ4-0.1.11-n77wqhxr.mjs +1 -0
  336. package/dist/chunks/parser-0.1.11-vvhz2p5h.mjs +1 -0
  337. package/dist/chunks/passes-0.1.11-dgshr9c4.mjs +1 -0
  338. package/dist/chunks/permissions-0.1.11-71fn7rsk.mjs +3 -0
  339. package/dist/chunks/plan-0.1.11-1xyzxjgr.mjs +1 -0
  340. package/dist/chunks/plist-0.1.11-0sn6nqv3.mjs +1 -0
  341. package/dist/chunks/plugin-0.1.11-menj210d.mjs +29 -0
  342. package/dist/chunks/pluginStartupCheck-0.1.11-ytjn1kxg.mjs +1 -0
  343. package/dist/chunks/plugins-0.1.11-t3pgcpcj.mjs +9 -0
  344. package/dist/chunks/print-0.1.11-y9vz77h9.mjs +57 -0
  345. package/dist/chunks/privacy-settings-0.1.11-3ah0v02p.mjs +1 -0
  346. package/dist/chunks/process-0.1.11-s6jnx5xw.mjs +1 -0
  347. package/dist/chunks/processBashCommand-0.1.11-txp79ekj.mjs +1 -0
  348. package/dist/chunks/processSlashCommand-0.1.11-fdvs7etd.mjs +9 -0
  349. package/dist/chunks/prompt-0.1.11-4f7rsvd2.mjs +1 -0
  350. package/dist/chunks/prompt-0.1.11-bzkv3rsd.mjs +1 -0
  351. package/dist/chunks/prompts-0.1.11-xczb1nwa.mjs +1 -0
  352. package/dist/chunks/provider-0.1.11-cqeqqqbt.mjs +2 -0
  353. package/dist/chunks/providerProfiles-0.1.11-ewn8w0f1.mjs +1 -0
  354. package/dist/chunks/rate-limit-options-0.1.11-6bca3g5n.mjs +1 -0
  355. package/dist/chunks/registry-0.1.11-wjnpx9yf.mjs +1 -0
  356. package/dist/chunks/release-notes-0.1.11-dhe37z3c.mjs +5 -0
  357. package/dist/chunks/reload-plugins-0.1.11-gzep3pg3.mjs +2 -0
  358. package/dist/chunks/remote-env-0.1.11-yday97nq.mjs +1 -0
  359. package/dist/chunks/remoteBridgeCore-0.1.11-hn821p07.mjs +1 -0
  360. package/dist/chunks/remoteSession-0.1.11-g3h440pv.mjs +1 -0
  361. package/dist/chunks/rename-0.1.11-ke9btph2.mjs +1 -0
  362. package/dist/chunks/replBridgeHandle-0.1.11-t5njc196.mjs +1 -0
  363. package/dist/chunks/resume-0.1.11-d4bbgty9.mjs +2 -0
  364. package/dist/chunks/rewind-0.1.11-t4mfk815.mjs +1 -0
  365. package/dist/chunks/sandbox-adapter-0.1.11-3czn1nws.mjs +1 -0
  366. package/dist/chunks/sandbox-toggle-0.1.11-qxv2w9n1.mjs +1 -0
  367. package/dist/chunks/session-0.1.11-2z972raf.mjs +2 -0
  368. package/dist/chunks/sessionFileAccessHooks-0.1.11-f3exnspr.mjs +1 -0
  369. package/dist/chunks/sessionStorage-0.1.11-aa2ftdjn.mjs +1 -0
  370. package/dist/chunks/setup-0.1.11-epmpszzf.mjs +5 -0
  371. package/dist/chunks/sinks-0.1.11-q3zcj5me.mjs +1 -0
  372. package/dist/chunks/skills-0.1.11-9xbyp1p5.mjs +1 -0
  373. package/dist/chunks/startupProfiler-0.1.11-5s07826j.mjs +1 -0
  374. package/dist/chunks/state-0.1.11-3fjxywyv.mjs +1 -0
  375. package/dist/chunks/stats-0.1.11-hxzms6gg.mjs +6 -0
  376. package/dist/chunks/status-0.1.11-drvp15n8.mjs +1 -0
  377. package/dist/chunks/stickers-0.1.11-44f4tawn.mjs +1 -0
  378. package/dist/chunks/subprocessEnv-0.1.11-5w00fpez.mjs +1 -0
  379. package/dist/chunks/tasks-0.1.11-dn8h18fk.mjs +1 -0
  380. package/dist/chunks/teamHelpers-0.1.11-ca7kref8.mjs +1 -0
  381. package/dist/chunks/teammateModeSnapshot-0.1.11-an88rdgv.mjs +1 -0
  382. package/dist/chunks/teleport-0.1.11-8e3k0ex6.mjs +1 -0
  383. package/dist/chunks/terminalSetup-0.1.11-gtdwp0an.mjs +1 -0
  384. package/dist/chunks/theme-0.1.11-p447kczd.mjs +1 -0
  385. package/dist/chunks/thinkback-0.1.11-3f1xvkt5.mjs +1 -0
  386. package/dist/chunks/thinkback-play-0.1.11-0ax4h089.mjs +1 -0
  387. package/dist/chunks/toolPool-0.1.11-xrywy61j.mjs +1 -0
  388. package/dist/chunks/toolSearch-0.1.11-7yjvjxhp.mjs +1 -0
  389. package/dist/chunks/trustedDevice-0.1.11-070f1wch.mjs +1 -0
  390. package/dist/chunks/turndown.cjs-0.1.11-brwqmyse.mjs +69 -0
  391. package/dist/chunks/ultrareviewCommand-0.1.11-0m9b3kr5.mjs +4 -0
  392. package/dist/chunks/update-0.1.11-p33kxpg4.mjs +94 -0
  393. package/dist/chunks/upgrade-0.1.11-1aj14cqt.mjs +1 -0
  394. package/dist/chunks/upstreamproxy-0.1.11-vk16qw88.mjs +14 -0
  395. package/dist/chunks/usage-0.1.11-hch4v5jb.mjs +1 -0
  396. package/dist/chunks/util-0.1.11-sjkxad5k.mjs +1 -0
  397. package/dist/chunks/utils-0.1.11-2bk8zn4g.mjs +1 -0
  398. package/dist/chunks/vim-0.1.11-v1rz1d56.mjs +1 -0
  399. package/dist/chunks/watcher-0.1.11-v8mkv1xy.mjs +1 -0
  400. package/dist/chunks/wiki-0.1.11-v0twhcnn.mjs +132 -0
  401. package/dist/chunks/worktree-0.1.11-d7chpamf.mjs +1 -0
  402. package/dist/chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs +1 -0
  403. package/dist/chunks/wrapper-0.1.11-rt9xsnjh.mjs +7 -0
  404. package/dist/claudio-vscode.vsix +0 -0
  405. package/dist/cli.mjs +6 -6
  406. package/package.json +1 -1
  407. package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +0 -1
  408. package/dist/chunks/App-0.1.9-7ttp2eny.mjs +0 -1
  409. package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +0 -1
  410. package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +0 -1
  411. package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +0 -1
  412. package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +0 -1
  413. package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +0 -1
  414. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +0 -1
  415. package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +0 -1
  416. package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +0 -3
  417. package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +0 -1
  418. package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +0 -1
  419. package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +0 -1
  420. package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +0 -1
  421. package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +0 -1
  422. package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +0 -1
  423. package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +0 -1
  424. package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +0 -1
  425. package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +0 -1
  426. package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +0 -1
  427. package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +0 -1
  428. package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +0 -1
  429. package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +0 -1
  430. package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +0 -1
  431. package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +0 -1
  432. package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +0 -1
  433. package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +0 -9
  434. package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +0 -1
  435. package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +0 -1
  436. package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +0 -1
  437. package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +0 -1
  438. package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +0 -111
  439. package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +0 -3
  440. package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +0 -1
  441. package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +0 -1
  442. package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +0 -1
  443. package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +0 -1
  444. package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +0 -1
  445. package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +0 -48
  446. package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +0 -1
  447. package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +0 -4
  448. package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +0 -1
  449. package/dist/chunks/btw-0.1.9-g55x31zp.mjs +0 -1
  450. package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +0 -3
  451. package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +0 -1
  452. package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +0 -21
  453. package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +0 -4
  454. package/dist/chunks/caches-0.1.9-d6cndrra.mjs +0 -1
  455. package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +0 -1
  456. package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +0 -2
  457. package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +0 -1
  458. package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +0 -1
  459. package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +0 -1
  460. package/dist/chunks/clear-0.1.9-tb8x7676.mjs +0 -1
  461. package/dist/chunks/cli-0.1.9-001s9kxw.mjs +0 -24
  462. package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +0 -39
  463. package/dist/chunks/cli-0.1.9-04ez73f7.mjs +0 -5084
  464. package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +0 -31
  465. package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +0 -3
  466. package/dist/chunks/cli-0.1.9-0j8n671q.mjs +0 -2
  467. package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +0 -2
  468. package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +0 -2
  469. package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +0 -2
  470. package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +0 -2
  471. package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +0 -2
  472. package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +0 -3
  473. package/dist/chunks/cli-0.1.9-263y2rkc.mjs +0 -3
  474. package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +0 -15
  475. package/dist/chunks/cli-0.1.9-2prq7peb.mjs +0 -2
  476. package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +0 -2
  477. package/dist/chunks/cli-0.1.9-2thp2z73.mjs +0 -2
  478. package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +0 -2
  479. package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +0 -7
  480. package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +0 -6
  481. package/dist/chunks/cli-0.1.9-38zb09vp.mjs +0 -2
  482. package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +0 -15
  483. package/dist/chunks/cli-0.1.9-3h4serkj.mjs +0 -58
  484. package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +0 -2
  485. package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +0 -34
  486. package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +0 -2
  487. package/dist/chunks/cli-0.1.9-3y36913h.mjs +0 -10
  488. package/dist/chunks/cli-0.1.9-3yscrq86.mjs +0 -833
  489. package/dist/chunks/cli-0.1.9-45ggwszg.mjs +0 -2
  490. package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +0 -2
  491. package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +0 -2
  492. package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +0 -2
  493. package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +0 -2
  494. package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +0 -16
  495. package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +0 -2
  496. package/dist/chunks/cli-0.1.9-4vt296k0.mjs +0 -18
  497. package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +0 -2
  498. package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +0 -2
  499. package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +0 -2
  500. package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +0 -2
  501. package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +0 -2
  502. package/dist/chunks/cli-0.1.9-61ywjha3.mjs +0 -2
  503. package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +0 -2
  504. package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +0 -16
  505. package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +0 -2
  506. package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +0 -5
  507. package/dist/chunks/cli-0.1.9-6ne451jc.mjs +0 -2
  508. package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +0 -2
  509. package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +0 -2
  510. package/dist/chunks/cli-0.1.9-7047sjwh.mjs +0 -2
  511. package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +0 -3
  512. package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +0 -2
  513. package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +0 -2
  514. package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +0 -2
  515. package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +0 -2
  516. package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +0 -12
  517. package/dist/chunks/cli-0.1.9-7q9461ka.mjs +0 -2
  518. package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +0 -2
  519. package/dist/chunks/cli-0.1.9-86kws2c7.mjs +0 -192
  520. package/dist/chunks/cli-0.1.9-8egwvs85.mjs +0 -2
  521. package/dist/chunks/cli-0.1.9-90h21nv5.mjs +0 -2
  522. package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +0 -2
  523. package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +0 -2
  524. package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +0 -2
  525. package/dist/chunks/cli-0.1.9-9vab0er5.mjs +0 -2
  526. package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +0 -22
  527. package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +0 -2
  528. package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +0 -134
  529. package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +0 -4
  530. package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +0 -2
  531. package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +0 -100
  532. package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +0 -3
  533. package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +0 -2
  534. package/dist/chunks/cli-0.1.9-aype6q4y.mjs +0 -2
  535. package/dist/chunks/cli-0.1.9-b3031hmy.mjs +0 -2
  536. package/dist/chunks/cli-0.1.9-b6zp931m.mjs +0 -11
  537. package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +0 -2
  538. package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +0 -2
  539. package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +0 -2
  540. package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +0 -2
  541. package/dist/chunks/cli-0.1.9-br9jzagb.mjs +0 -2
  542. package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +0 -2
  543. package/dist/chunks/cli-0.1.9-c38eyh49.mjs +0 -2
  544. package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +0 -2
  545. package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +0 -3
  546. package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +0 -2
  547. package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +0 -2
  548. package/dist/chunks/cli-0.1.9-dt31fs16.mjs +0 -2
  549. package/dist/chunks/cli-0.1.9-dzz1me99.mjs +0 -2
  550. package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +0 -2
  551. package/dist/chunks/cli-0.1.9-e96x59hw.mjs +0 -2
  552. package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +0 -2
  553. package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +0 -12
  554. package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +0 -2
  555. package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +0 -2
  556. package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +0 -4
  557. package/dist/chunks/cli-0.1.9-f643fvt4.mjs +0 -2
  558. package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +0 -6
  559. package/dist/chunks/cli-0.1.9-fcf313e7.mjs +0 -2
  560. package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +0 -5
  561. package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +0 -2
  562. package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +0 -2
  563. package/dist/chunks/cli-0.1.9-gandxpzf.mjs +0 -2
  564. package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +0 -2
  565. package/dist/chunks/cli-0.1.9-gdymcvby.mjs +0 -2
  566. package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +0 -2
  567. package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +0 -2
  568. package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +0 -2
  569. package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +0 -2
  570. package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +0 -50
  571. package/dist/chunks/cli-0.1.9-hva25eg3.mjs +0 -4
  572. package/dist/chunks/cli-0.1.9-hy4peemf.mjs +0 -3
  573. package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +0 -14
  574. package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +0 -2
  575. package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +0 -4
  576. package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +0 -2
  577. package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +0 -2
  578. package/dist/chunks/cli-0.1.9-jdpz959j.mjs +0 -2
  579. package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +0 -2
  580. package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +0 -2
  581. package/dist/chunks/cli-0.1.9-krv35v3v.mjs +0 -2
  582. package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +0 -2
  583. package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +0 -2
  584. package/dist/chunks/cli-0.1.9-m7shtst2.mjs +0 -2
  585. package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +0 -2
  586. package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +0 -2
  587. package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +0 -3
  588. package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +0 -4
  589. package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +0 -2
  590. package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +0 -2
  591. package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +0 -2
  592. package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +0 -12
  593. package/dist/chunks/cli-0.1.9-n445yk6z.mjs +0 -2
  594. package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +0 -2
  595. package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +0 -2
  596. package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +0 -2
  597. package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +0 -252
  598. package/dist/chunks/cli-0.1.9-nz8phj17.mjs +0 -2
  599. package/dist/chunks/cli-0.1.9-p1kdk178.mjs +0 -2
  600. package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +0 -4
  601. package/dist/chunks/cli-0.1.9-p5scdysw.mjs +0 -2
  602. package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +0 -2
  603. package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +0 -2
  604. package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +0 -2
  605. package/dist/chunks/cli-0.1.9-psx0e36a.mjs +0 -2
  606. package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +0 -2
  607. package/dist/chunks/cli-0.1.9-q7hve442.mjs +0 -2
  608. package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +0 -2
  609. package/dist/chunks/cli-0.1.9-qydwhycw.mjs +0 -2
  610. package/dist/chunks/cli-0.1.9-r3ha1332.mjs +0 -7
  611. package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +0 -8
  612. package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +0 -21
  613. package/dist/chunks/cli-0.1.9-rerthk1j.mjs +0 -2
  614. package/dist/chunks/cli-0.1.9-rft22htm.mjs +0 -2
  615. package/dist/chunks/cli-0.1.9-rp31nc37.mjs +0 -2
  616. package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +0 -2
  617. package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +0 -2
  618. package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +0 -2
  619. package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +0 -2
  620. package/dist/chunks/cli-0.1.9-scpj6tps.mjs +0 -3
  621. package/dist/chunks/cli-0.1.9-sqja68fn.mjs +0 -2
  622. package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +0 -2
  623. package/dist/chunks/cli-0.1.9-t24n24mw.mjs +0 -2
  624. package/dist/chunks/cli-0.1.9-teaymnrz.mjs +0 -2
  625. package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +0 -2
  626. package/dist/chunks/cli-0.1.9-v32f99vc.mjs +0 -11
  627. package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +0 -2
  628. package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +0 -2
  629. package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +0 -44
  630. package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +0 -45
  631. package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +0 -2
  632. package/dist/chunks/cli-0.1.9-vwv31syx.mjs +0 -2
  633. package/dist/chunks/cli-0.1.9-w692zn5c.mjs +0 -2
  634. package/dist/chunks/cli-0.1.9-wn39cz20.mjs +0 -2
  635. package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +0 -2
  636. package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +0 -13
  637. package/dist/chunks/cli-0.1.9-x13p19zq.mjs +0 -2
  638. package/dist/chunks/cli-0.1.9-x257hapj.mjs +0 -9
  639. package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +0 -2
  640. package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +0 -2
  641. package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +0 -4
  642. package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +0 -2
  643. package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +0 -5
  644. package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +0 -4
  645. package/dist/chunks/cli-0.1.9-yddanjg2.mjs +0 -132
  646. package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +0 -2
  647. package/dist/chunks/cli-0.1.9-ywf6743k.mjs +0 -2
  648. package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +0 -24
  649. package/dist/chunks/cli-0.1.9-zae1me3j.mjs +0 -2
  650. package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +0 -2
  651. package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +0 -2
  652. package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +0 -2
  653. package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +0 -2
  654. package/dist/chunks/cli-0.1.9-zzp8m503.mjs +0 -3
  655. package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +0 -1
  656. package/dist/chunks/client-0.1.9-ys52xz2v.mjs +0 -1
  657. package/dist/chunks/color-0.1.9-nmnytefc.mjs +0 -1
  658. package/dist/chunks/compact-0.1.9-qw915ckh.mjs +0 -3
  659. package/dist/chunks/config-0.1.9-1m69edch.mjs +0 -1
  660. package/dist/chunks/config-0.1.9-6knxc8a2.mjs +0 -1
  661. package/dist/chunks/context-0.1.9-47a3xmqq.mjs +0 -1
  662. package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +0 -1
  663. package/dist/chunks/conversation-0.1.9-vebter8y.mjs +0 -1
  664. package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +0 -9
  665. package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +0 -1
  666. package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +0 -1
  667. package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +0 -1
  668. package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +0 -1
  669. package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +0 -1
  670. package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +0 -1
  671. package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +0 -1
  672. package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +0 -1
  673. package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +0 -1
  674. package/dist/chunks/effort-0.1.9-spz96zzr.mjs +0 -8
  675. package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +0 -1
  676. package/dist/chunks/environments-0.1.9-2hka6k26.mjs +0 -1
  677. package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +0 -1
  678. package/dist/chunks/export-0.1.9-c3pqjktx.mjs +0 -2
  679. package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +0 -1
  680. package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +0 -1
  681. package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +0 -1
  682. package/dist/chunks/feedback-0.1.9-anraj53n.mjs +0 -14
  683. package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +0 -1
  684. package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +0 -1
  685. package/dist/chunks/git-0.1.9-09pdaxwd.mjs +0 -1
  686. package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +0 -1
  687. package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +0 -1
  688. package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +0 -6
  689. package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +0 -1
  690. package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +0 -3
  691. package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +0 -1
  692. package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +0 -79
  693. package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +0 -3
  694. package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +0 -1
  695. package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +0 -2
  696. package/dist/chunks/index-0.1.9-31vnb803.mjs +0 -1
  697. package/dist/chunks/index-0.1.9-68aa3hmw.mjs +0 -1
  698. package/dist/chunks/index-0.1.9-7ktx5gez.mjs +0 -1
  699. package/dist/chunks/index-0.1.9-8feamw1f.mjs +0 -1
  700. package/dist/chunks/index-0.1.9-8hzceckr.mjs +0 -5
  701. package/dist/chunks/index-0.1.9-96thm65j.mjs +0 -1
  702. package/dist/chunks/index-0.1.9-c7sexk3f.mjs +0 -2
  703. package/dist/chunks/index-0.1.9-fvtq6thw.mjs +0 -1
  704. package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +0 -1
  705. package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +0 -7
  706. package/dist/chunks/index-0.1.9-h548q4km.mjs +0 -1
  707. package/dist/chunks/index-0.1.9-j6ac60hq.mjs +0 -1
  708. package/dist/chunks/index-0.1.9-jxdymwv4.mjs +0 -1
  709. package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +0 -1
  710. package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +0 -9
  711. package/dist/chunks/index-0.1.9-smem7egb.mjs +0 -30
  712. package/dist/chunks/index-0.1.9-snmdvw2f.mjs +0 -1
  713. package/dist/chunks/index-0.1.9-vwevfx80.mjs +0 -1
  714. package/dist/chunks/index-0.1.9-w21jc8bp.mjs +0 -1
  715. package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +0 -1
  716. package/dist/chunks/index-0.1.9-yjp28h60.mjs +0 -9
  717. package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +0 -1
  718. package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +0 -1
  719. package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +0 -870
  720. package/dist/chunks/install-0.1.9-km91vvgf.mjs +0 -1
  721. package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +0 -149
  722. package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +0 -1
  723. package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +0 -12
  724. package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +0 -1
  725. package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +0 -2
  726. package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +0 -2
  727. package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +0 -1
  728. package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +0 -1
  729. package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +0 -1
  730. package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +0 -1
  731. package/dist/chunks/main-0.1.9-7cnyr288.mjs +0 -1
  732. package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +0 -1
  733. package/dist/chunks/mcp-0.1.9-14beee71.mjs +0 -17
  734. package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +0 -4
  735. package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +0 -1
  736. package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +0 -1
  737. package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +0 -1
  738. package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +0 -3
  739. package/dist/chunks/mobile-0.1.9-144nwr03.mjs +0 -2
  740. package/dist/chunks/model-0.1.9-ghswdzx2.mjs +0 -1
  741. package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +0 -2
  742. package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +0 -1
  743. package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +0 -14
  744. package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +0 -1
  745. package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +0 -1
  746. package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +0 -1
  747. package/dist/chunks/passes-0.1.9-84vsp058.mjs +0 -1
  748. package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +0 -3
  749. package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +0 -1
  750. package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +0 -1
  751. package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +0 -29
  752. package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +0 -1
  753. package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +0 -9
  754. package/dist/chunks/print-0.1.9-z151tvas.mjs +0 -57
  755. package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +0 -1
  756. package/dist/chunks/process-0.1.9-anx0dq1a.mjs +0 -1
  757. package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +0 -1
  758. package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +0 -9
  759. package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +0 -1
  760. package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +0 -1
  761. package/dist/chunks/prompts-0.1.9-psek69yr.mjs +0 -1
  762. package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +0 -2
  763. package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +0 -1
  764. package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +0 -1
  765. package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +0 -1
  766. package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +0 -5
  767. package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +0 -2
  768. package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +0 -1
  769. package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +0 -1
  770. package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +0 -1
  771. package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +0 -1
  772. package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +0 -1
  773. package/dist/chunks/resume-0.1.9-gayv56qp.mjs +0 -2
  774. package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +0 -1
  775. package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +0 -1
  776. package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +0 -1
  777. package/dist/chunks/session-0.1.9-jtrr3jje.mjs +0 -2
  778. package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +0 -1
  779. package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +0 -1
  780. package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +0 -5
  781. package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +0 -1
  782. package/dist/chunks/skills-0.1.9-d63w5m27.mjs +0 -1
  783. package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +0 -1
  784. package/dist/chunks/state-0.1.9-m8x0v07d.mjs +0 -1
  785. package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +0 -6
  786. package/dist/chunks/status-0.1.9-sapnwz4b.mjs +0 -1
  787. package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +0 -1
  788. package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +0 -1
  789. package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +0 -1
  790. package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +0 -1
  791. package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +0 -1
  792. package/dist/chunks/teleport-0.1.9-xaj204my.mjs +0 -1
  793. package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +0 -1
  794. package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +0 -1
  795. package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +0 -1
  796. package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +0 -1
  797. package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +0 -1
  798. package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +0 -1
  799. package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +0 -1
  800. package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +0 -69
  801. package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +0 -4
  802. package/dist/chunks/update-0.1.9-8dntd8kh.mjs +0 -94
  803. package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +0 -1
  804. package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +0 -14
  805. package/dist/chunks/usage-0.1.9-neje6dea.mjs +0 -1
  806. package/dist/chunks/util-0.1.9-kdhggd68.mjs +0 -1
  807. package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +0 -1
  808. package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +0 -1
  809. package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +0 -1
  810. package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +0 -132
  811. package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +0 -1
  812. package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +0 -1
  813. package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +0 -7
  814. /package/dist/chunks/{cli-0.1.9-zrdz7st3.mjs → cli-0.1.11-x3q39kf7.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{Tc as j,Uc as E}from"./cli-0.1.9-a95nqhbd.mjs";import{SF as X,UF as Y,bG as Z,dG as w,hG as _,hk as W,kG as $,kk as v,oG as f}from"./cli-0.1.9-04ez73f7.mjs";import{M_ as S,Z_ as A,a7 as Q,f7 as T,fba as V,qba as N}from"./cli-0.1.9-86kws2c7.mjs";import{Aga as R,Zfa as L,dga as K,xga as B}from"./cli-0.1.9-vdw09f8y.mjs";import{lna as y}from"./cli-0.1.9-kbrf27z8.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:S(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(V()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){Q(q)}})()}var J=null,G=null;var U=y(()=>{E();N();R();K();T();f();w();v();A()});
2
- export{d as Cc,P as Dc,t as Ec,U as Fc};
@@ -1,2 +0,0 @@
1
- import{fV as x}from"./cli-0.1.9-mx4ekht0.mjs";import{F4 as q}from"./cli-0.1.9-4sqfjw8t.mjs";import{Jea as f}from"./cli-0.1.9-wpvrabrk.mjs";import{Oga as p}from"./cli-0.1.9-v7ajk1nz.mjs";import{lna as d}from"./cli-0.1.9-kbrf27z8.mjs";function N(){return!1}async function O(){return!1}function P(){return!1}function Q(){return!0}function R(){return null}var z=d(()=>{f();q();p();x()});
2
- export{N as Jf,O as Kf,P as Lf,Q as Mf,R as Nf,z as Of};
@@ -1,4 +0,0 @@
1
- import{jna as k,mna as L}from"./cli-0.1.9-kbrf27z8.mjs";var Q=k((Te)=>{Te.HttpAuthLocation=void 0;(function(e){e.HEADER="header",e.QUERY="query"})(Te.HttpAuthLocation||(Te.HttpAuthLocation={}));Te.HttpApiKeyAuthLocation=void 0;(function(e){e.HEADER="header",e.QUERY="query"})(Te.HttpApiKeyAuthLocation||(Te.HttpApiKeyAuthLocation={}));Te.EndpointURLScheme=void 0;(function(e){e.HTTP="http",e.HTTPS="https"})(Te.EndpointURLScheme||(Te.EndpointURLScheme={}));Te.AlgorithmId=void 0;(function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"})(Te.AlgorithmId||(Te.AlgorithmId={}));var de=(e)=>{let t=[];if(e.sha256!==void 0)t.push({algorithmId:()=>Te.AlgorithmId.SHA256,checksumConstructor:()=>e.sha256});if(e.md5!=null)t.push({algorithmId:()=>Te.AlgorithmId.MD5,checksumConstructor:()=>e.md5});return{addChecksumAlgorithm(n){t.push(n)},checksumAlgorithms(){return t}}},le=(e)=>{let t={};return e.checksumAlgorithms().forEach((n)=>{t[n.algorithmId()]=n.checksumConstructor()}),t},me=(e)=>{return de(e)},ge=(e)=>{return le(e)};Te.FieldPosition=void 0;(function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"})(Te.FieldPosition||(Te.FieldPosition={}));var Ee="__smithy_context";Te.IniSectionType=void 0;(function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"})(Te.IniSectionType||(Te.IniSectionType={}));Te.RequestHandlerProtocol=void 0;(function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"})(Te.RequestHandlerProtocol||(Te.RequestHandlerProtocol={}));Te.SMITHY_CONTEXT_KEY=Ee;Te.getDefaultClientConfiguration=me;Te.resolveDefaultRuntimeConfig=ge});var X=k((Re)=>{var Ae=Q(),xe=(e)=>{return{setHttpHandler(t){e.httpHandler=t},httpHandler(){return e.httpHandler},updateHttpClientConfig(t,n){e.httpHandler?.updateHttpClientConfig(t,n)},httpHandlerConfigs(){return e.httpHandler.httpHandlerConfigs()}}},Ce=(e)=>{return{httpHandler:e.httpHandler()}};class Y{name;kind;values;constructor({name:e,kind:t=Ae.FieldPosition.HEADER,values:n=[]}){this.name=e,this.kind=t,this.values=n}add(e){this.values.push(e)}set(e){this.values=e}remove(e){this.values=this.values.filter((t)=>t!==e)}toString(){return this.values.map((e)=>e.includes(",")||e.includes(" ")?`"${e}"`:e).join(", ")}get(){return this.values}}class V{entries={};encoding;constructor({fields:e=[],encoding:t="utf-8"}){e.forEach(this.setField.bind(this)),this.encoding=t}setField(e){this.entries[e.name.toLowerCase()]=e}getField(e){return this.entries[e.toLowerCase()]}removeField(e){delete this.entries[e.toLowerCase()]}getByType(e){return Object.values(this.entries).filter((t)=>t.kind===e)}}class P{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){let t=new P({...e,headers:{...e.headers}});if(t.query)t.query=Se(t.query);return t}static isInstance(e){if(!e)return!1;let t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&typeof t.query==="object"&&typeof t.headers==="object"}clone(){return P.clone(this)}}function Se(e){return Object.keys(e).reduce((t,n)=>{let o=e[n];return{...t,[n]:Array.isArray(o)?[...o]:o}},{})}class z{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let t=e;return typeof t.statusCode==="number"&&typeof t.headers==="object"}}function be(e){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(e)}Re.Field=Y;Re.Fields=V;Re.HttpRequest=P;Re.HttpResponse=z;Re.getHttpHandlerExtensionConfiguration=xe;Re.isValidHostname=be;Re.resolveHttpHandlerRuntimeConfig=Ce});var G=k((Ie)=>{var J=(e)=>encodeURIComponent(e).replace(/[!'()*]/g,Le),Le=(e)=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,$e=(e)=>e.split("/").map(J).join("/");Ie.escapeUri=J;Ie.escapeUriPath=$e});var Z=k((je)=>{var N=G();function Be(e){let t=[];for(let n of Object.keys(e).sort()){let o=e[n];if(n=N.escapeUri(n),Array.isArray(o))for(let r=0,s=o.length;r<s;r++)t.push(`${n}=${N.escapeUri(o[r])}`);else{let r=n;if(o||typeof o==="string")r+=`=${N.escapeUri(o)}`;t.push(r)}}return t.join("&")}je.buildQueryString=Be});var rt=k((qe)=>{var oe=X(),re=Z(),_=L("node:https"),se=L("node:stream"),W=L("node:http2");function D(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let r=Error("Request aborted");return r.name="AbortError",r.cause=t,r}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var We=["ECONNRESET","EPIPE","ETIMEDOUT"],ie=(e)=>{let t={};for(let n of Object.keys(e)){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},l={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},q=1000,Fe=(e,t,n=0)=>{if(!n)return-1;let o=(r)=>{let s=l.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-r),i=(a)=>{if(a?.connecting)a.on("connect",()=>{l.clearTimeout(s)});else l.clearTimeout(s)};if(e.socket)i(e.socket);else e.on("socket",i)};if(n<2000)return o(0),0;return l.setTimeout(o.bind(null,q),q)},Ke=(e,t,n=0,o,r)=>{if(n)return l.setTimeout(()=>{let s=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let i=Object.assign(Error(s),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(i),t(i)}else s+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",r?.warn?.(s)},n);return-1},Qe=3000,Ye=(e,{keepAlive:t,keepAliveMsecs:n},o=Qe)=>{if(t!==!0)return-1;let r=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(s)=>{s.setKeepAlive(t,n||0)})};if(o===0)return r(),0;return l.setTimeout(r,o)},ee=3000,Ve=(e,t,n=0)=>{let o=(r)=>{let s=n-r,i=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(s,i),e.on("close",()=>e.socket?.removeListener("timeout",i));else e.setTimeout(s,i)};if(0<n&&n<6000)return o(0),0;return l.setTimeout(o.bind(null,n===0?0:ee),ee)},te=6000;async function ce(e,t,n=te,o=!1){let r=t.headers??{},s=r.Expect||r.expect,i=-1,a=!0;if(!o&&s==="100-continue")a=await Promise.race([new Promise((c)=>{i=Number(l.setTimeout(()=>c(!0),Math.max(te,n)))}),new Promise((c)=>{e.on("continue",()=>{l.clearTimeout(i),c(!0)}),e.on("response",()=>{l.clearTimeout(i),c(!1)}),e.on("error",()=>{l.clearTimeout(i),c(!1)})})]);if(a)ze(e,t.body)}function ze(e,t){if(t instanceof se.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let r=t;if(typeof r==="object"&&r.buffer&&typeof r.byteOffset==="number"&&typeof r.byteLength==="number"){e.end(Buffer.from(r.buffer,r.byteOffset,r.byteLength));return}e.end(Buffer.from(t));return}e.end()}var Xe=0,U=void 0,ne=void 0;class H{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new H(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:r,maxSockets:s}=e;if(typeof s!=="number"||s===1/0)return t;let i=15000;if(Date.now()-i<t)return t;if(o&&r)for(let a in o){let c=o[a]?.length??0,E=r[a]?.length??0;if(c>=s&&E>=2*s)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${c} and ${E} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,r=e.protocol==="https:";if(!r&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((s,i)=>{let a=void 0,c=[],E=async(u)=>{await a,c.forEach(l.clearTimeout),s(u)},m=async(u)=>{await a,c.forEach(l.clearTimeout),i(u)};if(t?.aborted){let u=D(t);m(u);return}let p=e.headers??{},A=(p.Expect??p.expect)==="100-continue",x=r?o.httpsAgent:o.httpAgent;if(A&&!this.externalAgent)x=new(r?_.Agent:U)({keepAlive:!1,maxSockets:1/0});c.push(l.setTimeout(()=>{this.socketWarningTimestamp=H.checkSocketUsage(x,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000)));let C=re.buildQueryString(e.query||{}),v=void 0;if(e.username!=null||e.password!=null){let u=e.username??"",f=e.password??"";v=`${u}:${f}`}let S=e.path;if(C)S+=`?${C}`;if(e.fragment)S+=`#${e.fragment}`;let y=e.hostname??"";if(y[0]==="["&&y.endsWith("]"))y=e.hostname.slice(1,-1);else y=e.hostname;let b={headers:e.headers,host:y,method:e.method,path:S,port:e.port,agent:x,auth:v},d=(r?_.request:ne)(b,(u)=>{let f=new oe.HttpResponse({statusCode:u.statusCode||-1,reason:u.statusMessage,headers:ie(u.headers),body:u});E({response:f})});if(d.on("error",(u)=>{if(We.includes(u.code))m(Object.assign(u,{name:"TimeoutError"}));else m(u)}),t){let u=()=>{d.destroy();let f=D(t);m(f)};if(typeof t.addEventListener==="function"){let f=t;f.addEventListener("abort",u,{once:!0}),d.once("close",()=>f.removeEventListener("abort",u))}else t.onabort=u}let T=n??o.requestTimeout;c.push(Fe(d,m,o.connectionTimeout)),c.push(Ke(d,m,T,o.throwOnRequestTimeout,o.logger??console)),c.push(Ve(d,m,o.socketTimeout));let w=b.agent;if(typeof w==="object"&&"keepAlive"in w)c.push(Ye(d,{keepAlive:w.keepAlive,keepAliveMsecs:w.keepAliveMsecs}));a=ce(d,e,T,this.externalAgent).catch((u)=>{return c.forEach(l.clearTimeout),i(u)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:r,httpAgent:s,httpsAgent:i,throwOnRequestTimeout:a,logger:c}=e||{},E=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:r,throwOnRequestTimeout:a,httpAgentProvider:async()=>{let{Agent:p,request:A}=await import("node:http");if(ne=A,U=p,s instanceof U||typeof s?.destroy==="function")return this.externalAgent=!0,s;return new U({keepAlive:!0,maxSockets:50,...s})},httpsAgent:(()=>{if(i instanceof _.Agent||typeof i?.destroy==="function")return this.externalAgent=!0,i;return new _.Agent({keepAlive:!0,maxSockets:50,...i})})(),logger:c}}}class ae{sessions=[];constructor(e){this.sessions=e??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(e){this.sessions.push(e)}contains(e){return this.sessions.includes(e)}remove(e){this.sessions=this.sessions.filter((t)=>t!==e)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(e){for(let t of this.sessions)if(t===e){if(!t.destroyed)t.destroy()}}}class ue{constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}config;sessionCache=new Map;lease(e,t){let n=this.getUrlString(e),o=this.sessionCache.get(n);if(o){let a=o.poll();if(a&&!this.config.disableConcurrency)return a}let r=W.connect(n);if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(a)=>{if(a)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});r.unref();let s=()=>{r.destroy(),this.deleteSession(n,r)};if(r.on("goaway",s),r.on("error",s),r.on("frameError",s),r.on("close",()=>this.deleteSession(n,r)),t.requestTimeout)r.setTimeout(t.requestTimeout,s);let i=this.sessionCache.get(n)||new ae;return i.offerLast(r),this.sessionCache.set(n,i),r}deleteSession(e,t){let n=this.sessionCache.get(e);if(!n)return;if(!n.contains(t))return;n.remove(t),this.sessionCache.set(e,n)}release(e,t){let n=this.getUrlString(e);this.sessionCache.get(n)?.offerLast(t)}destroy(){for(let[e,t]of this.sessionCache){for(let n of t){if(!n.destroyed)n.destroy();t.remove(n)}this.sessionCache.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}getUrlString(e){return e.destination.toString()}}class F{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new ue({});static create(e){if(typeof e?.handle==="function")return e;return new F(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}let{requestTimeout:o,disableConcurrentStreams:r}=this.config,s=n??o;return new Promise((i,a)=>{let c=!1,E=void 0,m=async(h)=>{await E,i(h)},p=async(h)=>{await E,a(h)};if(t?.aborted){c=!0;let h=D(t);p(h);return}let{hostname:A,method:x,port:C,protocol:v,query:S}=e,y="";if(e.username!=null||e.password!=null){let h=e.username??"",g=e.password??"";y=`${h}:${g}@`}let b=`${v}//${y}${A}${C?`:${C}`:""}`,K={destination:new URL(b)},d=this.connectionManager.lease(K,{requestTimeout:this.config?.sessionTimeout,disableConcurrentStreams:r||!1}),T=(h)=>{if(r)this.destroySession(d);c=!0,p(h)},w=re.buildQueryString(S||{}),u=e.path;if(w)u+=`?${w}`;if(e.fragment)u+=`#${e.fragment}`;let f=d.request({...e.headers,[W.constants.HTTP2_HEADER_PATH]:u,[W.constants.HTTP2_HEADER_METHOD]:x});if(d.ref(),f.on("response",(h)=>{let g=new oe.HttpResponse({statusCode:h[":status"]||-1,headers:ie(h),body:f});if(c=!0,m({response:g}),r)d.close(),this.connectionManager.deleteSession(b,d)}),s)f.setTimeout(s,()=>{f.close();let h=Error(`Stream timed out because of no activity for ${s} ms`);h.name="TimeoutError",T(h)});if(t){let h=()=>{f.close();let g=D(t);T(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",h,{once:!0}),f.once("close",()=>g.removeEventListener("abort",h))}else t.onabort=h}f.on("frameError",(h,g,he)=>{T(Error(`Frame type id ${h} in stream id ${he} has failed with code ${g}.`))}),f.on("error",T),f.on("aborted",()=>{T(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${f.rstCode}.`))}),f.on("close",()=>{if(d.unref(),r)d.destroy();if(!c)T(Error("Unexpected error: http2 request did not get a response"))}),E=ce(f,e,s)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}destroySession(e){if(!e.destroyed)e.destroy()}}class fe extends se.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var Je=(e)=>{if(Ge(e))return Ze(e);return new Promise((t,n)=>{let o=new fe;e.pipe(o),e.on("error",(r)=>{o.end(),n(r)}),o.on("error",n),o.on("finish",function(){let r=new Uint8Array(Buffer.concat(this.bufferedBytes));t(r)})})},Ge=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function Ze(e){let t=[],n=e.getReader(),o=!1,r=0;while(!o){let{done:a,value:c}=await n.read();if(c)t.push(c),r+=c.length;o=a}let s=new Uint8Array(r),i=0;for(let a of t)s.set(a,i),i+=a.length;return s}qe.DEFAULT_REQUEST_TIMEOUT=Xe;qe.NodeHttp2Handler=F;qe.NodeHttpHandler=H;qe.streamCollector=Je});
4
- export{Z as cna,rt as dna};
@@ -1,2 +0,0 @@
1
- import{lna as e}from"./cli-0.1.9-kbrf27z8.mjs";function o(){return!0}var t=()=>{};
2
- export{o as BQ,t as CQ};
@@ -1,2 +0,0 @@
1
- import{lna as n}from"./cli-0.1.9-kbrf27z8.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
2
- export{o as TW,e as UW,i as VW,g as WW,r as XW,u as YW,f as ZW,l as _W,t as $W};
@@ -1,2 +0,0 @@
1
- import{AR as h,pR as U}from"./cli-0.1.9-gsc0t4gy.mjs";import{bS as y,eS as p}from"./cli-0.1.9-gvrtqwe3.mjs";import{PY as B,TY as F}from"./cli-0.1.9-z5mm21jw.mjs";import{k8 as K,m8 as f}from"./cli-0.1.9-86kws2c7.mjs";import{Aga as I,Dfa as _,Ffa as D,Zfa as G,bga as A,dga as P,fga as N,gga as H,jga as b,xga as J}from"./cli-0.1.9-vdw09f8y.mjs";import{Bga as $,Oga as C}from"./cli-0.1.9-v7ajk1nz.mjs";import{Aia as Y,Cia as Z,pma as w,wia as X}from"./cli-0.1.9-7fp0smtp.mjs";import{lna as W}from"./cli-0.1.9-kbrf27z8.mjs";import{chmod as S,mkdir as j,readdir as m,readFile as c,unlink as M,writeFile as O}from"fs/promises";import{join as L}from"path";function Q(){return L($(),"sessions")}function u(){return}async function Eq(){if(U()!=null)return!1;let q=u()??"interactive",E=Q(),x=L(E,`${process.pid}.json`);_(async()=>{try{await M(x)}catch{}});try{return await j(E,{recursive:!0,mode:448}),await S(E,448),await O(x,N({pid:process.pid,sessionId:X(),cwd:Z(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),Y((z)=>{T({sessionId:z})}),!0}catch(z){return J(`[concurrentSessions] register failed: ${G(z)}`),!1}}async function T(q){let E=L(Q(),`${process.pid}.json`);try{let x=H(await c(E,"utf8"));await O(E,N({...x,...q}))}catch(x){J(`[concurrentSessions] updatePidFile failed: ${G(x)}`)}}async function Gq(q){if(!q)return;await T({name:q})}async function R(q){await T({bridgeSessionId:q})}async function Jq(){let q=Q(),E;try{E=await m(q)}catch(z){if(!A(z))J(`[concurrentSessions] readdir failed: ${G(z)}`);return 0}let x=0;for(let z of E){if(!/^\d+\.json$/.test(z))continue;let V=parseInt(z.slice(0,-5),10);if(V===process.pid){x++;continue}if(B(V))x++;else if(K()!=="wsl")M(L(q,z)).catch(()=>{})}return x}var k=W(()=>{w();D();I();C();P();F();f();b();h()});function Tq(q){v=q,R(g()??null).catch(()=>{})}function l(){return v}function g(){let q=l();return q?y(q.bridgeSessionId):void 0}var v=null;var a=W(()=>{k();p()});
2
- export{Eq as $Q,Gq as aR,R as bR,Jq as cR,k as dR,Tq as eR,l as fR,g as gR,a as hR};
@@ -1,2 +0,0 @@
1
- import{lf as E,mf as Jf}from"./cli-0.1.9-teaymnrz.mjs";import{$o as r,$y as zf,EO as _f,Ep as O,Fp as o,Pp as R,QL as C,TM as Xf,UM as u,Vp as a,WN as v,Ww as y,Xw as ff,Zy as N,_C as P,_o as H,fD as Gf,iO as Zf,kN as I,kO as A,kr as w,lA as L,lM as m,lN as M,lr as e,mA as Bf,mN as Yf,rL as h,sM as T,vN as c,xq as t,yq as s}from"./cli-0.1.9-04ez73f7.mjs";import{a7 as x,f7 as k}from"./cli-0.1.9-86kws2c7.mjs";import{Afa as n,zfa as F}from"./cli-0.1.9-5ryrgdzg.mjs";import{Cia as W,pma as d,vja as q,xia as U}from"./cli-0.1.9-7fp0smtp.mjs";import{ina as K,lna as i}from"./cli-0.1.9-kbrf27z8.mjs";import{randomUUID as Qf}from"crypto";async function Ef({setMessages:V,readFileState:g,discoveredSkillNames:S,loadedNestedMemoryPaths:l,getAppState:G,setAppState:J,setConversationId:X}){let Y=c();await v("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=q();if(Z)F("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(P(f))Q.add(f.agentId),_.push(f);else if(y(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(Qf());if(E(Q),L(W()),g.clear(),S?.clear(),l?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(w(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(p){x(p)}I(D)}return{...f,tasks:B,attribution:H(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});R(),m(),U({setCurrentAsParent:!0}),await C();for(let f of _){if(f.status!=="running")continue;M(f.id,h(O(f.agentId)))}{let{saveMode:f}=(u(),K(Xf)),{isCoordinatorMode:B}=(s(),K(t));f(B()?"coordinator":"normal")}let b=A();if(b)T(b);let j=await N("clear");if(j.length>0)V(()=>j)}var Vf=i(()=>{d();n();ff();Gf();e();o();r();Zf();k();a();Bf();zf();u();Yf();_f();Jf()});
2
- export{Ef as jf,Vf as kf};
@@ -1,2 +0,0 @@
1
- import{EU as W,FS as V,SU as X,UU as k}from"./cli-0.1.9-nw3rpxdd.mjs";import{zX as M}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as f}from"./cli-0.1.9-hy9s1fnj.mjs";import{Pea as U,Qea as P}from"./cli-0.1.9-mkfnnvz7.mjs";import{hna as K,lna as O}from"./cli-0.1.9-kbrf27z8.mjs";import{PassThrough as C}from"stream";function D(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let L=setTimeout(z,0);return()=>clearTimeout(L)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J.jsxDEV(J.Fragment,{children:w},void 0,!1,void 0,this),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(Q);if(b===-1)return q;let w=b+Q.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J.jsxDEV(D,{children:q},void 0,!1,void 0,this),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function I(q,b){let w=await g(q,b);return U(w)}var Z,y,J,Q="\x1B[?2026h",F="\x1B[?2026l";var j=O(()=>{P();k();Z=K(V(),1),y=K(f(),1),J=K(M(),1)});
2
- export{g as jg,I as kg,j as lg};
@@ -1,2 +0,0 @@
1
- import{md as R,od as d}from"./cli-0.1.9-1f5gmndb.mjs";import{bS as j,eS as c}from"./cli-0.1.9-gvrtqwe3.mjs";import{Aga as D,Zfa as C,dga as h,xga as K}from"./cli-0.1.9-vdw09f8y.mjs";import{lna as I,mna as J}from"./cli-0.1.9-kbrf27z8.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.1.9-rqfx3vqa.mjs"),{getOrganizationUUID:Z}=await import("./client-0.1.9-ys52xz2v.mjs"),{getOauthConfig:V}=await import("./oauth-0.1.9-a7p9ezjx.mjs"),{getOAuthHeaders:P}=await import("./api-0.1.9-kqwfw6wj.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.1.9-qqzcce45.mjs"),{getDefaultBranch:_}=await import("./git-0.1.9-09pdaxwd.mjs"),{getMainLoopModel:M}=await import("./model-0.1.9-ghswdzx2.mjs"),{default:T}=await import("./index-0.1.9-96thm65j.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.1.9-qqzcce45.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.1.9-rqfx3vqa.mjs"),{getOrganizationUUID:$}=await import("./client-0.1.9-ys52xz2v.mjs"),{getOauthConfig:Y}=await import("./oauth-0.1.9-a7p9ezjx.mjs"),{getOAuthHeaders:z}=await import("./api-0.1.9-kqwfw6wj.mjs"),{default:G}=await import("./index-0.1.9-96thm65j.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.1.9-rqfx3vqa.mjs"),{getOrganizationUUID:$}=await import("./client-0.1.9-ys52xz2v.mjs"),{getOauthConfig:Y}=await import("./oauth-0.1.9-a7p9ezjx.mjs"),{getOAuthHeaders:z}=await import("./api-0.1.9-kqwfw6wj.mjs"),{default:G}=await import("./index-0.1.9-96thm65j.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.1.9-rqfx3vqa.mjs"),{getOrganizationUUID:Y}=await import("./client-0.1.9-ys52xz2v.mjs"),{getOauthConfig:z}=await import("./oauth-0.1.9-a7p9ezjx.mjs"),{getOAuthHeaders:G}=await import("./api-0.1.9-kqwfw6wj.mjs"),{default:L}=await import("./index-0.1.9-96thm65j.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
- export{i as ed,r as fd,t as gd,o as hd,p as id};
@@ -1,2 +0,0 @@
1
- import{xh as a,yh as c}from"./cli-0.1.9-0j8n671q.mjs";import{Ah as g,zh as m}from"./cli-0.1.9-rp31nc37.mjs";import{zX as e}from"./cli-0.1.9-2v4s8yf9.mjs";import{hna as n,lna as l}from"./cli-0.1.9-kbrf27z8.mjs";async function C(o,i){let t=await m();if(t.type==="message")return o(t.value),null;return r.jsxDEV(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(s)=>{i.onChangeAPIKey(),o(s?"Login successful":"Login interrupted")}},void 0,!1,void 0,this)}var r;var u=l(()=>{c();g();r=n(e(),1)});
2
- export{C as vh,u as wh};
@@ -1,2 +0,0 @@
1
- import{Afa as Y}from"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as V}from"./cli-0.1.9-vdw09f8y.mjs";import{lna as X}from"./cli-0.1.9-kbrf27z8.mjs";var _,O;var F=X(()=>{_=Promise.resolve(),O=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});async function D(){}async function C(z){if(!z||z.length>G)return null;return null}async function u(z){if(!z||z.length>G)return null;return null}function b(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&U.has(J.text)?[J.text]:[]}let Z=[],$=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!$&&J.type==="word"){$=!0,Z.push(J.text);continue}if(q.has(J.type))Z.push(H(J.text));else if(Q.has(J.type))break}return Z}function H(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var G=1e4,U,q,Q,y;var M=X(()=>{Y();V();F();U=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),q=new Set(["word","string","raw_string","number"]),Q=new Set(["command_substitution","process_substitution"]);y=Symbol("parse-aborted")});
2
- export{O as rX,F as sX,D as tX,C as uX,y as vX,u as wX,b as xX,M as yX};
@@ -1,2 +0,0 @@
1
- import{Md as M,Nd as x}from"./cli-0.1.9-mz3mbxwb.mjs";import{jg as B,lg as P}from"./cli-0.1.9-psx0e36a.mjs";import{GJ as T,Gj as _,Ij as E,KJ as A}from"./cli-0.1.9-04ez73f7.mjs";import{pS as $,sS as V}from"./cli-0.1.9-gpd1bhnf.mjs";import{zX as Z}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as D}from"./cli-0.1.9-hy9s1fnj.mjs";import{Pea as Q,Qea as K}from"./cli-0.1.9-mkfnnvz7.mjs";import{hna as O,lna as C}from"./cli-0.1.9-kbrf27z8.mjs";function y({children:q}){let{bindings:F}=_(),H=N.useRef(null),G=N.useRef(new Map),I=N.useRef(new Set).current;return J.jsxDEV($,{bindings:F,pendingChordRef:H,pendingChord:null,setPendingChord:()=>{},activeContexts:I,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:G,children:q},void 0,!1,void 0,this)}function b(q){if(!("message"in q))return 1;let F=q.message.content;return Array.isArray(F)?F.length:1}async function v(q,F,H,{columns:G,verbose:I=!1,chunkSize:L=40,onProgress:U}={}){let W=(w)=>B(J.jsxDEV(T,{children:J.jsxDEV(y,{children:J.jsxDEV(M,{messages:q,tools:F,commands:[],verbose:I,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),G),X=L;for(let w of q)X+=b(w);for(let w=0;w<X;w+=L){let Y=await W([w,w+L]);if(Q(Y).trim()==="")break;await H(Y),U?.(w+L)}}async function l(q,F=[],H){let G=[];return await v(q,F,(I)=>void G.push(Q(I)),{columns:H}),G.join("")}var N,J;var j=C(()=>{K();x();V();E();A();P();N=O(D(),1),J=O(Z(),1)});
2
- export{l as jb,j as kb};
@@ -1,7 +0,0 @@
1
- import{QO as a,RO as E,TO as r,UO as o,VO as s,_O as GQ}from"./cli-0.1.9-9vab0er5.mjs";import{LX as N,MX as t}from"./cli-0.1.9-nsgdz4rd.mjs";import{A3 as I,z3 as U}from"./cli-0.1.9-4sqfjw8t.mjs";import{S4 as n,Z4 as KQ}from"./cli-0.1.9-x257hapj.mjs";import{M5 as e,b6 as jQ}from"./cli-0.1.9-b6zp931m.mjs";import{L6 as Y,N6 as h}from"./cli-0.1.9-86kws2c7.mjs";import{Afa as ZQ,zfa as u}from"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as b,Zfa as H,_fa as i,dga as F,fga as k,gga as R,jga as y,xga as K}from"./cli-0.1.9-vdw09f8y.mjs";ZQ();b();h();F();y();function D(Q){if(Q<60000)return`${Math.round(Q/1000)}s`;let W=Math.floor(Q/60000),Z=Math.round(Q%60000/1000);return Z>0?`${W}m ${Z}s`:`${W}m`}function $Q(Q){let Z=(Q.startsWith("sk-ant-si-")?Q.slice(10):Q).split(".");if(Z.length!==3||!Z[1])return null;try{return R(Buffer.from(Z[1],"base64url").toString("utf8"))}catch{return null}}function f(Q){let W=$Q(Q);if(W!==null&&typeof W==="object"&&"exp"in W&&typeof W.exp==="number")return W.exp;return null}var zQ=300000,p=1800000,m=3,JQ=60000;function FQ({getAccessToken:Q,onRefresh:W,label:Z,refreshBufferMs:z=zQ}){let $=new Map,J=new Map,G=new Map;function X(V){let w=(G.get(V)??0)+1;return G.set(V,w),w}function q(V,w){let j=f(w);if(!j){K(`[${Z}:token] Could not decode JWT expiry for sessionId=${V}, token prefix=${w.slice(0,15)}…, keeping existing timer`);return}let C=$.get(V);if(C)clearTimeout(C);let B=X(V),P=new Date(j*1000).toISOString(),v=j*1000-Date.now()-z;if(v<=0){K(`[${Z}:token] Token for sessionId=${V} expires=${P} (past or within buffer), refreshing immediately`),O(V,B);return}K(`[${Z}:token] Scheduled token refresh for sessionId=${V} in ${D(v)} (expires=${P}, buffer=${z/1000}s)`);let WQ=setTimeout(O,v,V,B);$.set(V,WQ)}function L(V,w){let j=$.get(V);if(j)clearTimeout(j);let C=X(V),B=Math.max(w*1000-z,30000);K(`[${Z}:token] Scheduled token refresh for sessionId=${V} in ${D(B)} (expires_in=${w}s, buffer=${z/1000}s)`);let P=setTimeout(O,B,V,C);$.set(V,P)}async function O(V,w){let j;try{j=await Q()}catch(B){K(`[${Z}:token] getAccessToken threw for sessionId=${V}: ${H(B)}`,{level:"error"})}if(G.get(V)!==w){K(`[${Z}:token] doRefresh for sessionId=${V} stale (gen ${w} vs ${G.get(V)}), skipping`);return}if(!j){let B=(J.get(V)??0)+1;if(J.set(V,B),K(`[${Z}:token] No OAuth token available for refresh, sessionId=${V} (failure ${B}/${m})`,{level:"error"}),Y("error","bridge_token_refresh_no_oauth"),B<m){let P=setTimeout(O,JQ,V,w);$.set(V,P)}return}J.delete(V),K(`[${Z}:token] Refreshing token for sessionId=${V}: new token prefix=${j.slice(0,15)}…`),u("tengu_bridge_token_refreshed",{}),W(V,j);let C=setTimeout(O,p,V,w);$.set(V,C),K(`[${Z}:token] Scheduled follow-up refresh for sessionId=${V} in ${D(p)}`)}function _(V){X(V);let w=$.get(V);if(w)clearTimeout(w),$.delete(V);J.delete(V)}function QQ(){for(let V of G.keys())X(V);for(let V of $.values())clearTimeout(V);$.clear(),J.clear()}return{schedule:q,scheduleFromExpiresIn:L,cancel:_,cancelAll:QQ}}import{randomUUID as g}from"crypto";b();h();F();KQ();GQ();r();I();t();y();class T extends Error{retryAfterMs;constructor(Q,W){super(Q);this.retryAfterMs=W}}class x{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(Q){this.config=Q}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(Q){if(this.closed)return;let W=Array.isArray(Q)?Q:[Q];if(W.length===0)return;while(this.pending.length+W.length>this.config.maxQueueSize&&!this.closed)await new Promise((Z)=>{this.backpressureResolvers.push(Z)});if(this.closed)return;this.pending.push(...W),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((Q)=>{this.flushResolvers.push(Q)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let Q of this.backpressureResolvers)Q();this.backpressureResolvers=[];for(let Q of this.flushResolvers)Q();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let Q=0;try{while(this.pending.length>0&&!this.closed){let W=this.takeBatch();if(W.length===0)continue;try{await this.config.send(W),Q=0}catch(Z){if(Q++,this.config.maxConsecutiveFailures!==void 0&&Q>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(W.length,Q),Q=0,this.releaseBackpressure();continue}this.pending=W.concat(this.pending);let z=Z instanceof T?Z.retryAfterMs:void 0;await this.sleep(this.retryDelay(Q,z));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let W of this.flushResolvers)W();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:Q,maxBatchBytes:W}=this.config;if(W===void 0)return this.pending.splice(0,Q);let Z=0,z=0;while(z<this.pending.length&&z<Q){let $;try{$=Buffer.byteLength(k(this.pending[z]))}catch{this.pending.splice(z,1);continue}if(z>0&&Z+$>W)break;Z+=$,z++}return this.pending.splice(0,z)}retryDelay(Q,W){let Z=Math.random()*this.config.jitterMs;if(W!==void 0)return Math.max(this.config.baseDelayMs,Math.min(W,this.config.maxDelayMs))+Z;return Math.min(this.config.baseDelayMs*2**(Q-1),this.config.maxDelayMs)+Z}releaseBackpressure(){let Q=this.backpressureResolvers;this.backpressureResolvers=[];for(let W of Q)W()}sleep(Q){return new Promise((W)=>{this.sleepResolve=W,setTimeout((Z,z)=>{Z.sleepResolve=null,z()},Q,this,W)})}}I();class c{inflight=null;pending=null;closed=!1;config;constructor(Q){this.config=Q}enqueue(Q){if(this.closed)return;this.pending=this.pending?d(this.pending,Q):Q,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let Q=this.pending;this.pending=null,this.inflight=this.sendWithRetry(Q).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(Q){let W=Q,Z=0;while(!this.closed){if(await this.config.send(W))return;if(Z++,await U(this.retryDelay(Z)),this.pending&&!this.closed)W=d(W,this.pending),this.pending=null}}retryDelay(Q){let W=Math.min(this.config.baseDelayMs*2**(Q-1),this.config.maxDelayMs),Z=Math.random()*this.config.jitterMs;return W+Z}}function d(Q,W){let Z={...Q};for(let[z,$]of Object.entries(W))if((z==="external_metadata"||z==="internal_metadata")&&Z[z]&&typeof Z[z]==="object"&&typeof $==="object"&&$!==null)Z[z]={...Z[z],...$};else Z[z]=$;return Z}var VQ=20000,YQ=100;function l(){return!0}class M extends Error{reason;constructor(Q){super(`CCRClient init failed: ${Q}`);this.reason=Q}}var XQ=10;function qQ(){return{byMessage:new Map,scopeToMessage:new Map}}function S(Q){return`${Q.session_id}:${Q.parent_tool_use_id??""}`}function wQ(Q,W){let Z=[],z=new Map;for(let $ of Q)switch($.event.type){case"message_start":{let J=$.event.message.id,G=W.scopeToMessage.get(S($));if(G)W.byMessage.delete(G);W.scopeToMessage.set(S($),J),W.byMessage.set(J,[]),Z.push($);break}case"content_block_delta":{if($.event.delta.type!=="text_delta"){Z.push($);break}let J=W.scopeToMessage.get(S($)),G=J?W.byMessage.get(J):void 0;if(!G){Z.push($);break}let X=G[$.event.index]??=[];X.push($.event.delta.text);let q=z.get(X);if(q){q.event.delta.text=X.join("");break}let L={type:"stream_event",uuid:$.uuid,session_id:$.session_id,parent_tool_use_id:$.parent_tool_use_id,event:{type:"content_block_delta",index:$.event.index,delta:{type:"text_delta",text:X.join("")}}};z.set(X,L),Z.push(L);break}default:Z.push($)}return Z}function LQ(Q,W){Q.byMessage.delete(W.message.id);let Z=S(W);if(Q.scopeToMessage.get(Z)===W.message.id)Q.scopeToMessage.delete(Z)}class OQ{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=n({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=qQ();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(Q,W,Z){if(this.onEpochMismatch=Z?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=Z?.heartbeatIntervalMs??VQ,this.heartbeatJitterFraction=Z?.heartbeatJitterFraction??0,this.getAuthHeaders=Z?.getAuthHeaders??E,W.protocol!=="http:"&&W.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${W.protocol}`);let z=W.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${W.protocol}//${W.host}${z}`,this.sessionId=z.split("/").pop()||"",this.workerState=new c({send:($)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...$},"PUT worker").then((J)=>J.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new x({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async($)=>{let J=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:$},"client events");if(!J.ok)throw new T("client event POST failed",J.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new x({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async($)=>{let J=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:$},"internal events");if(!J.ok)throw new T("internal event POST failed",J.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new x({maxBatchSize:64,maxQueueSize:64,send:async($)=>{let J=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:$.map((G)=>({event_id:G.eventId,status:G.status}))},"delivery batch");if(!J.ok)throw new T("delivery POST failed",J.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),Q.setOnEvent(($)=>{this.reportDelivery($.event_id,"received")})}async initialize(Q){let W=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new M("no_auth_headers");if(Q===void 0){let G=process.env.CLAUDE_CODE_WORKER_EPOCH;Q=G?parseInt(G,10):NaN}if(isNaN(Q))throw new M("missing_epoch");this.workerEpoch=Q;let Z=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new M("worker_register_failed");this.currentState="idle",this.startHeartbeat(),o(()=>{this.writeEvent({type:"keep_alive"})}),K(`CCRClient: initialized, epoch=${this.workerEpoch}`),Y("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-W});let{metadata:$,durationMs:J}=await Z;if(!this.closed)Y("info","cli_worker_state_restored",{duration_ms:J,had_state:$!==null});return $}async getWorkerState(){let Q=Date.now(),W=this.getAuthHeaders();if(Object.keys(W).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,W,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-Q}}async request(Q,W,Z,z,{timeout:$=1e4}={}){let J=this.getAuthHeaders();if(Object.keys(J).length===0)return{ok:!1};try{let G=await this.http[Q](`${this.sessionBaseUrl}${W}`,Z,{headers:{...J,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":N()},validateStatus:l,timeout:$});if(G.status>=200&&G.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(G.status===409)this.handleEpochMismatch();if(G.status===401||G.status===403){let X=a(),q=X?f(X):null;if(q!==null&&q*1000<Date.now())K(`CCRClient: session_token expired (exp=${new Date(q*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),Y("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=XQ)K(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),Y("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(K(`CCRClient: ${z} returned ${G.status}`,{level:"warn"}),Y("warn","cli_worker_request_failed",{method:Q,path:W,status:G.status}),G.status===429){let X=G.headers?.["retry-after"],q=typeof X==="string"?parseInt(X,10):NaN;if(!isNaN(q)&&q>=0)return{ok:!1,retryAfterMs:q*1000}}return{ok:!1}}catch(G){return K(`CCRClient: ${z} failed: ${H(G)}`,{level:"warn"}),Y("warn","cli_worker_request_error",{method:Q,path:W,error_code:i(G)}),{ok:!1}}}reportState(Q,W){if(Q===this.currentState&&!W)return;this.currentState=Q,this.workerState.enqueue({worker_status:Q,requires_action_details:W?{tool_name:W.tool_name,action_description:W.action_description,request_id:W.request_id}:null})}reportMetadata(Q){this.workerState.enqueue({external_metadata:Q})}handleEpochMismatch(){K("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),Y("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let Q=()=>{let Z=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(W,this.heartbeatIntervalMs+Z)},W=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;Q()};Q()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)K("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(Q){if(Q.type==="stream_event"){if(this.streamEventBuffer.push(Q),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),YQ);return}if(await this.flushStreamEventBuffer(),Q.type==="assistant")LQ(this.streamTextAccumulator,Q);await this.eventUploader.enqueue(this.toClientEvent(Q))}toClientEvent(Q){let W=Q;return{payload:{...W,uuid:typeof W.uuid==="string"?W.uuid:g()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let Q=this.streamEventBuffer;this.streamEventBuffer=[];let W=wQ(Q,this.streamTextAccumulator);await this.eventUploader.enqueue(W.map((Z)=>({payload:Z,ephemeral:!0})))}async writeInternalEvent(Q,W,{isCompaction:Z=!1,agentId:z}={}){let $={payload:{type:Q,...W,uuid:typeof W.uuid==="string"?W.uuid:g()},...Z&&{is_compaction:!0},...z&&{agent_id:z}};await this.internalEventUploader.enqueue($)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(Q,W,Z){let z=this.getAuthHeaders();if(Object.keys(z).length===0)return null;let $=[],J;do{let G=new URL(`${this.sessionBaseUrl}${Q}`);for(let[q,L]of Object.entries(W))G.searchParams.set(q,L);if(J)G.searchParams.set("cursor",J);let X=await this.getWithRetry(G.toString(),z,Z);if(!X)return null;$.push(...X.data??[]),J=X.next_cursor}while(J);return K(`CCRClient: Read ${$.length} internal events from ${Q}${W.subagents?" (subagents)":""}`),$}async getWithRetry(Q,W,Z){for(let z=1;z<=10;z++){let $;try{$=await this.http.get(Q,{headers:{...W,"anthropic-version":"2023-06-01","User-Agent":N()},validateStatus:l,timeout:30000})}catch(J){if(K(`CCRClient: GET ${Q} failed (attempt ${z}/10): ${H(J)}`,{level:"warn"}),z<10){let G=Math.min(500*2**(z-1),30000)+Math.random()*500;await U(G)}continue}if($.status>=200&&$.status<300)return $.data;if($.status===409)this.handleEpochMismatch();if(K(`CCRClient: GET ${Q} returned ${$.status} (attempt ${z}/10)`,{level:"warn"}),z<10){let J=Math.min(500*2**(z-1),30000)+Math.random()*500;await U(J)}}return K("CCRClient: GET retries exhausted",{level:"error"}),Y("error","cli_worker_get_retries_exhausted",{context:Z}),null}reportDelivery(Q,W){this.deliveryUploader.enqueue({eventId:Q,status:W})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),s(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}jQ();b();h();F();r();I();y();t();var BQ=1000,HQ=30000,UQ=600000,CQ=45000,PQ=new Set([401,403,404]),A=10,TQ=500,NQ=8000,kQ={stream:!0};function xQ(){return!0}function AQ(Q){let W=[],Z=0,z;while((z=Q.indexOf(`
2
-
3
- `,Z))!==-1){let $=Q.slice(Z,z);if(Z=z+2,!$.trim())continue;let J={},G=!1;for(let X of $.split(`
4
- `)){if(X.startsWith(":")){G=!0;continue}let q=X.indexOf(":");if(q===-1)continue;let L=X.slice(0,q),O=X[q+1]===" "?X.slice(q+2):X.slice(q+1);switch(L){case"event":J.event=O;break;case"id":J.id=O;break;case"data":J.data=J.data?J.data+`
5
- `+O:O;break}}if(J.data||G)W.push(J)}return{frames:W,remaining:Q.slice(Z)}}class _Q{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(Q,W={},Z,z,$,J){this.url=Q;if(this.headers=W,this.sessionId=Z,this.refreshHeaders=z,this.getAuthHeaders=J??E,this.postUrl=RQ(Q),$!==void 0&&$>0)this.lastSequenceNum=$;K(`SSETransport: SSE URL = ${Q.href}`),K(`SSETransport: POST URL = ${this.postUrl}`),Y("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){K(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Y("error","cli_sse_connect_failed");return}this.state="reconnecting";let Q=Date.now(),W=new URL(this.url.href);if(this.lastSequenceNum>0)W.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let Z=this.getAuthHeaders(),z={...this.headers,...Z,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":N()};if(Z.Cookie)delete z.Authorization;if(this.lastSequenceNum>0)z["Last-Event-ID"]=String(this.lastSequenceNum);K(`SSETransport: Opening ${W.href}`),Y("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let $=await fetch(W.href,{headers:z,signal:this.abortController.signal});if(!$.ok){let G=PQ.has($.status);if(K(`SSETransport: HTTP ${$.status}${G?" (permanent)":""}`,{level:"error"}),Y("error","cli_sse_connect_http_error",{status:$.status}),G){this.state="closed",this.onCloseCallback?.($.status);return}this.handleConnectionError();return}if(!$.body){K("SSETransport: No response body"),this.handleConnectionError();return}let J=Date.now()-Q;K("SSETransport: Connected"),Y("info","cli_sse_connect_connected",{duration_ms:J}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream($.body)}catch($){if(this.abortController?.signal.aborted)return;K(`SSETransport: Connection error: ${H($)}`,{level:"error"}),Y("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(Q){let W=Q.getReader(),Z=new TextDecoder,z="";try{while(!0){let{done:$,value:J}=await W.read();if($)break;z+=Z.decode(J,kQ);let{frames:G,remaining:X}=AQ(z);z=X;for(let q of G){if(this.resetLivenessTimer(),q.id){let L=parseInt(q.id,10);if(!isNaN(L)){if(this.seenSequenceNums.has(L))K(`SSETransport: DUPLICATE frame seq=${L} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),Y("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(L),this.seenSequenceNums.size>1000){let O=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<O)this.seenSequenceNums.delete(_)}if(L>this.lastSequenceNum)this.lastSequenceNum=L}}if(q.event&&q.data)this.handleSSEFrame(q.event,q.data);else if(q.data)K("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),Y("warn","cli_sse_frame_missing_event_field")}}}catch($){if(this.abortController?.signal.aborted)return;K(`SSETransport: Stream read error: ${H($)}`,{level:"error"}),Y("error","cli_sse_stream_read_error")}finally{W.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")K("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(Q,W){if(Q!=="client_event"){K(`SSETransport: Unexpected SSE event type '${Q}' on worker stream`,{level:"warn"}),Y("warn","cli_sse_unexpected_event_type",{event_type:Q});return}let Z;try{Z=R(W)}catch($){K(`SSETransport: Failed to parse client_event data: ${H($)}`,{level:"error"});return}let z=Z.payload;if(z&&typeof z==="object"&&"type"in z){let $=this.sessionId?` session=${this.sessionId}`:"";K(`SSETransport: Event seq=${Z.sequence_num} event_id=${Z.event_id} event_type=${Z.event_type} payload_type=${String(z.type)}${$}`),Y("info","cli_sse_message_received"),this.onData?.(k(z)+`
6
- `)}else K(`SSETransport: Ignoring client_event with no type in payload: event_id=${Z.event_id}`);this.onEventCallback?.(Z)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;let W=Q-this.reconnectStartTime;if(W<UQ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let $=this.refreshHeaders();Object.assign(this.headers,$),K("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let Z=Math.min(BQ*Math.pow(2,this.reconnectAttempts-1),HQ),z=Math.max(0,Z+Z*0.25*(2*Math.random()-1));K(`SSETransport: Reconnecting in ${Math.round(z)}ms (attempt ${this.reconnectAttempts}, ${Math.round(W/1000)}s elapsed)`),Y("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},z)}else K(`SSETransport: Reconnection time budget exhausted after ${Math.round(W/1000)}s`,{level:"error"}),Y("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:W}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,K("SSETransport: Liveness timeout, reconnecting",{level:"error"}),Y("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,CQ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(Q){let W=this.getAuthHeaders();if(Object.keys(W).length===0){K("SSETransport: No session token available for POST"),Y("warn","cli_sse_post_no_token");return}let Z={...W,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":N()};K(`SSETransport: POST body keys=${Object.keys(Q).join(",")}`);for(let z=1;z<=A;z++){try{let J=await e.post(this.postUrl,Q,{headers:Z,validateStatus:xQ});if(J.status===200||J.status===201){K(`SSETransport: POST success type=${Q.type}`);return}if(K(`SSETransport: POST ${J.status} body=${k(J.data).slice(0,200)}`),J.status>=400&&J.status<500&&J.status!==429){K(`SSETransport: POST returned ${J.status} (client error), not retrying`),Y("warn","cli_sse_post_client_error",{status:J.status});return}K(`SSETransport: POST returned ${J.status}, attempt ${z}/${A}`),Y("warn","cli_sse_post_retryable_error",{status:J.status,attempt:z})}catch(J){K(`SSETransport: POST error: ${J.message}, attempt ${z}/${A}`),Y("warn","cli_sse_post_network_error",{attempt:z})}if(z===A){K(`SSETransport: POST failed after ${A} attempts, continuing`),Y("warn","cli_sse_post_retries_exhausted");return}let $=Math.min(TQ*Math.pow(2,z-1),NQ);await U($)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(Q){this.onData=Q}setOnClose(Q){this.onCloseCallback=Q}setOnEvent(Q){this.onEventCallback=Q}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function RQ(Q){let W=Q.pathname;if(W.endsWith("/stream"))W=W.slice(0,-7);return`${Q.protocol}//${Q.host}${W}`}
7
- export{FQ as D,x as E,M as F,OQ as G,_Q as H};
@@ -1,8 +0,0 @@
1
- import{jna as n}from"./cli-0.1.9-kbrf27z8.mjs";var w=n((p)=>{var r={warningEmitted:!1},a=(e)=>{if(e&&!r.warningEmitted&&parseInt(e.substring(1,e.indexOf(".")))<20)r.warningEmitted=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
2
- no longer support Node.js ${e} in January 2026.
3
-
4
- To continue receiving updates to AWS services, bug fixes, and security
5
- updates please upgrade to a supported Node.js LTS version.
6
-
7
- More information can be found at: https://a.co/c895JFp`)};function o(e,t,s){if(!e.$source)e.$source={};return e.$source[t]=s,e}function u(e,t,s){if(!e.__aws_sdk_context)e.__aws_sdk_context={features:{}};else if(!e.__aws_sdk_context.features)e.__aws_sdk_context.features={};e.__aws_sdk_context.features[t]=s}function i(e,t,s){if(!e.$source)e.$source={};return e.$source[t]=s,e}p.emitWarningIfUnsupportedVersion=a;p.setCredentialFeature=o;p.setFeature=u;p.setTokenFeature=i;p.state=r});
8
- export{w as bna};
@@ -1,21 +0,0 @@
1
- import{En as L,Fn as Z,MH as v,ZG as V,eE as O,fE as $,yH as X}from"./cli-0.1.9-04ez73f7.mjs";import{lna as Y}from"./cli-0.1.9-kbrf27z8.mjs";function W(G){let D=[],H=G.matchAll(y);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
-
3
- IMPORTANT CONTEXT:
4
- - You are a separate, lightweight agent spawned to answer this one question
5
- - The main agent is NOT interrupted - it continues working independently in the background
6
- - You share the conversation context but are a completely separate instance
7
- - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
-
9
- CRITICAL CONSTRAINTS:
10
- - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
- - This is a one-off response - there will be no follow-up turns
12
- - You can ONLY provide information based on what you already know from the conversation context
13
- - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
- - If you don't know the answer, say so - do not offer to look it up or investigate
15
-
16
- Simply answer the question with the information you have.</system-reminder>
17
-
18
- ${G}`,z=await O({promptMessages:[V({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:C(z.messages),usage:z.totalUsage}}function C(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=X(D,`
19
-
20
- `).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${L(H.error)})`;return null}var y;var F=Y(()=>{Z();$();v();y=/^\/btw\b/gi});
21
- export{W as vg,b as wg,F as xg};
@@ -1,2 +0,0 @@
1
- import{Na as Y}from"./cli-0.1.9-w692zn5c.mjs";import{$O as N,aP as C}from"./cli-0.1.9-9vab0er5.mjs";import{U6 as L,W6 as j}from"./cli-0.1.9-86kws2c7.mjs";import{Afa as w,zfa as A}from"./cli-0.1.9-5ryrgdzg.mjs";import{Aga as E,Zfa as B,dga as k,gga as G,jga as K,xga as W}from"./cli-0.1.9-vdw09f8y.mjs";w();C();import{randomUUID as O}from"crypto";E();j();k();K();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return L(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(G(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);A("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${B(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
- export{v as Ha,q as Ia,p as Ja,g as Ka,d as La,R as Ma};
@@ -1,2 +0,0 @@
1
- import{Zaa as W,n7 as R,p7 as U,qba as _}from"./cli-0.1.9-86kws2c7.mjs";import{Aga as G,xga as Q}from"./cli-0.1.9-vdw09f8y.mjs";import{Ega as J,Fga as O,Oga as A}from"./cli-0.1.9-v7ajk1nz.mjs";import{kka as L,pma as $}from"./cli-0.1.9-7fp0smtp.mjs";import{lna as Z}from"./cli-0.1.9-kbrf27z8.mjs";import{spawnSync as I}from"child_process";function N(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let q=process.env.TERM??"";return!q.startsWith("screen")&&!q.startsWith("tmux")}function S(){if(z=N(),z)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let q;try{q=I("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(q.status!==0)return;z=q.stdout.trim()==="1"}function X(){if(z===void 0)S();return z??!1}function P(){z=void 0,B=!1}function V(){if(O(process.env.CLAUDE_CODE_NO_FLICKER))return!1;if(J(process.env.CLAUDE_CODE_NO_FLICKER))return!0;if(X()){if(!B)B=!0,Q("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDE_CODE_NO_FLICKER=1 to override");return!1}let q=W().flickerFreeMode;if(q!==void 0)return q;return!1}function y(){return!J(process.env.CLAUDE_CODE_DISABLE_MOUSE)}function E(){return J(process.env.CLAUDE_CODE_DISABLE_MOUSE_CLICKS)}function k(){return L()&&V()}async function h(){if(!process.env.TMUX)return null;if(!k()||X())return null;if(K)return null;K=!0;let{stdout:q,code:Y}=await R("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(Y!==0||q.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}function v(){B=!1,K=!1}var B=!1,K=!1,z;var w=Z(()=>{$();_();G();A();U()});
2
- export{X as k0,P as l0,V as m0,y as n0,E as o0,k as p0,h as q0,v as r0,w as s0};
@@ -1,2 +0,0 @@
1
- import{Ch as G,Eh as m}from"./cli-0.1.9-7h5my4fb.mjs";import{Fh as H,Gh as C}from"./cli-0.1.9-rw09xkh7.mjs";import{RX as X,TX as Y,YX as R}from"./cli-0.1.9-mme2x7fq.mjs";import{$X as y,_X as k}from"./cli-0.1.9-v6x9pr1t.mjs";import{$0 as E,F4 as f,_0 as w,q4 as B}from"./cli-0.1.9-4sqfjw8t.mjs";import{M5 as W,b6 as I}from"./cli-0.1.9-b6zp931m.mjs";import{Waa as S,Zaa as j,a7 as Q,f7 as x,qba as D}from"./cli-0.1.9-86kws2c7.mjs";import{iea as V,jea as b}from"./cli-0.1.9-7ftnjyps.mjs";import{lna as Z}from"./cli-0.1.9-kbrf27z8.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));G();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await H())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await k(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();m();C();f();E();y();D();x()});
2
- export{i as zh,A as Ah};
@@ -1,2 +0,0 @@
1
- import{IX as K,KX as Z}from"./cli-0.1.9-x7qrvj9f.mjs";import{LX as J,MX as Y}from"./cli-0.1.9-nsgdz4rd.mjs";import{F4 as X,f4 as D,k4 as F,l4 as G,n1 as B,s1 as W}from"./cli-0.1.9-4sqfjw8t.mjs";import{M5 as z,b6 as V}from"./cli-0.1.9-b6zp931m.mjs";import{iea as y,jea as Q}from"./cli-0.1.9-7ftnjyps.mjs";import{lna as N}from"./cli-0.1.9-kbrf27z8.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
2
- export{P as Fh,_ as Gh};
@@ -1,2 +0,0 @@
1
- import{iv as E,kv as G}from"./cli-0.1.9-04ez73f7.mjs";import{xP as A,yP as W}from"./cli-0.1.9-ak0b9xfs.mjs";import{FS as N,UU as U,nU as M,pU as i,tU as v}from"./cli-0.1.9-nw3rpxdd.mjs";import{zX as w}from"./cli-0.1.9-2v4s8yf9.mjs";import{AX as D}from"./cli-0.1.9-hy9s1fnj.mjs";import{dba as S,qba as P}from"./cli-0.1.9-86kws2c7.mjs";import{Afa as L,zfa as h}from"./cli-0.1.9-5ryrgdzg.mjs";import{hna as _,lna as B}from"./cli-0.1.9-kbrf27z8.mjs";function Q(l){let e=T.c(18),{onDone:g,isStandaloneDialog:b,externalIncludes:a}=l,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect($,s);let d;if(e[1]!==g)d=(I)=>{if(I==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),S(Y);else h("tengu_claude_md_external_includes_dialog_accepted",{}),S(R);g()},e[1]=g,e[2]=d;else d=e[2];let o=d,c;if(e[3]!==o)c=()=>{o("no")},e[3]=o,e[4]=c;else c=e[4];let y=c,C=!b,x=!b,u;if(e[5]===Symbol.for("react.memo_cache_sentinel"))u=t.jsxDEV(i,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."},void 0,!1,void 0,this),e[5]=u;else u=e[5];let n;if(e[6]!==a)n=a&&a.length>0&&t.jsxDEV(M,{flexDirection:"column",children:[t.jsxDEV(i,{dimColor:!0,children:"External imports:"},void 0,!1,void 0,this),a.map(O)]},void 0,!0,void 0,this),e[6]=a,e[7]=n;else n=e[7];let m;if(e[8]===Symbol.for("react.memo_cache_sentinel"))m=t.jsxDEV(i,{dimColor:!0,children:["Important: Only use Claude Code with files you trust. Accessing untrusted files may pose security risks"," ",t.jsxDEV(v,{url:"https://code.claude.com/docs/en/security"},void 0,!1,void 0,this)," "]},void 0,!0,void 0,this),e[8]=m;else m=e[8];let p;if(e[9]===Symbol.for("react.memo_cache_sentinel"))p=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=p;else p=e[9];let r;if(e[10]!==o)r=t.jsxDEV(E,{options:p,onChange:(I)=>o(I)},void 0,!1,void 0,this),e[10]=o,e[11]=r;else r=e[11];let f;if(e[12]!==y||e[13]!==r||e[14]!==C||e[15]!==x||e[16]!==n)f=t.jsxDEV(A,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[u,n,m,r]},void 0,!0,void 0,this),e[12]=y,e[13]=r,e[14]=C,e[15]=x,e[16]=n,e[17]=f;else f=e[17];return f}function O(l,e){return t.jsxDEV(i,{dimColor:!0,children:[" ",l.path]},e,!0,void 0,this)}function R(l){return{...l,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function Y(l){return{...l,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function $(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k,t;var q=B(()=>{L();U();P();G();W();T=_(N(),1),k=_(D(),1),t=_(w(),1)});
2
- export{Q as Df,q as Ef};
@@ -1,2 +0,0 @@
1
- import{$r as $,AK as jj,BK as qj,CK as _j,DK as zj,EK as Dj,FK as hj,as as B,bs as bj,wK as e,yK as o,zK as Lj}from"./cli-0.1.9-04ez73f7.mjs";import{B2 as p,C2 as d,D2 as x,F2 as a,F4 as Uj,I2 as b,J2 as n,K2 as i,L2 as Y,M2 as U,Q0 as F,R2 as _,V0 as Zj,V2 as K,W0 as V,X2 as wj,Y0 as $j,c3 as k,i2 as T,i3 as Ej,j2 as c,k2 as r,k4 as w,o2 as Z,p2 as Bj,r4 as s,s2 as m,t2 as Kj,t4 as t,u2 as M,v2 as Tj,y2 as N}from"./cli-0.1.9-4sqfjw8t.mjs";import{Cba as l,Fba as f,Iba as Xj,Zaa as O,caa as g,laa as Vj,oca as C,qba as Wj,tca as Yj,xba as u}from"./cli-0.1.9-86kws2c7.mjs";import{Ija as H,pma as Rj}from"./cli-0.1.9-7fp0smtp.mjs";import{lna as Qj}from"./cli-0.1.9-kbrf27z8.mjs";function Fj(){let j=O(),q=C();if(!q)return[];if(j.additionalModelOptionsCacheScope!==void 0)return j.additionalModelOptionsCacheScope===q?j.additionalModelOptionsCache??[]:[];return q==="firstParty"?j.additionalModelOptionsCache??[]:[]}function R(j=!1){if(w())return{value:null,label:"Default (recommended)",description:n(j)};let q=F()!=="firstParty";return{value:null,label:"Default (recommended)",description:`Use the default model (currently ${i(a())})${q?"":` · ${Z(T)}`}`}}function Hj(){let j=F()!=="firstParty",q=process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;if(j&&q){let D=k(q);return{value:"sonnet",label:process.env.ANTHROPIC_DEFAULT_SONNET_MODEL_NAME??q,description:process.env.ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION??`Custom Sonnet model${D?" (1M context)":""}`,descriptionForModel:`${process.env.ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION??`Custom Sonnet model${D?" with 1M context":""}`} (${q})`}}}function Cj(){let j=F()!=="firstParty";return{value:j?V().sonnet46:"sonnet",label:"Sonnet",description:`Sonnet 4.6 · Best for everyday tasks${j?"":` · ${Z(T)}`}`,descriptionForModel:"Sonnet 4.6 - best for everyday tasks. Generally recommended for most coding tasks"}}function Nj(){let j=F()!=="firstParty",q=process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;if(j&&q){let D=k(q);return{value:"opus",label:process.env.ANTHROPIC_DEFAULT_OPUS_MODEL_NAME??q,description:process.env.ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION??`Custom Opus model${D?" (1M context)":""}`,descriptionForModel:`${process.env.ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION??`Custom Opus model${D?" with 1M context":""}`} (${q})`}}}function xj(){return{value:"opus",label:"Opus 4.1",description:"Opus 4.1 · Legacy",descriptionForModel:"Opus 4.1 - legacy version"}}function y(j=!1){return{value:F()!=="firstParty"?V().opus47:"opus",label:"Opus",description:`Opus 4.7 · Most capable for complex work${Y(j)}`,descriptionForModel:"Opus 4.7 - most capable for complex work"}}function E(j=!1){return{value:V().opus46,label:"Opus 4.6",description:`Opus 4.6 · Previous Opus${Y(j)}`,descriptionForModel:"Opus 4.6 - previous Opus version"}}function I(){let j=F()!=="firstParty";return{value:j?V().sonnet46+"[1m]":"sonnet[1m]",label:"Sonnet (1M context)",description:`Sonnet 4.6 for long sessions${j?"":` · ${Z(T)}`}`,descriptionForModel:"Sonnet 4.6 with 1M context window - for long sessions with large codebases"}}function kj(j=!1){return{value:F()!=="firstParty"?V().opus47+"[1m]":"opus[1m]",label:"Opus (1M context)",description:`Opus 4.7 for long sessions${Y(j)}`,descriptionForModel:"Opus 4.7 with 1M context window - for long sessions with large codebases"}}function yj(j=!1){return{value:V().opus46+"[1m]",label:"Opus 4.6 (1M context)",description:`Opus 4.6 with 1M context · Previous Opus${Y(j)}`,descriptionForModel:"Opus 4.6 with 1M context - previous Opus version"}}function Ij(){let j=F()!=="firstParty",q=process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;if(j&&q)return{value:"haiku",label:process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME??q,description:process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION??"Custom Haiku model",descriptionForModel:`${process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION??"Custom Haiku model"} (${q})`}}function Gj(){return{value:"haiku",label:"Haiku",description:`Haiku 4.5 · Fastest for quick answers${F()!=="firstParty"?"":` · ${Z(r)}`}`,descriptionForModel:"Haiku 4.5 - fastest for quick answers. Lower cost but less capable than Sonnet 4.6."}}function Sj(){return{value:"haiku",label:"Haiku",description:`Haiku 3.5 for simple tasks${F()!=="firstParty"?"":` · ${Z(c)}`}`,descriptionForModel:"Haiku 3.5 - faster and lower cost, but less capable than Sonnet. Use for simple tasks."}}function Aj(){return x()===V().haiku45?Gj():Sj()}function Jj(j=!1){return{value:"opus",label:"Opus",description:`Opus 4.7 · Most capable for complex work${j?Y(!0):""}`}}function S(){let j=F()!=="firstParty";return{value:"sonnet[1m]",label:"Sonnet (1M context)",description:`Sonnet 4.6 with 1M context${w()?" · Billed as extra usage":""}${j?"":` · ${Z(T)}`}`}}function A(j=!1){return{value:"opus[1m]",label:"Opus (1M context)",description:`Opus 4.7 with 1M context${w()?" · Billed as extra usage":""}${Y(j)}`}}function h(j=!1){let q=F()!=="firstParty";return{value:q?V().opus47+"[1m]":"opus[1m]",label:"Opus (1M context)",description:`Opus 4.7 with 1M context · Most capable for complex work${!q&&j?Y(j):""}`,descriptionForModel:"Opus 4.7 with 1M context - most capable for complex work"}}function Pj(){return{value:"opusplan",label:"Opus Plan Mode",description:"Use Opus 4.7 in plan mode, Sonnet 4.6 otherwise"}}function gj(){return{value:"gpt-5.5",label:"gpt-5.5",description:"GPT-5.5 on the Codex backend with high reasoning"}}function Oj(){return{value:"gpt-5.3-codex-spark",label:"gpt-5.3-codex-spark",description:"GPT-5.3 Codex Spark on the Codex backend for fast tool loops"}}function uj(){return[{value:"gpt-5.5",label:"gpt-5.5",description:"GPT-5.5 with high reasoning"},{value:"gpt-5.4",label:"gpt-5.4",description:"GPT-5.4 with high reasoning"},{value:"gpt-5.3-codex",label:"gpt-5.3-codex",description:"GPT-5.3 Codex with high reasoning"},{value:"gpt-5.3-codex-spark",label:"gpt-5.3-codex-spark",description:"GPT-5.3 Codex Spark for fast tool loops"},{value:"codexspark",label:"codexspark",description:"GPT-5.3 Codex Spark alias for fast tool loops"},{value:"gpt-5.2-codex",label:"gpt-5.2-codex",description:"GPT-5.2 Codex with high reasoning"},{value:"gpt-5.1-codex-max",label:"gpt-5.1-codex-max",description:"GPT-5.1 Codex Max for deep reasoning"},{value:"gpt-5.1-codex-mini",label:"gpt-5.1-codex-mini",description:"GPT-5.1 Codex Mini - faster, cheaper"},{value:"gpt-5.5-mini",label:"gpt-5.5-mini",description:"GPT-5.5 Mini - faster, cheaper"},{value:"gpt-5.4-mini",label:"gpt-5.4-mini",description:"GPT-5.4 Mini - faster, cheaper"}]}function lj(){return M().map((j)=>({value:j.id,label:j.name,description:`${j.family}${j.reasoning?" · Reasoning":""}${j.tool_call?" · Tool call":""} · ${Math.round(j.limit.context/1000)}K context`}))}function P(j=!1){if(F()==="github")return[R(j),...lj()];if(F()==="openai"&&e()){let z=R(j),J=o();if(J.length>0)return[z,...J];let L=N()??H();if(L!=null)return[z,{value:L,label:L,description:"Currently configured Ollama model"}];return[z]}if(jj()){let z=R(j),J=qj();if(J.length>0)return[z,...J];return[z]}if(zj()){let z=R(j),J=Dj();if(J.length>0)return[z,...J];return[z]}if(w()){if(s()||t()){let J=[R(j)];if(!U()&&$())J.push(A(j));if(J.push(vj),B())J.push(S());return J.push(E(j)),J.push(v),J}let z=[R(j)];if(B())z.push(S());if(U())z.push(h(j));else if(z.push(Jj(j)),$())z.push(A(j));return z.push(E(j)),z.push(v),z}if(C()?.startsWith("openai:")){let z=f();return[R(j),...z.length>0?z:Fj()]}let q=[];{let z=u();if(z){let J=l(z);q.push(...J)}}if(F()==="firstParty"){let z=[R(j)];if(B())z.push(I());if(U())z.push(h(j));else if(z.push(y(j)),$())z.push(kj(j));return z.push(E(j)),z.push(Gj()),z.push(...q),z}let D=[R(j)];if(F()==="openai"||F()==="codex")D.push(...uj());let G=Hj();if(G!==void 0)D.push(G);else if(D.push(Cj()),B())D.push(I());let Q=Nj();if(Q!==void 0)D.push(Q);else if(D.push(xj()),D.push(E(j)),D.push(y(j)),$())D.push(yj(j));let W=Ij();if(W!==void 0)D.push(W);else D.push(Aj());return D.push(...q),D}function fj(j){let q=b(j);if(q.includes("claude-sonnet-4-6")||q.includes("claude-sonnet-4-5")||q.includes("claude-sonnet-4-")||q.includes("claude-3-7-sonnet")||q.includes("claude-3-5-sonnet")){let D=K(d());if(D)return{alias:"Sonnet",currentVersionName:D}}if(q.includes("claude-opus-4")){let D=K(p());if(D)return{alias:"Opus",currentVersionName:D}}if(q.includes("claude-haiku")||q.includes("claude-3-5-haiku")){let D=K(x());if(D)return{alias:"Haiku",currentVersionName:D}}return null}function cj(j){let q=K(j);if(!q)return null;let D=fj(j);if(!D)return{value:j,label:q,description:j};if(q!==D.currentVersionName)return{value:j,label:q,description:`Newer version available · select ${D.alias} for ${D.currentVersionName}`};return{value:j,label:q,description:j}}function Jq(j=!1){if(F()==="github")return X(P(j));let q=P(j),D=process.env.ANTHROPIC_CUSTOM_MODEL_OPTION;if(D&&!q.some((z)=>z.value===D))q.push({value:D,label:process.env.ANTHROPIC_CUSTOM_MODEL_OPTION_NAME??D,description:process.env.ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION??`Custom model (${D})`});for(let z of Fj())if(!q.some((J)=>J.value===z.value))q.push(z);let G=null,Q=N(),W=H();if(Q!==void 0&&Q!==null)G=Q;else if(W!==null)G=W;if(G===null||q.some((z)=>{if(z.value===G)return!0;if(z.value===null)return!1;try{return b(_(String(z.value)))===b(_(G))}catch{return!1}}))return X(q);else if(G==="opusplan")return X([...q,Pj()]);else if(G==="gpt-5.5")return X([...q,gj()]);else if(G==="gpt-5.3-codex-spark")return X([...q,Oj()]);else if(G==="opus"&&F()==="firstParty")return X([...q,Jj(j)]);else if(G==="opus[1m]"&&F()==="firstParty")return X([...q,h(j)]);else{let z=cj(G);if(z)q.push(z);else q.push({value:G,label:G,description:"Custom model"});return X(q)}}function X(j){let D=!(g()||{}).availableModels?j:j.filter((Q)=>Q.value===null||Q.value!==null&&m(Q.value)),G=new Set;return D.filter((Q)=>{let W=String(Q.value);if(G.has(W))return!1;return G.add(W),!0})}var vj,v;var rj=Qj(()=>{Rj();Yj();Uj();$j();Bj();Vj();bj();Zj();Kj();wj();Ej();Wj();Xj();Lj();_j();hj();Tj();vj={value:"sonnet",label:"Sonnet",description:"Sonnet 4.6 · Best for everyday tasks"},v={value:"haiku",label:"Haiku",description:"Haiku 4.5 · Fastest for quick answers"}});
2
- export{Jq as Tf,rj as Uf};
@@ -1,2 +0,0 @@
1
- import{jna as y}from"./cli-0.1.9-kbrf27z8.mjs";var v=y((x)=>{class s extends Error{name="ProviderError";tryNextLink;constructor(r,t=!0){let n,e=!0;if(typeof t==="boolean")n=void 0,e=t;else if(t!=null&&typeof t==="object")n=t.logger,e=t.tryNextLink??!0;super(r);this.tryNextLink=e,Object.setPrototypeOf(this,s.prototype),n?.debug?.(`@smithy/property-provider ${e?"->":"(!)"} ${r}`)}static from(r,t=!0){return Object.assign(new this(r.message,t),r)}}class f extends s{name="CredentialsProviderError";constructor(r,t=!0){super(r,t);Object.setPrototypeOf(this,f.prototype)}}class l extends s{name="TokenProviderError";constructor(r,t=!0){super(r,t);Object.setPrototypeOf(this,l.prototype)}}var p=(...r)=>async()=>{if(r.length===0)throw new s("No providers in chain");let t;for(let n of r)try{return await n()}catch(e){if(t=e,e?.tryNextLink)continue;throw e}throw t},d=(r)=>()=>Promise.resolve(r),h=(r,t,n)=>{let e,o,i,c=!1,a=async()=>{if(!o)o=r();try{e=await o,i=!0,c=!1}finally{o=void 0}return e};if(t===void 0)return async(u)=>{if(!i||u?.forceRefresh)e=await a();return e};return async(u)=>{if(!i||u?.forceRefresh)e=await a();if(c)return e;if(n&&!n(e))return c=!0,e;if(t(e))return await a(),e;return e}};x.CredentialsProviderError=f;x.ProviderError=s;x.TokenProviderError=l;x.chain=p;x.fromStatic=d;x.memoize=h});
2
- export{v as fna};
@@ -1,3 +0,0 @@
1
- import{aV as d,bV as X,fV as N}from"./cli-0.1.9-mx4ekht0.mjs";import{M5 as O,b6 as p}from"./cli-0.1.9-b6zp931m.mjs";import{Waa as U,X6 as k,Y6 as S,Zaa as G,a7 as B,f7 as f,qba as y}from"./cli-0.1.9-86kws2c7.mjs";import{Yfa as x,dga as b}from"./cli-0.1.9-vdw09f8y.mjs";import{Bga as H,Oga as E}from"./cli-0.1.9-v7ajk1nz.mjs";import{jka as w,pma as P}from"./cli-0.1.9-7fp0smtp.mjs";import{hna as M,lna as R}from"./cli-0.1.9-kbrf27z8.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(k())return;let J=await O.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
- `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{p();P();y();E();b();f();S();N();T=M(d(),1)});
3
- export{zq as Be,Jq as Ce,C as De,h as Ee,Kq as Fe,Qq as Ge,g as He};
@@ -1,2 +0,0 @@
1
- import{G5 as Z,K5 as _,L5 as w}from"./cli-0.1.9-8egwvs85.mjs";import{K7 as $,V8 as k,Waa as W,Zaa as V,i8 as T,p9 as D,qba as j,y7 as Y,z7 as U}from"./cli-0.1.9-86kws2c7.mjs";import{Aga as M,xga as N}from"./cli-0.1.9-vdw09f8y.mjs";import{Cia as X,pma as O}from"./cli-0.1.9-7fp0smtp.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
- export{b as L,y as M,P as N,d as O,c as P};
@@ -1,2 +0,0 @@
1
- import{lna as K}from"./cli-0.1.9-kbrf27z8.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
- export{M as Pga,N as Qga,Q as Rga,R as Sga,S as Tga,L as Uga};
@@ -1,2 +0,0 @@
1
- import{lna as B}from"./cli-0.1.9-kbrf27z8.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
- export{F as Hh,C as Ih};
@@ -1,2 +0,0 @@
1
- import{of as f,tf as c}from"./cli-0.1.9-j5zz6gbq.mjs";import{uf as F,wf as s}from"./cli-0.1.9-3h4serkj.mjs";import{$I as l,$i as B,Ay as M,Az as W,By as d,Bz as C,Er as V,Fr as g,GA as j,HA as n,Li as Z,Tt as E,Vt as m,Yi as P,ZI as R,ZK as u,Zi as _,_i as $,aj as N,bj as D,hL as t,iA as b,iF as G,jA as h,lF as o,oE as x,om as U,pE as i,pm as p,ri as Y,rx as L,si as A,wx as S}from"./cli-0.1.9-04ez73f7.mjs";import{F5 as Q,L5 as k}from"./cli-0.1.9-8egwvs85.mjs";import{T8 as X,U8 as v,s7 as O,z7 as I}from"./cli-0.1.9-86kws2c7.mjs";import{Lla as J,Xla as K,pma as T}from"./cli-0.1.9-7fp0smtp.mjs";import{lna as y,mna as w}from"./cli-0.1.9-kbrf27z8.mjs";function Mq(H=new Set){let z=H.size>0;if(N.cache.clear?.(),B.cache.clear?.(),$.cache.clear?.(),Y.cache.clear?.(),f(),u(),!z)U();if(_(null),K(null),x(),G(),Z("session_start"),E(),X.clear(),M(),!z)L();if(Q(),R(),!z)V();J(H),O(),j(),W(),F(),b(),import("./utils-0.1.9-bqw30f8b.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-0.1.9-n40whaty.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-0.1.9-3m0mzw84.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-0.1.9-08fnpwfx.mjs").then(({clearPromptCache:q})=>q())}var r=y(()=>{T();t();A();D();c();S();g();p();d();i();C();s();n();o();l();P();k();I();v();m();h()});
2
- export{Mq as lf,r as mf};
@@ -1,2 +0,0 @@
1
- import{bna as p}from"./cli-0.1.9-r7rcv2wm.mjs";import{fna as a}from"./cli-0.1.9-s6bk4fbn.mjs";import{jna as i}from"./cli-0.1.9-kbrf27z8.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
2
- export{u as c5};
@@ -1,11 +0,0 @@
1
- import{nea as x}from"./cli-0.1.9-45ggwszg.mjs";import{Jea as s,xea as p}from"./cli-0.1.9-wpvrabrk.mjs";import{pma as r}from"./cli-0.1.9-7fp0smtp.mjs";import{lna as n}from"./cli-0.1.9-kbrf27z8.mjs";var c="ToolSearch";var h=()=>{};function S(){return p("tengu_glacier_2xr",!1)?"Deferred tools appear by name in <system-reminder> messages.":"Deferred tools appear by name in <available-deferred-tools> messages."}function y(O){if(O.alwaysLoad===!0)return!1;if(O.isMcp===!0)return!0;if(O.name===c)return!1;return O.shouldDefer===!0}function z(O){return O.name}function G(){return N+S()+b}var N=`Fetches full schema definitions for deferred tools so they can be called.
2
-
3
- `,b=` Until fetched, only the name is known — there is no parameter schema, so the tool cannot be invoked. This tool takes a query, matches it against the deferred tool list, and returns the matched tools' complete JSONSchema definitions inside a <functions> block. Once a tool's schema appears in that result, it is callable exactly like any tool defined at the top of the prompt.
4
-
5
- Result format: each matched tool appears as one <function>{"description": "...", "name": "...", "parameters": {...}}</function> line inside the <functions> block — the same encoding as the tool list at the top of this prompt.
6
-
7
- Query forms:
8
- - "select:Read,Edit,Grep" — fetch these exact tools by name
9
- - "notebook jupyter" — keyword search, up to max_results best matches
10
- - "+slack send" — require "slack" in the name, rank by remaining terms`;var d=n(()=>{r();s();x();h();h()});
11
- export{c as zV,y as AV,z as BV,G as CV,d as DV};
@@ -1,2 +0,0 @@
1
- import{n7 as z,p7 as G}from"./cli-0.1.9-86kws2c7.mjs";import{lna as D}from"./cli-0.1.9-kbrf27z8.mjs";function H(k){let g;try{g=new URL(k)}catch(A){throw Error(`Invalid URL format: ${k}`)}if(g.protocol!=="http:"&&g.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${g.protocol}`)}async function K(k){try{let g=process.platform;if(g==="win32"){let{code:C}=await z("explorer",[k]);return C===0}let A=g==="darwin"?"open":"xdg-open",{code:B}=await z(A,[k]);return B===0}catch(g){return!1}}async function L(k){try{H(k);let g=process.env.BROWSER,A=process.platform;if(A==="win32"){if(g){let{code:C}=await z(g,[`"${k}"`]);return C===0}let{code:B}=await z("rundll32",["url,OpenURL",k],{});return B===0}else{let B=g||(A==="darwin"?"open":"xdg-open"),{code:C}=await z(B,[k]);return C===0}}catch(g){return!1}}var I=D(()=>{G()});
2
- export{K as ZX,L as _X,I as $X};
@@ -1,2 +0,0 @@
1
- import{Oma as M,Pma as Y}from"./cli-0.1.9-1ghbcafn.mjs";import{lna as W}from"./cli-0.1.9-kbrf27z8.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudio").normalize("NFC")}function N(){return process.env.CLAUDIO_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIO_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
- export{X as Bga,_ as Cga,j as Dga,U as Ega,I as Fga,S as Gga,T as Hga,c as Iga,L as Jga,w as Kga,z as Lga,O as Mga,x as Nga,k as Oga};