@claudiolabs/claudin 1.1.11 → 1.1.13

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 (927) hide show
  1. package/README.md +3 -24
  2. package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +1 -0
  3. package/dist/chunks/App-1.1.13-d46t1gxs.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +6 -0
  11. package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +6 -0
  13. package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +1 -0
  31. package/dist/chunks/agents-1.1.13-86a1wgye.mjs +110 -0
  32. package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +3 -0
  33. package/dist/chunks/api-1.1.13-5ffq20rc.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +1 -0
  36. package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +1 -0
  37. package/dist/chunks/auth-1.1.13-xv576tj3.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +1 -0
  41. package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +1 -0
  47. package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +4 -0
  51. package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +1 -0
  54. package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +1 -0
  56. package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +2 -0
  57. package/dist/chunks/cli-1.1.13-0dha376x.mjs +3 -0
  58. package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +7 -0
  59. package/dist/chunks/cli-1.1.13-0qy978b3.mjs +3 -0
  60. package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +2 -0
  61. package/dist/chunks/cli-1.1.13-0y4933cs.mjs +2 -0
  62. package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +2 -0
  63. package/dist/chunks/cli-1.1.13-15nbdw38.mjs +2 -0
  64. package/dist/chunks/cli-1.1.13-17xy86gy.mjs +24 -0
  65. package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +6 -0
  66. package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +2 -0
  67. package/dist/chunks/cli-1.1.13-1jf910f2.mjs +2 -0
  68. package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +2 -0
  69. package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +2 -0
  70. package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +2 -0
  71. package/dist/chunks/cli-1.1.13-24284zna.mjs +2 -0
  72. package/dist/chunks/cli-1.1.13-284pjmzy.mjs +4 -0
  73. package/dist/chunks/cli-1.1.13-2964cc2e.mjs +2 -0
  74. package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +2 -0
  75. package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +2 -0
  76. package/dist/chunks/cli-1.1.13-2m39r998.mjs +2 -0
  77. package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +202 -0
  78. package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +2 -0
  79. package/dist/chunks/cli-1.1.13-2txesqy8.mjs +2 -0
  80. package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +2 -0
  81. package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +2 -0
  82. package/dist/chunks/cli-1.1.13-46jvx14j.mjs +2 -0
  83. package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +2 -0
  84. package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +42 -0
  85. package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +2 -0
  86. package/dist/chunks/cli-1.1.13-53ght581.mjs +3 -0
  87. package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +2 -0
  88. package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +6 -0
  89. package/dist/chunks/cli-1.1.13-61mygvzg.mjs +2 -0
  90. package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +2 -0
  91. package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +12 -0
  92. package/dist/chunks/cli-1.1.13-669vhsjj.mjs +2 -0
  93. package/dist/chunks/cli-1.1.13-6727vw4f.mjs +2 -0
  94. package/dist/chunks/cli-1.1.13-6b845car.mjs +2 -0
  95. package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +4 -0
  96. package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +17 -0
  97. package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +2 -0
  98. package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +2 -0
  99. package/dist/chunks/cli-1.1.13-6k71beqh.mjs +2 -0
  100. package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +2 -0
  101. package/dist/chunks/cli-1.1.13-74rczf0f.mjs +2 -0
  102. package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +2 -0
  103. package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +2 -0
  104. package/dist/chunks/cli-1.1.13-7s34jqge.mjs +133 -0
  105. package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +2 -0
  106. package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +2 -0
  107. package/dist/chunks/cli-1.1.13-82y6dszx.mjs +2 -0
  108. package/dist/chunks/cli-1.1.13-86kjp502.mjs +2 -0
  109. package/dist/chunks/cli-1.1.13-91q67gqp.mjs +2 -0
  110. package/dist/chunks/cli-1.1.13-9609q0ww.mjs +2 -0
  111. package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +15 -0
  112. package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +2 -0
  113. package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +25 -0
  114. package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +2 -0
  115. package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +5 -0
  116. package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +2 -0
  117. package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +2 -0
  118. package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +25 -0
  119. package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +2 -0
  120. package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +4 -0
  121. package/dist/chunks/cli-1.1.13-aac9pss7.mjs +59 -0
  122. package/dist/chunks/cli-1.1.13-aeq919w1.mjs +2 -0
  123. package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +2 -0
  124. package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +6 -0
  125. package/dist/chunks/cli-1.1.13-b47k2p92.mjs +21 -0
  126. package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +2 -0
  127. package/dist/chunks/cli-1.1.13-baxww5k9.mjs +3 -0
  128. package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +2 -0
  129. package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +2 -0
  130. package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +2 -0
  131. package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +2 -0
  132. package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +2 -0
  133. package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +2 -0
  134. package/dist/chunks/cli-1.1.13-cn9g3704.mjs +12 -0
  135. package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +2 -0
  136. package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +2 -0
  137. package/dist/chunks/cli-1.1.13-d54qh52e.mjs +3 -0
  138. package/dist/chunks/cli-1.1.13-d8d30wps.mjs +3 -0
  139. package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +3 -0
  140. package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +2 -0
  141. package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +2 -0
  142. package/dist/chunks/cli-1.1.13-e4hsds4b.mjs +2 -0
  143. package/dist/chunks/cli-1.1.13-e4k7980n.mjs +2 -0
  144. package/dist/chunks/cli-1.1.13-e68npf24.mjs +2 -0
  145. package/dist/chunks/cli-1.1.13-ehaqachs.mjs +2 -0
  146. package/dist/chunks/cli-1.1.13-epjmphrz.mjs +133 -0
  147. package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +24 -0
  148. package/dist/chunks/cli-1.1.13-ewxej7em.mjs +2 -0
  149. package/dist/chunks/cli-1.1.13-ey931psa.mjs +2 -0
  150. package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +2 -0
  151. package/dist/chunks/cli-1.1.13-far5gqfj.mjs +2 -0
  152. package/dist/chunks/cli-1.1.13-fccy9c48.mjs +2 -0
  153. package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +2 -0
  154. package/dist/chunks/cli-1.1.13-fkcaczca.mjs +2 -0
  155. package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +2 -0
  156. package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +3 -0
  157. package/dist/chunks/cli-1.1.13-g8k8na90.mjs +2 -0
  158. package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +8 -0
  159. package/dist/chunks/cli-1.1.13-gechs2yp.mjs +4 -0
  160. package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +18 -0
  161. package/dist/chunks/cli-1.1.13-gh95gh19.mjs +2 -0
  162. package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +2 -0
  163. package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +39 -0
  164. package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +16 -0
  165. package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +2 -0
  166. package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +2 -0
  167. package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +2 -0
  168. package/dist/chunks/cli-1.1.13-hb5bb8jk.mjs +3 -0
  169. package/dist/chunks/cli-1.1.13-hg8x8693.mjs +6 -0
  170. package/dist/chunks/cli-1.1.13-hzneg4va.mjs +2 -0
  171. package/dist/chunks/cli-1.1.13-j02dcs05.mjs +2 -0
  172. package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +2 -0
  173. package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +15 -0
  174. package/dist/chunks/cli-1.1.13-jdcqc6bd.mjs +2 -0
  175. package/dist/chunks/cli-1.1.13-je6371k7.mjs +2 -0
  176. package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +2 -0
  177. package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +2 -0
  178. package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +34 -0
  179. package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +4 -0
  180. package/dist/chunks/cli-1.1.13-kct81ph3.mjs +2 -0
  181. package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +15 -0
  182. package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +2 -0
  183. package/dist/chunks/cli-1.1.13-kq8spsav.mjs +2 -0
  184. package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +2 -0
  185. package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +3 -0
  186. package/dist/chunks/cli-1.1.13-m5grg33r.mjs +4 -0
  187. package/dist/chunks/cli-1.1.13-mct1fasm.mjs +2 -0
  188. package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +17 -0
  189. package/dist/chunks/cli-1.1.13-mzq23677.mjs +2 -0
  190. package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +2 -0
  191. package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +2 -0
  192. package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +3 -0
  193. package/dist/chunks/cli-1.1.13-nr09192d.mjs +2 -0
  194. package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +2 -0
  195. package/dist/chunks/cli-1.1.13-pam922jf.mjs +2 -0
  196. package/dist/chunks/cli-1.1.13-pedv9sma.mjs +9 -0
  197. package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +2 -0
  198. package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +2 -0
  199. package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +2 -0
  200. package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +50 -0
  201. package/dist/chunks/cli-1.1.13-q1hx591h.mjs +2 -0
  202. package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +2 -0
  203. package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +2 -0
  204. package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +2 -0
  205. package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +9 -0
  206. package/dist/chunks/cli-1.1.13-qr4adses.mjs +2 -0
  207. package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +2 -0
  208. package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +2 -0
  209. package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +3 -0
  210. package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +2 -0
  211. package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +2 -0
  212. package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +2 -0
  213. package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +2 -0
  214. package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +1 -0
  215. package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +24 -0
  216. package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +3 -0
  217. package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +2 -0
  218. package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +2 -0
  219. package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +2 -0
  220. package/dist/chunks/cli-1.1.13-segzta4x.mjs +2 -0
  221. package/dist/chunks/cli-1.1.13-shz97pa0.mjs +2 -0
  222. package/dist/chunks/cli-1.1.13-smefk747.mjs +2 -0
  223. package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +2 -0
  224. package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +2 -0
  225. package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +3 -0
  226. package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +2 -0
  227. package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +4 -0
  228. package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +2 -0
  229. package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +2 -0
  230. package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +24 -0
  231. package/dist/chunks/cli-1.1.13-v06xvs9s.mjs +2 -0
  232. package/dist/chunks/cli-1.1.13-v2synpdg.mjs +2 -0
  233. package/dist/chunks/cli-1.1.13-v32emtk0.mjs +26 -0
  234. package/dist/chunks/cli-1.1.13-vm8xs878.mjs +3 -0
  235. package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +4 -0
  236. package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +45 -0
  237. package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +66 -0
  238. package/dist/chunks/cli-1.1.13-wh5smpta.mjs +2 -0
  239. package/dist/chunks/cli-1.1.13-wje228e3.mjs +2 -0
  240. package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +2 -0
  241. package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +2 -0
  242. package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +58 -0
  243. package/dist/chunks/cli-1.1.13-x663d461.mjs +2 -0
  244. package/dist/chunks/cli-1.1.13-x79qava2.mjs +5413 -0
  245. package/dist/chunks/cli-1.1.13-x83epxhw.mjs +2 -0
  246. package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +6 -0
  247. package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +2 -0
  248. package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +6 -0
  249. package/dist/chunks/cli-1.1.13-xpwxcmvd.mjs +2 -0
  250. package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +2 -0
  251. package/dist/chunks/cli-1.1.13-y5d299s9.mjs +2 -0
  252. package/dist/chunks/cli-1.1.13-y6pa258f.mjs +4 -0
  253. package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +2 -0
  254. package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +2 -0
  255. package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +20 -0
  256. package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +2 -0
  257. package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +2 -0
  258. package/dist/chunks/cli-1.1.13-z9471mhs.mjs +4 -0
  259. package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +4 -0
  260. package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +2 -0
  261. package/dist/chunks/cli-1.1.13-zmb192fn.mjs +18 -0
  262. package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +5 -0
  263. package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +2 -0
  264. package/dist/chunks/client-1.1.13-6axfwqya.mjs +1 -0
  265. package/dist/chunks/color-1.1.13-g1rjvg86.mjs +1 -0
  266. package/dist/chunks/compact-1.1.13-9k4jts81.mjs +3 -0
  267. package/dist/chunks/config-1.1.13-58bj6t43.mjs +1 -0
  268. package/dist/chunks/config-1.1.13-csmwn3d0.mjs +1 -0
  269. package/dist/chunks/constants-1.1.13-cydjncsk.mjs +1 -0
  270. package/dist/chunks/context-1.1.13-04y3svxc.mjs +1 -0
  271. package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +1 -0
  272. package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +1 -0
  273. package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +1 -0
  274. package/dist/chunks/copy-1.1.13-4zq95frp.mjs +9 -0
  275. package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +1 -0
  276. package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +1 -0
  277. package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +1 -0
  278. package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +1 -0
  279. package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +1526 -0
  280. package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +1 -0
  281. package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +1 -0
  282. package/dist/chunks/detection-1.1.13-k5td7n26.mjs +1 -0
  283. package/dist/chunks/diff-1.1.13-d31m696z.mjs +1 -0
  284. package/dist/chunks/doctor-1.1.13-59947n3f.mjs +1 -0
  285. package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +1 -0
  286. package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +1 -0
  287. package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +13 -0
  288. package/dist/chunks/engine-1.1.13-p9g24e16.mjs +1 -0
  289. package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +1 -0
  290. package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +1 -0
  291. package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +1 -0
  292. package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +1 -0
  293. package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +1 -0
  294. package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +1 -0
  295. package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +1 -0
  296. package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +1 -0
  297. package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +1 -0
  298. package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +2 -0
  299. package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +1 -0
  301. package/dist/chunks/fast-1.1.13-2an1j0he.mjs +1 -0
  302. package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +1 -0
  304. package/dist/chunks/git-1.1.13-n4743t7m.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +1 -0
  306. package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +4 -0
  307. package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +1 -0
  308. package/dist/chunks/headless-1.1.13-me11khs4.mjs +2 -0
  309. package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +6 -0
  310. package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +1 -0
  311. package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +3 -0
  312. package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +1 -0
  313. package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +79 -0
  314. package/dist/chunks/ide-1.1.13-699b7xgf.mjs +3 -0
  315. package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +1 -0
  316. package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +1 -0
  317. package/dist/chunks/index-1.1.13-1magnv9t.mjs +1 -0
  318. package/dist/chunks/index-1.1.13-20fw0vyg.mjs +1 -0
  319. package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +1 -0
  320. package/dist/chunks/index-1.1.13-5fffrw39.mjs +23 -0
  321. package/dist/chunks/index-1.1.13-7v1v2795.mjs +1 -0
  322. package/dist/chunks/index-1.1.13-89b63y1a.mjs +1 -0
  323. package/dist/chunks/index-1.1.13-9hmkds89.mjs +1 -0
  324. package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +1 -0
  325. package/dist/chunks/index-1.1.13-hvpk64ts.mjs +9 -0
  326. package/dist/chunks/index-1.1.13-pfnaxhas.mjs +9 -0
  327. package/dist/chunks/index-1.1.13-pq81pd76.mjs +2 -0
  328. package/dist/chunks/index-1.1.13-q7xgkez4.mjs +1 -0
  329. package/dist/chunks/index-1.1.13-qed5hqgm.mjs +1 -0
  330. package/dist/chunks/index-1.1.13-qncvk76v.mjs +1 -0
  331. package/dist/chunks/index-1.1.13-qzm5brgp.mjs +2 -0
  332. package/dist/chunks/index-1.1.13-sqz3new4.mjs +1 -0
  333. package/dist/chunks/index-1.1.13-swwn9vsr.mjs +1 -0
  334. package/dist/chunks/index-1.1.13-tseyy72z.mjs +1 -0
  335. package/dist/chunks/index-1.1.13-v219xtkm.mjs +1 -0
  336. package/dist/chunks/index-1.1.13-vbws03kk.mjs +30 -0
  337. package/dist/chunks/index-1.1.13-vpewasbk.mjs +1 -0
  338. package/dist/chunks/index-1.1.13-yncdgpnc.mjs +5 -0
  339. package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +1 -0
  340. package/dist/chunks/init-1.1.13-6m1d58s6.mjs +1 -0
  341. package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +1 -0
  342. package/dist/chunks/ink-1.1.13-vsh153b4.mjs +1 -0
  343. package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +870 -0
  344. package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +1 -0
  345. package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +149 -0
  346. package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +1 -0
  347. package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +1 -0
  348. package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +1 -0
  349. package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +2 -0
  350. package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +2 -0
  351. package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +1 -0
  352. package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +1 -0
  353. package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +1 -0
  354. package/dist/chunks/log-1.1.13-j05vnw45.mjs +1 -0
  355. package/dist/chunks/main-1.1.13-9eb7dv86.mjs +1 -0
  356. package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +1 -0
  357. package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +4 -0
  359. package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +17 -0
  360. package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +1 -0
  361. package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +72 -0
  362. package/dist/chunks/model-1.1.13-e9231b6a.mjs +2 -0
  363. package/dist/chunks/model-1.1.13-qkp6et1j.mjs +1 -0
  364. package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +12 -0
  365. package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +1 -0
  366. package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +14 -0
  367. package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +1 -0
  368. package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +1 -0
  369. package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +1 -0
  370. package/dist/chunks/parser-1.1.13-5g8tytma.mjs +1 -0
  371. package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +1 -0
  372. package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +3 -0
  373. package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +1 -0
  374. package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +1 -0
  375. package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +1 -0
  376. package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +29 -0
  377. package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +1 -0
  378. package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +9 -0
  379. package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +2 -0
  380. package/dist/chunks/print-1.1.13-cba5ekrx.mjs +57 -0
  381. package/dist/chunks/process-1.1.13-cavp5bw3.mjs +1 -0
  382. package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +1 -0
  383. package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +9 -0
  384. package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +1 -0
  385. package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +1 -0
  386. package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +1 -0
  387. package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +13 -0
  388. package/dist/chunks/provider-1.1.13-aec8n85t.mjs +2 -0
  389. package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +1 -0
  390. package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +6 -0
  391. package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +1 -0
  392. package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +26 -0
  393. package/dist/chunks/registry-1.1.13-0gr1a931.mjs +1 -0
  394. package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +5 -0
  395. package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +2 -0
  396. package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +1 -0
  397. package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +1 -0
  398. package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +1 -0
  399. package/dist/chunks/rename-1.1.13-7mj7635m.mjs +1 -0
  400. package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +1 -0
  401. package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +1 -0
  402. package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +2 -0
  403. package/dist/chunks/rewind-1.1.13-f1jde571.mjs +1 -0
  404. package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +1 -0
  405. package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +10 -0
  406. package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +1 -0
  407. package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +1 -0
  408. package/dist/chunks/session-1.1.13-je6e2q22.mjs +2 -0
  409. package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +1 -0
  410. package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +1 -0
  411. package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +1 -0
  412. package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +1 -0
  413. package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +5 -0
  414. package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +1 -0
  415. package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +1 -0
  416. package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +1 -0
  417. package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +1 -0
  418. package/dist/chunks/state-1.1.13-m97vrspe.mjs +1 -0
  419. package/dist/chunks/stats-1.1.13-x2ranep4.mjs +6 -0
  420. package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +1 -0
  421. package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +1 -0
  422. package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +1 -0
  423. package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +1 -0
  424. package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +1 -0
  425. package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +1 -0
  426. package/dist/chunks/teleport-1.1.13-fm868anx.mjs +1 -0
  427. package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +1 -0
  428. package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +1 -0
  429. package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +1 -0
  430. package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +1 -0
  431. package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +1 -0
  432. package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +1 -0
  433. package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +1 -0
  434. package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +1 -0
  435. package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +69 -0
  436. package/dist/chunks/types-1.1.13-2f1xtenh.mjs +1 -0
  437. package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +4 -0
  438. package/dist/chunks/update-1.1.13-0hd3pst5.mjs +72 -0
  439. package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +1 -0
  440. package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +7 -0
  441. package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +14 -0
  442. package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +1 -0
  443. package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +1 -0
  444. package/dist/chunks/util-1.1.13-vzt92dj7.mjs +1 -0
  445. package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +1 -0
  446. package/dist/chunks/vim-1.1.13-1d635y0m.mjs +1 -0
  447. package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +13 -0
  448. package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +1 -0
  449. package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +132 -0
  450. package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +1 -0
  451. package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +1 -0
  452. package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +1 -0
  453. package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +7 -0
  454. package/dist/cli.mjs +2 -2
  455. package/dist/help-agents.txt +1 -1
  456. package/dist/help-auth.txt +1 -1
  457. package/dist/help-auto-mode.txt +1 -1
  458. package/dist/help-doctor.txt +1 -1
  459. package/dist/help-install.txt +1 -1
  460. package/dist/help-mcp.txt +1 -1
  461. package/dist/help-plugin.txt +1 -1
  462. package/dist/help-plugins.txt +1 -1
  463. package/dist/help-setup-token.txt +1 -1
  464. package/dist/help-update.txt +1 -1
  465. package/dist/help-upgrade.txt +1 -1
  466. package/dist/help-workflow.txt +1 -1
  467. package/dist/help.txt +3 -4
  468. package/install.cjs +2 -2
  469. package/package.json +9 -9
  470. package/dist/chunks/AgentTool-1.1.11-k2q6nh9x.mjs +0 -1
  471. package/dist/chunks/App-1.1.11-krv6wwgp.mjs +0 -1
  472. package/dist/chunks/ApproveApiKey-1.1.11-9s811hbz.mjs +0 -1
  473. package/dist/chunks/AssistantSessionChooser-1.1.11-basm4sc7.mjs +0 -1
  474. package/dist/chunks/AutoModeOptInDialog-1.1.11-aejfbb8x.mjs +0 -1
  475. package/dist/chunks/BypassPermissionsModeDialog-1.1.11-3wxr3fz9.mjs +0 -1
  476. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.11-b4v59b23.mjs +0 -1
  477. package/dist/chunks/ConsoleOAuthFlow-1.1.11-e3abm4me.mjs +0 -1
  478. package/dist/chunks/DiffDialog-1.1.11-aswpafrn.mjs +0 -6
  479. package/dist/chunks/Doctor-1.1.11-jfetmc28.mjs +0 -1
  480. package/dist/chunks/ExplorerDialog-1.1.11-sn8jmt3x.mjs +0 -6
  481. package/dist/chunks/Grove-1.1.11-f2zsmd4t.mjs +0 -1
  482. package/dist/chunks/ITermBackend-1.1.11-7ga25209.mjs +0 -1
  483. package/dist/chunks/InvalidConfigDialog-1.1.11-vcp6js2b.mjs +0 -1
  484. package/dist/chunks/InvalidSettingsDialog-1.1.11-qqr3ve61.mjs +0 -1
  485. package/dist/chunks/MigrationDialog-1.1.11-z6eadsg8.mjs +0 -1
  486. package/dist/chunks/Onboarding-1.1.11-16z484ph.mjs +0 -1
  487. package/dist/chunks/ProviderManager-1.1.11-tv77qzrq.mjs +0 -1
  488. package/dist/chunks/REPL-1.1.11-eft2tx7z.mjs +0 -1
  489. package/dist/chunks/ResumeConversation-1.1.11-hc55dc65.mjs +0 -1
  490. package/dist/chunks/SnapshotUpdateDialog-1.1.11-j4b72t5c.mjs +0 -1
  491. package/dist/chunks/TeleportProgress-1.1.11-d2ata0wm.mjs +0 -1
  492. package/dist/chunks/TeleportRepoMismatchDialog-1.1.11-3gr88x6n.mjs +0 -1
  493. package/dist/chunks/TeleportResumeWrapper-1.1.11-xf144qy6.mjs +0 -1
  494. package/dist/chunks/TmuxBackend-1.1.11-76y2a4zz.mjs +0 -9
  495. package/dist/chunks/ToolSearchTool-1.1.11-sxwd1d13.mjs +0 -1
  496. package/dist/chunks/TrustDialog-1.1.11-pbh6yxxm.mjs +0 -1
  497. package/dist/chunks/activeProvider-1.1.11-saggs5cv.mjs +0 -1
  498. package/dist/chunks/add-dir-1.1.11-4tgfptar.mjs +0 -1
  499. package/dist/chunks/agentTypes-1.1.11-af225gtm.mjs +0 -1
  500. package/dist/chunks/agents-1.1.11-0wy5khvz.mjs +0 -3
  501. package/dist/chunks/agents-1.1.11-40dk22tt.mjs +0 -110
  502. package/dist/chunks/api-1.1.11-pxj1yw19.mjs +0 -1
  503. package/dist/chunks/asciicast-1.1.11-wmt09xhy.mjs +0 -1
  504. package/dist/chunks/assistant-1.1.11-tqk05t61.mjs +0 -1
  505. package/dist/chunks/auth-1.1.11-nvrxv4q4.mjs +0 -1
  506. package/dist/chunks/auth-1.1.11-pbwjnx30.mjs +0 -1
  507. package/dist/chunks/autoMode-1.1.11-22v33wd4.mjs +0 -48
  508. package/dist/chunks/autoUpdater-1.1.11-pqjz5g38.mjs +0 -1
  509. package/dist/chunks/backgroundHousekeeping-1.1.11-9xjtajrq.mjs +0 -1
  510. package/dist/chunks/branch-1.1.11-76tya9ft.mjs +0 -4
  511. package/dist/chunks/bridge-1.1.11-1m3v2n3k.mjs +0 -2
  512. package/dist/chunks/bridgeConfig-1.1.11-fp43q2e3.mjs +0 -1
  513. package/dist/chunks/bridgeEnabled-1.1.11-tqm667fa.mjs +0 -1
  514. package/dist/chunks/bridgeMain-1.1.11-hg46g911.mjs +0 -88
  515. package/dist/chunks/bridgePointer-1.1.11-1yn4135t.mjs +0 -1
  516. package/dist/chunks/btw-1.1.11-1m97zkn4.mjs +0 -1
  517. package/dist/chunks/buddy-1.1.11-ymv78npp.mjs +0 -3
  518. package/dist/chunks/cache-probe-1.1.11-zyrqae8j.mjs +0 -21
  519. package/dist/chunks/cacheStats-1.1.11-xq2pyhs3.mjs +0 -4
  520. package/dist/chunks/caches-1.1.11-rx01cbpj.mjs +0 -1
  521. package/dist/chunks/claudeDesktop-1.1.11-hcxt0dw3.mjs +0 -1
  522. package/dist/chunks/claudemd-1.1.11-8xr3pty5.mjs +0 -1
  523. package/dist/chunks/clear-1.1.11-bj5qfbw4.mjs +0 -1
  524. package/dist/chunks/clearTerminal-1.1.11-5ttzjadf.mjs +0 -1
  525. package/dist/chunks/cli-1.1.11-00rqxf9s.mjs +0 -2
  526. package/dist/chunks/cli-1.1.11-0djzxjkz.mjs +0 -2
  527. package/dist/chunks/cli-1.1.11-0e0p0ywy.mjs +0 -2
  528. package/dist/chunks/cli-1.1.11-0mhwtkaa.mjs +0 -3
  529. package/dist/chunks/cli-1.1.11-0vywa3gz.mjs +0 -3
  530. package/dist/chunks/cli-1.1.11-0x3jb16g.mjs +0 -2
  531. package/dist/chunks/cli-1.1.11-0zmfx6fs.mjs +0 -2
  532. package/dist/chunks/cli-1.1.11-1425gpc8.mjs +0 -2
  533. package/dist/chunks/cli-1.1.11-1515mm11.mjs +0 -21
  534. package/dist/chunks/cli-1.1.11-178h39tz.mjs +0 -24
  535. package/dist/chunks/cli-1.1.11-17j0yz1c.mjs +0 -2
  536. package/dist/chunks/cli-1.1.11-1fkcr5gp.mjs +0 -2
  537. package/dist/chunks/cli-1.1.11-1he1em03.mjs +0 -2
  538. package/dist/chunks/cli-1.1.11-1jp85542.mjs +0 -6
  539. package/dist/chunks/cli-1.1.11-23hz9e80.mjs +0 -59
  540. package/dist/chunks/cli-1.1.11-2480c28s.mjs +0 -42
  541. package/dist/chunks/cli-1.1.11-2m78tg8p.mjs +0 -2
  542. package/dist/chunks/cli-1.1.11-333vj9h0.mjs +0 -6
  543. package/dist/chunks/cli-1.1.11-3gv2s1c0.mjs +0 -3
  544. package/dist/chunks/cli-1.1.11-3jw12y1k.mjs +0 -6
  545. package/dist/chunks/cli-1.1.11-3n6xajnz.mjs +0 -2
  546. package/dist/chunks/cli-1.1.11-3p62a4zk.mjs +0 -2
  547. package/dist/chunks/cli-1.1.11-3p6nmjzx.mjs +0 -4
  548. package/dist/chunks/cli-1.1.11-3re050dw.mjs +0 -2
  549. package/dist/chunks/cli-1.1.11-3y3ak28a.mjs +0 -2
  550. package/dist/chunks/cli-1.1.11-47crfax7.mjs +0 -2
  551. package/dist/chunks/cli-1.1.11-4a192z90.mjs +0 -2
  552. package/dist/chunks/cli-1.1.11-4a4wbqs3.mjs +0 -2
  553. package/dist/chunks/cli-1.1.11-4h9jnkae.mjs +0 -2
  554. package/dist/chunks/cli-1.1.11-4hkr6h2p.mjs +0 -2
  555. package/dist/chunks/cli-1.1.11-4m87wr6c.mjs +0 -45
  556. package/dist/chunks/cli-1.1.11-4pqmwv4k.mjs +0 -9
  557. package/dist/chunks/cli-1.1.11-4x7gdf33.mjs +0 -2
  558. package/dist/chunks/cli-1.1.11-4yg477hw.mjs +0 -2
  559. package/dist/chunks/cli-1.1.11-53htvfkn.mjs +0 -2
  560. package/dist/chunks/cli-1.1.11-54kmn08f.mjs +0 -2
  561. package/dist/chunks/cli-1.1.11-5716x6c7.mjs +0 -2
  562. package/dist/chunks/cli-1.1.11-57kjeck2.mjs +0 -2
  563. package/dist/chunks/cli-1.1.11-58y8zhtr.mjs +0 -26
  564. package/dist/chunks/cli-1.1.11-5ee40chc.mjs +0 -2
  565. package/dist/chunks/cli-1.1.11-5evw05k8.mjs +0 -2
  566. package/dist/chunks/cli-1.1.11-5mcr3f8x.mjs +0 -2
  567. package/dist/chunks/cli-1.1.11-6ancr21h.mjs +0 -2
  568. package/dist/chunks/cli-1.1.11-6kk88f11.mjs +0 -4
  569. package/dist/chunks/cli-1.1.11-6kp3wff0.mjs +0 -3
  570. package/dist/chunks/cli-1.1.11-6pgzp38k.mjs +0 -2
  571. package/dist/chunks/cli-1.1.11-6tyfa5hn.mjs +0 -2
  572. package/dist/chunks/cli-1.1.11-754rwfhh.mjs +0 -2
  573. package/dist/chunks/cli-1.1.11-7c5dnjyh.mjs +0 -2
  574. package/dist/chunks/cli-1.1.11-7fqzppxh.mjs +0 -2
  575. package/dist/chunks/cli-1.1.11-7h7exk8z.mjs +0 -39
  576. package/dist/chunks/cli-1.1.11-7ns0vhby.mjs +0 -2
  577. package/dist/chunks/cli-1.1.11-7vtjz4fp.mjs +0 -2
  578. package/dist/chunks/cli-1.1.11-80jnvwd3.mjs +0 -2
  579. package/dist/chunks/cli-1.1.11-80y1y33h.mjs +0 -2
  580. package/dist/chunks/cli-1.1.11-88pynw50.mjs +0 -2
  581. package/dist/chunks/cli-1.1.11-8j1jeg3y.mjs +0 -2
  582. package/dist/chunks/cli-1.1.11-8t6wwjcf.mjs +0 -2
  583. package/dist/chunks/cli-1.1.11-8vmf6185.mjs +0 -2
  584. package/dist/chunks/cli-1.1.11-99dgyvn6.mjs +0 -5
  585. package/dist/chunks/cli-1.1.11-9gtaqe5z.mjs +0 -2
  586. package/dist/chunks/cli-1.1.11-9q076mg1.mjs +0 -2
  587. package/dist/chunks/cli-1.1.11-9v76e0nn.mjs +0 -3
  588. package/dist/chunks/cli-1.1.11-9xepp7cw.mjs +0 -2
  589. package/dist/chunks/cli-1.1.11-9yb6m13t.mjs +0 -2
  590. package/dist/chunks/cli-1.1.11-a4we9vgp.mjs +0 -2
  591. package/dist/chunks/cli-1.1.11-ay57kj7t.mjs +0 -2
  592. package/dist/chunks/cli-1.1.11-aydwe9xx.mjs +0 -8
  593. package/dist/chunks/cli-1.1.11-azaecepr.mjs +0 -2
  594. package/dist/chunks/cli-1.1.11-b0bsxy6e.mjs +0 -2
  595. package/dist/chunks/cli-1.1.11-brfrsyj3.mjs +0 -2
  596. package/dist/chunks/cli-1.1.11-c2kpn3fs.mjs +0 -2
  597. package/dist/chunks/cli-1.1.11-c566maxh.mjs +0 -6
  598. package/dist/chunks/cli-1.1.11-c8yn2sy4.mjs +0 -12
  599. package/dist/chunks/cli-1.1.11-c9mw7vaf.mjs +0 -2
  600. package/dist/chunks/cli-1.1.11-ceb5eb1e.mjs +0 -4
  601. package/dist/chunks/cli-1.1.11-cetgmfd3.mjs +0 -2
  602. package/dist/chunks/cli-1.1.11-cfd7wcsr.mjs +0 -2
  603. package/dist/chunks/cli-1.1.11-cj1nzqdk.mjs +0 -6
  604. package/dist/chunks/cli-1.1.11-ctd6he1r.mjs +0 -2
  605. package/dist/chunks/cli-1.1.11-cyt97t1g.mjs +0 -2
  606. package/dist/chunks/cli-1.1.11-d8vrh841.mjs +0 -2
  607. package/dist/chunks/cli-1.1.11-dcv6a2kq.mjs +0 -2
  608. package/dist/chunks/cli-1.1.11-dfssr6vt.mjs +0 -2
  609. package/dist/chunks/cli-1.1.11-dfx7qnxc.mjs +0 -2
  610. package/dist/chunks/cli-1.1.11-dnp18qxm.mjs +0 -2
  611. package/dist/chunks/cli-1.1.11-dygnwf66.mjs +0 -2
  612. package/dist/chunks/cli-1.1.11-dzq0mt2q.mjs +0 -2
  613. package/dist/chunks/cli-1.1.11-e1nmsb3e.mjs +0 -2
  614. package/dist/chunks/cli-1.1.11-e5yvpr5d.mjs +0 -133
  615. package/dist/chunks/cli-1.1.11-e8f5j5pp.mjs +0 -20
  616. package/dist/chunks/cli-1.1.11-e9h0r9s8.mjs +0 -2
  617. package/dist/chunks/cli-1.1.11-ecfegt2j.mjs +0 -2
  618. package/dist/chunks/cli-1.1.11-ef7cg4xt.mjs +0 -2
  619. package/dist/chunks/cli-1.1.11-en4s7zr1.mjs +0 -2
  620. package/dist/chunks/cli-1.1.11-epajg619.mjs +0 -2
  621. package/dist/chunks/cli-1.1.11-erfvptpc.mjs +0 -2
  622. package/dist/chunks/cli-1.1.11-et6r8n19.mjs +0 -12
  623. package/dist/chunks/cli-1.1.11-ex37fv7p.mjs +0 -2
  624. package/dist/chunks/cli-1.1.11-ezt5j484.mjs +0 -7
  625. package/dist/chunks/cli-1.1.11-fcxz5772.mjs +0 -4
  626. package/dist/chunks/cli-1.1.11-fmb9eedn.mjs +0 -2
  627. package/dist/chunks/cli-1.1.11-fmy9jwdc.mjs +0 -3
  628. package/dist/chunks/cli-1.1.11-g0shs4yx.mjs +0 -17
  629. package/dist/chunks/cli-1.1.11-g38vgb2g.mjs +0 -2
  630. package/dist/chunks/cli-1.1.11-g9cesn9x.mjs +0 -2
  631. package/dist/chunks/cli-1.1.11-gnbty7hn.mjs +0 -9
  632. package/dist/chunks/cli-1.1.11-gnws5v1r.mjs +0 -15
  633. package/dist/chunks/cli-1.1.11-gyvneb2n.mjs +0 -2
  634. package/dist/chunks/cli-1.1.11-hazm6rky.mjs +0 -17
  635. package/dist/chunks/cli-1.1.11-hbvz2ngt.mjs +0 -2
  636. package/dist/chunks/cli-1.1.11-j4ym4b26.mjs +0 -2
  637. package/dist/chunks/cli-1.1.11-jc61pe1h.mjs +0 -15
  638. package/dist/chunks/cli-1.1.11-jejkqxzx.mjs +0 -2
  639. package/dist/chunks/cli-1.1.11-js75fbb2.mjs +0 -2
  640. package/dist/chunks/cli-1.1.11-jt8v99mz.mjs +0 -2
  641. package/dist/chunks/cli-1.1.11-jvyac5ts.mjs +0 -2
  642. package/dist/chunks/cli-1.1.11-jzhj2z0q.mjs +0 -4
  643. package/dist/chunks/cli-1.1.11-jzmj7yys.mjs +0 -18
  644. package/dist/chunks/cli-1.1.11-k3691mq1.mjs +0 -1
  645. package/dist/chunks/cli-1.1.11-k7pcdfgm.mjs +0 -2
  646. package/dist/chunks/cli-1.1.11-k8shpmad.mjs +0 -2
  647. package/dist/chunks/cli-1.1.11-kj2dg4vg.mjs +0 -2
  648. package/dist/chunks/cli-1.1.11-kwbasdd3.mjs +0 -2
  649. package/dist/chunks/cli-1.1.11-m117ak01.mjs +0 -58
  650. package/dist/chunks/cli-1.1.11-m3mwsg1h.mjs +0 -5
  651. package/dist/chunks/cli-1.1.11-m4kdt922.mjs +0 -3
  652. package/dist/chunks/cli-1.1.11-m79xp4zw.mjs +0 -50
  653. package/dist/chunks/cli-1.1.11-m7dz7jb4.mjs +0 -2
  654. package/dist/chunks/cli-1.1.11-mjhzsr8x.mjs +0 -2
  655. package/dist/chunks/cli-1.1.11-mpr8grgt.mjs +0 -6
  656. package/dist/chunks/cli-1.1.11-n797shcy.mjs +0 -24
  657. package/dist/chunks/cli-1.1.11-n9eddt48.mjs +0 -133
  658. package/dist/chunks/cli-1.1.11-na2dfshq.mjs +0 -4
  659. package/dist/chunks/cli-1.1.11-nbdb2har.mjs +0 -15
  660. package/dist/chunks/cli-1.1.11-nfcb5zpv.mjs +0 -24
  661. package/dist/chunks/cli-1.1.11-ng71jh69.mjs +0 -2
  662. package/dist/chunks/cli-1.1.11-nnxrj2y7.mjs +0 -2
  663. package/dist/chunks/cli-1.1.11-nqrzeek1.mjs +0 -2
  664. package/dist/chunks/cli-1.1.11-nsf7da8p.mjs +0 -25
  665. package/dist/chunks/cli-1.1.11-p0gdcdg7.mjs +0 -2
  666. package/dist/chunks/cli-1.1.11-p1g4cbqp.mjs +0 -2
  667. package/dist/chunks/cli-1.1.11-p99a0wsg.mjs +0 -2
  668. package/dist/chunks/cli-1.1.11-pfnjpp3j.mjs +0 -2
  669. package/dist/chunks/cli-1.1.11-qd78ng67.mjs +0 -2
  670. package/dist/chunks/cli-1.1.11-qe68985c.mjs +0 -2
  671. package/dist/chunks/cli-1.1.11-qxqfwjt2.mjs +0 -12
  672. package/dist/chunks/cli-1.1.11-qy572ahv.mjs +0 -2
  673. package/dist/chunks/cli-1.1.11-r6pat8w9.mjs +0 -2
  674. package/dist/chunks/cli-1.1.11-r6zppx5e.mjs +0 -2
  675. package/dist/chunks/cli-1.1.11-r737sg77.mjs +0 -2
  676. package/dist/chunks/cli-1.1.11-re35m5b2.mjs +0 -3
  677. package/dist/chunks/cli-1.1.11-rm1ytz6k.mjs +0 -2
  678. package/dist/chunks/cli-1.1.11-s3x93993.mjs +0 -2
  679. package/dist/chunks/cli-1.1.11-s5fsvj2a.mjs +0 -2
  680. package/dist/chunks/cli-1.1.11-sby4j4da.mjs +0 -3
  681. package/dist/chunks/cli-1.1.11-se1r4vmz.mjs +0 -2
  682. package/dist/chunks/cli-1.1.11-sen20m7k.mjs +0 -2
  683. package/dist/chunks/cli-1.1.11-smfhs04w.mjs +0 -3
  684. package/dist/chunks/cli-1.1.11-sph0eaqc.mjs +0 -4
  685. package/dist/chunks/cli-1.1.11-sptbkfhb.mjs +0 -2
  686. package/dist/chunks/cli-1.1.11-sxe5a6ht.mjs +0 -2
  687. package/dist/chunks/cli-1.1.11-sycyfbqa.mjs +0 -2
  688. package/dist/chunks/cli-1.1.11-t4vzh54z.mjs +0 -2
  689. package/dist/chunks/cli-1.1.11-t6xvy5kh.mjs +0 -2
  690. package/dist/chunks/cli-1.1.11-t95hn521.mjs +0 -2
  691. package/dist/chunks/cli-1.1.11-tg2x8my7.mjs +0 -4
  692. package/dist/chunks/cli-1.1.11-th7d92cz.mjs +0 -2
  693. package/dist/chunks/cli-1.1.11-tqtf5qtz.mjs +0 -2
  694. package/dist/chunks/cli-1.1.11-ty1grp21.mjs +0 -2
  695. package/dist/chunks/cli-1.1.11-tzw8k1nw.mjs +0 -2
  696. package/dist/chunks/cli-1.1.11-v0qc9e7x.mjs +0 -2
  697. package/dist/chunks/cli-1.1.11-v9gb0h1v.mjs +0 -2
  698. package/dist/chunks/cli-1.1.11-vaqp2v88.mjs +0 -3
  699. package/dist/chunks/cli-1.1.11-vcbj9ns4.mjs +0 -2
  700. package/dist/chunks/cli-1.1.11-vdh094gb.mjs +0 -2
  701. package/dist/chunks/cli-1.1.11-vkw5s1rv.mjs +0 -4
  702. package/dist/chunks/cli-1.1.11-vqcm2p2k.mjs +0 -3
  703. package/dist/chunks/cli-1.1.11-vtj7f6xe.mjs +0 -34
  704. package/dist/chunks/cli-1.1.11-w50fh65p.mjs +0 -2
  705. package/dist/chunks/cli-1.1.11-wf1jrvag.mjs +0 -2
  706. package/dist/chunks/cli-1.1.11-wjhta14d.mjs +0 -3
  707. package/dist/chunks/cli-1.1.11-wkmpy3a6.mjs +0 -2
  708. package/dist/chunks/cli-1.1.11-wrvqk2kb.mjs +0 -2
  709. package/dist/chunks/cli-1.1.11-ws3mhebq.mjs +0 -2
  710. package/dist/chunks/cli-1.1.11-wsr8n6yx.mjs +0 -2
  711. package/dist/chunks/cli-1.1.11-ww3qs66m.mjs +0 -2
  712. package/dist/chunks/cli-1.1.11-wzd4xr4g.mjs +0 -2
  713. package/dist/chunks/cli-1.1.11-x1cwe9h2.mjs +0 -2
  714. package/dist/chunks/cli-1.1.11-x2px8b33.mjs +0 -4
  715. package/dist/chunks/cli-1.1.11-x3d1641w.mjs +0 -66
  716. package/dist/chunks/cli-1.1.11-x4yq8238.mjs +0 -2
  717. package/dist/chunks/cli-1.1.11-xa1ktjvc.mjs +0 -18
  718. package/dist/chunks/cli-1.1.11-xdf6ka1p.mjs +0 -3
  719. package/dist/chunks/cli-1.1.11-xjejq6gc.mjs +0 -2
  720. package/dist/chunks/cli-1.1.11-xmp31p4m.mjs +0 -2
  721. package/dist/chunks/cli-1.1.11-xw1gtf4q.mjs +0 -2
  722. package/dist/chunks/cli-1.1.11-y8jb9ka1.mjs +0 -5382
  723. package/dist/chunks/cli-1.1.11-ybqaxmsq.mjs +0 -2
  724. package/dist/chunks/cli-1.1.11-ygstc2fh.mjs +0 -2
  725. package/dist/chunks/cli-1.1.11-ys88pb52.mjs +0 -2
  726. package/dist/chunks/cli-1.1.11-ys8qbdxp.mjs +0 -4
  727. package/dist/chunks/cli-1.1.11-ytd49283.mjs +0 -16
  728. package/dist/chunks/cli-1.1.11-yv8jze8x.mjs +0 -3
  729. package/dist/chunks/cli-1.1.11-yx7hmc5y.mjs +0 -24
  730. package/dist/chunks/cli-1.1.11-yz3byxtx.mjs +0 -202
  731. package/dist/chunks/cli-1.1.11-z02dbt8v.mjs +0 -25
  732. package/dist/chunks/cli-1.1.11-z08c87k7.mjs +0 -2
  733. package/dist/chunks/cli-1.1.11-zmkfqsfj.mjs +0 -2
  734. package/dist/chunks/cli-1.1.11-zz43hz3c.mjs +0 -2
  735. package/dist/chunks/client-1.1.11-4fds5q8p.mjs +0 -1
  736. package/dist/chunks/color-1.1.11-1pjrfnnd.mjs +0 -1
  737. package/dist/chunks/compact-1.1.11-qvdk635a.mjs +0 -3
  738. package/dist/chunks/config-1.1.11-3yh6sp7r.mjs +0 -1
  739. package/dist/chunks/config-1.1.11-qs94ayha.mjs +0 -1
  740. package/dist/chunks/constants-1.1.11-6f5wtx0e.mjs +0 -1
  741. package/dist/chunks/context-1.1.11-v76cyrq1.mjs +0 -1
  742. package/dist/chunks/context-noninteractive-1.1.11-59s91h4x.mjs +0 -1
  743. package/dist/chunks/conversation-1.1.11-ve2rcdbk.mjs +0 -1
  744. package/dist/chunks/copilotHeaders-1.1.11-awc75paz.mjs +0 -1
  745. package/dist/chunks/copy-1.1.11-t2yhcnhs.mjs +0 -9
  746. package/dist/chunks/cost-1.1.11-3qfqxkmj.mjs +0 -1
  747. package/dist/chunks/createSSHSession-1.1.11-d1a5c6qx.mjs +0 -1
  748. package/dist/chunks/createSession-1.1.11-tepvp40s.mjs +0 -1
  749. package/dist/chunks/debug-1.1.11-2tghvx1n.mjs +0 -1
  750. package/dist/chunks/defaultActionDeps-1.1.11-35s0feaf.mjs +0 -1526
  751. package/dist/chunks/desktop-1.1.11-hwbpq9hq.mjs +0 -1
  752. package/dist/chunks/detectRepository-1.1.11-1p7kjee0.mjs +0 -1
  753. package/dist/chunks/detection-1.1.11-96xrmjq1.mjs +0 -1
  754. package/dist/chunks/diff-1.1.11-13e093sy.mjs +0 -1
  755. package/dist/chunks/doctor-1.1.11-r1xwax5q.mjs +0 -1
  756. package/dist/chunks/doctorDiagnostic-1.1.11-05h9mhbd.mjs +0 -1
  757. package/dist/chunks/earlyInput-1.1.11-14kzyy0e.mjs +0 -1
  758. package/dist/chunks/effort-1.1.11-9avhwp0f.mjs +0 -13
  759. package/dist/chunks/engine-1.1.11-j24ha45k.mjs +0 -1
  760. package/dist/chunks/envLessBridgeConfig-1.1.11-3xh8n4ys.mjs +0 -1
  761. package/dist/chunks/envUtils-1.1.11-ef7e3q7c.mjs +0 -1
  762. package/dist/chunks/environmentSelection-1.1.11-hxdx739y.mjs +0 -1
  763. package/dist/chunks/environments-1.1.11-356znhvc.mjs +0 -1
  764. package/dist/chunks/errors-1.1.11-ev387w5m.mjs +0 -1
  765. package/dist/chunks/exampleCommands-1.1.11-pejs7gw9.mjs +0 -1
  766. package/dist/chunks/execFileNoThrow-1.1.11-4s6hv328.mjs +0 -1
  767. package/dist/chunks/exit-1.1.11-v9psfac6.mjs +0 -1
  768. package/dist/chunks/explorer-1.1.11-e3f0wt2q.mjs +0 -1
  769. package/dist/chunks/export-1.1.11-3jan1p2n.mjs +0 -2
  770. package/dist/chunks/extra-usage-1.1.11-3zfk19wt.mjs +0 -1
  771. package/dist/chunks/extra-usage-noninteractive-1.1.11-ye9dcmbd.mjs +0 -1
  772. package/dist/chunks/fast-1.1.11-q42apmz5.mjs +0 -1
  773. package/dist/chunks/feedback-1.1.11-dtj0sby7.mjs +0 -14
  774. package/dist/chunks/firstPartyEventLogger-1.1.11-jy7cazzp.mjs +0 -1
  775. package/dist/chunks/git-1.1.11-x9yx65c5.mjs +0 -1
  776. package/dist/chunks/githubModelsCredentials-1.1.11-bqkgby97.mjs +0 -1
  777. package/dist/chunks/goal-1.1.11-q2hpatj3.mjs +0 -4
  778. package/dist/chunks/grove-1.1.11-qxybpwre.mjs +0 -1
  779. package/dist/chunks/growthbook-1.1.11-3vnmw48g.mjs +0 -1
  780. package/dist/chunks/headless-1.1.11-w0ppk4vt.mjs +0 -2
  781. package/dist/chunks/heapdump-1.1.11-vh3qr7jg.mjs +0 -6
  782. package/dist/chunks/help-1.1.11-p384dp1z.mjs +0 -1
  783. package/dist/chunks/hookChains-1.1.11-088ye0xc.mjs +0 -3
  784. package/dist/chunks/hooks-1.1.11-4kkgc487.mjs +0 -79
  785. package/dist/chunks/hooks-1.1.11-a7p1se3t.mjs +0 -1
  786. package/dist/chunks/ide-1.1.11-n0zzy5nx.mjs +0 -3
  787. package/dist/chunks/image-processor-napi-1.1.11-5xcxbnxj.mjs +0 -1
  788. package/dist/chunks/inboundAttachments-1.1.11-y9exjc82.mjs +0 -1
  789. package/dist/chunks/index-1.1.11-03mzh565.mjs +0 -1
  790. package/dist/chunks/index-1.1.11-2yms0cys.mjs +0 -1
  791. package/dist/chunks/index-1.1.11-40px18hy.mjs +0 -2
  792. package/dist/chunks/index-1.1.11-4nqea2zz.mjs +0 -1
  793. package/dist/chunks/index-1.1.11-5gttv5kf.mjs +0 -1
  794. package/dist/chunks/index-1.1.11-68ffeh9a.mjs +0 -1
  795. package/dist/chunks/index-1.1.11-804qa6by.mjs +0 -1
  796. package/dist/chunks/index-1.1.11-9pwqbn5r.mjs +0 -1
  797. package/dist/chunks/index-1.1.11-a3y2aekg.mjs +0 -1
  798. package/dist/chunks/index-1.1.11-a6z5v5rh.mjs +0 -1
  799. package/dist/chunks/index-1.1.11-drr89zt1.mjs +0 -1
  800. package/dist/chunks/index-1.1.11-es7vjyrm.mjs +0 -1
  801. package/dist/chunks/index-1.1.11-fb4zcaqa.mjs +0 -9
  802. package/dist/chunks/index-1.1.11-fe66h6cm.mjs +0 -9
  803. package/dist/chunks/index-1.1.11-fmj2fbg0.mjs +0 -1
  804. package/dist/chunks/index-1.1.11-ft8kdz1m.mjs +0 -30
  805. package/dist/chunks/index-1.1.11-g7s48r9e.mjs +0 -1
  806. package/dist/chunks/index-1.1.11-jg3wztnh.mjs +0 -1
  807. package/dist/chunks/index-1.1.11-k7y5wmy4.mjs +0 -1
  808. package/dist/chunks/index-1.1.11-qykdv19z.mjs +0 -2
  809. package/dist/chunks/index-1.1.11-v4wf2vaf.mjs +0 -23
  810. package/dist/chunks/index-1.1.11-v83fr53d.mjs +0 -5
  811. package/dist/chunks/index-1.1.11-wtdppc5t.mjs +0 -1
  812. package/dist/chunks/init-1.1.11-hmef4hjd.mjs +0 -1
  813. package/dist/chunks/initReplBridge-1.1.11-pwmx5fqy.mjs +0 -1
  814. package/dist/chunks/ink-1.1.11-jw026dnf.mjs +0 -1
  815. package/dist/chunks/insights-1.1.11-6dzm6fbk.mjs +0 -870
  816. package/dist/chunks/install-1.1.11-pmvq4tzr.mjs +0 -1
  817. package/dist/chunks/install-github-app-1.1.11-6yraca1d.mjs +0 -149
  818. package/dist/chunks/install-slack-app-1.1.11-f7kv64nn.mjs +0 -1
  819. package/dist/chunks/instrumentation-1.1.11-5vjxebja.mjs +0 -1
  820. package/dist/chunks/interactiveHelpers-1.1.11-7pncqt0h.mjs +0 -1
  821. package/dist/chunks/keybindings-1.1.11-t04nc417.mjs +0 -2
  822. package/dist/chunks/knowledge-1.1.11-14y01py7.mjs +0 -2
  823. package/dist/chunks/latestVersionCache-1.1.11-0y248exe.mjs +0 -1
  824. package/dist/chunks/loadAgentsDir-1.1.11-281da8yy.mjs +0 -1
  825. package/dist/chunks/loadPluginHooks-1.1.11-smwnwfy1.mjs +0 -1
  826. package/dist/chunks/log-1.1.11-bg8ah9ag.mjs +0 -1
  827. package/dist/chunks/main-1.1.11-6myv71xs.mjs +0 -1
  828. package/dist/chunks/managedEnv-1.1.11-g7a35vm9.mjs +0 -1
  829. package/dist/chunks/mcp-1.1.11-4pdz9q1w.mjs +0 -17
  830. package/dist/chunks/mcp-1.1.11-63cbatj7.mjs +0 -1
  831. package/dist/chunks/mcp-1.1.11-jr7ccm2q.mjs +0 -4
  832. package/dist/chunks/mcpb-1.1.11-w2vyza13.mjs +0 -1
  833. package/dist/chunks/memory-1.1.11-hfwa4d07.mjs +0 -72
  834. package/dist/chunks/model-1.1.11-m73f7dnk.mjs +0 -1
  835. package/dist/chunks/model-1.1.11-s35tcbyz.mjs +0 -2
  836. package/dist/chunks/node-1.1.11-h3t9a7m9.mjs +0 -12
  837. package/dist/chunks/oauth-1.1.11-z19rt783.mjs +0 -1
  838. package/dist/chunks/openaiShim-1.1.11-hw1h9m6b.mjs +0 -14
  839. package/dist/chunks/output-style-1.1.11-9wars2zm.mjs +0 -1
  840. package/dist/chunks/package-L37ZVTF4-1.1.11-xdrqg8t2.mjs +0 -1
  841. package/dist/chunks/parseConnectUrl-1.1.11-1xctyq5g.mjs +0 -1
  842. package/dist/chunks/parser-1.1.11-hdctc99h.mjs +0 -1
  843. package/dist/chunks/passes-1.1.11-cyfzrm0v.mjs +0 -1
  844. package/dist/chunks/permissions-1.1.11-gmeavwga.mjs +0 -1
  845. package/dist/chunks/permissions-1.1.11-k82nchw7.mjs +0 -3
  846. package/dist/chunks/plan-1.1.11-113qc4m4.mjs +0 -1
  847. package/dist/chunks/plist-1.1.11-tn2gma22.mjs +0 -1
  848. package/dist/chunks/plugin-1.1.11-v8jsy700.mjs +0 -29
  849. package/dist/chunks/pluginStartupCheck-1.1.11-ak2j3gqk.mjs +0 -1
  850. package/dist/chunks/plugins-1.1.11-ne541702.mjs +0 -9
  851. package/dist/chunks/preActionHook-1.1.11-trzavag7.mjs +0 -2
  852. package/dist/chunks/print-1.1.11-438pp8v9.mjs +0 -57
  853. package/dist/chunks/privacy-settings-1.1.11-mn1z3vsm.mjs +0 -1
  854. package/dist/chunks/process-1.1.11-eyv3rsh3.mjs +0 -1
  855. package/dist/chunks/processBashCommand-1.1.11-mmp13p2q.mjs +0 -1
  856. package/dist/chunks/processSlashCommand-1.1.11-0q3vxz7d.mjs +0 -9
  857. package/dist/chunks/prompt-1.1.11-r4p751ar.mjs +0 -1
  858. package/dist/chunks/prompt-1.1.11-yrfr0vn1.mjs +0 -1
  859. package/dist/chunks/prompts-1.1.11-qxywq1b7.mjs +0 -1
  860. package/dist/chunks/protocolHandler-1.1.11-h9k096sf.mjs +0 -13
  861. package/dist/chunks/provider-1.1.11-xwrj8dzx.mjs +0 -2
  862. package/dist/chunks/providerProfiles-1.1.11-dwy6je4r.mjs +0 -1
  863. package/dist/chunks/providerValidation-1.1.11-5x71hcx3.mjs +0 -6
  864. package/dist/chunks/rate-limit-options-1.1.11-cex3vev6.mjs +0 -1
  865. package/dist/chunks/registerSubcommands-1.1.11-pa8cx5ka.mjs +0 -34
  866. package/dist/chunks/registry-1.1.11-3s5s5x2w.mjs +0 -1
  867. package/dist/chunks/release-notes-1.1.11-dcephgep.mjs +0 -5
  868. package/dist/chunks/reload-plugins-1.1.11-06znv97n.mjs +0 -2
  869. package/dist/chunks/remote-env-1.1.11-ycaxf826.mjs +0 -1
  870. package/dist/chunks/remoteBridgeCore-1.1.11-3f2qdc67.mjs +0 -1
  871. package/dist/chunks/remoteSession-1.1.11-yr9z4qxr.mjs +0 -1
  872. package/dist/chunks/rename-1.1.11-cjn09qj8.mjs +0 -1
  873. package/dist/chunks/replBridgeHandle-1.1.11-ym5wskq3.mjs +0 -1
  874. package/dist/chunks/replLauncher-1.1.11-b5w7tmfr.mjs +0 -1
  875. package/dist/chunks/resume-1.1.11-nth616a4.mjs +0 -2
  876. package/dist/chunks/rewind-1.1.11-57ydss59.mjs +0 -1
  877. package/dist/chunks/rootOptions-1.1.11-j9g626rf.mjs +0 -1
  878. package/dist/chunks/runWorkflowHeadless-1.1.11-pj37xkbn.mjs +0 -10
  879. package/dist/chunks/sandbox-adapter-1.1.11-ke832djs.mjs +0 -1
  880. package/dist/chunks/sandbox-toggle-1.1.11-fybgyn3j.mjs +0 -1
  881. package/dist/chunks/session-1.1.11-85hpfa2y.mjs +0 -2
  882. package/dist/chunks/sessionDiscovery-1.1.11-wkjk4q5q.mjs +0 -1
  883. package/dist/chunks/sessionFileAccessHooks-1.1.11-9rq4xh7v.mjs +0 -1
  884. package/dist/chunks/sessionStorage-1.1.11-bmy7c4ce.mjs +0 -1
  885. package/dist/chunks/settings-1.1.11-x92a7782.mjs +0 -1
  886. package/dist/chunks/setup-1.1.11-ft54z574.mjs +0 -5
  887. package/dist/chunks/sinks-1.1.11-qj6hh6fq.mjs +0 -1
  888. package/dist/chunks/skills-1.1.11-yb1h8f1p.mjs +0 -1
  889. package/dist/chunks/startupProfiler-1.1.11-aymsv2q9.mjs +0 -1
  890. package/dist/chunks/startupUpdateCheck-1.1.11-q539pk5f.mjs +0 -1
  891. package/dist/chunks/state-1.1.11-z5q89e5v.mjs +0 -1
  892. package/dist/chunks/stats-1.1.11-5tdk8rvw.mjs +0 -6
  893. package/dist/chunks/status-1.1.11-xnqp4j47.mjs +0 -1
  894. package/dist/chunks/stickers-1.1.11-qj2z8gxy.mjs +0 -1
  895. package/dist/chunks/subprocessEnv-1.1.11-p65stpt5.mjs +0 -1
  896. package/dist/chunks/tasks-1.1.11-wxw0xx0j.mjs +0 -1
  897. package/dist/chunks/teamHelpers-1.1.11-60crs4z7.mjs +0 -1
  898. package/dist/chunks/teammateModeSnapshot-1.1.11-s3btrevg.mjs +0 -1
  899. package/dist/chunks/teleport-1.1.11-0xf6aa7g.mjs +0 -1
  900. package/dist/chunks/terminalSetup-1.1.11-pfz13me0.mjs +0 -1
  901. package/dist/chunks/theme-1.1.11-2p323zvq.mjs +0 -1
  902. package/dist/chunks/thinkback-1.1.11-s0m1n5ww.mjs +0 -1
  903. package/dist/chunks/thinkback-play-1.1.11-2sq4jkjt.mjs +0 -1
  904. package/dist/chunks/toolPool-1.1.11-je8wzeg0.mjs +0 -1
  905. package/dist/chunks/toolSearch-1.1.11-w74d8xmb.mjs +0 -1
  906. package/dist/chunks/tools-1.1.11-y36gvdes.mjs +0 -1
  907. package/dist/chunks/trustedDevice-1.1.11-x8dc07e5.mjs +0 -1
  908. package/dist/chunks/turndown.cjs-1.1.11-sr4p4fht.mjs +0 -69
  909. package/dist/chunks/types-1.1.11-hmv5s58r.mjs +0 -1
  910. package/dist/chunks/ultrareviewCommand-1.1.11-k569tjhq.mjs +0 -4
  911. package/dist/chunks/update-1.1.11-p39vapmz.mjs +0 -72
  912. package/dist/chunks/upgrade-1.1.11-tbgxp1ct.mjs +0 -1
  913. package/dist/chunks/upload-1.1.11-2ww1n0bh.mjs +0 -7
  914. package/dist/chunks/upstreamproxy-1.1.11-1y1aettm.mjs +0 -14
  915. package/dist/chunks/url-handler-napi-1.1.11-6g43s7vc.mjs +0 -1
  916. package/dist/chunks/usage-1.1.11-q123k500.mjs +0 -1
  917. package/dist/chunks/util-1.1.11-vtdjcaqr.mjs +0 -1
  918. package/dist/chunks/utils-1.1.11-tratqgvk.mjs +0 -1
  919. package/dist/chunks/vim-1.1.11-07nhad2c.mjs +0 -1
  920. package/dist/chunks/watchLoop-1.1.11-w662caa3.mjs +0 -13
  921. package/dist/chunks/watcher-1.1.11-jjk2rcc6.mjs +0 -1
  922. package/dist/chunks/wiki-1.1.11-kdevp06r.mjs +0 -132
  923. package/dist/chunks/workflows-1.1.11-s711sqq1.mjs +0 -1
  924. package/dist/chunks/worktree-1.1.11-y6c7aw7x.mjs +0 -1
  925. package/dist/chunks/worktreeModeEnabled-1.1.11-afx643vn.mjs +0 -1
  926. package/dist/chunks/wrapper-1.1.11-yx4yqang.mjs +0 -7
  927. /package/dist/chunks/{cli-1.1.11-qx2jtemb.mjs → cli-1.1.13-8812dqjq.mjs} +0 -0
