@claudiolabs/claudin 0.6.2 → 0.6.3

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 (853) hide show
  1. package/dist/chunks/AgentTool-0.6.3-w39w1tm9.mjs +1 -0
  2. package/dist/chunks/App-0.6.3-bf23q7fe.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.3-kmctgnz2.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.3-0ep3n5s0.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.3-vxra859t.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.3-kk7w26bg.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.3-xvx07sv4.mjs +3 -0
  10. package/dist/chunks/Doctor-0.6.3-4jwxgrk8.mjs +1 -0
  11. package/dist/chunks/Grove-0.6.3-g8cwnttq.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.6.3-jdkqh9bh.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.6.3-0k9mawc3.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.6.3-j8rff6m8.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.6.3-car6y4n7.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.6.3-m7danhhz.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.6.3-pwe3440b.mjs +1 -0
  18. package/dist/chunks/REPL-0.6.3-fgapj6pt.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.6.3-8m1y0n85.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.6.3-btb0czta.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.6.3-0cvtw4gc.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.6.3-3ns6hahg.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.6.3-82jmwxw0.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.6.3-ampabjvv.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.6.3-8nqsgt07.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.6.3-vd2hj09s.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.6.3-b2vqxf8h.mjs +1 -0
  28. package/dist/chunks/add-dir-0.6.3-g1q6rzd5.mjs +1 -0
  29. package/dist/chunks/agents-0.6.3-q5xaz38q.mjs +3 -0
  30. package/dist/chunks/agents-0.6.3-x369fczx.mjs +110 -0
  31. package/dist/chunks/api-0.6.3-c8cpd5e4.mjs +1 -0
  32. package/dist/chunks/asciicast-0.6.3-ph0g3j31.mjs +1 -0
  33. package/dist/chunks/assistant-0.6.3-zzx692bw.mjs +1 -0
  34. package/dist/chunks/auth-0.6.3-4t0t2nkn.mjs +1 -0
  35. package/dist/chunks/auth-0.6.3-s9a1xnxb.mjs +1 -0
  36. package/dist/chunks/autoMode-0.6.3-aha41tt9.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.6.3-nknpfabv.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.6.3-t18m5mxn.mjs +1 -0
  39. package/dist/chunks/branch-0.6.3-mm6nsq5m.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.6.3-96b73p4h.mjs +1 -0
  41. package/dist/chunks/btw-0.6.3-3ad5s4cs.mjs +1 -0
  42. package/dist/chunks/buddy-0.6.3-fv2jmxew.mjs +3 -0
  43. package/dist/chunks/cacache-0.6.3-8n06prq8.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.6.3-vwte845g.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.6.3-3knz38ev.mjs +4 -0
  46. package/dist/chunks/caches-0.6.3-ab262f7m.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.6.3-sw2jgmfw.mjs +1 -0
  48. package/dist/chunks/claudemd-0.6.3-ppznmrv5.mjs +1 -0
  49. package/dist/chunks/clear-0.6.3-q5ygewg2.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.6.3-k13xzp29.mjs +1 -0
  51. package/dist/chunks/cli-0.6.3-0cpgmzyt.mjs +2 -0
  52. package/dist/chunks/cli-0.6.3-0d5cxdkq.mjs +2 -0
  53. package/dist/chunks/cli-0.6.3-0f2ybbnq.mjs +2 -0
  54. package/dist/chunks/cli-0.6.3-0xzsm005.mjs +2 -0
  55. package/dist/chunks/cli-0.6.3-1hr1gfgx.mjs +2 -0
  56. package/dist/chunks/cli-0.6.3-20mtfrec.mjs +2 -0
  57. package/dist/chunks/cli-0.6.3-2seqm104.mjs +4 -0
  58. package/dist/chunks/cli-0.6.3-2znr1dn6.mjs +2 -0
  59. package/dist/chunks/cli-0.6.3-307m09be.mjs +3 -0
  60. package/dist/chunks/cli-0.6.3-32ma4ryx.mjs +58 -0
  61. package/dist/chunks/cli-0.6.3-3k3fr10v.mjs +2 -0
  62. package/dist/chunks/cli-0.6.3-3sga01kt.mjs +2 -0
  63. package/dist/chunks/cli-0.6.3-40mx2zxs.mjs +2 -0
  64. package/dist/chunks/cli-0.6.3-4jyjt985.mjs +2 -0
  65. package/dist/chunks/cli-0.6.3-4n393st8.mjs +2 -0
  66. package/dist/chunks/cli-0.6.3-4tqk3dby.mjs +12 -0
  67. package/dist/chunks/cli-0.6.3-4y6pfyfp.mjs +2 -0
  68. package/dist/chunks/cli-0.6.3-4z9781g7.mjs +2 -0
  69. package/dist/chunks/cli-0.6.3-4zj0d42m.mjs +18 -0
  70. package/dist/chunks/cli-0.6.3-5nfphar2.mjs +3 -0
  71. package/dist/chunks/cli-0.6.3-5pxyd9b0.mjs +4 -0
  72. package/dist/chunks/cli-0.6.3-5rwq19xb.mjs +2 -0
  73. package/dist/chunks/cli-0.6.3-5t2m3g99.mjs +2 -0
  74. package/dist/chunks/cli-0.6.3-6a21y020.mjs +2 -0
  75. package/dist/chunks/cli-0.6.3-6ax8m5hv.mjs +6 -0
  76. package/dist/chunks/cli-0.6.3-6cgyr2zy.mjs +4 -0
  77. package/dist/chunks/cli-0.6.3-6cvpnccg.mjs +4 -0
  78. package/dist/chunks/cli-0.6.3-6ee9dyyg.mjs +3 -0
  79. package/dist/chunks/cli-0.6.3-6h30fzt5.mjs +17 -0
  80. package/dist/chunks/cli-0.6.3-6n6gtkcy.mjs +2 -0
  81. package/dist/chunks/cli-0.6.3-6njpepxe.mjs +2 -0
  82. package/dist/chunks/cli-0.6.3-6yfw5hn3.mjs +2 -0
  83. package/dist/chunks/cli-0.6.3-7adzjn5q.mjs +34 -0
  84. package/dist/chunks/cli-0.6.3-7g460zkw.mjs +2 -0
  85. package/dist/chunks/cli-0.6.3-7qg9g8tc.mjs +2 -0
  86. package/dist/chunks/cli-0.6.3-81rrwwcp.mjs +2 -0
  87. package/dist/chunks/cli-0.6.3-8cn32ma4.mjs +2 -0
  88. package/dist/chunks/cli-0.6.3-8dsgn7hp.mjs +2 -0
  89. package/dist/chunks/cli-0.6.3-8ea1a14z.mjs +2 -0
  90. package/dist/chunks/cli-0.6.3-8ggghhkx.mjs +2 -0
  91. package/dist/chunks/cli-0.6.3-8qad2cfe.mjs +3 -0
  92. package/dist/chunks/cli-0.6.3-8syjpqfr.mjs +4 -0
  93. package/dist/chunks/cli-0.6.3-92dx7xfh.mjs +2 -0
  94. package/dist/chunks/cli-0.6.3-92mddczk.mjs +2 -0
  95. package/dist/chunks/cli-0.6.3-97118c51.mjs +2 -0
  96. package/dist/chunks/cli-0.6.3-99kq55gd.mjs +2 -0
  97. package/dist/chunks/cli-0.6.3-99tcx5qw.mjs +2 -0
  98. package/dist/chunks/cli-0.6.3-9swe2gr2.mjs +45 -0
  99. package/dist/chunks/cli-0.6.3-a9z41xw7.mjs +2 -0
  100. package/dist/chunks/cli-0.6.3-aa0b2a2r.mjs +2 -0
  101. package/dist/chunks/cli-0.6.3-aazxr34f.mjs +2 -0
  102. package/dist/chunks/cli-0.6.3-aexkp8kj.mjs +2 -0
  103. package/dist/chunks/cli-0.6.3-ajqkhkc8.mjs +3 -0
  104. package/dist/chunks/cli-0.6.3-apnw4sqn.mjs +2 -0
  105. package/dist/chunks/cli-0.6.3-ar7px1cs.mjs +3 -0
  106. package/dist/chunks/cli-0.6.3-aw337kkj.mjs +3 -0
  107. package/dist/chunks/cli-0.6.3-b773k4ts.mjs +2 -0
  108. package/dist/chunks/cli-0.6.3-b8vfg8at.mjs +2 -0
  109. package/dist/chunks/cli-0.6.3-bcqjyxwt.mjs +2 -0
  110. package/dist/chunks/cli-0.6.3-be9988sa.mjs +67 -0
  111. package/dist/chunks/cli-0.6.3-bm4fb040.mjs +2 -0
  112. package/dist/chunks/cli-0.6.3-bv459f1w.mjs +50 -0
  113. package/dist/chunks/cli-0.6.3-cbyjhbhd.mjs +2 -0
  114. package/dist/chunks/cli-0.6.3-ce093xrt.mjs +2 -0
  115. package/dist/chunks/cli-0.6.3-cfgaczs0.mjs +9 -0
  116. package/dist/chunks/cli-0.6.3-cn73stdt.mjs +2 -0
  117. package/dist/chunks/cli-0.6.3-cry1qz3j.mjs +2 -0
  118. package/dist/chunks/cli-0.6.3-ct7rzynk.mjs +25 -0
  119. package/dist/chunks/cli-0.6.3-cz70v0dc.mjs +193 -0
  120. package/dist/chunks/cli-0.6.3-dcddpada.mjs +2 -0
  121. package/dist/chunks/cli-0.6.3-djx10r48.mjs +2 -0
  122. package/dist/chunks/cli-0.6.3-dv7ypjqm.mjs +42 -0
  123. package/dist/chunks/cli-0.6.3-dx1n041e.mjs +4 -0
  124. package/dist/chunks/cli-0.6.3-e56v1kt5.mjs +2 -0
  125. package/dist/chunks/cli-0.6.3-ee53b5tf.mjs +2 -0
  126. package/dist/chunks/cli-0.6.3-efydy6w2.mjs +2 -0
  127. package/dist/chunks/cli-0.6.3-ejr47y1x.mjs +2 -0
  128. package/dist/chunks/cli-0.6.3-eqnnyg8r.mjs +10 -0
  129. package/dist/chunks/cli-0.6.3-es8pf0wd.mjs +5 -0
  130. package/dist/chunks/cli-0.6.3-eytmae68.mjs +2 -0
  131. package/dist/chunks/cli-0.6.3-f2hnrcvv.mjs +2 -0
  132. package/dist/chunks/cli-0.6.3-f6vwjwer.mjs +2 -0
  133. package/dist/chunks/cli-0.6.3-fdr38m0k.mjs +2 -0
  134. package/dist/chunks/cli-0.6.3-fdye25f4.mjs +21 -0
  135. package/dist/chunks/cli-0.6.3-fhets69t.mjs +2 -0
  136. package/dist/chunks/cli-0.6.3-fws87r5f.mjs +2 -0
  137. package/dist/chunks/cli-0.6.3-fz79skca.mjs +133 -0
  138. package/dist/chunks/cli-0.6.3-g48fakzt.mjs +4 -0
  139. package/dist/chunks/cli-0.6.3-g4gt6qj9.mjs +18 -0
  140. package/dist/chunks/cli-0.6.3-g4y759q5.mjs +2 -0
  141. package/dist/chunks/cli-0.6.3-g7nc10fr.mjs +2 -0
  142. package/dist/chunks/cli-0.6.3-g7yry9cm.mjs +2 -0
  143. package/dist/chunks/cli-0.6.3-gcncppqh.mjs +2 -0
  144. package/dist/chunks/cli-0.6.3-gm6gpvcp.mjs +2 -0
  145. package/dist/chunks/cli-0.6.3-gmb75jnx.mjs +2 -0
  146. package/dist/chunks/cli-0.6.3-grerfrmn.mjs +2 -0
  147. package/dist/chunks/cli-0.6.3-gywe2011.mjs +2 -0
  148. package/dist/chunks/cli-0.6.3-gz3mwtfc.mjs +15 -0
  149. package/dist/chunks/cli-0.6.3-h1yy6vwa.mjs +3 -0
  150. package/dist/chunks/cli-0.6.3-h9dw5s07.mjs +2 -0
  151. package/dist/chunks/cli-0.6.3-h9pgh5g6.mjs +3 -0
  152. package/dist/chunks/cli-0.6.3-hccmsmnq.mjs +2 -0
  153. package/dist/chunks/cli-0.6.3-hz8r1b9m.mjs +2 -0
  154. package/dist/chunks/cli-0.6.3-jc158pav.mjs +3 -0
  155. package/dist/chunks/cli-0.6.3-jh5sabys.mjs +2 -0
  156. package/dist/chunks/cli-0.6.3-jwkcjnvk.mjs +2 -0
  157. package/dist/chunks/cli-0.6.3-k2n0q631.mjs +39 -0
  158. package/dist/chunks/cli-0.6.3-k5rdtkfr.mjs +3 -0
  159. package/dist/chunks/cli-0.6.3-kay5e0jz.mjs +2 -0
  160. package/dist/chunks/cli-0.6.3-kfn8srsd.mjs +2 -0
  161. package/dist/chunks/cli-0.6.3-kwnp45kq.mjs +2 -0
  162. package/dist/chunks/cli-0.6.3-kz9egvgw.mjs +5323 -0
  163. package/dist/chunks/cli-0.6.3-m74nx2m5.mjs +2 -0
  164. package/dist/chunks/cli-0.6.3-mc6kp3j9.mjs +18 -0
  165. package/dist/chunks/cli-0.6.3-mcmskrq3.mjs +7 -0
  166. package/dist/chunks/cli-0.6.3-mwmvdr0y.mjs +2 -0
  167. package/dist/chunks/cli-0.6.3-mwvq805r.mjs +2 -0
  168. package/dist/chunks/cli-0.6.3-n0nvqsep.mjs +2 -0
  169. package/dist/chunks/cli-0.6.3-n2d97bhc.mjs +2 -0
  170. package/dist/chunks/cli-0.6.3-n3f5zh7x.mjs +2 -0
  171. package/dist/chunks/cli-0.6.3-n95caxs7.mjs +6 -0
  172. package/dist/chunks/cli-0.6.3-nawttnnp.mjs +16 -0
  173. package/dist/chunks/cli-0.6.3-ny9veqgk.mjs +2 -0
  174. package/dist/chunks/cli-0.6.3-p3cb5wr9.mjs +4 -0
  175. package/dist/chunks/cli-0.6.3-p6tkk7cq.mjs +2 -0
  176. package/dist/chunks/cli-0.6.3-pj26ahpb.mjs +15 -0
  177. package/dist/chunks/cli-0.6.3-pqq8j8h2.mjs +2 -0
  178. package/dist/chunks/cli-0.6.3-przsjt5w.mjs +2 -0
  179. package/dist/chunks/cli-0.6.3-pt8n31ph.mjs +2 -0
  180. package/dist/chunks/cli-0.6.3-q35m6zsh.mjs +2 -0
  181. package/dist/chunks/cli-0.6.3-qh59pqrb.mjs +2 -0
  182. package/dist/chunks/cli-0.6.3-qj1bfrer.mjs +15 -0
  183. package/dist/chunks/cli-0.6.3-qse47680.mjs +5 -0
  184. package/dist/chunks/cli-0.6.3-qt063vx3.mjs +2 -0
  185. package/dist/chunks/cli-0.6.3-r08n6yst.mjs +2 -0
  186. package/dist/chunks/cli-0.6.3-r0chaj0m.mjs +2 -0
  187. package/dist/chunks/cli-0.6.3-r0pavcpp.mjs +2 -0
  188. package/dist/chunks/cli-0.6.3-r8snnnev.mjs +2 -0
  189. package/dist/chunks/cli-0.6.3-r9spk5d9.mjs +2 -0
  190. package/dist/chunks/cli-0.6.3-razq4hma.mjs +2 -0
  191. package/dist/chunks/cli-0.6.3-rbhgbyc8.mjs +24 -0
  192. package/dist/chunks/cli-0.6.3-rcd74wx6.mjs +9 -0
  193. package/dist/chunks/cli-0.6.3-rha5x3b1.mjs +2 -0
  194. package/dist/chunks/cli-0.6.3-rm69szc5.mjs +2 -0
  195. package/dist/chunks/cli-0.6.3-rxzhhezk.mjs +2 -0
  196. package/dist/chunks/cli-0.6.3-ry8ff2h4.mjs +4 -0
  197. package/dist/chunks/cli-0.6.3-rz3jyy54.mjs +133 -0
  198. package/dist/chunks/cli-0.6.3-rzva33s6.mjs +2 -0
  199. package/dist/chunks/cli-0.6.3-s12drscf.mjs +2 -0
  200. package/dist/chunks/cli-0.6.3-sxj65pz4.mjs +2 -0
  201. package/dist/chunks/cli-0.6.3-syb9w8h5.mjs +2 -0
  202. package/dist/chunks/cli-0.6.3-sz0yt1ax.mjs +59 -0
  203. package/dist/chunks/cli-0.6.3-te71cc6c.mjs +8 -0
  204. package/dist/chunks/cli-0.6.3-tjykjtxh.mjs +6 -0
  205. package/dist/chunks/cli-0.6.3-v3fjzj8a.mjs +12 -0
  206. package/dist/chunks/cli-0.6.3-vcpzn6r6.mjs +2 -0
  207. package/dist/chunks/cli-0.6.3-vdzjz0qm.mjs +2 -0
  208. package/dist/chunks/cli-0.6.3-ve8f981m.mjs +3 -0
  209. package/dist/chunks/cli-0.6.3-vp1zy3b1.mjs +2 -0
  210. package/dist/chunks/cli-0.6.3-vsvcyfnd.mjs +17 -0
  211. package/dist/chunks/cli-0.6.3-w038em13.mjs +2 -0
  212. package/dist/chunks/cli-0.6.3-w3rq9jx1.mjs +2 -0
  213. package/dist/chunks/cli-0.6.3-wfrn6z2y.mjs +24 -0
  214. package/dist/chunks/cli-0.6.3-whtn6spz.mjs +2 -0
  215. package/dist/chunks/cli-0.6.3-wr2sys6k.mjs +2 -0
  216. package/dist/chunks/cli-0.6.3-wvdzc276.mjs +1 -0
  217. package/dist/chunks/cli-0.6.3-wwmrkyrs.mjs +20 -0
  218. package/dist/chunks/cli-0.6.3-wws3zqpm.mjs +2 -0
  219. package/dist/chunks/cli-0.6.3-x6f1pr27.mjs +2 -0
  220. package/dist/chunks/cli-0.6.3-x78bwn0g.mjs +5 -0
  221. package/dist/chunks/cli-0.6.3-xe5mxfxe.mjs +2 -0
  222. package/dist/chunks/cli-0.6.3-xewp168m.mjs +2 -0
  223. package/dist/chunks/cli-0.6.3-y1aakb6y.mjs +2 -0
  224. package/dist/chunks/cli-0.6.3-y1mm0v8x.mjs +2 -0
  225. package/dist/chunks/cli-0.6.3-y30hptm0.mjs +2 -0
  226. package/dist/chunks/cli-0.6.3-y61armem.mjs +2 -0
  227. package/dist/chunks/cli-0.6.3-y8ymw6ed.mjs +2 -0
  228. package/dist/chunks/cli-0.6.3-yk56wjb7.mjs +2 -0
  229. package/dist/chunks/cli-0.6.3-ym6dcvjc.mjs +2 -0
  230. package/dist/chunks/cli-0.6.3-ymhjs7dc.mjs +2 -0
  231. package/dist/chunks/cli-0.6.3-ysazbe18.mjs +2 -0
  232. package/dist/chunks/cli-0.6.3-ywk23cbf.mjs +2 -0
  233. package/dist/chunks/cli-0.6.3-z19b5v43.mjs +2 -0
  234. package/dist/chunks/cli-0.6.3-z6sz55zd.mjs +2 -0
  235. package/dist/chunks/cli-0.6.3-z8vc44s1.mjs +2 -0
  236. package/dist/chunks/cli-0.6.3-zd6bnvyc.mjs +4 -0
  237. package/dist/chunks/cli-0.6.3-zmn1fgaa.mjs +2 -0
  238. package/dist/chunks/cli-0.6.3-zqvgfprs.mjs +2 -0
  239. package/dist/chunks/cli-0.6.3-zy0jc7vm.mjs +12 -0
  240. package/dist/chunks/cli-0.6.3-zyrsvq59.mjs +2 -0
  241. package/dist/chunks/client-0.6.3-6pn9sb4n.mjs +1 -0
  242. package/dist/chunks/color-0.6.3-2hpfj774.mjs +1 -0
  243. package/dist/chunks/compact-0.6.3-dnwdmmz1.mjs +3 -0
  244. package/dist/chunks/config-0.6.3-tjhtvb07.mjs +1 -0
  245. package/dist/chunks/config-0.6.3-z2wgyz10.mjs +1 -0
  246. package/dist/chunks/constants-0.6.3-qha9fz15.mjs +1 -0
  247. package/dist/chunks/context-0.6.3-vka61j1y.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.6.3-eztt7zsf.mjs +1 -0
  249. package/dist/chunks/conversation-0.6.3-2ek3hdrq.mjs +1 -0
  250. package/dist/chunks/copilotHeaders-0.6.3-62c0y07g.mjs +1 -0
  251. package/dist/chunks/copy-0.6.3-gekdww8z.mjs +9 -0
  252. package/dist/chunks/cost-0.6.3-a2yhjbn3.mjs +1 -0
  253. package/dist/chunks/createSSHSession-0.6.3-5tn04mse.mjs +1 -0
  254. package/dist/chunks/createSession-0.6.3-kyn5dc4w.mjs +1 -0
  255. package/dist/chunks/debug-0.6.3-66czfwwr.mjs +1 -0
  256. package/dist/chunks/defaultActionDeps-0.6.3-x9wk9j9m.mjs +1365 -0
  257. package/dist/chunks/desktop-0.6.3-p8kgbeab.mjs +1 -0
  258. package/dist/chunks/detectRepository-0.6.3-8698wvb5.mjs +1 -0
  259. package/dist/chunks/detection-0.6.3-1y7661gd.mjs +1 -0
  260. package/dist/chunks/diff-0.6.3-mk0y1bzd.mjs +1 -0
  261. package/dist/chunks/doctor-0.6.3-xvwcr7dp.mjs +1 -0
  262. package/dist/chunks/doctorDiagnostic-0.6.3-th9mec17.mjs +1 -0
  263. package/dist/chunks/earlyInput-0.6.3-642zt7fp.mjs +1 -0
  264. package/dist/chunks/effort-0.6.3-zvkntxpn.mjs +10 -0
  265. package/dist/chunks/envUtils-0.6.3-yazqghf2.mjs +1 -0
  266. package/dist/chunks/environmentSelection-0.6.3-0bcr6rhg.mjs +1 -0
  267. package/dist/chunks/environments-0.6.3-2tyy264w.mjs +1 -0
  268. package/dist/chunks/errors-0.6.3-65brz247.mjs +1 -0
  269. package/dist/chunks/exampleCommands-0.6.3-ktqksq57.mjs +1 -0
  270. package/dist/chunks/exit-0.6.3-0ce6gh5m.mjs +1 -0
  271. package/dist/chunks/export-0.6.3-e2mjekav.mjs +2 -0
  272. package/dist/chunks/extra-usage-0.6.3-hqp8h6yy.mjs +1 -0
  273. package/dist/chunks/extra-usage-noninteractive-0.6.3-rfyx9kw2.mjs +1 -0
  274. package/dist/chunks/fast-0.6.3-1jg7ysjx.mjs +1 -0
  275. package/dist/chunks/feedback-0.6.3-1tb6qds2.mjs +14 -0
  276. package/dist/chunks/firstPartyEventLogger-0.6.3-c9kfz0k1.mjs +1 -0
  277. package/dist/chunks/git-0.6.3-vzgvhd0s.mjs +1 -0
  278. package/dist/chunks/githubModelsCredentials-0.6.3-9qcrf80c.mjs +1 -0
  279. package/dist/chunks/goal-0.6.3-mf91z3fg.mjs +4 -0
  280. package/dist/chunks/grove-0.6.3-mmn276sp.mjs +1 -0
  281. package/dist/chunks/growthbook-0.6.3-4p9xew93.mjs +1 -0
  282. package/dist/chunks/headless-0.6.3-qgmxgj70.mjs +2 -0
  283. package/dist/chunks/heapdump-0.6.3-2w4fe2zs.mjs +6 -0
  284. package/dist/chunks/help-0.6.3-wf4xf793.mjs +1 -0
  285. package/dist/chunks/hookChains-0.6.3-q342m95f.mjs +3 -0
  286. package/dist/chunks/hooks-0.6.3-0r48akk8.mjs +79 -0
  287. package/dist/chunks/hooks-0.6.3-r14ya7wn.mjs +1 -0
  288. package/dist/chunks/ide-0.6.3-ad8afpp9.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-0.6.3-tva04ya1.mjs +1 -0
  290. package/dist/chunks/index-0.6.3-0hyrtrrm.mjs +9 -0
  291. package/dist/chunks/index-0.6.3-0vhzk5yx.mjs +5 -0
  292. package/dist/chunks/index-0.6.3-1ykp8wv0.mjs +2 -0
  293. package/dist/chunks/index-0.6.3-2bzz31fe.mjs +1 -0
  294. package/dist/chunks/index-0.6.3-55v75g6w.mjs +1 -0
  295. package/dist/chunks/index-0.6.3-6rpbscw7.mjs +17 -0
  296. package/dist/chunks/index-0.6.3-7mch7z3a.mjs +1 -0
  297. package/dist/chunks/index-0.6.3-858y11er.mjs +1 -0
  298. package/dist/chunks/index-0.6.3-a40sh9ap.mjs +1 -0
  299. package/dist/chunks/index-0.6.3-aj0c98mr.mjs +1 -0
  300. package/dist/chunks/index-0.6.3-b9fkqrrw.mjs +1 -0
  301. package/dist/chunks/index-0.6.3-f5732qxw.mjs +1 -0
  302. package/dist/chunks/index-0.6.3-f5w18za6.mjs +1 -0
  303. package/dist/chunks/index-0.6.3-f6h116cn.mjs +2 -0
  304. package/dist/chunks/index-0.6.3-htq5dpvs.mjs +30 -0
  305. package/dist/chunks/index-0.6.3-hv4mfh2n.mjs +1 -0
  306. package/dist/chunks/index-0.6.3-kadhv0zg.mjs +9 -0
  307. package/dist/chunks/index-0.6.3-tsd8ykv3.mjs +1 -0
  308. package/dist/chunks/index-0.6.3-w2hywyvr.mjs +1 -0
  309. package/dist/chunks/index-0.6.3-wk9kzbcz.mjs +1 -0
  310. package/dist/chunks/index-0.6.3-ygqhtfnf.mjs +1 -0
  311. package/dist/chunks/index-0.6.3-yvah3e6g.mjs +1 -0
  312. package/dist/chunks/init-0.6.3-xaeb8hxb.mjs +1 -0
  313. package/dist/chunks/initReplBridge-0.6.3-nmmr7v8v.mjs +1 -0
  314. package/dist/chunks/ink-0.6.3-6m2sw7dq.mjs +1 -0
  315. package/dist/chunks/insights-0.6.3-6b93b8nm.mjs +870 -0
  316. package/dist/chunks/install-0.6.3-y9zek66z.mjs +1 -0
  317. package/dist/chunks/install-github-app-0.6.3-899pnvtd.mjs +149 -0
  318. package/dist/chunks/install-slack-app-0.6.3-f8saspck.mjs +1 -0
  319. package/dist/chunks/instrumentation-0.6.3-defghs68.mjs +1 -0
  320. package/dist/chunks/interactiveHelpers-0.6.3-7ec0qnvv.mjs +1 -0
  321. package/dist/chunks/keybindings-0.6.3-eh7rjbha.mjs +2 -0
  322. package/dist/chunks/knowledge-0.6.3-a7pn2e1w.mjs +2 -0
  323. package/dist/chunks/latestVersionCache-0.6.3-vf3mkz2d.mjs +1 -0
  324. package/dist/chunks/loadAgentsDir-0.6.3-ykqa9b2g.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-0.6.3-jxaehczd.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-0.6.3-mfka3vhj.mjs +1 -0
  327. package/dist/chunks/log-0.6.3-g789gq0t.mjs +1 -0
  328. package/dist/chunks/main-0.6.3-50ac806r.mjs +1 -0
  329. package/dist/chunks/managedEnv-0.6.3-q5zxn368.mjs +1 -0
  330. package/dist/chunks/mcp-0.6.3-4x3akzq5.mjs +4 -0
  331. package/dist/chunks/mcp-0.6.3-e3me04x4.mjs +17 -0
  332. package/dist/chunks/mcp-0.6.3-z1ebxf4w.mjs +1 -0
  333. package/dist/chunks/mcpb-0.6.3-sh1jp60e.mjs +1 -0
  334. package/dist/chunks/memory-0.6.3-03636fpt.mjs +3 -0
  335. package/dist/chunks/mobile-0.6.3-xz0z3r1b.mjs +2 -0
  336. package/dist/chunks/model-0.6.3-s0ftwaqt.mjs +1 -0
  337. package/dist/chunks/model-0.6.3-yzwee2pm.mjs +2 -0
  338. package/dist/chunks/node-0.6.3-ne7h3hdm.mjs +12 -0
  339. package/dist/chunks/oauth-0.6.3-vxgkeqfx.mjs +1 -0
  340. package/dist/chunks/openaiShim-0.6.3-4y4sanm3.mjs +14 -0
  341. package/dist/chunks/output-style-0.6.3-y1p13wj7.mjs +1 -0
  342. package/dist/chunks/package-D6422PQU-0.6.3-x4wa2xz2.mjs +1 -0
  343. package/dist/chunks/parseConnectUrl-0.6.3-her0fmnw.mjs +1 -0
  344. package/dist/chunks/parser-0.6.3-c46sjdq2.mjs +1 -0
  345. package/dist/chunks/passes-0.6.3-egz6jv5r.mjs +1 -0
  346. package/dist/chunks/permissions-0.6.3-8bgzzv8a.mjs +3 -0
  347. package/dist/chunks/plan-0.6.3-2fftma7h.mjs +1 -0
  348. package/dist/chunks/plist-0.6.3-h310zzhq.mjs +1 -0
  349. package/dist/chunks/plugin-0.6.3-5vjh0ct6.mjs +29 -0
  350. package/dist/chunks/pluginStartupCheck-0.6.3-jqsmye9d.mjs +1 -0
  351. package/dist/chunks/plugins-0.6.3-feg1sfss.mjs +9 -0
  352. package/dist/chunks/preActionHook-0.6.3-7zkaatsy.mjs +2 -0
  353. package/dist/chunks/print-0.6.3-q8j3mpqd.mjs +57 -0
  354. package/dist/chunks/privacy-settings-0.6.3-7td307c8.mjs +1 -0
  355. package/dist/chunks/process-0.6.3-xfesfn5r.mjs +1 -0
  356. package/dist/chunks/processBashCommand-0.6.3-jh7fc2p4.mjs +1 -0
  357. package/dist/chunks/processSlashCommand-0.6.3-bf00222w.mjs +9 -0
  358. package/dist/chunks/prompt-0.6.3-2n702z0c.mjs +1 -0
  359. package/dist/chunks/prompt-0.6.3-61gvwdqd.mjs +1 -0
  360. package/dist/chunks/prompts-0.6.3-gctcm2tt.mjs +1 -0
  361. package/dist/chunks/protocolHandler-0.6.3-nkgq5zh2.mjs +13 -0
  362. package/dist/chunks/provider-0.6.3-dz35mvz8.mjs +2 -0
  363. package/dist/chunks/providerProfiles-0.6.3-sc68wn0p.mjs +1 -0
  364. package/dist/chunks/providerValidation-0.6.3-tz2xs2w2.mjs +6 -0
  365. package/dist/chunks/rate-limit-options-0.6.3-q18p5fyf.mjs +1 -0
  366. package/dist/chunks/registerSubcommands-0.6.3-68qc2fq7.mjs +34 -0
  367. package/dist/chunks/registry-0.6.3-ftde6jbj.mjs +1 -0
  368. package/dist/chunks/release-notes-0.6.3-sape6p4t.mjs +5 -0
  369. package/dist/chunks/reload-plugins-0.6.3-1ww9raz4.mjs +2 -0
  370. package/dist/chunks/remote-env-0.6.3-3ck8cv8d.mjs +1 -0
  371. package/dist/chunks/remoteBridgeCore-0.6.3-5s27069y.mjs +1 -0
  372. package/dist/chunks/remoteSession-0.6.3-h9rgyr6h.mjs +1 -0
  373. package/dist/chunks/rename-0.6.3-f6d3tb9q.mjs +1 -0
  374. package/dist/chunks/replBridgeHandle-0.6.3-03kbs579.mjs +1 -0
  375. package/dist/chunks/replLauncher-0.6.3-m72mhx4g.mjs +1 -0
  376. package/dist/chunks/resume-0.6.3-ddb3xb3e.mjs +2 -0
  377. package/dist/chunks/rewind-0.6.3-rr4jn9nq.mjs +1 -0
  378. package/dist/chunks/rootOptions-0.6.3-z0z2w1ta.mjs +1 -0
  379. package/dist/chunks/sandbox-adapter-0.6.3-h9z3rn4v.mjs +1 -0
  380. package/dist/chunks/sandbox-toggle-0.6.3-1z9yck8k.mjs +1 -0
  381. package/dist/chunks/session-0.6.3-697bvb39.mjs +2 -0
  382. package/dist/chunks/sessionDiscovery-0.6.3-k3n13gqg.mjs +1 -0
  383. package/dist/chunks/sessionFileAccessHooks-0.6.3-kgecz2s9.mjs +1 -0
  384. package/dist/chunks/sessionStorage-0.6.3-04ceqntr.mjs +1 -0
  385. package/dist/chunks/settings-0.6.3-1wnc9skg.mjs +1 -0
  386. package/dist/chunks/setup-0.6.3-7eq77dy4.mjs +5 -0
  387. package/dist/chunks/sinks-0.6.3-ph10xa21.mjs +1 -0
  388. package/dist/chunks/skills-0.6.3-sk53kf9f.mjs +1 -0
  389. package/dist/chunks/startupProfiler-0.6.3-mmnjxrje.mjs +1 -0
  390. package/dist/chunks/startupUpdateCheck-0.6.3-0hwcpdc7.mjs +1 -0
  391. package/dist/chunks/state-0.6.3-e3zvped3.mjs +1 -0
  392. package/dist/chunks/stats-0.6.3-8wqbhpqy.mjs +6 -0
  393. package/dist/chunks/status-0.6.3-xjt0xtzy.mjs +1 -0
  394. package/dist/chunks/stickers-0.6.3-vs74c03z.mjs +1 -0
  395. package/dist/chunks/subprocessEnv-0.6.3-5dg03vx3.mjs +1 -0
  396. package/dist/chunks/tasks-0.6.3-dxy60zkj.mjs +1 -0
  397. package/dist/chunks/teamHelpers-0.6.3-jqpd5tn3.mjs +1 -0
  398. package/dist/chunks/teammateModeSnapshot-0.6.3-fpdghs7t.mjs +1 -0
  399. package/dist/chunks/teleport-0.6.3-46bbcspy.mjs +1 -0
  400. package/dist/chunks/terminalSetup-0.6.3-ww94vcqs.mjs +1 -0
  401. package/dist/chunks/theme-0.6.3-kjdtgstr.mjs +1 -0
  402. package/dist/chunks/thinkback-0.6.3-1txnapj2.mjs +1 -0
  403. package/dist/chunks/thinkback-play-0.6.3-96tda7vb.mjs +1 -0
  404. package/dist/chunks/toolPool-0.6.3-0e12cvy1.mjs +1 -0
  405. package/dist/chunks/toolSearch-0.6.3-d1pppx0c.mjs +1 -0
  406. package/dist/chunks/tools-0.6.3-w0rtmt3t.mjs +1 -0
  407. package/dist/chunks/trustedDevice-0.6.3-qap15xhb.mjs +1 -0
  408. package/dist/chunks/turndown.cjs-0.6.3-9pgbeyf6.mjs +69 -0
  409. package/dist/chunks/ultrareviewCommand-0.6.3-v4wvkr58.mjs +4 -0
  410. package/dist/chunks/update-0.6.3-6tah7v14.mjs +86 -0
  411. package/dist/chunks/upgrade-0.6.3-mtpg4ynr.mjs +1 -0
  412. package/dist/chunks/upstreamproxy-0.6.3-fg6qwves.mjs +14 -0
  413. package/dist/chunks/url-handler-napi-0.6.3-4zzkq08v.mjs +1 -0
  414. package/dist/chunks/usage-0.6.3-1b3cmsnk.mjs +1 -0
  415. package/dist/chunks/util-0.6.3-e72k34ck.mjs +1 -0
  416. package/dist/chunks/utils-0.6.3-ahkqyjmy.mjs +1 -0
  417. package/dist/chunks/vim-0.6.3-r0f9g732.mjs +1 -0
  418. package/dist/chunks/watcher-0.6.3-5xzd92av.mjs +1 -0
  419. package/dist/chunks/wiki-0.6.3-ytee2j21.mjs +132 -0
  420. package/dist/chunks/worktree-0.6.3-cmybg2s4.mjs +1 -0
  421. package/dist/chunks/worktreeModeEnabled-0.6.3-8k06dfjq.mjs +1 -0
  422. package/dist/chunks/wrapper-0.6.3-hct87zwr.mjs +7 -0
  423. package/dist/claudin-vscode.vsix +0 -0
  424. package/dist/cli.mjs +2 -2
  425. package/package.json +1 -1
  426. package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +0 -1
  427. package/dist/chunks/App-0.6.2-81hq55t1.mjs +0 -1
  428. package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +0 -1
  429. package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +0 -1
  430. package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +0 -1
  431. package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +0 -1
  432. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +0 -1
  433. package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +0 -1
  434. package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +0 -3
  435. package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +0 -1
  436. package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +0 -1
  437. package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +0 -1
  438. package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +0 -1
  439. package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +0 -1
  440. package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +0 -1
  441. package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +0 -1
  442. package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +0 -1
  443. package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +0 -1
  444. package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +0 -1
  445. package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +0 -1
  446. package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +0 -1
  447. package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +0 -1
  448. package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +0 -1
  449. package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +0 -9
  450. package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +0 -1
  451. package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +0 -1
  452. package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +0 -1
  453. package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +0 -1
  454. package/dist/chunks/agents-0.6.2-pwkawpda.mjs +0 -110
  455. package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +0 -3
  456. package/dist/chunks/api-0.6.2-r9z30232.mjs +0 -1
  457. package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +0 -1
  458. package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +0 -1
  459. package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +0 -1
  460. package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +0 -1
  461. package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +0 -48
  462. package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +0 -1
  463. package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +0 -1
  464. package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +0 -4
  465. package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +0 -1
  466. package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +0 -1
  467. package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +0 -3
  468. package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +0 -1
  469. package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +0 -21
  470. package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +0 -4
  471. package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +0 -1
  472. package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +0 -1
  473. package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +0 -1
  474. package/dist/chunks/clear-0.6.2-301n503a.mjs +0 -1
  475. package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +0 -1
  476. package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +0 -42
  477. package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +0 -4
  478. package/dist/chunks/cli-0.6.2-0p39svq8.mjs +0 -2
  479. package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +0 -2
  480. package/dist/chunks/cli-0.6.2-1ahapm20.mjs +0 -2
  481. package/dist/chunks/cli-0.6.2-1b9hx344.mjs +0 -2
  482. package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +0 -2
  483. package/dist/chunks/cli-0.6.2-1hrabb68.mjs +0 -3
  484. package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +0 -9
  485. package/dist/chunks/cli-0.6.2-1y907j57.mjs +0 -2
  486. package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +0 -2
  487. package/dist/chunks/cli-0.6.2-26qywcgz.mjs +0 -2
  488. package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +0 -2
  489. package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +0 -3
  490. package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +0 -2
  491. package/dist/chunks/cli-0.6.2-2z19ppek.mjs +0 -15
  492. package/dist/chunks/cli-0.6.2-334vw6ys.mjs +0 -2
  493. package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +0 -2
  494. package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +0 -2
  495. package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +0 -2
  496. package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +0 -2
  497. package/dist/chunks/cli-0.6.2-42d88f3r.mjs +0 -2
  498. package/dist/chunks/cli-0.6.2-43f0sknv.mjs +0 -2
  499. package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +0 -2
  500. package/dist/chunks/cli-0.6.2-4a5t390f.mjs +0 -2
  501. package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +0 -15
  502. package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +0 -2
  503. package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +0 -39
  504. package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +0 -5323
  505. package/dist/chunks/cli-0.6.2-4py7r63v.mjs +0 -2
  506. package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +0 -59
  507. package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +0 -2
  508. package/dist/chunks/cli-0.6.2-5jempndm.mjs +0 -133
  509. package/dist/chunks/cli-0.6.2-657fbmws.mjs +0 -2
  510. package/dist/chunks/cli-0.6.2-6bacgc39.mjs +0 -3
  511. package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +0 -5
  512. package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +0 -2
  513. package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +0 -3
  514. package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +0 -3
  515. package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +0 -4
  516. package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +0 -2
  517. package/dist/chunks/cli-0.6.2-7egesyh9.mjs +0 -4
  518. package/dist/chunks/cli-0.6.2-7rmm482v.mjs +0 -12
  519. package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +0 -2
  520. package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +0 -25
  521. package/dist/chunks/cli-0.6.2-83ennmm8.mjs +0 -21
  522. package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +0 -2
  523. package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +0 -5
  524. package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +0 -10
  525. package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +0 -2
  526. package/dist/chunks/cli-0.6.2-974c5e67.mjs +0 -9
  527. package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +0 -2
  528. package/dist/chunks/cli-0.6.2-9mwrq250.mjs +0 -3
  529. package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +0 -2
  530. package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +0 -2
  531. package/dist/chunks/cli-0.6.2-9qtj477e.mjs +0 -2
  532. package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +0 -2
  533. package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +0 -4
  534. package/dist/chunks/cli-0.6.2-a8atyp18.mjs +0 -2
  535. package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +0 -2
  536. package/dist/chunks/cli-0.6.2-aq30pg47.mjs +0 -2
  537. package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +0 -6
  538. package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +0 -2
  539. package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +0 -2
  540. package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +0 -2
  541. package/dist/chunks/cli-0.6.2-bkff60ff.mjs +0 -2
  542. package/dist/chunks/cli-0.6.2-br678d1b.mjs +0 -8
  543. package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +0 -2
  544. package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +0 -2
  545. package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +0 -2
  546. package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +0 -4
  547. package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +0 -2
  548. package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +0 -2
  549. package/dist/chunks/cli-0.6.2-d3evezft.mjs +0 -1
  550. package/dist/chunks/cli-0.6.2-d3y2w089.mjs +0 -2
  551. package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +0 -2
  552. package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +0 -12
  553. package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +0 -2
  554. package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +0 -2
  555. package/dist/chunks/cli-0.6.2-dv8abe56.mjs +0 -7
  556. package/dist/chunks/cli-0.6.2-dx6qfese.mjs +0 -2
  557. package/dist/chunks/cli-0.6.2-dy4zwces.mjs +0 -2
  558. package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +0 -2
  559. package/dist/chunks/cli-0.6.2-e26khw0m.mjs +0 -6
  560. package/dist/chunks/cli-0.6.2-e66qz53g.mjs +0 -2
  561. package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +0 -16
  562. package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +0 -45
  563. package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +0 -5
  564. package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +0 -2
  565. package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +0 -2
  566. package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +0 -2
  567. package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +0 -2
  568. package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +0 -2
  569. package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +0 -6
  570. package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +0 -2
  571. package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +0 -2
  572. package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +0 -2
  573. package/dist/chunks/cli-0.6.2-grf75vb7.mjs +0 -2
  574. package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +0 -2
  575. package/dist/chunks/cli-0.6.2-h72p44ws.mjs +0 -24
  576. package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +0 -2
  577. package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +0 -193
  578. package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +0 -2
  579. package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +0 -2
  580. package/dist/chunks/cli-0.6.2-hqmcear6.mjs +0 -2
  581. package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +0 -34
  582. package/dist/chunks/cli-0.6.2-j05kmd43.mjs +0 -2
  583. package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +0 -2
  584. package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +0 -2
  585. package/dist/chunks/cli-0.6.2-jrb4f391.mjs +0 -15
  586. package/dist/chunks/cli-0.6.2-jrpted0b.mjs +0 -2
  587. package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +0 -2
  588. package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +0 -2
  589. package/dist/chunks/cli-0.6.2-k9v931hm.mjs +0 -2
  590. package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +0 -2
  591. package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +0 -2
  592. package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +0 -4
  593. package/dist/chunks/cli-0.6.2-ky1drj50.mjs +0 -2
  594. package/dist/chunks/cli-0.6.2-mabejxsw.mjs +0 -4
  595. package/dist/chunks/cli-0.6.2-majp93c4.mjs +0 -2
  596. package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +0 -2
  597. package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +0 -3
  598. package/dist/chunks/cli-0.6.2-n9610c8k.mjs +0 -2
  599. package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +0 -2
  600. package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +0 -2
  601. package/dist/chunks/cli-0.6.2-nwzye174.mjs +0 -2
  602. package/dist/chunks/cli-0.6.2-p0jszyht.mjs +0 -3
  603. package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +0 -58
  604. package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +0 -2
  605. package/dist/chunks/cli-0.6.2-q45wdma3.mjs +0 -3
  606. package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +0 -2
  607. package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +0 -2
  608. package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +0 -2
  609. package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +0 -2
  610. package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +0 -2
  611. package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +0 -2
  612. package/dist/chunks/cli-0.6.2-r4p904h3.mjs +0 -67
  613. package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +0 -2
  614. package/dist/chunks/cli-0.6.2-rde30n8x.mjs +0 -2
  615. package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +0 -2
  616. package/dist/chunks/cli-0.6.2-red287ya.mjs +0 -2
  617. package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +0 -2
  618. package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +0 -2
  619. package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +0 -17
  620. package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +0 -24
  621. package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +0 -2
  622. package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +0 -2
  623. package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +0 -2
  624. package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +0 -2
  625. package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +0 -2
  626. package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +0 -133
  627. package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +0 -2
  628. package/dist/chunks/cli-0.6.2-t038jmme.mjs +0 -3
  629. package/dist/chunks/cli-0.6.2-t3e59m32.mjs +0 -2
  630. package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +0 -2
  631. package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +0 -2
  632. package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +0 -2
  633. package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +0 -2
  634. package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +0 -50
  635. package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +0 -20
  636. package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +0 -2
  637. package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +0 -2
  638. package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +0 -2
  639. package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +0 -2
  640. package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +0 -2
  641. package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +0 -18
  642. package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +0 -2
  643. package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +0 -3
  644. package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +0 -2
  645. package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +0 -2
  646. package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +0 -12
  647. package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +0 -2
  648. package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +0 -2
  649. package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +0 -18
  650. package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +0 -2
  651. package/dist/chunks/cli-0.6.2-yep449sd.mjs +0 -17
  652. package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +0 -2
  653. package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +0 -2
  654. package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +0 -4
  655. package/dist/chunks/cli-0.6.2-yysvdabq.mjs +0 -2
  656. package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +0 -4
  657. package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +0 -3
  658. package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +0 -4
  659. package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +0 -2
  660. package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +0 -18
  661. package/dist/chunks/cli-0.6.2-zaahyems.mjs +0 -2
  662. package/dist/chunks/cli-0.6.2-zftyh47j.mjs +0 -2
  663. package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +0 -2
  664. package/dist/chunks/cli-0.6.2-zs4qp487.mjs +0 -2
  665. package/dist/chunks/client-0.6.2-8b0s065m.mjs +0 -1
  666. package/dist/chunks/color-0.6.2-jza3jez4.mjs +0 -1
  667. package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +0 -3
  668. package/dist/chunks/config-0.6.2-qjwjrd75.mjs +0 -1
  669. package/dist/chunks/config-0.6.2-xac3sjb7.mjs +0 -1
  670. package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +0 -1
  671. package/dist/chunks/context-0.6.2-w965073f.mjs +0 -1
  672. package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +0 -1
  673. package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +0 -1
  674. package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +0 -1
  675. package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +0 -9
  676. package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +0 -1
  677. package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +0 -1
  678. package/dist/chunks/createSession-0.6.2-axgp009k.mjs +0 -1
  679. package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +0 -1
  680. package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +0 -1365
  681. package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +0 -1
  682. package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +0 -1
  683. package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +0 -1
  684. package/dist/chunks/diff-0.6.2-md180qh9.mjs +0 -1
  685. package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +0 -1
  686. package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +0 -1
  687. package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +0 -1
  688. package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +0 -10
  689. package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +0 -1
  690. package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +0 -1
  691. package/dist/chunks/environments-0.6.2-fe197syt.mjs +0 -1
  692. package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +0 -1
  693. package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +0 -1
  694. package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +0 -1
  695. package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +0 -2
  696. package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +0 -1
  697. package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +0 -1
  698. package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +0 -1
  699. package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +0 -14
  700. package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +0 -1
  701. package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +0 -1
  702. package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +0 -1
  703. package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +0 -4
  704. package/dist/chunks/grove-0.6.2-a2wgccag.mjs +0 -1
  705. package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +0 -1
  706. package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +0 -2
  707. package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +0 -6
  708. package/dist/chunks/help-0.6.2-c49svpae.mjs +0 -1
  709. package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +0 -3
  710. package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +0 -1
  711. package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +0 -79
  712. package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +0 -3
  713. package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +0 -1
  714. package/dist/chunks/index-0.6.2-1kk3erm5.mjs +0 -9
  715. package/dist/chunks/index-0.6.2-21nak3ad.mjs +0 -1
  716. package/dist/chunks/index-0.6.2-2vns8v9p.mjs +0 -1
  717. package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +0 -1
  718. package/dist/chunks/index-0.6.2-3g92ew8z.mjs +0 -1
  719. package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +0 -1
  720. package/dist/chunks/index-0.6.2-88m8k4cp.mjs +0 -1
  721. package/dist/chunks/index-0.6.2-93bh3w93.mjs +0 -1
  722. package/dist/chunks/index-0.6.2-9e0qz384.mjs +0 -1
  723. package/dist/chunks/index-0.6.2-emm65q8h.mjs +0 -17
  724. package/dist/chunks/index-0.6.2-ff57yvh3.mjs +0 -1
  725. package/dist/chunks/index-0.6.2-g6xy97jv.mjs +0 -1
  726. package/dist/chunks/index-0.6.2-h37g7n0s.mjs +0 -9
  727. package/dist/chunks/index-0.6.2-h8jkf613.mjs +0 -5
  728. package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +0 -1
  729. package/dist/chunks/index-0.6.2-jw83xhc8.mjs +0 -2
  730. package/dist/chunks/index-0.6.2-mehn31e3.mjs +0 -30
  731. package/dist/chunks/index-0.6.2-naw1d8mg.mjs +0 -2
  732. package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +0 -1
  733. package/dist/chunks/index-0.6.2-qn0re7sj.mjs +0 -1
  734. package/dist/chunks/index-0.6.2-tftj6wdh.mjs +0 -1
  735. package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +0 -1
  736. package/dist/chunks/init-0.6.2-47k2caay.mjs +0 -1
  737. package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +0 -1
  738. package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +0 -1
  739. package/dist/chunks/insights-0.6.2-st861yg4.mjs +0 -870
  740. package/dist/chunks/install-0.6.2-webkhwz9.mjs +0 -1
  741. package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +0 -149
  742. package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +0 -1
  743. package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +0 -1
  744. package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +0 -1
  745. package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +0 -2
  746. package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +0 -2
  747. package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +0 -1
  748. package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +0 -1
  749. package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +0 -1
  750. package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +0 -1
  751. package/dist/chunks/log-0.6.2-h02k5q0p.mjs +0 -1
  752. package/dist/chunks/main-0.6.2-51xvrsbq.mjs +0 -1
  753. package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +0 -1
  754. package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +0 -17
  755. package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +0 -4
  756. package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +0 -1
  757. package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +0 -1
  758. package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +0 -3
  759. package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +0 -2
  760. package/dist/chunks/model-0.6.2-49f9g2vz.mjs +0 -2
  761. package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +0 -1
  762. package/dist/chunks/node-0.6.2-40bknjza.mjs +0 -12
  763. package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +0 -1
  764. package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +0 -14
  765. package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +0 -1
  766. package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +0 -1
  767. package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +0 -1
  768. package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +0 -1
  769. package/dist/chunks/passes-0.6.2-kadygcw6.mjs +0 -1
  770. package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +0 -3
  771. package/dist/chunks/plan-0.6.2-hzbsezab.mjs +0 -1
  772. package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +0 -1
  773. package/dist/chunks/plugin-0.6.2-pr48413e.mjs +0 -29
  774. package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +0 -1
  775. package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +0 -9
  776. package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +0 -2
  777. package/dist/chunks/print-0.6.2-ng7p0m66.mjs +0 -57
  778. package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +0 -1
  779. package/dist/chunks/process-0.6.2-7k26fk4b.mjs +0 -1
  780. package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +0 -1
  781. package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +0 -9
  782. package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +0 -1
  783. package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +0 -1
  784. package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +0 -1
  785. package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +0 -13
  786. package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +0 -2
  787. package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +0 -1
  788. package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +0 -6
  789. package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +0 -1
  790. package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +0 -34
  791. package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +0 -1
  792. package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +0 -5
  793. package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +0 -2
  794. package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +0 -1
  795. package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +0 -1
  796. package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +0 -1
  797. package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +0 -1
  798. package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +0 -1
  799. package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +0 -1
  800. package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +0 -2
  801. package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +0 -1
  802. package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +0 -1
  803. package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +0 -1
  804. package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +0 -1
  805. package/dist/chunks/session-0.6.2-k41jbqwf.mjs +0 -2
  806. package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +0 -1
  807. package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +0 -1
  808. package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +0 -1
  809. package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +0 -1
  810. package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +0 -5
  811. package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +0 -1
  812. package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +0 -1
  813. package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +0 -1
  814. package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +0 -1
  815. package/dist/chunks/state-0.6.2-nymhw7ey.mjs +0 -1
  816. package/dist/chunks/stats-0.6.2-skm9nakv.mjs +0 -6
  817. package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +0 -1
  818. package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +0 -1
  819. package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +0 -1
  820. package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +0 -1
  821. package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +0 -1
  822. package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +0 -1
  823. package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +0 -1
  824. package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +0 -1
  825. package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +0 -1
  826. package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +0 -1
  827. package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +0 -1
  828. package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +0 -1
  829. package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +0 -1
  830. package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +0 -1
  831. package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +0 -1
  832. package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +0 -69
  833. package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +0 -4
  834. package/dist/chunks/update-0.6.2-p8edrwg4.mjs +0 -86
  835. package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +0 -1
  836. package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +0 -14
  837. package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +0 -1
  838. package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +0 -1
  839. package/dist/chunks/util-0.6.2-yet75ms4.mjs +0 -1
  840. package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +0 -1
  841. package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +0 -1
  842. package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +0 -1
  843. package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +0 -132
  844. package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +0 -1
  845. package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +0 -1
  846. package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +0 -7
  847. /package/dist/chunks/{cli-0.6.2-qk6j042k.mjs → cli-0.6.3-1h3a97cb.mjs} +0 -0
  848. /package/dist/chunks/{cli-0.6.2-hb4fz4pd.mjs → cli-0.6.3-29t031py.mjs} +0 -0
  849. /package/dist/chunks/{cli-0.6.2-hkgnx8g7.mjs → cli-0.6.3-4k4zf43b.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.6.2-7p1ykg1m.mjs → cli-0.6.3-94pqfzn3.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.6.2-3eaaj6e5.mjs → cli-0.6.3-dvsz6151.mjs} +0 -0
  852. /package/dist/chunks/{cli-0.6.2-adegz2m3.mjs → cli-0.6.3-ecnnpsad.mjs} +0 -0
  853. /package/dist/chunks/{cli-0.6.2-1e5p6hw6.mjs → cli-0.6.3-v522ej7z.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{TF as U,UF as w}from"./cli-0.6.2-4p9wa0p6.mjs";import{RW as f,RY as k,kY as N,mY as O}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as M,q0 as H,r0 as R}from"./cli-0.6.2-jrpted0b.mjs";import{dpa as Y,hpa as Z}from"./cli-0.6.2-3rgtxc9f.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
