@claudiolabs/claudin 1.1.27 → 1.1.28

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 (914) hide show
  1. package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +1 -0
  2. package/dist/chunks/App-1.1.28-rdhr58j6.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +1 -0
  30. package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +110 -0
  31. package/dist/chunks/agents-1.1.28-4qdh001q.mjs +3 -0
  32. package/dist/chunks/api-1.1.28-znpy0eyy.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +1 -0
  35. package/dist/chunks/auth-1.1.28-bw7dane8.mjs +1 -0
  36. package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +1 -0
  41. package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +1 -0
  47. package/dist/chunks/btw-1.1.28-p1tk901s.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +4 -0
  51. package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +1 -0
  52. package/dist/chunks/cd-1.1.28-84z1kqam.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +1 -0
  55. package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +1 -0
  57. package/dist/chunks/cli-1.1.28-01g60h7m.mjs +2 -0
  58. package/dist/chunks/cli-1.1.28-040xb4f8.mjs +2 -0
  59. package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +24 -0
  60. package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +60 -0
  61. package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +24 -0
  62. package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +58 -0
  63. package/dist/chunks/cli-1.1.28-130w2y17.mjs +50 -0
  64. package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +2 -0
  65. package/dist/chunks/cli-1.1.28-14abe08r.mjs +4 -0
  66. package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +2 -0
  67. package/dist/chunks/cli-1.1.28-1mscaejt.mjs +2 -0
  68. package/dist/chunks/cli-1.1.28-1q409efb.mjs +2 -0
  69. package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +2 -0
  70. package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +5 -0
  71. package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +2 -0
  72. package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +34 -0
  73. package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +6 -0
  74. package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +2 -0
  75. package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +2 -0
  76. package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +2 -0
  77. package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +2 -0
  78. package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +4 -0
  79. package/dist/chunks/cli-1.1.28-347ygvzg.mjs +6 -0
  80. package/dist/chunks/cli-1.1.28-36891pwy.mjs +2 -0
  81. package/dist/chunks/cli-1.1.28-36y6830c.mjs +2 -0
  82. package/dist/chunks/cli-1.1.28-37rkgevh.mjs +2 -0
  83. package/dist/chunks/cli-1.1.28-3bj091x6.mjs +2 -0
  84. package/dist/chunks/cli-1.1.28-3fssr567.mjs +2 -0
  85. package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +2 -0
  86. package/dist/chunks/cli-1.1.28-4kda7s33.mjs +2 -0
  87. package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +2 -0
  88. package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +9 -0
  89. package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +2 -0
  90. package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +3 -0
  91. package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +2 -0
  92. package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +6 -0
  93. package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +206 -0
  94. package/dist/chunks/cli-1.1.28-638dshxx.mjs +42 -0
  95. package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +2 -0
  96. package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +2 -0
  97. package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +17 -0
  98. package/dist/chunks/cli-1.1.28-75thpvfa.mjs +2 -0
  99. package/dist/chunks/cli-1.1.28-7amn29ks.mjs +2 -0
  100. package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +2 -0
  101. package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +2 -0
  102. package/dist/chunks/cli-1.1.28-7g65bppm.mjs +2 -0
  103. package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +4 -0
  104. package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +2 -0
  105. package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +25 -0
  106. package/dist/chunks/cli-1.1.28-7x94aewp.mjs +2 -0
  107. package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +2 -0
  108. package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +2 -0
  109. package/dist/chunks/cli-1.1.28-83k0knzj.mjs +2 -0
  110. package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +2 -0
  111. package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +4 -0
  112. package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +2 -0
  113. package/dist/chunks/cli-1.1.28-8v2vx373.mjs +2 -0
  114. package/dist/chunks/cli-1.1.28-943993zt.mjs +2 -0
  115. package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +5 -0
  116. package/dist/chunks/cli-1.1.28-95fs05hq.mjs +2 -0
  117. package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +2 -0
  118. package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +2 -0
  119. package/dist/chunks/cli-1.1.28-a00k75hj.mjs +2 -0
  120. package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +2 -0
  121. package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +2 -0
  122. package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +16 -0
  123. package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +2 -0
  124. package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +15 -0
  125. package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +15 -0
  126. package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +2 -0
  127. package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +3 -0
  128. package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +2 -0
  129. package/dist/chunks/cli-1.1.28-brh6rw23.mjs +2 -0
  130. package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +2 -0
  131. package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +2 -0
  132. package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +2 -0
  133. package/dist/chunks/cli-1.1.28-by5acg3a.mjs +2 -0
  134. package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +2 -0
  135. package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +7 -0
  136. package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +2 -0
  137. package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +2 -0
  138. package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +24 -0
  139. package/dist/chunks/cli-1.1.28-davs3ve8.mjs +58 -0
  140. package/dist/chunks/cli-1.1.28-denmqz0s.mjs +2 -0
  141. package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +2 -0
  142. package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +3 -0
  143. package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +2 -0
  144. package/dist/chunks/cli-1.1.28-egskcwa5.mjs +2 -0
  145. package/dist/chunks/cli-1.1.28-ek683x01.mjs +2 -0
  146. package/dist/chunks/cli-1.1.28-epzkhgww.mjs +2 -0
  147. package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +6 -0
  148. package/dist/chunks/cli-1.1.28-es8var4t.mjs +2 -0
  149. package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +24 -0
  150. package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +2 -0
  151. package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +2 -0
  152. package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +12 -0
  153. package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +2 -0
  154. package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +39 -0
  155. package/dist/chunks/cli-1.1.28-fetsedc8.mjs +2 -0
  156. package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +2 -0
  157. package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +2 -0
  158. package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +2 -0
  159. package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +8 -0
  160. package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +2 -0
  161. package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +2 -0
  162. package/dist/chunks/cli-1.1.28-hb02sa63.mjs +2 -0
  163. package/dist/chunks/cli-1.1.28-hkfays5k.mjs +2 -0
  164. package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +17 -0
  165. package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +2 -0
  166. package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +2 -0
  167. package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +3 -0
  168. package/dist/chunks/cli-1.1.28-j6nysca9.mjs +2 -0
  169. package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +3 -0
  170. package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +2 -0
  171. package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +2 -0
  172. package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +20 -0
  173. package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +3 -0
  174. package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +2 -0
  175. package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +2 -0
  176. package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +3 -0
  177. package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +2 -0
  178. package/dist/chunks/cli-1.1.28-knfg26kb.mjs +2 -0
  179. package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +2 -0
  180. package/dist/chunks/cli-1.1.28-mdexghj2.mjs +2 -0
  181. package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +4 -0
  182. package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +2 -0
  183. package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +3 -0
  184. package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +2 -0
  185. package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +2 -0
  186. package/dist/chunks/cli-1.1.28-mx413hqd.mjs +3 -0
  187. package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +2 -0
  188. package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +2 -0
  189. package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +2 -0
  190. package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +2 -0
  191. package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +10 -0
  192. package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +4 -0
  193. package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +2 -0
  194. package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +2 -0
  195. package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +2 -0
  196. package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +25 -0
  197. package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +2 -0
  198. package/dist/chunks/cli-1.1.28-prd0t983.mjs +9 -0
  199. package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +4 -0
  200. package/dist/chunks/cli-1.1.28-q14qmewe.mjs +2 -0
  201. package/dist/chunks/cli-1.1.28-q43r6snq.mjs +2 -0
  202. package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +2 -0
  203. package/dist/chunks/cli-1.1.28-qb921m5a.mjs +3 -0
  204. package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +3 -0
  205. package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +45 -0
  206. package/dist/chunks/cli-1.1.28-qj312jgw.mjs +2 -0
  207. package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +2 -0
  208. package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +2 -0
  209. package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +4 -0
  210. package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +2 -0
  211. package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +2 -0
  212. package/dist/chunks/cli-1.1.28-r81y1681.mjs +3 -0
  213. package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +2 -0
  214. package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +4 -0
  215. package/dist/chunks/cli-1.1.28-rez81jab.mjs +6 -0
  216. package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +2 -0
  217. package/dist/chunks/cli-1.1.28-rt0aect8.mjs +2 -0
  218. package/dist/chunks/cli-1.1.28-rwfwz209.mjs +2 -0
  219. package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +3 -0
  220. package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +2 -0
  221. package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +2 -0
  222. package/dist/chunks/cli-1.1.28-smb1frk6.mjs +2 -0
  223. package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +12 -0
  224. package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +2 -0
  225. package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +2 -0
  226. package/dist/chunks/cli-1.1.28-t5yawarz.mjs +2 -0
  227. package/dist/chunks/cli-1.1.28-tt0c354s.mjs +2 -0
  228. package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +2 -0
  229. package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +2 -0
  230. package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +2 -0
  231. package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +2 -0
  232. package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +133 -0
  233. package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +2 -0
  234. package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +2 -0
  235. package/dist/chunks/cli-1.1.28-vje1ac31.mjs +7 -0
  236. package/dist/chunks/cli-1.1.28-vphadsag.mjs +2 -0
  237. package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +3 -0
  238. package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +2 -0
  239. package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +20 -0
  240. package/dist/chunks/cli-1.1.28-wew8jymx.mjs +2 -0
  241. package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +2 -0
  242. package/dist/chunks/cli-1.1.28-wvj52k91.mjs +2 -0
  243. package/dist/chunks/cli-1.1.28-wze93r29.mjs +2 -0
  244. package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +18 -0
  245. package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +2 -0
  246. package/dist/chunks/cli-1.1.28-x13sctb2.mjs +2 -0
  247. package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +2 -0
  248. package/dist/chunks/cli-1.1.28-y173v5ak.mjs +133 -0
  249. package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +2 -0
  250. package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +2 -0
  251. package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +15 -0
  252. package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +2 -0
  253. package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +2 -0
  254. package/dist/chunks/cli-1.1.28-yyk292aq.mjs +6 -0
  255. package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +21 -0
  256. package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +2 -0
  257. package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +2 -0
  258. package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +1 -0
  259. package/dist/chunks/cli-1.1.28-zhftjycn.mjs +5553 -0
  260. package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +2 -0
  261. package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +2 -0
  262. package/dist/chunks/client-1.1.28-59t63af8.mjs +1 -0
  263. package/dist/chunks/color-1.1.28-gmbrq89g.mjs +1 -0
  264. package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +3 -0
  265. package/dist/chunks/config-1.1.28-b69ey9g1.mjs +1 -0
  266. package/dist/chunks/config-1.1.28-cryax439.mjs +1 -0
  267. package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +1 -0
  268. package/dist/chunks/context-1.1.28-09kfp2sa.mjs +1 -0
  269. package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +1 -0
  270. package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +1 -0
  271. package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +1 -0
  272. package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +9 -0
  273. package/dist/chunks/cost-1.1.28-507xt42s.mjs +1 -0
  274. package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +1 -0
  275. package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +1 -0
  276. package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +1 -0
  277. package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +1534 -0
  278. package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +1 -0
  279. package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +1 -0
  280. package/dist/chunks/detection-1.1.28-06p2mev8.mjs +1 -0
  281. package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +1 -0
  282. package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +1 -0
  283. package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +1 -0
  284. package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +1 -0
  285. package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +13 -0
  286. package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +1 -0
  287. package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +1 -0
  288. package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +1 -0
  289. package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +1 -0
  290. package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +1 -0
  291. package/dist/chunks/errors-1.1.28-eysc80qa.mjs +1 -0
  292. package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +1 -0
  293. package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +1 -0
  294. package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +1 -0
  295. package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +1 -0
  296. package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +2 -0
  297. package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +1 -0
  298. package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +1 -0
  299. package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +1 -0
  300. package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +14 -0
  301. package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +1 -0
  302. package/dist/chunks/git-1.1.28-ktf61jaz.mjs +1 -0
  303. package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +1 -0
  304. package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +4 -0
  305. package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +1 -0
  306. package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +2 -0
  307. package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +6 -0
  308. package/dist/chunks/help-1.1.28-yhrv28x1.mjs +1 -0
  309. package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +3 -0
  310. package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +79 -0
  311. package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +1 -0
  312. package/dist/chunks/ide-1.1.28-27vb56tk.mjs +3 -0
  313. package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +1 -0
  314. package/dist/chunks/import-1.1.28-bqs6ebec.mjs +261 -0
  315. package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +1 -0
  316. package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +23 -0
  317. package/dist/chunks/index-1.1.28-30ges9rx.mjs +1 -0
  318. package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +1 -0
  319. package/dist/chunks/index-1.1.28-76ztpb54.mjs +1 -0
  320. package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +1 -0
  321. package/dist/chunks/index-1.1.28-ac1sbem8.mjs +9 -0
  322. package/dist/chunks/index-1.1.28-axnrgqkq.mjs +1 -0
  323. package/dist/chunks/index-1.1.28-b5b1qact.mjs +1 -0
  324. package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +1 -0
  325. package/dist/chunks/index-1.1.28-bt937784.mjs +1 -0
  326. package/dist/chunks/index-1.1.28-bxtzy977.mjs +2 -0
  327. package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +9 -0
  328. package/dist/chunks/index-1.1.28-dtfxav1q.mjs +1 -0
  329. package/dist/chunks/index-1.1.28-gk3v69b8.mjs +1 -0
  330. package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +1 -0
  331. package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +1 -0
  332. package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +1 -0
  333. package/dist/chunks/index-1.1.28-w2a4k4md.mjs +2 -0
  334. package/dist/chunks/index-1.1.28-wajajmmp.mjs +1 -0
  335. package/dist/chunks/index-1.1.28-xaw4tf13.mjs +30 -0
  336. package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +1 -0
  337. package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +5 -0
  338. package/dist/chunks/index-1.1.28-z85wbmey.mjs +1 -0
  339. package/dist/chunks/init-1.1.28-vt168swt.mjs +1 -0
  340. package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +1 -0
  341. package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +1 -0
  342. package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +870 -0
  343. package/dist/chunks/install-1.1.28-azeaj14w.mjs +1 -0
  344. package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +149 -0
  345. package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +1 -0
  346. package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +1 -0
  347. package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +1 -0
  348. package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +2 -0
  349. package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +2 -0
  350. package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +1 -0
  351. package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +1 -0
  352. package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +1 -0
  353. package/dist/chunks/log-1.1.28-744tvnnz.mjs +1 -0
  354. package/dist/chunks/main-1.1.28-ngd4qj24.mjs +1 -0
  355. package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +1 -0
  356. package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +17 -0
  357. package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +4 -0
  359. package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +1 -0
  360. package/dist/chunks/memory-1.1.28-437zyh3m.mjs +77 -0
  361. package/dist/chunks/model-1.1.28-1weg50dg.mjs +2 -0
  362. package/dist/chunks/model-1.1.28-qbnnaa17.mjs +1 -0
  363. package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +15 -0
  364. package/dist/chunks/node-1.1.28-q18jbvyv.mjs +1 -0
  365. package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +1 -0
  366. package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +14 -0
  367. package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +1 -0
  368. package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +1 -0
  369. package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +1 -0
  370. package/dist/chunks/parser-1.1.28-hahczgmc.mjs +1 -0
  371. package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +1 -0
  372. package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +1 -0
  373. package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +3 -0
  374. package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +1 -0
  375. package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +1 -0
  376. package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +29 -0
  377. package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +1 -0
  378. package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +9 -0
  379. package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +2 -0
  380. package/dist/chunks/print-1.1.28-g8smjzce.mjs +57 -0
  381. package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +1 -0
  382. package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +1 -0
  383. package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +9 -0
  384. package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +1 -0
  385. package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +1 -0
  386. package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +1 -0
  387. package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +13 -0
  388. package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +2 -0
  389. package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +1 -0
  390. package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +6 -0
  391. package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +1 -0
  392. package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +26 -0
  393. package/dist/chunks/registry-1.1.28-a9wz892f.mjs +1 -0
  394. package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +5 -0
  395. package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +2 -0
  396. package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +1 -0
  397. package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +1 -0
  398. package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +1 -0
  399. package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +1 -0
  400. package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +1 -0
  401. package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +1 -0
  402. package/dist/chunks/resume-1.1.28-mr6necqk.mjs +2 -0
  403. package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +1 -0
  404. package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +1 -0
  405. package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +10 -0
  406. package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +1 -0
  407. package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +1 -0
  408. package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +2 -0
  409. package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +1 -0
  410. package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +1 -0
  411. package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +1 -0
  412. package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +1 -0
  413. package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +12 -0
  414. package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +1 -0
  415. package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +1 -0
  416. package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +1 -0
  417. package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +1 -0
  418. package/dist/chunks/state-1.1.28-fd27gqw0.mjs +1 -0
  419. package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +1 -0
  420. package/dist/chunks/status-1.1.28-67a4bkc3.mjs +1 -0
  421. package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +1 -0
  422. package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +1 -0
  423. package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +1 -0
  424. package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +1 -0
  425. package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +1 -0
  426. package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +1 -0
  427. package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +1 -0
  428. package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +1 -0
  429. package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +1 -0
  430. package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +1 -0
  431. package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +1 -0
  432. package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +1 -0
  433. package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +1 -0
  434. package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +1 -0
  435. package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +69 -0
  436. package/dist/chunks/types-1.1.28-51fcbp8c.mjs +1 -0
  437. package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +4 -0
  438. package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +72 -0
  439. package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +1 -0
  440. package/dist/chunks/upload-1.1.28-whe18m8m.mjs +7 -0
  441. package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +14 -0
  442. package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +1 -0
  443. package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +1 -0
  444. package/dist/chunks/util-1.1.28-cvpx898d.mjs +1 -0
  445. package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +1 -0
  446. package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +1 -0
  447. package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +13 -0
  448. package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +1 -0
  449. package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +132 -0
  450. package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +1 -0
  451. package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +1 -0
  452. package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +1 -0
  453. package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +7 -0
  454. package/dist/cli.mjs +2 -2
  455. package/package.json +9 -9
  456. package/dist/chunks/AgentTool-1.1.27-db5m9gzv.mjs +0 -1
  457. package/dist/chunks/App-1.1.27-jz9pzpv7.mjs +0 -1
  458. package/dist/chunks/ApproveApiKey-1.1.27-b5mwy6bs.mjs +0 -1
  459. package/dist/chunks/AssistantSessionChooser-1.1.27-2kwhe57h.mjs +0 -1
  460. package/dist/chunks/AutoModeOptInDialog-1.1.27-g5rhes32.mjs +0 -1
  461. package/dist/chunks/BypassPermissionsModeDialog-1.1.27-jxn4ptdz.mjs +0 -1
  462. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.27-2veddc9s.mjs +0 -1
  463. package/dist/chunks/ConsoleOAuthFlow-1.1.27-mt31pcwm.mjs +0 -1
  464. package/dist/chunks/DiffDialog-1.1.27-ts2drs72.mjs +0 -6
  465. package/dist/chunks/Doctor-1.1.27-mh9ttzx4.mjs +0 -1
  466. package/dist/chunks/ExplorerDialog-1.1.27-qh4nye9z.mjs +0 -6
  467. package/dist/chunks/ITermBackend-1.1.27-054hfzze.mjs +0 -1
  468. package/dist/chunks/InvalidConfigDialog-1.1.27-gyk98cx3.mjs +0 -1
  469. package/dist/chunks/InvalidSettingsDialog-1.1.27-agv9khdv.mjs +0 -1
  470. package/dist/chunks/MigrationDialog-1.1.27-fhzyv0es.mjs +0 -1
  471. package/dist/chunks/Onboarding-1.1.27-e7a3yzxe.mjs +0 -1
  472. package/dist/chunks/ProviderManager-1.1.27-zc2zrqpt.mjs +0 -1
  473. package/dist/chunks/REPL-1.1.27-zm25dsxc.mjs +0 -1
  474. package/dist/chunks/ResumeConversation-1.1.27-93vdmd0g.mjs +0 -1
  475. package/dist/chunks/SnapshotUpdateDialog-1.1.27-rcmc5990.mjs +0 -1
  476. package/dist/chunks/TeleportProgress-1.1.27-7mwc4ntd.mjs +0 -1
  477. package/dist/chunks/TeleportRepoMismatchDialog-1.1.27-jyjyshza.mjs +0 -1
  478. package/dist/chunks/TeleportResumeWrapper-1.1.27-g4s9ej88.mjs +0 -1
  479. package/dist/chunks/TmuxBackend-1.1.27-bfqad2sg.mjs +0 -9
  480. package/dist/chunks/ToolSearchTool-1.1.27-b39dysny.mjs +0 -1
  481. package/dist/chunks/TrustDialog-1.1.27-nerfy2hh.mjs +0 -1
  482. package/dist/chunks/activeProvider-1.1.27-7akd7pzq.mjs +0 -1
  483. package/dist/chunks/add-dir-1.1.27-jfd8t81g.mjs +0 -1
  484. package/dist/chunks/agentTypes-1.1.27-gvc8sgz1.mjs +0 -1
  485. package/dist/chunks/agents-1.1.27-pdcva4bt.mjs +0 -110
  486. package/dist/chunks/agents-1.1.27-vdvjpsev.mjs +0 -3
  487. package/dist/chunks/api-1.1.27-v0jrrv5d.mjs +0 -1
  488. package/dist/chunks/asciicast-1.1.27-a6ydv5ce.mjs +0 -1
  489. package/dist/chunks/assistant-1.1.27-gazcm6s7.mjs +0 -1
  490. package/dist/chunks/auth-1.1.27-d561ngfq.mjs +0 -1
  491. package/dist/chunks/auth-1.1.27-gp1b9bvj.mjs +0 -1
  492. package/dist/chunks/autoMode-1.1.27-187c13xb.mjs +0 -52
  493. package/dist/chunks/autoModeSetup-1.1.27-v3ap18cy.mjs +0 -44
  494. package/dist/chunks/autoUpdater-1.1.27-hty6t0t8.mjs +0 -1
  495. package/dist/chunks/backgroundHousekeeping-1.1.27-efmykd33.mjs +0 -1
  496. package/dist/chunks/branch-1.1.27-d16zzy8m.mjs +0 -4
  497. package/dist/chunks/bridge-1.1.27-3znqrqgh.mjs +0 -2
  498. package/dist/chunks/bridgeConfig-1.1.27-bbn4xfe7.mjs +0 -1
  499. package/dist/chunks/bridgeEnabled-1.1.27-hky0jg83.mjs +0 -1
  500. package/dist/chunks/bridgeMain-1.1.27-j9tfnew8.mjs +0 -88
  501. package/dist/chunks/bridgePointer-1.1.27-95k3w0tb.mjs +0 -1
  502. package/dist/chunks/btw-1.1.27-wx6yv865.mjs +0 -1
  503. package/dist/chunks/buddy-1.1.27-9afpekx4.mjs +0 -3
  504. package/dist/chunks/cache-probe-1.1.27-f84tajyp.mjs +0 -21
  505. package/dist/chunks/cacheStats-1.1.27-g9qwr4y9.mjs +0 -4
  506. package/dist/chunks/caches-1.1.27-fw7fsfx6.mjs +0 -1
  507. package/dist/chunks/cd-1.1.27-y9t4zyf7.mjs +0 -3
  508. package/dist/chunks/claudeDesktop-1.1.27-182n35a2.mjs +0 -1
  509. package/dist/chunks/claudemd-1.1.27-gp9ndxg8.mjs +0 -1
  510. package/dist/chunks/clear-1.1.27-rrvq1asb.mjs +0 -1
  511. package/dist/chunks/clearTerminal-1.1.27-6esk4j27.mjs +0 -1
  512. package/dist/chunks/cli-1.1.27-090g18py.mjs +0 -2
  513. package/dist/chunks/cli-1.1.27-0h1xdjxp.mjs +0 -2
  514. package/dist/chunks/cli-1.1.27-0rz9qd34.mjs +0 -4
  515. package/dist/chunks/cli-1.1.27-0wv0k9sb.mjs +0 -2
  516. package/dist/chunks/cli-1.1.27-14xp8pk4.mjs +0 -2
  517. package/dist/chunks/cli-1.1.27-1hdrfsqd.mjs +0 -2
  518. package/dist/chunks/cli-1.1.27-1qrkn0zf.mjs +0 -25
  519. package/dist/chunks/cli-1.1.27-1rztfj2j.mjs +0 -2
  520. package/dist/chunks/cli-1.1.27-1vmmkyhn.mjs +0 -3
  521. package/dist/chunks/cli-1.1.27-1yvzf2v8.mjs +0 -2
  522. package/dist/chunks/cli-1.1.27-1yyef8w3.mjs +0 -2
  523. package/dist/chunks/cli-1.1.27-1ztbchyz.mjs +0 -2
  524. package/dist/chunks/cli-1.1.27-22f6jd6a.mjs +0 -2
  525. package/dist/chunks/cli-1.1.27-2922x4n2.mjs +0 -5
  526. package/dist/chunks/cli-1.1.27-2e7wwbbp.mjs +0 -2
  527. package/dist/chunks/cli-1.1.27-2mtc2dbf.mjs +0 -2
  528. package/dist/chunks/cli-1.1.27-3cjhx8c4.mjs +0 -4
  529. package/dist/chunks/cli-1.1.27-3eax0jv3.mjs +0 -6
  530. package/dist/chunks/cli-1.1.27-3mpdw95c.mjs +0 -2
  531. package/dist/chunks/cli-1.1.27-3qx1npht.mjs +0 -2
  532. package/dist/chunks/cli-1.1.27-42wr3qtg.mjs +0 -2
  533. package/dist/chunks/cli-1.1.27-48ezce33.mjs +0 -206
  534. package/dist/chunks/cli-1.1.27-4ch8wq6c.mjs +0 -3
  535. package/dist/chunks/cli-1.1.27-4cjm0m5c.mjs +0 -24
  536. package/dist/chunks/cli-1.1.27-4pm4y79r.mjs +0 -2
  537. package/dist/chunks/cli-1.1.27-4xegg6js.mjs +0 -2
  538. package/dist/chunks/cli-1.1.27-51sqdnt6.mjs +0 -2
  539. package/dist/chunks/cli-1.1.27-55evh9sy.mjs +0 -21
  540. package/dist/chunks/cli-1.1.27-575dbhvc.mjs +0 -2
  541. package/dist/chunks/cli-1.1.27-5jvkkbcy.mjs +0 -2
  542. package/dist/chunks/cli-1.1.27-5vejs4bz.mjs +0 -3
  543. package/dist/chunks/cli-1.1.27-6dm0tj1c.mjs +0 -2
  544. package/dist/chunks/cli-1.1.27-6f5wmt15.mjs +0 -2
  545. package/dist/chunks/cli-1.1.27-6g67vpnz.mjs +0 -2
  546. package/dist/chunks/cli-1.1.27-6s7e0eyt.mjs +0 -2
  547. package/dist/chunks/cli-1.1.27-6spv5ha8.mjs +0 -60
  548. package/dist/chunks/cli-1.1.27-704q0rhh.mjs +0 -2
  549. package/dist/chunks/cli-1.1.27-79504h3t.mjs +0 -2
  550. package/dist/chunks/cli-1.1.27-7a101p3z.mjs +0 -2
  551. package/dist/chunks/cli-1.1.27-7gnbh46g.mjs +0 -2
  552. package/dist/chunks/cli-1.1.27-7hws4y92.mjs +0 -4
  553. package/dist/chunks/cli-1.1.27-7jakzfss.mjs +0 -24
  554. package/dist/chunks/cli-1.1.27-7jc0gzqt.mjs +0 -4
  555. package/dist/chunks/cli-1.1.27-7wrz865m.mjs +0 -2
  556. package/dist/chunks/cli-1.1.27-7zpnm6dn.mjs +0 -2
  557. package/dist/chunks/cli-1.1.27-83exfkej.mjs +0 -2
  558. package/dist/chunks/cli-1.1.27-8em170zt.mjs +0 -2
  559. package/dist/chunks/cli-1.1.27-8fve969w.mjs +0 -2
  560. package/dist/chunks/cli-1.1.27-8gsqhqyf.mjs +0 -42
  561. package/dist/chunks/cli-1.1.27-8vkygf4q.mjs +0 -2
  562. package/dist/chunks/cli-1.1.27-8vrv0ver.mjs +0 -2
  563. package/dist/chunks/cli-1.1.27-8zkr609d.mjs +0 -4
  564. package/dist/chunks/cli-1.1.27-91eh3cyz.mjs +0 -3
  565. package/dist/chunks/cli-1.1.27-9427t707.mjs +0 -2
  566. package/dist/chunks/cli-1.1.27-94qc7asn.mjs +0 -2
  567. package/dist/chunks/cli-1.1.27-96ccvbyj.mjs +0 -2
  568. package/dist/chunks/cli-1.1.27-96yksxag.mjs +0 -2
  569. package/dist/chunks/cli-1.1.27-98bpezgc.mjs +0 -45
  570. package/dist/chunks/cli-1.1.27-9chfrr9e.mjs +0 -2
  571. package/dist/chunks/cli-1.1.27-9d0bkxf6.mjs +0 -15
  572. package/dist/chunks/cli-1.1.27-9m09gcqr.mjs +0 -2
  573. package/dist/chunks/cli-1.1.27-9sswt66t.mjs +0 -12
  574. package/dist/chunks/cli-1.1.27-a454a3rb.mjs +0 -2
  575. package/dist/chunks/cli-1.1.27-aahmf6wc.mjs +0 -2
  576. package/dist/chunks/cli-1.1.27-b0s2nhr1.mjs +0 -24
  577. package/dist/chunks/cli-1.1.27-b3bkjfyh.mjs +0 -2
  578. package/dist/chunks/cli-1.1.27-b42yen3p.mjs +0 -2
  579. package/dist/chunks/cli-1.1.27-bpbp93hw.mjs +0 -2
  580. package/dist/chunks/cli-1.1.27-bwc1f1yx.mjs +0 -15
  581. package/dist/chunks/cli-1.1.27-byba8306.mjs +0 -20
  582. package/dist/chunks/cli-1.1.27-byxgdj3w.mjs +0 -2
  583. package/dist/chunks/cli-1.1.27-cth2wwrh.mjs +0 -2
  584. package/dist/chunks/cli-1.1.27-cth3rq9k.mjs +0 -2
  585. package/dist/chunks/cli-1.1.27-cw1p9ac2.mjs +0 -3
  586. package/dist/chunks/cli-1.1.27-cw9bqwta.mjs +0 -2
  587. package/dist/chunks/cli-1.1.27-cxy3fqs0.mjs +0 -2
  588. package/dist/chunks/cli-1.1.27-d0k9rgj1.mjs +0 -2
  589. package/dist/chunks/cli-1.1.27-d1zgycfk.mjs +0 -2
  590. package/dist/chunks/cli-1.1.27-d4km9s81.mjs +0 -2
  591. package/dist/chunks/cli-1.1.27-d4w9gqgs.mjs +0 -50
  592. package/dist/chunks/cli-1.1.27-d5q76t7c.mjs +0 -3
  593. package/dist/chunks/cli-1.1.27-d7r6x0ew.mjs +0 -2
  594. package/dist/chunks/cli-1.1.27-dfww0knt.mjs +0 -2
  595. package/dist/chunks/cli-1.1.27-dhzbmaf3.mjs +0 -2
  596. package/dist/chunks/cli-1.1.27-e2p4abq5.mjs +0 -2
  597. package/dist/chunks/cli-1.1.27-e53f6at7.mjs +0 -2
  598. package/dist/chunks/cli-1.1.27-eag2dgb4.mjs +0 -2
  599. package/dist/chunks/cli-1.1.27-es2rn3j6.mjs +0 -2
  600. package/dist/chunks/cli-1.1.27-eypype7d.mjs +0 -8
  601. package/dist/chunks/cli-1.1.27-f218cppx.mjs +0 -34
  602. package/dist/chunks/cli-1.1.27-f3cv6wk1.mjs +0 -2
  603. package/dist/chunks/cli-1.1.27-fary910g.mjs +0 -2
  604. package/dist/chunks/cli-1.1.27-fc1my4zp.mjs +0 -2
  605. package/dist/chunks/cli-1.1.27-fdhry9qy.mjs +0 -2
  606. package/dist/chunks/cli-1.1.27-fr8vw4x1.mjs +0 -2
  607. package/dist/chunks/cli-1.1.27-fw9r8cwg.mjs +0 -4
  608. package/dist/chunks/cli-1.1.27-fxmty4t4.mjs +0 -5
  609. package/dist/chunks/cli-1.1.27-g8n6nr2e.mjs +0 -1
  610. package/dist/chunks/cli-1.1.27-gan2msv5.mjs +0 -3
  611. package/dist/chunks/cli-1.1.27-ge84mp6e.mjs +0 -2
  612. package/dist/chunks/cli-1.1.27-ggg6m9qt.mjs +0 -2
  613. package/dist/chunks/cli-1.1.27-gmknn4xh.mjs +0 -2
  614. package/dist/chunks/cli-1.1.27-gnhg7s3x.mjs +0 -2
  615. package/dist/chunks/cli-1.1.27-gnvm8gat.mjs +0 -2
  616. package/dist/chunks/cli-1.1.27-h7ytc7jg.mjs +0 -9
  617. package/dist/chunks/cli-1.1.27-hafa2nxa.mjs +0 -2
  618. package/dist/chunks/cli-1.1.27-hcnrf84n.mjs +0 -2
  619. package/dist/chunks/cli-1.1.27-hh78rvvf.mjs +0 -2
  620. package/dist/chunks/cli-1.1.27-hhkkts5k.mjs +0 -6
  621. package/dist/chunks/cli-1.1.27-hrwxg46q.mjs +0 -2
  622. package/dist/chunks/cli-1.1.27-hs6hv3bh.mjs +0 -20
  623. package/dist/chunks/cli-1.1.27-j362egg2.mjs +0 -2
  624. package/dist/chunks/cli-1.1.27-jcn2gvsw.mjs +0 -2
  625. package/dist/chunks/cli-1.1.27-jfqvck1y.mjs +0 -2
  626. package/dist/chunks/cli-1.1.27-jg3tymed.mjs +0 -2
  627. package/dist/chunks/cli-1.1.27-jh817v59.mjs +0 -2
  628. package/dist/chunks/cli-1.1.27-jm7jbypb.mjs +0 -2
  629. package/dist/chunks/cli-1.1.27-jmegwyzr.mjs +0 -2
  630. package/dist/chunks/cli-1.1.27-jmz9pczh.mjs +0 -3
  631. package/dist/chunks/cli-1.1.27-jt1gb6nf.mjs +0 -2
  632. package/dist/chunks/cli-1.1.27-jvs6enw9.mjs +0 -2
  633. package/dist/chunks/cli-1.1.27-k115ge4q.mjs +0 -6
  634. package/dist/chunks/cli-1.1.27-k2fyp83y.mjs +0 -2
  635. package/dist/chunks/cli-1.1.27-k6dwtkrp.mjs +0 -2
  636. package/dist/chunks/cli-1.1.27-k9jt24bv.mjs +0 -2
  637. package/dist/chunks/cli-1.1.27-kdv6nw9e.mjs +0 -12
  638. package/dist/chunks/cli-1.1.27-kerbk21s.mjs +0 -2
  639. package/dist/chunks/cli-1.1.27-kgpk1m6k.mjs +0 -2
  640. package/dist/chunks/cli-1.1.27-kkt8se1z.mjs +0 -2
  641. package/dist/chunks/cli-1.1.27-kpqha1ce.mjs +0 -2
  642. package/dist/chunks/cli-1.1.27-krtd4rf3.mjs +0 -3
  643. package/dist/chunks/cli-1.1.27-m2n4m352.mjs +0 -2
  644. package/dist/chunks/cli-1.1.27-m5wtrd2b.mjs +0 -2
  645. package/dist/chunks/cli-1.1.27-m6ne80zc.mjs +0 -2
  646. package/dist/chunks/cli-1.1.27-maxx6jt7.mjs +0 -4
  647. package/dist/chunks/cli-1.1.27-me6jhh1k.mjs +0 -2
  648. package/dist/chunks/cli-1.1.27-mqt20a61.mjs +0 -2
  649. package/dist/chunks/cli-1.1.27-mr1wxvzb.mjs +0 -3
  650. package/dist/chunks/cli-1.1.27-n09bs0db.mjs +0 -2
  651. package/dist/chunks/cli-1.1.27-n3fg97y6.mjs +0 -2
  652. package/dist/chunks/cli-1.1.27-n6vfvfw4.mjs +0 -2
  653. package/dist/chunks/cli-1.1.27-nbgxr715.mjs +0 -10
  654. package/dist/chunks/cli-1.1.27-njcbrvnc.mjs +0 -58
  655. package/dist/chunks/cli-1.1.27-nmp82pea.mjs +0 -3
  656. package/dist/chunks/cli-1.1.27-nx2yxmg9.mjs +0 -3
  657. package/dist/chunks/cli-1.1.27-nxkc7nfr.mjs +0 -2
  658. package/dist/chunks/cli-1.1.27-ny95570d.mjs +0 -133
  659. package/dist/chunks/cli-1.1.27-p1sh0ft2.mjs +0 -2
  660. package/dist/chunks/cli-1.1.27-p7kjkqhn.mjs +0 -2
  661. package/dist/chunks/cli-1.1.27-p99q7a22.mjs +0 -133
  662. package/dist/chunks/cli-1.1.27-pab2avnw.mjs +0 -2
  663. package/dist/chunks/cli-1.1.27-pyjha53q.mjs +0 -2
  664. package/dist/chunks/cli-1.1.27-q2msmggk.mjs +0 -2
  665. package/dist/chunks/cli-1.1.27-q830jx95.mjs +0 -2
  666. package/dist/chunks/cli-1.1.27-qcvp3n4v.mjs +0 -2
  667. package/dist/chunks/cli-1.1.27-qkzc0vzs.mjs +0 -2
  668. package/dist/chunks/cli-1.1.27-qnzhd86k.mjs +0 -2
  669. package/dist/chunks/cli-1.1.27-r32k5nw7.mjs +0 -4
  670. package/dist/chunks/cli-1.1.27-r335xv52.mjs +0 -6
  671. package/dist/chunks/cli-1.1.27-r3r36jvq.mjs +0 -25
  672. package/dist/chunks/cli-1.1.27-r4ck0s0j.mjs +0 -2
  673. package/dist/chunks/cli-1.1.27-r9jjyax0.mjs +0 -7
  674. package/dist/chunks/cli-1.1.27-rct7c74m.mjs +0 -2
  675. package/dist/chunks/cli-1.1.27-rnwaxvgf.mjs +0 -2
  676. package/dist/chunks/cli-1.1.27-rqdq9mhj.mjs +0 -2
  677. package/dist/chunks/cli-1.1.27-ryd2t3vk.mjs +0 -2
  678. package/dist/chunks/cli-1.1.27-s62prq89.mjs +0 -2
  679. package/dist/chunks/cli-1.1.27-sbj1hdj9.mjs +0 -2
  680. package/dist/chunks/cli-1.1.27-scfswqdr.mjs +0 -2
  681. package/dist/chunks/cli-1.1.27-sdw0p0c4.mjs +0 -58
  682. package/dist/chunks/cli-1.1.27-sngxwsap.mjs +0 -2
  683. package/dist/chunks/cli-1.1.27-sr4a2gd6.mjs +0 -2
  684. package/dist/chunks/cli-1.1.27-sw6tnehx.mjs +0 -2
  685. package/dist/chunks/cli-1.1.27-t13xq38e.mjs +0 -2
  686. package/dist/chunks/cli-1.1.27-t1dxp2pw.mjs +0 -2
  687. package/dist/chunks/cli-1.1.27-t32zh7r1.mjs +0 -2
  688. package/dist/chunks/cli-1.1.27-t4rm4dqf.mjs +0 -6
  689. package/dist/chunks/cli-1.1.27-tc4b7enb.mjs +0 -17
  690. package/dist/chunks/cli-1.1.27-tpefzkds.mjs +0 -4
  691. package/dist/chunks/cli-1.1.27-tw693ept.mjs +0 -2
  692. package/dist/chunks/cli-1.1.27-v24sqtag.mjs +0 -24
  693. package/dist/chunks/cli-1.1.27-v49qz5nz.mjs +0 -2
  694. package/dist/chunks/cli-1.1.27-v9dwxgsv.mjs +0 -15
  695. package/dist/chunks/cli-1.1.27-vh1r16sd.mjs +0 -6
  696. package/dist/chunks/cli-1.1.27-vhdd7ed4.mjs +0 -39
  697. package/dist/chunks/cli-1.1.27-w0jz23zw.mjs +0 -2
  698. package/dist/chunks/cli-1.1.27-w8pwj9ef.mjs +0 -5522
  699. package/dist/chunks/cli-1.1.27-wbtq2bbb.mjs +0 -2
  700. package/dist/chunks/cli-1.1.27-wj32ftfy.mjs +0 -2
  701. package/dist/chunks/cli-1.1.27-wpnpp1vg.mjs +0 -2
  702. package/dist/chunks/cli-1.1.27-wtthtmes.mjs +0 -3
  703. package/dist/chunks/cli-1.1.27-wz24bwzn.mjs +0 -2
  704. package/dist/chunks/cli-1.1.27-x6dqasdj.mjs +0 -17
  705. package/dist/chunks/cli-1.1.27-xdfkhk5m.mjs +0 -16
  706. package/dist/chunks/cli-1.1.27-xjabxtdd.mjs +0 -7
  707. package/dist/chunks/cli-1.1.27-xx0q9f0f.mjs +0 -2
  708. package/dist/chunks/cli-1.1.27-y6pe4jk6.mjs +0 -2
  709. package/dist/chunks/cli-1.1.27-y712t8h2.mjs +0 -2
  710. package/dist/chunks/cli-1.1.27-y935z28w.mjs +0 -2
  711. package/dist/chunks/cli-1.1.27-yghv5btz.mjs +0 -2
  712. package/dist/chunks/cli-1.1.27-z32qkf2d.mjs +0 -18
  713. package/dist/chunks/cli-1.1.27-zbbzy1ze.mjs +0 -2
  714. package/dist/chunks/cli-1.1.27-zgweqxf0.mjs +0 -9
  715. package/dist/chunks/cli-1.1.27-zq9wak2z.mjs +0 -2
  716. package/dist/chunks/cli-1.1.27-zr523fbq.mjs +0 -3
  717. package/dist/chunks/client-1.1.27-ex7wh5hg.mjs +0 -1
  718. package/dist/chunks/color-1.1.27-58s1yrz1.mjs +0 -1
  719. package/dist/chunks/compact-1.1.27-c1wgqww4.mjs +0 -3
  720. package/dist/chunks/config-1.1.27-7vwe1qph.mjs +0 -1
  721. package/dist/chunks/config-1.1.27-ymfcbn84.mjs +0 -1
  722. package/dist/chunks/constants-1.1.27-3r2715sd.mjs +0 -1
  723. package/dist/chunks/context-1.1.27-yznf0qn9.mjs +0 -1
  724. package/dist/chunks/context-noninteractive-1.1.27-g15en4j2.mjs +0 -1
  725. package/dist/chunks/conversation-1.1.27-jmmsnhbw.mjs +0 -1
  726. package/dist/chunks/copilotHeaders-1.1.27-g0p5y9rf.mjs +0 -1
  727. package/dist/chunks/copy-1.1.27-pr6pzthk.mjs +0 -9
  728. package/dist/chunks/cost-1.1.27-q1yqmxr9.mjs +0 -1
  729. package/dist/chunks/createSSHSession-1.1.27-4cwnpwje.mjs +0 -1
  730. package/dist/chunks/createSession-1.1.27-xdq80vrv.mjs +0 -1
  731. package/dist/chunks/debug-1.1.27-42bn4afg.mjs +0 -1
  732. package/dist/chunks/defaultActionDeps-1.1.27-t14xxt79.mjs +0 -1534
  733. package/dist/chunks/desktop-1.1.27-c8h6b96d.mjs +0 -1
  734. package/dist/chunks/detectRepository-1.1.27-qx3djtsx.mjs +0 -1
  735. package/dist/chunks/detection-1.1.27-0974kbef.mjs +0 -1
  736. package/dist/chunks/diff-1.1.27-1cb81w47.mjs +0 -1
  737. package/dist/chunks/doctor-1.1.27-5ky6nxzq.mjs +0 -1
  738. package/dist/chunks/doctorDiagnostic-1.1.27-jcx2c92k.mjs +0 -1
  739. package/dist/chunks/earlyInput-1.1.27-btzh8ch0.mjs +0 -1
  740. package/dist/chunks/effort-1.1.27-5yvfxd52.mjs +0 -13
  741. package/dist/chunks/engine-1.1.27-xcjbgefa.mjs +0 -1
  742. package/dist/chunks/envLessBridgeConfig-1.1.27-tdwb5zkz.mjs +0 -1
  743. package/dist/chunks/envUtils-1.1.27-r07jyd3m.mjs +0 -1
  744. package/dist/chunks/environmentSelection-1.1.27-dr64k9he.mjs +0 -1
  745. package/dist/chunks/environments-1.1.27-s1z96vy8.mjs +0 -1
  746. package/dist/chunks/errors-1.1.27-bm50fpjg.mjs +0 -1
  747. package/dist/chunks/exampleCommands-1.1.27-wnw6egjm.mjs +0 -1
  748. package/dist/chunks/execFileNoThrow-1.1.27-evt4sr84.mjs +0 -1
  749. package/dist/chunks/exit-1.1.27-vgdg65b7.mjs +0 -1
  750. package/dist/chunks/explorer-1.1.27-zkb8zkpf.mjs +0 -1
  751. package/dist/chunks/export-1.1.27-tda60v40.mjs +0 -2
  752. package/dist/chunks/extra-usage-1.1.27-2bmjnc65.mjs +0 -1
  753. package/dist/chunks/extra-usage-noninteractive-1.1.27-m7byqk30.mjs +0 -1
  754. package/dist/chunks/fast-1.1.27-8bjn4w16.mjs +0 -1
  755. package/dist/chunks/feedback-1.1.27-vzfx84xw.mjs +0 -14
  756. package/dist/chunks/firstPartyEventLogger-1.1.27-57d5r280.mjs +0 -1
  757. package/dist/chunks/git-1.1.27-pe9yjmar.mjs +0 -1
  758. package/dist/chunks/githubModelsCredentials-1.1.27-r2w00yyn.mjs +0 -1
  759. package/dist/chunks/goal-1.1.27-da40b321.mjs +0 -4
  760. package/dist/chunks/growthbook-1.1.27-rmhw14zh.mjs +0 -1
  761. package/dist/chunks/headless-1.1.27-gwzekzne.mjs +0 -2
  762. package/dist/chunks/heapdump-1.1.27-0702z5xd.mjs +0 -6
  763. package/dist/chunks/help-1.1.27-gwcwagyv.mjs +0 -1
  764. package/dist/chunks/hookChains-1.1.27-jyc4rzjs.mjs +0 -3
  765. package/dist/chunks/hooks-1.1.27-8p1xt4z2.mjs +0 -1
  766. package/dist/chunks/hooks-1.1.27-vvzpa77q.mjs +0 -79
  767. package/dist/chunks/ide-1.1.27-w2am9w2t.mjs +0 -3
  768. package/dist/chunks/image-processor-napi-1.1.27-fk490n21.mjs +0 -1
  769. package/dist/chunks/import-1.1.27-69zkqd7t.mjs +0 -261
  770. package/dist/chunks/inboundAttachments-1.1.27-7whcznny.mjs +0 -1
  771. package/dist/chunks/index-1.1.27-03qtf3bh.mjs +0 -9
  772. package/dist/chunks/index-1.1.27-2w3eyz3g.mjs +0 -1
  773. package/dist/chunks/index-1.1.27-4td4kk2r.mjs +0 -2
  774. package/dist/chunks/index-1.1.27-72s4gvww.mjs +0 -1
  775. package/dist/chunks/index-1.1.27-7rmx1z0f.mjs +0 -9
  776. package/dist/chunks/index-1.1.27-949q66tk.mjs +0 -1
  777. package/dist/chunks/index-1.1.27-9w6rbss1.mjs +0 -1
  778. package/dist/chunks/index-1.1.27-9w6y0sqf.mjs +0 -5
  779. package/dist/chunks/index-1.1.27-9za77x22.mjs +0 -2
  780. package/dist/chunks/index-1.1.27-av965j5w.mjs +0 -1
  781. package/dist/chunks/index-1.1.27-dpf9bwn3.mjs +0 -1
  782. package/dist/chunks/index-1.1.27-dzzkz91c.mjs +0 -1
  783. package/dist/chunks/index-1.1.27-ed0cj234.mjs +0 -30
  784. package/dist/chunks/index-1.1.27-fz6pezpj.mjs +0 -1
  785. package/dist/chunks/index-1.1.27-haym7ds6.mjs +0 -1
  786. package/dist/chunks/index-1.1.27-k2zye2ba.mjs +0 -1
  787. package/dist/chunks/index-1.1.27-ktav82bw.mjs +0 -1
  788. package/dist/chunks/index-1.1.27-qj3j1rkb.mjs +0 -1
  789. package/dist/chunks/index-1.1.27-r6ypg71x.mjs +0 -1
  790. package/dist/chunks/index-1.1.27-r8jqe3yp.mjs +0 -1
  791. package/dist/chunks/index-1.1.27-rcxd3h0n.mjs +0 -23
  792. package/dist/chunks/index-1.1.27-spc0z43g.mjs +0 -1
  793. package/dist/chunks/index-1.1.27-xvd24vg3.mjs +0 -1
  794. package/dist/chunks/init-1.1.27-kbwzggfn.mjs +0 -1
  795. package/dist/chunks/initReplBridge-1.1.27-r8gnhged.mjs +0 -1
  796. package/dist/chunks/ink-1.1.27-btbyg6z5.mjs +0 -1
  797. package/dist/chunks/insights-1.1.27-r17n37gt.mjs +0 -870
  798. package/dist/chunks/install-1.1.27-rst7c5sr.mjs +0 -1
  799. package/dist/chunks/install-github-app-1.1.27-qe83k348.mjs +0 -149
  800. package/dist/chunks/install-slack-app-1.1.27-9btj28ve.mjs +0 -1
  801. package/dist/chunks/instrumentation-1.1.27-zs5yatff.mjs +0 -1
  802. package/dist/chunks/interactiveHelpers-1.1.27-vkw6dmnx.mjs +0 -1
  803. package/dist/chunks/keybindings-1.1.27-1sx34z24.mjs +0 -2
  804. package/dist/chunks/knowledge-1.1.27-3vda7yge.mjs +0 -2
  805. package/dist/chunks/latestVersionCache-1.1.27-8vg474pc.mjs +0 -1
  806. package/dist/chunks/loadAgentsDir-1.1.27-ax53z9hj.mjs +0 -1
  807. package/dist/chunks/loadPluginHooks-1.1.27-34tp38m5.mjs +0 -1
  808. package/dist/chunks/log-1.1.27-trbh6pmv.mjs +0 -1
  809. package/dist/chunks/main-1.1.27-y8ep0qqz.mjs +0 -1
  810. package/dist/chunks/managedEnv-1.1.27-xf362k5y.mjs +0 -1
  811. package/dist/chunks/mcp-1.1.27-af12t0f2.mjs +0 -1
  812. package/dist/chunks/mcp-1.1.27-qzntdrh6.mjs +0 -17
  813. package/dist/chunks/mcp-1.1.27-vsgp33q0.mjs +0 -4
  814. package/dist/chunks/mcpb-1.1.27-m9bw286t.mjs +0 -1
  815. package/dist/chunks/memory-1.1.27-tzff1b9e.mjs +0 -72
  816. package/dist/chunks/model-1.1.27-968y8qcm.mjs +0 -2
  817. package/dist/chunks/model-1.1.27-p2b82a7t.mjs +0 -1
  818. package/dist/chunks/node-1.1.27-bghx5g4n.mjs +0 -1
  819. package/dist/chunks/node-1.1.27-rjfnqhpk.mjs +0 -15
  820. package/dist/chunks/oauth-1.1.27-19qatx62.mjs +0 -1
  821. package/dist/chunks/openaiShim-1.1.27-p50pa80m.mjs +0 -14
  822. package/dist/chunks/output-style-1.1.27-6h4astb5.mjs +0 -1
  823. package/dist/chunks/package-OS7RONXY-1.1.27-nvbtkqpn.mjs +0 -1
  824. package/dist/chunks/parseConnectUrl-1.1.27-3gy61f1e.mjs +0 -1
  825. package/dist/chunks/parser-1.1.27-6m7zhkr7.mjs +0 -1
  826. package/dist/chunks/passes-1.1.27-2n9jw11x.mjs +0 -1
  827. package/dist/chunks/permissions-1.1.27-ah7j2bj9.mjs +0 -3
  828. package/dist/chunks/permissions-1.1.27-qnhk36mh.mjs +0 -1
  829. package/dist/chunks/plan-1.1.27-vkhc8mq9.mjs +0 -1
  830. package/dist/chunks/plist-1.1.27-vg4h3pf9.mjs +0 -1
  831. package/dist/chunks/plugin-1.1.27-benemmgh.mjs +0 -29
  832. package/dist/chunks/pluginStartupCheck-1.1.27-tyd8w4ay.mjs +0 -1
  833. package/dist/chunks/plugins-1.1.27-er0je2r7.mjs +0 -9
  834. package/dist/chunks/preActionHook-1.1.27-8w2hxz61.mjs +0 -2
  835. package/dist/chunks/print-1.1.27-nf4vjdv0.mjs +0 -57
  836. package/dist/chunks/process-1.1.27-1en4vj8c.mjs +0 -1
  837. package/dist/chunks/processBashCommand-1.1.27-y2nx754j.mjs +0 -1
  838. package/dist/chunks/processSlashCommand-1.1.27-mert7w0e.mjs +0 -9
  839. package/dist/chunks/prompt-1.1.27-0qqepg5j.mjs +0 -1
  840. package/dist/chunks/prompt-1.1.27-40pnv6x7.mjs +0 -1
  841. package/dist/chunks/prompts-1.1.27-kvtvsbhd.mjs +0 -1
  842. package/dist/chunks/protocolHandler-1.1.27-27de09ht.mjs +0 -13
  843. package/dist/chunks/provider-1.1.27-g4r1c84c.mjs +0 -2
  844. package/dist/chunks/providerProfiles-1.1.27-tp6zknw0.mjs +0 -1
  845. package/dist/chunks/providerValidation-1.1.27-ntakvdzk.mjs +0 -6
  846. package/dist/chunks/rate-limit-options-1.1.27-fvdwd7xd.mjs +0 -1
  847. package/dist/chunks/registerSubcommands-1.1.27-5pprq81w.mjs +0 -26
  848. package/dist/chunks/registry-1.1.27-vccj3rtk.mjs +0 -1
  849. package/dist/chunks/release-notes-1.1.27-a7x9237x.mjs +0 -5
  850. package/dist/chunks/reload-plugins-1.1.27-7yf3667k.mjs +0 -2
  851. package/dist/chunks/remote-env-1.1.27-2vdhr1s9.mjs +0 -1
  852. package/dist/chunks/remoteBridgeCore-1.1.27-0qn70btv.mjs +0 -1
  853. package/dist/chunks/remoteSession-1.1.27-21n6mx7d.mjs +0 -1
  854. package/dist/chunks/rename-1.1.27-x0qfjvj2.mjs +0 -1
  855. package/dist/chunks/replBridgeHandle-1.1.27-661m032k.mjs +0 -1
  856. package/dist/chunks/replLauncher-1.1.27-48an8y55.mjs +0 -1
  857. package/dist/chunks/resume-1.1.27-0n7jaz71.mjs +0 -2
  858. package/dist/chunks/rewind-1.1.27-0dhz50d0.mjs +0 -1
  859. package/dist/chunks/rootOptions-1.1.27-8k0jbnfk.mjs +0 -1
  860. package/dist/chunks/runWorkflowHeadless-1.1.27-3a15vms4.mjs +0 -10
  861. package/dist/chunks/sandbox-adapter-1.1.27-j8pr6jz7.mjs +0 -1
  862. package/dist/chunks/sandbox-toggle-1.1.27-r1nrcxaz.mjs +0 -1
  863. package/dist/chunks/session-1.1.27-bv5zha49.mjs +0 -2
  864. package/dist/chunks/sessionDiscovery-1.1.27-z50hzta3.mjs +0 -1
  865. package/dist/chunks/sessionFileAccessHooks-1.1.27-vc8ajjh0.mjs +0 -1
  866. package/dist/chunks/sessionStorage-1.1.27-0vfss5b6.mjs +0 -1
  867. package/dist/chunks/settings-1.1.27-jar0d6ey.mjs +0 -1
  868. package/dist/chunks/setup-1.1.27-ggnhb2c8.mjs +0 -12
  869. package/dist/chunks/sinks-1.1.27-qevt5nft.mjs +0 -1
  870. package/dist/chunks/skills-1.1.27-wjq94pk8.mjs +0 -1
  871. package/dist/chunks/startupProfiler-1.1.27-q5yb3a35.mjs +0 -1
  872. package/dist/chunks/startupUpdateCheck-1.1.27-k3spb2gh.mjs +0 -1
  873. package/dist/chunks/state-1.1.27-fpyqkxby.mjs +0 -1
  874. package/dist/chunks/stats-1.1.27-xb10zj7e.mjs +0 -1
  875. package/dist/chunks/status-1.1.27-7vscpczw.mjs +0 -1
  876. package/dist/chunks/stickers-1.1.27-j4em7gfg.mjs +0 -1
  877. package/dist/chunks/subprocessEnv-1.1.27-0dm2v5n5.mjs +0 -1
  878. package/dist/chunks/tasks-1.1.27-a7d9cx1a.mjs +0 -1
  879. package/dist/chunks/teamHelpers-1.1.27-2jkv3830.mjs +0 -1
  880. package/dist/chunks/teammateModeSnapshot-1.1.27-8vmyznjc.mjs +0 -1
  881. package/dist/chunks/teleport-1.1.27-d6bgvctx.mjs +0 -1
  882. package/dist/chunks/terminalSetup-1.1.27-8k6bdqzf.mjs +0 -1
  883. package/dist/chunks/theme-1.1.27-dzme81zx.mjs +0 -1
  884. package/dist/chunks/thinkback-1.1.27-8hrqe8zc.mjs +0 -1
  885. package/dist/chunks/thinkback-play-1.1.27-7pf0t9jk.mjs +0 -1
  886. package/dist/chunks/toolPool-1.1.27-yndm4vnc.mjs +0 -1
  887. package/dist/chunks/toolSearch-1.1.27-m1tpg8zj.mjs +0 -1
  888. package/dist/chunks/tools-1.1.27-f6v2cxn6.mjs +0 -1
  889. package/dist/chunks/trustedDevice-1.1.27-bkp7wbqw.mjs +0 -1
  890. package/dist/chunks/turndown.cjs-1.1.27-ev0anxmd.mjs +0 -69
  891. package/dist/chunks/types-1.1.27-pgjcgwmr.mjs +0 -1
  892. package/dist/chunks/ultrareviewCommand-1.1.27-fzpef911.mjs +0 -4
  893. package/dist/chunks/update-1.1.27-0rwrmj8m.mjs +0 -72
  894. package/dist/chunks/upgrade-1.1.27-zacn9g92.mjs +0 -1
  895. package/dist/chunks/upload-1.1.27-9natjvcx.mjs +0 -7
  896. package/dist/chunks/upstreamproxy-1.1.27-484n2sck.mjs +0 -14
  897. package/dist/chunks/url-handler-napi-1.1.27-e0vf9zwd.mjs +0 -1
  898. package/dist/chunks/usage-1.1.27-qdx2zhbe.mjs +0 -1
  899. package/dist/chunks/util-1.1.27-m60qqy4m.mjs +0 -1
  900. package/dist/chunks/utils-1.1.27-bpj1f9q9.mjs +0 -1
  901. package/dist/chunks/vim-1.1.27-dvj5bk5p.mjs +0 -1
  902. package/dist/chunks/watchLoop-1.1.27-1vydfkzw.mjs +0 -13
  903. package/dist/chunks/watcher-1.1.27-jxayr96k.mjs +0 -1
  904. package/dist/chunks/wiki-1.1.27-t7nxcbah.mjs +0 -132
  905. package/dist/chunks/workflows-1.1.27-7bdgxjth.mjs +0 -1
  906. package/dist/chunks/worktree-1.1.27-6kkgvwks.mjs +0 -1
  907. package/dist/chunks/worktreeModeEnabled-1.1.27-ax7kv7qq.mjs +0 -1
  908. package/dist/chunks/wrapper-1.1.27-q9kmdf61.mjs +0 -7
  909. /package/dist/chunks/{cli-1.1.27-f8njyndt.mjs → cli-1.1.28-43p679k7.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.27-4an77vdm.mjs → cli-1.1.28-7d7hz6b4.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.1.27-5mn2zxpk.mjs → cli-1.1.28-f658tc1w.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.1.27-097en7tp.mjs → cli-1.1.28-m37hk495.mjs} +0 -0
  913. /package/dist/chunks/{cli-1.1.27-sgvc7y72.mjs → cli-1.1.28-m7x3ax7z.mjs} +0 -0
  914. /package/dist/chunks/{cli-1.1.27-r2qyxh4t.mjs → cli-1.1.28-qzdtd4w8.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{d$ as Z,h$ as _,i$ as w}from"./cli-1.1.27-k9jt24bv.mjs";import{Gaa as T,Nba as D,T$ as Y,U$ as U,Wfa as W,Zfa as V,daa as $,qba as k,sga as j}from"./cli-1.1.27-48ezce33.mjs";import{Ala as M,xla as N}from"./cli-1.1.27-r335xv52.mjs";import{Vra as O,aoa as X}from"./cli-1.1.27-m6ne80zc.mjs";O();j();M();w();D();U();T();import{realpath as x}from"fs/promises";async function y(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await x(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function f(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function l(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
- export{y as Mb,f as Nb,P as Ob,d as Pb,l as Qb};
@@ -1,3 +0,0 @@
1
- import{Ah as p,Bh as Aq}from"./cli-1.1.27-tw693ept.mjs";import{aU as a,mU as bq,oT as l,qT as Rq}from"./cli-1.1.27-w8pwj9ef.mjs";import{$1 as c,F1 as j,H1 as K,g0 as Zq,k2 as yq}from"./cli-1.1.27-6spv5ha8.mjs";import{C3 as e,x3 as t,z3 as L}from"./cli-1.1.27-6g67vpnz.mjs";import{U4 as B,V4 as M,W4 as S}from"./cli-1.1.27-kgpk1m6k.mjs";import{X4 as Yq}from"./cli-1.1.27-m5wtrd2b.mjs";import{u5 as $,v5 as Gq}from"./cli-1.1.27-wtthtmes.mjs";import{I$ as y,K$ as o,Nba as s,qba as m}from"./cli-1.1.27-48ezce33.mjs";import{Gja as w,Ija as r}from"./cli-1.1.27-cxy3fqs0.mjs";import{Ala as n,xla as U}from"./cli-1.1.27-r335xv52.mjs";import{Xla as D,cma as Xq}from"./cli-1.1.27-0rz9qd34.mjs";import{Vra as i,Wna as T}from"./cli-1.1.27-m6ne80zc.mjs";import{Ita as I,Mta as h}from"./cli-1.1.27-8vrv0ver.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return m("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await y("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await y("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await y("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>V.coerce(W)!==null).sort((W,P)=>{let A=V.coerce(W),R=V.coerce(P);return A.compare(R)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function v(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=V.coerce(q);if(!z||!L(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(U(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await y("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await y("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await y("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await y("cmd",["/c","start","",H]);return z===0}return!1}async function k(){let H=T();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var V,Hq="1.1.2396";var x=h(()=>{i();r();n();o();s();e();V=I(t(),1)});function Vq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function kq(H){let q=d.c(20),{onDone:z}=H,[Q,Y]=G.useState("checking"),[W,P]=G.useState(null),[A,R]=G.useState(""),b;if(q[0]!==W||q[1]!==z||q[2]!==Q)b=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")$(Vq()).catch(Kq),z(`Starting download. Re-run /desktop once you’ve installed the app.
2
- Learn more at ${u}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${u}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=b;else b=q[3];c(b);let O,E;if(q[4]!==z)O=()=>{(async function(){Y("checking");let X=await v();if(X.status==="not-installed"){R("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){R(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await a(),Y("opening");let f=await k();if(!f.success){P(f.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Bq,500,z)})().catch((Z)=>{P(D(Z)),Y("error")})},E=[z],q[4]=z,q[5]=O,q[6]=E;else O=q[5],E=q[6];if(G.useEffect(O,E),Q==="error"){let J;if(q[7]!==W)J=M(K,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=B(K,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=M(j,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==A)J=B(K,{children:A}),q[12]=A,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=B(K,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=M(j,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let N=C[Q],F;if(q[18]!==N)F=B(p,{message:N}),q[18]=N,q[19]=F;else F=q[19];return F}async function Bq(H){H("Session transferred to Claude Desktop",{display:"system"}),await l(0,"other")}function Kq(){}var d,G,u="https://clau.de/desktop";var Pq=h(()=>{yq();Gq();x();Xq();Rq();bq();Aq();S();d=I(Zq(),1),G=I(Yq(),1)});
3
- export{kq as yh,Pq as zh};
@@ -1,2 +0,0 @@
1
- import{Mta as K}from"./cli-1.1.27-8vrv0ver.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
- export{M as Bla,N as Cla,Q as Dla,R as Ela,S as Fla,L as Gla};
@@ -1,2 +0,0 @@
1
- import{Mta as P}from"./cli-1.1.27-8vrv0ver.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
- export{k as EX,w as FX,H as GX,g as HX,V as IX,W as JX,L as KX,Y as LX};
@@ -1,6 +0,0 @@
1
- import{Ai as Jq,Bi as Zq,Ci as vq,zi as qq}from"./cli-1.1.27-14xp8pk4.mjs";import{Di as $q,Ei as Pq}from"./cli-1.1.27-b42yen3p.mjs";import{cA as m,dA as y,iA as p}from"./cli-1.1.27-w8pwj9ef.mjs";import{F1 as F,H1 as K,k2 as Iq}from"./cli-1.1.27-6spv5ha8.mjs";import{U4 as Y,V4 as D,W4 as Xq}from"./cli-1.1.27-kgpk1m6k.mjs";import{X4 as j}from"./cli-1.1.27-m5wtrd2b.mjs";import{Gaa as Uq,faa as w,haa as f,lea as a,oaa as c,r$ as I,s$ as e,tea as Vq}from"./cli-1.1.27-48ezce33.mjs";import{gia as Mq,hia as g,via as Eq}from"./cli-1.1.27-fw9r8cwg.mjs";import{Ita as T,Mta as L}from"./cli-1.1.27-8vrv0ver.mjs";function u(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,B=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:B,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var h=L(()=>{p();b=T(j(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),B=q.join(`
2
- `),X=J.join(`
3
- `);O.useEffect(()=>{let V=!1;M(!0);async function N(){let _=B?B.split(`
4
- `):[],v=X?X.split(`
5
- `):[],E=(await Promise.all(v.map((G)=>f(G)))).flat(),P=w(E).filter((G)=>!_.includes(G)).sort((G,C)=>S(G).localeCompare(S(C))),k=w([..._,...P]),Yq=await Promise.all(k.map(async(G)=>{let[C,x,Aq]=await Promise.all([m(G),y(G),c(G)]);return{root:G,name:S(G),branch:Aq,files:C?u(C,x):[],hunks:x}}));if(!V)z(Yq),Z(k),M(!1)}return N().catch(()=>{if(!V)z([]),Z([]),M(!1)}),()=>{V=!0}},[B,X,U]);let W=O.useCallback(()=>H((V)=>V+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=L(()=>{Uq();p();h();O=T(j(),1)});import{basename as n}from"path";function d(q,J,$){if(q===0)return"";return J.join("")+($?Bq:l)}function r(q){return{name:q,dirs:new Map,files:[]}}function Nq(q){let J=r("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=r(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function i(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>n(X.path).localeCompare(n(W.path))),B=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],V=W.name,N=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;V=`${V}/${P.name}`,N=`${N}/${P.name}`,W=P}let _=X===U.length-1&&!B,v=`${Q}\x00${N}`,E=z.has(v);if(A.push({kind:"dir",key:v,label:V,depth:$,collapsed:E,guides:d($,M,_)}),!E){let P=$>=1?[...M,_?Gq:l]:M;i(W,N,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],V=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:d($,M,V)})}}function _q(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${a(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}i(Nq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var l="│ ",Bq="└ ",Gq=" ";var o=L(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return R[Math.abs(J)%R.length]}function t(q){let J=R.length;return R[(q%J+J)%J]}var R;var s=L(()=>{R=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function zq(){let q=$q();return{enabled:q,fileIcon:(J)=>q?Zq(J):"",folderIcon:(J)=>q?J?Jq:qq:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var Qq=L(()=>{e();vq();Pq()});import{basename as Dq}from"path";function Lq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function ZJ(q){return q.flatMap((J)=>J.files)}function $J({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo(zq,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Lq(M,J,$),B=[];for(let X=U;X<H;X++){let W=q[X];B.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return D(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),B,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let _=J?`${z.pointer} `:" ",v=q.collapsed?I.triangleRight:I.triangleDown;return D(K,{dimColor:!J,bold:J,children:[`${_}${v} `,z.repoIcon&&Y(K,{color:t(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let _=q.collapsed?I.triangleRight:I.triangleDown,v=z.folderIcon(!q.collapsed),E=v?`${v} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=g(q.label,P);return D(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:D(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${_} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),B=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,V=Math.max(4,$-U-X.length-(B?2:0)-W-1),N=q.label?g(q.label,V):Mq(Dq(q.file.path),V);return D(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:D(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,B,Q&&!J?Y(K,{color:Q,children:N}):N]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq,JJ=80;var Rq=L(()=>{e();Iq();Eq();s();o();Qq();Xq();Wq=T(j(),1)});
6
- export{wq as qg,Hq as rg,zq as sg,Qq as tg,hq as ug,s as vg,_q as wg,o as xg,JJ as yg,ZJ as zg,$J as Ag,Rq as Bg};
@@ -1,2 +0,0 @@
1
- import{Dha as B,Gha as K,Tga as $,Uga as y,X$ as Z,Z$ as f}from"./cli-1.1.27-48ezce33.mjs";import{kma as Y,qma as E}from"./cli-1.1.27-t1dxp2pw.mjs";import{Mta as N,Nta as x}from"./cli-1.1.27-8vrv0ver.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
- export{D as Zi,s as _i,g as $i};
@@ -1,2 +0,0 @@
1
- import{Ec as Y,Fc as Z,Gc as _,Jc as b}from"./cli-1.1.27-fc1my4zp.mjs";import{Be as V,we as X}from"./cli-1.1.27-r32k5nw7.mjs";import{CM as T,HM as U,MM as O,NM as W,XM as S}from"./cli-1.1.27-w8pwj9ef.mjs";import{Ala as K,xla as Q}from"./cli-1.1.27-r335xv52.mjs";import{Xla as L,cma as C}from"./cli-1.1.27-0rz9qd34.mjs";V();K();C();S();O();b();function j(E,H,J){let G=new Set(H.plugins.map((v)=>v.name)),z=`@${J}`,q=[];for(let v of Object.keys(E.plugins)){if(!v.endsWith(z))continue;let h=v.slice(0,-z.length);if(!G.has(h))q.push(v)}return q}async function F(){await Y();let E=W(),H=Z(),J=await T(),G=[];for(let z of Object.keys(J))try{let q=await U(z);if(!q.forceRemoveDeletedPlugins)continue;let v=j(E,q,z);for(let h of v){if(h in H)continue;let R=E.plugins[h]??[];if(!R.some((A)=>A.scope==="user"||A.scope==="project"||A.scope==="local"))continue;for(let A of R){let{scope:B}=A;if(B!=="user"&&B!=="project"&&B!=="local")continue;try{await X(h,B)}catch($){Q(`Failed to auto-uninstall delisted plugin ${h} from ${B}: ${L($)}`,{level:"error"})}}await _(h),G.push(h)}}catch(q){Q(`Failed to check for delisted plugins in "${z}": ${L(q)}`,{level:"warn"})}return G}
2
- export{F as vb};
@@ -1,2 +0,0 @@
1
- import{Gaa as $,qaa as T}from"./cli-1.1.27-48ezce33.mjs";import{Gja as J,Ija as Y}from"./cli-1.1.27-cxy3fqs0.mjs";import{Ala as X,xla as E}from"./cli-1.1.27-r335xv52.mjs";import{Mta as V}from"./cli-1.1.27-8vrv0ver.mjs";function j(){B.clear()}async function P(){let q=await Z();if(!q)return null;if(q.host!=="github.com")return null;return`${q.owner}/${q.name}`}async function Z(){let q=J();if(B.has(q))return B.get(q)??null;try{let x=await T();if(E(`Git remote URL: ${x}`),!x)return E("No git remote URL found"),B.set(q,null),null;let z=Q(x);return E(`Parsed repository: ${z?`${z.host}/${z.owner}/${z.name}`:null} from URL: ${x}`),B.set(q,z),z}catch(x){return E(`Error detecting repository: ${x}`),B.set(q,null),null}}function S(){let q=B.get(J());if(!q||q.host!=="github.com")return null;return`${q.owner}/${q.name}`}function Q(q){let x=q.trim(),z=x.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]){if(!O(z[1]))return null;return{host:z[1],owner:z[2],name:z[3]}}let A=x.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(A?.[1]&&A[2]&&A[3]&&A[4]){let I=A[1],K=A[2],N=K.split(":")[0]??"";if(!O(N))return null;return{host:I==="https"||I==="http"?K:N,owner:A[3],name:A[4]}}return null}function D(q){let x=q.trim(),z=Q(x);if(z){if(z.host!=="github.com")return null;return`${z.owner}/${z.name}`}if(!x.includes("://")&&!x.includes("@")&&x.includes("/")){let A=x.split("/");if(A.length===2&&A[0]&&A[1]){let I=A[1].replace(/\.git$/,"");return`${A[0]}/${I}`}}return E(`Could not parse repository from: ${x}`),null}function O(q){if(!q.includes("."))return!1;let x=q.split(".").pop();if(!x)return!1;return/^[a-zA-Z]+$/.test(x)}var B;var _=V(()=>{Y();X();$();B=new Map});
2
- export{j as c$,P as d$,Z as e$,S as f$,Q as g$,D as h$,_ as i$};
@@ -1,12 +0,0 @@
1
- import{b_ as D}from"./cli-1.1.27-ny95570d.mjs";import{Ala as a,jla as L,nla as JG,xla as W}from"./cli-1.1.27-r335xv52.mjs";import{hma as c,ima as jG,qma as GG}from"./cli-1.1.27-t1dxp2pw.mjs";import{ssa as q,tsa as g}from"./cli-1.1.27-jg3tymed.mjs";import{Ysa as H,ota as RG}from"./cli-1.1.27-4cjm0m5c.mjs";import{vta as XG}from"./cli-1.1.27-t4rm4dqf.mjs";import{Ita as WG,Mta as j,Nta as e}from"./cli-1.1.27-8vrv0ver.mjs";function yG(){U.cache.clear?.(),W("Cleared CA certificates cache")}var U;var i=j(()=>{g();a();GG();JG();U=q(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as IG}from"https";function gG(){let G=N(),J=U();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function P(){let G=N(),J=U();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){N.cache.clear?.(),C.cache.clear?.(),W("Cleared mTLS configuration cache")}function iG(){if(!N())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var N,C;var KG=j(()=>{g();i();a();JG();N=q(()=>{let G={};if(process.env.CLAUDIN_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDIN_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDIN_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDIN_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDIN_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),C=q(()=>{let G=N(),J=U();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new IG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,p;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");p=class p extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((X)=>{if(this.decrementSockets(Y,Z),typeof X.addRequest==="function")try{return X.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=X,super.createSocket(G,J,Q)},(X)=>{this.decrementSockets(Y,Z),Q(X)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let w=G.read();if(w)_(w);else G.once("readable",Z)}function X(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){X(),v("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(w){X(),v("onerror %o",w),Q(w)}function _(w){Y.push(w),K+=w.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
- \r
4
- `);if(O===-1){v("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
- `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),FG=+t[1],EG=t.slice(2).join(" "),I={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=I[d];if(typeof A==="string")I[d]=[A,l];else if(Array.isArray(A))A.push(l);else I[d]=l}v("got proxy server response: %o %o",f,I),X(),J({connect:{statusCode:FG,statusText:EG,headers:I},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var wG,v;var zG=j(()=>{wG=WG(XG(),1),v=wG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,F,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},m;var _G=j(()=>{$G();zG();BG();HG=WG(XG(),1),F=HG.default("https-proxy-agent");m=class m extends p{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},F("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")F("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else F("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,X=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
- `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))X+=`${z}: ${Y[z]}\r
7
- `;let $=n(K);K.write(`${X}\r
8
- `);let{connect:V,buffered:_}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){F("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let w=new M.Socket({writable:!1});return w.readable=!0,G.once("socket",(z)=>{F("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(_),z.push(null)}),w}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},X=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${X}:${J.port} HTTP/1.1\r
9
- `;if(K.username||K.password){let w=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(w).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${X}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let w of Object.keys(Z))$+=`${w}: ${Z[w]}\r
10
- `;let V=n(Y);Y.write(`${$}\r
11
- `);let{connect:_}=await V;if(G.emit("proxyConnect",_),this.emit("proxyConnect",_,G),_.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${_.statusCode} after retry`)}};m.protocols=["http","https"]});function MJ(G){r.set(G,!0),qG(G)}function qG(G){TG.cache.delete?.(G)}function HJ(G){UG.set(G,!0),qG(G)}function OG(G){return UG.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function E(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function h(G,J={}){let Q=N(),K=U(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDIN_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,X,$)=>{$(null,Z,bG(X))};return new m(G,{...Y,...J})}function _J(G={}){let J=E(),Q=C(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=h(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=E();if(!J)return;if(y(G))return;return h(J)}function qJ(G){let J=E();if(!J)return;if(y(G))return;return J}function UJ(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=E();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...P()};return{...J,dispatcher:o(Q)}}let K=P();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:TG(G.provider)};return{...J,...K}}function NJ(){let G=E(),J=C();if(x!==void 0)H.interceptors.request.eject(x),x=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=h(G);x=H.interceptors.request.use((K)=>{if(K.url&&y(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=P();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function TJ(){let G=E();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.27-qj3j1rkb.mjs"),import("./index-1.1.27-03qtf3bh.mjs")]),K=h(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function FJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,UG,o,T,NG,CG,TG,x;var PG=j(()=>{RG();_G();g();i();a();GG();KG();r=new Map;UG=new Map;o=q((G)=>{let J=D(),Q=N(),K=U(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),T={connections:12,keepAliveTimeout:30000,pipelining:1},NG={firstParty:{...T,allowH2:!0},openai:{...T,allowH2:!0},gemini:{...T,allowH2:!0},mistral:{...T,allowH2:!0},github:{...T,allowH2:!0},codex:{...T,allowH2:!0},"nvidia-nim":{...T,allowH2:!0},minimax:{...T,allowH2:!0}},CG=NG.openai,TG=q((G)=>{let J=D(),Q=NG[G]??CG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
- export{yG as G9,i as H9,N as I9,gG as J9,aG as K9,iG as L9,KG as M9,MJ as N9,HJ as O9,OG as P9,E as Q9,y as R9,_J as S9,jJ as T9,qJ as U9,UJ as V9,NJ as W9,TJ as X9,FJ as Y9,PG as Z9};
@@ -1,2 +0,0 @@
1
- import{Mta as M}from"./cli-1.1.27-8vrv0ver.mjs";function G(q){if(q===null||typeof q!=="object"||Array.isArray(q))return null;return q}function W(q){return typeof q==="string"&&q.length>0?q:null}function T(q){return typeof q==="boolean"?q:null}function g(q){if(!Array.isArray(q))return null;let z=[];for(let A of q){if(typeof A!=="string")return null;z.push(A)}return z}function F(q){let z=G(q);if(!z)return null;let A={};for(let[C,B]of Object.entries(z))if(typeof B==="string")A[C]=B;else if(typeof B==="number"||typeof B==="boolean")A[C]=String(B);return A}function k(q,...z){let A=q;for(let C of z){let B=G(A);if(!B)return;A=B[C]}return A}var O=()=>{};import{cpSync as X,existsSync as Q,mkdirSync as Y,readFileSync as Z,readdirSync as _,statSync as U,writeFileSync as $}from"fs";import{dirname as j}from"path";function b(q){try{return G(JSON.parse(Z(q,"utf8")))}catch{return null}}function x(q,z){$(q,JSON.stringify(z,null,2),{encoding:"utf8"})}function N(q){Y(q,{recursive:!0})}function D(q,z){if(!Q(q))return!1;if(!U(q).isDirectory())return!1;return N(j(z)),X(q,z,{recursive:!0,force:!1,errorOnExist:!1,dereference:!0}),!0}function p(q,z){let A=[],C=(B,H)=>{let I;try{I=_(B)}catch{return}for(let E of I.sort()){let J=`${B}/${E}`,K=H?`${H}/${E}`:E,L;try{L=U(J).isDirectory()}catch{continue}if(L)C(J,K);else if(z.some((V)=>E.endsWith(V)))A.push(K)}};if(!Q(q))return A;return C(q,""),A}var R=M(()=>{O()});
2
- export{G as Zf,W as _f,T as $f,g as ag,F as bg,k as cg,O as dg,b as eg,x as fg,N as gg,D as hg,p as ig,R as jg};
@@ -1,2 +0,0 @@
1
- import{Mta as l}from"./cli-1.1.27-8vrv0ver.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
2
- export{u as T4,E as U4,a as V4,c as W4};
@@ -1,2 +0,0 @@
1
- import{ky as S,ly as Pq,ny as uq,yo as Hq,zo as _q}from"./cli-1.1.27-w8pwj9ef.mjs";import{fZ as Yq,gZ as jq}from"./cli-1.1.27-9chfrr9e.mjs";import{D1 as M,E1 as Cq,F1 as G,H1 as W,L1 as kq,g0 as n,k2 as a,m0 as o,n0 as Oq}from"./cli-1.1.27-6spv5ha8.mjs";import{T4 as Kq,U4 as V,V4 as H,W4 as j}from"./cli-1.1.27-kgpk1m6k.mjs";import{X4 as Aq}from"./cli-1.1.27-m5wtrd2b.mjs";import{M6 as Qq,O6 as g,P6 as u,Q6 as Vq,S6 as T,V6 as Wq,X6 as Xq,d7 as Zq,e7 as hq,j7 as r,m7 as $,n7 as Dq}from"./cli-1.1.27-xdfkhk5m.mjs";import{$9 as l,a_ as Bq}from"./cli-1.1.27-vh1r16sd.mjs";import{Mca as f,Sea as Jq,Zfa as s,bda as Nq,gfa as Iq,sga as Rq}from"./cli-1.1.27-48ezce33.mjs";import{nia as zq,via as Lq}from"./cli-1.1.27-fw9r8cwg.mjs";import{uka as m,xka as Uq}from"./cli-1.1.27-7gnbh46g.mjs";import{Ita as x,Mta as i}from"./cli-1.1.27-8vrv0ver.mjs";function e(z){let q=t.c(2),{cooldown:J}=z;if(J){let X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=V(W,{color:"promptBorder",dimColor:!0,children:f}),q[0]=X;else X=q[0];return X}let Q;if(q[1]===Symbol.for("react.memo_cache_sentinel"))Q=V(W,{color:"fastMode",children:f}),q[1]=Q;else Q=q[1];return Q}function _(z=!0,q=!1){if(!z)return f;let J=o(s().theme);if(q)return l.dim(M("promptBorder",J)(f));return M("fastMode",J)(f)}var t;var qq=i(()=>{Bq();Nq();a();Rq();Oq();Cq();j();t=x(n(),1)});function b(z,q){if(Xq(),Jq("userSettings",{fastMode:z?!0:void 0}),z)q((J)=>{let Q=!T(J.mainLoopModel);return{...J,...Q?{mainLoopModel:Vq(),mainLoopModelForSession:null}:{},fastMode:!0}});else q((J)=>({...J,fastMode:!1}))}function mq(z){let q=wq.c(30),{onDone:J,unavailableReason:Q}=z,X=S(Fq),k=S(vq),Y=Pq(),[Z,fq]=yq.useState(k??!1),B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=Wq(),q[0]=B;else B=q[0];let N=B,d=N.status==="cooldown",K=Q!==null,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=$(r(!0)),q[1]=R;else R=q[1];let p=R,O;if(q[2]!==Z||q[3]!==K||q[4]!==X||q[5]!==J||q[6]!==Y)O=function(){if(K)return;if(b(Z,Y),m("",{enabled:Z,source:"picker"}),Z){let F=_(Z),Gq=!T(X)?` · model set to ${u}`:"";J(`${F} Fast mode ON${Gq} · ${p}`)}else Y(cq),J("Fast mode OFF")},q[2]=Z,q[3]=K,q[4]=X,q[5]=J,q[6]=Y,q[7]=O;else O=q[7];let c=O,C;if(q[8]!==k||q[9]!==K||q[10]!==J||q[11]!==Y)C=function(){if(K){if(k)b(!1,Y);J("Fast mode OFF",{display:"system"});return}let F=k?`${_()} Kept Fast mode ON`:"Kept Fast mode OFF";J(F,{display:"system"})},q[8]=k,q[9]=K,q[10]=J,q[11]=Y,q[12]=C;else C=q[12];let v=C,U;if(q[13]!==K)U=function(){if(K)return;fq(Tq)},q[13]=K,q[14]=U;else U=q[14];let P=U,L;if(q[15]!==c||q[16]!==P)L={"confirm:yes":c,"confirm:nextField":P,"confirm:next":P,"confirm:previous":P,"confirm:cycleMode":P,"confirm:toggle":P},q[15]=c,q[16]=P,q[17]=L;else L=q[17];let I;if(q[18]===Symbol.for("react.memo_cache_sentinel"))I={context:"Confirmation"},q[18]=I;else I=q[18];Yq(L,I);let h;if(q[19]===Symbol.for("react.memo_cache_sentinel"))h=H(W,{children:[V(e,{cooldown:d})," Fast mode (research preview)"]}),q[19]=h;else h=q[19];let Eq=h,w;if(q[20]!==K)w=(E)=>E.pending?H(W,{children:["Press ",E.keyName," again to exit"]}):K?V(W,{children:"Esc to cancel"}):V(W,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),q[20]=K,q[21]=w;else w=q[21];let y;if(q[22]!==Z||q[23]!==Q)y=Q?V(G,{marginLeft:2,children:V(W,{color:"error",children:Q})}):H(Kq,{children:[V(G,{flexDirection:"column",gap:0,marginLeft:2,children:H(G,{flexDirection:"row",gap:2,children:[V(W,{bold:!0,children:"Fast mode"}),V(W,{color:Z?"fastMode":void 0,bold:Z,children:Z?"ON ":"OFF"}),V(W,{dimColor:!0,children:p})]})}),d&&N.status==="cooldown"&&V(G,{marginLeft:2,children:H(W,{color:"warning",children:[N.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",zq(N.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),q[22]=Z,q[23]=Q,q[24]=y;else y=q[24];let D;if(q[25]===Symbol.for("react.memo_cache_sentinel"))D=H(W,{dimColor:!0,children:["Learn more:"," ",V(kq,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),q[25]=D;else D=q[25];let A;if(q[26]!==v||q[27]!==y||q[28]!==w)A=H(Hq,{title:Eq,subtitle:`High-speed mode for ${u}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:v,color:"fastMode",inputGuide:w,children:[y,D]}),q[26]=v,q[27]=y,q[28]=w,q[29]=A;else A=q[29];return A}function Tq(z){return!z}function cq(z){return{...z,fastMode:!1}}function vq(z){return z.fastMode}function Fq(z){return z.mainLoopModel}async function Mq(z,q,J){let Q=g();if(Q)return`Fast mode unavailable: ${Q}`;let{mainLoopModel:X}=q();if(b(z,J),m("",{enabled:z,source:"shortcut"}),z){let k=_(!0),Y=!T(X)?` · model set to ${u}`:"",Z=$(r(!0));return`${k} Fast mode ON${Y} · ${Z}`}else return"Fast mode OFF"}async function Qz(z,q,J){if(!Qq())return null;await Zq();let Q=J?.trim().toLowerCase();if(Q==="on"||Q==="off"){let k=await Mq(Q==="on",q.getAppState,q.setAppState);return z(k),null}let X=g();return m("",{unavailable_reason:X??""}),V(mq,{onDone:z,unavailableReason:X})}var wq,yq;var xq=i(()=>{_q();qq();a();jq();Uq();uq();hq();Lq();Dq();Iq();j();wq=x(n(),1),yq=x(Aq(),1)});
2
- export{_ as Wc,qq as Xc,mq as Yc,Qz as Zc,xq as _c};
@@ -1,2 +0,0 @@
1
- import{Fs as Hq,Gs as pq,Oz as Uq,Pz as mq}from"./cli-1.1.27-w8pwj9ef.mjs";import{f5 as Bq,h5 as dq}from"./cli-1.1.27-8vkygf4q.mjs";import{A8 as yq,F9 as gq,O5 as Lq,T5 as jq,U5 as Sq,f9 as i,j9 as S,z8 as Nq}from"./cli-1.1.27-xdfkhk5m.mjs";import{Caa as b,Cfa as Yq,Dfa as Dq,Efa as k,Gaa as $q,Gfa as Wq,Jfa as Xq,lba as Gq,nba as Pq}from"./cli-1.1.27-48ezce33.mjs";import{Aja as N,Bja as Mq,Cja as E,Dja as Cq}from"./cli-1.1.27-njcbrvnc.mjs";import{lka as Kq,mka as Qq,nka as Vq,ska as Zq,tka as Rq}from"./cli-1.1.27-y712t8h2.mjs";import{uka as _,xka as e}from"./cli-1.1.27-7gnbh46g.mjs";import{Aka as Fq,Ala as Jq,Cka as $J,ala as m,fla as Eq,xla as Y}from"./cli-1.1.27-r335xv52.mjs";import{Xla as C,bma as P,cma as qq}from"./cli-1.1.27-0rz9qd34.mjs";import{Ysa as z,ota as kq}from"./cli-1.1.27-4cjm0m5c.mjs";import{Lta as ZJ,Mta as d,Nta as Tq}from"./cli-1.1.27-8vrv0ver.mjs";var fq,r,s;var t=d(()=>{Mq();Cq();fq=E(()=>N.object({entries:N.record(N.string(),N.string()),entryChecksums:N.record(N.string(),N.string()).optional()})),r=E(()=>N.object({organizationId:N.string(),repo:N.string(),version:N.number(),lastModified:N.string(),checksum:N.string(),content:fq()})),s=E(()=>N.object({error:N.object({details:N.object({error_code:N.literal("team_memory_too_many_entries"),max_entries:N.number().int().positive(),received_entries:N.number().int().positive()})})}))});import{createHash as hq}from"crypto";import{mkdir as iq,readdir as cq,readFile as Oq,stat as nq,writeFile as lq}from"fs/promises";import{join as uq,relative as oq,sep as aq}from"path";function wq(){return{lastKnownChecksum:null,serverChecksums:new Map,serverMaxEntries:null}}function sq(q){return"sha256:"+hq("sha256").update(q,"utf8").digest("hex")}function xq(q){return q instanceof Error&&"code"in q&&typeof q.code==="string"}function n(){if(Lq()!=="firstParty"||!jq())return!1;let q=i();return Boolean(q?.accessToken&&q.scopes?.includes(Kq)&&q.scopes.includes(Qq))}function l(q){return`${process.env.TEAM_MEMORY_SYNC_URL||Zq().BASE_API_URL}/api/claude_code/team_memory?repo=${encodeURIComponent(q)}`}function u(){let q=i();if(q?.accessToken)return{headers:{Authorization:`Bearer ${q.accessToken}`,"anthropic-beta":Vq,"User-Agent":Bq()}};return{error:"No OAuth token available for team memory sync"}}async function tq(q,K,$){try{await S();let V=u();if(V.error)return{success:!1,error:V.error,skipRetry:!0,errorType:"auth"};let Q={...V.headers};if($)Q["If-None-Match"]=`"${$.replace(/"/g,"")}"`;let G=l(K),J=await z.get(G,{headers:Q,timeout:c,validateStatus:(X)=>X===200||X===304||X===404});if(J.status===304)return Y("team-memory-sync: not modified (304)",{level:"debug"}),{success:!0,notModified:!0,checksum:$??void 0};if(J.status===404)return Y("team-memory-sync: no remote data (404)",{level:"debug"}),q.lastKnownChecksum=null,{success:!0,isEmpty:!0};let Z=r().safeParse(J.data);if(!Z.success)return Y("team-memory-sync: invalid response format",{level:"warn"}),{success:!1,error:"Invalid team memory response format",skipRetry:!0,errorType:"parse"};let W=Z.data.checksum||J.headers.etag?.replace(/^"|"$/g,"")||void 0;if(W)q.lastKnownChecksum=W;return Y(`team-memory-sync: fetched successfully (checksum: ${W??"none"})`,{level:"debug"}),{success:!0,data:Z.data,isEmpty:!1,checksum:W}}catch(V){let{kind:Q,status:G,message:J}=P(V),Z=z.isAxiosError(V)?JSON.stringify(V.response?.data??""):"";if(Q!=="other")Y(`team-memory-sync: fetch error ${G}: ${Z}`,{level:"warn"});switch(Q){case"auth":return{success:!1,error:`Not authorized for team memory sync: ${Z}`,skipRetry:!0,errorType:"auth",httpStatus:G};case"timeout":return{success:!1,error:"Team memory sync request timeout",errorType:"timeout"};case"network":return{success:!1,error:"Cannot connect to server",errorType:"network"};default:return{success:!1,error:J,errorType:"unknown",httpStatus:G}}}}async function eq(q,K){try{await S();let $=u();if($.error)return{success:!1,error:$.error,errorType:"auth"};let V=l(K)+"&view=hashes",Q=await z.get(V,{headers:$.headers,timeout:c,validateStatus:(Z)=>Z===200||Z===404});if(Q.status===404)return q.lastKnownChecksum=null,{success:!0,entryChecksums:{}};let G=Q.data?.checksum||Q.headers.etag?.replace(/^"|"$/g,""),J=Q.data?.entryChecksums;if(!J||typeof J!=="object")return{success:!1,error:"Server did not return entryChecksums (?view=hashes unsupported)",errorType:"parse"};if(G)q.lastKnownChecksum=G;return{success:!0,version:Q.data?.version,checksum:G,entryChecksums:J}}catch($){let{kind:V,status:Q,message:G}=P($);switch(V){case"auth":return{success:!1,error:"Not authorized",errorType:"auth",httpStatus:Q};case"timeout":return{success:!1,error:"Timeout",errorType:"timeout"};case"network":return{success:!1,error:"Network error",errorType:"network"};default:return{success:!1,error:G,errorType:"unknown",httpStatus:Q}}}}async function qJ(q,K,$){let V=null;for(let Q=1;Q<=p+1;Q++){if(V=await tq(q,K,$),V.success||V.skipRetry)return V;if(Q>p)return V;let G=Hq(Q);Y(`team-memory-sync: retry ${Q}/${p}`,{level:"debug"}),await Nq(G)}return V}function JJ(q){let K=Object.keys(q).sort();if(K.length===0)return[];let $=Buffer.byteLength('{"entries":{}}',"utf8"),V=(Z,W)=>Buffer.byteLength(m(Z),"utf8")+Buffer.byteLength(m(W),"utf8")+2,Q=[],G={},J=$;for(let Z of K){let W=V(Z,q[Z]);if(J+W>rq&&Object.keys(G).length>0)Q.push(G),G={},J=$;G[Z]=q[Z],J+=W}return Q.push(G),Q}async function KJ(q,K,$,V){try{await S();let Q=u();if(Q.error)return{success:!1,error:Q.error,errorType:"auth"};let G={...Q.headers,"Content-Type":"application/json"};if(V)G["If-Match"]=`"${V.replace(/"/g,"")}"`;let J=l(K),Z=await z.put(J,{entries:$},{headers:G,timeout:c,validateStatus:(X)=>X===200||X===412});if(Z.status===412)return Y("team-memory-sync: conflict (412 Precondition Failed)",{level:"info"}),{success:!1,conflict:!0,error:"ETag mismatch"};let W=Z.data?.checksum;if(W)q.lastKnownChecksum=W;return Y(`team-memory-sync: uploaded ${Object.keys($).length} entries (checksum: ${W??"none"})`,{level:"debug"}),{success:!0,checksum:W,lastModified:Z.data?.lastModified}}catch(Q){let G=z.isAxiosError(Q)?JSON.stringify(Q.response?.data??""):"";Y(`team-memory-sync: upload failed: ${Q instanceof Error?Q.message:""} ${G}`,{level:"warn"});let{kind:J,status:Z,message:W}=P(Q),X=J==="http"||J==="other"?"unknown":J,j,O,B;if(Z===413&&z.isAxiosError(Q)){let H=s().safeParse(Q.response?.data);if(H.success)j=H.data.error.details.error_code,O=H.data.error.details.max_entries,B=H.data.error.details.received_entries}return{success:!1,error:W,errorType:X,httpStatus:Z,...j!==void 0&&{serverErrorCode:j},...O!==void 0&&{serverMaxEntries:O},...B!==void 0&&{serverReceivedEntries:B}}}}async function QJ(q){let K=k(),$={},V=[];async function Q(J){try{let Z=await cq(J,{withFileTypes:!0});await Promise.all(Z.map(async(W)=>{let X=uq(J,W.name);if(W.isDirectory())await Q(X);else if(W.isFile())try{let j=await nq(X);if(j.size>h){Y(`team-memory-sync: skipping oversized file ${W.name} (${j.size} > ${h} bytes)`,{level:"info"});return}let O=await Oq(X,"utf8"),B=oq(K,X).replaceAll("\\","/"),H=Uq(O);if(H.length>0){let L=H[0];V.push({path:B,ruleId:L.ruleId,label:L.label}),Y(`team-memory-sync: skipping "${B}" — detected ${L.label}`,{level:"warn"});return}$[B]=O}catch{}}))}catch(Z){if(xq(Z)){if(Z.code!=="ENOENT"&&Z.code!=="EACCES"&&Z.code!=="EPERM")throw Z}else throw Z}}await Q(K);let G=Object.keys($).sort();if(q!==null&&G.length>q){let J=G.slice(q);Y(`team-memory-sync: ${G.length} local entries exceeds server cap of ${q}; ${J.length} file(s) will NOT sync: ${J.join(", ")}. Consider consolidating or removing some team memory files.`,{level:"warn"}),_("",{total_entries:G.length,dropped_count:J.length,max_entries:q});let Z={};for(let W of G.slice(0,q))Z[W]=$[W];return{entries:Z,skippedSecrets:V}}return{entries:$,skippedSecrets:V}}async function VJ(q){let K=await Promise.all(Object.entries(q).map(async([$,V])=>{let Q;try{Q=await Wq($)}catch(J){if(J instanceof Yq)return Y(`team-memory-sync: ${J.message}`,{level:"warn"}),!1;throw J}if(Buffer.byteLength(V,"utf8")>h)return Y(`team-memory-sync: skipping oversized remote entry "${$}"`,{level:"info"}),!1;try{if(await Oq(Q,"utf8")===V)return!1}catch(J){if(xq(J)&&J.code!=="ENOENT"&&J.code!=="ENOTDIR")Y(`team-memory-sync: unexpected read error for "${$}": ${J.code}`,{level:"debug"})}try{let J=Q.substring(0,Q.lastIndexOf(aq));return await iq(J,{recursive:!0}),await lq(Q,V,"utf8"),!0}catch(J){return Y(`team-memory-sync: failed to write "${$}": ${J}`,{level:"warn"}),!1}}));return Gq(K,Boolean)}function _q(){return n()}async function Iq(q,K){let $=K?.skipEtagCache??!1,V=Date.now();if(!n())return A(V,{success:!1,errorType:"no_oauth"}),{success:!1,filesWritten:0,entryCount:0,error:"OAuth not available"};let Q=await b();if(!Q)return A(V,{success:!1,errorType:"no_repo"}),{success:!1,filesWritten:0,entryCount:0,error:"No git remote found"};let G=$?null:q.lastKnownChecksum,J=await qJ(q,Q,G);if(!J.success)return A(V,{success:!1,errorType:J.errorType,status:J.httpStatus}),{success:!1,filesWritten:0,entryCount:0,error:J.error};if(J.notModified)return A(V,{success:!0,notModified:!0}),{success:!0,filesWritten:0,entryCount:0,notModified:!0};if(J.isEmpty||!J.data)return q.serverChecksums.clear(),A(V,{success:!0}),{success:!0,filesWritten:0,entryCount:0};let Z=J.data.content.entries,W=J.data.content.entryChecksums;if(q.serverChecksums.clear(),W)for(let[j,O]of Object.entries(W))q.serverChecksums.set(j,O);else Y("team-memory-sync: server response missing entryChecksums (pre-#283027 deploy) — next push will be full, not delta",{level:"debug"});let X=await VJ(Z);if(X>0){let{clearMemoryFileCaches:j}=await import("./claudemd-1.1.27-gp9ndxg8.mjs");j()}return Y(`team-memory-sync: pulled ${X} files`,{level:"info"}),A(V,{success:!0,filesWritten:X}),{success:!0,filesWritten:X,entryCount:Object.keys(Z).length}}async function o(q){let K=Date.now(),$=0;if(!n())return x(K,{success:!1,errorType:"no_oauth"}),{success:!1,filesUploaded:0,error:"OAuth not available",errorType:"no_oauth"};let V=await b();if(!V)return x(K,{success:!1,errorType:"no_repo"}),{success:!1,filesUploaded:0,error:"No git remote found",errorType:"no_repo"};let Q=await QJ(q.serverMaxEntries),G=Q.entries,J=Q.skippedSecrets;if(J.length>0){let X=J.map((j)=>`"${j.path}" (${j.label})`).join(", ");Y(`team-memory-sync: ${J.length} file(s) skipped due to detected secrets: ${X}. Remove the secret(s) to enable sync for these files.`,{level:"warn"}),_("",{file_count:J.length,rule_ids:J.map((j)=>j.ruleId).join(",")})}let Z=new Map;for(let[X,j]of Object.entries(G))Z.set(X,sq(j));let W=!1;for(let X=0;X<=R;X++){let j={};for(let[w,D]of Z)if(q.serverChecksums.get(w)!==D)j[w]=G[w];if(Object.keys(j).length===0)return x(K,{success:!0,conflict:W,conflictRetries:$}),{success:!0,filesUploaded:0,...J.length>0&&{skippedSecrets:J}};let B=JJ(j),H=0,L;for(let w of B){if(L=await KJ(q,V,w,q.lastKnownChecksum),!L.success)break;for(let D of Object.keys(w))q.serverChecksums.set(D,Z.get(D));H+=Object.keys(w).length}if(L=L,L.success)return Y(B.length>1?`team-memory-sync: pushed ${H} of ${Z.size} files in ${B.length} batches`:`team-memory-sync: pushed ${H} of ${Z.size} files (delta)`,{level:"info"}),x(K,{success:!0,filesUploaded:H,conflict:W,conflictRetries:$,putBatches:B.length>1?B.length:void 0}),{success:!0,filesUploaded:H,checksum:L.checksum,...J.length>0&&{skippedSecrets:J}};if(!L.conflict){if(L.serverMaxEntries!==void 0)q.serverMaxEntries=L.serverMaxEntries,Y(`team-memory-sync: learned server max_entries=${L.serverMaxEntries} from 413; next push will truncate to this`,{level:"warn"});return x(K,{success:!1,filesUploaded:H,conflictRetries:$,putBatches:B.length>1?B.length:void 0,errorType:L.errorType,status:L.httpStatus,errorCode:L.serverErrorCode,serverMaxEntries:L.serverMaxEntries,serverReceivedEntries:L.serverReceivedEntries}),{success:!1,filesUploaded:H,error:L.error,errorType:L.errorType,httpStatus:L.httpStatus}}if(W=!0,X>=R)return Y(`team-memory-sync: giving up after ${R} conflict retries`,{level:"warn"}),x(K,{success:!1,conflict:!0,conflictRetries:$,errorType:"conflict"}),{success:!1,filesUploaded:0,conflict:!0,error:"Conflict resolution failed after retries"};$++,Y(`team-memory-sync: conflict (412), probing server hashes (attempt ${X+1}/${R})`,{level:"info"});let T=await eq(q,V);if(!T.success||!T.entryChecksums)return x(K,{success:!1,conflict:!0,conflictRetries:$,errorType:"conflict"}),{success:!1,filesUploaded:0,conflict:!0,error:`Conflict resolution hashes probe failed: ${T.error}`};q.serverChecksums.clear();for(let[w,D]of Object.entries(T.entryChecksums))q.serverChecksums.set(w,D)}return x(K,{success:!1,conflictRetries:$}),{success:!1,filesUploaded:0,error:"Unexpected end of conflict resolution loop"}}function A(q,K){_("",{success:K.success,files_written:K.filesWritten??0,not_modified:K.notModified??!1,duration_ms:Date.now()-q,...K.errorType&&{errorType:K.errorType},...K.status&&{status:K.status}})}function x(q,K){_("",{success:K.success,files_uploaded:K.filesUploaded??0,conflict:K.conflict??!1,conflict_retries:K.conflictRetries??0,duration_ms:Date.now()-q,...K.errorType&&{errorType:K.errorType},...K.status&&{status:K.status},...K.putBatches&&{put_batches:K.putBatches},...K.errorCode&&{error_code:K.errorCode},...K.serverMaxEntries!==void 0&&{server_max_entries:K.serverMaxEntries},...K.serverReceivedEntries!==void 0&&{server_received_entries:K.serverReceivedEntries}})}var c=30000,h=250000,rq=200000,p=3,R=2;var zq=d(()=>{kq();Rq();Xq();Pq();gq();Jq();qq();$q();Sq();yq();Eq();dq();e();pq();mq();t()});var OJ={};ZJ(OJ,{stopTeamMemoryWatcher:()=>bq,startTeamMemoryWatcher:()=>NJ,notifyTeamMemoryWrite:()=>BJ,isPermanentFailure:()=>Aq,_startFileWatcherForTesting:()=>UJ,_resetWatcherStateForTesting:()=>HJ});import{watch as GJ}from"fs";import{mkdir as YJ,stat as WJ}from"fs/promises";import{join as XJ}from"path";function Aq(q){if(q.errorType==="no_oauth"||q.errorType==="no_repo")return!0;if(q.httpStatus!==void 0&&q.httpStatus>=400&&q.httpStatus<500&&q.httpStatus!==409&&q.httpStatus!==429)return!0;return!1}async function jJ(){if(!I)return;y=!0;try{let q=await o(I);if(q.success)g=!1;if(q.success&&q.filesUploaded>0)Y(`team-memory-watcher: pushed ${q.filesUploaded} files`,{level:"info"});else if(!q.success){if(Y(`team-memory-watcher: push failed: ${q.error}`,{level:"warn"}),Aq(q)&&U===null)U=q.httpStatus!==void 0?`http_${q.httpStatus}`:q.errorType??"unknown",Y(`team-memory-watcher: suppressing retry until next unlink or session restart (${U})`,{level:"warn"}),_("",{reason:U,...q.httpStatus&&{status:q.httpStatus}})}}catch(q){Y(`team-memory-watcher: push error: ${C(q)}`,{level:"warn"})}finally{y=!1,f=null}}function M(){if(U!==null)return;if(g=!0,F)clearTimeout(F);F=setTimeout(()=>{if(y){M();return}f=jJ()},LJ)}async function vq(q){if(a)return;a=!0;try{await YJ(q,{recursive:!0}),v=GJ(q,{persistent:!1,recursive:!0},(K,$)=>{if($===null){M();return}if(U!==null){WJ(XJ(q,$)).catch((V)=>{if(V.code!=="ENOENT")return;if(U!==null)Y(`team-memory-watcher: unlink cleared suppression (was: ${U})`,{level:"info"}),U=null;M()});return}M()}),v.on("error",(K)=>{Y(`team-memory-watcher: fs.watch error: ${C(K)}`,{level:"warn"})}),Y(`team-memory-watcher: watching ${q}`,{level:"debug"})}catch(K){Y(`team-memory-watcher: failed to watch ${q}: ${C(K)}`,{level:"warn"})}Fq(async()=>bq())}async function NJ(){if(!Dq()||!_q())return;if(!await b()){Y("team-memory-watcher: no github.com remote, skipping sync",{level:"debug"});return}I=wq();let K=!1,$=0,V=!1;try{let Q=await Iq(I);if(K=Q.success,V=Q.entryCount>0,Q.success&&Q.filesWritten>0)$=Q.filesWritten,Y(`team-memory-watcher: initial pull got ${Q.filesWritten} files`,{level:"info"})}catch(Q){Y(`team-memory-watcher: initial pull failed: ${C(Q)}`,{level:"warn"})}await vq(k()),_("",{initial_pull_success:K,initial_files_pulled:$,watcher_started:!0,server_has_content:V})}async function BJ(){if(!I)return;M()}async function bq(){if(F)clearTimeout(F),F=null;if(v)v.close(),v=null;if(f)try{await f}catch{}if(g&&I&&U===null)try{await o(I)}catch{}}function HJ(q){v=null,F=null,y=!1,g=!1,f=null,a=q?.skipWatcher??!1,U=q?.pushSuppressedReason??null,I=q?.syncState??null}function UJ(q){return vq(q)}var LJ=2000,v=null,F=null,y=!1,g=!1,f=null,a=!1,U=null,I=null;var wJ=d(()=>{Xq();$J();Jq();qq();$q();e();zq()});
2
- export{Aq as p,NJ as q,BJ as r,bq as s,HJ as t,UJ as u,OJ as v,wJ as w};
@@ -1,3 +0,0 @@
1
- import{F as x0}from"./cli-1.1.27-gnhg7s3x.mjs";import{ba as d0}from"./cli-1.1.27-cw1p9ac2.mjs";import{Mb as u0}from"./cli-1.1.27-jmegwyzr.mjs";import{Rb as c0}from"./cli-1.1.27-704q0rhh.mjs";import{jd as y0,ld as Vf}from"./cli-1.1.27-hcnrf84n.mjs";import{od as $,pd as Uf}from"./cli-1.1.27-8fve969w.mjs";import{rd as O0,sd as Lf}from"./cli-1.1.27-6s7e0eyt.mjs";import{Nd as q0,Od as o0}from"./cli-1.1.27-qcvp3n4v.mjs";import{Hh as m0,Ih as Rf}from"./cli-1.1.27-9427t707.mjs";import{GU as C0,IN as a0,IU as b0,KU as Yf,NH as E0,NU as N0,OH as Qf,PU as Zf,QG as T0,RG as l0,SG as n,WN as U0,YN as n0,ZG as i0,cH as m,dH as Q0,eH as P0,fH as Jf,jy as E,mT as A0,ny as J0,oT as D0,qT as Xf,qo as p,ro as g0,so as f0,to as S0,uo as F0,vo as $0,wU as _0,yN as R0,yo as _,zo as a}from"./cli-1.1.27-w8pwj9ef.mjs";import{D0 as zf,F1 as e,H1 as A,L1 as l,g0 as u,k2 as o,y0 as K0}from"./cli-1.1.27-6spv5ha8.mjs";import{T4 as t,U4 as q,V4 as G,W4 as w}from"./cli-1.1.27-kgpk1m6k.mjs";import{P5 as I0,U5 as Tf,t6 as k0,u6 as qf}from"./cli-1.1.27-xdfkhk5m.mjs";import{$fa as B0,Dha as M0,Gha as Ff,Qfa as H0,Sea as H,Vea as K,Wfa as j,Yea as w0,Zfa as i,_ea as G0,gfa as d,sga as X0}from"./cli-1.1.27-48ezce33.mjs";import{Aia as W,Eia as e0}from"./cli-1.1.27-fw9r8cwg.mjs";import{Wia as W0,cja as h0,ija as ff}from"./cli-1.1.27-dfww0knt.mjs";import{uka as I,xka as c}from"./cli-1.1.27-7gnbh46g.mjs";import{Ala as s0}from"./cli-1.1.27-r335xv52.mjs";import{ima as S,qma as t0}from"./cli-1.1.27-t1dxp2pw.mjs";import{Foa as Y0,Lqa as Z0,Vra as r0}from"./cli-1.1.27-m6ne80zc.mjs";import{Ita as x,Nta as B}from"./cli-1.1.27-8vrv0ver.mjs";c();Xf();r0();import{appendFileSync as Wf}from"fs";Zf();zf();Q0();ff();Ff();c();d();i0();a();var s=x(u(),1);o();w();var v=x(u(),1);function D(){let T=v.c(1),f;if(T[0]===Symbol.for("react.memo_cache_sentinel"))f=G(A,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",q(l,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),T[0]=f;else f=T[0];return f}w();function r(T){let f=s.c(13),{serverName:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(h){I("",{choice:h});f:switch(h){case"yes":case"yes_all":{let M=(K()||{}).enabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{enabledMcpjsonServers:[...M,F]});if(h==="yes_all")H("localSettings",{enableAllProjectMcpServers:!0});L();break f}case"no":{let M=(K()||{}).disabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{disabledMcpjsonServers:[...M,F]});L()}}},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V=`New MCP server found in .mcp.json: ${F}`,Q;if(f[3]!==J)Q=()=>J("no"),f[3]=J,f[4]=Q;else Q=f[4];let z;if(f[5]===Symbol.for("react.memo_cache_sentinel"))z=q(D,{}),f[5]=z;else z=f[5];let R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],f[6]=R;else R=f[6];let X;if(f[7]!==J)X=q(n,{options:R,onChange:(Z)=>J(Z),onCancel:()=>J("no")}),f[7]=J,f[8]=X;else X=f[8];let Y;if(f[9]!==V||f[10]!==Q||f[11]!==X)Y=G(_,{title:V,color:"warning",onCancel:Q,children:[z,X]}),f[9]=V,f[10]=Q,f[11]=X,f[12]=Y;else Y=f[12];return Y}o0();c();o();d();S0();l0();$0();a();g0();var L0=x(u(),1);w();function z0(T){let f=L0.c(21),{serverNames:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(C){let y=K()||{},p0=y.enabledMcpjsonServers||[],j0=y.disabledMcpjsonServers||[],[b,N]=q0(F,(P)=>C.includes(P));if(I("",{approved:b.length,rejected:N.length}),b.length>0){let P=[...new Set([...p0,...b])];H("localSettings",{enabledMcpjsonServers:P})}if(N.length>0){let P=[...new Set([...j0,...N])];H("localSettings",{disabledMcpjsonServers:P})}L()},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V;if(f[3]!==L||f[4]!==F)V=()=>{let C=(K()||{}).disabledMcpjsonServers||[],y=[...new Set([...C,...F])];H("localSettings",{disabledMcpjsonServers:y}),L()},f[3]=L,f[4]=F,f[5]=V;else V=f[5];let Q=V,z=`${F.length} new MCP servers found in .mcp.json`,R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=q(D,{}),f[6]=R;else R=f[6];let X;if(f[7]!==F)X=F.map(v0),f[7]=F,f[8]=X;else X=f[8];let Y;if(f[9]!==Q||f[10]!==J||f[11]!==F||f[12]!==X)Y=q(T0,{options:X,defaultValue:F,onSubmit:J,onCancel:Q,hideIndexes:!0}),f[9]=Q,f[10]=J,f[11]=F,f[12]=X,f[13]=Y;else Y=f[13];let Z;if(f[14]!==Q||f[15]!==z||f[16]!==Y)Z=G(_,{title:z,subtitle:"Select any you wish to enable.",color:"warning",onCancel:Q,hideInputGuide:!0,children:[R,Y]}),f[14]=Q,f[15]=z,f[16]=Y,f[17]=Z;else Z=f[17];let h;if(f[18]===Symbol.for("react.memo_cache_sentinel"))h=q(e,{paddingX:1,children:q(A,{dimColor:!0,italic:!0,children:G(F0,{children:[q(p,{shortcut:"Space",action:"select"}),q(p,{shortcut:"Enter",action:"confirm"}),q(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),f[18]=h;else h=f[18];let O;if(f[19]!==Z)O=G(t,{children:[Z,h]}),f[19]=Z,f[20]=O;else O=f[20];return O}function v0(T){return{label:T,value:T}}Q0();J0();a0();n0();w();async function V0(T){let{servers:f}=R0("project"),F=Object.keys(f).filter((L)=>U0(L)==="pending");if(F.length===0)return;await new Promise((L)=>{let U=()=>void L();if(F.length===1&&F[0]!==void 0){let J=F[0];T.render(q(E,{children:q(m,{children:q(r,{serverName:J,onDone:U})})}))}else T.render(q(E,{children:q(m,{children:q(z0,{serverNames:F,onDone:U})})}))})}J0();Uf();qf();Yf();X0();Vf();X0();s0();t0();class g{frameDurations=[];firstRenderTime;lastRenderTime;record(T){let f=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=f;this.lastRenderTime=f,this.frameDurations.push(T)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let T=this.lastRenderTime-this.firstRenderTime;if(T<=0)return;let F=this.frameDurations.length/(T/1000),L=this.frameDurations.slice().sort((Q,z)=>z-Q),U=Math.max(0,Math.ceil(L.length*0.01)-1),J=L[U],V=J>0?1000/J:0;return{averageFps:Math.round(F*100)/100,low1PctFps:Math.round(V*100)/100}}}Lf();Tf();Jf();Rf();Qf();d();e0();w();function hf(){j((T)=>({...T,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function wf(T,f){return new Promise((F)=>{let L=(U)=>void F(U);T.render(f(L))})}async function x9(T,f,F){return Gf(T,f,{color:"error",beforeExit:F})}async function Gf(T,f,F){let{Text:L}=await import("./ink-1.1.27-btbyg6z5.mjs"),U=F?.color,J=F?.exitCode??1;T.render(U?q(L,{color:U,children:f}):q(L,{children:f})),T.unmount(),await F?.beforeExit?.(),process.exit(J)}function k(T,f,F){return wf(T,(L)=>q(E,{onChangeAppState:F?.onChangeAppState,children:q(m,{children:f(L)})}))}async function u9(T,f){T.render(f),x0(),await T.waitUntilExit(),await D0(0)}async function c9(T,f,F,L,U){if(S(!1)||process.env.IS_DEMO)return!1;W("setupScreens_start");let J=I0(),V=!1;if(y0()){let{MigrationDialog:z}=await import("./MigrationDialog-1.1.27-fhzyv0es.mjs");await k(T,(R)=>q(z,{onDone:()=>void R()}))}let Q=i();if(J&&(!Q.theme||!Q.hasCompletedOnboarding)){V=!0;let{Onboarding:z}=await import("./Onboarding-1.1.27-e7a3yzxe.mjs");await k(T,(R)=>q(z,{onDone:()=>{hf(),R()}}),{onChangeAppState:$})}if(!S(process.env.CLAUBBIT)){if(J&&!H0()){let{TrustDialog:z}=await import("./TrustDialog-1.1.27-nerfy2hh.mjs");await k(T,(R)=>q(z,{commands:L,onDone:R}))}if(Z0(!0),W("setupScreens_after_trust_accepted"),h0(),W0(),N0(),W("setupScreens_after_growthbook_kick"),J){let{errors:z}=E0();if(z.length===0)await V0(T);W("setupScreens_after_mcp_approvals");let R=await b0();if(W("setupScreens_after_claudemd_check"),R){let X=C0(await _0(!0)),{ClaudeMdExternalIncludesDialog:Y}=await import("./ClaudeMdExternalIncludesDialog-1.1.27-2veddc9s.mjs");await k(T,(Z)=>q(Y,{onDone:Z,isStandaloneDialog:!0,externalIncludes:X}))}}}u0(),O0(),W("setupScreens_after_env_applied"),setImmediate(()=>d0());{let z=M0();W("setupScreens_after_tryGetActiveProvider");let R=z?.transport==="anthropic"?z.apiKey?.trim():void 0;if(R){let X=k0(R),Y=B0(X);if(W("setupScreens_after_keyStatus"),Y==="new"){let{ApproveApiKey:Z}=await import("./ApproveApiKey-1.1.27-b5mwy6bs.mjs");await k(T,(h)=>q(Z,{customApiKeyTruncated:X,onDone:h}),{onChangeAppState:$})}}}if(W("setupScreens_after_custom_api_key"),(f==="bypassPermissions"||F)&&!w0()){let{BypassPermissionsModeDialog:z}=await import("./BypassPermissionsModeDialog-1.1.27-jxn4ptdz.mjs");await k(T,(R)=>q(z,{onAccept:R}))}if(f==="auto"&&!G0()){let{AutoModeOptInDialog:z}=await import("./AutoModeOptInDialog-1.1.27-g5rhes32.mjs");await k(T,(R)=>q(z,{onAccept:R,onDecline:()=>A0(1),declineExits:!0}))}return W("setupScreens_end"),V}function d9(T){m0();let f=0,F=P0(T);if(F.stdin)I("",{});let L=new g,U=c0();Y0(U);let J=process.env.CLAUDIN_FRAME_TIMING_LOG;return{getFpsMetrics:()=>L.getMetrics(),stats:U,renderOptions:{...F,onFrame:(V)=>{if(L.record(V.durationMs),U.observe("frame_duration_ms",V.durationMs),J&&V.phases){let Q=JSON.stringify({total:V.durationMs,...V.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
2
- `;Wf(J,Q)}if(K0())return;for(let Q of V.flickers){if(Q.reason==="resize")continue;let z=Date.now();if(z-f<1000)I("",{desiredHeight:Q.desiredHeight,actualHeight:Q.availableHeight,reason:Q.reason});f=z}}}}}
3
- export{hf as x,wf as y,x9 as z,Gf as A,k as B,u9 as C,c9 as D,d9 as E};
@@ -1,2 +0,0 @@
1
- import{Lta as x,Mta as z}from"./cli-1.1.27-8vrv0ver.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 a3,F as b3,G as c3,H as d3,J as e3};
@@ -1,2 +0,0 @@
1
- import{Kta as j}from"./cli-1.1.27-8vrv0ver.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.8"});
2
- export{Lt as X4};
@@ -1,2 +0,0 @@
1
- import{$ra as w8,Wra as CQ,Xra as YJ,Yra as v,Zra as P1,_ra as J5,asa as D,bsa as y,csa as m,dsa as _Q,esa as L,fsa as a,gsa as h5,hsa as e8,isa as F5,jsa as _8,ksa as E,lsa as h8,msa as P,nsa as x1,osa as d,psa as WQ,qsa as o,rsa as xQ,ssa as l5,tsa as UY}from"./cli-1.1.27-jg3tymed.mjs";import{Lta as sQ,Mta as X}from"./cli-1.1.27-8vrv0ver.mjs";function h$(){this.__data__=new v,this.size=0}var e1;var QQ=X(()=>{P1();e1=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var $Q;var JQ=X(()=>{$Q=n$});function b$(Q){return this.__data__.get(Q)}var YQ;var ZQ=X(()=>{YQ=b$});function i$(Q){return this.__data__.has(Q)}var XQ;var HQ=X(()=>{XQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new o(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,UQ;var KQ=X(()=>{P1();WQ();xQ();UQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();QQ();JQ();ZQ();HQ();KQ();g.prototype.clear=e1;g.prototype.delete=$Q;g.prototype.get=YQ;g.prototype.has=XQ;g.prototype.set=UQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",GQ;var BQ=X(()=>{GQ=c$});function o$(Q){return this.__data__.has(Q)}var NQ;var wQ=X(()=>{NQ=o$});function r(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new o;while(++J<Y)this.add(Q[J])}var zQ;var FQ=X(()=>{xQ();BQ();wQ();r.prototype.add=r.prototype.push=GQ;r.prototype.has=NQ;zQ=r});function r$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var RQ;var DQ=X(()=>{RQ=r$});function s$(Q,J){return Q.has(J)}var qQ;var OQ=X(()=>{qQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new zQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!RQ(J,function(C,_){if(!qQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{FQ();DQ();OQ();s=e$});var QJ,_1;var VQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var MQ;var LQ=X(()=>{MQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var fQ;var PQ=X(()=>{fQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return CQ(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=MQ;case BJ:var B=Z&ZJ;if(U||(U=fQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",IQ,k1,kQ;var EQ=X(()=>{_Q();VQ();YJ();C1();LQ();PQ();IQ=m?m.prototype:void 0,k1=IQ?IQ.valueOf:void 0;kQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var vQ;var dQ=X(()=>{vQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:vQ(Z,Y(Q))}var gQ;var pQ=X(()=>{dQ();M();gQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var yQ;var mQ=X(()=>{yQ=VJ});function MJ(){return[]}var SQ;var AQ=X(()=>{SQ=MJ});var LJ,fJ,jQ,PJ,hQ;var nQ=X(()=>{mQ();AQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,jQ=Object.getOwnPropertySymbols,PJ=!jQ?SQ:function(Q){if(Q==null)return[];return Q=Object(Q),yQ(jQ(Q),function(J){return fJ.call(Q,J)})},hQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var bQ;var iQ=X(()=>{bQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var uQ=X(()=>{a();S();E1=kJ});var lQ,EJ,vJ,dJ,t;var v1=X(()=>{uQ();S();lQ=Object.prototype,EJ=lQ.hasOwnProperty,vJ=lQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var TQ;var cQ=X(()=>{TQ=gJ});var Q1={};sQ(Q1,{default:()=>A});var aQ,oQ,pJ,rQ,yJ,mJ,A;var d1=X(()=>{y();cQ();aQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=aQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===aQ,rQ=pJ?D.Buffer:void 0,yJ=rQ?rQ.isBuffer:void 0,mJ=yJ||TQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",oJ="[object Map]",rJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,tQ;var eQ=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[oJ]=G[rJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;tQ=B8});function N8(Q){return function(J){return Q(J)}}var Q5;var $5=X(()=>{Q5=N8});var Z1={};sQ(Z1,{default:()=>X1});var Y5,i,z8,p1,F8,X1;var Z5=X(()=>{w8();Y5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Y5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Y5,p1=z8&&J5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var X5,R8,H1;var y1=X(()=>{eQ();$5();Z5();X5=X1&&X1.isTypedArray,R8=X5?Q5(X5):tQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?bQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,H5;var W5=X(()=>{iQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;H5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,x5;var U5=X(()=>{V8=Object.prototype;x5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var K5;var G5=X(()=>{K5=L8});var f8,B5;var N5=X(()=>{G5();f8=K5(Object.keys,Object),B5=f8});function C8(Q){if(!x5(Q))return B5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,w5;var z5=X(()=>{U5();N5();P8=Object.prototype,I8=P8.hasOwnProperty;w5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!F5(Q)}var R5;var D5=X(()=>{_8();J1();R5=k8});function E8(Q){return R5(Q)?H5(Q):w5(Q)}var W1;var m1=X(()=>{W5();z5();D5();W1=E8});function v8(Q){return gQ(Q,W1,hQ)}var S1;var q5=X(()=>{pQ();nQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var t1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(t1===void 0?C===_||H(C,_,Y,Z,W):t1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,O5;var V5=X(()=>{q5();g8=Object.prototype,p8=g8.hasOwnProperty;O5=y8});var m8,U1;var M5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var L5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var f5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var P5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var I5="[object Map]",n8="[object Object]",C5="[object Promise]",_5="[object Set]",k5="[object WeakMap]",E5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var v5=X(()=>{M5();WQ();L5();f5();P5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=E5||d&&k(new d)!=I5||K1&&k(K1.resolve())!=C5||G1&&k(new G1)!=_5||B1&&k(new B1)!=k5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return E5;case i8:return I5;case u8:return C5;case l8:return _5;case T8:return k5}return J};A1=k});function r8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?g5:A1(Q),K=U?g5:A1(J);B=B==d5?N1:B,K=K==d5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):kQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&p5.call(Q,"__wrapped__"),R=z&&p5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),O5(Q,J,Y,Z,H,W)}var c8=1,d5="[object Arguments]",g5="[object Array]",N1="[object Object]",o8,p5,y5;var m5=X(()=>{I1();C1();EQ();V5();v5();M();d1();y1();o8=Object.prototype,p5=o8.hasOwnProperty;y5=r8});function S5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return y5(Q,J,Y,Z,S5,H)}var w1;var j1=X(()=>{m5();S();w1=S5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,A5;var j5=X(()=>{I1();j1();A5=t8});function QY(Q){return Q===Q&&!h5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var n5;var b5=X(()=>{h1();m1();n5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=n5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||A5(Y,Q,J)}}var i5;var u5=X(()=>{j5();b5();n1();i5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=l5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,T5;var c5=X(()=>{UY();T5=GY});var BY,NY,wY,o5;var r5=X(()=>{c5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=T5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var s5;var a5=X(()=>{s5=zY});function Q$(Q){if(typeof Q=="string")return Q;if(w(Q))return s5(Q,Q$)+"";if(h(Q))return e5?e5.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,t5,e5,$$;var J$=X(()=>{_Q();a5();M();R1();t5=m?m.prototype:void 0,e5=t5?t5.toString:void 0;$$=Q$});function RY(Q){return Q==null?"":$$(Q)}var Y$;var Z$=X(()=>{J$();Y$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Y$(Q))}var q1;var b1=X(()=>{M();D1();r5();Z$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var X$;var H$=X(()=>{i1();X$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var W$;var x$=X(()=>{W$=LY});function fY(Q,J,Y){J=q1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var U$;var K$=X(()=>{b1();v1();M();g1();J1();u();U$=fY});function PY(Q,J){return Q!=null&&U$(Q,J,W$)}var G$;var B$=X(()=>{x$();K$();G$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=X$(Y,Q);return Z===void 0&&Z===J?G$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,N$;var w$=X(()=>{j1();H$();B$();D1();h1();n1();u();N$=_Y});function kY(Q){return Q}var z$;var F$=X(()=>{z$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var R$;var D$=X(()=>{R$=EY});function vY(Q){return function(J){return O1(J,Q)}}var q$;var O$=X(()=>{i1();q$=vY});function dY(Q){return n(Q)?R$(I(Q)):q$(Q)}var V$;var M$=X(()=>{D$();O$();D1();u();V$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return z$;if(typeof Q=="object")return w(Q)?N$(Q[0],Q[1]):i5(Q);return V$(Q)}var L$;var f$=X(()=>{u5();w$();F$();M();M$();L$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var P$;var I$=X(()=>{P$=pY});function yY(Q,J){return Q&&Q.length?P$(Q,L$(J,2)):0}var b;var C$=X(()=>{f$();I$();b=yY});import{randomUUID as u1}from"crypto";var _$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function k$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function oX(Q){c1=Q}function rX(){c1=void 0}var l1=null,V1,T1,c1;var E$=X(()=>{V1=new Map;T1=new Map});function v$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var d$=()=>{};import{realpathSync as g$}from"fs";import{cwd as mY}from"process";function Z9(Q){return o1.add(Q),()=>o1.delete(Q)}function X9(){L1()}function L1(){for(let Q of o1)try{Q()}catch{}}function p$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof g$==="function"){let Y=mY();try{Q=g$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),y$.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else r1=!0}function l9(){if(r1)S$()}function S$(){$.lastInteractionTime=Date.now(),r1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function o9(){return $.totalLinesRemoved}function r9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-s1}function QH(){return a1}function $H(Q){s1=A$(),a1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function PH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function oH(){return $.isInteractive}function rH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,k$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function o4(){return $.sessionTrustAccepted}function r4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function o3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function r3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var o1,$,y$,K9,r1=!1,s1=0,a1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{C$();_$();E$();d$();o1=new Set;$=p$();y$=v$();K9=y$.subscribe;AY=[]});
2
- export{p as rma,I1 as sma,zQ as tma,FQ as uma,qQ as vma,OQ as wma,_1 as xma,VQ as yma,fQ as zma,PQ as Ama,vQ as Bma,dQ as Cma,w as Dma,M as Ema,gQ as Fma,pQ as Gma,yQ as Hma,mQ as Ima,SQ as Jma,AQ as Kma,hQ as Lma,nQ as Mma,O as Nma,S as Oma,t as Pma,v1 as Qma,A as Rma,d1 as Sma,$1 as Tma,g1 as Uma,Q5 as Vma,$5 as Wma,X1 as Xma,Z5 as Yma,H1 as Zma,y1 as _ma,H5 as $ma,W5 as ana,x5 as bna,U5 as cna,K5 as dna,G5 as ena,R5 as fna,D5 as gna,W1 as hna,m1 as ina,S1 as jna,q5 as kna,G1 as lna,f5 as mna,A1 as nna,v5 as ona,w1 as pna,j1 as qna,h as rna,R1 as sna,s5 as tna,a5 as una,Y$ as vna,Z$ as wna,q1 as xna,b1 as yna,I as zna,u as Ana,O1 as Bna,i1 as Cna,z$ as Dna,F$ as Ena,L$ as Fna,f$ as Gna,nX as Hna,bX as Ina,iX as Jna,uX as Kna,lX as Lna,TX as Mna,k$ as Nna,cX as Ona,oX as Pna,rX as Qna,E$ as Rna,v$ as Sna,d$ as Tna,Z9 as Una,X9 as Vna,H9 as Wna,W9 as Xna,x9 as Yna,U9 as Zna,K9 as _na,G9 as $na,B9 as aoa,N9 as boa,w9 as coa,z9 as doa,F9 as eoa,R9 as foa,D9 as goa,q9 as hoa,O9 as ioa,V9 as joa,M9 as koa,L9 as loa,f9 as moa,P9 as noa,I9 as ooa,C9 as poa,_9 as qoa,k9 as roa,E9 as soa,v9 as toa,d9 as uoa,g9 as voa,p9 as woa,y9 as xoa,m9 as yoa,S9 as zoa,A9 as Aoa,j9 as Boa,h9 as Coa,n9 as Doa,b9 as Eoa,i9 as Foa,u9 as Goa,l9 as Hoa,T9 as Ioa,c9 as Joa,o9 as Koa,r9 as Loa,A$ as Moa,s9 as Noa,a9 as Ooa,t9 as Poa,e9 as Qoa,QH as Roa,$H as Soa,JH as Toa,YH as Uoa,ZH as Voa,XH as Woa,HH as Xoa,WH as Yoa,xH as Zoa,UH as _oa,KH as $oa,GH as apa,BH as bpa,NH as cpa,wH as dpa,zH as epa,FH as fpa,RH as gpa,DH as hpa,qH as ipa,OH as jpa,VH as kpa,MH as lpa,LH as mpa,fH as npa,PH as opa,IH as ppa,CH as qpa,_H as rpa,kH as spa,EH as tpa,vH as upa,dH as vpa,gH as wpa,pH as xpa,yH as ypa,mH as zpa,SH as Apa,AH as Bpa,jH as Cpa,hH as Dpa,nH as Epa,bH as Fpa,iH as Gpa,uH as Hpa,lH as Ipa,TH as Jpa,cH as Kpa,SY as Lpa,oH as Mpa,rH as Npa,sH as Opa,aH as Ppa,tH as Qpa,eH as Rpa,Q4 as Spa,$4 as Tpa,J4 as Upa,Y4 as Vpa,Z4 as Wpa,X4 as Xpa,H4 as Ypa,W4 as Zpa,x4 as _pa,U4 as $pa,K4 as aqa,G4 as bqa,B4 as cqa,N4 as dqa,w4 as eqa,z4 as fqa,F4 as gqa,R4 as hqa,D4 as iqa,q4 as jqa,O4 as kqa,V4 as lqa,M4 as mqa,L4 as nqa,f4 as oqa,P4 as pqa,I4 as qqa,C4 as rqa,_4 as sqa,k4 as tqa,E4 as uqa,v4 as vqa,d4 as wqa,g4 as xqa,p4 as yqa,y4 as zqa,m4 as Aqa,S4 as Bqa,A4 as Cqa,j4 as Dqa,h4 as Eqa,n4 as Fqa,b4 as Gqa,i4 as Hqa,u4 as Iqa,l4 as Jqa,T4 as Kqa,c4 as Lqa,o4 as Mqa,r4 as Nqa,s4 as Oqa,a4 as Pqa,t4 as Qqa,e4 as Rqa,Q3 as Sqa,$3 as Tqa,J3 as Uqa,Y3 as Vqa,Z3 as Wqa,X3 as Xqa,H3 as Yqa,W3 as Zqa,x3 as _qa,U3 as $qa,K3 as ara,G3 as bra,B3 as cra,N3 as dra,w3 as era,z3 as fra,F3 as gra,R3 as hra,D3 as ira,q3 as jra,O3 as kra,V3 as lra,M3 as mra,L3 as nra,f3 as ora,P3 as pra,I3 as qra,C3 as rra,_3 as sra,k3 as tra,E3 as ura,v3 as vra,d3 as wra,g3 as xra,p3 as yra,y3 as zra,m3 as Ara,S3 as Bra,A3 as Cra,j3 as Dra,h3 as Era,n3 as Fra,b3 as Gra,i3 as Hra,u3 as Ira,l3 as Jra,T3 as Kra,c3 as Lra,o3 as Mra,r3 as Nra,s3 as Ora,jY as Pra,a3 as Qra,t3 as Rra,e3 as Sra,QW as Tra,$W as Ura,hY as Vra};
@@ -1,4 +0,0 @@
1
- import{Lh as g,Mh as Py}from"./cli-1.1.27-hh78rvvf.mjs";import{mj as s,oj as d,pj as $y}from"./cli-1.1.27-1ztbchyz.mjs";import{Ay as q,By as Zy,CM as n,Cr as A,Do as L,Fo as V,Ho as Y,Il as F,Ko as D,Lo as M,Lr as Qy,MM as vy,Ml as Iy,Mo as C,Oo as T,ST as c,TM as x,Uo as Ky,Vt as O,Wr as E,XM as Ny,_r as Wy,bu as Xy,lQ as l,mU as py,mr as f,tM as Q,uM as Ry,vr as u}from"./cli-1.1.27-w8pwj9ef.mjs";import{UX as i,VX as Oy}from"./cli-1.1.27-7jakzfss.mjs";import{BZ as Uy,vZ as _,wZ as a,xZ as t}from"./cli-1.1.27-9chfrr9e.mjs";import{HZ as o,NZ as hy}from"./cli-1.1.27-f218cppx.mjs";import{D1 as k,E1 as Jy}from"./cli-1.1.27-6spv5ha8.mjs";import{F9 as zy,W7 as qy,m9 as Z,v7 as m,w7 as B}from"./cli-1.1.27-xdfkhk5m.mjs";import{$9 as p,a_ as ry}from"./cli-1.1.27-vh1r16sd.mjs";import{Eca as j,Gaa as wy,Gca as jy,Iaa as X,Jaa as Sy,Qea as b,Vea as K,Wfa as R,Zfa as w,gfa as ky,jaa as h,sga as v,zaa as H}from"./cli-1.1.27-48ezce33.mjs";import{Yia as z,ija as Gy}from"./cli-1.1.27-dfww0knt.mjs";import{Ala as yy,xla as U}from"./cli-1.1.27-r335xv52.mjs";v();function Vy(y){let r=w().numStartups;R((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function N(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Xy();ky();hy();Jy();Py();Zy();Iy();zy();Oy();v();Qy();jy();Wy();wy();Ky();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var W;async function Hy(){if(W!==void 0)return W;let y=await n();return W=Q in y,W}async function P(y,r,G){if(!await Hy())return!1;if(x(`${y}@${Q}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(E(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=w(),r=K(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return U(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await H()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=w();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&p.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>X()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>K().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!L())return!1;if(X()!=="macos")return!1;switch(j.terminal){case"vscode":return!await C();case"cursor":return!await D();case"windsurf":return!await M();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(V())return!1;if((await Y()).length!==0)return!1;return(await T()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>X()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>l()&&w().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${q("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=m()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
- ${k("suggestion",y.theme)(`/plugin install frontend-design@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
- ${k("suggestion",y.theme)(`/plugin install vercel@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!f(B()))return!1;if(b("policySettings")?.effortLevel!==void 0)return!1;if(A()!==void 0)return!1;let y=u();if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!F())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=K().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=K().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>N(J.id)>=J.cooldownSessions),...S]}
4
- export{Vy as wb,N as xb,kr as yb};
@@ -1,2 +0,0 @@
1
- import{ky as C,ny as X}from"./cli-1.1.27-w8pwj9ef.mjs";import{X4 as W}from"./cli-1.1.27-m5wtrd2b.mjs";import{C7 as I,P7 as J,W7 as V}from"./cli-1.1.27-xdfkhk5m.mjs";import{Pia as H,ija as T}from"./cli-1.1.27-dfww0knt.mjs";import{Ita as P,Mta as Q}from"./cli-1.1.27-8vrv0ver.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
2
- export{v as Pd,Y as Qd};
@@ -1,2 +0,0 @@
1
- import{IM as C,Lp as N,MM as S,Mp as D,Np as x,PM as O,Qp as A,Rp as b,VM as _,XM as P,aN as h,bN as f,fN as c}from"./cli-1.1.27-w8pwj9ef.mjs";import{Eda as L,Mda as v,Qea as G,Sea as M,Sha as H,Vea as R,_ha as T,gfa as E}from"./cli-1.1.27-48ezce33.mjs";import{Gja as U,Ija as F}from"./cli-1.1.27-cxy3fqs0.mjs";import{Ala as y,xla as w}from"./cli-1.1.27-r335xv52.mjs";import{Mta as m}from"./cli-1.1.27-8vrv0ver.mjs";import{join as I}from"path";async function e(){let q=R(),J=[],Q=N();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=N();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=G(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)w(`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 w(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([z,K])=>`${z}(${K})`).join(", ")}`),q}function zq(q){return x[q]}async function Jq(){_().catch((Q)=>{H(Q)});let q=O(),J=Object.keys(q.plugins);return w(`Found ${J.length} installed plugins`),J}async function Kq(q,J,Q="user"){let z=Q!=="user"?U():void 0,K=A(Q),W=G(K),V={...W?.enabledPlugins},Y=[],B=[];for(let k=0;k<q.length;k++){let X=q[k];if(!X)continue;if(J)J(X,k+1,q.length);try{let Z=await C(X);if(!Z){B.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:j}=Z;if(!L($.source))await h(X,$,Q,z);else f({pluginId:X,installPath:I(j,$.source),version:$.version},Q,z);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);B.push({name:X,error:$}),H(Z)}}return M(K,{...W,enabledPlugins:V}),{installed:Y,failed:B}}var p=m(()=>{F();y();T();E();D();P();S();b();c();v()});
2
- export{e as Ce,qq as De,zq as Ee,Jq as Fe,Kq as Ge,p as He};
@@ -1,3 +0,0 @@
1
- import{I as k}from"./cli-1.1.27-4an77vdm.mjs";import{Jha as $,Kha as F,Qha as z,Rha as H,_ha as P}from"./cli-1.1.27-48ezce33.mjs";import{Aka as B,Ala as E,Cka as L,ala as O,fla as N,jla as V,nla as C,xla as X,yka as _,zka as A}from"./cli-1.1.27-r335xv52.mjs";import{Vra as w,Wna as Z}from"./cli-1.1.27-m6ne80zc.mjs";import{Ysa as q,ota as y}from"./cli-1.1.27-4cjm0m5c.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 v(G,K){}function f(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=f(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),v(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 e(){M(),k()}
3
- export{e as G};
@@ -1,2 +0,0 @@
1
- import{Lta as Q,Mta as U}from"./cli-1.1.27-8vrv0ver.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
- export{K as xta,w as yta,L as zta};
@@ -1,2 +0,0 @@
1
- import{Mta as j}from"./cli-1.1.27-8vrv0ver.mjs";var q,w;var v=j(()=>{q=["acceptEdits","bypassPermissions","default","dontAsk","plan"],w=[...q,"auto"]});
2
- export{q as Mia,w as Nia,v as Oia};
@@ -1,2 +0,0 @@
1
- import{je as F,me as A}from"./cli-1.1.27-42wr3qtg.mjs";import{Pe as D,Se as H,Ue as _}from"./cli-1.1.27-t13xq38e.mjs";import{Ysa as U,ota as P}from"./cli-1.1.27-4cjm0m5c.mjs";P();_();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 L extends Error{status;errorType;constructor(J,K,Z){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=Z}}function y(J){function K(q){J.onDebug?.(q)}let Z=0,V=100;function X(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},W=J.getTrustedDeviceToken?.();if(W)z["X-Trusted-Device-Token"]=W;return z}function C(){let q=J.getAccessToken();if(!q)throw Error(F);return q}async function M(q,z){let W=C(),Q=await q(W);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(W)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let $=C(),N=await q($);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((W)=>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:X(W),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] >>> ${D({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] <<< ${D(z.data)}`),z.data},async pollForWork(q,z,W,Q){j(q,"environmentId");let Y=Z;Z=0;let $=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:X(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:W,validateStatus:(N)=>N<500});if(G($.status,$.data,"Poll"),!$.data){if(Z=Y+1,Z===1||Z%V===0)K(`[bridge:api] GET .../work/poll -> ${$.status} (no work, ${Z} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${$.status} workId=${$.data.id} type=${$.data.data?.type}${$.data.data?.id?` sessionId=${$.data.data.id}`:""}`),K(`[bridge:api] <<< ${D($.data)}`),$.data},async acknowledgeWork(q,z,W){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:X(W),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,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${W}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:W},{headers:X(Y),timeout:1e4,validateStatus:($)=>$<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((W)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:X(W),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((W)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:X(W),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 W=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:X(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(W.status,W.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${W.status}`)},async heartbeatWork(q,z,W){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:X(W),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,W){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:X(W),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] >>> ${D({events:[z]})}`),K(`[bridge:api] <<< ${D(Q.data)}`)}}}function G(J,K,Z){if(J===200||J===204)return;let V=H(K),X=B(K);switch(J){case 401:throw new L(`${Z}: Authentication failed (401)${V?`: ${V}`:""}. ${F}`,401,X);case 403:throw new L(S(X)?"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.":`${Z}: Access denied (403)${V?`: ${V}`:""}. Check your organization permissions.`,403,X);case 404:throw new L(V??`${Z}: Not found (404). Remote Control may not be available for this organization.`,404,X);case 410:throw new L(V??"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.",410,X??"environment_expired");case 429:throw Error(`${Z}: Rate limited (429). Polling too frequently.`);default:throw Error(`${Z}: Failed with status ${J}${V?`: ${V}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function E(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 T(J){let K=new AbortController;function Z(){K.abort(),K=new AbortController}function V(){let X=new AbortController,C=()=>X.abort();if(J.aborted||K.signal.aborted)return X.abort(),{signal:X.signal,cleanup:()=>{}};J.addEventListener("abort",C,{once:!0});let M=K.signal;return M.addEventListener("abort",C,{once:!0}),{signal:X.signal,cleanup:()=>{J.removeEventListener("abort",C),M.removeEventListener("abort",C)}}}return{signal:V,wake:Z}}
2
- export{j as ea,L as fa,y as ga,S as ha,E as ia,T as ja};