@claudiolabs/claudin 0.6.8 → 0.6.9

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 (890) hide show
  1. package/dist/chunks/AgentTool-0.6.9-9rxkpd2w.mjs +1 -0
  2. package/dist/chunks/App-0.6.9-2sr69sb6.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.9-qhjbrc90.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.9-btaax7hk.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.9-4a8grmg8.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.9-jxa6nz5k.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.9-nn288md6.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.9-vbwtn6dq.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.9-hpv62yd3.mjs +7 -0
  10. package/dist/chunks/Doctor-0.6.9-tjmn7d05.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.6.9-xm77z99k.mjs +6 -0
  12. package/dist/chunks/Grove-0.6.9-avg93sya.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.6.9-pk67e59n.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.6.9-hjj8wzba.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.6.9-pp8agzjc.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.6.9-gqa8pkn6.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.6.9-192qpt8b.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.6.9-ba2cfwrw.mjs +1 -0
  19. package/dist/chunks/REPL-0.6.9-gzw0s80y.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.6.9-s38qycda.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.6.9-kxmns9zh.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.6.9-kr1yf6k8.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.6.9-zmv3c62q.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.6.9-m4jf5dr0.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.6.9-b9ax9m6j.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.6.9-kjse2jv1.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.6.9-dahc1ev9.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.6.9-5jwr5wg3.mjs +1 -0
  29. package/dist/chunks/add-dir-0.6.9-yfzy34qb.mjs +1 -0
  30. package/dist/chunks/agents-0.6.9-0n6mcvce.mjs +110 -0
  31. package/dist/chunks/agents-0.6.9-b31sawy3.mjs +3 -0
  32. package/dist/chunks/api-0.6.9-zdddwgzx.mjs +1 -0
  33. package/dist/chunks/asciicast-0.6.9-bzqqwjta.mjs +1 -0
  34. package/dist/chunks/assistant-0.6.9-7g8mz1p5.mjs +1 -0
  35. package/dist/chunks/auth-0.6.9-hjd8znw9.mjs +1 -0
  36. package/dist/chunks/auth-0.6.9-y5g1mgmg.mjs +1 -0
  37. package/dist/chunks/autoMode-0.6.9-rxq8ymw3.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.6.9-bpak4p67.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.6.9-asafysjv.mjs +1 -0
  40. package/dist/chunks/branch-0.6.9-7nbx2ywt.mjs +4 -0
  41. package/dist/chunks/bridge-0.6.9-1yc7bj8p.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.6.9-m23yzban.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.6.9-7njgh7m2.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.6.9-8py5synr.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.6.9-j9cxeww1.mjs +1 -0
  46. package/dist/chunks/btw-0.6.9-ma7pmkk5.mjs +1 -0
  47. package/dist/chunks/buddy-0.6.9-1mkd3gdj.mjs +3 -0
  48. package/dist/chunks/cacache-0.6.9-24ya96gj.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.6.9-gsvngvjh.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.6.9-mafdpb09.mjs +4 -0
  51. package/dist/chunks/caches-0.6.9-6j6tyf4b.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.6.9-h7d8r8vt.mjs +1 -0
  53. package/dist/chunks/claudemd-0.6.9-51rn86v1.mjs +1 -0
  54. package/dist/chunks/clear-0.6.9-6tv28ch2.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.6.9-0gh4v4ga.mjs +1 -0
  56. package/dist/chunks/cli-0.6.9-05w6ne3v.mjs +4 -0
  57. package/dist/chunks/cli-0.6.9-0f11memf.mjs +59 -0
  58. package/dist/chunks/cli-0.6.9-0j0w045z.mjs +2 -0
  59. package/dist/chunks/cli-0.6.9-0pfvh3w1.mjs +2 -0
  60. package/dist/chunks/cli-0.6.9-0qtkkmfq.mjs +2 -0
  61. package/dist/chunks/cli-0.6.9-0s223s8s.mjs +18 -0
  62. package/dist/chunks/cli-0.6.9-0t9pwgch.mjs +2 -0
  63. package/dist/chunks/cli-0.6.9-0wmp1q7a.mjs +2 -0
  64. package/dist/chunks/cli-0.6.9-0zey0wyh.mjs +2 -0
  65. package/dist/chunks/cli-0.6.9-143kz7xy.mjs +2 -0
  66. package/dist/chunks/cli-0.6.9-177spsqy.mjs +2 -0
  67. package/dist/chunks/cli-0.6.9-1a1q6vnc.mjs +9 -0
  68. package/dist/chunks/cli-0.6.9-1g9smwnt.mjs +2 -0
  69. package/dist/chunks/cli-0.6.9-268fcggy.mjs +3 -0
  70. package/dist/chunks/cli-0.6.9-2fe32k5y.mjs +2 -0
  71. package/dist/chunks/cli-0.6.9-2ffve69q.mjs +2 -0
  72. package/dist/chunks/cli-0.6.9-2nc79qh3.mjs +2 -0
  73. package/dist/chunks/cli-0.6.9-2zwgc8vn.mjs +2 -0
  74. package/dist/chunks/cli-0.6.9-30djh7wy.mjs +2 -0
  75. package/dist/chunks/cli-0.6.9-31dtrem4.mjs +2 -0
  76. package/dist/chunks/cli-0.6.9-31vx6nd6.mjs +2 -0
  77. package/dist/chunks/cli-0.6.9-35z6rask.mjs +2 -0
  78. package/dist/chunks/cli-0.6.9-3c6mqdk0.mjs +3 -0
  79. package/dist/chunks/cli-0.6.9-47kxmw0y.mjs +3 -0
  80. package/dist/chunks/cli-0.6.9-4e82zcfv.mjs +3 -0
  81. package/dist/chunks/cli-0.6.9-4hmydq2g.mjs +2 -0
  82. package/dist/chunks/cli-0.6.9-4mt6vz89.mjs +2 -0
  83. package/dist/chunks/cli-0.6.9-4nh8xyg8.mjs +3 -0
  84. package/dist/chunks/cli-0.6.9-4tdxta31.mjs +2 -0
  85. package/dist/chunks/cli-0.6.9-4vf40ybe.mjs +2 -0
  86. package/dist/chunks/cli-0.6.9-53jmw39d.mjs +2 -0
  87. package/dist/chunks/cli-0.6.9-5bs313jv.mjs +2 -0
  88. package/dist/chunks/cli-0.6.9-5ssjdjpx.mjs +2 -0
  89. package/dist/chunks/cli-0.6.9-5tam8r4f.mjs +2 -0
  90. package/dist/chunks/cli-0.6.9-618nhe26.mjs +2 -0
  91. package/dist/chunks/cli-0.6.9-64syz6hg.mjs +25 -0
  92. package/dist/chunks/cli-0.6.9-67m8zq43.mjs +2 -0
  93. package/dist/chunks/cli-0.6.9-67ms6qe8.mjs +2 -0
  94. package/dist/chunks/cli-0.6.9-6baq8t33.mjs +6 -0
  95. package/dist/chunks/cli-0.6.9-6c09kxnr.mjs +6 -0
  96. package/dist/chunks/cli-0.6.9-6czn2nk0.mjs +2 -0
  97. package/dist/chunks/cli-0.6.9-6vtgxtwc.mjs +2 -0
  98. package/dist/chunks/cli-0.6.9-703ts6mp.mjs +2 -0
  99. package/dist/chunks/cli-0.6.9-72pqdgfp.mjs +2 -0
  100. package/dist/chunks/cli-0.6.9-72xw2978.mjs +17 -0
  101. package/dist/chunks/cli-0.6.9-75m2z0pe.mjs +2 -0
  102. package/dist/chunks/cli-0.6.9-7c5zf7vm.mjs +2 -0
  103. package/dist/chunks/cli-0.6.9-7cm1vhs1.mjs +2 -0
  104. package/dist/chunks/cli-0.6.9-7e7zn9nj.mjs +42 -0
  105. package/dist/chunks/cli-0.6.9-7jptdarn.mjs +2 -0
  106. package/dist/chunks/cli-0.6.9-7ke3x92f.mjs +2 -0
  107. package/dist/chunks/cli-0.6.9-7p077nar.mjs +2 -0
  108. package/dist/chunks/cli-0.6.9-7s8ys0y7.mjs +2 -0
  109. package/dist/chunks/cli-0.6.9-7zyvegv3.mjs +2 -0
  110. package/dist/chunks/cli-0.6.9-83gnr7zb.mjs +3 -0
  111. package/dist/chunks/cli-0.6.9-8709kpq4.mjs +2 -0
  112. package/dist/chunks/cli-0.6.9-88y94bf5.mjs +2 -0
  113. package/dist/chunks/cli-0.6.9-8984d2qb.mjs +133 -0
  114. package/dist/chunks/cli-0.6.9-8amemx3r.mjs +2 -0
  115. package/dist/chunks/cli-0.6.9-8c45ksaw.mjs +2 -0
  116. package/dist/chunks/cli-0.6.9-8hye8y46.mjs +2 -0
  117. package/dist/chunks/cli-0.6.9-8v4sw3p1.mjs +2 -0
  118. package/dist/chunks/cli-0.6.9-8xxpa4ep.mjs +2 -0
  119. package/dist/chunks/cli-0.6.9-8ymt6nd1.mjs +2 -0
  120. package/dist/chunks/cli-0.6.9-8zqra5w7.mjs +18 -0
  121. package/dist/chunks/cli-0.6.9-97n772v9.mjs +3 -0
  122. package/dist/chunks/cli-0.6.9-9eyrhanm.mjs +3 -0
  123. package/dist/chunks/cli-0.6.9-9tvvnszt.mjs +15 -0
  124. package/dist/chunks/cli-0.6.9-9wvb59y3.mjs +8 -0
  125. package/dist/chunks/cli-0.6.9-9x9r4f8d.mjs +2 -0
  126. package/dist/chunks/cli-0.6.9-9zz415nm.mjs +2 -0
  127. package/dist/chunks/cli-0.6.9-a5zs8qb2.mjs +2 -0
  128. package/dist/chunks/cli-0.6.9-a91pdpbf.mjs +2 -0
  129. package/dist/chunks/cli-0.6.9-acekzr9a.mjs +15 -0
  130. package/dist/chunks/cli-0.6.9-aenf6vb7.mjs +2 -0
  131. package/dist/chunks/cli-0.6.9-ahdefj2b.mjs +2 -0
  132. package/dist/chunks/cli-0.6.9-aqma59cn.mjs +2 -0
  133. package/dist/chunks/cli-0.6.9-az6jyck0.mjs +24 -0
  134. package/dist/chunks/cli-0.6.9-b0y0kf38.mjs +2 -0
  135. package/dist/chunks/cli-0.6.9-bk34v13s.mjs +2 -0
  136. package/dist/chunks/cli-0.6.9-bkvwt4w3.mjs +12 -0
  137. package/dist/chunks/cli-0.6.9-bn2xtan6.mjs +2 -0
  138. package/dist/chunks/cli-0.6.9-cky5efqh.mjs +4 -0
  139. package/dist/chunks/cli-0.6.9-cp5fabjc.mjs +28 -0
  140. package/dist/chunks/cli-0.6.9-csbrfz7b.mjs +2 -0
  141. package/dist/chunks/cli-0.6.9-da750ce8.mjs +2 -0
  142. package/dist/chunks/cli-0.6.9-dhg2zjfr.mjs +2 -0
  143. package/dist/chunks/cli-0.6.9-dvd8t953.mjs +4 -0
  144. package/dist/chunks/cli-0.6.9-ejvhaena.mjs +2 -0
  145. package/dist/chunks/cli-0.6.9-ex3m411t.mjs +2 -0
  146. package/dist/chunks/cli-0.6.9-ey0mcqwk.mjs +2 -0
  147. package/dist/chunks/cli-0.6.9-f8vcjjc6.mjs +2 -0
  148. package/dist/chunks/cli-0.6.9-fc9vqmnf.mjs +2 -0
  149. package/dist/chunks/cli-0.6.9-fd6q2n8f.mjs +5 -0
  150. package/dist/chunks/cli-0.6.9-fepacdf9.mjs +2 -0
  151. package/dist/chunks/cli-0.6.9-fgkzcrmd.mjs +2 -0
  152. package/dist/chunks/cli-0.6.9-fqh9t0h9.mjs +58 -0
  153. package/dist/chunks/cli-0.6.9-fr4y4c0h.mjs +2 -0
  154. package/dist/chunks/cli-0.6.9-frq5etv7.mjs +4 -0
  155. package/dist/chunks/cli-0.6.9-g8vpamhp.mjs +2 -0
  156. package/dist/chunks/cli-0.6.9-gercjmay.mjs +5350 -0
  157. package/dist/chunks/cli-0.6.9-gfqjq2qe.mjs +2 -0
  158. package/dist/chunks/cli-0.6.9-ghdrkvmy.mjs +2 -0
  159. package/dist/chunks/cli-0.6.9-gvkq5xs9.mjs +2 -0
  160. package/dist/chunks/cli-0.6.9-h66ktwkz.mjs +2 -0
  161. package/dist/chunks/cli-0.6.9-h9kchbsc.mjs +6 -0
  162. package/dist/chunks/cli-0.6.9-hk5yv924.mjs +3 -0
  163. package/dist/chunks/cli-0.6.9-hx2vghp7.mjs +50 -0
  164. package/dist/chunks/cli-0.6.9-j94027pe.mjs +2 -0
  165. package/dist/chunks/cli-0.6.9-jfyk8906.mjs +6 -0
  166. package/dist/chunks/cli-0.6.9-jm1v5d99.mjs +2 -0
  167. package/dist/chunks/cli-0.6.9-jvqzvbrh.mjs +2 -0
  168. package/dist/chunks/cli-0.6.9-k0gktpk5.mjs +15 -0
  169. package/dist/chunks/cli-0.6.9-k14bgd9g.mjs +2 -0
  170. package/dist/chunks/cli-0.6.9-k9v9gdzp.mjs +2 -0
  171. package/dist/chunks/cli-0.6.9-kanmrra0.mjs +2 -0
  172. package/dist/chunks/cli-0.6.9-khjkzjgr.mjs +2 -0
  173. package/dist/chunks/cli-0.6.9-knasgz9g.mjs +2 -0
  174. package/dist/chunks/cli-0.6.9-kv2gx7he.mjs +2 -0
  175. package/dist/chunks/cli-0.6.9-kxe1p7p9.mjs +2 -0
  176. package/dist/chunks/cli-0.6.9-m0fs2cnk.mjs +2 -0
  177. package/dist/chunks/cli-0.6.9-m9n8nvmz.mjs +7 -0
  178. package/dist/chunks/cli-0.6.9-mb7kx11j.mjs +2 -0
  179. package/dist/chunks/cli-0.6.9-me596055.mjs +5 -0
  180. package/dist/chunks/cli-0.6.9-mhcym441.mjs +2 -0
  181. package/dist/chunks/cli-0.6.9-mjx2tx8w.mjs +2 -0
  182. package/dist/chunks/cli-0.6.9-mn3sjrek.mjs +2 -0
  183. package/dist/chunks/cli-0.6.9-mn808zcz.mjs +2 -0
  184. package/dist/chunks/cli-0.6.9-n52xxa1k.mjs +3 -0
  185. package/dist/chunks/cli-0.6.9-nahjphjz.mjs +2 -0
  186. package/dist/chunks/cli-0.6.9-njaeg8jw.mjs +4 -0
  187. package/dist/chunks/cli-0.6.9-nm598kmg.mjs +2 -0
  188. package/dist/chunks/cli-0.6.9-ns77j0rb.mjs +2 -0
  189. package/dist/chunks/cli-0.6.9-nyn27tc4.mjs +2 -0
  190. package/dist/chunks/cli-0.6.9-p05qz9pw.mjs +2 -0
  191. package/dist/chunks/cli-0.6.9-p61nt01z.mjs +4 -0
  192. package/dist/chunks/cli-0.6.9-p9sazvks.mjs +2 -0
  193. package/dist/chunks/cli-0.6.9-pc08dfva.mjs +2 -0
  194. package/dist/chunks/cli-0.6.9-pgqqhqcb.mjs +2 -0
  195. package/dist/chunks/cli-0.6.9-prq3ecgt.mjs +2 -0
  196. package/dist/chunks/cli-0.6.9-psmra04s.mjs +2 -0
  197. package/dist/chunks/cli-0.6.9-pxnbcvjk.mjs +2 -0
  198. package/dist/chunks/cli-0.6.9-pyzfty1h.mjs +1 -0
  199. package/dist/chunks/cli-0.6.9-pzdzwxv3.mjs +2 -0
  200. package/dist/chunks/cli-0.6.9-q1k864q5.mjs +24 -0
  201. package/dist/chunks/cli-0.6.9-q1sngnn9.mjs +2 -0
  202. package/dist/chunks/cli-0.6.9-q95j0sxq.mjs +2 -0
  203. package/dist/chunks/cli-0.6.9-qef0vmv4.mjs +2 -0
  204. package/dist/chunks/cli-0.6.9-qfk8bh8k.mjs +20 -0
  205. package/dist/chunks/cli-0.6.9-qq2p34an.mjs +2 -0
  206. package/dist/chunks/cli-0.6.9-qwk9n0r3.mjs +4 -0
  207. package/dist/chunks/cli-0.6.9-r3p8fksb.mjs +2 -0
  208. package/dist/chunks/cli-0.6.9-r46qknk7.mjs +2 -0
  209. package/dist/chunks/cli-0.6.9-r81h8n5p.mjs +2 -0
  210. package/dist/chunks/cli-0.6.9-rcmd16qm.mjs +2 -0
  211. package/dist/chunks/cli-0.6.9-rmmwn2p7.mjs +2 -0
  212. package/dist/chunks/cli-0.6.9-s03y3b3q.mjs +2 -0
  213. package/dist/chunks/cli-0.6.9-s1r1tza8.mjs +133 -0
  214. package/dist/chunks/cli-0.6.9-s2pyty79.mjs +2 -0
  215. package/dist/chunks/cli-0.6.9-s4cwpcyg.mjs +2 -0
  216. package/dist/chunks/cli-0.6.9-sa2fxctp.mjs +2 -0
  217. package/dist/chunks/cli-0.6.9-sd2hp4aq.mjs +2 -0
  218. package/dist/chunks/cli-0.6.9-sg9116zb.mjs +17 -0
  219. package/dist/chunks/cli-0.6.9-sr9jy37c.mjs +3 -0
  220. package/dist/chunks/cli-0.6.9-sx115432.mjs +12 -0
  221. package/dist/chunks/cli-0.6.9-t2yrab6t.mjs +2 -0
  222. package/dist/chunks/cli-0.6.9-tae7g2d9.mjs +2 -0
  223. package/dist/chunks/cli-0.6.9-td7kr6wd.mjs +2 -0
  224. package/dist/chunks/cli-0.6.9-tenfy5s3.mjs +21 -0
  225. package/dist/chunks/cli-0.6.9-tkvj57rn.mjs +2 -0
  226. package/dist/chunks/cli-0.6.9-tn4basxv.mjs +2 -0
  227. package/dist/chunks/cli-0.6.9-tnf75x7v.mjs +2 -0
  228. package/dist/chunks/cli-0.6.9-tt8mt40f.mjs +2 -0
  229. package/dist/chunks/cli-0.6.9-tya05wpq.mjs +2 -0
  230. package/dist/chunks/cli-0.6.9-v3a8d4n8.mjs +12 -0
  231. package/dist/chunks/cli-0.6.9-v3yecwhs.mjs +34 -0
  232. package/dist/chunks/cli-0.6.9-vbzp917y.mjs +3 -0
  233. package/dist/chunks/cli-0.6.9-w56gxnbb.mjs +67 -0
  234. package/dist/chunks/cli-0.6.9-w6ee6p28.mjs +4 -0
  235. package/dist/chunks/cli-0.6.9-wr8a7whz.mjs +2 -0
  236. package/dist/chunks/cli-0.6.9-wrs935pe.mjs +3 -0
  237. package/dist/chunks/cli-0.6.9-x4xhf8vr.mjs +2 -0
  238. package/dist/chunks/cli-0.6.9-x9vbsw98.mjs +2 -0
  239. package/dist/chunks/cli-0.6.9-xd2h9tsn.mjs +2 -0
  240. package/dist/chunks/cli-0.6.9-xdzfwf1n.mjs +2 -0
  241. package/dist/chunks/cli-0.6.9-xpvddrex.mjs +4 -0
  242. package/dist/chunks/cli-0.6.9-y0wg39nk.mjs +2 -0
  243. package/dist/chunks/cli-0.6.9-yh3sfvca.mjs +2 -0
  244. package/dist/chunks/cli-0.6.9-yhp352r8.mjs +193 -0
  245. package/dist/chunks/cli-0.6.9-ymxkw0j9.mjs +5 -0
  246. package/dist/chunks/cli-0.6.9-ynh6kjv5.mjs +2 -0
  247. package/dist/chunks/cli-0.6.9-ytpaqmsk.mjs +45 -0
  248. package/dist/chunks/cli-0.6.9-z2400j8e.mjs +2 -0
  249. package/dist/chunks/cli-0.6.9-z3wh6pmj.mjs +4 -0
  250. package/dist/chunks/cli-0.6.9-z6aaad8t.mjs +10 -0
  251. package/dist/chunks/cli-0.6.9-zsnw0941.mjs +39 -0
  252. package/dist/chunks/cli-0.6.9-zzzn3e8b.mjs +16 -0
  253. package/dist/chunks/client-0.6.9-cz438b8v.mjs +1 -0
  254. package/dist/chunks/color-0.6.9-vdsgnwjj.mjs +1 -0
  255. package/dist/chunks/compact-0.6.9-gp0w7v9s.mjs +3 -0
  256. package/dist/chunks/config-0.6.9-f50cq2by.mjs +1 -0
  257. package/dist/chunks/config-0.6.9-zezbmxp9.mjs +1 -0
  258. package/dist/chunks/constants-0.6.9-d7fjn6ym.mjs +1 -0
  259. package/dist/chunks/context-0.6.9-vs4wf3qj.mjs +1 -0
  260. package/dist/chunks/context-noninteractive-0.6.9-3v8697je.mjs +1 -0
  261. package/dist/chunks/conversation-0.6.9-sq5hwdze.mjs +1 -0
  262. package/dist/chunks/copilotHeaders-0.6.9-kf7a254d.mjs +1 -0
  263. package/dist/chunks/copy-0.6.9-qfs2e58z.mjs +9 -0
  264. package/dist/chunks/cost-0.6.9-w97qsa6d.mjs +1 -0
  265. package/dist/chunks/createSSHSession-0.6.9-9r9vyh4c.mjs +1 -0
  266. package/dist/chunks/createSession-0.6.9-w8bj9hkr.mjs +1 -0
  267. package/dist/chunks/debug-0.6.9-p5c3pfsj.mjs +1 -0
  268. package/dist/chunks/defaultActionDeps-0.6.9-g6wka3f7.mjs +1367 -0
  269. package/dist/chunks/desktop-0.6.9-szcfghe5.mjs +1 -0
  270. package/dist/chunks/detectRepository-0.6.9-sv4rn6e9.mjs +1 -0
  271. package/dist/chunks/detection-0.6.9-avkk26gv.mjs +1 -0
  272. package/dist/chunks/diff-0.6.9-6qtw4swj.mjs +1 -0
  273. package/dist/chunks/doctor-0.6.9-wemp2503.mjs +1 -0
  274. package/dist/chunks/doctorDiagnostic-0.6.9-n4wcbma8.mjs +1 -0
  275. package/dist/chunks/earlyInput-0.6.9-7t2yxx2k.mjs +1 -0
  276. package/dist/chunks/effort-0.6.9-ad6129tk.mjs +10 -0
  277. package/dist/chunks/envLessBridgeConfig-0.6.9-9276szv2.mjs +1 -0
  278. package/dist/chunks/envUtils-0.6.9-ynm3aqgf.mjs +1 -0
  279. package/dist/chunks/environmentSelection-0.6.9-cjwzdh51.mjs +1 -0
  280. package/dist/chunks/environments-0.6.9-s5d4xqep.mjs +1 -0
  281. package/dist/chunks/errors-0.6.9-w9kte9cs.mjs +1 -0
  282. package/dist/chunks/exampleCommands-0.6.9-4056c0dz.mjs +1 -0
  283. package/dist/chunks/exit-0.6.9-j72je7w6.mjs +1 -0
  284. package/dist/chunks/explorer-0.6.9-98k1atn1.mjs +1 -0
  285. package/dist/chunks/export-0.6.9-s9zpgv4f.mjs +2 -0
  286. package/dist/chunks/extra-usage-0.6.9-6nj4st4n.mjs +1 -0
  287. package/dist/chunks/extra-usage-noninteractive-0.6.9-nwh6dbn1.mjs +1 -0
  288. package/dist/chunks/fast-0.6.9-r5349jvd.mjs +1 -0
  289. package/dist/chunks/feedback-0.6.9-ssn1fmcb.mjs +14 -0
  290. package/dist/chunks/firstPartyEventLogger-0.6.9-pm4x6st7.mjs +1 -0
  291. package/dist/chunks/git-0.6.9-y91x52y1.mjs +1 -0
  292. package/dist/chunks/githubModelsCredentials-0.6.9-kfr0nk73.mjs +1 -0
  293. package/dist/chunks/goal-0.6.9-3gwvk3bv.mjs +4 -0
  294. package/dist/chunks/grove-0.6.9-wmv3gysg.mjs +1 -0
  295. package/dist/chunks/growthbook-0.6.9-7ajmx6eh.mjs +1 -0
  296. package/dist/chunks/headless-0.6.9-6ab7stx4.mjs +2 -0
  297. package/dist/chunks/heapdump-0.6.9-1kx1h3ba.mjs +6 -0
  298. package/dist/chunks/help-0.6.9-rf486d17.mjs +1 -0
  299. package/dist/chunks/hookChains-0.6.9-pxna9psh.mjs +3 -0
  300. package/dist/chunks/hooks-0.6.9-wav1pakb.mjs +1 -0
  301. package/dist/chunks/hooks-0.6.9-zc69g73d.mjs +79 -0
  302. package/dist/chunks/ide-0.6.9-kgqwyzh1.mjs +3 -0
  303. package/dist/chunks/image-processor-napi-0.6.9-pa1ny79r.mjs +1 -0
  304. package/dist/chunks/inboundAttachments-0.6.9-jjfdegyr.mjs +1 -0
  305. package/dist/chunks/index-0.6.9-0nqhy7sy.mjs +1 -0
  306. package/dist/chunks/index-0.6.9-1bq0hpw2.mjs +1 -0
  307. package/dist/chunks/index-0.6.9-2snpdxy3.mjs +1 -0
  308. package/dist/chunks/index-0.6.9-5k23gfe9.mjs +1 -0
  309. package/dist/chunks/index-0.6.9-619t4kvv.mjs +9 -0
  310. package/dist/chunks/index-0.6.9-8kfhzkpy.mjs +1 -0
  311. package/dist/chunks/index-0.6.9-902sjqyc.mjs +9 -0
  312. package/dist/chunks/index-0.6.9-a2ssd4wq.mjs +30 -0
  313. package/dist/chunks/index-0.6.9-aqfgsev2.mjs +1 -0
  314. package/dist/chunks/index-0.6.9-arpthr5q.mjs +2 -0
  315. package/dist/chunks/index-0.6.9-bngr20xg.mjs +2 -0
  316. package/dist/chunks/index-0.6.9-ck4qgvty.mjs +1 -0
  317. package/dist/chunks/index-0.6.9-d2vjtgqs.mjs +1 -0
  318. package/dist/chunks/index-0.6.9-e3szhjja.mjs +1 -0
  319. package/dist/chunks/index-0.6.9-efqgg2fb.mjs +1 -0
  320. package/dist/chunks/index-0.6.9-ewht5a34.mjs +5 -0
  321. package/dist/chunks/index-0.6.9-g43bx48w.mjs +1 -0
  322. package/dist/chunks/index-0.6.9-jq16aq9c.mjs +1 -0
  323. package/dist/chunks/index-0.6.9-n4d1shjt.mjs +1 -0
  324. package/dist/chunks/index-0.6.9-r63gj39n.mjs +1 -0
  325. package/dist/chunks/index-0.6.9-rry8n9vj.mjs +1 -0
  326. package/dist/chunks/index-0.6.9-v2xp35sf.mjs +1 -0
  327. package/dist/chunks/index-0.6.9-vev4s22g.mjs +1 -0
  328. package/dist/chunks/init-0.6.9-h8jwxt6h.mjs +1 -0
  329. package/dist/chunks/initReplBridge-0.6.9-c10qt3gn.mjs +1 -0
  330. package/dist/chunks/ink-0.6.9-49s4s9jc.mjs +1 -0
  331. package/dist/chunks/insights-0.6.9-sag6cjh3.mjs +870 -0
  332. package/dist/chunks/install-0.6.9-s1h2dkak.mjs +1 -0
  333. package/dist/chunks/install-github-app-0.6.9-rgv15r8t.mjs +149 -0
  334. package/dist/chunks/install-slack-app-0.6.9-cpn9fgkg.mjs +1 -0
  335. package/dist/chunks/instrumentation-0.6.9-265vgh29.mjs +1 -0
  336. package/dist/chunks/interactiveHelpers-0.6.9-5p2xm7b4.mjs +1 -0
  337. package/dist/chunks/keybindings-0.6.9-8755gwzd.mjs +2 -0
  338. package/dist/chunks/knowledge-0.6.9-vv9d2yhp.mjs +2 -0
  339. package/dist/chunks/latestVersionCache-0.6.9-acef14hs.mjs +1 -0
  340. package/dist/chunks/loadAgentsDir-0.6.9-s5zmmsmj.mjs +1 -0
  341. package/dist/chunks/loadPluginHooks-0.6.9-e65pc8g0.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-0.6.9-k2ddma7b.mjs +1 -0
  343. package/dist/chunks/log-0.6.9-bb1wwfr9.mjs +1 -0
  344. package/dist/chunks/main-0.6.9-xp3yb12z.mjs +1 -0
  345. package/dist/chunks/managedEnv-0.6.9-9vjjgckq.mjs +1 -0
  346. package/dist/chunks/mcp-0.6.9-3k9qwk6b.mjs +17 -0
  347. package/dist/chunks/mcp-0.6.9-74q0zmbx.mjs +1 -0
  348. package/dist/chunks/mcp-0.6.9-hnmfw09m.mjs +4 -0
  349. package/dist/chunks/mcpb-0.6.9-npmecrdw.mjs +1 -0
  350. package/dist/chunks/memory-0.6.9-r9amy13p.mjs +3 -0
  351. package/dist/chunks/model-0.6.9-j7qkjsh4.mjs +1 -0
  352. package/dist/chunks/model-0.6.9-qvbhjt5a.mjs +2 -0
  353. package/dist/chunks/node-0.6.9-7618k0cs.mjs +12 -0
  354. package/dist/chunks/oauth-0.6.9-10e6vje5.mjs +1 -0
  355. package/dist/chunks/openaiShim-0.6.9-pke3rkx3.mjs +14 -0
  356. package/dist/chunks/output-style-0.6.9-5dww84zv.mjs +1 -0
  357. package/dist/chunks/package-FMOR3ELU-0.6.9-tqcy00ry.mjs +1 -0
  358. package/dist/chunks/parseConnectUrl-0.6.9-rzx7fgrs.mjs +1 -0
  359. package/dist/chunks/parser-0.6.9-r5r8db6m.mjs +1 -0
  360. package/dist/chunks/passes-0.6.9-9ntxdmjs.mjs +1 -0
  361. package/dist/chunks/permissions-0.6.9-06k3424m.mjs +1 -0
  362. package/dist/chunks/permissions-0.6.9-qg4repwk.mjs +3 -0
  363. package/dist/chunks/plan-0.6.9-2bgtj9s7.mjs +1 -0
  364. package/dist/chunks/plist-0.6.9-qwz1tx1x.mjs +1 -0
  365. package/dist/chunks/plugin-0.6.9-tptgr2qf.mjs +29 -0
  366. package/dist/chunks/pluginStartupCheck-0.6.9-9dfate68.mjs +1 -0
  367. package/dist/chunks/plugins-0.6.9-qmzrjgkm.mjs +9 -0
  368. package/dist/chunks/preActionHook-0.6.9-kcp5zkcc.mjs +2 -0
  369. package/dist/chunks/print-0.6.9-m3fbd53e.mjs +57 -0
  370. package/dist/chunks/privacy-settings-0.6.9-16gpzrax.mjs +1 -0
  371. package/dist/chunks/process-0.6.9-3e3f5r17.mjs +1 -0
  372. package/dist/chunks/processBashCommand-0.6.9-542d591h.mjs +1 -0
  373. package/dist/chunks/processSlashCommand-0.6.9-esx1dxzr.mjs +9 -0
  374. package/dist/chunks/prompt-0.6.9-r0j2sxeh.mjs +1 -0
  375. package/dist/chunks/prompt-0.6.9-yqs9hbe5.mjs +1 -0
  376. package/dist/chunks/prompts-0.6.9-aejx76by.mjs +1 -0
  377. package/dist/chunks/protocolHandler-0.6.9-6f15y1bc.mjs +13 -0
  378. package/dist/chunks/provider-0.6.9-cq128p4x.mjs +2 -0
  379. package/dist/chunks/providerProfiles-0.6.9-angsmcpe.mjs +1 -0
  380. package/dist/chunks/providerValidation-0.6.9-jvq9j27j.mjs +6 -0
  381. package/dist/chunks/rate-limit-options-0.6.9-bb7szjxd.mjs +1 -0
  382. package/dist/chunks/registerSubcommands-0.6.9-ntgxbjdf.mjs +34 -0
  383. package/dist/chunks/registry-0.6.9-g3jk5jc0.mjs +1 -0
  384. package/dist/chunks/release-notes-0.6.9-za6qss4x.mjs +5 -0
  385. package/dist/chunks/reload-plugins-0.6.9-4kq8n1bm.mjs +2 -0
  386. package/dist/chunks/remote-env-0.6.9-zf6vx3hg.mjs +1 -0
  387. package/dist/chunks/remoteBridgeCore-0.6.9-pz9x9kkp.mjs +1 -0
  388. package/dist/chunks/remoteSession-0.6.9-b0yejcdh.mjs +1 -0
  389. package/dist/chunks/rename-0.6.9-v12x6k3n.mjs +1 -0
  390. package/dist/chunks/replBridgeHandle-0.6.9-5dnpvxp7.mjs +1 -0
  391. package/dist/chunks/replLauncher-0.6.9-b9vwe3a0.mjs +1 -0
  392. package/dist/chunks/resume-0.6.9-bd2pqpzx.mjs +2 -0
  393. package/dist/chunks/rewind-0.6.9-mtghn6v6.mjs +1 -0
  394. package/dist/chunks/rootOptions-0.6.9-kthybc4f.mjs +1 -0
  395. package/dist/chunks/sandbox-adapter-0.6.9-xy35en8q.mjs +1 -0
  396. package/dist/chunks/sandbox-toggle-0.6.9-5xezm83a.mjs +1 -0
  397. package/dist/chunks/session-0.6.9-m7jcvyhf.mjs +2 -0
  398. package/dist/chunks/sessionDiscovery-0.6.9-xtq2azg8.mjs +1 -0
  399. package/dist/chunks/sessionFileAccessHooks-0.6.9-cw7p2vz4.mjs +1 -0
  400. package/dist/chunks/sessionStorage-0.6.9-cf9hvj5p.mjs +1 -0
  401. package/dist/chunks/settings-0.6.9-3yt2knq2.mjs +1 -0
  402. package/dist/chunks/setup-0.6.9-zyhhsegx.mjs +5 -0
  403. package/dist/chunks/sinks-0.6.9-37az99sx.mjs +1 -0
  404. package/dist/chunks/skills-0.6.9-pmayt9xm.mjs +1 -0
  405. package/dist/chunks/startupProfiler-0.6.9-rqf2vjrq.mjs +1 -0
  406. package/dist/chunks/startupUpdateCheck-0.6.9-2n5g00f9.mjs +1 -0
  407. package/dist/chunks/state-0.6.9-6bv4xar6.mjs +1 -0
  408. package/dist/chunks/stats-0.6.9-vm6c7j7g.mjs +6 -0
  409. package/dist/chunks/status-0.6.9-fm5f7dvn.mjs +1 -0
  410. package/dist/chunks/stickers-0.6.9-wqd21rwz.mjs +1 -0
  411. package/dist/chunks/subprocessEnv-0.6.9-42b0wsjg.mjs +1 -0
  412. package/dist/chunks/tasks-0.6.9-f6fah65x.mjs +1 -0
  413. package/dist/chunks/teamHelpers-0.6.9-0azp8kbe.mjs +1 -0
  414. package/dist/chunks/teammateModeSnapshot-0.6.9-1b3b44py.mjs +1 -0
  415. package/dist/chunks/teleport-0.6.9-y0314abd.mjs +1 -0
  416. package/dist/chunks/terminalSetup-0.6.9-wp4j4emr.mjs +1 -0
  417. package/dist/chunks/theme-0.6.9-wd132tma.mjs +1 -0
  418. package/dist/chunks/thinkback-0.6.9-s2hgsb3p.mjs +1 -0
  419. package/dist/chunks/thinkback-play-0.6.9-n9nbpvnr.mjs +1 -0
  420. package/dist/chunks/toolPool-0.6.9-q3tw4r65.mjs +1 -0
  421. package/dist/chunks/toolSearch-0.6.9-d6we1981.mjs +1 -0
  422. package/dist/chunks/tools-0.6.9-a8ce0ts5.mjs +1 -0
  423. package/dist/chunks/trustedDevice-0.6.9-5mvbmmaw.mjs +1 -0
  424. package/dist/chunks/turndown.cjs-0.6.9-spamn9kh.mjs +69 -0
  425. package/dist/chunks/types-0.6.9-9jzm5cwt.mjs +1 -0
  426. package/dist/chunks/ultrareviewCommand-0.6.9-bpefwyej.mjs +4 -0
  427. package/dist/chunks/update-0.6.9-pxbtnmt1.mjs +86 -0
  428. package/dist/chunks/upgrade-0.6.9-1yghety6.mjs +1 -0
  429. package/dist/chunks/upload-0.6.9-g09ng6tg.mjs +7 -0
  430. package/dist/chunks/upstreamproxy-0.6.9-dk2q7qk2.mjs +14 -0
  431. package/dist/chunks/url-handler-napi-0.6.9-rh07p4qq.mjs +1 -0
  432. package/dist/chunks/usage-0.6.9-z5y3f792.mjs +1 -0
  433. package/dist/chunks/util-0.6.9-fzw6284w.mjs +1 -0
  434. package/dist/chunks/utils-0.6.9-0rg7h5a5.mjs +1 -0
  435. package/dist/chunks/vim-0.6.9-pjkbr7kq.mjs +1 -0
  436. package/dist/chunks/watcher-0.6.9-0r6bzvm6.mjs +1 -0
  437. package/dist/chunks/wiki-0.6.9-v7kdrm8t.mjs +132 -0
  438. package/dist/chunks/worktree-0.6.9-ef4xspe2.mjs +1 -0
  439. package/dist/chunks/worktreeModeEnabled-0.6.9-kvm9x26k.mjs +1 -0
  440. package/dist/chunks/wrapper-0.6.9-b63s2yhh.mjs +7 -0
  441. package/dist/claudin-vscode.vsix +0 -0
  442. package/dist/cli.mjs +2 -2
  443. package/package.json +1 -1
  444. package/dist/chunks/AgentTool-0.6.8-1h6eg55x.mjs +0 -1
  445. package/dist/chunks/App-0.6.8-gf7z37d0.mjs +0 -1
  446. package/dist/chunks/ApproveApiKey-0.6.8-z559z4n4.mjs +0 -1
  447. package/dist/chunks/AssistantSessionChooser-0.6.8-a964szce.mjs +0 -1
  448. package/dist/chunks/AutoModeOptInDialog-0.6.8-hmgphwsn.mjs +0 -1
  449. package/dist/chunks/BypassPermissionsModeDialog-0.6.8-9vwjqk2g.mjs +0 -1
  450. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.8-bmx62ftg.mjs +0 -1
  451. package/dist/chunks/ConsoleOAuthFlow-0.6.8-6xg5m0rs.mjs +0 -1
  452. package/dist/chunks/DiffDialog-0.6.8-m77gpjht.mjs +0 -7
  453. package/dist/chunks/Doctor-0.6.8-h33wtqvb.mjs +0 -1
  454. package/dist/chunks/ExplorerDialog-0.6.8-g4rjbnb6.mjs +0 -6
  455. package/dist/chunks/Grove-0.6.8-c6v8rps5.mjs +0 -1
  456. package/dist/chunks/ITermBackend-0.6.8-c6rr3der.mjs +0 -1
  457. package/dist/chunks/InvalidConfigDialog-0.6.8-rq8061vm.mjs +0 -1
  458. package/dist/chunks/InvalidSettingsDialog-0.6.8-k3gjdk9q.mjs +0 -1
  459. package/dist/chunks/MigrationDialog-0.6.8-fndbdavr.mjs +0 -1
  460. package/dist/chunks/Onboarding-0.6.8-p9c1cvpj.mjs +0 -1
  461. package/dist/chunks/ProviderManager-0.6.8-rgwzy8mv.mjs +0 -1
  462. package/dist/chunks/REPL-0.6.8-wz4ky583.mjs +0 -1
  463. package/dist/chunks/ResumeConversation-0.6.8-0vytwym2.mjs +0 -1
  464. package/dist/chunks/SnapshotUpdateDialog-0.6.8-j49mg943.mjs +0 -1
  465. package/dist/chunks/TeleportProgress-0.6.8-1w0czdzd.mjs +0 -1
  466. package/dist/chunks/TeleportRepoMismatchDialog-0.6.8-3tb748qg.mjs +0 -1
  467. package/dist/chunks/TeleportResumeWrapper-0.6.8-cchdkcj0.mjs +0 -1
  468. package/dist/chunks/TmuxBackend-0.6.8-83basabp.mjs +0 -9
  469. package/dist/chunks/ToolSearchTool-0.6.8-vz9cakde.mjs +0 -1
  470. package/dist/chunks/TrustDialog-0.6.8-9xfzmsa4.mjs +0 -1
  471. package/dist/chunks/activeProvider-0.6.8-z6bqkc89.mjs +0 -1
  472. package/dist/chunks/add-dir-0.6.8-maggp9sq.mjs +0 -1
  473. package/dist/chunks/agents-0.6.8-b17xcjhg.mjs +0 -3
  474. package/dist/chunks/agents-0.6.8-n3vcbv4n.mjs +0 -110
  475. package/dist/chunks/api-0.6.8-dx65vfgr.mjs +0 -1
  476. package/dist/chunks/asciicast-0.6.8-xdty46r6.mjs +0 -1
  477. package/dist/chunks/assistant-0.6.8-48pyb11z.mjs +0 -1
  478. package/dist/chunks/auth-0.6.8-jzmpk916.mjs +0 -1
  479. package/dist/chunks/auth-0.6.8-v4ggd1x2.mjs +0 -1
  480. package/dist/chunks/autoMode-0.6.8-e3tpbf8n.mjs +0 -48
  481. package/dist/chunks/autoUpdater-0.6.8-kjwba4kd.mjs +0 -1
  482. package/dist/chunks/backgroundHousekeeping-0.6.8-ahc5b93c.mjs +0 -1
  483. package/dist/chunks/branch-0.6.8-bht94rzm.mjs +0 -4
  484. package/dist/chunks/bridge-0.6.8-w3a5wvz5.mjs +0 -2
  485. package/dist/chunks/bridgeConfig-0.6.8-tcqxv3wr.mjs +0 -1
  486. package/dist/chunks/bridgeEnabled-0.6.8-bbk61bwx.mjs +0 -1
  487. package/dist/chunks/bridgeMain-0.6.8-4gdvjwd9.mjs +0 -88
  488. package/dist/chunks/bridgePointer-0.6.8-y9zbj5sw.mjs +0 -1
  489. package/dist/chunks/btw-0.6.8-p8v9ccqj.mjs +0 -1
  490. package/dist/chunks/buddy-0.6.8-cc9dgg1j.mjs +0 -3
  491. package/dist/chunks/cacache-0.6.8-sa10tzqt.mjs +0 -1
  492. package/dist/chunks/cache-probe-0.6.8-rb3gqp6p.mjs +0 -21
  493. package/dist/chunks/cacheStats-0.6.8-ayfpcw3z.mjs +0 -4
  494. package/dist/chunks/caches-0.6.8-z51zt2q7.mjs +0 -1
  495. package/dist/chunks/claudeDesktop-0.6.8-f2s8faxb.mjs +0 -1
  496. package/dist/chunks/claudemd-0.6.8-b32hs73z.mjs +0 -1
  497. package/dist/chunks/clear-0.6.8-wr581077.mjs +0 -1
  498. package/dist/chunks/clearTerminal-0.6.8-n1mdykjw.mjs +0 -1
  499. package/dist/chunks/cli-0.6.8-00w6vgmt.mjs +0 -4
  500. package/dist/chunks/cli-0.6.8-026meybw.mjs +0 -2
  501. package/dist/chunks/cli-0.6.8-070cxjdc.mjs +0 -2
  502. package/dist/chunks/cli-0.6.8-097dncsw.mjs +0 -2
  503. package/dist/chunks/cli-0.6.8-0dtwbbq2.mjs +0 -10
  504. package/dist/chunks/cli-0.6.8-0gpdjv55.mjs +0 -34
  505. package/dist/chunks/cli-0.6.8-0hn9sy42.mjs +0 -2
  506. package/dist/chunks/cli-0.6.8-0mb0d7wn.mjs +0 -3
  507. package/dist/chunks/cli-0.6.8-0mnxmayn.mjs +0 -2
  508. package/dist/chunks/cli-0.6.8-0rt710pa.mjs +0 -2
  509. package/dist/chunks/cli-0.6.8-0s41dm0j.mjs +0 -2
  510. package/dist/chunks/cli-0.6.8-0yz4b8v5.mjs +0 -2
  511. package/dist/chunks/cli-0.6.8-0zdwjw7h.mjs +0 -17
  512. package/dist/chunks/cli-0.6.8-1bmxpdky.mjs +0 -2
  513. package/dist/chunks/cli-0.6.8-1g5hjvgr.mjs +0 -3
  514. package/dist/chunks/cli-0.6.8-1k0se62h.mjs +0 -2
  515. package/dist/chunks/cli-0.6.8-1mnssvmz.mjs +0 -8
  516. package/dist/chunks/cli-0.6.8-1yx8jjck.mjs +0 -2
  517. package/dist/chunks/cli-0.6.8-21y1120z.mjs +0 -2
  518. package/dist/chunks/cli-0.6.8-239wrpj3.mjs +0 -2
  519. package/dist/chunks/cli-0.6.8-259kprym.mjs +0 -2
  520. package/dist/chunks/cli-0.6.8-25he0rqv.mjs +0 -2
  521. package/dist/chunks/cli-0.6.8-2e9hw0b1.mjs +0 -4
  522. package/dist/chunks/cli-0.6.8-2f4081dz.mjs +0 -2
  523. package/dist/chunks/cli-0.6.8-2h6sve00.mjs +0 -12
  524. package/dist/chunks/cli-0.6.8-2nda5zxh.mjs +0 -67
  525. package/dist/chunks/cli-0.6.8-2p06hgb1.mjs +0 -2
  526. package/dist/chunks/cli-0.6.8-2pj7sdxd.mjs +0 -2
  527. package/dist/chunks/cli-0.6.8-2qb9g75m.mjs +0 -2
  528. package/dist/chunks/cli-0.6.8-34gwg749.mjs +0 -2
  529. package/dist/chunks/cli-0.6.8-3a510y9k.mjs +0 -2
  530. package/dist/chunks/cli-0.6.8-3ewbgezt.mjs +0 -2
  531. package/dist/chunks/cli-0.6.8-3phwrcqa.mjs +0 -3
  532. package/dist/chunks/cli-0.6.8-3z78waf8.mjs +0 -4
  533. package/dist/chunks/cli-0.6.8-416cqzak.mjs +0 -2
  534. package/dist/chunks/cli-0.6.8-4a0ebxtv.mjs +0 -2
  535. package/dist/chunks/cli-0.6.8-4avmxq80.mjs +0 -6
  536. package/dist/chunks/cli-0.6.8-4d57xs6b.mjs +0 -2
  537. package/dist/chunks/cli-0.6.8-4jh3r7br.mjs +0 -2
  538. package/dist/chunks/cli-0.6.8-4zdzrvfa.mjs +0 -2
  539. package/dist/chunks/cli-0.6.8-5enet6dq.mjs +0 -2
  540. package/dist/chunks/cli-0.6.8-5gstf2n7.mjs +0 -2
  541. package/dist/chunks/cli-0.6.8-5n9bwjf9.mjs +0 -2
  542. package/dist/chunks/cli-0.6.8-5sexbrs8.mjs +0 -3
  543. package/dist/chunks/cli-0.6.8-5y8n5kpk.mjs +0 -2
  544. package/dist/chunks/cli-0.6.8-6050y1gw.mjs +0 -2
  545. package/dist/chunks/cli-0.6.8-61qkxc3j.mjs +0 -2
  546. package/dist/chunks/cli-0.6.8-6495m72a.mjs +0 -2
  547. package/dist/chunks/cli-0.6.8-6ccg5qmp.mjs +0 -2
  548. package/dist/chunks/cli-0.6.8-6nasamhy.mjs +0 -2
  549. package/dist/chunks/cli-0.6.8-6pf3s7fk.mjs +0 -6
  550. package/dist/chunks/cli-0.6.8-6tgf3xa0.mjs +0 -133
  551. package/dist/chunks/cli-0.6.8-6v315rd0.mjs +0 -2
  552. package/dist/chunks/cli-0.6.8-6wdxaa6q.mjs +0 -3
  553. package/dist/chunks/cli-0.6.8-6z1655sa.mjs +0 -2
  554. package/dist/chunks/cli-0.6.8-72sec87k.mjs +0 -3
  555. package/dist/chunks/cli-0.6.8-77sjcesf.mjs +0 -2
  556. package/dist/chunks/cli-0.6.8-7g7k6yt9.mjs +0 -2
  557. package/dist/chunks/cli-0.6.8-7nqm28z4.mjs +0 -2
  558. package/dist/chunks/cli-0.6.8-7rznct58.mjs +0 -2
  559. package/dist/chunks/cli-0.6.8-7t0cwmv0.mjs +0 -2
  560. package/dist/chunks/cli-0.6.8-7t8gpbd2.mjs +0 -6
  561. package/dist/chunks/cli-0.6.8-82xanm26.mjs +0 -3
  562. package/dist/chunks/cli-0.6.8-883y3p0j.mjs +0 -5348
  563. package/dist/chunks/cli-0.6.8-8cptc9vb.mjs +0 -4
  564. package/dist/chunks/cli-0.6.8-8ezmkwsw.mjs +0 -2
  565. package/dist/chunks/cli-0.6.8-8h913n7t.mjs +0 -2
  566. package/dist/chunks/cli-0.6.8-8jkm4bym.mjs +0 -2
  567. package/dist/chunks/cli-0.6.8-8zc9gtx8.mjs +0 -2
  568. package/dist/chunks/cli-0.6.8-93hp2f5g.mjs +0 -2
  569. package/dist/chunks/cli-0.6.8-9cxxg2ax.mjs +0 -2
  570. package/dist/chunks/cli-0.6.8-9f5w9wre.mjs +0 -2
  571. package/dist/chunks/cli-0.6.8-9m65pb3r.mjs +0 -18
  572. package/dist/chunks/cli-0.6.8-9pkhxd6z.mjs +0 -2
  573. package/dist/chunks/cli-0.6.8-9xem54f8.mjs +0 -2
  574. package/dist/chunks/cli-0.6.8-a7nmnbm4.mjs +0 -2
  575. package/dist/chunks/cli-0.6.8-a8zm3cbn.mjs +0 -5
  576. package/dist/chunks/cli-0.6.8-abapkbf0.mjs +0 -15
  577. package/dist/chunks/cli-0.6.8-ag8hcaw0.mjs +0 -2
  578. package/dist/chunks/cli-0.6.8-atjt49c4.mjs +0 -2
  579. package/dist/chunks/cli-0.6.8-b280gnkv.mjs +0 -1
  580. package/dist/chunks/cli-0.6.8-b2zms4ec.mjs +0 -2
  581. package/dist/chunks/cli-0.6.8-b3v9vbq6.mjs +0 -2
  582. package/dist/chunks/cli-0.6.8-b6c3tmkx.mjs +0 -2
  583. package/dist/chunks/cli-0.6.8-b6f3e10d.mjs +0 -2
  584. package/dist/chunks/cli-0.6.8-bdhpc7zj.mjs +0 -17
  585. package/dist/chunks/cli-0.6.8-bh09cgap.mjs +0 -6
  586. package/dist/chunks/cli-0.6.8-bp3vvgaw.mjs +0 -2
  587. package/dist/chunks/cli-0.6.8-bsqfs15y.mjs +0 -58
  588. package/dist/chunks/cli-0.6.8-bxcjrmby.mjs +0 -2
  589. package/dist/chunks/cli-0.6.8-c838p5hk.mjs +0 -3
  590. package/dist/chunks/cli-0.6.8-cbvnsxaa.mjs +0 -12
  591. package/dist/chunks/cli-0.6.8-cctyv31j.mjs +0 -4
  592. package/dist/chunks/cli-0.6.8-cthp7gx1.mjs +0 -2
  593. package/dist/chunks/cli-0.6.8-cv73s4x5.mjs +0 -4
  594. package/dist/chunks/cli-0.6.8-dk4bw9mq.mjs +0 -3
  595. package/dist/chunks/cli-0.6.8-dpz3wm8v.mjs +0 -2
  596. package/dist/chunks/cli-0.6.8-dvkyrzw7.mjs +0 -5
  597. package/dist/chunks/cli-0.6.8-dwwx58n6.mjs +0 -2
  598. package/dist/chunks/cli-0.6.8-dxtyt1wg.mjs +0 -2
  599. package/dist/chunks/cli-0.6.8-ee7wzgsq.mjs +0 -5
  600. package/dist/chunks/cli-0.6.8-ee9mr0z2.mjs +0 -2
  601. package/dist/chunks/cli-0.6.8-efkksxch.mjs +0 -2
  602. package/dist/chunks/cli-0.6.8-efve08ng.mjs +0 -2
  603. package/dist/chunks/cli-0.6.8-ekkrzmjw.mjs +0 -2
  604. package/dist/chunks/cli-0.6.8-eyg1sq7b.mjs +0 -2
  605. package/dist/chunks/cli-0.6.8-eypwe6gz.mjs +0 -15
  606. package/dist/chunks/cli-0.6.8-fhedvbz1.mjs +0 -15
  607. package/dist/chunks/cli-0.6.8-fnet85r6.mjs +0 -2
  608. package/dist/chunks/cli-0.6.8-g3yp49rz.mjs +0 -2
  609. package/dist/chunks/cli-0.6.8-gcnabbk4.mjs +0 -3
  610. package/dist/chunks/cli-0.6.8-gfsf3tvy.mjs +0 -2
  611. package/dist/chunks/cli-0.6.8-gmzxyn2t.mjs +0 -2
  612. package/dist/chunks/cli-0.6.8-grdpt7ss.mjs +0 -2
  613. package/dist/chunks/cli-0.6.8-gscmwgeh.mjs +0 -4
  614. package/dist/chunks/cli-0.6.8-gtwt16bp.mjs +0 -2
  615. package/dist/chunks/cli-0.6.8-hj3j54vb.mjs +0 -2
  616. package/dist/chunks/cli-0.6.8-hvckc721.mjs +0 -2
  617. package/dist/chunks/cli-0.6.8-j22112y9.mjs +0 -2
  618. package/dist/chunks/cli-0.6.8-j5wfgenk.mjs +0 -2
  619. package/dist/chunks/cli-0.6.8-j81d3bq4.mjs +0 -2
  620. package/dist/chunks/cli-0.6.8-j8mdppyz.mjs +0 -2
  621. package/dist/chunks/cli-0.6.8-janhze0q.mjs +0 -39
  622. package/dist/chunks/cli-0.6.8-jea2s05x.mjs +0 -2
  623. package/dist/chunks/cli-0.6.8-jf4zbgy5.mjs +0 -2
  624. package/dist/chunks/cli-0.6.8-jp8gk6z3.mjs +0 -2
  625. package/dist/chunks/cli-0.6.8-jp9zzk35.mjs +0 -2
  626. package/dist/chunks/cli-0.6.8-jx1wvs6x.mjs +0 -2
  627. package/dist/chunks/cli-0.6.8-k533p6s5.mjs +0 -2
  628. package/dist/chunks/cli-0.6.8-kjfxmp31.mjs +0 -2
  629. package/dist/chunks/cli-0.6.8-kkh9paa3.mjs +0 -2
  630. package/dist/chunks/cli-0.6.8-kv1xtman.mjs +0 -2
  631. package/dist/chunks/cli-0.6.8-kxp0gfzq.mjs +0 -4
  632. package/dist/chunks/cli-0.6.8-m1r6z413.mjs +0 -2
  633. package/dist/chunks/cli-0.6.8-m2hw29ah.mjs +0 -2
  634. package/dist/chunks/cli-0.6.8-m2yf7dzs.mjs +0 -2
  635. package/dist/chunks/cli-0.6.8-ma2wastm.mjs +0 -50
  636. package/dist/chunks/cli-0.6.8-mecr32eb.mjs +0 -24
  637. package/dist/chunks/cli-0.6.8-mkfx6c2h.mjs +0 -7
  638. package/dist/chunks/cli-0.6.8-n3rhca7k.mjs +0 -2
  639. package/dist/chunks/cli-0.6.8-n4ecq63e.mjs +0 -2
  640. package/dist/chunks/cli-0.6.8-nmdsnavk.mjs +0 -2
  641. package/dist/chunks/cli-0.6.8-nwtmpseh.mjs +0 -2
  642. package/dist/chunks/cli-0.6.8-nz7pwsys.mjs +0 -2
  643. package/dist/chunks/cli-0.6.8-p6rhsdxf.mjs +0 -2
  644. package/dist/chunks/cli-0.6.8-pgcmgfht.mjs +0 -2
  645. package/dist/chunks/cli-0.6.8-pmpv80vx.mjs +0 -2
  646. package/dist/chunks/cli-0.6.8-pz3sbced.mjs +0 -25
  647. package/dist/chunks/cli-0.6.8-pzbspy3n.mjs +0 -2
  648. package/dist/chunks/cli-0.6.8-q027tb7b.mjs +0 -2
  649. package/dist/chunks/cli-0.6.8-q3txjpb9.mjs +0 -2
  650. package/dist/chunks/cli-0.6.8-qg557m5n.mjs +0 -2
  651. package/dist/chunks/cli-0.6.8-r1yjkwda.mjs +0 -2
  652. package/dist/chunks/cli-0.6.8-r42pr0w8.mjs +0 -2
  653. package/dist/chunks/cli-0.6.8-r9jgzx43.mjs +0 -2
  654. package/dist/chunks/cli-0.6.8-rewjhmpq.mjs +0 -133
  655. package/dist/chunks/cli-0.6.8-reyv7f1y.mjs +0 -9
  656. package/dist/chunks/cli-0.6.8-rftvcrp4.mjs +0 -2
  657. package/dist/chunks/cli-0.6.8-rw4y8s92.mjs +0 -2
  658. package/dist/chunks/cli-0.6.8-s0geqcvz.mjs +0 -2
  659. package/dist/chunks/cli-0.6.8-s0s7zs2a.mjs +0 -24
  660. package/dist/chunks/cli-0.6.8-s6yd5ybz.mjs +0 -2
  661. package/dist/chunks/cli-0.6.8-s98bd3q2.mjs +0 -2
  662. package/dist/chunks/cli-0.6.8-sn09eprm.mjs +0 -2
  663. package/dist/chunks/cli-0.6.8-sz1r1tvd.mjs +0 -2
  664. package/dist/chunks/cli-0.6.8-sznj03wy.mjs +0 -3
  665. package/dist/chunks/cli-0.6.8-t1kd2tg3.mjs +0 -2
  666. package/dist/chunks/cli-0.6.8-t3th9jjg.mjs +0 -2
  667. package/dist/chunks/cli-0.6.8-ta6qf4we.mjs +0 -20
  668. package/dist/chunks/cli-0.6.8-tb4rrntr.mjs +0 -16
  669. package/dist/chunks/cli-0.6.8-tewmm6rt.mjs +0 -2
  670. package/dist/chunks/cli-0.6.8-tnqnaqpx.mjs +0 -3
  671. package/dist/chunks/cli-0.6.8-tzmx6gz0.mjs +0 -12
  672. package/dist/chunks/cli-0.6.8-tztjt9fh.mjs +0 -4
  673. package/dist/chunks/cli-0.6.8-v582jfcn.mjs +0 -4
  674. package/dist/chunks/cli-0.6.8-v9wg3pvs.mjs +0 -2
  675. package/dist/chunks/cli-0.6.8-vcpys5fx.mjs +0 -2
  676. package/dist/chunks/cli-0.6.8-vf9cagcj.mjs +0 -59
  677. package/dist/chunks/cli-0.6.8-vpaw67v2.mjs +0 -193
  678. package/dist/chunks/cli-0.6.8-vqhtd9ay.mjs +0 -2
  679. package/dist/chunks/cli-0.6.8-vseqtday.mjs +0 -21
  680. package/dist/chunks/cli-0.6.8-vwhx9xjq.mjs +0 -2
  681. package/dist/chunks/cli-0.6.8-wdjsawer.mjs +0 -3
  682. package/dist/chunks/cli-0.6.8-wdq4r1nd.mjs +0 -2
  683. package/dist/chunks/cli-0.6.8-wfy4hqb2.mjs +0 -2
  684. package/dist/chunks/cli-0.6.8-wh069qak.mjs +0 -2
  685. package/dist/chunks/cli-0.6.8-wj4r5nwg.mjs +0 -2
  686. package/dist/chunks/cli-0.6.8-wnjmpcsm.mjs +0 -2
  687. package/dist/chunks/cli-0.6.8-x87v5pq1.mjs +0 -45
  688. package/dist/chunks/cli-0.6.8-xj1ptmgh.mjs +0 -2
  689. package/dist/chunks/cli-0.6.8-y0p6bqj6.mjs +0 -2
  690. package/dist/chunks/cli-0.6.8-y2c1w6bt.mjs +0 -42
  691. package/dist/chunks/cli-0.6.8-y3hnde8e.mjs +0 -2
  692. package/dist/chunks/cli-0.6.8-yvfgg1kg.mjs +0 -2
  693. package/dist/chunks/cli-0.6.8-yvt0y45m.mjs +0 -28
  694. package/dist/chunks/cli-0.6.8-yztx4k12.mjs +0 -18
  695. package/dist/chunks/cli-0.6.8-z4wpf0ah.mjs +0 -2
  696. package/dist/chunks/client-0.6.8-8kz2zw01.mjs +0 -1
  697. package/dist/chunks/color-0.6.8-jhpvc051.mjs +0 -1
  698. package/dist/chunks/compact-0.6.8-0gcf2ncc.mjs +0 -3
  699. package/dist/chunks/config-0.6.8-dxk5q3qr.mjs +0 -1
  700. package/dist/chunks/config-0.6.8-xdt0r55h.mjs +0 -1
  701. package/dist/chunks/constants-0.6.8-49aaqy22.mjs +0 -1
  702. package/dist/chunks/context-0.6.8-tavd1s8s.mjs +0 -1
  703. package/dist/chunks/context-noninteractive-0.6.8-6vagjsgf.mjs +0 -1
  704. package/dist/chunks/conversation-0.6.8-10fvebzj.mjs +0 -1
  705. package/dist/chunks/copilotHeaders-0.6.8-fqca0jf7.mjs +0 -1
  706. package/dist/chunks/copy-0.6.8-rhzw5vyv.mjs +0 -9
  707. package/dist/chunks/cost-0.6.8-w3qf0kpn.mjs +0 -1
  708. package/dist/chunks/createSSHSession-0.6.8-r7cw30nn.mjs +0 -1
  709. package/dist/chunks/createSession-0.6.8-vwbe80jv.mjs +0 -1
  710. package/dist/chunks/debug-0.6.8-pzm167m4.mjs +0 -1
  711. package/dist/chunks/defaultActionDeps-0.6.8-nnx5s7ws.mjs +0 -1367
  712. package/dist/chunks/desktop-0.6.8-ef8y3qjr.mjs +0 -1
  713. package/dist/chunks/detectRepository-0.6.8-3ayp37pd.mjs +0 -1
  714. package/dist/chunks/detection-0.6.8-pdrw5y2x.mjs +0 -1
  715. package/dist/chunks/diff-0.6.8-fxk9tzbd.mjs +0 -1
  716. package/dist/chunks/doctor-0.6.8-ajzrj1jx.mjs +0 -1
  717. package/dist/chunks/doctorDiagnostic-0.6.8-w72jdksp.mjs +0 -1
  718. package/dist/chunks/earlyInput-0.6.8-ca9mzfzf.mjs +0 -1
  719. package/dist/chunks/effort-0.6.8-e6xp1ycv.mjs +0 -10
  720. package/dist/chunks/envLessBridgeConfig-0.6.8-9vz6evg2.mjs +0 -1
  721. package/dist/chunks/envUtils-0.6.8-vq8np9fm.mjs +0 -1
  722. package/dist/chunks/environmentSelection-0.6.8-mf3acav0.mjs +0 -1
  723. package/dist/chunks/environments-0.6.8-k7rgvnpj.mjs +0 -1
  724. package/dist/chunks/errors-0.6.8-svsjkqng.mjs +0 -1
  725. package/dist/chunks/exampleCommands-0.6.8-7qjc7y64.mjs +0 -1
  726. package/dist/chunks/exit-0.6.8-507vwyf9.mjs +0 -1
  727. package/dist/chunks/explorer-0.6.8-25m08xd0.mjs +0 -1
  728. package/dist/chunks/export-0.6.8-w1yn5sa3.mjs +0 -2
  729. package/dist/chunks/extra-usage-0.6.8-sahj9pr6.mjs +0 -1
  730. package/dist/chunks/extra-usage-noninteractive-0.6.8-3r3nczjf.mjs +0 -1
  731. package/dist/chunks/fast-0.6.8-jpkz65vs.mjs +0 -1
  732. package/dist/chunks/feedback-0.6.8-5w9gvrc0.mjs +0 -14
  733. package/dist/chunks/firstPartyEventLogger-0.6.8-b2w3hkeb.mjs +0 -1
  734. package/dist/chunks/git-0.6.8-drry71tr.mjs +0 -1
  735. package/dist/chunks/githubModelsCredentials-0.6.8-4phd2tn9.mjs +0 -1
  736. package/dist/chunks/goal-0.6.8-vp972bd7.mjs +0 -4
  737. package/dist/chunks/grove-0.6.8-9dr81tf3.mjs +0 -1
  738. package/dist/chunks/growthbook-0.6.8-fcwcztdp.mjs +0 -1
  739. package/dist/chunks/headless-0.6.8-m2jzbvg9.mjs +0 -2
  740. package/dist/chunks/heapdump-0.6.8-awp81a34.mjs +0 -6
  741. package/dist/chunks/help-0.6.8-hbsb7av5.mjs +0 -1
  742. package/dist/chunks/hookChains-0.6.8-04mbkzxt.mjs +0 -3
  743. package/dist/chunks/hooks-0.6.8-6x1xc1rx.mjs +0 -1
  744. package/dist/chunks/hooks-0.6.8-80h8h076.mjs +0 -79
  745. package/dist/chunks/ide-0.6.8-7vbxnmby.mjs +0 -3
  746. package/dist/chunks/image-processor-napi-0.6.8-8m23kpm0.mjs +0 -1
  747. package/dist/chunks/inboundAttachments-0.6.8-wcyd47px.mjs +0 -1
  748. package/dist/chunks/index-0.6.8-1q3w68f1.mjs +0 -1
  749. package/dist/chunks/index-0.6.8-1w8hv7a8.mjs +0 -1
  750. package/dist/chunks/index-0.6.8-2sp7v8r9.mjs +0 -2
  751. package/dist/chunks/index-0.6.8-3782mjyy.mjs +0 -1
  752. package/dist/chunks/index-0.6.8-6eeqw069.mjs +0 -1
  753. package/dist/chunks/index-0.6.8-7dmsg46k.mjs +0 -5
  754. package/dist/chunks/index-0.6.8-7prxs8kr.mjs +0 -1
  755. package/dist/chunks/index-0.6.8-azcjsyp8.mjs +0 -1
  756. package/dist/chunks/index-0.6.8-ccq5xheq.mjs +0 -2
  757. package/dist/chunks/index-0.6.8-dkdk0g9j.mjs +0 -1
  758. package/dist/chunks/index-0.6.8-dv8qe20v.mjs +0 -1
  759. package/dist/chunks/index-0.6.8-fsfq8ekm.mjs +0 -1
  760. package/dist/chunks/index-0.6.8-k3r9pz8v.mjs +0 -1
  761. package/dist/chunks/index-0.6.8-ke45hjqk.mjs +0 -1
  762. package/dist/chunks/index-0.6.8-kvjzqm75.mjs +0 -9
  763. package/dist/chunks/index-0.6.8-m9y8nqmz.mjs +0 -30
  764. package/dist/chunks/index-0.6.8-mc1wvtc8.mjs +0 -1
  765. package/dist/chunks/index-0.6.8-svxnm6ph.mjs +0 -1
  766. package/dist/chunks/index-0.6.8-vvg8dg6z.mjs +0 -9
  767. package/dist/chunks/index-0.6.8-wec8yb9e.mjs +0 -1
  768. package/dist/chunks/index-0.6.8-y535r49s.mjs +0 -1
  769. package/dist/chunks/index-0.6.8-yf6035wh.mjs +0 -1
  770. package/dist/chunks/index-0.6.8-zcf4qg35.mjs +0 -1
  771. package/dist/chunks/init-0.6.8-brwjmnyg.mjs +0 -1
  772. package/dist/chunks/initReplBridge-0.6.8-5jcj5ax3.mjs +0 -1
  773. package/dist/chunks/ink-0.6.8-cts7p4b7.mjs +0 -1
  774. package/dist/chunks/insights-0.6.8-h5b5ve9h.mjs +0 -870
  775. package/dist/chunks/install-0.6.8-e3gdw6r9.mjs +0 -1
  776. package/dist/chunks/install-github-app-0.6.8-hh3mzyfs.mjs +0 -149
  777. package/dist/chunks/install-slack-app-0.6.8-n4pb88x6.mjs +0 -1
  778. package/dist/chunks/instrumentation-0.6.8-67ewcnwm.mjs +0 -1
  779. package/dist/chunks/interactiveHelpers-0.6.8-ryjx3tbw.mjs +0 -1
  780. package/dist/chunks/keybindings-0.6.8-8v6q91kq.mjs +0 -2
  781. package/dist/chunks/knowledge-0.6.8-dn40ytkg.mjs +0 -2
  782. package/dist/chunks/latestVersionCache-0.6.8-xx081act.mjs +0 -1
  783. package/dist/chunks/loadAgentsDir-0.6.8-vhh6hfk9.mjs +0 -1
  784. package/dist/chunks/loadPluginHooks-0.6.8-p15wjdk7.mjs +0 -1
  785. package/dist/chunks/loadPluginHooks-0.6.8-tjd9ekbf.mjs +0 -1
  786. package/dist/chunks/log-0.6.8-srvm2n7a.mjs +0 -1
  787. package/dist/chunks/main-0.6.8-5mcvdtte.mjs +0 -1
  788. package/dist/chunks/managedEnv-0.6.8-3m2x6zgp.mjs +0 -1
  789. package/dist/chunks/mcp-0.6.8-3dztd40j.mjs +0 -17
  790. package/dist/chunks/mcp-0.6.8-5msk2pvy.mjs +0 -4
  791. package/dist/chunks/mcp-0.6.8-nxyt74pa.mjs +0 -1
  792. package/dist/chunks/mcpb-0.6.8-v8q530w6.mjs +0 -1
  793. package/dist/chunks/memory-0.6.8-1pkjxmpb.mjs +0 -3
  794. package/dist/chunks/model-0.6.8-00wgempd.mjs +0 -2
  795. package/dist/chunks/model-0.6.8-99m80ayt.mjs +0 -1
  796. package/dist/chunks/node-0.6.8-b8rvxhkh.mjs +0 -12
  797. package/dist/chunks/oauth-0.6.8-c2r6j7j0.mjs +0 -1
  798. package/dist/chunks/openaiShim-0.6.8-z736wyft.mjs +0 -14
  799. package/dist/chunks/output-style-0.6.8-586m3zta.mjs +0 -1
  800. package/dist/chunks/package-FMOR3ELU-0.6.8-xe49mr3f.mjs +0 -1
  801. package/dist/chunks/parseConnectUrl-0.6.8-wawy5rxc.mjs +0 -1
  802. package/dist/chunks/parser-0.6.8-zjc9fwme.mjs +0 -1
  803. package/dist/chunks/passes-0.6.8-mn4rnfm9.mjs +0 -1
  804. package/dist/chunks/permissions-0.6.8-jdgt2sv8.mjs +0 -1
  805. package/dist/chunks/permissions-0.6.8-z6ybrhdp.mjs +0 -3
  806. package/dist/chunks/plan-0.6.8-9h16p6t0.mjs +0 -1
  807. package/dist/chunks/plist-0.6.8-ras7a7wc.mjs +0 -1
  808. package/dist/chunks/plugin-0.6.8-0p0a1k4b.mjs +0 -29
  809. package/dist/chunks/pluginStartupCheck-0.6.8-ff7hmaes.mjs +0 -1
  810. package/dist/chunks/plugins-0.6.8-fbp29vr3.mjs +0 -9
  811. package/dist/chunks/preActionHook-0.6.8-1qt932q1.mjs +0 -2
  812. package/dist/chunks/print-0.6.8-tm9918yr.mjs +0 -57
  813. package/dist/chunks/privacy-settings-0.6.8-5e2yd64z.mjs +0 -1
  814. package/dist/chunks/process-0.6.8-mqtgb3cx.mjs +0 -1
  815. package/dist/chunks/processBashCommand-0.6.8-xtx2v6da.mjs +0 -1
  816. package/dist/chunks/processSlashCommand-0.6.8-xgvzddwk.mjs +0 -9
  817. package/dist/chunks/prompt-0.6.8-57r1r589.mjs +0 -1
  818. package/dist/chunks/prompt-0.6.8-npwq825f.mjs +0 -1
  819. package/dist/chunks/prompts-0.6.8-ta5q8t8a.mjs +0 -1
  820. package/dist/chunks/protocolHandler-0.6.8-mf45pq35.mjs +0 -13
  821. package/dist/chunks/provider-0.6.8-pemvh2k5.mjs +0 -2
  822. package/dist/chunks/providerProfiles-0.6.8-t4rbsxrj.mjs +0 -1
  823. package/dist/chunks/providerValidation-0.6.8-jvfz53fe.mjs +0 -6
  824. package/dist/chunks/rate-limit-options-0.6.8-egm6fsa2.mjs +0 -1
  825. package/dist/chunks/registerSubcommands-0.6.8-c33k54ns.mjs +0 -34
  826. package/dist/chunks/registry-0.6.8-v7m02nk2.mjs +0 -1
  827. package/dist/chunks/release-notes-0.6.8-wwv5r86y.mjs +0 -5
  828. package/dist/chunks/reload-plugins-0.6.8-72v51g0k.mjs +0 -2
  829. package/dist/chunks/remote-env-0.6.8-gn37jake.mjs +0 -1
  830. package/dist/chunks/remoteBridgeCore-0.6.8-7cd0x0sw.mjs +0 -1
  831. package/dist/chunks/remoteSession-0.6.8-tr5ph176.mjs +0 -1
  832. package/dist/chunks/rename-0.6.8-8jb90c48.mjs +0 -1
  833. package/dist/chunks/replBridgeHandle-0.6.8-znyhk31n.mjs +0 -1
  834. package/dist/chunks/replLauncher-0.6.8-we5yqk5n.mjs +0 -1
  835. package/dist/chunks/resume-0.6.8-x8vd5cdx.mjs +0 -2
  836. package/dist/chunks/rewind-0.6.8-dg7aawme.mjs +0 -1
  837. package/dist/chunks/rootOptions-0.6.8-ezrfenmz.mjs +0 -1
  838. package/dist/chunks/sandbox-adapter-0.6.8-cfj9xd48.mjs +0 -1
  839. package/dist/chunks/sandbox-toggle-0.6.8-mffa8yr5.mjs +0 -1
  840. package/dist/chunks/session-0.6.8-6pyjb4jn.mjs +0 -2
  841. package/dist/chunks/sessionDiscovery-0.6.8-e3h9zvrp.mjs +0 -1
  842. package/dist/chunks/sessionFileAccessHooks-0.6.8-5q6x4jx9.mjs +0 -1
  843. package/dist/chunks/sessionStorage-0.6.8-3tvaj86g.mjs +0 -1
  844. package/dist/chunks/settings-0.6.8-m72ttv29.mjs +0 -1
  845. package/dist/chunks/setup-0.6.8-f3y64bte.mjs +0 -5
  846. package/dist/chunks/sinks-0.6.8-t8e55v3b.mjs +0 -1
  847. package/dist/chunks/skills-0.6.8-17ktqb7y.mjs +0 -1
  848. package/dist/chunks/startupProfiler-0.6.8-qj52vcw4.mjs +0 -1
  849. package/dist/chunks/startupUpdateCheck-0.6.8-51vrdbj6.mjs +0 -1
  850. package/dist/chunks/state-0.6.8-pwxe3dfk.mjs +0 -1
  851. package/dist/chunks/stats-0.6.8-fc152nhd.mjs +0 -6
  852. package/dist/chunks/status-0.6.8-bjgdnsz8.mjs +0 -1
  853. package/dist/chunks/stickers-0.6.8-dndn2kp3.mjs +0 -1
  854. package/dist/chunks/subprocessEnv-0.6.8-zzdkzkpq.mjs +0 -1
  855. package/dist/chunks/tasks-0.6.8-zjm7dnep.mjs +0 -1
  856. package/dist/chunks/teamHelpers-0.6.8-prrabxj1.mjs +0 -1
  857. package/dist/chunks/teammateModeSnapshot-0.6.8-21bj5sj0.mjs +0 -1
  858. package/dist/chunks/teleport-0.6.8-jvcjg7d7.mjs +0 -1
  859. package/dist/chunks/terminalSetup-0.6.8-9y4235w1.mjs +0 -1
  860. package/dist/chunks/theme-0.6.8-wvdhk95e.mjs +0 -1
  861. package/dist/chunks/thinkback-0.6.8-8dn71z5r.mjs +0 -1
  862. package/dist/chunks/thinkback-play-0.6.8-agrskwfn.mjs +0 -1
  863. package/dist/chunks/toolPool-0.6.8-90318hbv.mjs +0 -1
  864. package/dist/chunks/toolSearch-0.6.8-eyr73a52.mjs +0 -1
  865. package/dist/chunks/tools-0.6.8-mdjqydpm.mjs +0 -1
  866. package/dist/chunks/trustedDevice-0.6.8-b7fae7s5.mjs +0 -1
  867. package/dist/chunks/turndown.cjs-0.6.8-sgzhfavm.mjs +0 -69
  868. package/dist/chunks/types-0.6.8-4gf5x9jb.mjs +0 -1
  869. package/dist/chunks/ultrareviewCommand-0.6.8-5cdef89y.mjs +0 -4
  870. package/dist/chunks/update-0.6.8-hv3gahmz.mjs +0 -86
  871. package/dist/chunks/upgrade-0.6.8-w044cw9y.mjs +0 -1
  872. package/dist/chunks/upload-0.6.8-er3nq389.mjs +0 -7
  873. package/dist/chunks/upstreamproxy-0.6.8-zfg8pv8q.mjs +0 -14
  874. package/dist/chunks/url-handler-napi-0.6.8-1q2hrhb3.mjs +0 -1
  875. package/dist/chunks/usage-0.6.8-pc8gdf6b.mjs +0 -1
  876. package/dist/chunks/util-0.6.8-rt8y16fm.mjs +0 -1
  877. package/dist/chunks/utils-0.6.8-8nsbk9w4.mjs +0 -1
  878. package/dist/chunks/vim-0.6.8-y1wq10k6.mjs +0 -1
  879. package/dist/chunks/watcher-0.6.8-hq0y1y68.mjs +0 -1
  880. package/dist/chunks/wiki-0.6.8-jqbmvz1r.mjs +0 -132
  881. package/dist/chunks/worktree-0.6.8-hn8ac7q6.mjs +0 -1
  882. package/dist/chunks/worktreeModeEnabled-0.6.8-k0yys6b0.mjs +0 -1
  883. package/dist/chunks/wrapper-0.6.8-r1wx821t.mjs +0 -7
  884. /package/dist/chunks/{cli-0.6.8-0s2z302k.mjs → cli-0.6.9-2kd0dsnv.mjs} +0 -0
  885. /package/dist/chunks/{cli-0.6.8-0fra5z78.mjs → cli-0.6.9-bvsdx3f8.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.8-akzaeas1.mjs → cli-0.6.9-jj198dy3.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.8-7cychtp8.mjs → cli-0.6.9-kf28v99d.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.8-aasxytdk.mjs → cli-0.6.9-r1m7xdaq.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.8-9bt8c69s.mjs → cli-0.6.9-r7fnwtpb.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.6.8-fe86xfp4.mjs → cli-0.6.9-yt963aje.mjs} +0 -0