- export{_ as Xf,A as Yf};
@@ -1,2 +0,0 @@
1
- import{RW as O}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as X,r0 as Q}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as b}from"./cli-0.6.2-d3y2w089.mjs";import{Qba as W,cca as P}from"./cli-0.6.2-hhjx89cr.mjs";import{dpa as U}from"./cli-0.6.2-3rgtxc9f.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
- export{V as xb,C as yb};
@@ -1,2 +0,0 @@
1
- import{hpa as j}from"./cli-0.6.2-3rgtxc9f.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
2
- export{x as f0,y as g0,z as h0,A as i0,B as j0,C as k0,D as l0,k as m0};
@@ -1,2 +0,0 @@
1
- import{ZV as y,_V as O}from"./cli-0.6.2-vfdaj8xa.mjs";import{RY as H,kY as h,mY as T}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as s,r0 as I}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as z}from"./cli-0.6.2-d3y2w089.mjs";import{w7 as R,x7 as V}from"./cli-0.6.2-hhjx89cr.mjs";import{Nda as i,Oda as A,Pda as E,Qda as p,dea as U}from"./cli-0.6.2-73vnf2t2.mjs";import{dpa as X,hpa as q}from"./cli-0.6.2-3rgtxc9f.mjs";function J(o){if(o.startsWith("file-"))return"+";if(o.startsWith("mcp-resource-"))return"◇";if(o.startsWith("agent-"))return"*";return"+"}function K(o){return o.startsWith("file-")||o.startsWith("mcp-resource-")||o.startsWith("agent-")}function Z({suggestions:o,selectedSuggestion:t,maxColumnWidth:m,overlay:e}){let{rows:a}=y(),r=e?Y:Math.min(14,Math.max(1,a-2));if(o.length===0)return null;let u=m??Math.max(...o.map((n)=>i(n.displayText)))+5,l=Math.max(0,Math.min(t-Math.floor(r/2),o.length-r)),f=Math.min(l+r,o.length),d=o.slice(l,f);return s(h,{flexDirection:"column",justifyContent:e?void 0:"flex-end",children:d.map((n)=>s(Q,{item:n,maxColumnWidth:u,isSelected:n.id===o[t]?.id},`${n.id}:${n.id===o[t]?.id?"selected":"idle"}`))})}var C,Y=10,k,G=" ",W,Q,at;var j=q(()=>{V();O();A();H();U();I();C=X(z(),1),k=`${R.pointer} `,W=i(k);Q=C.memo(function({item:t,maxColumnWidth:m,isSelected:e}){let a=y().columns,r=e?k:G,u=e?"suggestion":void 0,l=e?"inverseText":void 0;if(K(t.id)){let $=J(t.id),F=!e,N=t.id.startsWith("file-"),_=t.id.startsWith("mcp-resource-"),tt=2,ot=4,b=t.description?3:0,c;if(N){let x=t.description?Math.min(20,i(t.description)):0,L=a-W-2-4-b-x;c=E(t.displayText,L)}else if(_)c=p(t.displayText,30);else c=t.displayText;let v=a-W-2-i(c)-b-4,g;if(t.description){let x=p(t.description.replace(/\s+/g," "),Math.max(0,v));g=`${r}${$} ${c} - ${x}`}else g=`${r}${$} ${c}`;return s(h,{width:"100%",opaque:!0,backgroundColor:u,children:s(T,{color:l,dimColor:F,bold:e,wrap:"truncate",children:g})})}let f=Math.floor(a*0.4),d=Math.min(m??i(t.displayText)+5,f),n=t.displayText;if(i(n)>d-2)n=p(n,d-2);let w=r+n+" ".repeat(Math.max(0,d-i(n))),M=t.tag?`[${t.tag}] `:"",P=i(M),D=Math.max(0,a-W-d-P-4),S=t.description?p(t.description.replace(/\s+/g," "),D):"",B=`${w}${M}${S}`;return s(h,{width:"100%",opaque:!0,backgroundColor:u,children:s(T,{color:l,dimColor:!e,bold:e,wrap:"truncate",children:B})})});at=C.memo(Z)});
2
- export{Z as nh,at as oh,j as ph};
@@ -1,2 +0,0 @@
1
- import{Aca as f,Gba as M,Jba as L,bca as G,cca as h,gca as v,hca as P,oca as k}from"./cli-0.6.2-hhjx89cr.mjs";import{Ufa as E,bga as x}from"./cli-0.6.2-qec7nrgw.mjs";import{Iha as T,Vha as u}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as C}from"./cli-0.6.2-3rgtxc9f.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
2
- export{Vj as Yb,Wj as Zb,e as _b,Xj as $b,Yj as ac,jj as bc};
@@ -1,2 +0,0 @@
1
- import{hpa as o}from"./cli-0.6.2-3rgtxc9f.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
2
- export{t as n6,i as o6,n as p6,s as q6,c as r6,r as s6,a as t6,p as u6,_ as v6,S as w6,E as x6,e as y6};
@@ -1,17 +0,0 @@
1
- import{L3 as x,R3 as K}from"./cli-0.6.2-ea8z1e2e.mjs";import{Jaa as w,Taa as J}from"./cli-0.6.2-hhjx89cr.mjs";import{$ea as v,lfa as I}from"./cli-0.6.2-9w9nmx9s.mjs";import{Lha as q,Vha as G}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as z}from"./cli-0.6.2-3rgtxc9f.mjs";function W(b){return b.type==="advisor_tool_result"||b.type==="server_tool_use"&&b.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDE_CODE_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let b=j();return k()&&!N()&&b.baseModel&&b.advisorModel?{baseModel:b.baseModel,advisorModel:b.advisorModel}:void 0}function Z(b){let h=b.toLowerCase();return h.includes("opus-4-8")||h.includes("opus-4-7")||h.includes("opus-4-6")||h.includes("sonnet-4-6")}function $(b){let h=b.toLowerCase();return h.includes("opus-4-8")||h.includes("opus-4-7")||h.includes("opus-4-6")||h.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(b){let h=b.iterations;if(!h)return[];return h.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
2
-
3
- You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
4
-
5
- Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
6
-
7
- Also call advisor:
8
- - When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
9
- - When stuck -- errors recurring, approach not converging, results that don't fit.
10
- - When considering a change of approach.
11
-
12
- On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
13
-
14
- Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
15
-
16
- If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
17
- export{W as sS,k as tS,N as uS,X as vS,Z as wS,$ as xS,B as yS,D as zS,F as AS,O as BS};
@@ -1,24 +0,0 @@
1
- import{La as DY}from"./cli-0.6.2-hkgnx8g7.mjs";import{nc as LY,qc as iQ}from"./cli-0.6.2-h18w4nmy.mjs";import{ah as V0,bh as p6}from"./cli-0.6.2-vrv3r8v9.mjs";import{uh as pY,vh as A6}from"./cli-0.6.2-g5akhdzk.mjs";import{$v as l0,Ao as iZ,BL as rQ,Bo as AY,Cj as L9,Co as FZ,Dj as u6,Do as _Y,Ej as z9,Fj as q9,GO as rY,Gi as KZ,Gj as bZ,HI as P9,Hj as Y0,IM as dY,Ij as D9,JB as NY,JI as F9,Ji as E0,Jj as XZ,KB as nQ,KM as lY,Kj as Q0,LB as RY,Lj as v9,Mj as A9,NB as z6,NI as M9,NN as s,Nj as sY,OM as w6,Oi as hY,Oy as uY,PO as iY,Pv as h0,Qv as uZ,Qy as v6,RB as n,Rv as k0,Sv as x0,TB as U6,TF as T0,TN as aY,TO as zY,Tv as u0,UF as s9,UI as o6,Uv as p0,Uz as cY,Vv as pZ,Vz as _6,WO as qY,Wv as cZ,Wy as CY,Xn as j9,Xv as c0,Xy as TY,Yn as i6,Yv as m0,Yy as L6,ZH as PY,ZN as nY,Zv as g0,Zz as mY,_N as kZ,_v as d0,_z as O6,aI as J6,aw as a0,bw as n0,cO as xZ,cw as r0,dw as i0,ew as GQ,gE as C0,hE as o9,jl as yZ,ky as xY,lu as I0,ml as $Z,nl as e0,ny as D6,ou as i9,pr as M0,rs as ZY,sr as b0,ss as xQ,tO as wZ,tr as fZ,ts as JY,us as lQ,vs as kY,xB as HY,xr as r9,yB as aQ,zL as BY,zM as gY}from"./cli-0.6.2-4p9wa0p6.mjs";import{QT as Q9,UT as R6}from"./cli-0.6.2-h72p44ws.mjs";import{YU as P0,ZU as a9}from"./cli-0.6.2-4py7r63v.mjs";import{ZV as y0,_V as d9,lW as $0,mW as j0,nW as l9,tW as F0,uW as n9}from"./cli-0.6.2-vfdaj8xa.mjs";import{RW as m9,RY as g9,kY as p,mY as M}from"./cli-0.6.2-4r69ge5f.mjs";import{o0 as a,p0 as E,q0 as b,r0 as J0}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as c9}from"./cli-0.6.2-d3y2w089.mjs";import{$3 as jY,B2 as K6,Y4 as G6,x2 as $Y}from"./cli-0.6.2-ea8z1e2e.mjs";import{A$ as r6,Ada as e,I8 as a6,Ida as w0,J7 as GY,Kaa as yY,L$ as wY,L7 as dQ,M$ as EY,O$ as V6,O9 as n6,R9 as Y9,Taa as W6,W9 as T6,j8 as E9,n9 as TZ,p9 as x9,s9 as y9,t$ as $9,tda as U0,w7 as _Z,wda as p9,x7 as k9}from"./cli-0.6.2-hhjx89cr.mjs";import{$da as L0,Tda as B0,dea as h9}from"./cli-0.6.2-73vnf2t2.mjs";import{Nea as Y,Oea as h,Pea as JZ,Qea as q,Rea as EZ}from"./cli-0.6.2-r4p904h3.mjs";import{afa as oY,lfa as $6}from"./cli-0.6.2-9w9nmx9s.mjs";import{Afa as A0,Bfa as _0,Nfa as O0,Tfa as u9,ofa as UY,pfa as X6,rfa as RZ,ufa as z0,vfa as q0,wfa as D0,xfa as v0}from"./cli-0.6.2-d3ykxc81.mjs";import{cga as g,ega as UZ}from"./cli-0.6.2-vqt5hqzr.mjs";import{Jga as ZZ,Kga as WY,Oga as PZ,eha as I,hga as Z9,hha as HZ,jga as C6}from"./cli-0.6.2-g6c6hjc6.mjs";import{jha as KY,nha as gQ}from"./cli-0.6.2-cvr4dbfz.mjs";import{Fha as lZ,qha as VY,yha as w9,zha as tZ}from"./cli-0.6.2-0f9sh5z8.mjs";import{Fja as W0,Gja as eY,Oka as OY,ema as J9,fma as DZ,gma as H9,ima as N9,jma as X0,lma as B9,vna as IY,yna as BZ,zja as NZ}from"./cli-0.6.2-42d88f3r.mjs";import{dpa as N0,gpa as hZ,hpa as OZ,ipa as rZ}from"./cli-0.6.2-3rgtxc9f.mjs";var WQ={};hZ(WQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function SZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:V,onSummarize:W,onClose:H,preselectedMessage:G}){let K=I0((U)=>U.fileHistory),[B,z]=T.useState(void 0),J=M0(),L=T.useMemo(t9,[]),_=T.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[w,v]=T.useState(_.length-1),P=Math.max(0,Math.min(w-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[D,F]=T.useState(G),[y,S]=T.useState(void 0);T.useEffect(()=>{if(!G||!J)return;let U=!1;return fZ(K,G.uuid).then((R)=>{if(!U)S(R)}),()=>{U=!0}},[G,J,K]);let[O,$]=T.useState(!1),[d,i]=T.useState(null),[o,C]=T.useState("both"),[k,x]=T.useState(""),[A,j]=T.useState("");function N(U){let R=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],c={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return R.push({value:"summarize",label:"Summarize from here",...c,onChange:x}),R.push({value:"nevermind",label:"Never mind"}),R}T.useEffect(()=>{g("tengu_message_selector_opened",{})},[]);async function u(U){Z(),$(!0);try{await X(U),$(!1),H()}catch(R){e(R),$(!1),z(`Failed to restore the conversation:
2
- ${R}`)}}async function l(U){let R=Q.indexOf(U),c=Q.length-1-R;if(g("tengu_message_selector_selected",{index_from_end:c,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){H();return}if(!J){await u(U);return}let m=await fZ(K,U.uuid);F(U),S(m)}async function VZ(U){if(g("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(G)H();else F(void 0);return}if(SZ(U)){Z(),$(!0),i(U),z(void 0);try{let m=U==="summarize_up_to"?"up_to":"from",YZ=(m==="up_to"?A:k).trim()||void 0;await W(D,YZ,m),$(!1),i(null),F(void 0),H()}catch(m){e(m),$(!1),i(null),F(void 0),z(`Failed to summarize:
3
- ${m}`)}return}Z(),$(!0),z(void 0);let R=null,c=null;if(U==="code"||U==="both")try{await V(D)}catch(m){R=m,e(R)}if(U==="conversation"||U==="both")try{await X(D)}catch(m){c=m,e(c)}if($(!1),F(void 0),c&&R)z(`Failed to restore the conversation and code:
4
- ${c}
5
- ${R}`);else if(c)z(`Failed to restore the conversation:
6
- ${c}`);else if(R)z(`Failed to restore the code:
7
- ${R}`);else H()}let WZ=P0(),t=T.useCallback(()=>{if(D&&!G){F(void 0);return}g("tengu_message_selector_cancelled",{}),H()},[H,D,G]),I9=T.useCallback(()=>v((U)=>Math.max(0,U-1)),[]),C9=T.useCallback(()=>v((U)=>Math.min(_.length-1,U+1)),[_.length]),T9=T.useCallback(()=>v(0),[]),R9=T.useCallback(()=>v(_.length-1),[_.length]),f9=T.useCallback(()=>{let U=_[w];if(U)l(U)},[_,w,l]);$0("confirm:no",t,{context:"Confirmation",isActive:!D}),j0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":T9,"messageSelector:bottom":R9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!O&&!B&&!D&&f});let[K0,G0]=T.useState({});T.useEffect(()=>{async function U(){if(!J)return;Promise.all(_.map(async(R,c)=>{if(R.uuid!==L){let m=b0(K,R.uuid),YZ=_.at(c+1),AZ=m?XQ(Q,R.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)G0((r)=>({...r,[c]:AZ}));else G0((r)=>({...r,[c]:void 0}))}}))}U()},[_,Q,L,K,J]);let vZ=J&&y?.filesChanged&&y.filesChanged.length>0,S9=!B&&!D&&!G&&f;return b(p,{flexDirection:"column",width:"100%",children:[E(F0,{color:"suggestion"}),b(p,{flexDirection:"column",marginX:1,gap:1,children:[E(M,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:b(M,{color:"error",children:["Error: ",B]})}),!f&&E(a,{children:E(M,{children:"Nothing to rewind to yet."})}),!B&&D&&f&&b(a,{children:[b(M,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),b(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(H0,{userMessage:D,color:"text",isCurrent:!1}),b(M,{dimColor:!0,children:["(",L0(new Date(D.timestamp)),")"]})]}),E(YQ,{selectedRestoreOption:o,canRestoreCode:!!vZ,diffStatsForRestore:y}),O&&SZ(d)?b(p,{flexDirection:"row",gap:1,children:[E(T0,{}),E(M,{children:"Summarizing…"})]}):E(C0,{isDisabled:O,options:N(!!vZ),defaultFocusValue:vZ?"both":"conversation",onFocus:(U)=>C(U),onChange:(U)=>VZ(U),onCancel:()=>G?H():F(void 0)}),vZ&&E(p,{marginBottom:1,children:b(M,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),S9&&b(a,{children:[J?E(M,{children:"Restore the code and/or conversation to the point before…"}):E(M,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((U,R)=>{let c=P+R,m=c===w,YZ=U.uuid===L,AZ=c in K0,r=K0[c],IZ=r?.filesChanged&&r.filesChanged.length;return b(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:m?b(M,{color:"permission",bold:!0,children:[_Z.pointer," "]}):E(M,{children:" "})}),b(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(H0,{userMessage:U,color:m?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&E(p,{height:1,flexDirection:"row",children:r?E(a,{children:E(M,{dimColor:!m,color:"inactive",children:IZ?b(a,{children:[IZ===1&&r.filesChanged[0]?`${QZ.basename(r.filesChanged[0])} `:`${IZ} files changed `,E(f0,{diffStats:r})]}):E(a,{children:"No code changes"})})}):b(M,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(M,{dimColor:!0,italic:!0,children:WZ.pending?b(a,{children:["Press ",WZ.keyName," again to exit"]}):b(a,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function ZQ(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function YQ(Q){let Z=GZ.c(11),{selectedRestoreOption:X,canRestoreCode:V,diffStatsForRestore:W}=Q,H=V&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=ZQ(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=E(M,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==W||Z[5]!==X||Z[6]!==H)B=!SZ(X)&&(H?E(QQ,{diffStatsForRestore:W}):E(M,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=W,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=b(p,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function QQ(Q){let Z=GZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=E(M,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let V=X.filesChanged.length,W;if(V===1){let K;if(Z[1]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];W=K}else if(V===2){let K;if(Z[3]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=QZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];W=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];W=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=E(f0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==W||Z[12]!==H)G=E(a,{children:b(M,{dimColor:!0,children:["The code will be restored"," ",H," in ",W,"."]})}),Z[11]=W,Z[12]=H,Z[13]=G;else G=Z[13];return G}function f0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let V;if(Z[0]!==X.insertions)V=b(M,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=V;else V=Z[1];let W;if(Z[2]!==X.deletions)W=b(M,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=W;else W=Z[3];let H;if(Z[4]!==V||Z[5]!==W)H=b(a,{children:[V,W]}),Z[4]=V,Z[5]=W,Z[6]=H;else H=Z[6];return H}function H0(Q){let Z=GZ.c(31),{userMessage:X,color:V,dimColor:W,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let S;if(Z[0]!==V||Z[1]!==W)S=E(p,{width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"(current)"})}),Z[0]=V,Z[1]=W,Z[2]=S;else S=Z[2];return S}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,w,v,P,f,D;if(Z[3]!==V||Z[4]!==K||Z[5]!==B||Z[6]!==W||Z[7]!==z||Z[8]!==G){D=Symbol.for("react.early_return_sentinel");Z:{let S=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",O=U0(S);if(E0(O)){let $;if(Z[17]!==V||Z[18]!==W)$=E(p,{flexDirection:"row",width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"((empty message))"})}),Z[17]=V,Z[18]=W,Z[19]=$;else $=Z[19];D=$;break Z}if(O.includes("<bash-input>")){let $=KZ(O,"bash-input");if($){let d;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))d=E(M,{color:"bashBorder",children:"!"}),Z[20]=d;else d=Z[20];D=b(p,{flexDirection:"row",width:"100%",children:[d,b(M,{color:V,dimColor:W,children:[" ",$]})]});break Z}}if(O.includes(`<${RZ}>`)){let $=KZ(O,RZ),d=KZ(O,"command-args"),i=KZ(O,"skill-format")==="true";if($)if(i){D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["Skill(",$,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["/",$," ",d]})});break Z}}L=p,P="row",f="100%",J=M,_=V,w=W,v=G?B0(O,K-G,!0):O.slice(0,500).split(`
8
- `).slice(0,4).join(`
9
- `)}Z[3]=V,Z[4]=K,Z[5]=B,Z[6]=W,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=w,Z[13]=v,Z[14]=P,Z[15]=f,Z[16]=D}else J=Z[9],L=Z[10],_=Z[11],w=Z[12],v=Z[13],P=Z[14],f=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==w||Z[24]!==v)F=E(J,{color:_,dimColor:w,children:v}),Z[21]=J,Z[22]=_,Z[23]=w,Z[24]=v,Z[25]=F;else F=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)y=E(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=y;else y=Z[30];return y}function XQ(Q,Z,X){let V=Q.findIndex((B)=>B.uuid===Z);if(V===-1)return;let W=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(W===-1)W=Q.length;let H=[],G=0,K=0;for(let B=V+1;B<W;B++){let z=Q[B];if(!z||!xZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=TZ(L.lines,(v)=>v.startsWith("+")),w=TZ(L.lines,(v)=>v.startsWith("-"));G+=_,K+=w}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(kZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],V=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(V.indexOf(`<${D0}>`)!==-1||V.indexOf(`<${v0}>`)!==-1||V.indexOf(`<${z0}>`)!==-1||V.indexOf(`<${q0}>`)!==-1||V.indexOf(`<${_0}>`)!==-1||V.indexOf(`<${A0}>`)!==-1||V.indexOf(`<${O0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let V=Q[X];if(!V)continue;if(kZ(V))continue;if(xZ(V))continue;if(V.type==="progress")continue;if(V.type==="system")continue;if(V.type==="attachment")continue;if(V.type==="user"&&V.isMeta)continue;if(V.type==="assistant"){let W=V.message.content;if(Array.isArray(W)){if(W.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(V.type==="user")return!1}return!0}var GZ,T,CZ=7;var KQ=OZ(()=>{k9();UZ();i9();r9();w0();a9();g9();l9();p9();wZ();o9();s9();d9();u9();x9();h9();n9();J0();GZ=N0(m9(),1),T=N0(c9(),1)});var b6={};hZ(b6,{getCronJitterConfig:()=>M6});function M6(){let Q=oY("tengu_kairos_cron_config",XZ,j6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var j6=60000,oZ=1800000,P6=2592000000,F6;var I6=OZ(()=>{JZ();$6();sY();EZ();F6=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(oZ),oneShotMaxMs:Y.number().int().min(0).max(oZ),oneShotFloorMs:Y.number().int().min(0).max(oZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(P6).default(XZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as f6,readFile as S6,unlink as X9,writeFile as eZ}from"fs/promises";import{dirname as h6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await S6(zZ(Q),"utf8")}catch{return}let X=x6().safeParse(Y9(Z,!1));return X.success?X.data:void 0}async function tY(Q,Z){let X=zZ(Z),V=ZZ(Q);try{return await eZ(X,V,{flag:"wx"}),!0}catch(W){let H=tZ(W);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(h6(X),{recursive:!0});try{return await eZ(X,V,{flag:"wx"}),!0}catch(G){if(tZ(G)==="EEXIST")return!1;throw G}}throw W}}function sZ(Q){MZ?.(),MZ=Z9(async()=>{await qZ(Q)})}async function Z0(Q){let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(V,Z))return LZ=void 0,sZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let W=await W9(Z);if(W?.sessionId===X){if(W.pid!==process.pid)await eZ(zZ(Z),ZZ(V)),sZ(Q);return!0}if(W&&Q9(W.pid)){if(LZ!==W.sessionId)LZ=W.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${W.sessionId} (PID ${W.pid})`);return!1}if(W)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${W.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(V,Z))return LZ=void 0,sZ(Q),!0;return!1}async function qZ(Q){MZ?.(),MZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V=await W9(Z);if(!V||V.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,MZ,LZ;var K9=OZ(()=>{JZ();BZ();C6();HZ();lZ();R6();T6();EZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var d6={};hZ(d6,{takeDueSessionWakeup:()=>O9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>g6,buildMissedTaskNotification:()=>U9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function O9(Q){let Z=X0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:V0(Z.prompt),reason:Z.reason}}function g6(Q){let{onFire:Z,isLoading:X,assistantMode:V=!1,onFireTask:W,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,w=[],v=new Map,P=new Set,f=new Set,D=null,F=null,y=null,S=null,O=!1,$=!1;async function d(C){let k=await q9(K);if(O)return;if(w=k,!C)return;let x=Date.now(),A=A9(k,x).filter((j)=>!j.recurring&&!P.has(j.id)&&(!L||L(j)));if(A.length>0){for(let j of A)P.add(j.id),v.set(j.id,1/0);if(g("tengu_scheduled_task_missed",{count:A.length,taskIds:A.map((j)=>j.id).join(",")}),H)H(A);else Z(U9(A));Y0(A.map((j)=>j.id),K).catch((j)=>I(`[ScheduledTasks] failed to remove missed tasks: ${j}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function i(){if(J?.())return;if(X()&&!V)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function j(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=v.get(N.id);if(l===void 0)l=N.recurring?Q0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:v9(N.cron,N.createdAt,N.id,A)??1/0,v.set(N.id,l),I(`[ScheduledTasks] scheduled ${N.id} for ${l===1/0?"never":new Date(l).toISOString()}`);if(C<l)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),g("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?V0(N.prompt,void 0,N.agentId):N.prompt;if(W)W(VZ===N.prompt?N:{...N,prompt:VZ});else Z(VZ);let WZ=_9(N,C,A.recurringMaxAgeMs);if(WZ){let t=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),g("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Q0(N.cron,C,N.id,A)??1/0;if(v.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),v.delete(N.id);else f.add(N.id),Y0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),v.delete(N.id)}if($){for(let N of w)j(N,!1);if(x.length>0){for(let N of x)f.add(N);D9(x,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of x)f.delete(N)})}}if(K===void 0){for(let u of H9())j(u,!0);let N=O9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("tengu_schedule_wakeup_fire",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){v.clear();return}for(let N of v.keys())if(!k.has(N))v.delete(N)}async function o(){if(O)return;if(D)clearInterval(D),D=null;let{default:C}=await import("./index-0.6.2-ff57yvh3.mjs");if(O)return;if($=await Z0(_).catch(()=>!1),O){if($)$=!1,qZ(_);return}if(!$)y=setInterval(()=>{Z0(_).then((x)=>{if(O){if(x)qZ(_);return}if(x){if($=!0,y)clearInterval(y),y=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),y.unref?.();d(!0);let k=z9(K);S=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),S.on("add",()=>void d(!1)),S.on("change",()=>void d(!1)),S.on("unlink",()=>{if(!O)w=[],v.clear()}),F=setInterval(i,G9),F.unref?.()}return{start(){if(O=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${bZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${DZ()}, hasTasks=${bZ()}`),!DZ()&&(V||bZ()))J9(!0);if(DZ()){o();return}D=setInterval((C)=>{if(DZ())C()},G9,o),D.unref?.()},stop(){if(O=!0,D)clearInterval(D),D=null;if(F)clearInterval(F),F=null;if(y)clearInterval(y),y=null;if(S?.close(),S=null,$)$=!1,qZ(_)},getNextFireTime(){let C=1/0;for(let k of v.values())if(k<C)C=k;if(K===void 0){let k=X0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function U9(Q){let Z=Q.length>1,X=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
10
-
11
- Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,V=Q.map((W)=>{let H=`[${L9(W.cron)}, created ${new Date(W.createdAt).toLocaleString()}]`,G=(W.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
12
- ${K}
13
- ${W.prompt}
14
- ${K}`});return`${X}
15
-
16
- ${V.join(`
17
-
18
- `)}`}var G9=1000,c6=300,m6=5000;var l6=OZ(()=>{BZ();UZ();u6();sY();K9();HZ();p6()});import{randomUUID as dZ}from"crypto";JZ();EZ();GQ();var JQ=q(()=>Y.unknown()),HQ=q(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),NQ=q(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(u0(),Y.array(HQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),g0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),EX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(c0()),account:m0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:i0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),BQ=q(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),LQ=q(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(k0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),zQ=q(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:x0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),qQ=q(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),DQ=q(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),vQ=q(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),yX=q(()=>Y.object({mcpServers:Y.array(uZ())}).describe("Response containing the current status of all MCP server connections.")),AQ=q(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),_Q=q(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),OQ=q(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),$X=q(()=>Y.object({categories:Y.array(_Q()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(OQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),UQ=q(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),jX=q(()=>Y.object({canRewind:Y.boolean(),error:Y.string().optional(),filesChanged:Y.array(Y.string()).optional(),insertions:Y.number().optional(),deletions:Y.number().optional()}).describe("Result of a rewindFiles operation.")),wQ=q(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),PX=q(()=>Y.object({cancelled:Y.boolean()}).describe("Result of a cancel_async_message operation. cancelled=false means the message was not in the queue (already dequeued or never enqueued).")),EQ=q(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),yQ=q(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:p0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),$Q=q(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:JQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),jQ=q(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),h0())}).describe("Replaces the set of dynamically managed MCP servers.")),FX=q(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),PQ=q(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),MX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(uZ()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),FQ=q(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),MQ=q(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),bQ=q(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),IQ=q(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),CQ=q(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),bX=q(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),TQ=q(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),o0=q(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),RQ=q(()=>Y.union([BQ(),LQ(),NQ(),zQ(),qQ(),DQ(),vQ(),AQ(),yQ(),$Q(),UQ(),wQ(),EQ(),jQ(),PQ(),FQ(),MQ(),bQ(),IQ(),CQ(),TQ()])),mZ=q(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:RQ()})),fQ=q(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),SQ=q(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),s0=q(()=>Y.object({type:Y.literal("control_response"),response:Y.union([fQ(),SQ()])})),hQ=q(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),t0=q(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),kQ=q(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),IX=q(()=>Y.union([r0(),l0(),a0(),n0(),s0(),mZ(),hQ(),t0()])),CX=q(()=>Y.union([d0(),mZ(),s0(),t0(),kQ()]));lQ();HZ();dQ();lZ();JZ();HZ();EZ();e0();xQ();var xX=q(()=>h.object({tool_name:h.string().describe("The name of the tool requesting permission"),input:h.record(h.string(),h.unknown()).describe("The input for the tool"),tool_use_id:h.string().optional().describe("The unique tool use request ID")})),YY=q(()=>h.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),uQ=q(()=>h.object({behavior:h.literal("allow"),updatedInput:h.record(h.string(),h.unknown()),updatedPermissions:h.array(ZY()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:h.string().optional(),decisionClassification:YY()})),pQ=q(()=>h.object({behavior:h.literal("deny"),message:h.string(),interrupt:h.boolean().optional(),toolUseID:h.string().optional(),decisionClassification:YY()})),gZ=q(()=>h.union([uQ(),pQ()]));function jZ(Q,Z,X,V){let W={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)V.setAppState((K)=>({...K,toolPermissionContext:yZ(K.toolPermissionContext,H)})),$Z(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:W}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),V.abortController.abort();return{...Q,decisionReason:W}}rQ();gQ();PZ();JZ();aQ();qY();e0();iQ();PZ();nQ();PZ();var cQ=/\u2028|\u2029/g;function mQ(Q){return Q.replace(cQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function QY(Q){return mQ(ZZ(Q))}var oQ="SandboxNetworkAccess";function sQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function tQ(Q,Z,X,V){let W;try{W=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{W=Q.name}return{tool_name:Q.name,action_description:W,tool_use_id:X,request_id:V,input:Z}}var eQ=1000;class Z6{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new NY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>eQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(ZZ({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
19
- `)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let X=Q.indexOf(`
20
- `);if(X===-1)break;let V=Q.slice(0,X);Q=Q.slice(X+1);let W=await this.processLine(V);if(W)GY("info","cli_stdin_message_parsed",{type:W.type}),yield W}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let V=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(W){X.reject(W)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=DY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let X=Object.keys(Z.variables);for(let[V,W]of Object.entries(Z.variables))process.env[V]=W;I(`[structuredIO] applied update_environment_variables: ${X.join(", ")}`);return}if(Z.type==="control_response"){let X="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(X)HY(X,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let G=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof G==="string"&&this.resolvedToolUseIds.has(G)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${G} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let W=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(W))}catch(H){V.reject(H)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)XY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")XY(`Error: Expected message role 'user', got '${Z.message.role}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){KY(QY(Q)+`
21
- `)}async sendRequest(Q,Z,X,V=dZ()){let W={type:"control_request",request_id:V,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(W),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(W);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:V});let G=this.pendingRequests.get(V);if(G)this.trackResolvedToolUseId(G.request),G.reject(new VY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(V,{request:{type:"control_request",request_id:V,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(V)}}createCanUseTool(Q){return async(Z,X,V,W,H,G)=>{let K=G??await BY(Z,X,V,W,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=V.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,V,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let w=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:sQ(K.decisionReason),tool_use_id:H,agent_id:V.agentId},gZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),v=await Promise.race([L,w]);if(v.source==="hook"){if(v.decision)return w.catch(()=>{}),B.abort(),v.decision;let P=await w;return jZ(P.result,Z,X,V)}return jZ(v.result,Z,X,V)}catch(L){return jZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,V)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,V,W)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:V||void 0},JY(),W)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,V,W,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:W,url:H,elicitation_id:G,requested_schema:X},o0(),V)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:oQ,input:{host:Q.host},tool_use_id:dZ(),description:`Allow network connection to ${Q.host}?`},gZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function XY(Q){console.error(Q),process.exit(1)}async function Y6(Q,Z,X,V,W){let G=V.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,V,G,W,V.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){$Z(L);let _=V.getAppState(),w=yZ(_.toolPermissionContext,L);V.setAppState((v)=>{if(v.toolPermissionContext===w)return v;return{...v,toolPermissionContext:w}})}return{behavior:"allow",updatedInput:J,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}_Y();function HV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?Q6(Z):Z,uuid:X}}function Q6(Q){if(!Q.some(vY))return Q;return Q.map((Z)=>{if(!vY(Z))return Z;let X=Z.source,V=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:AY(Z.source.data);return{...Z,source:{type:"base64",media_type:V,data:Z.source.data}}})}function vY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}BZ();J6();V6();G6();X6();K6();W6();import{randomUUID as H6}from"crypto";function N6(Q){return Q===wY?EY:Q}function OV(Q){let X=yY()?.outputStyle??PY,V={type:"system",subtype:"init",cwd:UY(),session_id:NZ(),tools:Q.tools.map((W)=>N6(W.name)),mcp_servers:Q.mcpClients.map((W)=>({name:W.name,status:W.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),apiKeySource:jY().source,betas:OY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((W)=>W.agentType),skills:Q.skills.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),plugins:Q.plugins.map((W)=>({name:W.name,path:W.path,source:W.source})),uuid:H6()};return V.fast_mode_state=$Y(Q.model,Q.fastMode),V}var FY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function B6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let V=[],W=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(W){if(W==="["&&L==="["){H=J;continue}if(L!==FY[W])continue;if(W==="'"&&G(Q[J+1]))continue;V.push({start:H,end:J+1}),W=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in FY)W=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(V.some((P)=>L>=P.start&&L<P.end))continue;let w=Q[L-1],v=Q[_];if(w==="/"||w==="\\"||w==="-")continue;if(v==="/"||v==="\\"||v==="-"||v==="?")continue;if(v==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function wV(Q){return B6(Q,"ultrareview")}UZ();wZ();w6();_6();O6();v6();qY();_Y();D6();wZ();U6();A6();import{randomUUID as E6}from"crypto";BZ();UZ();wZ();L6();z6();import{randomUUID as q6}from"crypto";function MY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function bY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function fY(Q,Z,X,V,W,H,G){let K=q6();IY(K);let B=typeof Q==="string"?Q:Q.find((w)=>w.type==="text")?.text||"";RY(B);let z=typeof Q==="string"?Q:Q.findLast((w)=>w.type==="text")?.text||"";if(z)TY("user_prompt",{prompt_length:String(z.length),prompt:CY(z),"prompt.id":K});let J=MY(B),L=bY(B);if(g("tengu_input_prompt",{is_negative:J,is_keep_going:L}),Z.length>0){let w=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...w,...Z],uuid:W,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}return{messages:[s({content:Q,uuid:W,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}async function iV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:V,context:W,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:w,bridgeOrigin:v,isMeta:P,skipAttachments:f}){let D=typeof Q==="string"?Q:null;if(X==="prompt"&&D!==null&&!P)B?.(D);n("query_process_user_input_base_start");let F=W.getAppState(),y=await y6(Q,X,V,W,H,G,K,z,J,L,_,F.toolPermissionContext.mode,w,v,P,f,Z);if(n("query_process_user_input_base_end"),!y.shouldQuery)return y;n("query_hooks_start");let S=hY(Q)||"";for await(let O of iY(S,F.toolPermissionContext.mode,W,W.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let $=rY(O.blockingError);return{messages:[aY(`${$}
22
-
23
- Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let $=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:$})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(kY({type:"hook_additional_context",content:O.additionalContexts.map(SY),hookName:"UserPromptSubmit",toolUseID:`hook-${E6()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:SY(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return n("query_hooks_end"),y}var aZ=1e4;function SY(Q){if(Q.length>aZ)return`${Q.substring(0,aZ)}… [output truncated - exceeded ${aZ} characters]`;return Q}async function y6(Q,Z,X,V,W,H,G,K,B,z,J,L,_,w,v,P,f){let D=null,F=[],y=[],S=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){n("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let u=await iZ(N);if(u.dimensions){let l=FZ(u.dimensions);if(l)y.push(l)}A.push(u.block)}else A.push(N);S=A,n("query_image_processing_end");let j=A[A.length-1];if(j?.type==="text")D=j.text,F=A.slice(0,-1);else F=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=W?Object.values(W).filter(cY):[],$=O.map((A)=>A.id),d=W?await xY(W):new Map;n("query_pasted_image_processing_start");let i=await Promise.all(O.map(async(A)=>{let j={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await iZ(j),originalDimensions:A.dimensions,sourcePath:A.sourcePath??d.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:j,sourcePath:N}of i){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)y.push(u)}else if(j){let u=FZ(j,N);if(u)y.push(u)}else if(N)y.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(w&&D!==null&&D.startsWith("/")){let A=pY(D),j=A?lY(A.commandName,V.options.commands):void 0;if(j)if(dY(j))C=!1;else{let N=`/${gY(j)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:K}),nY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&D!==null&&(Z!=="prompt"||C||!D.startsWith("/"));n("query_attachment_loading_start");let x=k?await uY(mY(D,V,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.6.2-379q2wr4.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.6.2-7zk4c0n0.mjs"),j=await A(D,F,o,x,V,X,K,B,J);return nZ(j,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),j=x.find((N)=>N.attachment.type==="agent_mention");if(j){let N=`@agent-${j.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("tengu_subagent_at_mention",{is_subagent_only:u,is_prefix:l})}}return nZ(fY(S,o,$,x,K,L,v),y)}function nZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}i6();BZ();HZ();lZ();n6();a6();w0();o6();r6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let V=[],W=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=b9(K.source,X?.projectRoot);if(!B)V.push(G);else if(K.sourceIsFallback)H.push(G);else if(!j9(z,B.source))W.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:V,sourceChanged:W,upToDate:H}}async function IW(Q){let Z=P9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await F9()}catch(J){e(J),X={}}let V=e6(Z,X,{projectRoot:W0()}),W=[...V.missing.map((J)=>({name:J,source:b9(Z[J].source),action:"install"})),...V.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of W){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&$9(J.source)&&!await y9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:V.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:w}=G[J];Q?.onProgress?.({type:"installing",name:L,action:w,index:J+1,total:G.length});try{let v=await M9(_);if(w==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:v.alreadyMaterialized})}catch(v){let P=w9(v);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(v)}}return{installed:K,updated:B,failed:z,upToDate:V.upToDate,skipped:H}}function b9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??W0(),V=E9(X);return{...Q,path:t6(V??X,Q.path)}}return Q}
24
- export{HV as pa,N6 as qa,OV as ra,e9 as sa,S0 as ta,VQ as ua,WQ as va,KQ as wa,wV as xa,iV as ya,gZ as za,jZ as Aa,QY as Ba,Z6 as Ca,e6 as Da,IW as Ea,M6 as Fa,b6 as Ga,I6 as Ha,g6 as Ia,d6 as Ja,l6 as Ka};
@@ -1,2 +0,0 @@
1
- import{Bc as z,Cc as K}from"./cli-0.6.2-dy4zwces.mjs";import{BH as J,zH as w}from"./cli-0.6.2-4p9wa0p6.mjs";import{s0 as H}from"./cli-0.6.2-d3y2w089.mjs";import{dpa as E,hpa as G}from"./cli-0.6.2-3rgtxc9f.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
2
- export{V as xc,N as yc};
@@ -1,2 +0,0 @@
1
- import{X4 as v,Y4 as C}from"./cli-0.6.2-ea8z1e2e.mjs";import{Dca as x,Eca as Y,dba as Z,eba as V}from"./cli-0.6.2-hhjx89cr.mjs";import{$ea as R,dfa as W,lfa as O}from"./cli-0.6.2-9w9nmx9s.mjs";import{aga as Q,bga as M}from"./cli-0.6.2-qec7nrgw.mjs";import{Jga as P,Oga as I,eha as f,hha as L}from"./cli-0.6.2-g6c6hjc6.mjs";import{Fha as H,yha as w}from"./cli-0.6.2-0f9sh5z8.mjs";import{Xna as N,Yna as F}from"./cli-0.6.2-wryj4wnr.mjs";import{Koa as U,soa as X}from"./cli-0.6.2-xnn1c5kd.mjs";import{epa as h,hpa as B}from"./cli-0.6.2-3rgtxc9f.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
- export{u as aS,n as bS,o as cS,t as dS,d as eS};
@@ -1,2 +0,0 @@
1
- import{RW as s,RY as f,mY as t}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as n,q0 as c,r0 as r}from"./cli-0.6.2-jrpted0b.mjs";import{dpa as m,hpa as l}from"./cli-0.6.2-3rgtxc9f.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
- export{T as zf,p as Af};
@@ -1,2 +0,0 @@
1
- import{Ch as W,Dh as B}from"./cli-0.6.2-7rmymgpp.mjs";import{p0 as U,r0 as J}from"./cli-0.6.2-jrpted0b.mjs";import{P0 as V,Q0 as v}from"./cli-0.6.2-2ewwghbe.mjs";import{D4 as R,Y4 as $,x1 as N,y1 as _,y4 as Q}from"./cli-0.6.2-ea8z1e2e.mjs";import{Ada as K,Ida as Z}from"./cli-0.6.2-hhjx89cr.mjs";import{hpa as Y}from"./cli-0.6.2-3rgtxc9f.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
2
- export{w as Hb,E as Ib};
@@ -1,2 +0,0 @@
1
- import{ega as f}from"./cli-0.6.2-vqt5hqzr.mjs";import{hha as h}from"./cli-0.6.2-g6c6hjc6.mjs";import{hpa as Z}from"./cli-0.6.2-3rgtxc9f.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
2
- export{K as QZ,w as RZ,kz as SZ,oz as TZ,pz as UZ,dz as VZ,nz as WZ,L as XZ};