@claudiolabs/claudin 1.0.6 → 1.0.7

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 (906) hide show
  1. package/dist/chunks/AgentTool-1.0.7-syk5wnkb.mjs +1 -0
  2. package/dist/chunks/App-1.0.7-9xht4gsa.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.0.7-dnv7dmn7.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.0.7-q24ws7x8.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.0.7-e3kma94j.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.0.7-2m1y9b7f.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.7-1gpcb873.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.0.7-pyrnmhtt.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.0.7-whkynyby.mjs +7 -0
  10. package/dist/chunks/Doctor-1.0.7-3yedapcw.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.0.7-99ytgtp8.mjs +6 -0
  12. package/dist/chunks/Grove-1.0.7-c6wygjxb.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.0.7-a8a42yx1.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.0.7-0e1f33ss.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.0.7-141f7djg.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.0.7-scbcqde5.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.0.7-9f7rpy9p.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.0.7-6mjnccee.mjs +1 -0
  19. package/dist/chunks/REPL-1.0.7-3xhews8d.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.0.7-qq2sfpfr.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.0.7-x9djv2x5.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.0.7-f6caprdb.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.0.7-b511561j.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.0.7-9twx384a.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.0.7-x3j2hxpn.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.0.7-1y7h6yxr.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.0.7-na359dm9.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.0.7-2vx6krky.mjs +1 -0
  29. package/dist/chunks/add-dir-1.0.7-r9eb0fmb.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.0.7-v46w2p6e.mjs +1 -0
  31. package/dist/chunks/agents-1.0.7-ekjscjc4.mjs +3 -0
  32. package/dist/chunks/agents-1.0.7-v22jz68n.mjs +110 -0
  33. package/dist/chunks/api-1.0.7-v520kz7p.mjs +1 -0
  34. package/dist/chunks/asciicast-1.0.7-r61pgxmk.mjs +1 -0
  35. package/dist/chunks/assistant-1.0.7-c12zzeyg.mjs +1 -0
  36. package/dist/chunks/auth-1.0.7-gv0th62c.mjs +1 -0
  37. package/dist/chunks/auth-1.0.7-y9sxvs6e.mjs +1 -0
  38. package/dist/chunks/autoMode-1.0.7-yq0m3sf6.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.0.7-6fqzjxwg.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.0.7-7mzhb52b.mjs +1 -0
  41. package/dist/chunks/branch-1.0.7-66ms82bv.mjs +4 -0
  42. package/dist/chunks/bridge-1.0.7-cd3w20b9.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.0.7-wztmwmxc.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.0.7-046e65f0.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.0.7-knt8h92j.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.0.7-v2crbecf.mjs +1 -0
  47. package/dist/chunks/btw-1.0.7-eg973xg5.mjs +1 -0
  48. package/dist/chunks/buddy-1.0.7-ypvr18ck.mjs +3 -0
  49. package/dist/chunks/cacache-1.0.7-0tzh2dcw.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.0.7-hhfr94gj.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.0.7-51t2bh05.mjs +4 -0
  52. package/dist/chunks/caches-1.0.7-mvqghhkx.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.0.7-1mrhcxq6.mjs +1 -0
  54. package/dist/chunks/claudemd-1.0.7-kgynnx5a.mjs +1 -0
  55. package/dist/chunks/clear-1.0.7-08jf28zt.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.0.7-z4gkskcj.mjs +1 -0
  57. package/dist/chunks/cli-1.0.7-01cbaw74.mjs +2 -0
  58. package/dist/chunks/cli-1.0.7-05enwpnp.mjs +2 -0
  59. package/dist/chunks/cli-1.0.7-073ekpkk.mjs +21 -0
  60. package/dist/chunks/cli-1.0.7-0dmnsy4c.mjs +2 -0
  61. package/dist/chunks/cli-1.0.7-0qbp0ac0.mjs +17 -0
  62. package/dist/chunks/cli-1.0.7-15qvkn0q.mjs +15 -0
  63. package/dist/chunks/cli-1.0.7-16wdg8r0.mjs +18 -0
  64. package/dist/chunks/cli-1.0.7-1fwxyw8s.mjs +2 -0
  65. package/dist/chunks/cli-1.0.7-1j68v2d8.mjs +3 -0
  66. package/dist/chunks/cli-1.0.7-1mkaw3aw.mjs +2 -0
  67. package/dist/chunks/cli-1.0.7-1r1y3a1c.mjs +2 -0
  68. package/dist/chunks/cli-1.0.7-1rw3xdy0.mjs +58 -0
  69. package/dist/chunks/cli-1.0.7-1s12ckef.mjs +2 -0
  70. package/dist/chunks/cli-1.0.7-1sgef4sw.mjs +2 -0
  71. package/dist/chunks/cli-1.0.7-1ty38mre.mjs +2 -0
  72. package/dist/chunks/cli-1.0.7-1xe7m9s1.mjs +4 -0
  73. package/dist/chunks/cli-1.0.7-1y8xdp9n.mjs +2 -0
  74. package/dist/chunks/cli-1.0.7-2438cvr1.mjs +3 -0
  75. package/dist/chunks/cli-1.0.7-2cajdt14.mjs +2 -0
  76. package/dist/chunks/cli-1.0.7-2csh6jt3.mjs +2 -0
  77. package/dist/chunks/cli-1.0.7-2k1bt916.mjs +2 -0
  78. package/dist/chunks/cli-1.0.7-2pyjzmpq.mjs +2 -0
  79. package/dist/chunks/cli-1.0.7-2wm3s497.mjs +2 -0
  80. package/dist/chunks/cli-1.0.7-2xw882yk.mjs +2 -0
  81. package/dist/chunks/cli-1.0.7-39nnxy0p.mjs +2 -0
  82. package/dist/chunks/cli-1.0.7-3arv8y4s.mjs +12 -0
  83. package/dist/chunks/cli-1.0.7-3fx5xqzq.mjs +2 -0
  84. package/dist/chunks/cli-1.0.7-3ke0fbeq.mjs +6 -0
  85. package/dist/chunks/cli-1.0.7-3kmf6s21.mjs +67 -0
  86. package/dist/chunks/cli-1.0.7-3p608q44.mjs +2 -0
  87. package/dist/chunks/cli-1.0.7-3pqhf5bj.mjs +4 -0
  88. package/dist/chunks/cli-1.0.7-3qnpcgyc.mjs +2 -0
  89. package/dist/chunks/cli-1.0.7-3s41c41h.mjs +20 -0
  90. package/dist/chunks/cli-1.0.7-3s4ccas2.mjs +2 -0
  91. package/dist/chunks/cli-1.0.7-3xrc45nn.mjs +2 -0
  92. package/dist/chunks/cli-1.0.7-3z1z90gf.mjs +4 -0
  93. package/dist/chunks/cli-1.0.7-41jm6paw.mjs +2 -0
  94. package/dist/chunks/cli-1.0.7-45px4q2q.mjs +12 -0
  95. package/dist/chunks/cli-1.0.7-4a67zfe7.mjs +2 -0
  96. package/dist/chunks/cli-1.0.7-4qwjg996.mjs +2 -0
  97. package/dist/chunks/cli-1.0.7-538yatrk.mjs +2 -0
  98. package/dist/chunks/cli-1.0.7-5f0y2nxn.mjs +2 -0
  99. package/dist/chunks/cli-1.0.7-5h2vgm7b.mjs +2 -0
  100. package/dist/chunks/cli-1.0.7-5kc9g0m9.mjs +3 -0
  101. package/dist/chunks/cli-1.0.7-5rxjz9r1.mjs +2 -0
  102. package/dist/chunks/cli-1.0.7-65xw81pn.mjs +7 -0
  103. package/dist/chunks/cli-1.0.7-67z7m1zx.mjs +15 -0
  104. package/dist/chunks/cli-1.0.7-6ncp8ban.mjs +2 -0
  105. package/dist/chunks/cli-1.0.7-6r3vkkzw.mjs +2 -0
  106. package/dist/chunks/cli-1.0.7-6wm7jzey.mjs +2 -0
  107. package/dist/chunks/cli-1.0.7-6yr2e385.mjs +2 -0
  108. package/dist/chunks/cli-1.0.7-73e5dz55.mjs +2 -0
  109. package/dist/chunks/cli-1.0.7-757ex32c.mjs +199 -0
  110. package/dist/chunks/cli-1.0.7-7egbzjdg.mjs +12 -0
  111. package/dist/chunks/cli-1.0.7-7gmv86pv.mjs +25 -0
  112. package/dist/chunks/cli-1.0.7-7qm9503t.mjs +4 -0
  113. package/dist/chunks/cli-1.0.7-7xhry9cz.mjs +8 -0
  114. package/dist/chunks/cli-1.0.7-7yrvwwdb.mjs +2 -0
  115. package/dist/chunks/cli-1.0.7-84dx5y2m.mjs +2 -0
  116. package/dist/chunks/cli-1.0.7-8fj15s8a.mjs +2 -0
  117. package/dist/chunks/cli-1.0.7-8hepstgz.mjs +2 -0
  118. package/dist/chunks/cli-1.0.7-8pfh7aha.mjs +2 -0
  119. package/dist/chunks/cli-1.0.7-96mb1gmj.mjs +2 -0
  120. package/dist/chunks/cli-1.0.7-96qpk0ct.mjs +2 -0
  121. package/dist/chunks/cli-1.0.7-97fqbfff.mjs +2 -0
  122. package/dist/chunks/cli-1.0.7-9p7hfa00.mjs +2 -0
  123. package/dist/chunks/cli-1.0.7-9pc6jb5f.mjs +2 -0
  124. package/dist/chunks/cli-1.0.7-9ws1j17m.mjs +2 -0
  125. package/dist/chunks/cli-1.0.7-a32vv8nk.mjs +2 -0
  126. package/dist/chunks/cli-1.0.7-a78rj0kd.mjs +9 -0
  127. package/dist/chunks/cli-1.0.7-a7fahcda.mjs +2 -0
  128. package/dist/chunks/cli-1.0.7-a808xdj3.mjs +3 -0
  129. package/dist/chunks/cli-1.0.7-aa7vfbxa.mjs +2 -0
  130. package/dist/chunks/cli-1.0.7-af1m1akw.mjs +2 -0
  131. package/dist/chunks/cli-1.0.7-akbc4ch3.mjs +2 -0
  132. package/dist/chunks/cli-1.0.7-an2jwvew.mjs +9 -0
  133. package/dist/chunks/cli-1.0.7-anrcmph3.mjs +3 -0
  134. package/dist/chunks/cli-1.0.7-av93xde0.mjs +2 -0
  135. package/dist/chunks/cli-1.0.7-b16t7f1a.mjs +2 -0
  136. package/dist/chunks/cli-1.0.7-b2pf78c9.mjs +2 -0
  137. package/dist/chunks/cli-1.0.7-b778v1dh.mjs +2 -0
  138. package/dist/chunks/cli-1.0.7-baqj15a8.mjs +2 -0
  139. package/dist/chunks/cli-1.0.7-bfe6f9c6.mjs +2 -0
  140. package/dist/chunks/cli-1.0.7-bkm2xek7.mjs +2 -0
  141. package/dist/chunks/cli-1.0.7-bn0sb2w7.mjs +2 -0
  142. package/dist/chunks/cli-1.0.7-c8kxp6h0.mjs +2 -0
  143. package/dist/chunks/cli-1.0.7-cb42m3ff.mjs +2 -0
  144. package/dist/chunks/cli-1.0.7-cf47wta1.mjs +2 -0
  145. package/dist/chunks/cli-1.0.7-cs7epg9a.mjs +2 -0
  146. package/dist/chunks/cli-1.0.7-d1zc020r.mjs +133 -0
  147. package/dist/chunks/cli-1.0.7-d3txxwh5.mjs +2 -0
  148. package/dist/chunks/cli-1.0.7-dbyr517p.mjs +4 -0
  149. package/dist/chunks/cli-1.0.7-ddhhvx60.mjs +2 -0
  150. package/dist/chunks/cli-1.0.7-df9p9tj8.mjs +24 -0
  151. package/dist/chunks/cli-1.0.7-dhdv7vtc.mjs +50 -0
  152. package/dist/chunks/cli-1.0.7-dnn18rgf.mjs +2 -0
  153. package/dist/chunks/cli-1.0.7-dr2dca7n.mjs +2 -0
  154. package/dist/chunks/cli-1.0.7-f43w1f9g.mjs +42 -0
  155. package/dist/chunks/cli-1.0.7-f6490vr3.mjs +2 -0
  156. package/dist/chunks/cli-1.0.7-fcfrsawp.mjs +2 -0
  157. package/dist/chunks/cli-1.0.7-fckzct0z.mjs +2 -0
  158. package/dist/chunks/cli-1.0.7-ff6dfmp3.mjs +2 -0
  159. package/dist/chunks/cli-1.0.7-fmdws8pg.mjs +2 -0
  160. package/dist/chunks/cli-1.0.7-fvr9xx0m.mjs +2 -0
  161. package/dist/chunks/cli-1.0.7-g1hrx2r5.mjs +18 -0
  162. package/dist/chunks/cli-1.0.7-g42rsvs5.mjs +2 -0
  163. package/dist/chunks/cli-1.0.7-g6d9snde.mjs +3 -0
  164. package/dist/chunks/cli-1.0.7-ga6hk3n2.mjs +3 -0
  165. package/dist/chunks/cli-1.0.7-ghxmw318.mjs +2 -0
  166. package/dist/chunks/cli-1.0.7-gj1806bk.mjs +2 -0
  167. package/dist/chunks/cli-1.0.7-gk53nva2.mjs +2 -0
  168. package/dist/chunks/cli-1.0.7-gnwjbdch.mjs +2 -0
  169. package/dist/chunks/cli-1.0.7-gp71tfwe.mjs +2 -0
  170. package/dist/chunks/cli-1.0.7-gq9fp39n.mjs +2 -0
  171. package/dist/chunks/cli-1.0.7-gqf40mqk.mjs +24 -0
  172. package/dist/chunks/cli-1.0.7-h1g9rk4g.mjs +4 -0
  173. package/dist/chunks/cli-1.0.7-hd6xn6rt.mjs +2 -0
  174. package/dist/chunks/cli-1.0.7-hfcehnx9.mjs +3 -0
  175. package/dist/chunks/cli-1.0.7-hw8dxgj2.mjs +2 -0
  176. package/dist/chunks/cli-1.0.7-j31m0f1y.mjs +2 -0
  177. package/dist/chunks/cli-1.0.7-j6hxvf4r.mjs +2 -0
  178. package/dist/chunks/cli-1.0.7-j6ndkfy3.mjs +2 -0
  179. package/dist/chunks/cli-1.0.7-jn7nay2r.mjs +2 -0
  180. package/dist/chunks/cli-1.0.7-jz4phmb3.mjs +3 -0
  181. package/dist/chunks/cli-1.0.7-k38j6sgc.mjs +2 -0
  182. package/dist/chunks/cli-1.0.7-k3nnbdbv.mjs +2 -0
  183. package/dist/chunks/cli-1.0.7-kegj01e5.mjs +133 -0
  184. package/dist/chunks/cli-1.0.7-kf237s65.mjs +2 -0
  185. package/dist/chunks/cli-1.0.7-kgbv7bt5.mjs +17 -0
  186. package/dist/chunks/cli-1.0.7-khd0yqhk.mjs +2 -0
  187. package/dist/chunks/cli-1.0.7-m17d94h8.mjs +2 -0
  188. package/dist/chunks/cli-1.0.7-mcmpb4cd.mjs +2 -0
  189. package/dist/chunks/cli-1.0.7-mv7ptsre.mjs +2 -0
  190. package/dist/chunks/cli-1.0.7-mwj9f8rw.mjs +59 -0
  191. package/dist/chunks/cli-1.0.7-mznh91ce.mjs +2 -0
  192. package/dist/chunks/cli-1.0.7-n5hf2vsh.mjs +2 -0
  193. package/dist/chunks/cli-1.0.7-na7ksfyj.mjs +2 -0
  194. package/dist/chunks/cli-1.0.7-nhg85avf.mjs +2 -0
  195. package/dist/chunks/cli-1.0.7-nnd4za11.mjs +3 -0
  196. package/dist/chunks/cli-1.0.7-p4p38dky.mjs +3 -0
  197. package/dist/chunks/cli-1.0.7-p5setvdk.mjs +2 -0
  198. package/dist/chunks/cli-1.0.7-ph9qjcjb.mjs +2 -0
  199. package/dist/chunks/cli-1.0.7-pxmf9kyf.mjs +2 -0
  200. package/dist/chunks/cli-1.0.7-pyacw9kn.mjs +5 -0
  201. package/dist/chunks/cli-1.0.7-q3ezj6q3.mjs +2 -0
  202. package/dist/chunks/cli-1.0.7-q7w0ex1x.mjs +2 -0
  203. package/dist/chunks/cli-1.0.7-qdtt526e.mjs +2 -0
  204. package/dist/chunks/cli-1.0.7-qjtqaam0.mjs +2 -0
  205. package/dist/chunks/cli-1.0.7-qknq8k3p.mjs +2 -0
  206. package/dist/chunks/cli-1.0.7-qmm35cv2.mjs +39 -0
  207. package/dist/chunks/cli-1.0.7-qxjpkptr.mjs +2 -0
  208. package/dist/chunks/cli-1.0.7-r4h75bn4.mjs +2 -0
  209. package/dist/chunks/cli-1.0.7-rbrr75z2.mjs +2 -0
  210. package/dist/chunks/cli-1.0.7-rz8h7nks.mjs +2 -0
  211. package/dist/chunks/cli-1.0.7-s11nkveb.mjs +24 -0
  212. package/dist/chunks/cli-1.0.7-s27f8y4p.mjs +2 -0
  213. package/dist/chunks/cli-1.0.7-s5mhxbhn.mjs +5476 -0
  214. package/dist/chunks/cli-1.0.7-s6jjnyxd.mjs +2 -0
  215. package/dist/chunks/cli-1.0.7-s8e8tq3y.mjs +2 -0
  216. package/dist/chunks/cli-1.0.7-sjpx2md1.mjs +2 -0
  217. package/dist/chunks/cli-1.0.7-skm59maw.mjs +2 -0
  218. package/dist/chunks/cli-1.0.7-sv4vj25b.mjs +2 -0
  219. package/dist/chunks/cli-1.0.7-t8m8vafg.mjs +4 -0
  220. package/dist/chunks/cli-1.0.7-tf8b1vhx.mjs +2 -0
  221. package/dist/chunks/cli-1.0.7-tvz0kwb6.mjs +25 -0
  222. package/dist/chunks/cli-1.0.7-txhggtd1.mjs +16 -0
  223. package/dist/chunks/cli-1.0.7-tz22r50p.mjs +2 -0
  224. package/dist/chunks/cli-1.0.7-vcsdnmc0.mjs +2 -0
  225. package/dist/chunks/cli-1.0.7-veqj11zy.mjs +3 -0
  226. package/dist/chunks/cli-1.0.7-vjgedfc4.mjs +2 -0
  227. package/dist/chunks/cli-1.0.7-vtd2sbnq.mjs +3 -0
  228. package/dist/chunks/cli-1.0.7-vw4n13wr.mjs +2 -0
  229. package/dist/chunks/cli-1.0.7-vx0rcgfm.mjs +2 -0
  230. package/dist/chunks/cli-1.0.7-w3g8c9m3.mjs +18 -0
  231. package/dist/chunks/cli-1.0.7-wahp9jjm.mjs +5 -0
  232. package/dist/chunks/cli-1.0.7-wc28nq81.mjs +6 -0
  233. package/dist/chunks/cli-1.0.7-wc4y0k3e.mjs +12 -0
  234. package/dist/chunks/cli-1.0.7-wgt5ay2x.mjs +6 -0
  235. package/dist/chunks/cli-1.0.7-wk9hs648.mjs +2 -0
  236. package/dist/chunks/cli-1.0.7-wmrv4paj.mjs +45 -0
  237. package/dist/chunks/cli-1.0.7-wqrgw4kw.mjs +2 -0
  238. package/dist/chunks/cli-1.0.7-ws7404wd.mjs +2 -0
  239. package/dist/chunks/cli-1.0.7-wwy64zs8.mjs +4 -0
  240. package/dist/chunks/cli-1.0.7-xdt2g9p7.mjs +2 -0
  241. package/dist/chunks/cli-1.0.7-xga48xv7.mjs +2 -0
  242. package/dist/chunks/cli-1.0.7-xh0afj9p.mjs +2 -0
  243. package/dist/chunks/cli-1.0.7-xhb3g1xh.mjs +2 -0
  244. package/dist/chunks/cli-1.0.7-xtj9j6ha.mjs +15 -0
  245. package/dist/chunks/cli-1.0.7-xvhkprcw.mjs +2 -0
  246. package/dist/chunks/cli-1.0.7-xxa9e3we.mjs +4 -0
  247. package/dist/chunks/cli-1.0.7-y8sq6jh3.mjs +4 -0
  248. package/dist/chunks/cli-1.0.7-y94dd4yd.mjs +2 -0
  249. package/dist/chunks/cli-1.0.7-yatztvfp.mjs +2 -0
  250. package/dist/chunks/cli-1.0.7-yb9sxq0k.mjs +2 -0
  251. package/dist/chunks/cli-1.0.7-ybcht1kp.mjs +2 -0
  252. package/dist/chunks/cli-1.0.7-yc90byps.mjs +34 -0
  253. package/dist/chunks/cli-1.0.7-yyqg2waz.mjs +2 -0
  254. package/dist/chunks/cli-1.0.7-z53gtmpk.mjs +6 -0
  255. package/dist/chunks/cli-1.0.7-z5vgrn57.mjs +2 -0
  256. package/dist/chunks/cli-1.0.7-z9fvy0d8.mjs +2 -0
  257. package/dist/chunks/cli-1.0.7-zjapdrt8.mjs +6 -0
  258. package/dist/chunks/cli-1.0.7-zmqm6p6t.mjs +2 -0
  259. package/dist/chunks/cli-1.0.7-zsbst1mq.mjs +1 -0
  260. package/dist/chunks/cli-1.0.7-zwr4ga8c.mjs +2 -0
  261. package/dist/chunks/client-1.0.7-n8414pey.mjs +1 -0
  262. package/dist/chunks/color-1.0.7-99fmrmyq.mjs +1 -0
  263. package/dist/chunks/compact-1.0.7-91sa41px.mjs +3 -0
  264. package/dist/chunks/config-1.0.7-bjt981nd.mjs +1 -0
  265. package/dist/chunks/config-1.0.7-vfbd76cq.mjs +1 -0
  266. package/dist/chunks/constants-1.0.7-fj97y7dq.mjs +1 -0
  267. package/dist/chunks/context-1.0.7-qmktq4pg.mjs +1 -0
  268. package/dist/chunks/context-noninteractive-1.0.7-w9828p3h.mjs +1 -0
  269. package/dist/chunks/conversation-1.0.7-d5q8rrwx.mjs +1 -0
  270. package/dist/chunks/copilotHeaders-1.0.7-mhsm6qwp.mjs +1 -0
  271. package/dist/chunks/copy-1.0.7-hznd9dqf.mjs +9 -0
  272. package/dist/chunks/cost-1.0.7-hbpz16jx.mjs +1 -0
  273. package/dist/chunks/createSSHSession-1.0.7-5s4sy0qv.mjs +1 -0
  274. package/dist/chunks/createSession-1.0.7-mha5sscw.mjs +1 -0
  275. package/dist/chunks/debug-1.0.7-6kcgjwgp.mjs +1 -0
  276. package/dist/chunks/defaultActionDeps-1.0.7-5x2a3qnr.mjs +1446 -0
  277. package/dist/chunks/desktop-1.0.7-37m19pef.mjs +1 -0
  278. package/dist/chunks/detectRepository-1.0.7-3ffa7wfs.mjs +1 -0
  279. package/dist/chunks/detection-1.0.7-bcwz3kz9.mjs +1 -0
  280. package/dist/chunks/diff-1.0.7-60vwaapm.mjs +1 -0
  281. package/dist/chunks/doctor-1.0.7-bc3r1p04.mjs +1 -0
  282. package/dist/chunks/doctorDiagnostic-1.0.7-qe18rzqr.mjs +1 -0
  283. package/dist/chunks/earlyInput-1.0.7-51cxad4b.mjs +1 -0
  284. package/dist/chunks/effort-1.0.7-mckjwtdk.mjs +10 -0
  285. package/dist/chunks/engine-1.0.7-1kqhk6mc.mjs +1 -0
  286. package/dist/chunks/envLessBridgeConfig-1.0.7-hbpge4a8.mjs +1 -0
  287. package/dist/chunks/envUtils-1.0.7-m63cpkg3.mjs +1 -0
  288. package/dist/chunks/environmentSelection-1.0.7-kg2xnt7t.mjs +1 -0
  289. package/dist/chunks/environments-1.0.7-jcrcam7e.mjs +1 -0
  290. package/dist/chunks/errors-1.0.7-vhtw6kg6.mjs +1 -0
  291. package/dist/chunks/exampleCommands-1.0.7-f254y3tf.mjs +1 -0
  292. package/dist/chunks/exit-1.0.7-f5s73g22.mjs +1 -0
  293. package/dist/chunks/explorer-1.0.7-yjpphptq.mjs +1 -0
  294. package/dist/chunks/export-1.0.7-7kn40p9m.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.0.7-xwb7xfe4.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.0.7-0dpsjjh0.mjs +1 -0
  297. package/dist/chunks/fast-1.0.7-9eg9g1mf.mjs +1 -0
  298. package/dist/chunks/feedback-1.0.7-kkw4fdj8.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.0.7-yaekw6be.mjs +1 -0
  300. package/dist/chunks/git-1.0.7-t3824xkx.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.0.7-m79e1ga1.mjs +1 -0
  302. package/dist/chunks/goal-1.0.7-jkmcdmm1.mjs +4 -0
  303. package/dist/chunks/grove-1.0.7-th5kn0n5.mjs +1 -0
  304. package/dist/chunks/growthbook-1.0.7-hnr2hv9t.mjs +1 -0
  305. package/dist/chunks/headless-1.0.7-2w17kqac.mjs +2 -0
  306. package/dist/chunks/heapdump-1.0.7-1qvsds14.mjs +6 -0
  307. package/dist/chunks/help-1.0.7-33ennxwb.mjs +1 -0
  308. package/dist/chunks/hookChains-1.0.7-8gt4r1qg.mjs +3 -0
  309. package/dist/chunks/hooks-1.0.7-970fsrks.mjs +1 -0
  310. package/dist/chunks/hooks-1.0.7-xyrevnk8.mjs +79 -0
  311. package/dist/chunks/ide-1.0.7-knfed9xe.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.0.7-5c1fwxwf.mjs +1 -0
  313. package/dist/chunks/inboundAttachments-1.0.7-5p98j8m2.mjs +1 -0
  314. package/dist/chunks/index-1.0.7-0ce2q3me.mjs +17 -0
  315. package/dist/chunks/index-1.0.7-3tbze0ns.mjs +1 -0
  316. package/dist/chunks/index-1.0.7-3z09rqyx.mjs +1 -0
  317. package/dist/chunks/index-1.0.7-4g6596jt.mjs +1 -0
  318. package/dist/chunks/index-1.0.7-59cvfmen.mjs +1 -0
  319. package/dist/chunks/index-1.0.7-63vq5fws.mjs +1 -0
  320. package/dist/chunks/index-1.0.7-6wcbk6ve.mjs +5 -0
  321. package/dist/chunks/index-1.0.7-84wm5p43.mjs +1 -0
  322. package/dist/chunks/index-1.0.7-c0jfw97a.mjs +9 -0
  323. package/dist/chunks/index-1.0.7-dds9fcry.mjs +1 -0
  324. package/dist/chunks/index-1.0.7-ecq1qwpq.mjs +1 -0
  325. package/dist/chunks/index-1.0.7-gm6exxqq.mjs +30 -0
  326. package/dist/chunks/index-1.0.7-jh8savg9.mjs +9 -0
  327. package/dist/chunks/index-1.0.7-k8k38nbt.mjs +1 -0
  328. package/dist/chunks/index-1.0.7-kyyfrf6j.mjs +1 -0
  329. package/dist/chunks/index-1.0.7-m23r2bmv.mjs +1 -0
  330. package/dist/chunks/index-1.0.7-mmm10tac.mjs +2 -0
  331. package/dist/chunks/index-1.0.7-p82yhqst.mjs +1 -0
  332. package/dist/chunks/index-1.0.7-vyafwe23.mjs +1 -0
  333. package/dist/chunks/index-1.0.7-wazwyjm7.mjs +1 -0
  334. package/dist/chunks/index-1.0.7-wd33rv5q.mjs +1 -0
  335. package/dist/chunks/index-1.0.7-yhxty6kz.mjs +1 -0
  336. package/dist/chunks/index-1.0.7-zp3vs07b.mjs +2 -0
  337. package/dist/chunks/init-1.0.7-y29e6mb3.mjs +1 -0
  338. package/dist/chunks/initReplBridge-1.0.7-14rmpkte.mjs +1 -0
  339. package/dist/chunks/ink-1.0.7-gf3qdamf.mjs +1 -0
  340. package/dist/chunks/insights-1.0.7-hd6460mk.mjs +870 -0
  341. package/dist/chunks/install-1.0.7-antesxaa.mjs +1 -0
  342. package/dist/chunks/install-github-app-1.0.7-0asc4ajr.mjs +149 -0
  343. package/dist/chunks/install-slack-app-1.0.7-zwna6gq3.mjs +1 -0
  344. package/dist/chunks/instrumentation-1.0.7-wvv85h9t.mjs +1 -0
  345. package/dist/chunks/interactiveHelpers-1.0.7-pkmbfs0b.mjs +1 -0
  346. package/dist/chunks/keybindings-1.0.7-emp8m2vr.mjs +2 -0
  347. package/dist/chunks/knowledge-1.0.7-6hv6538k.mjs +2 -0
  348. package/dist/chunks/latestVersionCache-1.0.7-t1gtsxte.mjs +1 -0
  349. package/dist/chunks/loadAgentsDir-1.0.7-j5mq4f5x.mjs +1 -0
  350. package/dist/chunks/loadPluginHooks-1.0.7-6tbrq15z.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.0.7-k2zgqtye.mjs +1 -0
  352. package/dist/chunks/log-1.0.7-pmgzzdy7.mjs +1 -0
  353. package/dist/chunks/main-1.0.7-esamqda3.mjs +1 -0
  354. package/dist/chunks/managedEnv-1.0.7-6mz7vwyt.mjs +1 -0
  355. package/dist/chunks/mcp-1.0.7-d4941tnp.mjs +17 -0
  356. package/dist/chunks/mcp-1.0.7-hjjdsn53.mjs +4 -0
  357. package/dist/chunks/mcp-1.0.7-skfyfspe.mjs +1 -0
  358. package/dist/chunks/mcpb-1.0.7-twwnd1ct.mjs +1 -0
  359. package/dist/chunks/memory-1.0.7-0r8q4re7.mjs +3 -0
  360. package/dist/chunks/model-1.0.7-d82p81ne.mjs +2 -0
  361. package/dist/chunks/model-1.0.7-xt8c58fg.mjs +1 -0
  362. package/dist/chunks/node-1.0.7-5h6w60zy.mjs +12 -0
  363. package/dist/chunks/oauth-1.0.7-gveatjqe.mjs +1 -0
  364. package/dist/chunks/openaiShim-1.0.7-q8aqfz40.mjs +14 -0
  365. package/dist/chunks/output-style-1.0.7-xnamzpre.mjs +1 -0
  366. package/dist/chunks/package-ZZWOLTXM-1.0.7-y8bvx3y5.mjs +1 -0
  367. package/dist/chunks/parseConnectUrl-1.0.7-we9ebc0h.mjs +1 -0
  368. package/dist/chunks/parser-1.0.7-20zgf2mq.mjs +1 -0
  369. package/dist/chunks/passes-1.0.7-gcnj20c4.mjs +1 -0
  370. package/dist/chunks/permissions-1.0.7-43y27rj9.mjs +3 -0
  371. package/dist/chunks/permissions-1.0.7-kw8fw9gd.mjs +1 -0
  372. package/dist/chunks/plan-1.0.7-z1k9hfr8.mjs +1 -0
  373. package/dist/chunks/plist-1.0.7-daxqmwqx.mjs +1 -0
  374. package/dist/chunks/plugin-1.0.7-66bqymg3.mjs +29 -0
  375. package/dist/chunks/pluginStartupCheck-1.0.7-w5krqm0w.mjs +1 -0
  376. package/dist/chunks/plugins-1.0.7-8njx3c0z.mjs +9 -0
  377. package/dist/chunks/preActionHook-1.0.7-a1hhphah.mjs +2 -0
  378. package/dist/chunks/print-1.0.7-xnncgmye.mjs +57 -0
  379. package/dist/chunks/privacy-settings-1.0.7-7gfaexn9.mjs +1 -0
  380. package/dist/chunks/process-1.0.7-9sx5xgpe.mjs +1 -0
  381. package/dist/chunks/processBashCommand-1.0.7-32dm20nc.mjs +1 -0
  382. package/dist/chunks/processSlashCommand-1.0.7-am0rnn44.mjs +9 -0
  383. package/dist/chunks/prompt-1.0.7-0yt5k7pt.mjs +1 -0
  384. package/dist/chunks/prompt-1.0.7-hfv56awc.mjs +1 -0
  385. package/dist/chunks/prompts-1.0.7-1p5km2m0.mjs +1 -0
  386. package/dist/chunks/protocolHandler-1.0.7-geqttcpz.mjs +13 -0
  387. package/dist/chunks/provider-1.0.7-y0j7q32j.mjs +2 -0
  388. package/dist/chunks/providerProfiles-1.0.7-s0zs9q1r.mjs +1 -0
  389. package/dist/chunks/providerValidation-1.0.7-aexhx4ft.mjs +6 -0
  390. package/dist/chunks/rate-limit-options-1.0.7-r4b2s2hk.mjs +1 -0
  391. package/dist/chunks/registerSubcommands-1.0.7-qmvr4jj4.mjs +34 -0
  392. package/dist/chunks/registry-1.0.7-be1gn584.mjs +1 -0
  393. package/dist/chunks/release-notes-1.0.7-tcr3xzz7.mjs +5 -0
  394. package/dist/chunks/reload-plugins-1.0.7-psfk2m91.mjs +2 -0
  395. package/dist/chunks/remote-env-1.0.7-xn5b9vx7.mjs +1 -0
  396. package/dist/chunks/remoteBridgeCore-1.0.7-hvnh9bv2.mjs +1 -0
  397. package/dist/chunks/remoteSession-1.0.7-870w4tbq.mjs +1 -0
  398. package/dist/chunks/rename-1.0.7-53emj8yj.mjs +1 -0
  399. package/dist/chunks/replBridgeHandle-1.0.7-cbrh6d8b.mjs +1 -0
  400. package/dist/chunks/replLauncher-1.0.7-zs2c9f7n.mjs +1 -0
  401. package/dist/chunks/resume-1.0.7-b5e8840g.mjs +2 -0
  402. package/dist/chunks/rewind-1.0.7-15a43rp5.mjs +1 -0
  403. package/dist/chunks/rootOptions-1.0.7-84t0zbkm.mjs +1 -0
  404. package/dist/chunks/sandbox-adapter-1.0.7-rs0gse4a.mjs +1 -0
  405. package/dist/chunks/sandbox-toggle-1.0.7-benxjznf.mjs +1 -0
  406. package/dist/chunks/session-1.0.7-9kyk2x4p.mjs +2 -0
  407. package/dist/chunks/sessionDiscovery-1.0.7-3z1nttw5.mjs +1 -0
  408. package/dist/chunks/sessionFileAccessHooks-1.0.7-wha0618t.mjs +1 -0
  409. package/dist/chunks/sessionStorage-1.0.7-tdsf7h6t.mjs +1 -0
  410. package/dist/chunks/settings-1.0.7-ew9b4r78.mjs +1 -0
  411. package/dist/chunks/setup-1.0.7-tnm7hbmj.mjs +5 -0
  412. package/dist/chunks/sinks-1.0.7-bw23nvqf.mjs +1 -0
  413. package/dist/chunks/skills-1.0.7-z5a8v4xg.mjs +1 -0
  414. package/dist/chunks/startupProfiler-1.0.7-fqfzm5cc.mjs +1 -0
  415. package/dist/chunks/startupUpdateCheck-1.0.7-enpb315n.mjs +1 -0
  416. package/dist/chunks/state-1.0.7-anf50tyt.mjs +1 -0
  417. package/dist/chunks/stats-1.0.7-xgb8h40k.mjs +6 -0
  418. package/dist/chunks/status-1.0.7-f7s47750.mjs +1 -0
  419. package/dist/chunks/stickers-1.0.7-z1wec6v6.mjs +1 -0
  420. package/dist/chunks/subprocessEnv-1.0.7-838hrdpy.mjs +1 -0
  421. package/dist/chunks/tasks-1.0.7-gnsbny7t.mjs +1 -0
  422. package/dist/chunks/teamHelpers-1.0.7-b952rdkv.mjs +1 -0
  423. package/dist/chunks/teammateModeSnapshot-1.0.7-kp8hzkhr.mjs +1 -0
  424. package/dist/chunks/teleport-1.0.7-0z0g10ms.mjs +1 -0
  425. package/dist/chunks/terminalSetup-1.0.7-fgc3myw4.mjs +1 -0
  426. package/dist/chunks/theme-1.0.7-a88j7tjj.mjs +1 -0
  427. package/dist/chunks/thinkback-1.0.7-yzkgrf3q.mjs +1 -0
  428. package/dist/chunks/thinkback-play-1.0.7-jz896tvv.mjs +1 -0
  429. package/dist/chunks/toolPool-1.0.7-zc6vp20v.mjs +1 -0
  430. package/dist/chunks/toolSearch-1.0.7-ym8fk2b2.mjs +1 -0
  431. package/dist/chunks/tools-1.0.7-612s0tqy.mjs +1 -0
  432. package/dist/chunks/trustedDevice-1.0.7-vjbr81qz.mjs +1 -0
  433. package/dist/chunks/turndown.cjs-1.0.7-gz5y243z.mjs +69 -0
  434. package/dist/chunks/types-1.0.7-16q04281.mjs +1 -0
  435. package/dist/chunks/ultrareviewCommand-1.0.7-v65pd88x.mjs +4 -0
  436. package/dist/chunks/update-1.0.7-z4et749c.mjs +88 -0
  437. package/dist/chunks/upgrade-1.0.7-hbdmpet7.mjs +1 -0
  438. package/dist/chunks/upload-1.0.7-xgyk75yh.mjs +7 -0
  439. package/dist/chunks/upstreamproxy-1.0.7-vb939aaw.mjs +14 -0
  440. package/dist/chunks/url-handler-napi-1.0.7-nfw64r47.mjs +1 -0
  441. package/dist/chunks/usage-1.0.7-kpakcv0m.mjs +1 -0
  442. package/dist/chunks/util-1.0.7-52gcb8n1.mjs +1 -0
  443. package/dist/chunks/utils-1.0.7-ckre2ymb.mjs +1 -0
  444. package/dist/chunks/vim-1.0.7-10bew4qn.mjs +1 -0
  445. package/dist/chunks/watcher-1.0.7-85c73j65.mjs +1 -0
  446. package/dist/chunks/wiki-1.0.7-yw93y8cn.mjs +132 -0
  447. package/dist/chunks/workflows-1.0.7-yatxf71n.mjs +1 -0
  448. package/dist/chunks/worktree-1.0.7-dp2np4vz.mjs +1 -0
  449. package/dist/chunks/worktreeModeEnabled-1.0.7-m222ja7h.mjs +1 -0
  450. package/dist/chunks/wrapper-1.0.7-sqtjm0k7.mjs +7 -0
  451. package/dist/cli.mjs +2 -2
  452. package/package.json +9 -9
  453. package/dist/chunks/AgentTool-1.0.6-y5ddd6rm.mjs +0 -1
  454. package/dist/chunks/App-1.0.6-z0cfvsx2.mjs +0 -1
  455. package/dist/chunks/ApproveApiKey-1.0.6-bp76pand.mjs +0 -1
  456. package/dist/chunks/AssistantSessionChooser-1.0.6-kb0x64qd.mjs +0 -1
  457. package/dist/chunks/AutoModeOptInDialog-1.0.6-jcaqgq16.mjs +0 -1
  458. package/dist/chunks/BypassPermissionsModeDialog-1.0.6-0q6kspv2.mjs +0 -1
  459. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.6-jk4g19kb.mjs +0 -1
  460. package/dist/chunks/ConsoleOAuthFlow-1.0.6-s65h1n7v.mjs +0 -1
  461. package/dist/chunks/DiffDialog-1.0.6-6751p16k.mjs +0 -7
  462. package/dist/chunks/Doctor-1.0.6-cc0tqw44.mjs +0 -1
  463. package/dist/chunks/ExplorerDialog-1.0.6-eebwjw79.mjs +0 -6
  464. package/dist/chunks/Grove-1.0.6-tyg11yr0.mjs +0 -1
  465. package/dist/chunks/ITermBackend-1.0.6-qgb1csqa.mjs +0 -1
  466. package/dist/chunks/InvalidConfigDialog-1.0.6-jgmn19nt.mjs +0 -1
  467. package/dist/chunks/InvalidSettingsDialog-1.0.6-wxwzxegj.mjs +0 -1
  468. package/dist/chunks/MigrationDialog-1.0.6-zpt6cx2n.mjs +0 -1
  469. package/dist/chunks/Onboarding-1.0.6-4008ytyb.mjs +0 -1
  470. package/dist/chunks/ProviderManager-1.0.6-c76hkbn2.mjs +0 -1
  471. package/dist/chunks/REPL-1.0.6-hg7cv046.mjs +0 -1
  472. package/dist/chunks/ResumeConversation-1.0.6-2t7j6b2h.mjs +0 -1
  473. package/dist/chunks/SnapshotUpdateDialog-1.0.6-mtnwwa4g.mjs +0 -1
  474. package/dist/chunks/TeleportProgress-1.0.6-6k63h37y.mjs +0 -1
  475. package/dist/chunks/TeleportRepoMismatchDialog-1.0.6-nwebb6gp.mjs +0 -1
  476. package/dist/chunks/TeleportResumeWrapper-1.0.6-fkq6szhk.mjs +0 -1
  477. package/dist/chunks/TmuxBackend-1.0.6-c6m3x448.mjs +0 -9
  478. package/dist/chunks/ToolSearchTool-1.0.6-44972q2z.mjs +0 -1
  479. package/dist/chunks/TrustDialog-1.0.6-g641zp1y.mjs +0 -1
  480. package/dist/chunks/activeProvider-1.0.6-ae177xqc.mjs +0 -1
  481. package/dist/chunks/add-dir-1.0.6-eyaavpv6.mjs +0 -1
  482. package/dist/chunks/agentTypes-1.0.6-qbt1z3ca.mjs +0 -1
  483. package/dist/chunks/agents-1.0.6-sz53kang.mjs +0 -3
  484. package/dist/chunks/agents-1.0.6-takpvk31.mjs +0 -110
  485. package/dist/chunks/api-1.0.6-00s3w079.mjs +0 -1
  486. package/dist/chunks/asciicast-1.0.6-rh0sh1w1.mjs +0 -1
  487. package/dist/chunks/assistant-1.0.6-7mq19whz.mjs +0 -1
  488. package/dist/chunks/auth-1.0.6-a3z8ybme.mjs +0 -1
  489. package/dist/chunks/auth-1.0.6-bzqx8ws6.mjs +0 -1
  490. package/dist/chunks/autoMode-1.0.6-m7pgefxn.mjs +0 -48
  491. package/dist/chunks/autoUpdater-1.0.6-yrfw3qnm.mjs +0 -1
  492. package/dist/chunks/backgroundHousekeeping-1.0.6-n12f3xrc.mjs +0 -1
  493. package/dist/chunks/branch-1.0.6-ezwk5k5a.mjs +0 -4
  494. package/dist/chunks/bridge-1.0.6-b8v3yt2n.mjs +0 -2
  495. package/dist/chunks/bridgeConfig-1.0.6-nj1zx2fk.mjs +0 -1
  496. package/dist/chunks/bridgeEnabled-1.0.6-qm5685ej.mjs +0 -1
  497. package/dist/chunks/bridgeMain-1.0.6-8sw3n3ad.mjs +0 -88
  498. package/dist/chunks/bridgePointer-1.0.6-2smhh25w.mjs +0 -1
  499. package/dist/chunks/btw-1.0.6-cyy1eqy9.mjs +0 -1
  500. package/dist/chunks/buddy-1.0.6-jye799sc.mjs +0 -3
  501. package/dist/chunks/cacache-1.0.6-x530c1sq.mjs +0 -1
  502. package/dist/chunks/cache-probe-1.0.6-j9g3r3t3.mjs +0 -21
  503. package/dist/chunks/cacheStats-1.0.6-wn9n7a2f.mjs +0 -4
  504. package/dist/chunks/caches-1.0.6-jb6nfzzy.mjs +0 -1
  505. package/dist/chunks/claudeDesktop-1.0.6-nbedzb68.mjs +0 -1
  506. package/dist/chunks/claudemd-1.0.6-k0ksrf4g.mjs +0 -1
  507. package/dist/chunks/clear-1.0.6-mwca7g57.mjs +0 -1
  508. package/dist/chunks/clearTerminal-1.0.6-yxdbxzxq.mjs +0 -1
  509. package/dist/chunks/cli-1.0.6-0g5ayqzn.mjs +0 -2
  510. package/dist/chunks/cli-1.0.6-0htc91yb.mjs +0 -2
  511. package/dist/chunks/cli-1.0.6-0n0gtcr0.mjs +0 -2
  512. package/dist/chunks/cli-1.0.6-0ndt02kt.mjs +0 -2
  513. package/dist/chunks/cli-1.0.6-0rh0a1m1.mjs +0 -3
  514. package/dist/chunks/cli-1.0.6-0v6s0baw.mjs +0 -2
  515. package/dist/chunks/cli-1.0.6-0z6jg1dt.mjs +0 -2
  516. package/dist/chunks/cli-1.0.6-0zy5g0r0.mjs +0 -3
  517. package/dist/chunks/cli-1.0.6-1a002r86.mjs +0 -16
  518. package/dist/chunks/cli-1.0.6-1eet2296.mjs +0 -2
  519. package/dist/chunks/cli-1.0.6-1mxskrvk.mjs +0 -2
  520. package/dist/chunks/cli-1.0.6-1pmvs0sa.mjs +0 -2
  521. package/dist/chunks/cli-1.0.6-2216bkc9.mjs +0 -18
  522. package/dist/chunks/cli-1.0.6-256zr6e0.mjs +0 -2
  523. package/dist/chunks/cli-1.0.6-2kk9k86d.mjs +0 -2
  524. package/dist/chunks/cli-1.0.6-2ktan1c1.mjs +0 -6
  525. package/dist/chunks/cli-1.0.6-2q17d8ej.mjs +0 -2
  526. package/dist/chunks/cli-1.0.6-2taykcm3.mjs +0 -2
  527. package/dist/chunks/cli-1.0.6-2y4xs66t.mjs +0 -2
  528. package/dist/chunks/cli-1.0.6-34y44ns8.mjs +0 -2
  529. package/dist/chunks/cli-1.0.6-36s91tek.mjs +0 -2
  530. package/dist/chunks/cli-1.0.6-39ebgej3.mjs +0 -9
  531. package/dist/chunks/cli-1.0.6-3fqch3zx.mjs +0 -2
  532. package/dist/chunks/cli-1.0.6-3jkvpjb7.mjs +0 -2
  533. package/dist/chunks/cli-1.0.6-3rnmt44c.mjs +0 -199
  534. package/dist/chunks/cli-1.0.6-429sbhhn.mjs +0 -2
  535. package/dist/chunks/cli-1.0.6-43ajeraf.mjs +0 -2
  536. package/dist/chunks/cli-1.0.6-4jw1053r.mjs +0 -2
  537. package/dist/chunks/cli-1.0.6-4kafzdd3.mjs +0 -2
  538. package/dist/chunks/cli-1.0.6-4m8qf7d9.mjs +0 -2
  539. package/dist/chunks/cli-1.0.6-4pez6ae9.mjs +0 -2
  540. package/dist/chunks/cli-1.0.6-4pmn22p0.mjs +0 -12
  541. package/dist/chunks/cli-1.0.6-4r68vt91.mjs +0 -4
  542. package/dist/chunks/cli-1.0.6-4shdcvhj.mjs +0 -2
  543. package/dist/chunks/cli-1.0.6-4w9smp0a.mjs +0 -4
  544. package/dist/chunks/cli-1.0.6-52vkzgxe.mjs +0 -2
  545. package/dist/chunks/cli-1.0.6-53rqxxkh.mjs +0 -2
  546. package/dist/chunks/cli-1.0.6-55csqcct.mjs +0 -2
  547. package/dist/chunks/cli-1.0.6-5esxakc4.mjs +0 -2
  548. package/dist/chunks/cli-1.0.6-5fd5qjm7.mjs +0 -2
  549. package/dist/chunks/cli-1.0.6-5kmwcmd1.mjs +0 -25
  550. package/dist/chunks/cli-1.0.6-5qyfr732.mjs +0 -17
  551. package/dist/chunks/cli-1.0.6-5tx13t22.mjs +0 -2
  552. package/dist/chunks/cli-1.0.6-61qpjst5.mjs +0 -2
  553. package/dist/chunks/cli-1.0.6-620sz5j0.mjs +0 -2
  554. package/dist/chunks/cli-1.0.6-6a9gyk3y.mjs +0 -12
  555. package/dist/chunks/cli-1.0.6-6g4hkpj7.mjs +0 -4
  556. package/dist/chunks/cli-1.0.6-6h5a9gax.mjs +0 -2
  557. package/dist/chunks/cli-1.0.6-6hs6qqxv.mjs +0 -2
  558. package/dist/chunks/cli-1.0.6-6x2aqc5w.mjs +0 -3
  559. package/dist/chunks/cli-1.0.6-6zh1kz2j.mjs +0 -2
  560. package/dist/chunks/cli-1.0.6-6zqt7f43.mjs +0 -59
  561. package/dist/chunks/cli-1.0.6-74km5nc4.mjs +0 -2
  562. package/dist/chunks/cli-1.0.6-77j29wff.mjs +0 -2
  563. package/dist/chunks/cli-1.0.6-78gtt741.mjs +0 -2
  564. package/dist/chunks/cli-1.0.6-7dcdpthr.mjs +0 -2
  565. package/dist/chunks/cli-1.0.6-7ebqg37b.mjs +0 -2
  566. package/dist/chunks/cli-1.0.6-7qta6sp0.mjs +0 -12
  567. package/dist/chunks/cli-1.0.6-7rxsh83h.mjs +0 -2
  568. package/dist/chunks/cli-1.0.6-7sc6kks8.mjs +0 -2
  569. package/dist/chunks/cli-1.0.6-7wtv8nwt.mjs +0 -2
  570. package/dist/chunks/cli-1.0.6-80ts2fsy.mjs +0 -2
  571. package/dist/chunks/cli-1.0.6-831s2dg1.mjs +0 -2
  572. package/dist/chunks/cli-1.0.6-85rq113c.mjs +0 -2
  573. package/dist/chunks/cli-1.0.6-86chdw6e.mjs +0 -2
  574. package/dist/chunks/cli-1.0.6-8k0axbmg.mjs +0 -3
  575. package/dist/chunks/cli-1.0.6-8kamwh44.mjs +0 -15
  576. package/dist/chunks/cli-1.0.6-8svdc6qx.mjs +0 -2
  577. package/dist/chunks/cli-1.0.6-8tj1qeak.mjs +0 -2
  578. package/dist/chunks/cli-1.0.6-8v7ggr2e.mjs +0 -6
  579. package/dist/chunks/cli-1.0.6-8xtkd26m.mjs +0 -2
  580. package/dist/chunks/cli-1.0.6-8zcjrs1k.mjs +0 -2
  581. package/dist/chunks/cli-1.0.6-93qsrgeq.mjs +0 -2
  582. package/dist/chunks/cli-1.0.6-967pphy3.mjs +0 -3
  583. package/dist/chunks/cli-1.0.6-9be2xem8.mjs +0 -4
  584. package/dist/chunks/cli-1.0.6-9m9h23m8.mjs +0 -2
  585. package/dist/chunks/cli-1.0.6-9p90g9dg.mjs +0 -7
  586. package/dist/chunks/cli-1.0.6-9pj529zy.mjs +0 -2
  587. package/dist/chunks/cli-1.0.6-a9n4dj4c.mjs +0 -2
  588. package/dist/chunks/cli-1.0.6-a9z7f8hm.mjs +0 -2
  589. package/dist/chunks/cli-1.0.6-aasgkcf0.mjs +0 -3
  590. package/dist/chunks/cli-1.0.6-anxd75mm.mjs +0 -2
  591. package/dist/chunks/cli-1.0.6-apvttvwc.mjs +0 -3
  592. package/dist/chunks/cli-1.0.6-bghnbyek.mjs +0 -2
  593. package/dist/chunks/cli-1.0.6-bjz810zw.mjs +0 -2
  594. package/dist/chunks/cli-1.0.6-c3q3ytrc.mjs +0 -2
  595. package/dist/chunks/cli-1.0.6-cbv9sb7j.mjs +0 -4
  596. package/dist/chunks/cli-1.0.6-chfda1vf.mjs +0 -2
  597. package/dist/chunks/cli-1.0.6-ckyrvbe3.mjs +0 -2
  598. package/dist/chunks/cli-1.0.6-ct081pz5.mjs +0 -2
  599. package/dist/chunks/cli-1.0.6-d3y2kbdq.mjs +0 -2
  600. package/dist/chunks/cli-1.0.6-d4d0xfxp.mjs +0 -5
  601. package/dist/chunks/cli-1.0.6-d8gyb25m.mjs +0 -15
  602. package/dist/chunks/cli-1.0.6-d9ryhkjn.mjs +0 -2
  603. package/dist/chunks/cli-1.0.6-dk4qdtxs.mjs +0 -2
  604. package/dist/chunks/cli-1.0.6-e3cstemm.mjs +0 -67
  605. package/dist/chunks/cli-1.0.6-eqj39b7c.mjs +0 -2
  606. package/dist/chunks/cli-1.0.6-f4f6x83j.mjs +0 -24
  607. package/dist/chunks/cli-1.0.6-f80wk918.mjs +0 -2
  608. package/dist/chunks/cli-1.0.6-f82p2yzk.mjs +0 -39
  609. package/dist/chunks/cli-1.0.6-fggt191f.mjs +0 -2
  610. package/dist/chunks/cli-1.0.6-fj626dhh.mjs +0 -2
  611. package/dist/chunks/cli-1.0.6-g4v1k4vj.mjs +0 -2
  612. package/dist/chunks/cli-1.0.6-g9s2ts6j.mjs +0 -2
  613. package/dist/chunks/cli-1.0.6-gjtt9hjc.mjs +0 -5471
  614. package/dist/chunks/cli-1.0.6-hcq3hbzz.mjs +0 -3
  615. package/dist/chunks/cli-1.0.6-hjqc9sb8.mjs +0 -2
  616. package/dist/chunks/cli-1.0.6-hkaszwz8.mjs +0 -2
  617. package/dist/chunks/cli-1.0.6-hn9p22wz.mjs +0 -2
  618. package/dist/chunks/cli-1.0.6-hv2dry5y.mjs +0 -2
  619. package/dist/chunks/cli-1.0.6-j12sf764.mjs +0 -2
  620. package/dist/chunks/cli-1.0.6-j3b1c7v8.mjs +0 -2
  621. package/dist/chunks/cli-1.0.6-j5xkwr5w.mjs +0 -17
  622. package/dist/chunks/cli-1.0.6-j6sxw4gg.mjs +0 -2
  623. package/dist/chunks/cli-1.0.6-jfnnwqdv.mjs +0 -4
  624. package/dist/chunks/cli-1.0.6-jqa1byr3.mjs +0 -2
  625. package/dist/chunks/cli-1.0.6-jrrb4qbg.mjs +0 -2
  626. package/dist/chunks/cli-1.0.6-jwysg2r7.mjs +0 -2
  627. package/dist/chunks/cli-1.0.6-jyqjk8ym.mjs +0 -2
  628. package/dist/chunks/cli-1.0.6-kajb476n.mjs +0 -2
  629. package/dist/chunks/cli-1.0.6-kgver18c.mjs +0 -2
  630. package/dist/chunks/cli-1.0.6-khth3f6c.mjs +0 -1
  631. package/dist/chunks/cli-1.0.6-kx801kag.mjs +0 -4
  632. package/dist/chunks/cli-1.0.6-m747en7y.mjs +0 -50
  633. package/dist/chunks/cli-1.0.6-m96da95q.mjs +0 -2
  634. package/dist/chunks/cli-1.0.6-mapf4yym.mjs +0 -2
  635. package/dist/chunks/cli-1.0.6-mgb1vzp0.mjs +0 -6
  636. package/dist/chunks/cli-1.0.6-mgk6361j.mjs +0 -4
  637. package/dist/chunks/cli-1.0.6-mt3y4qmj.mjs +0 -18
  638. package/dist/chunks/cli-1.0.6-mwb4199d.mjs +0 -3
  639. package/dist/chunks/cli-1.0.6-mzqatpet.mjs +0 -6
  640. package/dist/chunks/cli-1.0.6-n3apbtd5.mjs +0 -2
  641. package/dist/chunks/cli-1.0.6-n6yd76q7.mjs +0 -2
  642. package/dist/chunks/cli-1.0.6-n9zhw61e.mjs +0 -2
  643. package/dist/chunks/cli-1.0.6-nb4f2zfq.mjs +0 -2
  644. package/dist/chunks/cli-1.0.6-nbxf3acf.mjs +0 -2
  645. package/dist/chunks/cli-1.0.6-njnv92az.mjs +0 -2
  646. package/dist/chunks/cli-1.0.6-nke3e3mv.mjs +0 -2
  647. package/dist/chunks/cli-1.0.6-nphrz836.mjs +0 -34
  648. package/dist/chunks/cli-1.0.6-npng9y9t.mjs +0 -2
  649. package/dist/chunks/cli-1.0.6-ntwqb73s.mjs +0 -2
  650. package/dist/chunks/cli-1.0.6-nyh2gact.mjs +0 -133
  651. package/dist/chunks/cli-1.0.6-p2syhbmk.mjs +0 -24
  652. package/dist/chunks/cli-1.0.6-pem0rvy0.mjs +0 -2
  653. package/dist/chunks/cli-1.0.6-pgc0vpjm.mjs +0 -2
  654. package/dist/chunks/cli-1.0.6-pgwdn1q5.mjs +0 -2
  655. package/dist/chunks/cli-1.0.6-px4bsvf6.mjs +0 -2
  656. package/dist/chunks/cli-1.0.6-q2yz709r.mjs +0 -2
  657. package/dist/chunks/cli-1.0.6-q79ba7ng.mjs +0 -24
  658. package/dist/chunks/cli-1.0.6-qnmkmcq4.mjs +0 -2
  659. package/dist/chunks/cli-1.0.6-qp2em1hm.mjs +0 -2
  660. package/dist/chunks/cli-1.0.6-qt11m0ak.mjs +0 -2
  661. package/dist/chunks/cli-1.0.6-r0n4r13f.mjs +0 -18
  662. package/dist/chunks/cli-1.0.6-r2508q6q.mjs +0 -2
  663. package/dist/chunks/cli-1.0.6-r6mzt599.mjs +0 -3
  664. package/dist/chunks/cli-1.0.6-rkbbyfm8.mjs +0 -21
  665. package/dist/chunks/cli-1.0.6-rm2htcb3.mjs +0 -2
  666. package/dist/chunks/cli-1.0.6-rp7q90tp.mjs +0 -42
  667. package/dist/chunks/cli-1.0.6-rsj4zt4n.mjs +0 -2
  668. package/dist/chunks/cli-1.0.6-rwke4nxh.mjs +0 -3
  669. package/dist/chunks/cli-1.0.6-rx5w7fx8.mjs +0 -2
  670. package/dist/chunks/cli-1.0.6-ry340c4k.mjs +0 -133
  671. package/dist/chunks/cli-1.0.6-s333n5zg.mjs +0 -8
  672. package/dist/chunks/cli-1.0.6-s8neseq2.mjs +0 -4
  673. package/dist/chunks/cli-1.0.6-shakqp36.mjs +0 -2
  674. package/dist/chunks/cli-1.0.6-snj1v3kf.mjs +0 -2
  675. package/dist/chunks/cli-1.0.6-sq2d4y85.mjs +0 -2
  676. package/dist/chunks/cli-1.0.6-sw7g4tgd.mjs +0 -2
  677. package/dist/chunks/cli-1.0.6-sws40pv9.mjs +0 -2
  678. package/dist/chunks/cli-1.0.6-t9r7rn29.mjs +0 -2
  679. package/dist/chunks/cli-1.0.6-tefnf8bf.mjs +0 -2
  680. package/dist/chunks/cli-1.0.6-tnt5gdq6.mjs +0 -3
  681. package/dist/chunks/cli-1.0.6-tw4tv5c3.mjs +0 -2
  682. package/dist/chunks/cli-1.0.6-v08hd9y9.mjs +0 -2
  683. package/dist/chunks/cli-1.0.6-va933r6s.mjs +0 -2
  684. package/dist/chunks/cli-1.0.6-vmwnjv3e.mjs +0 -12
  685. package/dist/chunks/cli-1.0.6-vpwqryae.mjs +0 -45
  686. package/dist/chunks/cli-1.0.6-vw4q8h8f.mjs +0 -20
  687. package/dist/chunks/cli-1.0.6-w3ewev2t.mjs +0 -2
  688. package/dist/chunks/cli-1.0.6-w3xpmc0m.mjs +0 -2
  689. package/dist/chunks/cli-1.0.6-wc676ed5.mjs +0 -2
  690. package/dist/chunks/cli-1.0.6-wgprm90p.mjs +0 -2
  691. package/dist/chunks/cli-1.0.6-wqqq5eh9.mjs +0 -2
  692. package/dist/chunks/cli-1.0.6-wvn01egx.mjs +0 -2
  693. package/dist/chunks/cli-1.0.6-x2m8wf3s.mjs +0 -15
  694. package/dist/chunks/cli-1.0.6-x6q5yg4p.mjs +0 -2
  695. package/dist/chunks/cli-1.0.6-xgntnn4t.mjs +0 -2
  696. package/dist/chunks/cli-1.0.6-xhmby05p.mjs +0 -2
  697. package/dist/chunks/cli-1.0.6-xk2ttvjs.mjs +0 -2
  698. package/dist/chunks/cli-1.0.6-xr79bf4b.mjs +0 -58
  699. package/dist/chunks/cli-1.0.6-xsbxh0be.mjs +0 -2
  700. package/dist/chunks/cli-1.0.6-xx7yggj6.mjs +0 -2
  701. package/dist/chunks/cli-1.0.6-y406hq26.mjs +0 -2
  702. package/dist/chunks/cli-1.0.6-y7y63cz5.mjs +0 -25
  703. package/dist/chunks/cli-1.0.6-y84yqp9s.mjs +0 -9
  704. package/dist/chunks/cli-1.0.6-yfs94tn1.mjs +0 -2
  705. package/dist/chunks/cli-1.0.6-ykfbjap8.mjs +0 -4
  706. package/dist/chunks/cli-1.0.6-ypbzk2re.mjs +0 -2
  707. package/dist/chunks/cli-1.0.6-ytd9vx4t.mjs +0 -5
  708. package/dist/chunks/cli-1.0.6-z06mmyvr.mjs +0 -6
  709. package/dist/chunks/cli-1.0.6-z1vvz38s.mjs +0 -2
  710. package/dist/chunks/cli-1.0.6-z6c3g4jy.mjs +0 -2
  711. package/dist/chunks/cli-1.0.6-zbbh8d20.mjs +0 -2
  712. package/dist/chunks/cli-1.0.6-zcnjjez0.mjs +0 -3
  713. package/dist/chunks/client-1.0.6-n3e1kq6z.mjs +0 -1
  714. package/dist/chunks/color-1.0.6-949mf4t9.mjs +0 -1
  715. package/dist/chunks/compact-1.0.6-pk763zz3.mjs +0 -3
  716. package/dist/chunks/config-1.0.6-bysc6622.mjs +0 -1
  717. package/dist/chunks/config-1.0.6-tgr3szh4.mjs +0 -1
  718. package/dist/chunks/constants-1.0.6-2ytt6s63.mjs +0 -1
  719. package/dist/chunks/context-1.0.6-c6a94j19.mjs +0 -1
  720. package/dist/chunks/context-noninteractive-1.0.6-rs66dgc4.mjs +0 -1
  721. package/dist/chunks/conversation-1.0.6-jg2wrz10.mjs +0 -1
  722. package/dist/chunks/copilotHeaders-1.0.6-pqtevy6f.mjs +0 -1
  723. package/dist/chunks/copy-1.0.6-8q0c5rxd.mjs +0 -9
  724. package/dist/chunks/cost-1.0.6-99qahzn2.mjs +0 -1
  725. package/dist/chunks/createSSHSession-1.0.6-d9m8hpvm.mjs +0 -1
  726. package/dist/chunks/createSession-1.0.6-bst3zcfv.mjs +0 -1
  727. package/dist/chunks/debug-1.0.6-sp18ckyq.mjs +0 -1
  728. package/dist/chunks/defaultActionDeps-1.0.6-264e52qb.mjs +0 -1446
  729. package/dist/chunks/desktop-1.0.6-8f041exs.mjs +0 -1
  730. package/dist/chunks/detectRepository-1.0.6-5xtpjm37.mjs +0 -1
  731. package/dist/chunks/detection-1.0.6-rqwbmfnt.mjs +0 -1
  732. package/dist/chunks/diff-1.0.6-2tfee48c.mjs +0 -1
  733. package/dist/chunks/doctor-1.0.6-8cd8a94q.mjs +0 -1
  734. package/dist/chunks/doctorDiagnostic-1.0.6-2waz13fa.mjs +0 -1
  735. package/dist/chunks/earlyInput-1.0.6-xz3zmash.mjs +0 -1
  736. package/dist/chunks/effort-1.0.6-sxass88w.mjs +0 -10
  737. package/dist/chunks/engine-1.0.6-m67y6tar.mjs +0 -1
  738. package/dist/chunks/envLessBridgeConfig-1.0.6-96am9ft2.mjs +0 -1
  739. package/dist/chunks/envUtils-1.0.6-rwrw23sx.mjs +0 -1
  740. package/dist/chunks/environmentSelection-1.0.6-eafb1t40.mjs +0 -1
  741. package/dist/chunks/environments-1.0.6-4rbtnxhr.mjs +0 -1
  742. package/dist/chunks/errors-1.0.6-tw2j2j5x.mjs +0 -1
  743. package/dist/chunks/exampleCommands-1.0.6-nme5mfvh.mjs +0 -1
  744. package/dist/chunks/exit-1.0.6-0nhvqr67.mjs +0 -1
  745. package/dist/chunks/explorer-1.0.6-9va9rmay.mjs +0 -1
  746. package/dist/chunks/export-1.0.6-42k6mg0d.mjs +0 -2
  747. package/dist/chunks/extra-usage-1.0.6-1ts30zcb.mjs +0 -1
  748. package/dist/chunks/extra-usage-noninteractive-1.0.6-ccj017df.mjs +0 -1
  749. package/dist/chunks/fast-1.0.6-hng6hkgq.mjs +0 -1
  750. package/dist/chunks/feedback-1.0.6-5xpevqgs.mjs +0 -14
  751. package/dist/chunks/firstPartyEventLogger-1.0.6-y50d073s.mjs +0 -1
  752. package/dist/chunks/git-1.0.6-vdebxyc7.mjs +0 -1
  753. package/dist/chunks/githubModelsCredentials-1.0.6-1am8vwv9.mjs +0 -1
  754. package/dist/chunks/goal-1.0.6-ragq8khs.mjs +0 -4
  755. package/dist/chunks/grove-1.0.6-94e2ae96.mjs +0 -1
  756. package/dist/chunks/growthbook-1.0.6-q95706fh.mjs +0 -1
  757. package/dist/chunks/headless-1.0.6-2jvpkaj6.mjs +0 -2
  758. package/dist/chunks/heapdump-1.0.6-6mqe5yjj.mjs +0 -6
  759. package/dist/chunks/help-1.0.6-3f56hs2r.mjs +0 -1
  760. package/dist/chunks/hookChains-1.0.6-bsdqvn2p.mjs +0 -3
  761. package/dist/chunks/hooks-1.0.6-2ymh39cf.mjs +0 -79
  762. package/dist/chunks/hooks-1.0.6-d56f9xmd.mjs +0 -1
  763. package/dist/chunks/ide-1.0.6-0hyhzmhe.mjs +0 -3
  764. package/dist/chunks/image-processor-napi-1.0.6-xf9rg916.mjs +0 -1
  765. package/dist/chunks/inboundAttachments-1.0.6-fz8n9ms8.mjs +0 -1
  766. package/dist/chunks/index-1.0.6-2bck3pt4.mjs +0 -30
  767. package/dist/chunks/index-1.0.6-3g0nsrkv.mjs +0 -17
  768. package/dist/chunks/index-1.0.6-3y7jxvhy.mjs +0 -1
  769. package/dist/chunks/index-1.0.6-478y2m6e.mjs +0 -2
  770. package/dist/chunks/index-1.0.6-4b1e7s1x.mjs +0 -1
  771. package/dist/chunks/index-1.0.6-58j0s67x.mjs +0 -1
  772. package/dist/chunks/index-1.0.6-5bgvzt3z.mjs +0 -1
  773. package/dist/chunks/index-1.0.6-5vphvdyy.mjs +0 -1
  774. package/dist/chunks/index-1.0.6-66q2r5rv.mjs +0 -1
  775. package/dist/chunks/index-1.0.6-7eqcsb13.mjs +0 -9
  776. package/dist/chunks/index-1.0.6-7mybgpvp.mjs +0 -9
  777. package/dist/chunks/index-1.0.6-9h6qgr9j.mjs +0 -1
  778. package/dist/chunks/index-1.0.6-a1je2hj0.mjs +0 -5
  779. package/dist/chunks/index-1.0.6-dzem1xyw.mjs +0 -1
  780. package/dist/chunks/index-1.0.6-h1kbzgbr.mjs +0 -1
  781. package/dist/chunks/index-1.0.6-jr8edr28.mjs +0 -1
  782. package/dist/chunks/index-1.0.6-kb626zfj.mjs +0 -1
  783. package/dist/chunks/index-1.0.6-scap8ztx.mjs +0 -1
  784. package/dist/chunks/index-1.0.6-sfn887je.mjs +0 -1
  785. package/dist/chunks/index-1.0.6-trrzmzqw.mjs +0 -2
  786. package/dist/chunks/index-1.0.6-vxgxky1j.mjs +0 -1
  787. package/dist/chunks/index-1.0.6-xw59t9mn.mjs +0 -1
  788. package/dist/chunks/index-1.0.6-zefh4dqr.mjs +0 -1
  789. package/dist/chunks/init-1.0.6-ceew1r40.mjs +0 -1
  790. package/dist/chunks/initReplBridge-1.0.6-q0q0cs0q.mjs +0 -1
  791. package/dist/chunks/ink-1.0.6-egfpysk6.mjs +0 -1
  792. package/dist/chunks/insights-1.0.6-2jg25rtq.mjs +0 -870
  793. package/dist/chunks/install-1.0.6-g2wbzhrp.mjs +0 -1
  794. package/dist/chunks/install-github-app-1.0.6-wkch2k0a.mjs +0 -149
  795. package/dist/chunks/install-slack-app-1.0.6-t0yx4g99.mjs +0 -1
  796. package/dist/chunks/instrumentation-1.0.6-rchtz4a0.mjs +0 -1
  797. package/dist/chunks/interactiveHelpers-1.0.6-y17rjqq1.mjs +0 -1
  798. package/dist/chunks/keybindings-1.0.6-fwfn3ph3.mjs +0 -2
  799. package/dist/chunks/knowledge-1.0.6-ec5ygwxq.mjs +0 -2
  800. package/dist/chunks/latestVersionCache-1.0.6-v868fdtg.mjs +0 -1
  801. package/dist/chunks/loadAgentsDir-1.0.6-tqjw33x8.mjs +0 -1
  802. package/dist/chunks/loadPluginHooks-1.0.6-0ep8t6k1.mjs +0 -1
  803. package/dist/chunks/loadPluginHooks-1.0.6-qnt1qmw9.mjs +0 -1
  804. package/dist/chunks/log-1.0.6-k9cgc2n4.mjs +0 -1
  805. package/dist/chunks/main-1.0.6-nqg7gj8m.mjs +0 -1
  806. package/dist/chunks/managedEnv-1.0.6-5ew1phra.mjs +0 -1
  807. package/dist/chunks/mcp-1.0.6-3knsgg6d.mjs +0 -17
  808. package/dist/chunks/mcp-1.0.6-na22t28a.mjs +0 -1
  809. package/dist/chunks/mcp-1.0.6-zkyhgas3.mjs +0 -4
  810. package/dist/chunks/mcpb-1.0.6-g3b1zqxb.mjs +0 -1
  811. package/dist/chunks/memory-1.0.6-atzzmaad.mjs +0 -3
  812. package/dist/chunks/model-1.0.6-57z0x37s.mjs +0 -1
  813. package/dist/chunks/model-1.0.6-843dkkfz.mjs +0 -2
  814. package/dist/chunks/node-1.0.6-vxbhm4hf.mjs +0 -12
  815. package/dist/chunks/oauth-1.0.6-cfc8agdv.mjs +0 -1
  816. package/dist/chunks/openaiShim-1.0.6-zsb0hbxr.mjs +0 -14
  817. package/dist/chunks/output-style-1.0.6-qbmq3rnf.mjs +0 -1
  818. package/dist/chunks/package-ZZWOLTXM-1.0.6-tkz3dr14.mjs +0 -1
  819. package/dist/chunks/parseConnectUrl-1.0.6-j4d5nn9v.mjs +0 -1
  820. package/dist/chunks/parser-1.0.6-v2vwmn92.mjs +0 -1
  821. package/dist/chunks/passes-1.0.6-n7gy2bm9.mjs +0 -1
  822. package/dist/chunks/permissions-1.0.6-p5k4trnb.mjs +0 -3
  823. package/dist/chunks/permissions-1.0.6-sdaqy7tv.mjs +0 -1
  824. package/dist/chunks/plan-1.0.6-dsq3488z.mjs +0 -1
  825. package/dist/chunks/plist-1.0.6-gpg0h2dj.mjs +0 -1
  826. package/dist/chunks/plugin-1.0.6-kj0t0xry.mjs +0 -29
  827. package/dist/chunks/pluginStartupCheck-1.0.6-tr3d9de5.mjs +0 -1
  828. package/dist/chunks/plugins-1.0.6-7kctwa0e.mjs +0 -9
  829. package/dist/chunks/preActionHook-1.0.6-qfq4qcnx.mjs +0 -2
  830. package/dist/chunks/print-1.0.6-9k27napw.mjs +0 -57
  831. package/dist/chunks/privacy-settings-1.0.6-pmkcm2k6.mjs +0 -1
  832. package/dist/chunks/process-1.0.6-yjr9qgm0.mjs +0 -1
  833. package/dist/chunks/processBashCommand-1.0.6-hjsegdwx.mjs +0 -1
  834. package/dist/chunks/processSlashCommand-1.0.6-qtste297.mjs +0 -9
  835. package/dist/chunks/prompt-1.0.6-3pz6ez1b.mjs +0 -1
  836. package/dist/chunks/prompt-1.0.6-gz6pqd71.mjs +0 -1
  837. package/dist/chunks/prompts-1.0.6-dds21kka.mjs +0 -1
  838. package/dist/chunks/protocolHandler-1.0.6-0ks875v7.mjs +0 -13
  839. package/dist/chunks/provider-1.0.6-9a1x17c8.mjs +0 -2
  840. package/dist/chunks/providerProfiles-1.0.6-rk717k78.mjs +0 -1
  841. package/dist/chunks/providerValidation-1.0.6-e3rpsc9f.mjs +0 -6
  842. package/dist/chunks/rate-limit-options-1.0.6-90etm2re.mjs +0 -1
  843. package/dist/chunks/registerSubcommands-1.0.6-nvtknss4.mjs +0 -34
  844. package/dist/chunks/registry-1.0.6-g4g3tqbv.mjs +0 -1
  845. package/dist/chunks/release-notes-1.0.6-1s9np58q.mjs +0 -5
  846. package/dist/chunks/reload-plugins-1.0.6-3dd0aedh.mjs +0 -2
  847. package/dist/chunks/remote-env-1.0.6-gyn1ez8r.mjs +0 -1
  848. package/dist/chunks/remoteBridgeCore-1.0.6-g9538ytn.mjs +0 -1
  849. package/dist/chunks/remoteSession-1.0.6-mta0cnmb.mjs +0 -1
  850. package/dist/chunks/rename-1.0.6-q495btpz.mjs +0 -1
  851. package/dist/chunks/replBridgeHandle-1.0.6-v46krtrw.mjs +0 -1
  852. package/dist/chunks/replLauncher-1.0.6-cc276asy.mjs +0 -1
  853. package/dist/chunks/resume-1.0.6-f7sxdm3s.mjs +0 -2
  854. package/dist/chunks/rewind-1.0.6-6stqe269.mjs +0 -1
  855. package/dist/chunks/rootOptions-1.0.6-j78xfj1y.mjs +0 -1
  856. package/dist/chunks/sandbox-adapter-1.0.6-901t5paa.mjs +0 -1
  857. package/dist/chunks/sandbox-toggle-1.0.6-vc10zpq8.mjs +0 -1
  858. package/dist/chunks/session-1.0.6-gjwdmj9d.mjs +0 -2
  859. package/dist/chunks/sessionDiscovery-1.0.6-r2ydd9s8.mjs +0 -1
  860. package/dist/chunks/sessionFileAccessHooks-1.0.6-9dvjq66r.mjs +0 -1
  861. package/dist/chunks/sessionStorage-1.0.6-6xf0298f.mjs +0 -1
  862. package/dist/chunks/settings-1.0.6-369qbnap.mjs +0 -1
  863. package/dist/chunks/setup-1.0.6-n8ec75ht.mjs +0 -5
  864. package/dist/chunks/sinks-1.0.6-h7v83r07.mjs +0 -1
  865. package/dist/chunks/skills-1.0.6-srbnw6db.mjs +0 -1
  866. package/dist/chunks/startupProfiler-1.0.6-bt2rwgd4.mjs +0 -1
  867. package/dist/chunks/startupUpdateCheck-1.0.6-hs9cecpe.mjs +0 -1
  868. package/dist/chunks/state-1.0.6-3m5c8zpc.mjs +0 -1
  869. package/dist/chunks/stats-1.0.6-df87fq0j.mjs +0 -6
  870. package/dist/chunks/status-1.0.6-0wmbys8d.mjs +0 -1
  871. package/dist/chunks/stickers-1.0.6-rn50x1rq.mjs +0 -1
  872. package/dist/chunks/subprocessEnv-1.0.6-1p34363n.mjs +0 -1
  873. package/dist/chunks/tasks-1.0.6-n9dy1nvm.mjs +0 -1
  874. package/dist/chunks/teamHelpers-1.0.6-sbqr7ebq.mjs +0 -1
  875. package/dist/chunks/teammateModeSnapshot-1.0.6-shsz85kr.mjs +0 -1
  876. package/dist/chunks/teleport-1.0.6-thxx543v.mjs +0 -1
  877. package/dist/chunks/terminalSetup-1.0.6-2abyvwnm.mjs +0 -1
  878. package/dist/chunks/theme-1.0.6-3q8wm8dd.mjs +0 -1
  879. package/dist/chunks/thinkback-1.0.6-sk8ykxzt.mjs +0 -1
  880. package/dist/chunks/thinkback-play-1.0.6-6202g18m.mjs +0 -1
  881. package/dist/chunks/toolPool-1.0.6-7f9ny265.mjs +0 -1
  882. package/dist/chunks/toolSearch-1.0.6-r927q3n6.mjs +0 -1
  883. package/dist/chunks/tools-1.0.6-49vtha15.mjs +0 -1
  884. package/dist/chunks/trustedDevice-1.0.6-12zgjreg.mjs +0 -1
  885. package/dist/chunks/turndown.cjs-1.0.6-m88jykaz.mjs +0 -69
  886. package/dist/chunks/types-1.0.6-qcw5ptd7.mjs +0 -1
  887. package/dist/chunks/ultrareviewCommand-1.0.6-34s8eh57.mjs +0 -4
  888. package/dist/chunks/update-1.0.6-10vds9r4.mjs +0 -88
  889. package/dist/chunks/upgrade-1.0.6-sdwjc086.mjs +0 -1
  890. package/dist/chunks/upload-1.0.6-tk83fcy2.mjs +0 -7
  891. package/dist/chunks/upstreamproxy-1.0.6-8d54f9fn.mjs +0 -14
  892. package/dist/chunks/url-handler-napi-1.0.6-ph7g08x7.mjs +0 -1
  893. package/dist/chunks/usage-1.0.6-3m17gzhd.mjs +0 -1
  894. package/dist/chunks/util-1.0.6-wh7h4a5g.mjs +0 -1
  895. package/dist/chunks/utils-1.0.6-5e17hs3n.mjs +0 -1
  896. package/dist/chunks/vim-1.0.6-4mjggnma.mjs +0 -1
  897. package/dist/chunks/watcher-1.0.6-6p1xkebx.mjs +0 -1
  898. package/dist/chunks/wiki-1.0.6-aysp0kpj.mjs +0 -132
  899. package/dist/chunks/workflows-1.0.6-rnjxwhns.mjs +0 -1
  900. package/dist/chunks/worktree-1.0.6-8nfcjmff.mjs +0 -1
  901. package/dist/chunks/worktreeModeEnabled-1.0.6-4pgx8mqk.mjs +0 -1
  902. package/dist/chunks/wrapper-1.0.6-crv0bjsj.mjs +0 -7
  903. /package/dist/chunks/{cli-1.0.6-hg7rd6z8.mjs → cli-1.0.7-5qss5m61.mjs} +0 -0
  904. /package/dist/chunks/{cli-1.0.6-m86933bc.mjs → cli-1.0.7-6rt1agkh.mjs} +0 -0
  905. /package/dist/chunks/{cli-1.0.6-xbk4dr3g.mjs → cli-1.0.7-bc3sxk1j.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.0.6-esf6g2hg.mjs → cli-1.0.7-pscxy55m.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{$pa as L,Rpa as _Q,Spa as YJ,Tpa as v,Upa as P1,Vpa as Y5,Wpa as w8,Xpa as q,Ypa as y,Zpa as S,_pa as kQ,aqa as a,bqa as n5,cqa as e8,dqa as R5,eqa as _8,fqa as E,gqa as h8,hqa as P,iqa as x1,jqa as d,kqa as xQ,lqa as r,mqa as UQ,nqa as T5,oqa as UY}from"./cli-1.0.6-7sc6kks8.mjs";import{yra as aQ,zra as X}from"./cli-1.0.6-c3q3ytrc.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();DQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=q.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=S?S.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function qJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=qJ});var DJ,w;var M=X(()=>{DJ=Array.isArray,w=DJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{mQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();m();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();m();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,SJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?q.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,SJ=yJ||cQ,A=SJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?mJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var mJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();m();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||D8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var q8,D8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();q8=Object.prototype,D8=q8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{_8();J1();q5=k8});function E8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var S1=X(()=>{x5();F5();D5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var m1;var O5=X(()=>{yQ();bQ();S1();m1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=m1(Q),B=U.length,K=m1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var S8,U1;var L5=X(()=>{x1();y();S8=P(q,"DataView"),U1=S8});var m8,K1;var f5=X(()=>{x1();y();m8=P(q,"Promise"),K1=m8});var A8,G1;var P5=X(()=>{x1();y();A8=P(q,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(q,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,S5;var m5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();S1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();m();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var q1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function qY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var D1;var b1=X(()=>{M();q1();s5();X$();D1=qY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-DY?"-0":J}var DY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();q1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as SY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=SY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,S$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,S$(Q)}function S$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function q9(){return $.directConnectServerUrl}function D9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){return Date.now()-$.startTime}function I9(){return $.totalAPIDurationWithoutRetries}function C9(){return $.totalToolDuration}function _9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function k9(){return $.turnHookDurationMs}function E9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function v9(){$.turnHookDurationMs=0,$.turnHookCount=0}function d9(){return $.turnHookCount}function g9(){return $.turnToolDurationMs}function p9(){$.turnToolDurationMs=0,$.turnToolCount=0}function y9(){return $.turnToolCount}function S9(){return $.turnClassifierDurationMs}function m9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function A9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function j9(){return $.turnClassifierCount}function h9(){return $.statsStore}function n9(Q){$.statsStore=Q}function b9(Q){if(Q)m$();else s1=!0}function i9(){if(s1)m$()}function m$(){$.lastInteractionTime=Date.now(),s1=!1}function u9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function l9(){return $.totalLinesAdded}function T9(){return $.totalLinesRemoved}function c9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function r9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function o9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function s9(){return b(Object.values($.modelUsage),"webSearchRequests")}function a9(){return A$()-a1}function t9(){return t1}function e9(Q){a1=A$(),t1=Q,f1=0}function QH(){return f1}function $H(){f1++}function JH(){$.hasUnknownModelCost=!0}function YH(){return $.hasUnknownModelCost}function ZH(){return $.lastMainRequestId}function XH(Q){$.lastMainRequestId=Q}function HH(){return $.lastApiCompletionTimestamp}function WH(Q){$.lastApiCompletionTimestamp=Q}function xH(){$.pendingPostCompaction=!0}function UH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function KH(){return $.lastInteractionTime}function GH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function BH(){return M1}async function NH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function wH(){return $.modelUsage}function zH(Q){return $.modelUsage[Q]}function FH(){return $.mainLoopModelOverride}function RH(){return $.initialMainLoopModel}function qH(Q){$.mainLoopModelOverride=Q}function DH(Q){$.initialMainLoopModel=Q}function OH(){return $.sdkBetas}function VH(Q){$.sdkBetas=Q}function MH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function LH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function fH(){throw Error("resetStateForTests can only be called in tests")}function PH(){return $.modelStrings}function IH(Q){$.modelStrings=Q}function CH(){$.modelStrings=null}function _H(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function kH(){return $.meter}function EH(){return $.sessionCounter}function vH(){return $.locCounter}function dH(){return $.prCounter}function gH(){return $.commitCounter}function pH(){return $.costCounter}function yH(){return $.tokenCounter}function SH(){return $.codeEditToolDecisionCounter}function mH(){return $.activeTimeCounter}function AH(){return $.loggerProvider}function jH(Q){$.loggerProvider=Q}function hH(){return $.eventLogger}function nH(Q){$.eventLogger=Q}function bH(){return $.meterProvider}function iH(Q){$.meterProvider=Q}function uH(){return $.tracerProvider}function lH(Q){$.tracerProvider=Q}function mY(){return!$.isInteractive}function TH(){return $.isInteractive}function cH(Q){$.isInteractive=Q}function rH(){return $.clientType}function oH(Q){$.clientType=Q}function sH(){return $.sdkAgentProgressSummariesEnabled}function aH(Q){$.sdkAgentProgressSummariesEnabled=Q}function tH(){return $.kairosActive}function eH(Q){$.kairosActive=Q,L1()}function Q4(){return $.strictToolResultPairing}function $4(Q){$.strictToolResultPairing=Q}function J4(){return $.userMsgOptIn}function Y4(Q){$.userMsgOptIn=Q,L1()}function Z4(){return $.sessionSource}function X4(Q){$.sessionSource=Q}function H4(){return $.questionPreviewFormat}function W4(Q){$.questionPreviewFormat=Q}function x4(){return $.agentColorMap}function U4(){return $.flagSettingsPath}function K4(Q){$.flagSettingsPath=Q}function G4(){return $.flagSettingsInline}function B4(Q){$.flagSettingsInline=Q}function N4(){return $.sessionIngressToken}function w4(Q){$.sessionIngressToken=Q}function z4(){return $.oauthTokenFromFd}function F4(Q){$.oauthTokenFromFd=Q}function R4(){return $.apiKeyFromFd}function q4(Q){$.apiKeyFromFd=Q}function D4(Q){$.lastAPIRequest=Q}function O4(){return $.lastAPIRequest}function V4(Q){$.lastAPIRequestMessages=Q}function M4(){return $.lastAPIRequestMessages}function L4(Q){$.lastClassifierRequests=Q}function f4(){return $.lastClassifierRequests}function P4(Q){$.cachedClaudeMdContent=Q}function I4(){return $.cachedClaudeMdContent}function C4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function _4(){return $.allowedSettingSources}function k4(Q){$.allowedSettingSources=Q}function E4(){return mY()&&$.clientType!=="claude-vscode"}function v4(Q){$.inlinePlugins=Q}function d4(){return $.inlinePlugins}function g4(Q){$.useCoworkPlugins=Q,E$()}function p4(){return $.useCoworkPlugins}function y4(Q){$.sessionBypassPermissionsMode=Q}function S4(){return $.sessionBypassPermissionsMode}function m4(Q){$.scheduledTasksEnabled=Q}function A4(){return $.scheduledTasksEnabled}function j4(){return $.sessionCronTasks}function h4(Q){$.sessionCronTasks.push(Q)}function n4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function b4(){return $.pendingSessionWakeup}function i4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function u4(){$.pendingSessionWakeup=null}function l4(Q){$.sessionTrustAccepted=Q}function T4(){return $.sessionTrustAccepted}function c4(Q){$.sessionPersistenceDisabled=Q}function r4(){return $.sessionPersistenceDisabled}function o4(){return $.hasExitedPlanMode}function s4(Q){$.hasExitedPlanMode=Q}function a4(){return $.needsPlanModeExitAttachment}function t4(Q){$.needsPlanModeExitAttachment=Q}function e4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function Q3(){return $.needsAutoModeExitAttachment}function $3(Q){$.needsAutoModeExitAttachment=Q}function J3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function Y3(Q){$.initJsonSchema=Q}function Z3(){return $.initJsonSchema}function X3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function H3(){return $.registeredHooks}function W3(){$.registeredHooks=null}function x3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function U3(){$.initJsonSchema=null,$.registeredHooks=null}function K3(){return $.planSlugCache}function G3(){return $.sessionCreatedTeams}function B3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function N3(){return $.teleportedSessionInfo}function w3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function z3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function F3(){return $.invokedSkills}function R3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function q3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function D3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function O3(Q,J){}function V3(){return AY}function M3(){return $.mainThreadAgentType}function L3(Q){$.mainThreadAgentType=Q}function f3(){return $.isRemoteMode}function P3(Q){$.isRemoteMode=Q}function I3(){return $.systemPromptSectionCache}function C3(Q,J){$.systemPromptSectionCache.set(Q,J)}function _3(){$.systemPromptSectionCache.clear()}function k3(){return $.lastEmittedDate}function E3(Q){$.lastEmittedDate=Q}function v3(){return $.additionalDirectoriesForClaudeMd}function d3(Q){$.additionalDirectoriesForClaudeMd=Q}function g3(){return $.allowedChannels}function p3(Q){$.allowedChannels=Q,L1()}function y3(){return $.hasDevChannels}function S3(Q){$.hasDevChannels=Q}function m3(){return $.largeSystemPromptDetected}function A3(Q){$.largeSystemPromptDetected=Q}function j3(){return $.afkModeHeaderLatched}function h3(Q){$.afkModeHeaderLatched=Q}function n3(){return $.fastModeHeaderLatched}function b3(Q){$.fastModeHeaderLatched=Q}function i3(){return $.thinkingClearLatched}function u3(Q){$.thinkingClearLatched=Q}function l3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function T3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function c3(){return $.deferredDeltaLegacySession}function r3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function o3(){return $.sessionEpochMs}function s3(){return $.promptId}function a3(Q){$.promptId=Q}function t3(){return!1}function e3(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
2
- export{p as oka,I1 as pka,FQ as qka,RQ as rka,OQ as ska,VQ as tka,_1 as uka,MQ as vka,PQ as wka,IQ as xka,dQ as yka,gQ as zka,w as Aka,M as Bka,pQ as Cka,yQ as Dka,SQ as Eka,mQ as Fka,AQ as Gka,jQ as Hka,nQ as Ika,bQ as Jka,O as Kka,m as Lka,t as Mka,v1 as Nka,A as Oka,d1 as Pka,$1 as Qka,g1 as Rka,$5 as Ska,J5 as Tka,X1 as Uka,X5 as Vka,H1 as Wka,y1 as Xka,W5 as Yka,x5 as Zka,U5 as _ka,K5 as $ka,G5 as ala,B5 as bla,q5 as cla,D5 as dla,W1 as ela,S1 as fla,m1 as gla,O5 as hla,G1 as ila,P5 as jla,A1 as kla,d5 as lla,w1 as mla,j1 as nla,h as ola,R1 as pla,a5 as qla,t5 as rla,Z$ as sla,X$ as tla,D1 as ula,b1 as vla,I as wla,u as xla,O1 as yla,i1 as zla,F$ as Ala,R$ as Bla,f$ as Cla,P$ as Dla,nX as Ela,bX as Fla,iX as Gla,uX as Hla,lX as Ila,TX as Jla,E$ as Kla,cX as Lla,rX as Mla,oX as Nla,v$ as Ola,d$ as Pla,g$ as Qla,Z9 as Rla,X9 as Sla,H9 as Tla,W9 as Ula,x9 as Vla,U9 as Wla,K9 as Xla,G9 as Yla,B9 as Zla,N9 as _la,w9 as $la,z9 as ama,F9 as bma,R9 as cma,q9 as dma,D9 as ema,O9 as fma,V9 as gma,M9 as hma,L9 as ima,f9 as jma,P9 as kma,I9 as lma,C9 as mma,_9 as nma,k9 as oma,E9 as pma,v9 as qma,d9 as rma,g9 as sma,p9 as tma,y9 as uma,S9 as vma,m9 as wma,A9 as xma,j9 as yma,h9 as zma,n9 as Ama,b9 as Bma,i9 as Cma,u9 as Dma,l9 as Ema,T9 as Fma,c9 as Gma,A$ as Hma,r9 as Ima,o9 as Jma,s9 as Kma,a9 as Lma,t9 as Mma,e9 as Nma,QH as Oma,$H as Pma,JH as Qma,YH as Rma,ZH as Sma,XH as Tma,HH as Uma,WH as Vma,xH as Wma,UH as Xma,KH as Yma,GH as Zma,BH as _ma,NH as $ma,wH as ana,zH as bna,FH as cna,RH as dna,qH as ena,DH as fna,OH as gna,VH as hna,MH as ina,LH as jna,fH as kna,PH as lna,IH as mna,CH as nna,_H as ona,kH as pna,EH as qna,vH as rna,dH as sna,gH as tna,pH as una,yH as vna,SH as wna,mH as xna,AH as yna,jH as zna,hH as Ana,nH as Bna,bH as Cna,iH as Dna,uH as Ena,lH as Fna,mY as Gna,TH as Hna,cH as Ina,rH as Jna,oH as Kna,sH as Lna,aH as Mna,tH as Nna,eH as Ona,Q4 as Pna,$4 as Qna,J4 as Rna,Y4 as Sna,Z4 as Tna,X4 as Una,H4 as Vna,W4 as Wna,x4 as Xna,U4 as Yna,K4 as Zna,G4 as _na,B4 as $na,N4 as aoa,w4 as boa,z4 as coa,F4 as doa,R4 as eoa,q4 as foa,D4 as goa,O4 as hoa,V4 as ioa,M4 as joa,L4 as koa,f4 as loa,P4 as moa,I4 as noa,C4 as ooa,_4 as poa,k4 as qoa,E4 as roa,v4 as soa,d4 as toa,g4 as uoa,p4 as voa,y4 as woa,S4 as xoa,m4 as yoa,A4 as zoa,j4 as Aoa,h4 as Boa,n4 as Coa,b4 as Doa,i4 as Eoa,u4 as Foa,l4 as Goa,T4 as Hoa,c4 as Ioa,r4 as Joa,o4 as Koa,s4 as Loa,a4 as Moa,t4 as Noa,e4 as Ooa,Q3 as Poa,$3 as Qoa,J3 as Roa,Y3 as Soa,Z3 as Toa,X3 as Uoa,H3 as Voa,W3 as Woa,x3 as Xoa,U3 as Yoa,K3 as Zoa,G3 as _oa,B3 as $oa,N3 as apa,w3 as bpa,z3 as cpa,F3 as dpa,R3 as epa,q3 as fpa,D3 as gpa,O3 as hpa,V3 as ipa,M3 as jpa,L3 as kpa,f3 as lpa,P3 as mpa,I3 as npa,C3 as opa,_3 as ppa,k3 as qpa,E3 as rpa,v3 as spa,d3 as tpa,g3 as upa,p3 as vpa,y3 as wpa,S3 as xpa,m3 as ypa,A3 as zpa,j3 as Apa,h3 as Bpa,n3 as Cpa,b3 as Dpa,i3 as Epa,u3 as Fpa,l3 as Gpa,T3 as Hpa,c3 as Ipa,r3 as Jpa,jY as Kpa,o3 as Lpa,s3 as Mpa,a3 as Npa,t3 as Opa,e3 as Ppa,hY as Qpa};
@@ -1,2 +0,0 @@
1
- import{Kfa as B,Sfa as N,Tda as A,mea as L}from"./cli-1.0.6-3rnmt44c.mjs";import{sja as z,vja as K}from"./cli-1.0.6-z06mmyvr.mjs";import{yra as I,zra as J}from"./cli-1.0.6-c3q3ytrc.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
- export{P as jU,Q as kU,R as lU,H as mU,U as nU,V as oU,W as pU};
@@ -1,3 +0,0 @@
1
- import{E1 as k,G1 as w}from"./cli-1.0.6-7rxsh83h.mjs";import{F7 as j,Z7 as v}from"./cli-1.0.6-1a002r86.mjs";import{Sga as d,bha as h,cha as s}from"./cli-1.0.6-61qpjst5.mjs";import{nka as q}from"./cli-1.0.6-77j29wff.mjs";import{zra as p}from"./cli-1.0.6-c3q3ytrc.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
- Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
3
- export{x as eW,O as fW,P as gW,Q as hW,R as iW,U as jW,W as kW,X as lW,z as mW};
@@ -1,4 +0,0 @@
1
- import{Cga as w,Dga as L,Ega as _,yga as X}from"./cli-1.0.6-va933r6s.mjs";import{pia as MD,sia as cD}from"./cli-1.0.6-xx7yggj6.mjs";import{_ia as jD,aja as rD,eja as ND,ija as aD,sja as x,vja as dD}from"./cli-1.0.6-z06mmyvr.mjs";import{aka as zD,dka as HD,nka as mD}from"./cli-1.0.6-77j29wff.mjs";import{Qpa as PD,Tla as UD}from"./cli-1.0.6-8zcjrs1k.mjs";import{Ara as hD,vra as LD,xra as bD,zra as V}from"./cli-1.0.6-c3q3ytrc.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,N;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],N=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var K=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return K(p,D)},s=(D)=>{if(D<l||D>g)return!1;return K(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return K(N,D)};var i=V(()=>{m();r();[_D,yD]=kD(N)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes("›"))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return U(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function U(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
2
- `);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return U(E,F);return`${E}…`}}if($(E)<=F)return E;return U(E,F)}var $D=V(()=>{QD();_()});function M(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function wu(D){return`${(D/1000).toFixed(1)}s`}function Lu(D,F){if(D<60000){if(D===0)return"0s";if(D<1000)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Iu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:j}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${j} ago`:`in ${J}${j}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function xu(D){let F=D.fileSize!==void 0?M(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(j,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function Su(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function H(){if(!I)I=hD("perf_hooks").performance;return I}function z(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${M(C.rss)}, Heap: ${M(C.heapUsed)}`:"";return`[+${z(D).padStart(E)}ms] (+${z(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(H().mark(D),Z)OD.push(process.memoryUsage())}function ZD(){if(!Z)return"Startup profiling not enabled";let F=H().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${z(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
3
- `)}function tD(){if(KD)return;if(KD=!0,uu(),Z){let D=Du(),F=sD(D);ND().mkdirSync(F),jD(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function du(){return Z}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=H().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("tengu_startup_perf",C)}var Z,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();Z=HD(process.env.CLAUDE_CODE_PROFILE_STARTUP),vD=Math.random()<iD,GD=Z||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
4
- export{v as Tfa,o as Ufa,O as Vfa,t as Wfa,$ as Xfa,QD as Yfa,TD as Zfa,U as _fa,y as $fa,VD as aga,WD as bga,$D as cga,M as dga,wu as ega,Lu as fga,pD as gga,Iu as hga,qD as iga,lD as jga,xu as kga,gD as lga,Su as mga,XD as nga,H as oga,z as pga,YD as qga,JD as rga,eD as sga,tD as tga,du as uga,Du as vga,uu as wga,Fu as xga};
@@ -1,2 +0,0 @@
1
- import{m9 as Z,q9 as _,r9 as w}from"./cli-1.0.6-wqqq5eh9.mjs";import{P_ as T,Qda as W,Tda as V,W$ as D,a_ as Y,b_ as U,m_ as $,mea as j,z$ as k}from"./cli-1.0.6-3rnmt44c.mjs";import{sja as N,vja as M}from"./cli-1.0.6-z06mmyvr.mjs";import{Qpa as O,Zla as X}from"./cli-1.0.6-8zcjrs1k.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 gb,y as hb,P as ib,d as jb,c as kb};
@@ -1,7 +0,0 @@
1
- import{Rb as d}from"./cli-1.0.6-ckyrvbe3.mjs";import{OV as y,PV as U,RV as f,SV as h,TV as c,YV as i}from"./cli-1.0.6-34y44ns8.mjs";import{A3 as O,C3 as b}from"./cli-1.0.6-tw4tv5c3.mjs";import{T6 as B,U6 as M}from"./cli-1.0.6-1a002r86.mjs";import{k8 as I,r8 as u}from"./cli-1.0.6-6a9gyk3y.mjs";import{N9 as V,P9 as v}from"./cli-1.0.6-3rnmt44c.mjs";import{Xia as H,Yia as m,aja as T,sja as G,vja as D}from"./cli-1.0.6-z06mmyvr.mjs";import{Sja as q,Tja as S,Zja as F}from"./cli-1.0.6-4r68vt91.mjs";import{Kqa as p,ara as s}from"./cli-1.0.6-r0n4r13f.mjs";import{randomUUID as N}from"crypto";D();v();F();u();i();f();M();b();T();class j extends Error{retryAfterMs;constructor(J,K){super(J);this.retryAfterMs=K}}class R{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(J){this.config=J}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(J){if(this.closed)return;let K=Array.isArray(J)?J:[J];if(K.length===0)return;while(this.pending.length+K.length>this.config.maxQueueSize&&!this.closed)await new Promise((W)=>{this.backpressureResolvers.push(W)});if(this.closed)return;this.pending.push(...K),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((J)=>{this.flushResolvers.push(J)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let J of this.backpressureResolvers)J();this.backpressureResolvers=[];for(let J of this.flushResolvers)J();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let J=0;try{while(this.pending.length>0&&!this.closed){let K=this.takeBatch();if(K.length===0)continue;try{await this.config.send(K),J=0}catch(W){if(J++,this.config.maxConsecutiveFailures!==void 0&&J>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(K.length,J),J=0,this.releaseBackpressure();continue}this.pending=K.concat(this.pending);let Z=W instanceof j?W.retryAfterMs:void 0;await this.sleep(this.retryDelay(J,Z));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let K of this.flushResolvers)K();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:J,maxBatchBytes:K}=this.config;if(K===void 0)return this.pending.splice(0,J);let W=0,Z=0;while(Z<this.pending.length&&Z<J){let Q;try{Q=Buffer.byteLength(H(this.pending[Z]))}catch{this.pending.splice(Z,1);continue}if(Z>0&&W+Q>K)break;W+=Q,Z++}return this.pending.splice(0,Z)}retryDelay(J,K){let W=Math.random()*this.config.jitterMs;if(K!==void 0)return Math.max(this.config.baseDelayMs,Math.min(K,this.config.maxDelayMs))+W;return Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs)+W}releaseBackpressure(){let J=this.backpressureResolvers;this.backpressureResolvers=[];for(let K of J)K()}sleep(J){return new Promise((K)=>{this.sleepResolve=K,setTimeout((W,Z)=>{W.sleepResolve=null,Z()},J,this,K)})}}M();class A{inflight=null;pending=null;closed=!1;config;constructor(J){this.config=J}enqueue(J){if(this.closed)return;this.pending=this.pending?P(this.pending,J):J,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let J=this.pending;this.pending=null,this.inflight=this.sendWithRetry(J).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(J){let K=J,W=0;while(!this.closed){if(await this.config.send(K))return;if(W++,await B(this.retryDelay(W)),this.pending&&!this.closed)K=P(K,this.pending),this.pending=null}}retryDelay(J){let K=Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs),W=Math.random()*this.config.jitterMs;return K+W}}function P(J,K){let W={...J};for(let[Z,Q]of Object.entries(K))if((Z==="external_metadata"||Z==="internal_metadata")&&W[Z]&&typeof W[Z]==="object"&&typeof Q==="object"&&Q!==null)W[Z]={...W[Z],...Q};else W[Z]=Q;return W}var g=20000,n=100;function E(){return!0}class k extends Error{reason;constructor(J){super(`CCRClient init failed: ${J}`);this.reason=J}}var l=10;function o(){return{byMessage:new Map,scopeToMessage:new Map}}function C(J){return`${J.session_id}:${J.parent_tool_use_id??""}`}function r(J,K){let W=[],Z=new Map;for(let Q of J)switch(Q.event.type){case"message_start":{let $=Q.event.message.id,z=K.scopeToMessage.get(C(Q));if(z)K.byMessage.delete(z);K.scopeToMessage.set(C(Q),$),K.byMessage.set($,[]),W.push(Q);break}case"content_block_delta":{if(Q.event.delta.type!=="text_delta"){W.push(Q);break}let $=K.scopeToMessage.get(C(Q)),z=$?K.byMessage.get($):void 0;if(!z){W.push(Q);break}let L=z[Q.event.index]??=[];L.push(Q.event.delta.text);let Y=Z.get(L);if(Y){Y.event.delta.text=L.join("");break}let X={type:"stream_event",uuid:Q.uuid,session_id:Q.session_id,parent_tool_use_id:Q.parent_tool_use_id,event:{type:"content_block_delta",index:Q.event.index,delta:{type:"text_delta",text:L.join("")}}};Z.set(L,X),W.push(X);break}default:W.push(Q)}return W}function t(J,K){J.byMessage.delete(K.message.id);let W=C(K);if(J.scopeToMessage.get(W)===K.message.id)J.scopeToMessage.delete(W)}class a{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=I({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=o();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(J,K,W){if(this.onEpochMismatch=W?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=W?.heartbeatIntervalMs??g,this.heartbeatJitterFraction=W?.heartbeatJitterFraction??0,this.getAuthHeaders=W?.getAuthHeaders??U,K.protocol!=="http:"&&K.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${K.protocol}`);let Z=K.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${K.protocol}//${K.host}${Z}`,this.sessionId=Z.split("/").pop()||"",this.workerState=new A({send:(Q)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...Q},"PUT worker").then(($)=>$.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(Q)=>{let $=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:Q},"client events");if(!$.ok)throw new j("client event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(Q)=>{let $=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:Q},"internal events");if(!$.ok)throw new j("internal event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new R({maxBatchSize:64,maxQueueSize:64,send:async(Q)=>{let $=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:Q.map((z)=>({event_id:z.eventId,status:z.status}))},"delivery batch");if(!$.ok)throw new j("delivery POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),J.setOnEvent((Q)=>{this.reportDelivery(Q.event_id,"received")})}async initialize(J){let K=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new k("no_auth_headers");if(J===void 0){let z=process.env.CLAUDE_CODE_WORKER_EPOCH;J=z?parseInt(z,10):NaN}if(isNaN(J))throw new k("missing_epoch");this.workerEpoch=J;let W=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 k("worker_register_failed");this.currentState="idle",this.startHeartbeat(),h(()=>{this.writeEvent({type:"keep_alive"})}),G(`CCRClient: initialized, epoch=${this.workerEpoch}`),V("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-K});let{metadata:Q,durationMs:$}=await W;if(!this.closed)V("info","cli_worker_state_restored",{duration_ms:$,had_state:Q!==null});return Q}async getWorkerState(){let J=Date.now(),K=this.getAuthHeaders();if(Object.keys(K).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,K,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-J}}async request(J,K,W,Z,{timeout:Q=1e4}={}){let $=this.getAuthHeaders();if(Object.keys($).length===0)return{ok:!1};try{let z=await this.http[J](`${this.sessionBaseUrl}${K}`,W,{headers:{...$,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:Q});if(z.status>=200&&z.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(z.status===409)this.handleEpochMismatch();if(z.status===401||z.status===403){let L=y(),Y=L?d(L):null;if(Y!==null&&Y*1000<Date.now())G(`CCRClient: session_token expired (exp=${new Date(Y*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),V("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=l)G(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),V("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(G(`CCRClient: ${Z} returned ${z.status}`,{level:"warn"}),V("warn","cli_worker_request_failed",{method:J,path:K,status:z.status}),z.status===429){let L=z.headers?.["retry-after"],Y=typeof L==="string"?parseInt(L,10):NaN;if(!isNaN(Y)&&Y>=0)return{ok:!1,retryAfterMs:Y*1000}}return{ok:!1}}catch(z){return G(`CCRClient: ${Z} failed: ${q(z)}`,{level:"warn"}),V("warn","cli_worker_request_error",{method:J,path:K,error_code:S(z)}),{ok:!1}}}reportState(J,K){if(J===this.currentState&&!K)return;this.currentState=J,this.workerState.enqueue({worker_status:J,requires_action_details:K?{tool_name:K.tool_name,action_description:K.action_description,request_id:K.request_id}:null})}reportMetadata(J){this.workerState.enqueue({external_metadata:J})}handleEpochMismatch(){G("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),V("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let J=()=>{let W=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(K,this.heartbeatIntervalMs+W)},K=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;J()};J()}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)G("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),n);return}if(await this.flushStreamEventBuffer(),J.type==="assistant")t(this.streamTextAccumulator,J);await this.eventUploader.enqueue(this.toClientEvent(J))}toClientEvent(J){let K=J;return{payload:{...K,uuid:typeof K.uuid==="string"?K.uuid:N()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let J=this.streamEventBuffer;this.streamEventBuffer=[];let K=r(J,this.streamTextAccumulator);await this.eventUploader.enqueue(K.map((W)=>({payload:W,ephemeral:!0})))}async writeInternalEvent(J,K,{isCompaction:W=!1,agentId:Z}={}){let Q={payload:{type:J,...K,uuid:typeof K.uuid==="string"?K.uuid:N()},...W&&{is_compaction:!0},...Z&&{agent_id:Z}};await this.internalEventUploader.enqueue(Q)}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(J,K,W){let Z=this.getAuthHeaders();if(Object.keys(Z).length===0)return null;let Q=[],$;do{let z=new URL(`${this.sessionBaseUrl}${J}`);for(let[Y,X]of Object.entries(K))z.searchParams.set(Y,X);if($)z.searchParams.set("cursor",$);let L=await this.getWithRetry(z.toString(),Z,W);if(!L)return null;Q.push(...L.data??[]),$=L.next_cursor}while($);return G(`CCRClient: Read ${Q.length} internal events from ${J}${K.subagents?" (subagents)":""}`),Q}async getWithRetry(J,K,W){for(let Z=1;Z<=10;Z++){let Q;try{Q=await this.http.get(J,{headers:{...K,"anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:30000})}catch($){if(G(`CCRClient: GET ${J} failed (attempt ${Z}/10): ${q($)}`,{level:"warn"}),Z<10){let z=Math.min(500*2**(Z-1),30000)+Math.random()*500;await B(z)}continue}if(Q.status>=200&&Q.status<300)return Q.data;if(Q.status===409)this.handleEpochMismatch();if(G(`CCRClient: GET ${J} returned ${Q.status} (attempt ${Z}/10)`,{level:"warn"}),Z<10){let $=Math.min(500*2**(Z-1),30000)+Math.random()*500;await B($)}}return G("CCRClient: GET retries exhausted",{level:"error"}),V("error","cli_worker_get_retries_exhausted",{context:W}),null}reportDelivery(J,K){this.deliveryUploader.enqueue({eventId:J,status:K})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),c(),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()}}s();D();v();F();f();M();T();b();var e=1000,JJ=30000,KJ=600000,QJ=45000,WJ=new Set([401,403,404]),x=10,ZJ=500,$J=8000,GJ={stream:!0};function zJ(){return!0}function VJ(J){let K=[],W=0,Z;while((Z=J.indexOf(`
2
-
3
- `,W))!==-1){let Q=J.slice(W,Z);if(W=Z+2,!Q.trim())continue;let $={},z=!1;for(let L of Q.split(`
4
- `)){if(L.startsWith(":")){z=!0;continue}let Y=L.indexOf(":");if(Y===-1)continue;let X=L.slice(0,Y),w=L[Y+1]===" "?L.slice(Y+2):L.slice(Y+1);switch(X){case"event":$.event=w;break;case"id":$.id=w;break;case"data":$.data=$.data?$.data+`
5
- `+w:w;break}}if($.data||z)K.push($)}return{frames:K,remaining:J.slice(W)}}class YJ{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(J,K={},W,Z,Q,$){this.url=J;if(this.headers=K,this.sessionId=W,this.refreshHeaders=Z,this.getAuthHeaders=$??U,this.postUrl=LJ(J),Q!==void 0&&Q>0)this.lastSequenceNum=Q;G(`SSETransport: SSE URL = ${J.href}`),G(`SSETransport: POST URL = ${this.postUrl}`),V("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){G(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),V("error","cli_sse_connect_failed");return}this.state="reconnecting";let J=Date.now(),K=new URL(this.url.href);if(this.lastSequenceNum>0)K.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let W=this.getAuthHeaders(),Z={...this.headers,...W,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":O()};if(W.Cookie)delete Z.Authorization;if(this.lastSequenceNum>0)Z["Last-Event-ID"]=String(this.lastSequenceNum);G(`SSETransport: Opening ${K.href}`),V("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let Q=await fetch(K.href,{headers:Z,signal:this.abortController.signal});if(!Q.ok){let z=WJ.has(Q.status);if(G(`SSETransport: HTTP ${Q.status}${z?" (permanent)":""}`,{level:"error"}),V("error","cli_sse_connect_http_error",{status:Q.status}),z){this.state="closed",this.onCloseCallback?.(Q.status);return}this.handleConnectionError();return}if(!Q.body){G("SSETransport: No response body"),this.handleConnectionError();return}let $=Date.now()-J;G("SSETransport: Connected"),V("info","cli_sse_connect_connected",{duration_ms:$}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(Q.body)}catch(Q){if(this.abortController?.signal.aborted)return;G(`SSETransport: Connection error: ${q(Q)}`,{level:"error"}),V("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(J){let K=J.getReader(),W=new TextDecoder,Z="";try{while(!0){let{done:Q,value:$}=await K.read();if(Q)break;Z+=W.decode($,GJ);let{frames:z,remaining:L}=VJ(Z);Z=L;for(let Y of z){if(this.resetLivenessTimer(),Y.id){let X=parseInt(Y.id,10);if(!isNaN(X)){if(this.seenSequenceNums.has(X))G(`SSETransport: DUPLICATE frame seq=${X} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),V("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(X),this.seenSequenceNums.size>1000){let w=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<w)this.seenSequenceNums.delete(_)}if(X>this.lastSequenceNum)this.lastSequenceNum=X}}if(Y.event&&Y.data)this.handleSSEFrame(Y.event,Y.data);else if(Y.data)G("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),V("warn","cli_sse_frame_missing_event_field")}}}catch(Q){if(this.abortController?.signal.aborted)return;G(`SSETransport: Stream read error: ${q(Q)}`,{level:"error"}),V("error","cli_sse_stream_read_error")}finally{K.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")G("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(J,K){if(J!=="client_event"){G(`SSETransport: Unexpected SSE event type '${J}' on worker stream`,{level:"warn"}),V("warn","cli_sse_unexpected_event_type",{event_type:J});return}let W;try{W=m(K)}catch(Q){G(`SSETransport: Failed to parse client_event data: ${q(Q)}`,{level:"error"});return}let Z=W.payload;if(Z&&typeof Z==="object"&&"type"in Z){let Q=this.sessionId?` session=${this.sessionId}`:"";G(`SSETransport: Event seq=${W.sequence_num} event_id=${W.event_id} event_type=${W.event_type} payload_type=${String(Z.type)}${Q}`),V("info","cli_sse_message_received"),this.onData?.(H(Z)+`
6
- `)}else G(`SSETransport: Ignoring client_event with no type in payload: event_id=${W.event_id}`);this.onEventCallback?.(W)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let J=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=J;let K=J-this.reconnectStartTime;if(K<KJ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let Q=this.refreshHeaders();Object.assign(this.headers,Q),G("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let W=Math.min(e*Math.pow(2,this.reconnectAttempts-1),JJ),Z=Math.max(0,W+W*0.25*(2*Math.random()-1));G(`SSETransport: Reconnecting in ${Math.round(Z)}ms (attempt ${this.reconnectAttempts}, ${Math.round(K/1000)}s elapsed)`),V("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},Z)}else G(`SSETransport: Reconnection time budget exhausted after ${Math.round(K/1000)}s`,{level:"error"}),V("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:K}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,G("SSETransport: Liveness timeout, reconnecting",{level:"error"}),V("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,QJ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(J){let K=this.getAuthHeaders();if(Object.keys(K).length===0){G("SSETransport: No session token available for POST"),V("warn","cli_sse_post_no_token");return}let W={...K,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()};G(`SSETransport: POST body keys=${Object.keys(J).join(",")}`);for(let Z=1;Z<=x;Z++){try{let $=await p.post(this.postUrl,J,{headers:W,validateStatus:zJ});if($.status===200||$.status===201){G(`SSETransport: POST success type=${J.type}`);return}if(G(`SSETransport: POST ${$.status} body=${H($.data).slice(0,200)}`),$.status>=400&&$.status<500&&$.status!==429){G(`SSETransport: POST returned ${$.status} (client error), not retrying`),V("warn","cli_sse_post_client_error",{status:$.status});return}G(`SSETransport: POST returned ${$.status}, attempt ${Z}/${x}`),V("warn","cli_sse_post_retryable_error",{status:$.status,attempt:Z})}catch($){G(`SSETransport: POST error: ${$.message}, attempt ${Z}/${x}`),V("warn","cli_sse_post_network_error",{attempt:Z})}if(Z===x){G(`SSETransport: POST failed after ${x} attempts, continuing`),V("warn","cli_sse_post_retries_exhausted");return}let Q=Math.min(ZJ*Math.pow(2,Z-1),$J);await B(Q)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnClose(J){this.onCloseCallback=J}setOnEvent(J){this.onEventCallback=J}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function LJ(J){let K=J.pathname;if(K.endsWith("/stream"))K=K.slice(0,-7);return`${J.protocol}//${J.host}${K}`}
7
- export{R as Ib,k as Jb,a as Kb,YJ as Lb};
@@ -1,2 +0,0 @@
1
- import{dka as q,nka as U}from"./cli-1.0.6-77j29wff.mjs";import{yra as L,zra as X}from"./cli-1.0.6-c3q3ytrc.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
2
- export{G as aX,Y as bX,Z as cX,$ as dX,Q as eX,_ as fX,v as gX,E as hX,A as iX,h as jX,u as kX,f as lX,w as mX,S as nX,P as oX,I as pX,l as qX,y as rX,g as sX};
@@ -1,2 +0,0 @@
1
- import{Uo as Z,Zo as G}from"./cli-1.0.6-gjtt9hjc.mjs";import{Kfa as X,Sfa as R}from"./cli-1.0.6-3rnmt44c.mjs";import{Xia as v,Yia as B,aja as A,eja as C,ija as M,sja as U,vja as O}from"./cli-1.0.6-z06mmyvr.mjs";import{zra as b}from"./cli-1.0.6-c3q3ytrc.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
2
- export{o as xd,c as yd,p as zd,d as Ad,g as Bd,w as Cd};
@@ -1,2 +0,0 @@
1
- import{H7 as Z,K7 as T,Q7 as f,Z7 as WB}from"./cli-1.0.6-1a002r86.mjs";import{Caa as _,Daa as KB,F9 as O,G9 as BB,Tda as A,dea as v,mea as QB}from"./cli-1.0.6-3rnmt44c.mjs";import{Cha as w,Dha as JB}from"./cli-1.0.6-sws40pv9.mjs";import{dka as F,nka as e}from"./cli-1.0.6-77j29wff.mjs";import{Aka as S,Bka as s,Qpa as a,Tla as R,ela as I,fla as c,qla as M,rla as m}from"./cli-1.0.6-8zcjrs1k.mjs";import{nqa as q,oqa as t}from"./cli-1.0.6-7sc6kks8.mjs";import{zra as K}from"./cli-1.0.6-c3q3ytrc.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
2
- export{kB as dU,r as eU,vB as fU,TB as gU,g as hU,ZB as iU};
@@ -1,3 +0,0 @@
1
- import{R9 as Q,T9 as M,Tda as P,mea as R}from"./cli-1.0.6-3rnmt44c.mjs";import{sja as G,vja as C}from"./cli-1.0.6-z06mmyvr.mjs";import{zra as j}from"./cli-1.0.6-c3q3ytrc.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
2
- `),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
3
- export{g as P3,w as Q3,f as R3};
@@ -1,2 +0,0 @@
1
- import{Ud as Jq,Yd as Tq}from"./cli-1.0.6-ykfbjap8.mjs";import{de as zq,ee as bq}from"./cli-1.0.6-qnmkmcq4.mjs";import{BL as qq,DH as u,EH as fq,FL as Fq,OF as r,PF as Gq,PK as S,SK as Nq,VL as D,YL as Cq,Yn as n,Zn as yq,bL as s,cL as _q,gL as a,jL as l,nL as t,sL as e,uL as Rq}from"./cli-1.0.6-gjtt9hjc.mjs";import{AY as Kq,J0 as Oq,JY as Bq,c0 as F,e0 as C,zY as i}from"./cli-1.0.6-6zqt7f43.mjs";import{q3 as v,r3 as R,s3 as p}from"./cli-1.0.6-w3xpmc0m.mjs";import{t3 as Lq}from"./cli-1.0.6-6zh1kz2j.mjs";import{F9 as g,G9 as Zq,Kfa as m,R9 as $,R_ as o,S_ as Hq,Sfa as wq,T9 as Xq,W$ as vq,z$ as x}from"./cli-1.0.6-3rnmt44c.mjs";import{sja as B,vja as Yq}from"./cli-1.0.6-z06mmyvr.mjs";import{Rja as P,Uja as h,Zja as Wq}from"./cli-1.0.6-4r68vt91.mjs";import{vra as d,zra as Vq}from"./cli-1.0.6-c3q3ytrc.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
- export{Iq as Kd,Yz as Ld,Dq as Md};
@@ -1,3 +0,0 @@
1
- import{Mc as m,Nc as v,Oc as wk}from"./cli-1.0.6-pgwdn1q5.mjs";import{$F as i,$y as Vk,DE as Lk,Kn as p,Ln as zk,ZF as n,_F as V,_y as l,cG as Tk,eO as o,gO as t,jO as Dk,kR as r,lR as kk,nO as e,oO as Uk,pR as jk,uA as s,uE as g,vA as Gk,vE as a}from"./cli-1.0.6-gjtt9hjc.mjs";import{K4 as d,M4 as Ok,i4 as T,n4 as Jk}from"./cli-1.0.6-1a002r86.mjs";import{d8 as f,e8 as Ik,o8 as c,r8 as Mk}from"./cli-1.0.6-6a9gyk3y.mjs";import{m9 as S,r9 as _k}from"./cli-1.0.6-wqqq5eh9.mjs";import{N9 as K,Nca as j,P9 as Zk,T_ as P,Tda as x,X_ as $k,Xda as b,ada as Kk,eea as u,mea as $,vfa as _,yfa as Hk}from"./cli-1.0.6-3rnmt44c.mjs";import{sga as J,xga as Yk}from"./cli-1.0.6-9be2xem8.mjs";import{nia as L,oia as Bk}from"./cli-1.0.6-2taykcm3.mjs";import{sja as B,via as O,vja as U,xia as Rk}from"./cli-1.0.6-z06mmyvr.mjs";import{Mja as h,Sja as Y,Zja as Xk}from"./cli-1.0.6-4r68vt91.mjs";import{dka as E,nka as Wk}from"./cli-1.0.6-77j29wff.mjs";import{Gna as w,Qpa as z,ona as F,qna as y}from"./cli-1.0.6-8zcjrs1k.mjs";import{nqa as A,oqa as Qk}from"./cli-1.0.6-7sc6kks8.mjs";import{Ara as W}from"./cli-1.0.6-c3q3ytrc.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-1.0.6-y50d073s.mjs"),import("./growthbook-1.0.6-q95706fh.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.0.6-8d54f9fn.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.0.6-1p34363n.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-1.0.6-sbqr7ebq.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
- `),kk(1);return}return import("./InvalidConfigDialog-1.0.6-jgmn19nt.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-1.0.6-rchtz4a0.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
- export{Yq as U,Zq as V};
@@ -1,2 +0,0 @@
1
- import{nW as M,pW as X}from"./cli-1.0.6-xgntnn4t.mjs";import{Nca as K,Tca as L,ada as W,eaa as B,naa as V}from"./cli-1.0.6-3rnmt44c.mjs";import{zra as Q}from"./cli-1.0.6-c3q3ytrc.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
2
- export{F as ac,Y as bc};
@@ -1,2 +0,0 @@
1
- import{oi as M,pi as w,qi as A}from"./cli-1.0.6-wvn01egx.mjs";import{vha as X,xha as N,yha as $,zha as O}from"./cli-1.0.6-e3cstemm.mjs";import{sja as R,vja as C}from"./cli-1.0.6-z06mmyvr.mjs";import{aka as L,nka as _}from"./cli-1.0.6-77j29wff.mjs";import{Qpa as T,Tla as H}from"./cli-1.0.6-8zcjrs1k.mjs";import{Kqa as W,ara as y}from"./cli-1.0.6-r0n4r13f.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
2
- export{S as X,f as Y,l as Z,s as _};
@@ -1,2 +0,0 @@
1
- import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
- export{z as vra,A as wra,B as xra,C as yra,D as zra,F as Ara,G as Bra,H as Cra};
@@ -1,4 +0,0 @@
1
- import{mg as LJ,ng as WQ}from"./cli-1.0.6-0zy5g0r0.mjs";import{og as hJ,pg as RQ}from"./cli-1.0.6-fggt191f.mjs";import{qg as PJ,rg as hQ}from"./cli-1.0.6-74km5nc4.mjs";import{sg as aq,tg as lJ}from"./cli-1.0.6-xk2ttvjs.mjs";import{ug as Fq,vg as iq,wg as $J}from"./cli-1.0.6-5tx13t22.mjs";import{xg as WJ,yg as HQ}from"./cli-1.0.6-256zr6e0.mjs";import{Bx as g,EP as eq,Ex as yQ,GP as iJ,Mx as uq,Nx as mq,PI as HJ,Px as pq,QI as RJ,Qx as fJ,RI as wQ,So as P,To as Tq,UP as Aq,XP as oJ,YS as wq,aT as sq,bt as KJ,ct as VQ,dT as tq,dt as VJ,et as XJ,ft as XQ,pT as nJ,qG as vq,rG as BQ,sG as UJ,tG as FJ,uG as wJ,vG as FQ,vo as GJ,wo as KQ}from"./cli-1.0.6-gjtt9hjc.mjs";import{$T as NJ,ZT as yJ,cU as NQ}from"./cli-1.0.6-d8gyb25m.mjs";import{GV as BJ,KV as UQ}from"./cli-1.0.6-1eet2296.mjs";import{IX as zJ,JX as zQ,MX as YJ,NX as YQ,VX as Mq,WX as GQ}from"./cli-1.0.6-2kk9k86d.mjs";import{J0 as Oq,JY as Pq,c0 as y,e0 as Q}from"./cli-1.0.6-6zqt7f43.mjs";import{p3 as h,q3 as Y,r3 as Z,s3 as c}from"./cli-1.0.6-w3xpmc0m.mjs";import{t3 as ZQ}from"./cli-1.0.6-6zh1kz2j.mjs";import{E6 as ZJ,F6 as QQ,T5 as rq,q6 as cJ}from"./cli-1.0.6-1a002r86.mjs";import{A9 as $,B9 as tJ,Sca as QJ,W$ as qQ,ada as JQ,eca as gq,fca as dJ,ica as xq,qca as TJ,z$ as Iq}from"./cli-1.0.6-3rnmt44c.mjs";import{aka as JJ,nka as sJ}from"./cli-1.0.6-77j29wff.mjs";import{Qpa as eJ,Zla as qJ}from"./cli-1.0.6-8zcjrs1k.mjs";import{vra as Bq,zra as Uq}from"./cli-1.0.6-c3q3ytrc.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
- `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
4
- export{pZ as kg,cQ as lg};
@@ -1,2 +0,0 @@
1
- import{Ei as a,Fi as l}from"./cli-1.0.6-sw7g4tgd.mjs";import{Gi as m,Hi as c}from"./cli-1.0.6-f80wk918.mjs";import{q3 as e,s3 as n}from"./cli-1.0.6-w3xpmc0m.mjs";import{zra as s}from"./cli-1.0.6-c3q3ytrc.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
- export{f as Ci,g as Di};
@@ -1,2 +0,0 @@
1
- import{N9 as B,P9 as p}from"./cli-1.0.6-3rnmt44c.mjs";import{pia as C,sia as y}from"./cli-1.0.6-xx7yggj6.mjs";import{Yia as T,aja as x,sja as V,vja as M}from"./cli-1.0.6-z06mmyvr.mjs";import{Sja as L,Zja as c}from"./cli-1.0.6-4r68vt91.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
2
- export{E as Rb,I as Sb};
@@ -1,2 +0,0 @@
1
- import{Cc as l,Dc as m,Gc as u,Hc as y}from"./cli-1.0.6-sq2d4y85.mjs";import{OF as p,QF as b}from"./cli-1.0.6-gjtt9hjc.mjs";import{J0 as C,c0 as s,e0 as e}from"./cli-1.0.6-6zqt7f43.mjs";import{q3 as i,r3 as r,s3 as g}from"./cli-1.0.6-w3xpmc0m.mjs";import{t3 as M}from"./cli-1.0.6-6zh1kz2j.mjs";import{vra as h,zra as f}from"./cli-1.0.6-c3q3ytrc.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
- export{T as Ac,w as Bc};
@@ -1,2 +0,0 @@
1
- import{yra as Q,zra as U}from"./cli-1.0.6-c3q3ytrc.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
- export{K as gra,w as hra,L as ira};
@@ -1,5 +0,0 @@
1
- import{Ib as U}from"./cli-1.0.6-9p90g9dg.mjs";import{$s as N,at as b}from"./cli-1.0.6-gjtt9hjc.mjs";import{OV as F,RV as d,SV as _,TV as M,YV as I}from"./cli-1.0.6-34y44ns8.mjs";import{b8 as B,e8 as T,l8 as x,m8 as H,r8 as v}from"./cli-1.0.6-6a9gyk3y.mjs";import{N9 as Z,P9 as P}from"./cli-1.0.6-3rnmt44c.mjs";import{pia as O,sia as D}from"./cli-1.0.6-xx7yggj6.mjs";import{Xia as z,aja as S,sja as Y,vja as A}from"./cli-1.0.6-z06mmyvr.mjs";import{dka as L,nka as f}from"./cli-1.0.6-77j29wff.mjs";import{Kqa as y,ara as i}from"./cli-1.0.6-r0n4r13f.mjs";import{Ara as k}from"./cli-1.0.6-c3q3ytrc.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
2
- `,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-1.0.6-crv0bjsj.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
3
- `;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
4
- `;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
5
- export{W as vb,n as wb};
@@ -1,15 +0,0 @@
1
- import{D1 as r,G1 as OJ}from"./cli-1.0.6-7rxsh83h.mjs";import{Baa as v,Daa as _J,Kfa as q,Qda as N,S9 as W,Sca as o,Sfa as f,T9 as D,ada as MJ,mea as P}from"./cli-1.0.6-3rnmt44c.mjs";import{pia as A,sia as GJ}from"./cli-1.0.6-xx7yggj6.mjs";import{Xia as k,Yia as L,aja as F,eja as O,ija as I,sja as K,vja as BJ}from"./cli-1.0.6-z06mmyvr.mjs";import{Cja as i,Tja as M,Uja as _,Xja as p,Zja as x}from"./cli-1.0.6-4r68vt91.mjs";import{aka as B,nka as b}from"./cli-1.0.6-77j29wff.mjs";import{zra as w}from"./cli-1.0.6-c3q3ytrc.mjs";import{access as E,chmod as ZJ,writeFile as $J}from"fs/promises";import{homedir as m}from"os";import{join as y}from"path";function U(){return y(B(),"local")}function qJ(J=m()){return y(J,".claude","local")}function d(J){let Q=J?.homeDir??m(),Y=J?.configHomeDir??B();return Array.from(new Set([y(Y,"local"),qJ(Q)]))}function u(J){return[y(J,"node_modules",".bin","claudin"),y(J,"node_modules",".bin","claude")]}function KJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function V(){return y(U(),"claudin")}function uJ(){return KJ(process.argv[1]||"")}async function C(J,Q,Y){try{return await $J(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function WJ(){try{let J=U();await O().mkdir(J),await C(y(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=V();if(await C(Q,`#!/bin/sh
2
- exec "${J}/node_modules/.bin/claudin" "$@"`,493))await ZJ(Q,493);return!0}catch(J){return q(J),!1}}async function hJ(J,Q){try{if(!await WJ())return"install_failed";let Z=await W("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:U(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return N(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function pJ(){for(let J of d())for(let Q of u(J))try{return await E(Q),!0}catch{}return!1}async function cJ(){for(let J of d())for(let Q of u(J))try{return await E(Q),J}catch{}return null}function gJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var h=w(()=>{P();b();x();D();I();f();F()});import{open as XJ,readFile as zJ,stat as HJ}from"fs/promises";import{homedir as c}from"os";import{join as T}from"path";function S(J){let Q=J?.homedir??c(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:T(Z,".zshrc"),bash:T(Q,".bashrc"),fish:T(Q,".config/fish/config.fish")}}function n(J){let Q=!1;return{filtered:J.filter((Z)=>{if(g.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===V())return Q=!0,!1}}return!0}),hadAlias:Q}}async function j(J){try{return(await zJ(J,{encoding:"utf8"})).split(`
3
- `)}catch(Q){if(p(Q))return null;throw Q}}async function s(J,Q){let Y=await XJ(J,"w");try{await Y.writeFile(Q.join(`
4
- `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function yJ(J){let Q=S(J);for(let Y of Object.values(Q)){let Z=await j(Y);if(!Z)continue;for(let $ of Z)if(g.test($)){let z=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(z&&z[1])return z[1]}}return null}async function oJ(J){let Q=await yJ(J);if(!Q)return null;let Y=J?.homedir??c(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await HJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var g;var a=w(()=>{x();h();g=/^\s*alias\s+claude\s*=/});import{constants as e}from"fs";import{access as JJ,stat as vJ,writeFile as t}from"fs/promises";import{homedir as X}from"os";import{join as R}from"path";function QJ(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function RJ(){let J=await W("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}function xJ(){let J=process.env.BUN_INSTALL||R(X(),".bun");return R(J,"install","global","node_modules","@claudiolabs/claudin")}async function UJ(J,Q){let Y=await W("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!wJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await W("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function VJ(){let J=xJ(),Q=R(J,"install.cjs"),Y=R(J,"bin","claudin.exe");try{await JJ(Q,e.F_OK)}catch(Z){if(!_(Z))q(Z);return!1}try{if((await vJ(Y)).size>NJ)return!1}catch(Z){if(!_(Z))return q(Z),!1}if(!await UJ(Q,J))return!1;return K("update: repaired Bun global launcher via install.cjs"),!0}async function OQ(){}async function vQ(){return}async function RQ(){return}function NQ(J){let Y=o()?.minimumVersion;if(!Y)return!1;let Z=!r(J,Y);if(Z)K(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function YJ(){return R(B(),".update.lock")}async function TJ(){let J=O(),Q=YJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<l)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<l)return!1;await J.unlink(Q)}catch($){if(!_($))return q($),!1}}catch(Y){if(!_(Y))return q(Y),!1}try{return await t(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(B()),await t(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function SJ(){let J=O(),Q=YJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(_(Y))return;q(Y)}}async function jJ(){let J=v.isRunningWithBun()||QJ(),Q=null;if(J)Q=await W("bun",["pm","bin","-g"],{cwd:X()});else Q=await W("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function AJ(){try{let J=await jJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await JJ(J,e.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function wQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await W("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(K(`npm view failed with code ${$.code}`),$.stderr)K(`npm stderr: ${$.stderr.trim()}`);else K("npm stderr: (empty)");if($.stdout)K(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function xQ(){let J=await W("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return K(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=L(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return K(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function UQ(J){return null}async function VQ(){return{latest:null,stable:null}}async function TQ(J){let Y=await W("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(K(`npm view versions failed with code ${Y.code}`),Y.stderr)K(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return L(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return K(`Failed to parse version history: ${Z}`),[]}}async function SQ(J){if(!await TJ())return q(new G("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await LJ(),!v.isRunningWithBun()&&v.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
5
- Error: Windows NPM detected in WSL
6
-
7
- You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
8
- This configuration is not supported for updates.
9
-
10
- To fix this issue:
11
- 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
- 2. Make sure Linux NPM is in your PATH before the Windows version
13
- 3. Try updating again with 'claude update'
14
- `),"install_failed";let{hasPermissions:Q}=await AJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=v.isRunningWithBun()||QJ()?"bun":"npm",z=await W(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(z.code!==0){let H=new G(`Failed to install new version of claude: ${z.stdout} ${z.stderr}`);return q(H),"install_failed"}if(Z==="npm"&&await RJ()){let H=await W("bun",["install","-g",Y],{cwd:X()});if(H.code!==0)q(new G(`Failed to update bun global install: ${H.stdout} ${H.stderr}`))}return await VJ(),N((H)=>({...H,installMethod:"global"})),"success"}finally{await SJ()}}async function LJ(){let J=S();for(let[,Q]of Object.entries(J))try{let Y=await j(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=n(Y);if($)await s(Q,Z),K(`Removed claude alias from ${Q}`)}catch(Y){K(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,NJ=4096,wJ,l=300000;var CJ=w(()=>{GJ();P();BJ();_J();b();x();D();I();f();OJ();MJ();a();F();G=class G extends i{};wJ=/ENOENT/i});
15
- export{uJ as ET,hJ as FT,pJ as GT,cJ as HT,gJ as IT,h as JT,S as KT,n as LT,j as MT,s as NT,yJ as OT,oJ as PT,a as QT,VJ as RT,OQ as ST,vQ as TT,RQ as UT,NQ as VT,YJ as WT,AJ as XT,wQ as YT,xQ as ZT,UQ as _T,VQ as $T,TQ as aU,SQ as bU,CJ as cU};
@@ -1,2 +0,0 @@
1
- import{zra as K}from"./cli-1.0.6-c3q3ytrc.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 wja,N as xja,Q as yja,R as zja,S as Aja,L as Bja};
@@ -1,2 +0,0 @@
1
- import{yra as x,zra as z}from"./cli-1.0.6-c3q3ytrc.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
- export{A as H1,F as I1,G as J1,H as K1,J as L1};