@@ -0,0 +1,3 @@
1
+ import{VU as W,_U as p}from"./cli-0.6.9-sr9jy37c.mjs";import{A0 as P,y0 as H}from"./cli-0.6.9-a5zs8qb2.mjs";import{lfa as M,yfa as Z}from"./cli-0.6.9-6vtgxtwc.mjs";import{Rfa as q,Tfa as $,Ufa as Q,Vfa as k}from"./cli-0.6.9-w56gxnbb.mjs";import{Mpa as Y}from"./cli-0.6.9-8ymt6nd1.mjs";async function X(){let x=await M("tengu_bridge_repl_v2_config",K),J=w().safeParse(x);return J.success?J.data:K}async function V(){let x=await X();if(x.min_version&&H("99.0.0",x.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
+ Version ${x.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function b(){if(!W())return!1;return(await X()).should_show_app_upgrade_message}var K,w;var O=Y(()=>{$();Z();k();P();p();K={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},w=Q(()=>q.object({init_retry_max_attempts:q.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:q.number().int().min(100).default(500),init_retry_jitter_fraction:q.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:q.number().int().min(500).default(4000),http_timeout_ms:q.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:q.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:q.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:q.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:q.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:q.number().int().min(500).max(2000).default(1500),connect_timeout_ms:q.number().int().min(5000).max(60000).default(15000),min_version:q.string().refine((x)=>{try{return H(x,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:q.boolean().default(!1)}))});
3
+ export{K as Zb,X as _b,V as $b,b as ac,O as bc};
@@ -0,0 +1,2 @@
1
+ import{Jf as EG,Kf as iG,Qf as rG}from"./cli-0.6.9-w6ee6p28.mjs";import{$K as kG,Em as FG,Fm as OG,GK as LG,Gr as uG,HK as BG,JK as pG,Jm as VG,LK as WG,MK as qG,RK as a,Tm as fG,VK as DG,VL as bG,XK as y,YK as o,YL as sG,ZK as lG,aM as f,bM as s,cM as c,dM as v,eL as _G,eM as i,hM as u,hr as vG,kv as l,lM as cG,lv as jG,mv as HG,nL as aG,nv as dG,pE as KG,qE as mG,xL as $G,yL as oG}from"./cli-0.6.9-gercjmay.mjs";import{DX as QJ}from"./cli-0.6.9-0f11memf.mjs";import{J1 as wG,L1 as PG}from"./cli-0.6.9-fepacdf9.mjs";import{M1 as YG}from"./cli-0.6.9-mb7kx11j.mjs";import{iea as R,jaa as zG,jea as _,mea as gG,oaa as CG}from"./cli-0.6.9-yhp352r8.mjs";import{yfa as NG}from"./cli-0.6.9-6vtgxtwc.mjs";import{Mga as A,Pga as MG}from"./cli-0.6.9-prq3ecgt.mjs";import{Pha as ZG,Sha as SG,xha as yG}from"./cli-0.6.9-jfyk8906.mjs";import{hia as h,oia as TG}from"./cli-0.6.9-cky5efqh.mjs";import{foa as XG,ika as QG}from"./cli-0.6.9-88y94bf5.mjs";import{Ipa as r,Mpa as p}from"./cli-0.6.9-8ymt6nd1.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
2
+ export{e as Ef,aJ as Ff,oJ as Gf,sJ as Hf,XJ as If};
@@ -0,0 +1,4 @@
1
+ import{bT as W,cT as P}from"./cli-0.6.9-khjkzjgr.mjs";import{Ica as S,P8 as M,Q8 as R,Y_ as A,__ as y,eea as O,l9 as _,mea as F,o8 as K,p8 as I,tca as B,uca as G}from"./cli-0.6.9-yhp352r8.mjs";import{Yfa as D,Zfa as x}from"./cli-0.6.9-j94027pe.mjs";import{Eoa as $,Foa as z}from"./cli-0.6.9-143kz7xy.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
2
+ `)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
3
+ `)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
4
+ export{d as Aa,E as Ba,p as Ca,c as Da,r as Ea};
@@ -0,0 +1,2 @@
1
+ import{a2 as N,f2 as $}from"./cli-0.6.9-8v4sw3p1.mjs";import{S5 as M,a3 as L,d3 as Y,q6 as Z}from"./cli-0.6.9-zzzn3e8b.mjs";import{eea as Q,mea as X}from"./cli-0.6.9-yhp352r8.mjs";import{Kga as J,Lga as V}from"./cli-0.6.9-5tam8r4f.mjs";import{gia as P,oia as S}from"./cli-0.6.9-cky5efqh.mjs";import{apa as K,spa as W}from"./cli-0.6.9-cp5fabjc.mjs";import{Mpa as R}from"./cli-0.6.9-8ymt6nd1.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
2
+ export{C as kW,j as lW,b as mW};
@@ -0,0 +1,2 @@
1
+ import{nfa as G,yfa as K}from"./cli-0.6.9-6vtgxtwc.mjs";import{Rfa as j,Tfa as M,Ufa as J,Vfa as N}from"./cli-0.6.9-w56gxnbb.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
+ export{q as gb,$ as hb};
@@ -0,0 +1,2 @@
1
+ import{Mpa as j}from"./cli-0.6.9-8ymt6nd1.mjs";var q,v,z;var w=j(()=>{q=["acceptEdits","bypassPermissions","default","dontAsk","plan"],v=[...q,"auto"],z=v});
2
+ export{q as $ea,v as afa,z as bfa,w as cfa};
@@ -0,0 +1,2 @@
1
+ import{ti as a,ui as l}from"./cli-0.6.9-67ms6qe8.mjs";import{vi as m,wi as c}from"./cli-0.6.9-2nc79qh3.mjs";import{J1 as e,L1 as n}from"./cli-0.6.9-fepacdf9.mjs";import{Mpa as s}from"./cli-0.6.9-8ymt6nd1.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
+ export{f as ri,g as si};
@@ -0,0 +1,4 @@
1
+ import{vg as s,wg as Sy}from"./cli-0.6.9-wrs935pe.mjs";import{Eg as wy,Gg as kG}from"./cli-0.6.9-z2400j8e.mjs";import{Ai as ny,xi as Zy,zi as Ky}from"./cli-0.6.9-8hye8y46.mjs";import{Dn as yy,Fn as Gy,Hn as ky,Hw as Xy,KJ as j,Kn as qy,Kw as oy,LJ as ey,Ln as zy,Mn as Iy,Nu as X,On as Jy,Oq as Qy,Ou as ay,QR as zG,Qk as e,TJ as Oy,Uk as sy,Un as xy,Zq as Wy,bK as yG,eR as Hy,fr as ly,iK as by,is as C,lF as i,mF as Ly,mK as GG,qF as g,qs as _y,rF as My,vR as Vy}from"./cli-0.6.9-gercjmay.mjs";import{NV as Ny,OV as ty}from"./cli-0.6.9-az6jyck0.mjs";import{SW as Py,TW as Uy,UW as jy,YW as qG}from"./cli-0.6.9-aqma59cn.mjs";import{cX as Ry,iX as cy}from"./cli-0.6.9-v3yecwhs.mjs";import{DX as hy,DZ as ry,WY as Q,XY as $y,YY as L,_Y as d}from"./cli-0.6.9-0f11memf.mjs";import{J1 as O,K1 as E,L1 as p}from"./cli-0.6.9-fepacdf9.mjs";import{M1 as Yy}from"./cli-0.6.9-mb7kx11j.mjs";import{J4 as iy,Z5 as h,j4 as c,k4 as t,q6 as gy}from"./cli-0.6.9-zzzn3e8b.mjs";import{M6 as a,N6 as fy}from"./cli-0.6.9-h9kchbsc.mjs";import{Ica as M,Q8 as T,Y_ as J,__ as Ey,e9 as o,iba as n,kca as P,l9 as Ay,n9 as U,nba as r,nca as q,o9 as uy,oba as v,xba as dy}from"./cli-0.6.9-yhp352r8.mjs";import{mfa as K,xfa as A,yfa as u}from"./cli-0.6.9-6vtgxtwc.mjs";import{Mga as f,Pga as Fy}from"./cli-0.6.9-prq3ecgt.mjs";import{Pha as _,Sha as Dy}from"./cli-0.6.9-jfyk8906.mjs";import{Ipa as D}from"./cli-0.6.9-8ymt6nd1.mjs";ry();u();Fy();M();Ly();Sy();My();p();var $=D(hy(),1),F=D(Yy(),1),Ty={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return A("tengu_desktop_upsell",Ty)}function vy(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function wG(){if(!vy())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function PG(y){let G=$.c(14),{onDone:k}=y,[z,Z]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(py,W),z){let w;if(G[1]!==k)w=O(s,{onDone:()=>k()}),G[1]=k,G[2]=w;else w=G[2];return w}let b;if(G[3]!==k)b=function(By){switch(By){case"try":{Z(!0);return}case"never":{P(Cy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=b;else b=G[4];let I=b,R;if(G[5]===Symbol.for("react.memo_cache_sentinel"))R={label:"Open in Claude Code Desktop",value:"try"},G[5]=R;else R=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[R,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let my=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=O(L,{marginBottom:1,children:O(d,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let N;if(G[9]!==I)N=()=>I("not-now"),G[9]=I,G[10]=N;else N=G[10];let B;if(G[11]!==I||G[12]!==N)B=O(g,{title:"Try Claude Code Desktop",children:E(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,O(i,{options:my,onChange:I,onCancel:N})]})}),G[11]=I,G[12]=N,G[13]=B;else B=G[13];return B}function Cy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function py(){let y=(q().desktopUpsellSeenCount??0)+1;P((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),f("tengu_desktop_upsell_shown",{seen_count:y})}M();function VG(y){let G=q().numStartups;P((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function x(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}fy();Dy();_y();dy();cy();$y();kG();ay();sy();gy();ty();M();ly();Ey();oy();Ay();xy();iy();uy();GG();yG();ey();zG();u();ny();qG();var Y;async function IG(){if(Y!==void 0)return Y;let y=await Oy();return Y=j in y,Y}async function l(y,G,k){if(!await IG())return!1;if(by(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((Z)=>z.has(Z)))return!0}if(k.filePath&&G?.readFileState){if(Xy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var JG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=v(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return _(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await o()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${X("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${X("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${X("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(Hy())return!1;return await Ny()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ry())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&a.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>U()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>v().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!yy())return!1;if(U()!=="macos")return!1;switch(J.terminal){case"vscode":return!await Iy();case"cursor":return!await qy();case"windsurf":return!await zy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Gy())return!1;if((await ky()).length!==0)return!1;return(await Jy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>U()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!C()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>C()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Vy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${X("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${X("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>U()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=c()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return K("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Qy(t()))return!1;if(n("policySettings")?.effortLevel!==void 0)return!1;if(Wy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return K("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return K("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!e())return!1;return K("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=jy();return k?`Share Claude Code and earn ${G(Uy(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=Py();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Zy(),z=k?Ky(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>wy()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],QG=[];function WG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function cG(y){let k=r().spinnerTipsOverride,z=WG();if(k?.excludeDefault&&z.length>0)return z;let Z=[...JG,...QG],W=await Promise.all(Z.map((I)=>I.isRelevant(y)));return[...Z.filter((I,R)=>W[R]).filter((I)=>x(I.id)>=I.cooldownSessions),...z]}
4
+ export{wG as La,PG as Ma,VG as Na,x as Oa,cG as Pa};
@@ -0,0 +1,2 @@
1
+ import{Mpa as P}from"./cli-0.6.9-8ymt6nd1.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
+ export{k as $U,w as aV,H as bV,g as cV,V as dV,W as eV,L as fV,Y as gV};
@@ -0,0 +1,2 @@
1
+ import{Ica as L,eea as B,mea as N,nca as A}from"./cli-0.6.9-yhp352r8.mjs";import{Pha as z,Sha as K}from"./cli-0.6.9-jfyk8906.mjs";import{Lpa as I,Mpa as J}from"./cli-0.6.9-8ymt6nd1.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
+ export{P as nT,Q as oT,R as pT,H as qT,U as rT,V as sT,W as tT};
@@ -0,0 +1,2 @@
1
+ import{Mpa as K}from"./cli-0.6.9-8ymt6nd1.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
+ export{M as Tha,N as Uha,Q as Vha,R as Wha,S as Xha,L as Yha};
@@ -0,0 +1,2 @@
1
+ import{Lpa as n,Mpa as o}from"./cli-0.6.9-8ymt6nd1.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
+ export{i as Mga,c as Nga,p as Oga,u as Pga};
@@ -0,0 +1,2 @@
1
+ import{T1 as N,U1 as V,V1 as D}from"./cli-0.6.9-0pfvh3w1.mjs";import{B2 as Y,G2 as _,S5 as J,U5 as $,X5 as B,q6 as x,r5 as Z}from"./cli-0.6.9-zzzn3e8b.mjs";import{Fga as Q,Lga as P}from"./cli-0.6.9-5tam8r4f.mjs";import{apa as X,spa as R}from"./cli-0.6.9-cp5fabjc.mjs";import{Mpa as W}from"./cli-0.6.9-8ymt6nd1.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudin-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
2
+ export{E as N1,I as O1,w as P1,C as Q1,O as R1,H as S1};
@@ -0,0 +1,2 @@
1
+ import{wh as v,xh as i}from"./cli-0.6.9-fr4y4c0h.mjs";import{yh as E,zh as t}from"./cli-0.6.9-7ke3x92f.mjs";import{nW as b,oW as s}from"./cli-0.6.9-aqma59cn.mjs";import{DZ as m,YY as L,_Y as X}from"./cli-0.6.9-0f11memf.mjs";import{J1 as $,L1 as F}from"./cli-0.6.9-fepacdf9.mjs";import{M1 as d}from"./cli-0.6.9-mb7kx11j.mjs";import{Y7 as C,Z7 as n}from"./cli-0.6.9-yhp352r8.mjs";import{Jea as o,rea as O,sea as l,tea as P,uea as k}from"./cli-0.6.9-xpvddrex.mjs";import{Ipa as g,Mpa as a}from"./cli-0.6.9-8ymt6nd1.mjs";function Kq(J,q,H){if(J.startsWith("file-"))return H?v(q):"+";if(J.startsWith("mcp-resource-"))return"◇";if(J.startsWith("agent-"))return"*";return"+"}function Oq(J){return J.startsWith("file-")||J.startsWith("mcp-resource-")||J.startsWith("agent-")}function Qq(J){let q=J.metadata?.type;return q==="directory"||q==="file"}function Zq({suggestions:J,selectedSuggestion:q,maxColumnWidth:H,overlay:K}){let{rows:A}=b(),Y=A-2,G=Y>=e?Math.min(qq,Y):Math.max(1,Y);if(J.length===0)return null;let w=H??Math.max(...J.map((Q)=>O(Q.displayText)))+5,V=Math.max(0,Math.min(q-Math.floor(G/2),J.length-G)),U=Math.min(V+G,J.length),Z=J.slice(V,U);return $(L,{flexDirection:"column",justifyContent:K?void 0:"flex-end",children:Z.map((Q)=>$(Yq,{item:Q,maxColumnWidth:w,isSelected:Q.id===J[q]?.id},`${Q.id}:${Q.id===J[q]?.id?"selected":"idle"}`))})}var _,e=8,qq=15,y,Jq=" ",B,j,Yq,Mq;var $q=a(()=>{n();s();l();m();i();o();t();F();_=g(d(),1),y=`${C.pointer} `,B=O(y),j=E();Yq=_.memo(function({item:q,maxColumnWidth:H,isSelected:K}){let A=b().columns,Y=K?y:Jq,G=K?"suggestion":void 0,w=K?"inverseText":void 0;if(Oq(q.id)){let D=Kq(q.id,q.displayText,j),I=!K,x=q.id.startsWith("file-"),c=q.id.startsWith("mcp-resource-"),Aq=2,Gq=4,R=q.description?3:0,z;if(x){let N=q.description?Math.min(20,O(q.description)):0,r=A-B-2-4-R-N;z=P(q.displayText,r)}else if(c)z=k(q.displayText,30);else z=q.displayText;let u=A-B-2-O(z)-R-4,M;if(q.description){let N=k(q.description.replace(/\s+/g," "),Math.max(0,u));M=`${Y}${D} ${z} - ${N}`}else M=`${Y}${D} ${z}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:I,bold:K,wrap:"truncate",children:M})})}let V=Math.floor(A*0.4),U=Math.min(H??O(q.displayText)+5,V),Z=q.displayText;if(O(Z)>U-2)Z=k(Z,U-2);let Q=Qq(q)?`${j?v(q.displayText):"+"} `:"",W=Y+Q+Z+" ".repeat(Math.max(0,U-O(Z))),f=q.tag?`[${q.tag}] `:"",S=O(f),h=Math.max(0,A-B-U-S-4),p=q.description?k(q.description.replace(/\s+/g," "),h):"",T=`${W}${f}${p}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:!K,bold:K,wrap:"truncate",children:T})})});Mq=_.memo(Zq)});
2
+ export{Zq as rh,Mq as sh,$q as th};
@@ -0,0 +1 @@
1
+ import{Rfa as q,Tfa as A,Ufa as x,Vfa as B}from"./cli-0.6.9-w56gxnbb.mjs";import{xha as J}from"./cli-0.6.9-jfyk8906.mjs";import{oia as G}from"./cli-0.6.9-cky5efqh.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
@@ -0,0 +1,2 @@
1
+ import{ei as M,fi as w,gi as A}from"./cli-0.6.9-7p077nar.mjs";import{Rfa as X,Tfa as N,Ufa as $,Vfa as O}from"./cli-0.6.9-w56gxnbb.mjs";import{Pha as R,Sha as C}from"./cli-0.6.9-jfyk8906.mjs";import{Eia as _,ria as L}from"./cli-0.6.9-2zwgc8vn.mjs";import{foa as T,ika as H}from"./cli-0.6.9-88y94bf5.mjs";import{apa as W,spa as y}from"./cli-0.6.9-cp5fabjc.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
2
+ export{S as Db,f as Eb,l as Fb,s as Gb};
@@ -0,0 +1,24 @@
1
+ import{Cb as DY}from"./cli-0.6.9-r1m7xdaq.mjs";import{Jc as LY,Mc as iQ}from"./cli-0.6.9-2ffve69q.mjs";import{Nh as V0,Oh as p6}from"./cli-0.6.9-8zqra5w7.mjs";import{li as pY,mi as A6}from"./cli-0.6.9-tae7g2d9.mjs";import{$A as O6,$w as d0,Bp as iZ,Cp as AY,DP as wZ,Dk as L9,Dp as FZ,Ek as u6,Ep as _Y,Fk as z9,Gk as q9,Hj as KZ,Hk as bZ,IM as BY,IN as gY,Ik as Y0,Jk as D9,KC as NY,KM as rQ,Kj as E0,Kk as XZ,LC as nQ,Lk as Q0,MC as RY,Mk as v9,Nk as A9,OC as z6,Ok as sY,Pj as hY,Pz as uY,QJ as P9,QP as rY,Qw as h0,RN as dY,Rw as uZ,Rz as v6,SC as n,SJ as F9,Sw as k0,TN as lY,Tw as x0,UC as U6,Uw as u0,VA as cY,Vw as p0,WA as _6,WJ as M9,WO as s,Ww as pZ,XN as w6,Xw as cZ,Xz as CY,Yo as j9,Yw as c0,Yz as TY,ZP as iY,Zo as i6,Zw as m0,Zz as L6,_A as mY,_w as g0,aH as T0,aP as aY,ax as l0,bH as s9,bK as o6,bQ as zY,bt as ZY,bx as a0,ct as xQ,cx as n0,dt as JY,dx as r0,eQ as qY,et as lQ,ex as i0,ft as kY,fx as GQ,gJ as PY,hP as nY,iP as kZ,is as M0,jJ as J6,km as yZ,kv as I0,lF as C0,ls as b0,lz as xY,mF as o9,mP as xZ,ms as fZ,nm as $Z,nv as i9,om as e0,oz as D6,qs as r9,yC as HY,zC as aQ}from"./cli-0.6.9-gercjmay.mjs";import{FV as Q9,JV as R6}from"./cli-0.6.9-az6jyck0.mjs";import{BW as $0,CW as j0,DW as l9,GW as P0,HW as a9,NW as F0,OW as n9,nW as y0,oW as d9}from"./cli-0.6.9-aqma59cn.mjs";import{DX as m9,DZ as g9,YY as p,_Y as M}from"./cli-0.6.9-0f11memf.mjs";import{I1 as a,J1 as E,K1 as b,L1 as J0}from"./cli-0.6.9-fepacdf9.mjs";import{M1 as c9}from"./cli-0.6.9-mb7kx11j.mjs";import{R3 as $Y,V3 as K6,q6 as G6,t5 as jY}from"./cli-0.6.9-zzzn3e8b.mjs";import{A_ as T6,L8 as E9,S9 as TZ,U9 as x9,X9 as y9,Y7 as _Z,Z$ as $9,Z7 as k9,Zda as U0,aea as p9,eaa as r6,eea as e,j8 as GY,l8 as dQ,l9 as a6,mea as w0,oba as yY,paa as wY,qaa as EY,s_ as n6,saa as V6,v_ as Y9,xba as W6}from"./cli-0.6.9-yhp352r8.mjs";import{Fea as L0,Jea as h9,xea as B0}from"./cli-0.6.9-xpvddrex.mjs";import{nfa as oY,yfa as $6}from"./cli-0.6.9-6vtgxtwc.mjs";import{Rfa as Y,Sfa as h,Tfa as JZ,Ufa as q,Vfa as EZ}from"./cli-0.6.9-w56gxnbb.mjs";import{$fa as RZ,Bga as u9,Yfa as UY,Zfa as X6,cga as z0,dga as q0,ega as D0,fga as v0,iga as A0,jga as _0,vga as O0}from"./cli-0.6.9-j94027pe.mjs";import{Mga as g,Pga as UZ}from"./cli-0.6.9-prq3ecgt.mjs";import{Pha as I,Sga as Z9,Sha as HZ,Uga as C6,sha as ZZ,tha as WY,xha as PZ}from"./cli-0.6.9-jfyk8906.mjs";import{Uha as KY,Yha as gQ}from"./cli-0.6.9-pgqqhqcb.mjs";import{$ha as VY,hia as w9,iia as tZ,oia as lZ}from"./cli-0.6.9-cky5efqh.mjs";import{Pma as J9,Qma as DZ,Rma as H9,Tma as N9,Uma as X0,Wma as B9,coa as IY,foa as BZ,ika as NZ,oka as W0,pka as eY,xla as OY}from"./cli-0.6.9-88y94bf5.mjs";import{Ipa as N0,Lpa as hZ,Mpa as OZ,Npa as rZ}from"./cli-0.6.9-8ymt6nd1.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.9-v2xp35sf.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.9-542d591h.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.9-esx1dxzr.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 Z,N6 as _,OV as $,e9 as aa,S0 as ba,VQ as ca,WQ as da,KQ as ea,wV as fa,iV as ga,gZ as ha,jZ as ia,QY as ja,oQ as ka,Z6 as la,e6 as ma,IW as na,M6 as oa,b6 as pa,I6 as qa,g6 as ra,d6 as sa,l6 as ta};
@@ -0,0 +1,2 @@
1
+ import{kS as z,zq as _}from"./cli-0.6.9-gercjmay.mjs";import{V1 as f}from"./cli-0.6.9-0pfvh3w1.mjs";import{G2 as K,l5 as k,q6 as A}from"./cli-0.6.9-zzzn3e8b.mjs";import{Ica as x,N_ as W,l8 as L,l9 as T,xba as v}from"./cli-0.6.9-yhp352r8.mjs";import{yfa as H}from"./cli-0.6.9-6vtgxtwc.mjs";import{Rfa as b,Tfa as Q,Ufa as q,Vfa as V}from"./cli-0.6.9-w56gxnbb.mjs";import{Lga as w}from"./cli-0.6.9-5tam8r4f.mjs";import{Pga as O}from"./cli-0.6.9-prq3ecgt.mjs";import{oia as U}from"./cli-0.6.9-cky5efqh.mjs";import{dka as X,foa as B}from"./cli-0.6.9-88y94bf5.mjs";import{Mpa as G}from"./cli-0.6.9-8ymt6nd1.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var Y=G(()=>{B();w();A();z();x();L();U();T();K();W();v();X();k();f();H();O();_();J()});
2
+ export{Y as td};
@@ -0,0 +1,2 @@
1
+ import{Kd as Jq,Od as Tq}from"./cli-0.6.9-qwk9n0r3.mjs";import{Vd as zq,Wd as bq}from"./cli-0.6.9-5bs313jv.mjs";import{$J as e,CK as D,FK as Cq,KJ as s,LJ as _q,PJ as a,SJ as l,WJ as t,aH as u,bH as fq,bK as Rq,iK as qq,lF as r,mF as Gq,mK as Fq,wJ as S,yn as n,zJ as Nq,zn as yq}from"./cli-0.6.9-gercjmay.mjs";import{DX as Bq,DZ as Oq,YY as F,_Y as C,tX as i,uX as Kq}from"./cli-0.6.9-0f11memf.mjs";import{J1 as v,K1 as R,L1 as p}from"./cli-0.6.9-fepacdf9.mjs";import{M1 as Lq}from"./cli-0.6.9-mb7kx11j.mjs";import{X9 as x,b8 as g,c8 as Zq,eea as m,mea as wq,n8 as $,n9 as o,o9 as Hq,p8 as Xq,s_ as vq}from"./cli-0.6.9-yhp352r8.mjs";import{Pha as B,Sha as Yq}from"./cli-0.6.9-jfyk8906.mjs";import{gia as P,jia as h,oia as Wq}from"./cli-0.6.9-cky5efqh.mjs";import{Ipa as d,Mpa as Vq}from"./cli-0.6.9-8ymt6nd1.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as Ad,Yz as Bd,Dq as Cd};
@@ -0,0 +1,2 @@
1
+ import{Epa as n}from"./cli-0.6.9-72xw2978.mjs";import{Kpa as r}from"./cli-0.6.9-8ymt6nd1.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as I7};