@@ -1,4 +0,0 @@
1
- import{$s as D,Fn as R,Gn as BJ,LE as k,ME as HJ,at as hJ,pp as G,sp as a}from"./cli-1.1.11-y8jb9ka1.mjs";import{I8 as $J,X8 as bJ,x8 as ZJ}from"./cli-1.1.11-ytd49283.mjs";import{Lda as WJ,Zda as jJ,aaa as C,baa as GJ,caa as h,daa as FJ,eaa as u,faa as kJ}from"./cli-1.1.11-yz3byxtx.mjs";import{$ha as gJ,Pha as x}from"./cli-1.1.11-4x7gdf33.mjs";import{Qia as q,Sia as s,Tia as Y,Uia as r}from"./cli-1.1.11-x3d1641w.mjs";import{Aja as yJ,vja as M}from"./cli-1.1.11-ww3qs66m.mjs";import{$ja as CJ,_ja as o,ika as n,jka as EJ,oka as l,pka as TJ}from"./cli-1.1.11-1jp85542.mjs";import{Mma as c,Nma as OJ,Qma as H,Rma as F,Sma as I,Sqa as QJ,Tma as YJ,Ula as g,Uma as P,Vla as zJ,Vma as XJ,Wla as A,Xla as wJ,gma as f,hma as PJ,mra as mJ}from"./cli-1.1.11-9q076mg1.mjs";import{vra as K,wra as DJ}from"./cli-1.1.11-7ns0vhby.mjs";import{_sa as B}from"./cli-1.1.11-s5fsvj2a.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
2
- ${Q}
3
- </${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
4
- export{NQ as Of,_J as Pf,JJ as Qf,bQ as Rf,uQ as Sf,cJ as Tf,iQ as Uf,oJ as Vf};
@@ -1,15 +0,0 @@
1
- import{eS as _,ik as J,tO as f,vO as z,yx as L,zx as k}from"./cli-1.1.11-y8jb9ka1.mjs";import{Xaa as F,aba as A}from"./cli-1.1.11-yz3byxtx.mjs";import{Qia as Y,Sia as h,Tia as H,Uia as X}from"./cli-1.1.11-x3d1641w.mjs";import{Lja as W,Oja as M}from"./cli-1.1.11-nnxrj2y7.mjs";import{Oka as D,Rka as R}from"./cli-1.1.11-1jp85542.mjs";import{cpa as q,mra as C}from"./cli-1.1.11-9q076mg1.mjs";import{_sa as V}from"./cli-1.1.11-s5fsvj2a.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
- `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
-
4
- Return JSON with a single "title" field.
5
-
6
- Good examples:
7
- {"title": "Fix login button on mobile"}
8
- {"title": "Add OAuth authentication"}
9
- {"title": "Debug failing CI tests"}
10
- {"title": "Refactor API client error handling"}
11
-
12
- Bad (too vague): {"title": "Code changes"}
13
- Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
- Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
- export{S as ne,T as oe,I as pe};
@@ -1,24 +0,0 @@
1
- import{Bg as _Q,Dg as iQ}from"./cli-1.1.11-99dgyvn6.mjs";import{ui as WQ,vi as zX}from"./cli-1.1.11-nsf7da8p.mjs";import{Cp as ZQ,Dp as uQ,Hs as CQ,PJ as JJ,QJ as mJ,Rs as qX,XJ as GQ,YJ as KQ,ZJ as VQ,_J as OQ,aK as NQ,dK as IJ,eK as nJ,fK as rJ,gK as gQ,jG as SJ,kG as YQ}from"./cli-1.1.11-y8jb9ka1.mjs";import{BY as AQ,DY as ZX,GY as FQ,HY as $X,NY as zJ,OY as iJ,nY as bJ,oY as aJ}from"./cli-1.1.11-j4ym4b26.mjs";import{H1 as WJ,MZ as AJ,X0 as FJ,Y0 as CJ,Z0 as oJ,a1 as N,c1 as M,m1 as t,tZ as LJ,uZ as lJ,w1 as e}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as q,l4 as _,m4 as s}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as BJ}from"./cli-1.1.11-d8vrh841.mjs";import{r9 as i,s9 as dJ}from"./cli-1.1.11-3jw12y1k.mjs";import{Jga as x,Rga as DJ}from"./cli-1.1.11-yz3byxtx.mjs";import{Wga as f,Xga as pJ,Zga as n,bha as uJ,gha as vJ,mha as kQ}from"./cli-1.1.11-x2px8b33.mjs";import{Xia as UQ,Zia as aQ}from"./cli-1.1.11-ww3qs66m.mjs";import{$sa as oQ,Wsa as OJ,_sa as qJ}from"./cli-1.1.11-s5fsvj2a.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let B of HJ(H.agents))if(K+=1,!B.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((B)=>!B.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",B=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return B+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),B=eJ(J),W=Math.min(U,Math.max(0,B.length-1)),X=B[W],{done:I,total:w}=tJ(J),[S]=AJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=B.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[B,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...B.filter(($)=>$.runId!==J.runId)]:B).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((A)=>Math.max(0,A-1));else if(Y.downArrow)O(),S((A)=>Math.min(Math.max(0,P-1),A+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(BJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),B=J.instructions.trim();return`---
2
- ${H}
3
- ---
4
- ${B?`${B}
5
- `:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((B,W)=>({...B,name:W===U?K:B.name,handbackTo:B.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[B]=AJ(),W=FJ(B),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.1.11-af225gtm.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),A=C-1,u=X&&A>=0?X.steps[A]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
6
- `:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,A).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,A,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&A>=0)P((G)=>({...G,steps:qQ(G.steps,A,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,A,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,A,P]),jQ=E.useCallback(()=>{if(A<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==A)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,A,P]),gJ=E.useCallback((Q)=>{if(!X||A<0)return;let Z=A+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(A,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,A,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
7
- `):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(BJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,B]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{B(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((A)=>Math.max(0,A-1));else if(P.downArrow)w((A)=>Math.min(H.length-1,A+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let A=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,A?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
8
- name: ${J}
9
- description: What this workflow does
10
- steps:
11
- - name: explore
12
- agents: [explorer]
13
- - name: synthesize
14
- agents: [synthesizer]
15
- handbackTo: [explore]
16
- - name: done
17
- ---
18
- Describe the goal and any house rules for this workflow.
19
- `;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(BJ(),1)});function BQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return AQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[B,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
20
- <status>${c.status}</status>
21
- <summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
22
- <result>${$}</result>
23
- </task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:B==="running",inverse:B==="running",children:[" ","Running"," "]}),_(M,{bold:B==="library",inverse:B==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(B==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(BQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(BQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(BJ(),1)});
24
- export{NZ as Xb,YX as Yb};
@@ -1,2 +0,0 @@
1
- import{gI as U,hI as w}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as f,H1 as k,a1 as N,c1 as O}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as M,l4 as H,m4 as R}from"./cli-1.1.11-dzq0mt2q.mjs";import{Wsa as Y,_sa as Z}from"./cli-1.1.11-s5fsvj2a.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
- export{_ as Gg,A as Hg};
@@ -1,2 +0,0 @@
1
- import{Zsa as n,_sa as o}from"./cli-1.1.11-s5fsvj2a.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
- export{i as Lja,c as Mja,p as Nja,u as Oja};
@@ -1,2 +0,0 @@
1
- import{$n as y,ao as p,tG as O,vG as j}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as S,H1 as v,a1 as F,c1 as I,g1 as R}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as Z,l4 as N,m4 as U}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as d}from"./cli-1.1.11-d8vrh841.mjs";import{Nda as M,Zda as E}from"./cli-1.1.11-yz3byxtx.mjs";import{Lja as H,Oja as b}from"./cli-1.1.11-nnxrj2y7.mjs";import{Wsa as k}from"./cli-1.1.11-s5fsvj2a.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
- export{x as Ya,l as Za};
@@ -1,25 +0,0 @@
1
- import{$k as Wq,AK as Pq,BR as yq,HK as Zq,JK as Uq,Kp as a,MJ as b,Mp as Kq,NJ as R,Nu as s,OJ as vq,RJ as p,Rx as e,SJ as S,Sx as Nq,TJ as zq,Tu as t,UJ as Bq,VJ as I,WJ as k,Zk as r,Zu as Hq,bK as Jq,cK as Qq,gK as wq,jK as Vq,kB as qq,kK as Oq,lB as Xq,mK as Yq,vR as $q}from"./cli-1.1.11-y8jb9ka1.mjs";import{Jga as h,Rga as Fq}from"./cli-1.1.11-yz3byxtx.mjs";import{Xia as n,Zia as Lq}from"./cli-1.1.11-ww3qs66m.mjs";import{fla as y,tla as jq}from"./cli-1.1.11-sph0eaqc.mjs";import{_sa as M}from"./cli-1.1.11-s5fsvj2a.mjs";function x(B,z){let J=g[z]??1,Z=B!==void 0?g[B]:void 0;if(Z===void 0)return z;return Z<=J?B:z}var g;var m=M(()=>{g={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
2
- …[truncated ${B.length-z} chars]`}function u(B,z,J,Z){let Y=[];if(Y.push(`You are a worker agent in the "${B.name}" workflow, phase "${Z.name}".`),B.instructions.trim())Y.push(`Workflow instructions:
3
- ${B.instructions.trim()}`);if(Y.push(`Task:
4
- ${z}`),J.trim())Y.push(`Work so far (accumulated artifact from earlier phases):
5
- ${C(J.trim(),Gq)}`);return Y.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),Y.join(`
6
-
7
- `)}function c(B,z){let J=[];if(J.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())J.push(`Workflow instructions:
8
- ${z.instructions.trim()}`);J.push(`Task:
9
- ${B.task}`);let Z=z.steps.findIndex((V)=>V.name===B.currentStep),Y=z.steps.map((V,Q)=>{let j=Q<Z?"[done]":Q===Z?"[current]":"[pending]",H=I(V)?" (terminal)":"";return` ${Q+1}. ${V.name} ${j}${H}`}).join(`
10
- `);if(J.push(`Phases:
11
- ${Y}`),B.history.length>0){let V=B.history.map((Q)=>{let j=Q.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
12
- ${C(q.output,f).split(`
13
- `).map((N)=>` ${N}`).join(`
14
- `)}`}).join(`
15
- `),H=Q.decision?` decision: ${Q.decision.decision}${Q.decision.target?` → ${Q.decision.target}`:""} — ${Q.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${Q.step}":
16
- ${j}
17
- ${Q.synthesis?` synthesis: ${C(Q.synthesis,f)}
18
- `:""}${H}`}).join(`
19
-
20
- `);J.push(`History (all phases so far):
21
- ${V}`)}let G=z.steps[Z]?.handbackTo??[];return J.push(G.length>0?`From the current phase you may hand back to: ${G.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),J.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),J.join(`
22
-
23
- `)}var f=4000,Gq=6000;var l=M(()=>{k()});function d(B,z,J){let Z=J.steps,Y=Z.findIndex((j)=>j.name===B.currentStep),$={...B.refineCounts},G=B.transitions+1,V=B.currentStep,Q="running";if(z.decision==="advance"){let j=Z[Y+1];if(I(j)){if(Q="done",j)V=j.name}else V=j.name}else if(z.decision==="refine"){if($[V]=($[V]??0)+1,$[V]>S)Q="stalled"}else{let j=Z[Y]?.handbackTo??[];if(!z.target||!j.includes(z.target))Q="stalled";else if($[z.target]=($[z.target]??0)+1,$[z.target]>S)Q="stalled";else V=z.target}if(Q==="running"&&G>=p)Q="stalled";return{...B,currentStep:V,status:Q,refineCounts:$,transitions:G,updatedAt:Date.now()}}var i=M(()=>{k()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function hq(B){let z="",J=0;for(let Y=B.length-1;Y>=0;Y--){let $=B[Y];if($.type!=="assistant"||!$.message)continue;if(!z){let G=($.message.content??[]).filter((V)=>V.type==="text"&&V.text);if(G.length>0)z=G.map((V)=>V.text??"").join(`
24
- `)}if(J===0&&$.message.usage)J=$q($.message.usage);if(z&&J)break}let Z=e(B);return{text:z,tokens:J,tools:Z}}async function o(B){let{label:z,agentDef:J,promptText:Z,toolUseContext:Y,canUseTool:$,extraTools:G,runId:V}=B,Q=Date.now(),j=Y.getAppState(),H=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(J.permissionMode,H)},L=Zq(q,j.mcp.tools);if(G&&G.length>0)L=[...L,...G];let N=J.model??String(Y.options.mainLoopModel??""),F=[],X,P=!1;try{let K=qq({agentDefinition:J,promptMessages:[Yq({content:Z})],toolUseContext:Y,canUseTool:$,isAsync:!1,querySource:a(J.agentType,s(J)),availableTools:L,transcriptSubdir:`workflows/${V}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let w of K)if(F.push(w),w.type==="attachment"&&w.attachment?.type==="structured_output")X=w.attachment.data}catch(K){if(y(K))throw K;h(K),P=!0}let{text:E,tokens:_,tools:v}=hq(F);return{run:{label:z,model:N,tokens:_,tools:v,ms:Date.now()-Q,output:P?"":E,failed:P},structuredOutput:X}}async function tq(B){let{def:z,task:J,toolUseContext:Z,canUseTool:Y,onProgress:$,signal:G}=B,{allAgents:V}=await t(n()),Q=new Map(V.map((N)=>[N.agentType,N]));Q.set(b,R);let j=Q.get(z.main??b)??R,H=new AbortController;if(G)if(G.aborted)H.abort();else G.addEventListener("abort",()=>H.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:J,firstStep:z.steps[0].name});$?.(q);let L=async()=>{await Qq(q),$?.(q)};while(q.status==="running"){if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let N=z.steps.findIndex((W)=>W.name===q.currentStep),F=z.steps[N];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let X;try{X=(await Vq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=Q.get(O);A=D?await o({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,J,q.artifact,F),toolUseContext:Z,canUseTool:Y,runId:q.runId,abortController:H}):T}catch(D){if(y(D))throw D;h(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let P={step:F.name,stepIndex:N,agents:X,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+X.reduce((W,O)=>W+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&X.every((W)=>W.failed)){h(Error(`workflow phase "${F.name}": all ${X.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){h(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],v;try{v=await o({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Z,canUseTool:Y,extraTools:_,runId:q.runId,abortController:H})}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let K=zq.safeParse(v.structuredOutput),w=[...q.history];if(w[w.length-1]={...P,synthesis:v.run.output,decision:K.success?K.data:null,agents:[...X,v.run]},q={...q,history:w,artifact:v.run.output.trim()?v.run.output:q.artifact,totalTokens:q.totalTokens+v.run.tokens,updatedAt:Date.now()},!K.success){h(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Hq();Nq();Xq();Wq();Lq();jq();Fq();Pq();Kq();yq();vq();m();l();wq();i();k()});
25
- export{tq as ui,Eq as vi};
@@ -1,2 +0,0 @@
1
- import{hX as K,jX as Q}from"./cli-1.1.11-7fqzppxh.mjs";import{Lda as H,Qda as J,Zda as P,bba as A,kba as M}from"./cli-1.1.11-yz3byxtx.mjs";import{_sa as L}from"./cli-1.1.11-s5fsvj2a.mjs";async function p(){let b=await K();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=J()?.remote?.defaultEnvironmentId,B=b.find((x)=>x.kind!=="bridge")??b[0],D=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){B=x;for(let q=A.length-1;q>=0;q--){let y=A[q];if(!y||y==="flagSettings")continue;if(H(y)?.remote?.defaultEnvironmentId===z){D=y;break}}}}return{availableEnvironments:b,selectedEnvironment:B,selectedEnvironmentSource:D}}var V=L(()=>{M();P();Q()});
2
- export{p as Zb,V as _b};
@@ -1,2 +0,0 @@
1
- function t(s){if(s===null||typeof s!=="object")return s;let e=s;if("requestId"in e&&!("request_id"in e))e.request_id=e.requestId,delete e.requestId;if("response"in e&&e.response!==null&&typeof e.response==="object"){let n=e.response;if("requestId"in n&&!("request_id"in n))n.request_id=n.requestId,delete n.requestId}return s}
2
- export{t as Wb};
@@ -1,2 +0,0 @@
1
- import{X8 as f,_7 as M,e5 as G,j5 as W,k5 as V,x8 as j}from"./cli-1.1.11-ytd49283.mjs";import{jea as x,kea as B,laa as w,maa as z,paa as Y}from"./cli-1.1.11-yz3byxtx.mjs";import{Cja as J,Kja as F}from"./cli-1.1.11-17j0yz1c.mjs";import{_sa as Z}from"./cli-1.1.11-s5fsvj2a.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
2
- export{g as nU,p as oU,X as pU,S as qU,y as rU,I as sU,b as tU};
@@ -1,2 +0,0 @@
1
- import{Rn as T,Sn as Cq,ly as Pq,py as cq}from"./cli-1.1.11-y8jb9ka1.mjs";import{eZ as Uq,fZ as Iq,iZ as kq}from"./cli-1.1.11-vtj7f6xe.mjs";import{DZ as aq,H1 as hq,a1 as L,c1 as O}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as J,l4 as Q,m4 as vq}from"./cli-1.1.11-dzq0mt2q.mjs";import{c6 as bq,d6 as Mq,w6 as Sq}from"./cli-1.1.11-ytd49283.mjs";import{Bba as fq,O$ as Xq,P$ as jq,Qea as Rq,jfa as Bq,zba as Nq}from"./cli-1.1.11-yz3byxtx.mjs";import{$ha as nq}from"./cli-1.1.11-4x7gdf33.mjs";import{Wsa as yq,_sa as Gq}from"./cli-1.1.11-s5fsvj2a.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
- export{dq as wf,eq as xf,Wq as yf,LH as zf,uq as Af};
@@ -1,2 +0,0 @@
1
- import{DZ as Z,H1 as k,c1 as K}from"./cli-1.1.11-23hz9e80.mjs";import{l4 as J,m4 as H}from"./cli-1.1.11-dzq0mt2q.mjs";import{x_ as v,y_ as Y}from"./cli-1.1.11-yz3byxtx.mjs";import{Wsa as V,_sa as X}from"./cli-1.1.11-s5fsvj2a.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
- export{N as th,C as uh};
@@ -1,2 +0,0 @@
1
- import{tG as U,uG as A,yG as V,zG as E}from"./cli-1.1.11-y8jb9ka1.mjs";import{_W as W,gX as G}from"./cli-1.1.11-6kp3wff0.mjs";import{H1 as O,a1 as F,c1 as H}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as q,l4 as K,m4 as L}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as I}from"./cli-1.1.11-d8vrh841.mjs";import{X8 as p,x8 as Q}from"./cli-1.1.11-ytd49283.mjs";import{Nea as M,Qea as N,jfa as $}from"./cli-1.1.11-yz3byxtx.mjs";import{Wsa as Z,_sa as _}from"./cli-1.1.11-s5fsvj2a.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
2
- export{b as bc,d as cc,P as dc};
@@ -1,12 +0,0 @@
1
- import{$n as d,Tn as E,Un as Uq,Xn as r,Yn as Xq,ao as Yq,pF as x,qF as s,rF as C,tF as n,tG as o,uF as $,vG as Mq,wF as Zq}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as Jq,H1 as Qq,a1 as N,c1 as U,g1 as V,w1 as a}from"./cli-1.1.11-23hz9e80.mjs";import{j4 as u,k4 as J,l4 as X,m4 as g}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as zq}from"./cli-1.1.11-d8vrh841.mjs";import{Lja as w,Oja as qq}from"./cli-1.1.11-nnxrj2y7.mjs";import{Wsa as i,_sa as t}from"./cli-1.1.11-s5fsvj2a.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
2
- | \\ \\
3
- | NEW TERMS \\__\\
4
- | |
5
- | ---------- |
6
- | ---------- |
7
- | ---------- |
8
- | ---------- |
9
- | ---------- |
10
- | |
11
- |______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
12
- export{kq as pc,_q as qc,Aq as rc};
@@ -1,2 +0,0 @@
1
- import{K4 as m}from"./cli-1.1.11-4a4wbqs3.mjs";import{F8 as K,X8 as $}from"./cli-1.1.11-ytd49283.mjs";import{Nea as Q,Qea as J,Rga as Z,jfa as Y,kea as X}from"./cli-1.1.11-yz3byxtx.mjs";import{Kja as W}from"./cli-1.1.11-17j0yz1c.mjs";import{_sa as V}from"./cli-1.1.11-s5fsvj2a.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
2
- export{y as Li,G as Mi,U as Ni,w as Oi};
@@ -1,2 +0,0 @@
1
- import{BF as L,CF as h,Xx as J,Yx as Z,jH as z,kH as M}from"./cli-1.1.11-y8jb9ka1.mjs";import{DZ as X}from"./cli-1.1.11-23hz9e80.mjs";import{n4 as W}from"./cli-1.1.11-d8vrh841.mjs";import{Jqa as H,mra as V}from"./cli-1.1.11-9q076mg1.mjs";import{Wsa as D,_sa as U}from"./cli-1.1.11-s5fsvj2a.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
- export{v as pg,A as qg};
@@ -1,2 +0,0 @@
1
- import{Zsa as x,_sa as z}from"./cli-1.1.11-s5fsvj2a.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 D2,F as E2,G as F2,H as G2,J as H2};
@@ -1,2 +0,0 @@
1
- import{$e as H,cf as A}from"./cli-1.1.11-ctd6he1r.mjs";import{qf as L,tf as P,vf as _}from"./cli-1.1.11-e9h0r9s8.mjs";import{gsa as U,ysa as F}from"./cli-1.1.11-yx7hmc5y.mjs";F();_();A();var R="environments-2025-11-01",O=/^[a-zA-Z0-9_-]+$/;function j(J,K){if(!J||!O.test(J))throw Error(`Invalid ${K}: contains unsafe characters`);return J}class C extends Error{status;errorType;constructor(J,K,$){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=$}}function y(J){function K(q){J.onDebug?.(q)}let $=0,W=100;function Z(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},X=J.getTrustedDeviceToken?.();if(X)z["X-Trusted-Device-Token"]=X;return z}function D(){let q=J.getAccessToken();if(!q)throw Error(H);return q}async function M(q,z){let X=D(),Q=await q(X);if(Q.status!==401)return Q;if(!J.onAuth401)return K(`[bridge:api] ${z}: 401 received, no refresh handler`),Q;if(K(`[bridge:api] ${z}: 401 received, attempting token refresh`),await J.onAuth401(X)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let V=D(),N=await q(V);if(N.status!==401)return N;K(`[bridge:api] ${z}: Retry after refresh also got 401`)}else K(`[bridge:api] ${z}: Token refresh failed`);return Q}return{async registerBridgeEnvironment(q){K(`[bridge:api] POST /v1/environments/bridge bridgeId=${q.bridgeId}`);let z=await M((X)=>U.post(`${J.baseUrl}/v1/environments/bridge`,{machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType},...q.reuseEnvironmentId&&{environment_id:q.reuseEnvironmentId}},{headers:Z(X),timeout:15000,validateStatus:(Q)=>Q<500}),"Registration");return G(z.status,z.data,"Registration"),K(`[bridge:api] POST /v1/environments/bridge -> ${z.status} environment_id=${z.data.environment_id}`),K(`[bridge:api] >>> ${L({machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType}})}`),K(`[bridge:api] <<< ${L(z.data)}`),z.data},async pollForWork(q,z,X,Q){j(q,"environmentId");let Y=$;$=0;let V=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:Z(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:X,validateStatus:(N)=>N<500});if(G(V.status,V.data,"Poll"),!V.data){if($=Y+1,$===1||$%W===0)K(`[bridge:api] GET .../work/poll -> ${V.status} (no work, ${$} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${V.status} workId=${V.data.id} type=${V.data.data?.type}${V.data.data?.id?` sessionId=${V.data.data.id}`:""}`),K(`[bridge:api] <<< ${L(V.data)}`),V.data},async acknowledgeWork(q,z,X){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/ack`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/ack`,{},{headers:Z(X),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"Acknowledge"),K(`[bridge:api] POST .../work/${z}/ack -> ${Q.status}`)},async stopWork(q,z,X){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${X}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:X},{headers:Z(Y),timeout:1e4,validateStatus:(V)=>V<500}),"StopWork");G(Q.status,Q.data,"StopWork"),K(`[bridge:api] POST .../work/${z}/stop -> ${Q.status}`)},async deregisterEnvironment(q){j(q,"environmentId"),K(`[bridge:api] DELETE /v1/environments/bridge/${q}`);let z=await M((X)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:Z(X),timeout:1e4,validateStatus:(Q)=>Q<500}),"Deregister");G(z.status,z.data,"Deregister"),K(`[bridge:api] DELETE /v1/environments/bridge/${q} -> ${z.status}`)},async archiveSession(q){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/archive`);let z=await M((X)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:Z(X),timeout:1e4,validateStatus:(Q)=>Q<500}),"ArchiveSession");if(z.status===409){K(`[bridge:api] POST /v1/sessions/${q}/archive -> 409 (already archived)`);return}G(z.status,z.data,"ArchiveSession"),K(`[bridge:api] POST /v1/sessions/${q}/archive -> ${z.status}`)},async reconnectSession(q,z){j(q,"environmentId"),j(z,"sessionId"),K(`[bridge:api] POST /v1/environments/${q}/bridge/reconnect session_id=${z}`);let X=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:Z(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(X.status,X.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${X.status}`)},async heartbeatWork(q,z,X){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/heartbeat`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/heartbeat`,{},{headers:Z(X),timeout:1e4,validateStatus:(Y)=>Y<500});return G(Q.status,Q.data,"Heartbeat"),K(`[bridge:api] POST .../work/${z}/heartbeat -> ${Q.status} lease_extended=${Q.data.lease_extended} state=${Q.data.state}`),Q.data},async sendPermissionResponseEvent(q,z,X){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/events type=${z.type}`);let Q=await U.post(`${J.baseUrl}/v1/sessions/${q}/events`,{events:[z]},{headers:Z(X),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"SendPermissionResponseEvent"),K(`[bridge:api] POST /v1/sessions/${q}/events -> ${Q.status}`),K(`[bridge:api] >>> ${L({events:[z]})}`),K(`[bridge:api] <<< ${L(Q.data)}`)}}}function G(J,K,$){if(J===200||J===204)return;let W=P(K),Z=B(K);switch(J){case 401:throw new C(`${$}: Authentication failed (401)${W?`: ${W}`:""}. ${H}`,401,Z);case 403:throw new C(S(Z)?"Remote Control session has expired. Please restart with `claude remote-control` or /remote-control.":`${$}: Access denied (403)${W?`: ${W}`:""}. Check your organization permissions.`,403,Z);case 404:throw new C(W??`${$}: Not found (404). Remote Control may not be available for this organization.`,404,Z);case 410:throw new C(W??"Remote Control session has expired. Please restart with `claude remote-control` or /remote-control.",410,Z??"environment_expired");case 429:throw Error(`${$}: Rate limited (429). Polling too frequently.`);default:throw Error(`${$}: Failed with status ${J}${W?`: ${W}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function h(J){if(J.status!==403)return!1;return J.message.includes("external_poll_sessions")||J.message.includes("environments:manage")}function B(J){if(J&&typeof J==="object"){if("error"in J&&J.error&&typeof J.error==="object"&&"type"in J.error&&typeof J.error.type==="string")return J.error.type}return}function f(J){let K=new AbortController;function $(){K.abort(),K=new AbortController}function W(){let Z=new AbortController,D=()=>Z.abort();if(J.aborted||K.signal.aborted)return Z.abort(),{signal:Z.signal,cleanup:()=>{}};J.addEventListener("abort",D,{once:!0});let M=K.signal;return M.addEventListener("abort",D,{once:!0}),{signal:Z.signal,cleanup:()=>{J.removeEventListener("abort",D),M.removeEventListener("abort",D)}}}return{signal:W,wake:$}}
2
- export{j as ub,C as vb,y as wb,S as xb,h as yb,f as zb};
@@ -1,3 +0,0 @@
1
- import{O_ as Q,Q_ as M,Qea as P,jfa as R}from"./cli-1.1.11-yz3byxtx.mjs";import{Oka as G,Rka as C}from"./cli-1.1.11-1jp85542.mjs";import{_sa as j}from"./cli-1.1.11-s5fsvj2a.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 B(){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 N(){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 B();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await N();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 L4,w as M4,f as N4};
@@ -1,2 +0,0 @@
1
- import{Wb as Y}from"./cli-1.1.11-p1g4cbqp.mjs";import{TW as N,UW as C}from"./cli-1.1.11-sycyfbqa.mjs";import{Dga as A,Fga as w}from"./cli-1.1.11-yz3byxtx.mjs";import{Lja as B,Oja as k}from"./cli-1.1.11-nnxrj2y7.mjs";import{Oka as W,Rka as j,ska as L,wka as E}from"./cli-1.1.11-1jp85542.mjs";import{mla as G,tla as K}from"./cli-1.1.11-sph0eaqc.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
- export{v as Qb,q as Rb,p as Sb,g as Tb,d as Ub,R as Vb};
@@ -1,2 +0,0 @@
1
- import{$L as _,dM as S,gM as w,mM as M,mp as L,np as j,oM as P,op as C,rp as O,sp as b,tM as f,uM as m,yM as c}from"./cli-1.1.11-y8jb9ka1.mjs";import{Hca as E,Jga as k,Lda as N,Nda as x,Qda as A,Rga as D,Zda as T,zca as U}from"./cli-1.1.11-yz3byxtx.mjs";import{Xia as R,Zia as v}from"./cli-1.1.11-ww3qs66m.mjs";import{Oka as G,Rka as F}from"./cli-1.1.11-1jp85542.mjs";import{_sa as y}from"./cli-1.1.11-s5fsvj2a.mjs";import{join as I}from"path";async function e(){let q=A(),J=[],Q=L();for(let[z,K]of Object.entries(Q))if(z.includes("@")&&K)J.push(z);if(q.enabledPlugins)for(let[z,K]of Object.entries(q.enabledPlugins)){if(!z.includes("@"))continue;let W=J.indexOf(z);if(K){if(W===-1)J.push(z)}else if(W!==-1)J.splice(W,1)}return J}function qq(){let q=new Map,J=L();for(let[z,K]of Object.entries(J)){if(!z.includes("@"))continue;if(K===!0)q.set(z,"flag");else if(K===!1)q.delete(z)}let Q=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:z,source:K}of Q){let W=N(K);if(!W?.enabledPlugins)continue;for(let[V,Y]of Object.entries(W.enabledPlugins)){if(!V.includes("@"))continue;if(V in J&&J[V]!==Y)G(`Plugin ${V} from --add-dir (${J[V]}) overridden by ${K} (${Y})`);if(Y===!0)q.set(V,z);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([z,K])=>`${z}(${K})`).join(", ")}`),q}function zq(q){return C[q]}async function Jq(){M().catch((Q)=>{k(Q)});let q=w(),J=Object.keys(q.plugins);return G(`Found ${J.length} installed plugins`),J}async function Kq(q,J,Q="user"){let z=Q!=="user"?R():void 0,K=O(Q),W=N(K),V={...W?.enabledPlugins},Y=[],H=[];for(let B=0;B<q.length;B++){let X=q[B];if(!X)continue;if(J)J(X,B+1,q.length);try{let Z=await _(X);if(!Z){H.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:h}=Z;if(!U($.source))await f(X,$,Q,z);else m({pluginId:X,installPath:I(h,$.source),version:$.version},Q,z);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);H.push({name:X,error:$}),k(Z)}}return x(K,{...W,enabledPlugins:V}),{installed:Y,failed:H}}var p=y(()=>{v();F();D();T();j();P();S();b();c();E()});
2
- export{e as Wd,qq as Xd,zq as Yd,Jq as Zd,Kq as _d,p as $d};
@@ -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 Wsa,A as Xsa,B as Ysa,C as Zsa,D as _sa,F as $sa,G as ata,H as bta};
@@ -1,3 +0,0 @@
1
- import{$n as l,FC as X,GC as qf,Hk as m,Hl as c,IT as Hf,Ik as yf,JT as If,LS as r,NS as Zf,Sl as N,Vl as d,Wl as M,am as Of,ao as $f,gI as v,hI as Bf,nm as V,sm as Yf,tG as S,uG as zf}from"./cli-1.1.11-y8jb9ka1.mjs";import{WU as u,XU as Kf}from"./cli-1.1.11-erfvptpc.mjs";import{DZ as Jf,H1 as Af,a1 as D,c1 as T}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as A,l4 as R,m4 as F}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as _f}from"./cli-1.1.11-d8vrh841.mjs";import{O_ as W,Q_ as pf}from"./cli-1.1.11-yz3byxtx.mjs";import{Lja as P,Oja as ff}from"./cli-1.1.11-nnxrj2y7.mjs";import{Oka as b,Rka as Gf}from"./cli-1.1.11-1jp85542.mjs";import{Wsa as g,Xsa as e,_sa as k}from"./cli-1.1.11-s5fsvj2a.mjs";function E(){(If(),e(Hf)).saveWorktreeState(null),m()}function a({onDone:J,onCancel:O}){let[Y,p]=$.useState("loading"),[y,H]=$.useState([]),[G,q]=$.useState(0),[Z,_]=$.useState(),f=c();if($.useEffect(()=>{async function z(){let I=[],B=await W("git",["status","--porcelain"]);if(B.stdout)I=B.stdout.split(`
2
- `).filter((Q)=>Q.trim()!==""),H(I);if(f){let{stdout:Q}=await W("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(Q.trim())||0;if(q(w),I.length===0&&w===0){p("removing"),M().then(()=>{process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.(),_("Worktree removed (no changes)")}).catch((s)=>{b(`Failed to clean up worktree: ${s}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway")}).finally(()=>{E()}).then(()=>{p("done")});return}else p("asking")}}z()},[f]),$.useEffect(()=>{if(Y==="done")J(Z)},[Y,J,Z]),!f)return J("No active worktree session found",{display:"system"}),null;if(Y==="loading"||Y==="done")return null;async function j(z){if(!f)return;let I=Boolean(f.tmuxSessionName);if(z==="keep"||z==="keep-with-tmux"){p("keeping"),P("tengu_worktree_kept",{commits:G,changed_files:y.length}),await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}if(V.cache.clear?.(),I)_(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else _(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);p("done")}else if(z==="keep-kill-tmux"){if(p("keeping"),P("tengu_worktree_kept",{commits:G,changed_files:y.length}),f.tmuxSessionName)await N(f.tmuxSessionName);await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}V.cache.clear?.(),_(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),p("done")}else if(z==="remove"||z==="remove-with-tmux"){if(p("removing"),P("tengu_worktree_removed",{commits:G,changed_files:y.length}),f.tmuxSessionName)await N(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.()}catch(Q){b(`Failed to clean up worktree: ${Q}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway"),p("done");return}finally{E()}let B=I?" Tmux session terminated.":"";if(G>0&&y.length>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${B}`);else if(G>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${B}`);else if(y.length>0)_(`Worktree removed. Uncommitted changes were discarded.${B}`);else _(`Worktree removed.${B}`);p("done")}}if(Y==="keeping")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Keeping worktree…"})]});if(Y==="removing")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Removing worktree…"})]});let x=f.worktreeBranch,L=y.length>0,U=G>0,K="";if(L&&U)K=`You have ${y.length} uncommitted ${y.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(L)K=`You have ${y.length} uncommitted ${y.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(U)K=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else K="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function o(){if(O){O();return}j("keep")}let h=L||U?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),t=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return A(l,{title:"Exiting worktree session",subtitle:K,onCancel:o,children:A(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:t,onChange:j})})}var $;var i=k(()=>{ff();Gf();Af();pf();Yf();yf();qf();Of();zf();$f();Bf();F();$=g(_f(),1)});function Vf(){return u(Qf)??"Goodbye!"}function wf(J){let O=n.c(5),{showWorktree:Y,onDone:p,onCancel:y}=J,H;if(O[0]!==p)H=async function(Z){p(Z??Vf()),await r(0,"prompt_input_exit")},O[0]=p,O[1]=H;else H=O[1];let G=H;if(Y){let q;if(O[2]!==y||O[3]!==G)q=A(a,{onDone:G,onCancel:y}),O[2]=y,O[3]=G,O[4]=q;else q=O[4];return q}return null}var n,Qf;var Xf=k(()=>{Kf();Zf();i();F();n=g(Jf(),1),Qf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
3
- export{wf as jc,Xf as kc};
@@ -1,2 +0,0 @@
1
- import{x4 as x,y4 as D,z4 as j}from"./cli-1.1.11-jvyac5ts.mjs";import{C8 as Q,I8 as q,X7 as U,X8 as _,Y7 as X,e5 as G,k5 as I,x8 as Z,z8 as P}from"./cli-1.1.11-ytd49283.mjs";import{Qea as $,jfa as S}from"./cli-1.1.11-yz3byxtx.mjs";import{Eja as V,Kja as K}from"./cli-1.1.11-17j0yz1c.mjs";import{Jla as R,zla as B}from"./cli-1.1.11-8vmf6185.mjs";import{gsa as W,ysa as E}from"./cli-1.1.11-yx7hmc5y.mjs";import{_sa as N}from"./cli-1.1.11-s5fsvj2a.mjs";function y(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",J=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${J})`}function b(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function k(){if(G()==="firstParty")return`Claude-User (${x()}; +https://support.anthropic.com/)`;return`Claudin-User (${D()})`}function A(){if(Q()){let J=Z();if(!J?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${J.accessToken}`,"anthropic-beta":V}}}let z=X();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function p(z,J){try{return await z()}catch(F){if(!W.isAxiosError(F))throw F;let L=F.response?.status;if(!(L===401||J?.also403Revoked&&L===403&&typeof F.response?.data==="string"&&F.response.data.includes("OAuth token has been revoked")))throw F;let M=Z()?.accessToken;if(!M)throw F;return await P(M),await z()}}var w=N(()=>{E();K();_();I();j()});function u(){if(B(process.env.DISABLE_COST_WARNINGS))return!1;if(Q())return!1;let J=U(),F=X()!==null;if(!J.hasToken&&!F)return!1;let L=$(),Y=L.oauthAccount?.organizationRole,M=L.oauthAccount?.workspaceRole;if(!Y||!M)return!1;return["admin","billing"].includes(Y)||["workspace_admin","workspace_billing"].includes(M)}function l(){if(H!==null)return H;if(!Q())return!1;let z=q();if(z==="max"||z==="pro")return!0;let F=$().oauthAccount?.organizationRole;return!!F&&["admin","billing","owner","primary_owner"].includes(F)}var H=null;var m=N(()=>{_();S();R()});
2
- export{y as o4,b as p4,k as q4,A as r4,p as s4,w as t4,u as u4,l as v4,m as w4};
@@ -1,2 +0,0 @@
1
- import{Ac as m,Dc as u,Ec as y,zc as l}from"./cli-1.1.11-js75fbb2.mjs";import{tG as p,vG as b}from"./cli-1.1.11-y8jb9ka1.mjs";import{H1 as C,a1 as s,c1 as e}from"./cli-1.1.11-23hz9e80.mjs";import{k4 as i,l4 as r,m4 as g}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as M}from"./cli-1.1.11-d8vrh841.mjs";import{Wsa as h,_sa as f}from"./cli-1.1.11-s5fsvj2a.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 xc,w as yc};
@@ -1,3 +0,0 @@
1
- import{Z as k}from"./cli-1.1.11-xjejq6gc.mjs";import{Aga as $,Bga as F,Hga as z,Iga as H,Rga as P}from"./cli-1.1.11-yz3byxtx.mjs";import{Aka as V,Eka as C,Oka as X,Pja as _,Qja as A,Rja as B,Rka as E,Tja as L,rka as O,wka as N}from"./cli-1.1.11-1jp85542.mjs";import{mra as w,nna as Z}from"./cli-1.1.11-9q076mg1.mjs";import{gsa as q,ysa as y}from"./cli-1.1.11-yx7hmc5y.mjs";y();w();A();F();L();E();C();P();N();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
- `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function W(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(U)}function M(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function r(){M(),k()}
3
- export{r as X};
@@ -1,4 +0,0 @@
1
- import{Rra as Q,Sra as V,Tra as W,Ura as X,Vra as Y,Wra as Z,fsa as w}from"./cli-1.1.11-2480c28s.mjs";import{_sa as v}from"./cli-1.1.11-s5fsvj2a.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
- `),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
3
- `)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
- export{B as Yka,L as Zka,_ as _ka,S as $ka,k as ala,F as bla,D as cla,P as dla,x as ela,y as fla,T as gla,O as hla,R as ila,U as jla,f as kla,N as lla,I as mla,$ as nla,A as ola,p as pla,C as qla,h as rla,E as sla,b as tla};
@@ -1,2 +0,0 @@
1
- import{Fd as x,Gd as o}from"./cli-1.1.11-ybqaxmsq.mjs";import{Az as u,BL as i,EM as W,HM as t,Tu as Z,Zu as v,gA as K,gp as Y,iA as m,ip as g,jD as M,mL as O,nL as a,pD as l,tz as $,uz as d,yL as R,yz as y}from"./cli-1.1.11-y8jb9ka1.mjs";import{Jga as X,Rga as h}from"./cli-1.1.11-yz3byxtx.mjs";import{Oka as I,Rka as c}from"./cli-1.1.11-1jp85542.mjs";import{mla as V,tla as f}from"./cli-1.1.11-sph0eaqc.mjs";import{mra as _,tna as U}from"./cli-1.1.11-9q076mg1.mjs";import{_sa as C}from"./cli-1.1.11-s5fsvj2a.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
2
- export{Lj as Bd,p as Cd};
@@ -1,2 +0,0 @@
1
- import{k4 as v,m4 as D}from"./cli-1.1.11-dzq0mt2q.mjs";import{$sa as B}from"./cli-1.1.11-s5fsvj2a.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-1.1.11-krv6wwgp.mjs"),J=z??import("./REPL-1.1.11-eft2tx7z.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
2
- export{N as db,O as eb};
@@ -1,2 +0,0 @@
1
- import{H5 as H,I5 as _,J5 as Y,K5 as y}from"./cli-1.1.11-ytd49283.mjs";import{J_ as M,L_ as f}from"./cli-1.1.11-yz3byxtx.mjs";import{Aka as P,Eka as p,Oka as x,Rja as F,Rka as S,Tja as b}from"./cli-1.1.11-1jp85542.mjs";import{mla as V,tla as R}from"./cli-1.1.11-sph0eaqc.mjs";import{Jla as g,zla as U}from"./cli-1.1.11-8vmf6185.mjs";import{mra as A,ypa as D,zpa as W}from"./cli-1.1.11-9q076mg1.mjs";import{_sa as L}from"./cli-1.1.11-s5fsvj2a.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var h=L(()=>{b();f();g();Z=new Map});var $q;var m=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
2
- export{k as IW,s as JW,o as KW,u as LW,e as MW,qq as NW,Gq as OW,Jq as PW,Kq as QW,Qq as RW,h as SW,$q as TW,m as UW};
@@ -1,2 +0,0 @@
1
- import{vN as Q,wN as $}from"./cli-1.1.11-y8jb9ka1.mjs";import{Wla as V,Xla as P,Yma as W,Zma as E}from"./cli-1.1.11-9q076mg1.mjs";import{_sa as L}from"./cli-1.1.11-s5fsvj2a.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
2
- export{v as ed,C as fd};
@@ -1,2 +0,0 @@
1
- import{r4 as K,t4 as Z}from"./cli-1.1.11-se1r4vmz.mjs";import{x4 as J,z4 as Y}from"./cli-1.1.11-jvyac5ts.mjs";import{B5 as B,C8 as F,D8 as G,G5 as W,X8 as X,x8 as D}from"./cli-1.1.11-ytd49283.mjs";import{Jja as y,Kja as Q}from"./cli-1.1.11-17j0yz1c.mjs";import{gsa as z,ysa as V}from"./cli-1.1.11-yx7hmc5y.mjs";import{_sa as N}from"./cli-1.1.11-s5fsvj2a.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
2
- export{P as Pi,_ as Qi};
@@ -1,2 +0,0 @@
1
- import{Jla as F,zla as w}from"./cli-1.1.11-8vmf6185.mjs";import{_sa as D}from"./cli-1.1.11-s5fsvj2a.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
- export{Q as rV,V as sV,L as tV};
@@ -1,4 +0,0 @@
1
- import{ig as eq,jg as sq,kg as aJ}from"./cli-1.1.11-ceb5eb1e.mjs";import{lg as IJ,mg as AQ}from"./cli-1.1.11-yv8jze8x.mjs";import{ng as bJ,og as OQ}from"./cli-1.1.11-a4we9vgp.mjs";import{pg as vJ,qg as bQ}from"./cli-1.1.11-r6pat8w9.mjs";import{rg as nq,sg as rJ}from"./cli-1.1.11-tzw8k1nw.mjs";import{tg as wq,ug as tq,vg as oJ}from"./cli-1.1.11-3y3ak28a.mjs";import{wg as AJ,xg as WQ}from"./cli-1.1.11-mjhzsr8x.mjs";import{$G as PJ,Lt as BJ,Mt as UQ,Nt as UJ,Ot as wJ,Pt as wQ,QT as Fq,TT as ZJ,Vo as W,WT as zJ,Wo as lq,XG as kq,YG as RQ,ZG as hJ,_G as LJ,aH as LQ,aR as QJ,ay as g,cR as qQ,dy as FQ,fU as QQ,ly as pq,my as jq,oy as _q,py as jJ,qR as Iq,tR as JQ,uJ as WJ,vJ as OJ,wJ as PQ,yo as NJ,zo as BQ}from"./cli-1.1.11-y8jb9ka1.mjs";import{QU as FJ,SU as HJ,VU as HQ}from"./cli-1.1.11-jc61pe1h.mjs";import{CW as hQ,yW as RJ}from"./cli-1.1.11-dygnwf66.mjs";import{CY as XJ,DY as XQ,GY as yJ,HY as yQ,PY as Cq,QY as NQ}from"./cli-1.1.11-j4ym4b26.mjs";import{DZ as Oq,H1 as Aq,a1 as N,c1 as Q}from"./cli-1.1.11-23hz9e80.mjs";import{j4 as R,k4 as K,l4 as Z,m4 as c}from"./cli-1.1.11-dzq0mt2q.mjs";import{n4 as VQ}from"./cli-1.1.11-d8vrh841.mjs";import{C7 as VJ,D7 as KQ,O6 as oq,V6 as KJ,m7 as iq}from"./cli-1.1.11-ytd49283.mjs";import{Qda as GJ,Taa as YQ,Zda as GQ,cda as aq,dda as gJ,gda as bq,oda as xJ,waa as Mq,x_ as $,y_ as zQ}from"./cli-1.1.11-yz3byxtx.mjs";import{Jla as ZQ,wla as YJ}from"./cli-1.1.11-8vmf6185.mjs";import{mra as rq,tna as Hq}from"./cli-1.1.11-9q076mg1.mjs";import{Wsa as Bq,_sa as Uq}from"./cli-1.1.11-s5fsvj2a.mjs";function Tq(){let J=dq.c(2);if(!pq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=_q();if(G.length===0){V=null;break q}let Y=G.filter(cJ),X=G.filter(TJ);q=Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,color:Y.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(N,{children:[K(Q,{dimColor:!0,children:"Location: "}),K(Q,{dimColor:!0,children:jq()})]}),Z(N,{marginLeft:1,flexDirection:"column",marginTop:1,children:[Y.map(dJ),X.map(_J)]})]})}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 _J(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function dJ(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function TJ(J){return J.severity==="warning"}function cJ(J){return J.severity==="error"}var dq;var cq=Uq(()=>{Aq();jJ();c();dq=Bq(Oq(),1)});function gq(){let J=$q.c(2);if(!W.isSupportedPlatform())return null;if(!W.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=W.checkDependencies(),Y=G.errors.length>0,X=G.warnings.length>0;if(!Y&&!X){V=null;break q}q=Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",K(Q,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map($J),G.warnings.map(lJ),Y&&K(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 lJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function $J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var $q;var xq=Uq(()=>{Aq();lq();c();$q=Bq(Oq(),1)});async function iJ(){let J=zJ(await ZJ());if(J.length===0)return null;let q=J.sort((G,Y)=>Y.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 > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function nJ(J){if(!J)return null;let q=tq(J);if(q<=wq)return null;let V=J.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let X=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Iq(X)}}).sort((Y,X)=>X.tokens-Y.tokens),G=V.slice(0,5).map((Y)=>`${Y.name}: ~${Y.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 > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function eJ(J,q,V){let G=J.filter((Y)=>Y.isMcp);if(G.length===0)return null;try{let Y=oq(),{mcpToolTokens:X,mcpToolDetails:U}=await QJ(J,q,V,Y);if(X<=l)return null;let B=new Map;for(let h of U){let x=h.name.split("__")[1]||"unknown",y=B.get(x)||{count:0,tokens:0};B.set(x,{count:y.count+1,tokens:y.tokens+h.tokens})}let H=Array.from(B.entries()).sort((h,w)=>w[1].tokens-h[1].tokens),z=H.slice(0,5).map(([h,w])=>`${h}: ${w.count} tools (~${w.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(Y){let X=G.reduce((U,B)=>{let H=(B.name?.length||0)+B.description.length;return U+Iq(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 sJ(J){let q=await J(),V=W.isSandboxingEnabled()&&W.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let Y=G.flatMap((X)=>[`${aq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${bq(G.length,"unreachable permission rule")} detected`,details:Y,currentValue:G.length,threshold:0}}async function tJ(){let J=Hq(),{findings:q}=await eq({root:J});if(q.length===0)return null;let V=q.filter((Y)=>Y.severity==="error"),G=q.map((Y)=>`${sq(J,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:V.length>0?"error":"warning",message:`${q.length} rule ${bq(q.length,"file problem")} detected`,details:G,currentValue:q.length,threshold:0}}async function qJ(J,q,V){let[G,Y,X,U,B]=await Promise.all([iJ(),nJ(q),eJ(J,V,q),sJ(V),tJ()]);return{claudeMdWarning:G,agentWarning:Y,mcpWarning:X,unreachableRulesWarning:U,ruleFilesWarning:B}}var l=25000;var JJ=Uq(()=>{rq();JQ();qQ();QQ();iq();gJ();rJ();aJ();lq();oJ();xJ()});import{join as vq}from"path";function IQ(J){let q=Sq.c(8),{promise:V}=J,G=F.use(V);if(!G.latest){let B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=K(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=B;else B=q[0];return B}let Y;if(q[1]!==G.stable)Y=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=Y;else Y=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 U;if(q[5]!==Y||q[6]!==X)U=Z(R,{children:[Y,X]}),q[5]=Y,q[6]=X,q[7]=U;else U=q[7];return U}function xZ(J){let q=Sq.c(84),{onDone:V}=J,G=g(rQ),Y=g(xQ),X=g(gQ),U=g($Q);yJ();let B;if(q[0]!==Y)B=Y||[],q[0]=Y,q[1]=B;else B=q[1];let H=B,[z,h]=F.useState(null),[w,x]=F.useState(null),[y,MJ]=F.useState(null),[P,Dq]=F.useState(null),Rq=vJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=kq().then(cQ),q[2]=r;else r=q[2];let CJ=r,kJ=GJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Rq)a=Rq.filter(TQ),q[3]=Rq,q[4]=a;else a=q[4];let o=a,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:wJ,upperLimit:UJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:OJ,upperLimit:WJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...VJ(KJ())}].map(dQ).filter(_Q),q[5]=i;else i=q[5];let Eq=i,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{kq().then(h),(async()=>{let L=vq(YJ(),"agents"),fq=vq(Hq(),".claudin","agents"),{activeAgents:uq,allAgents:SJ,failedFiles:mq}=G,[DJ,EJ]=await Promise.all([Mq(L),Mq(fq)]),fJ={activeAgents:uq.map(jQ),userAgentsDir:L,projectAgentsDir:fq,userDirExists:DJ,projectDirExists:EJ,failedFiles:mq};x(fJ);let uJ=await qJ(H,{activeAgents:uq,allAgents:SJ,failedFiles:mq},async()=>X);if(MJ(uJ),hJ()){let Wq=vq(RJ(),"claude","locks"),mJ=PJ(Wq),pJ=LJ(Wq);Dq({enabled:!0,locks:pJ,locksDir:Wq,staleLocksCleaned:mJ})}else Dq({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];F.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(XJ(qq,Jq),!z){let L;if(q[16]===Symbol.for("react.memo_cache_sentinel"))L=K(Cq,{children:K(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=L;else L=q[16];return L}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=K(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 v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let hq=z.ripgrepStatus.working?"OK":"Not working",Lq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==hq||q[30]!==Lq)M=Z(Q,{children:["└ Search: ",hq," (",Lq,")"]}),q[29]=hq,q[30]=Lq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(R,{children:[K(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),K(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(R,{children:[K(Q,{}),K(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(pQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let S;if(q[36]!==z.warnings)S=z.warnings.length>0&&Z(R,{children:[K(Q,{}),z.warnings.map(mQ)]}),q[36]=z.warnings,q[37]=S;else S=q[37];let D;if(q[38]!==o)D=o.length>0&&Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,children:"Invalid Settings"}),K(IJ,{errors:o})]}),q[38]=o,q[39]=D;else D=q[39];let E;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==S||q[49]!==D)E=Z(N,{flexDirection:"column",children:[Qq,O,A,b,I,v,M,C,k,S,D]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=S,q[49]=D,q[50]=E;else E=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=K(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let Pq=z.packageManager?"Managed by package manager":z.autoUpdates,f;if(q[52]!==Pq)f=Z(Q,{children:["└ Auto-updates:"," ",Pq]}),q[52]=Pq,q[53]=f;else f=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: ",kJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=K(F.Suspense,{fallback:null,children:K(IQ,{promise:CJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Z(N,{flexDirection:"column",children:[Zq,f,u,zq,Yq]}),q[58]=f,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=K(gq,{}),Kq=K(AJ,{}),Vq=K(Tq,{}),Xq=Eq.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Environment Variables"}),Eq.map(uQ)]}),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]!==P)p=P?.enabled&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Version Locks"}),P.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",P.staleLocksCleaned," stale lock(s)"]}),P.locks.length===0?K(Q,{dimColor:!0,children:"└ No active version locks"}):P.locks.map(fQ)]}),q[65]=P,q[66]=p;else p=q[66];let j;if(q[67]!==w)j=w?.failedFiles&&w.failedFiles.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",w.failedFiles.length," agent file(s):"]}),w.failedFiles.map(EQ)]}),q[67]=w,q[68]=j;else j=q[68];let _;if(q[69]!==U)_=U.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",U.length," plugin error(s) detected:"]}),U.map(DQ)]}),q[69]=U,q[70]=_;else _=q[70];let d;if(q[71]!==y)d=y?.unreachableRulesWarning&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.unreachableRulesWarning.message]})]}),y.unreachableRulesWarning.details.map(SQ)]}),q[71]=y,q[72]=d;else d=q[72];let T;if(q[73]!==y)T=y&&(y.claudeMdWarning||y.agentWarning||y.mcpWarning||y.ruleFilesWarning)&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Context Usage Warnings"}),y.claudeMdWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),y.claudeMdWarning.details.map(kQ)]}),y.agentWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),y.agentWarning.details.map(CQ)]}),y.mcpWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),y.mcpWarning.details.map(MQ)]}),y.ruleFilesWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:y.ruleFilesWarning.severity==="error"?"error":"warning",children:[$.warning," ",y.ruleFilesWarning.message]})]}),Z(Q,{children:[" ","└ Rules:"]}),y.ruleFilesWarning.details.map(vQ)]})]}),q[73]=y,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=K(N,{children:K(bJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Cq,{children:[E,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=E,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 vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function CQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function kQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function SQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function DQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",NJ(J)]},q)}function EQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function fQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?K(Q,{children:"(running)"}):K(Q,{color:"warning",children:"(stale)"})]},q)}function uQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",K(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function mQ(J,q){return Z(N,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function pQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function jQ(J){return{agentType:J.agentType,source:J.source}}function _Q(J){return J.status!=="valid"}function dQ(J){let q=process.env[J.name],V=BJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function TQ(J){return J.mcpErrorMetadata===void 0}function cQ(J){return(J.installationType==="native"?HJ:FJ)().catch(lQ)}function lQ(){return{latest:null,stable:null}}function $Q(J){return J.plugins.errors}function gQ(J){return J.toolPermissionContext}function xQ(J){return J.mcp.tools}function rQ(J){return J.agentDefinitions}var Sq,F;var aQ=Uq(()=>{zQ();cq();WQ();KQ();iq();ZQ();rq();NQ();OQ();xq();AQ();bQ();yQ();Aq();XQ();FQ();BQ();HQ();JJ();RQ();UQ();YQ();LQ();GQ();wQ();PQ();hQ();c();Sq=Bq(Oq(),1),F=Bq(VQ(),1)});
4
- export{xZ as gg,aQ as hg};
@@ -1,2 +0,0 @@
1
- import{Oka as Q,Rka as $}from"./cli-1.1.11-1jp85542.mjs";import{ola as K,tla as Z}from"./cli-1.1.11-sph0eaqc.mjs";import{Jla as Y,wla as J}from"./cli-1.1.11-8vmf6185.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
2
- export{T as ha,w as ia,y as ja};
@@ -1,2 +0,0 @@
1
- import{_sa as $}from"./cli-1.1.11-s5fsvj2a.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function b(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function S(){return J("K")}function o(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function E(z=1){return z===0?"":J(z,"S")}function y(z=1){return z===0?"":J(z,"T")}function a(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,F,K,l,c,t,n,i,r,e,s,zz,Jz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");F=J(2,"K"),K=J(2,"J"),l=J(3,"J");c=J("r"),t=J("200~"),n=J("201~"),i=J("I"),r=J("O"),e=J(">1u"),s=J("<u"),zz=J(">4;2m"),Jz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,Zz;var f=$(()=>{v();P=J(0,"f");Zz=T()});
2
- export{d as N1,Y as O1,h as P1,j as Q1,H as R1,w as S1,L as T1,x as U1,A as V1,N as W1,J as X1,g as Y1,I as Z1,_ as _1,u as $1,R as a2,C as b2,q as c2,b as d2,S as e2,K as f2,o as g2,E as h2,y as i2,a as j2,c as k2,t as l2,n as m2,i as n2,r as o2,e as p2,s as q2,zz as r2,Jz as s2,v as t2,T as u2,Zz as v2,f as w2};
@@ -1,2 +0,0 @@
1
- import{$C as _,GQ as r,HS as i,YC as K,_C as I,bD as p,fC as P,lC as b,ov as T,rC as j,vQ as f,wQ as L}from"./cli-1.1.11-y8jb9ka1.mjs";import{nW as A,oW as n}from"./cli-1.1.11-c9mw7vaf.mjs";import{Lja as E,Oja as C}from"./cli-1.1.11-nnxrj2y7.mjs";import{Aka as M,Eka as m,Oka as Z,Rja as F,Rka as u,Tja as S}from"./cli-1.1.11-1jp85542.mjs";import{Qqa as v,jna as Y,kna as k,mra as c}from"./cli-1.1.11-9q076mg1.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("tengu_skill_file_changed",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
2
- export{Zq as bb};
@@ -1,2 +0,0 @@
1
- import{CO as O,DO as P,EO as Q,FO as U,IO as X,aj as M,bj as W}from"./cli-1.1.11-y8jb9ka1.mjs";import{_sa as V}from"./cli-1.1.11-s5fsvj2a.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
- export{F as rg,$ as sg};
@@ -1,2 +0,0 @@
1
- import{R as x}from"./cli-1.1.11-aydwe9xx.mjs";import{Y as D}from"./cli-1.1.11-xjejq6gc.mjs";import{ab as A}from"./cli-1.1.11-3p6nmjzx.mjs";import{bb as L}from"./cli-1.1.11-ty1grp21.mjs";import{Ko as k,Lo as U,Oo as F,Po as p,jU as b,kU as u}from"./cli-1.1.11-y8jb9ka1.mjs";import{$U as c,YU as O}from"./cli-1.1.11-erfvptpc.mjs";import{X8 as m,e5 as Y,k5 as I,n7 as w,o7 as M,q8 as E,r8 as G}from"./cli-1.1.11-ytd49283.mjs";import{jea as X,kea as B,uga as $,xga as z}from"./cli-1.1.11-yz3byxtx.mjs";import{Xia as _,Zia as y}from"./cli-1.1.11-ww3qs66m.mjs";import{Oka as K,Rka as T}from"./cli-1.1.11-1jp85542.mjs";import{mla as V,tla as S}from"./cli-1.1.11-sph0eaqc.mjs";import{Bla as N,Jla as v,zla as J}from"./cli-1.1.11-8vmf6185.mjs";import{gsa as W,ysa as j}from"./cli-1.1.11-yx7hmc5y.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
2
- export{Xq as I};