@claudiolabs/claudin 0.7.1 → 0.7.2

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 (892) hide show
  1. package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +1 -0
  2. package/dist/chunks/App-0.7.2-1yazneaj.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +7 -0
  10. package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +6 -0
  12. package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +1 -0
  19. package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +1 -0
  29. package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +1 -0
  30. package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +3 -0
  31. package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +110 -0
  32. package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +1 -0
  34. package/dist/chunks/assistant-0.7.2-txvf934b.mjs +1 -0
  35. package/dist/chunks/auth-0.7.2-02q30rsb.mjs +1 -0
  36. package/dist/chunks/auth-0.7.2-x29x49yh.mjs +1 -0
  37. package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +1 -0
  40. package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +4 -0
  41. package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +1 -0
  46. package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +1 -0
  47. package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +3 -0
  48. package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +4 -0
  51. package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +1 -0
  53. package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +1 -0
  54. package/dist/chunks/clear-0.7.2-v59pskrm.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +1 -0
  56. package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +2 -0
  57. package/dist/chunks/cli-0.7.2-0mj25tns.mjs +2 -0
  58. package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +2 -0
  59. package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +2 -0
  60. package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +2 -0
  61. package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +2 -0
  62. package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +2 -0
  63. package/dist/chunks/cli-0.7.2-21mtjks8.mjs +15 -0
  64. package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +2 -0
  65. package/dist/chunks/cli-0.7.2-26rzbaez.mjs +2 -0
  66. package/dist/chunks/cli-0.7.2-29hh46ve.mjs +3 -0
  67. package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +2 -0
  68. package/dist/chunks/cli-0.7.2-2rj33835.mjs +6 -0
  69. package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +2 -0
  70. package/dist/chunks/cli-0.7.2-358vh55m.mjs +2 -0
  71. package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +2 -0
  72. package/dist/chunks/cli-0.7.2-3frg7csa.mjs +2 -0
  73. package/dist/chunks/cli-0.7.2-3s2zd715.mjs +3 -0
  74. package/dist/chunks/cli-0.7.2-3synxf81.mjs +2 -0
  75. package/dist/chunks/cli-0.7.2-40f37y02.mjs +2 -0
  76. package/dist/chunks/cli-0.7.2-40xymk1q.mjs +2 -0
  77. package/dist/chunks/cli-0.7.2-437jawbh.mjs +2 -0
  78. package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +2 -0
  79. package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +2 -0
  80. package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +2 -0
  81. package/dist/chunks/cli-0.7.2-4g4d682x.mjs +3 -0
  82. package/dist/chunks/cli-0.7.2-520tgkhw.mjs +5438 -0
  83. package/dist/chunks/cli-0.7.2-53qayxqk.mjs +2 -0
  84. package/dist/chunks/cli-0.7.2-5415yrkc.mjs +2 -0
  85. package/dist/chunks/cli-0.7.2-55ye29jy.mjs +2 -0
  86. package/dist/chunks/cli-0.7.2-5750g5et.mjs +2 -0
  87. package/dist/chunks/cli-0.7.2-59wm2srd.mjs +2 -0
  88. package/dist/chunks/cli-0.7.2-5aka4emf.mjs +133 -0
  89. package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +4 -0
  90. package/dist/chunks/cli-0.7.2-5e72m61f.mjs +25 -0
  91. package/dist/chunks/cli-0.7.2-5ff63f31.mjs +4 -0
  92. package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +2 -0
  93. package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +193 -0
  94. package/dist/chunks/cli-0.7.2-5tacs42k.mjs +2 -0
  95. package/dist/chunks/cli-0.7.2-5y498dyr.mjs +2 -0
  96. package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +15 -0
  97. package/dist/chunks/cli-0.7.2-5yrman6f.mjs +2 -0
  98. package/dist/chunks/cli-0.7.2-60exfzc0.mjs +2 -0
  99. package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +2 -0
  100. package/dist/chunks/cli-0.7.2-68dn8am7.mjs +2 -0
  101. package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +2 -0
  102. package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +12 -0
  103. package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +2 -0
  104. package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +2 -0
  105. package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +2 -0
  106. package/dist/chunks/cli-0.7.2-81s45w7r.mjs +2 -0
  107. package/dist/chunks/cli-0.7.2-828f420c.mjs +7 -0
  108. package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +2 -0
  109. package/dist/chunks/cli-0.7.2-88h70xrj.mjs +50 -0
  110. package/dist/chunks/cli-0.7.2-894093rv.mjs +2 -0
  111. package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +2 -0
  112. package/dist/chunks/cli-0.7.2-8pfcc363.mjs +12 -0
  113. package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +16 -0
  114. package/dist/chunks/cli-0.7.2-9156j3vm.mjs +6 -0
  115. package/dist/chunks/cli-0.7.2-9328ezjz.mjs +3 -0
  116. package/dist/chunks/cli-0.7.2-9953mwyy.mjs +2 -0
  117. package/dist/chunks/cli-0.7.2-99am4r15.mjs +4 -0
  118. package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +4 -0
  119. package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +2 -0
  120. package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +2 -0
  121. package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +2 -0
  122. package/dist/chunks/cli-0.7.2-a6q1amed.mjs +2 -0
  123. package/dist/chunks/cli-0.7.2-a9324x4q.mjs +8 -0
  124. package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +2 -0
  125. package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +2 -0
  126. package/dist/chunks/cli-0.7.2-atsd6734.mjs +2 -0
  127. package/dist/chunks/cli-0.7.2-avk3azcp.mjs +2 -0
  128. package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +2 -0
  129. package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +2 -0
  130. package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +2 -0
  131. package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +21 -0
  132. package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +2 -0
  133. package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +18 -0
  134. package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +4 -0
  135. package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +2 -0
  136. package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +2 -0
  137. package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +2 -0
  138. package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +2 -0
  139. package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +6 -0
  140. package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +2 -0
  141. package/dist/chunks/cli-0.7.2-dggndd24.mjs +2 -0
  142. package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +2 -0
  143. package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +2 -0
  144. package/dist/chunks/cli-0.7.2-dxm2c139.mjs +24 -0
  145. package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +2 -0
  146. package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +2 -0
  147. package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +2 -0
  148. package/dist/chunks/cli-0.7.2-edf740pd.mjs +5 -0
  149. package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +2 -0
  150. package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +2 -0
  151. package/dist/chunks/cli-0.7.2-f4nt233k.mjs +3 -0
  152. package/dist/chunks/cli-0.7.2-fcadqwem.mjs +1 -0
  153. package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +2 -0
  154. package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +12 -0
  155. package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +2 -0
  156. package/dist/chunks/cli-0.7.2-gar34ch2.mjs +4 -0
  157. package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +2 -0
  158. package/dist/chunks/cli-0.7.2-gssxkynf.mjs +2 -0
  159. package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +2 -0
  160. package/dist/chunks/cli-0.7.2-gysw8esj.mjs +2 -0
  161. package/dist/chunks/cli-0.7.2-h248q4gt.mjs +2 -0
  162. package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +2 -0
  163. package/dist/chunks/cli-0.7.2-h7m849rt.mjs +2 -0
  164. package/dist/chunks/cli-0.7.2-h903zfjz.mjs +2 -0
  165. package/dist/chunks/cli-0.7.2-hbmczrch.mjs +9 -0
  166. package/dist/chunks/cli-0.7.2-he1hdn59.mjs +18 -0
  167. package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +2 -0
  168. package/dist/chunks/cli-0.7.2-hv1z3had.mjs +3 -0
  169. package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +2 -0
  170. package/dist/chunks/cli-0.7.2-j029dkan.mjs +3 -0
  171. package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +2 -0
  172. package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +2 -0
  173. package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +2 -0
  174. package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +2 -0
  175. package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +2 -0
  176. package/dist/chunks/cli-0.7.2-jn2497vh.mjs +2 -0
  177. package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +2 -0
  178. package/dist/chunks/cli-0.7.2-k40k933y.mjs +24 -0
  179. package/dist/chunks/cli-0.7.2-k6jnr159.mjs +2 -0
  180. package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +2 -0
  181. package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +2 -0
  182. package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +2 -0
  183. package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +12 -0
  184. package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +2 -0
  185. package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +15 -0
  186. package/dist/chunks/cli-0.7.2-mqv265gk.mjs +42 -0
  187. package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +3 -0
  188. package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +2 -0
  189. package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +2 -0
  190. package/dist/chunks/cli-0.7.2-ndt224p1.mjs +2 -0
  191. package/dist/chunks/cli-0.7.2-nf346apq.mjs +18 -0
  192. package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +2 -0
  193. package/dist/chunks/cli-0.7.2-nkafymh4.mjs +3 -0
  194. package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +45 -0
  195. package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +3 -0
  196. package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +67 -0
  197. package/dist/chunks/cli-0.7.2-pjavf176.mjs +2 -0
  198. package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +4 -0
  199. package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +2 -0
  200. package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +2 -0
  201. package/dist/chunks/cli-0.7.2-q85af7gm.mjs +2 -0
  202. package/dist/chunks/cli-0.7.2-q88h44qv.mjs +17 -0
  203. package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +2 -0
  204. package/dist/chunks/cli-0.7.2-qf8435qy.mjs +2 -0
  205. package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +5 -0
  206. package/dist/chunks/cli-0.7.2-qr706n52.mjs +10 -0
  207. package/dist/chunks/cli-0.7.2-qsx52bst.mjs +2 -0
  208. package/dist/chunks/cli-0.7.2-r1502pen.mjs +2 -0
  209. package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +5 -0
  210. package/dist/chunks/cli-0.7.2-r7x165sf.mjs +17 -0
  211. package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +2 -0
  212. package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +2 -0
  213. package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +2 -0
  214. package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +133 -0
  215. package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +2 -0
  216. package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +2 -0
  217. package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +2 -0
  218. package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +2 -0
  219. package/dist/chunks/cli-0.7.2-tds456xt.mjs +34 -0
  220. package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +4 -0
  221. package/dist/chunks/cli-0.7.2-twx01hwg.mjs +2 -0
  222. package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +3 -0
  223. package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +2 -0
  224. package/dist/chunks/cli-0.7.2-tz5zv753.mjs +6 -0
  225. package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +3 -0
  226. package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +2 -0
  227. package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +4 -0
  228. package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +2 -0
  229. package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +2 -0
  230. package/dist/chunks/cli-0.7.2-vx10940a.mjs +2 -0
  231. package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +2 -0
  232. package/dist/chunks/cli-0.7.2-w07ksegr.mjs +2 -0
  233. package/dist/chunks/cli-0.7.2-waas8a1p.mjs +2 -0
  234. package/dist/chunks/cli-0.7.2-wahbzckp.mjs +58 -0
  235. package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +2 -0
  236. package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +2 -0
  237. package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +2 -0
  238. package/dist/chunks/cli-0.7.2-xced0m7v.mjs +2 -0
  239. package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +2 -0
  240. package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +39 -0
  241. package/dist/chunks/cli-0.7.2-xpw13d73.mjs +59 -0
  242. package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +2 -0
  243. package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +2 -0
  244. package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +2 -0
  245. package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +20 -0
  246. package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +4 -0
  247. package/dist/chunks/cli-0.7.2-ygx94a70.mjs +2 -0
  248. package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +2 -0
  249. package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +2 -0
  250. package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +2 -0
  251. package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +3 -0
  252. package/dist/chunks/cli-0.7.2-zva1j44t.mjs +2 -0
  253. package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +2 -0
  254. package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +1 -0
  255. package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +1 -0
  256. package/dist/chunks/compact-0.7.2-1htfptdq.mjs +3 -0
  257. package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +1 -0
  258. package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +1 -0
  259. package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +1 -0
  260. package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +1 -0
  261. package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +1 -0
  262. package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +1 -0
  263. package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +1 -0
  264. package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +9 -0
  265. package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +1 -0
  266. package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +1 -0
  267. package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +1 -0
  268. package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +1 -0
  269. package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +1446 -0
  270. package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +1 -0
  271. package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +1 -0
  272. package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +1 -0
  273. package/dist/chunks/diff-0.7.2-7np6da8n.mjs +1 -0
  274. package/dist/chunks/doctor-0.7.2-spqx634t.mjs +1 -0
  275. package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +1 -0
  276. package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +1 -0
  277. package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +10 -0
  278. package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +1 -0
  279. package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +1 -0
  280. package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +1 -0
  281. package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +1 -0
  282. package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +1 -0
  283. package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +1 -0
  284. package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +1 -0
  285. package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +1 -0
  286. package/dist/chunks/export-0.7.2-j6tnta5r.mjs +2 -0
  287. package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +1 -0
  288. package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +1 -0
  289. package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +1 -0
  290. package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +14 -0
  291. package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +1 -0
  292. package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +1 -0
  293. package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +1 -0
  294. package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +4 -0
  295. package/dist/chunks/grove-0.7.2-9sxczf29.mjs +1 -0
  296. package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +1 -0
  297. package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +2 -0
  298. package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +6 -0
  299. package/dist/chunks/help-0.7.2-mkkkzv97.mjs +1 -0
  300. package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +3 -0
  301. package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +1 -0
  302. package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +79 -0
  303. package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +3 -0
  304. package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +1 -0
  305. package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +1 -0
  306. package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +1 -0
  307. package/dist/chunks/index-0.7.2-5mfmhd35.mjs +1 -0
  308. package/dist/chunks/index-0.7.2-62g62r4p.mjs +1 -0
  309. package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +9 -0
  310. package/dist/chunks/index-0.7.2-87jrdmn3.mjs +2 -0
  311. package/dist/chunks/index-0.7.2-9h4tsef1.mjs +1 -0
  312. package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +1 -0
  313. package/dist/chunks/index-0.7.2-a3w6at2z.mjs +1 -0
  314. package/dist/chunks/index-0.7.2-b296et1z.mjs +1 -0
  315. package/dist/chunks/index-0.7.2-c22bn4q9.mjs +1 -0
  316. package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +9 -0
  317. package/dist/chunks/index-0.7.2-f8swc4mv.mjs +30 -0
  318. package/dist/chunks/index-0.7.2-fdsptfbt.mjs +17 -0
  319. package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +1 -0
  320. package/dist/chunks/index-0.7.2-hjcptpaz.mjs +1 -0
  321. package/dist/chunks/index-0.7.2-hts44hhf.mjs +2 -0
  322. package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +1 -0
  323. package/dist/chunks/index-0.7.2-nhtpksxs.mjs +5 -0
  324. package/dist/chunks/index-0.7.2-p5a52s17.mjs +1 -0
  325. package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +1 -0
  326. package/dist/chunks/index-0.7.2-vfyvycvc.mjs +1 -0
  327. package/dist/chunks/index-0.7.2-vw5e1spt.mjs +1 -0
  328. package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +1 -0
  329. package/dist/chunks/init-0.7.2-mdhax55g.mjs +1 -0
  330. package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +1 -0
  331. package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +1 -0
  332. package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +870 -0
  333. package/dist/chunks/install-0.7.2-f33pbxz0.mjs +1 -0
  334. package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +149 -0
  335. package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +1 -0
  336. package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +1 -0
  337. package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +1 -0
  338. package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +2 -0
  339. package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +2 -0
  340. package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +1 -0
  341. package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +1 -0
  343. package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +1 -0
  344. package/dist/chunks/log-0.7.2-n28x7jf3.mjs +1 -0
  345. package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +1 -0
  346. package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +1 -0
  347. package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +1 -0
  348. package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +17 -0
  349. package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +4 -0
  350. package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +1 -0
  351. package/dist/chunks/memory-0.7.2-1hfh6410.mjs +3 -0
  352. package/dist/chunks/model-0.7.2-c8esc658.mjs +1 -0
  353. package/dist/chunks/model-0.7.2-sjw6chpt.mjs +2 -0
  354. package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +12 -0
  355. package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +1 -0
  356. package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +14 -0
  357. package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +1 -0
  358. package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +1 -0
  359. package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +1 -0
  360. package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +1 -0
  361. package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +1 -0
  362. package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +3 -0
  363. package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +1 -0
  364. package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +1 -0
  365. package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +1 -0
  366. package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +29 -0
  367. package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +1 -0
  368. package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +9 -0
  369. package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +2 -0
  370. package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +57 -0
  371. package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +1 -0
  372. package/dist/chunks/process-0.7.2-bydxzc10.mjs +1 -0
  373. package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +1 -0
  374. package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +9 -0
  375. package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +1 -0
  376. package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +1 -0
  377. package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +1 -0
  378. package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +13 -0
  379. package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +2 -0
  380. package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +1 -0
  381. package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +6 -0
  382. package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +1 -0
  383. package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +34 -0
  384. package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +1 -0
  385. package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +5 -0
  386. package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +2 -0
  387. package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +1 -0
  388. package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +1 -0
  389. package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +1 -0
  390. package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +1 -0
  391. package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +1 -0
  392. package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +1 -0
  393. package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +2 -0
  394. package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +1 -0
  395. package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +1 -0
  396. package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +1 -0
  397. package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +1 -0
  398. package/dist/chunks/session-0.7.2-c8me3g3x.mjs +2 -0
  399. package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +1 -0
  400. package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +1 -0
  401. package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +1 -0
  402. package/dist/chunks/settings-0.7.2-xc200363.mjs +1 -0
  403. package/dist/chunks/setup-0.7.2-c982wyvz.mjs +5 -0
  404. package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +1 -0
  405. package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +1 -0
  406. package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +1 -0
  407. package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +1 -0
  408. package/dist/chunks/state-0.7.2-p9tevca2.mjs +1 -0
  409. package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +6 -0
  410. package/dist/chunks/status-0.7.2-fh89jm1g.mjs +1 -0
  411. package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +1 -0
  412. package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +1 -0
  413. package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +1 -0
  414. package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +1 -0
  415. package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +1 -0
  416. package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +1 -0
  417. package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +1 -0
  418. package/dist/chunks/theme-0.7.2-1zmsca02.mjs +1 -0
  419. package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +1 -0
  420. package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +1 -0
  421. package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +1 -0
  422. package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +1 -0
  423. package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +1 -0
  424. package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +1 -0
  425. package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +69 -0
  426. package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +1 -0
  427. package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +4 -0
  428. package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +86 -0
  429. package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +1 -0
  430. package/dist/chunks/upload-0.7.2-p6je053d.mjs +7 -0
  431. package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +14 -0
  432. package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +1 -0
  433. package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +1 -0
  434. package/dist/chunks/util-0.7.2-n4vdasdr.mjs +1 -0
  435. package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +1 -0
  436. package/dist/chunks/vim-0.7.2-bd15xeza.mjs +1 -0
  437. package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +1 -0
  438. package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +132 -0
  439. package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +1 -0
  440. package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +1 -0
  441. package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +7 -0
  442. package/dist/claudin-vscode.vsix +0 -0
  443. package/dist/cli.mjs +2 -2
  444. package/package.json +3 -1
  445. package/dist/chunks/AgentTool-0.7.1-d5a04rhw.mjs +0 -1
  446. package/dist/chunks/App-0.7.1-qe37xdwh.mjs +0 -1
  447. package/dist/chunks/ApproveApiKey-0.7.1-hcwrem4g.mjs +0 -1
  448. package/dist/chunks/AssistantSessionChooser-0.7.1-ed3kh69n.mjs +0 -1
  449. package/dist/chunks/AutoModeOptInDialog-0.7.1-9dhakyk3.mjs +0 -1
  450. package/dist/chunks/BypassPermissionsModeDialog-0.7.1-zqdx4k6r.mjs +0 -1
  451. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.1-ja900v6h.mjs +0 -1
  452. package/dist/chunks/ConsoleOAuthFlow-0.7.1-p5f8b85c.mjs +0 -1
  453. package/dist/chunks/DiffDialog-0.7.1-frcnb58g.mjs +0 -7
  454. package/dist/chunks/Doctor-0.7.1-5a5bqzar.mjs +0 -1
  455. package/dist/chunks/ExplorerDialog-0.7.1-sp9zfyb5.mjs +0 -6
  456. package/dist/chunks/Grove-0.7.1-9ats64c9.mjs +0 -1
  457. package/dist/chunks/ITermBackend-0.7.1-160z9025.mjs +0 -1
  458. package/dist/chunks/InvalidConfigDialog-0.7.1-dm3mnxja.mjs +0 -1
  459. package/dist/chunks/InvalidSettingsDialog-0.7.1-94m5wc8k.mjs +0 -1
  460. package/dist/chunks/MigrationDialog-0.7.1-2sy3633s.mjs +0 -1
  461. package/dist/chunks/Onboarding-0.7.1-4ryf7vkp.mjs +0 -1
  462. package/dist/chunks/ProviderManager-0.7.1-m863v53f.mjs +0 -1
  463. package/dist/chunks/REPL-0.7.1-a1pdjtms.mjs +0 -1
  464. package/dist/chunks/ResumeConversation-0.7.1-39h2xh04.mjs +0 -1
  465. package/dist/chunks/SnapshotUpdateDialog-0.7.1-zwedgae2.mjs +0 -1
  466. package/dist/chunks/TeleportProgress-0.7.1-9anv6ssa.mjs +0 -1
  467. package/dist/chunks/TeleportRepoMismatchDialog-0.7.1-2awpvnbb.mjs +0 -1
  468. package/dist/chunks/TeleportResumeWrapper-0.7.1-nd5kypwz.mjs +0 -1
  469. package/dist/chunks/TmuxBackend-0.7.1-7cyfxvj8.mjs +0 -9
  470. package/dist/chunks/ToolSearchTool-0.7.1-9kyy73xn.mjs +0 -1
  471. package/dist/chunks/TrustDialog-0.7.1-k2dez79x.mjs +0 -1
  472. package/dist/chunks/activeProvider-0.7.1-vv0d3v6j.mjs +0 -1
  473. package/dist/chunks/add-dir-0.7.1-4mzgm2te.mjs +0 -1
  474. package/dist/chunks/agents-0.7.1-atjgpzds.mjs +0 -3
  475. package/dist/chunks/agents-0.7.1-fyqad9rz.mjs +0 -110
  476. package/dist/chunks/api-0.7.1-fsw86vpr.mjs +0 -1
  477. package/dist/chunks/asciicast-0.7.1-2wj656v8.mjs +0 -1
  478. package/dist/chunks/assistant-0.7.1-91m5tfq4.mjs +0 -1
  479. package/dist/chunks/auth-0.7.1-b9ybay2b.mjs +0 -1
  480. package/dist/chunks/auth-0.7.1-tbd13raw.mjs +0 -1
  481. package/dist/chunks/autoMode-0.7.1-jwnj54pb.mjs +0 -48
  482. package/dist/chunks/autoUpdater-0.7.1-e4v9zzkn.mjs +0 -1
  483. package/dist/chunks/backgroundHousekeeping-0.7.1-jxebk27x.mjs +0 -1
  484. package/dist/chunks/branch-0.7.1-qr35xar0.mjs +0 -4
  485. package/dist/chunks/bridge-0.7.1-8qbgc2e9.mjs +0 -2
  486. package/dist/chunks/bridgeConfig-0.7.1-5dz9y1gn.mjs +0 -1
  487. package/dist/chunks/bridgeEnabled-0.7.1-fqgbq6ry.mjs +0 -1
  488. package/dist/chunks/bridgeMain-0.7.1-hd9vv35g.mjs +0 -88
  489. package/dist/chunks/bridgePointer-0.7.1-rxxjfj3q.mjs +0 -1
  490. package/dist/chunks/btw-0.7.1-86yem67j.mjs +0 -1
  491. package/dist/chunks/buddy-0.7.1-kdmsha6s.mjs +0 -3
  492. package/dist/chunks/cacache-0.7.1-ahmz5znn.mjs +0 -1
  493. package/dist/chunks/cache-probe-0.7.1-jkjqgvf0.mjs +0 -21
  494. package/dist/chunks/cacheStats-0.7.1-wt820qhe.mjs +0 -4
  495. package/dist/chunks/caches-0.7.1-xjaktk6r.mjs +0 -1
  496. package/dist/chunks/claudeDesktop-0.7.1-pxv7ev3t.mjs +0 -1
  497. package/dist/chunks/claudemd-0.7.1-dzm84q1p.mjs +0 -1
  498. package/dist/chunks/clear-0.7.1-gx38nydx.mjs +0 -1
  499. package/dist/chunks/clearTerminal-0.7.1-5htkde19.mjs +0 -1
  500. package/dist/chunks/cli-0.7.1-01af799v.mjs +0 -2
  501. package/dist/chunks/cli-0.7.1-0ef7xs1s.mjs +0 -2
  502. package/dist/chunks/cli-0.7.1-0qwnf6wz.mjs +0 -16
  503. package/dist/chunks/cli-0.7.1-0sacamdc.mjs +0 -2
  504. package/dist/chunks/cli-0.7.1-0y31txhk.mjs +0 -2
  505. package/dist/chunks/cli-0.7.1-1188jq4p.mjs +0 -2
  506. package/dist/chunks/cli-0.7.1-1gbsnea3.mjs +0 -2
  507. package/dist/chunks/cli-0.7.1-1ts20eyt.mjs +0 -3
  508. package/dist/chunks/cli-0.7.1-21s047ay.mjs +0 -2
  509. package/dist/chunks/cli-0.7.1-24da357x.mjs +0 -3
  510. package/dist/chunks/cli-0.7.1-28433yep.mjs +0 -2
  511. package/dist/chunks/cli-0.7.1-2e97a1f7.mjs +0 -2
  512. package/dist/chunks/cli-0.7.1-2g1mhmsb.mjs +0 -2
  513. package/dist/chunks/cli-0.7.1-2q24e8yf.mjs +0 -6
  514. package/dist/chunks/cli-0.7.1-30b9rs2y.mjs +0 -2
  515. package/dist/chunks/cli-0.7.1-356bj7gh.mjs +0 -2
  516. package/dist/chunks/cli-0.7.1-37e4777p.mjs +0 -2
  517. package/dist/chunks/cli-0.7.1-3bfhg1sc.mjs +0 -2
  518. package/dist/chunks/cli-0.7.1-3cp4zkfv.mjs +0 -2
  519. package/dist/chunks/cli-0.7.1-3ehkpebq.mjs +0 -2
  520. package/dist/chunks/cli-0.7.1-3eywakdr.mjs +0 -15
  521. package/dist/chunks/cli-0.7.1-3m0mytg6.mjs +0 -2
  522. package/dist/chunks/cli-0.7.1-3s79d0ky.mjs +0 -2
  523. package/dist/chunks/cli-0.7.1-46gjthdy.mjs +0 -2
  524. package/dist/chunks/cli-0.7.1-497wkpjf.mjs +0 -2
  525. package/dist/chunks/cli-0.7.1-4ft7hrdc.mjs +0 -3
  526. package/dist/chunks/cli-0.7.1-4gvkgkvn.mjs +0 -4
  527. package/dist/chunks/cli-0.7.1-4hhqjvy4.mjs +0 -2
  528. package/dist/chunks/cli-0.7.1-4pp5s9hy.mjs +0 -2
  529. package/dist/chunks/cli-0.7.1-4t6v1n3h.mjs +0 -2
  530. package/dist/chunks/cli-0.7.1-57x4wzc4.mjs +0 -2
  531. package/dist/chunks/cli-0.7.1-5bbbwn2g.mjs +0 -2
  532. package/dist/chunks/cli-0.7.1-5fsqggqk.mjs +0 -3
  533. package/dist/chunks/cli-0.7.1-5pp47rx1.mjs +0 -18
  534. package/dist/chunks/cli-0.7.1-65bm304r.mjs +0 -133
  535. package/dist/chunks/cli-0.7.1-6d8y1qn4.mjs +0 -4
  536. package/dist/chunks/cli-0.7.1-6q9k674b.mjs +0 -2
  537. package/dist/chunks/cli-0.7.1-6rrxtyy0.mjs +0 -2
  538. package/dist/chunks/cli-0.7.1-6ta56xg1.mjs +0 -12
  539. package/dist/chunks/cli-0.7.1-6zk672en.mjs +0 -2
  540. package/dist/chunks/cli-0.7.1-71g0e9ze.mjs +0 -6
  541. package/dist/chunks/cli-0.7.1-7mmdptp2.mjs +0 -15
  542. package/dist/chunks/cli-0.7.1-7vnqyd9e.mjs +0 -6
  543. package/dist/chunks/cli-0.7.1-825msf79.mjs +0 -2
  544. package/dist/chunks/cli-0.7.1-84yhx3q1.mjs +0 -12
  545. package/dist/chunks/cli-0.7.1-88kwyk7r.mjs +0 -17
  546. package/dist/chunks/cli-0.7.1-8m2w4jnj.mjs +0 -2
  547. package/dist/chunks/cli-0.7.1-8vpv5q4z.mjs +0 -2
  548. package/dist/chunks/cli-0.7.1-90skq72m.mjs +0 -5
  549. package/dist/chunks/cli-0.7.1-9e4dha4t.mjs +0 -2
  550. package/dist/chunks/cli-0.7.1-9errxa1g.mjs +0 -2
  551. package/dist/chunks/cli-0.7.1-9fk02985.mjs +0 -2
  552. package/dist/chunks/cli-0.7.1-9jzbjqh3.mjs +0 -2
  553. package/dist/chunks/cli-0.7.1-9pspqj1n.mjs +0 -2
  554. package/dist/chunks/cli-0.7.1-9sy5d7re.mjs +0 -2
  555. package/dist/chunks/cli-0.7.1-a24fwkdp.mjs +0 -2
  556. package/dist/chunks/cli-0.7.1-a4x1wq4z.mjs +0 -2
  557. package/dist/chunks/cli-0.7.1-a4zjaz57.mjs +0 -2
  558. package/dist/chunks/cli-0.7.1-a680vzj5.mjs +0 -2
  559. package/dist/chunks/cli-0.7.1-aawgfrph.mjs +0 -3
  560. package/dist/chunks/cli-0.7.1-b1q31fh8.mjs +0 -50
  561. package/dist/chunks/cli-0.7.1-b8rrjfjb.mjs +0 -2
  562. package/dist/chunks/cli-0.7.1-bkp0aqdj.mjs +0 -2
  563. package/dist/chunks/cli-0.7.1-bmqpkffh.mjs +0 -2
  564. package/dist/chunks/cli-0.7.1-bnwqh4sh.mjs +0 -21
  565. package/dist/chunks/cli-0.7.1-bvd99qhf.mjs +0 -2
  566. package/dist/chunks/cli-0.7.1-bzk0abt1.mjs +0 -6
  567. package/dist/chunks/cli-0.7.1-c0ndrc74.mjs +0 -2
  568. package/dist/chunks/cli-0.7.1-c2g89e99.mjs +0 -2
  569. package/dist/chunks/cli-0.7.1-c5513023.mjs +0 -2
  570. package/dist/chunks/cli-0.7.1-c9fnmbwv.mjs +0 -12
  571. package/dist/chunks/cli-0.7.1-cekfrrmq.mjs +0 -8
  572. package/dist/chunks/cli-0.7.1-cf5wjthv.mjs +0 -2
  573. package/dist/chunks/cli-0.7.1-cgnzp3xh.mjs +0 -10
  574. package/dist/chunks/cli-0.7.1-cjg6h2ca.mjs +0 -2
  575. package/dist/chunks/cli-0.7.1-cxscssf3.mjs +0 -4
  576. package/dist/chunks/cli-0.7.1-cxtqva68.mjs +0 -2
  577. package/dist/chunks/cli-0.7.1-d32m4pzb.mjs +0 -2
  578. package/dist/chunks/cli-0.7.1-d566f9dm.mjs +0 -2
  579. package/dist/chunks/cli-0.7.1-dfhpzav5.mjs +0 -2
  580. package/dist/chunks/cli-0.7.1-dmk3nmr9.mjs +0 -4
  581. package/dist/chunks/cli-0.7.1-dnmrbd43.mjs +0 -2
  582. package/dist/chunks/cli-0.7.1-dr27dym5.mjs +0 -2
  583. package/dist/chunks/cli-0.7.1-dsh8dcz2.mjs +0 -2
  584. package/dist/chunks/cli-0.7.1-dw2af4d2.mjs +0 -3
  585. package/dist/chunks/cli-0.7.1-dwrmbzjk.mjs +0 -2
  586. package/dist/chunks/cli-0.7.1-dx2b4mwt.mjs +0 -2
  587. package/dist/chunks/cli-0.7.1-dxxszxaa.mjs +0 -2
  588. package/dist/chunks/cli-0.7.1-dyf7seqv.mjs +0 -4
  589. package/dist/chunks/cli-0.7.1-e59h3jkz.mjs +0 -2
  590. package/dist/chunks/cli-0.7.1-eaqxfq5j.mjs +0 -2
  591. package/dist/chunks/cli-0.7.1-ebdykdv4.mjs +0 -4
  592. package/dist/chunks/cli-0.7.1-ebkzwe4v.mjs +0 -2
  593. package/dist/chunks/cli-0.7.1-eda0jmy0.mjs +0 -3
  594. package/dist/chunks/cli-0.7.1-ef7vcnec.mjs +0 -2
  595. package/dist/chunks/cli-0.7.1-ehc0edr2.mjs +0 -2
  596. package/dist/chunks/cli-0.7.1-ehgqjz41.mjs +0 -2
  597. package/dist/chunks/cli-0.7.1-eqdjtwya.mjs +0 -2
  598. package/dist/chunks/cli-0.7.1-espp6s0y.mjs +0 -2
  599. package/dist/chunks/cli-0.7.1-ez0dpq8d.mjs +0 -2
  600. package/dist/chunks/cli-0.7.1-f6nk5cs1.mjs +0 -2
  601. package/dist/chunks/cli-0.7.1-fgtztd75.mjs +0 -2
  602. package/dist/chunks/cli-0.7.1-g2n9j9vd.mjs +0 -2
  603. package/dist/chunks/cli-0.7.1-gaqzbbr4.mjs +0 -133
  604. package/dist/chunks/cli-0.7.1-gc8m2z4s.mjs +0 -3
  605. package/dist/chunks/cli-0.7.1-gpj27qg9.mjs +0 -9
  606. package/dist/chunks/cli-0.7.1-hdhwyta7.mjs +0 -2
  607. package/dist/chunks/cli-0.7.1-hh3seyqe.mjs +0 -2
  608. package/dist/chunks/cli-0.7.1-hkjqfdbm.mjs +0 -2
  609. package/dist/chunks/cli-0.7.1-hx5avz23.mjs +0 -3
  610. package/dist/chunks/cli-0.7.1-hxqwphz3.mjs +0 -2
  611. package/dist/chunks/cli-0.7.1-j21wk954.mjs +0 -17
  612. package/dist/chunks/cli-0.7.1-j69yv5wv.mjs +0 -2
  613. package/dist/chunks/cli-0.7.1-j71sx09z.mjs +0 -2
  614. package/dist/chunks/cli-0.7.1-jdjhwj9r.mjs +0 -2
  615. package/dist/chunks/cli-0.7.1-jgx9y8hd.mjs +0 -2
  616. package/dist/chunks/cli-0.7.1-jpemgywy.mjs +0 -193
  617. package/dist/chunks/cli-0.7.1-k2r0wewv.mjs +0 -34
  618. package/dist/chunks/cli-0.7.1-k3wrch69.mjs +0 -5422
  619. package/dist/chunks/cli-0.7.1-k62svwx3.mjs +0 -2
  620. package/dist/chunks/cli-0.7.1-k9w4ggkt.mjs +0 -2
  621. package/dist/chunks/cli-0.7.1-kbyy07ta.mjs +0 -42
  622. package/dist/chunks/cli-0.7.1-kes4v4he.mjs +0 -39
  623. package/dist/chunks/cli-0.7.1-knxxgaxv.mjs +0 -58
  624. package/dist/chunks/cli-0.7.1-kwrsgjrs.mjs +0 -2
  625. package/dist/chunks/cli-0.7.1-m00xwwcc.mjs +0 -4
  626. package/dist/chunks/cli-0.7.1-m42mhk67.mjs +0 -2
  627. package/dist/chunks/cli-0.7.1-m4gfza1p.mjs +0 -2
  628. package/dist/chunks/cli-0.7.1-m5pd7m3r.mjs +0 -2
  629. package/dist/chunks/cli-0.7.1-m9xmxtwa.mjs +0 -2
  630. package/dist/chunks/cli-0.7.1-mcb9z58y.mjs +0 -2
  631. package/dist/chunks/cli-0.7.1-md6r4s60.mjs +0 -24
  632. package/dist/chunks/cli-0.7.1-mevd6vax.mjs +0 -2
  633. package/dist/chunks/cli-0.7.1-mky7mf90.mjs +0 -2
  634. package/dist/chunks/cli-0.7.1-mr2e3dyv.mjs +0 -12
  635. package/dist/chunks/cli-0.7.1-mt57tnps.mjs +0 -2
  636. package/dist/chunks/cli-0.7.1-mvq52b0y.mjs +0 -18
  637. package/dist/chunks/cli-0.7.1-mxjp359f.mjs +0 -2
  638. package/dist/chunks/cli-0.7.1-mzdb4t95.mjs +0 -2
  639. package/dist/chunks/cli-0.7.1-n7r3qbr7.mjs +0 -2
  640. package/dist/chunks/cli-0.7.1-n90a1d1a.mjs +0 -3
  641. package/dist/chunks/cli-0.7.1-nm9xqd0t.mjs +0 -4
  642. package/dist/chunks/cli-0.7.1-ns2p247a.mjs +0 -20
  643. package/dist/chunks/cli-0.7.1-nyy6gydm.mjs +0 -2
  644. package/dist/chunks/cli-0.7.1-p0fy9hz7.mjs +0 -2
  645. package/dist/chunks/cli-0.7.1-pfb1t2vv.mjs +0 -2
  646. package/dist/chunks/cli-0.7.1-pj2bwget.mjs +0 -2
  647. package/dist/chunks/cli-0.7.1-pzmph1bb.mjs +0 -5
  648. package/dist/chunks/cli-0.7.1-q22d0nn7.mjs +0 -2
  649. package/dist/chunks/cli-0.7.1-q27rb9ya.mjs +0 -2
  650. package/dist/chunks/cli-0.7.1-q32097ec.mjs +0 -2
  651. package/dist/chunks/cli-0.7.1-q4v2wwpa.mjs +0 -2
  652. package/dist/chunks/cli-0.7.1-qbg9kspq.mjs +0 -2
  653. package/dist/chunks/cli-0.7.1-qkcd1qhy.mjs +0 -2
  654. package/dist/chunks/cli-0.7.1-qmd1fgae.mjs +0 -2
  655. package/dist/chunks/cli-0.7.1-qydxc982.mjs +0 -2
  656. package/dist/chunks/cli-0.7.1-r3ykfxwq.mjs +0 -24
  657. package/dist/chunks/cli-0.7.1-rbby6bd5.mjs +0 -2
  658. package/dist/chunks/cli-0.7.1-rd1z70bz.mjs +0 -2
  659. package/dist/chunks/cli-0.7.1-rmj9pcnx.mjs +0 -15
  660. package/dist/chunks/cli-0.7.1-rmw8587w.mjs +0 -4
  661. package/dist/chunks/cli-0.7.1-rn9q2rxz.mjs +0 -2
  662. package/dist/chunks/cli-0.7.1-rrje9ahd.mjs +0 -2
  663. package/dist/chunks/cli-0.7.1-rt9yw2nh.mjs +0 -67
  664. package/dist/chunks/cli-0.7.1-rtpvm7nh.mjs +0 -2
  665. package/dist/chunks/cli-0.7.1-rz6n3grv.mjs +0 -2
  666. package/dist/chunks/cli-0.7.1-s2eya8px.mjs +0 -2
  667. package/dist/chunks/cli-0.7.1-seanve4t.mjs +0 -2
  668. package/dist/chunks/cli-0.7.1-sz0krng6.mjs +0 -5
  669. package/dist/chunks/cli-0.7.1-thfkavh1.mjs +0 -3
  670. package/dist/chunks/cli-0.7.1-va9tcjyz.mjs +0 -2
  671. package/dist/chunks/cli-0.7.1-vc1w3czg.mjs +0 -59
  672. package/dist/chunks/cli-0.7.1-vfekmem4.mjs +0 -3
  673. package/dist/chunks/cli-0.7.1-vfqcqg6s.mjs +0 -2
  674. package/dist/chunks/cli-0.7.1-vtqvv81d.mjs +0 -7
  675. package/dist/chunks/cli-0.7.1-w2rmty6t.mjs +0 -2
  676. package/dist/chunks/cli-0.7.1-w6mgjapm.mjs +0 -2
  677. package/dist/chunks/cli-0.7.1-wg6vf0hy.mjs +0 -2
  678. package/dist/chunks/cli-0.7.1-wjw73a3c.mjs +0 -3
  679. package/dist/chunks/cli-0.7.1-wp2jn3c0.mjs +0 -2
  680. package/dist/chunks/cli-0.7.1-wqk4b4mn.mjs +0 -2
  681. package/dist/chunks/cli-0.7.1-wzqmjfjs.mjs +0 -2
  682. package/dist/chunks/cli-0.7.1-xhtmjm5c.mjs +0 -2
  683. package/dist/chunks/cli-0.7.1-xjaebq17.mjs +0 -1
  684. package/dist/chunks/cli-0.7.1-xmj6ck32.mjs +0 -18
  685. package/dist/chunks/cli-0.7.1-xn7c84qw.mjs +0 -2
  686. package/dist/chunks/cli-0.7.1-xqxh1d0k.mjs +0 -45
  687. package/dist/chunks/cli-0.7.1-xrxje264.mjs +0 -2
  688. package/dist/chunks/cli-0.7.1-xvhh6hs3.mjs +0 -25
  689. package/dist/chunks/cli-0.7.1-xvp3ptcj.mjs +0 -2
  690. package/dist/chunks/cli-0.7.1-yevrh4dk.mjs +0 -2
  691. package/dist/chunks/cli-0.7.1-ygdm4xdq.mjs +0 -2
  692. package/dist/chunks/cli-0.7.1-yhn13w5s.mjs +0 -2
  693. package/dist/chunks/cli-0.7.1-ykypfrhj.mjs +0 -2
  694. package/dist/chunks/cli-0.7.1-zjw3v1mx.mjs +0 -4
  695. package/dist/chunks/cli-0.7.1-zrz7jgv0.mjs +0 -2
  696. package/dist/chunks/cli-0.7.1-zswdgbrk.mjs +0 -2
  697. package/dist/chunks/cli-0.7.1-zt8sj5mh.mjs +0 -2
  698. package/dist/chunks/client-0.7.1-5bbqygzn.mjs +0 -1
  699. package/dist/chunks/color-0.7.1-d97h4n6v.mjs +0 -1
  700. package/dist/chunks/compact-0.7.1-kq7n7064.mjs +0 -3
  701. package/dist/chunks/config-0.7.1-qw14rnwb.mjs +0 -1
  702. package/dist/chunks/config-0.7.1-vsbb5ybm.mjs +0 -1
  703. package/dist/chunks/constants-0.7.1-j99wnd0t.mjs +0 -1
  704. package/dist/chunks/context-0.7.1-nfbvwjm3.mjs +0 -1
  705. package/dist/chunks/context-noninteractive-0.7.1-w90a8b4k.mjs +0 -1
  706. package/dist/chunks/conversation-0.7.1-cabvk10y.mjs +0 -1
  707. package/dist/chunks/copilotHeaders-0.7.1-576y551e.mjs +0 -1
  708. package/dist/chunks/copy-0.7.1-zjy3ybzx.mjs +0 -9
  709. package/dist/chunks/cost-0.7.1-2sw1r4y9.mjs +0 -1
  710. package/dist/chunks/createSSHSession-0.7.1-ajjsgkcr.mjs +0 -1
  711. package/dist/chunks/createSession-0.7.1-hm73txww.mjs +0 -1
  712. package/dist/chunks/debug-0.7.1-qaj25ne7.mjs +0 -1
  713. package/dist/chunks/defaultActionDeps-0.7.1-xqmrxq95.mjs +0 -1422
  714. package/dist/chunks/desktop-0.7.1-sbjm4tw6.mjs +0 -1
  715. package/dist/chunks/detectRepository-0.7.1-ksy35c3e.mjs +0 -1
  716. package/dist/chunks/detection-0.7.1-h9q77x0f.mjs +0 -1
  717. package/dist/chunks/diff-0.7.1-65vdjrpz.mjs +0 -1
  718. package/dist/chunks/doctor-0.7.1-qpwe5hs1.mjs +0 -1
  719. package/dist/chunks/doctorDiagnostic-0.7.1-n9ez8jjp.mjs +0 -1
  720. package/dist/chunks/earlyInput-0.7.1-evw5t8gb.mjs +0 -1
  721. package/dist/chunks/effort-0.7.1-1gx253x4.mjs +0 -10
  722. package/dist/chunks/envLessBridgeConfig-0.7.1-e9nd930z.mjs +0 -1
  723. package/dist/chunks/envUtils-0.7.1-ymk55nnf.mjs +0 -1
  724. package/dist/chunks/environmentSelection-0.7.1-487w47dh.mjs +0 -1
  725. package/dist/chunks/environments-0.7.1-rafrq9ry.mjs +0 -1
  726. package/dist/chunks/errors-0.7.1-gehaqna3.mjs +0 -1
  727. package/dist/chunks/exampleCommands-0.7.1-nq55tbjv.mjs +0 -1
  728. package/dist/chunks/exit-0.7.1-680hz28c.mjs +0 -1
  729. package/dist/chunks/explorer-0.7.1-z0967d6r.mjs +0 -1
  730. package/dist/chunks/export-0.7.1-g9bdjstd.mjs +0 -2
  731. package/dist/chunks/extra-usage-0.7.1-xdwym2xk.mjs +0 -1
  732. package/dist/chunks/extra-usage-noninteractive-0.7.1-rnf1yy0q.mjs +0 -1
  733. package/dist/chunks/fast-0.7.1-315rzkyy.mjs +0 -1
  734. package/dist/chunks/feedback-0.7.1-p8r4xr11.mjs +0 -14
  735. package/dist/chunks/firstPartyEventLogger-0.7.1-h0ny1a03.mjs +0 -1
  736. package/dist/chunks/git-0.7.1-q9en18yj.mjs +0 -1
  737. package/dist/chunks/githubModelsCredentials-0.7.1-1ew0h3ve.mjs +0 -1
  738. package/dist/chunks/goal-0.7.1-qjzjey3j.mjs +0 -4
  739. package/dist/chunks/grove-0.7.1-4t3w9441.mjs +0 -1
  740. package/dist/chunks/growthbook-0.7.1-h7xxtrvf.mjs +0 -1
  741. package/dist/chunks/headless-0.7.1-6ae94wmy.mjs +0 -2
  742. package/dist/chunks/heapdump-0.7.1-srg8ym4e.mjs +0 -6
  743. package/dist/chunks/help-0.7.1-g1s4amj9.mjs +0 -1
  744. package/dist/chunks/hookChains-0.7.1-nvzpemqb.mjs +0 -3
  745. package/dist/chunks/hooks-0.7.1-19rxqk3m.mjs +0 -79
  746. package/dist/chunks/hooks-0.7.1-918zv23z.mjs +0 -1
  747. package/dist/chunks/ide-0.7.1-29f4xm8h.mjs +0 -3
  748. package/dist/chunks/image-processor-napi-0.7.1-21880z56.mjs +0 -1
  749. package/dist/chunks/inboundAttachments-0.7.1-vj4mtwgs.mjs +0 -1
  750. package/dist/chunks/index-0.7.1-05ga11b5.mjs +0 -1
  751. package/dist/chunks/index-0.7.1-08cj1sdf.mjs +0 -1
  752. package/dist/chunks/index-0.7.1-13drp9nj.mjs +0 -1
  753. package/dist/chunks/index-0.7.1-4xrmd4xj.mjs +0 -30
  754. package/dist/chunks/index-0.7.1-6m7fqnxf.mjs +0 -1
  755. package/dist/chunks/index-0.7.1-6w21gjac.mjs +0 -1
  756. package/dist/chunks/index-0.7.1-7pweww0b.mjs +0 -1
  757. package/dist/chunks/index-0.7.1-8753b2ed.mjs +0 -1
  758. package/dist/chunks/index-0.7.1-8yjbpdj3.mjs +0 -1
  759. package/dist/chunks/index-0.7.1-bcgceyp2.mjs +0 -2
  760. package/dist/chunks/index-0.7.1-bjckst5c.mjs +0 -1
  761. package/dist/chunks/index-0.7.1-drps39aq.mjs +0 -5
  762. package/dist/chunks/index-0.7.1-gfr5qm3n.mjs +0 -1
  763. package/dist/chunks/index-0.7.1-k15r2adh.mjs +0 -9
  764. package/dist/chunks/index-0.7.1-mhbm4m18.mjs +0 -1
  765. package/dist/chunks/index-0.7.1-mshav77m.mjs +0 -9
  766. package/dist/chunks/index-0.7.1-pcnfdjxe.mjs +0 -1
  767. package/dist/chunks/index-0.7.1-pcwfft21.mjs +0 -1
  768. package/dist/chunks/index-0.7.1-th8gnyjv.mjs +0 -1
  769. package/dist/chunks/index-0.7.1-tj6byrkd.mjs +0 -2
  770. package/dist/chunks/index-0.7.1-vezza4mb.mjs +0 -17
  771. package/dist/chunks/index-0.7.1-w0rz5trr.mjs +0 -1
  772. package/dist/chunks/index-0.7.1-wpzgm03y.mjs +0 -1
  773. package/dist/chunks/init-0.7.1-saq601q7.mjs +0 -1
  774. package/dist/chunks/initReplBridge-0.7.1-aqvbm3dc.mjs +0 -1
  775. package/dist/chunks/ink-0.7.1-8q2edv8t.mjs +0 -1
  776. package/dist/chunks/insights-0.7.1-2t65g57h.mjs +0 -870
  777. package/dist/chunks/install-0.7.1-ecee3epk.mjs +0 -1
  778. package/dist/chunks/install-github-app-0.7.1-yz6sr0n1.mjs +0 -149
  779. package/dist/chunks/install-slack-app-0.7.1-z2n7dzqn.mjs +0 -1
  780. package/dist/chunks/instrumentation-0.7.1-ejkfct84.mjs +0 -1
  781. package/dist/chunks/interactiveHelpers-0.7.1-3pgg93hb.mjs +0 -1
  782. package/dist/chunks/keybindings-0.7.1-zstbszpg.mjs +0 -2
  783. package/dist/chunks/knowledge-0.7.1-b5nd9y2x.mjs +0 -2
  784. package/dist/chunks/latestVersionCache-0.7.1-6bpfy1b6.mjs +0 -1
  785. package/dist/chunks/loadAgentsDir-0.7.1-p8rq7yzm.mjs +0 -1
  786. package/dist/chunks/loadPluginHooks-0.7.1-d63pgpzs.mjs +0 -1
  787. package/dist/chunks/loadPluginHooks-0.7.1-gjb8jztz.mjs +0 -1
  788. package/dist/chunks/log-0.7.1-fxt088jb.mjs +0 -1
  789. package/dist/chunks/main-0.7.1-0vqgtt6k.mjs +0 -1
  790. package/dist/chunks/managedEnv-0.7.1-hmbbthb1.mjs +0 -1
  791. package/dist/chunks/mcp-0.7.1-79bgprwt.mjs +0 -17
  792. package/dist/chunks/mcp-0.7.1-fah2dpxt.mjs +0 -1
  793. package/dist/chunks/mcp-0.7.1-y1qkvnjg.mjs +0 -4
  794. package/dist/chunks/mcpb-0.7.1-2dapw2hx.mjs +0 -1
  795. package/dist/chunks/memory-0.7.1-ebb517bx.mjs +0 -3
  796. package/dist/chunks/model-0.7.1-3arjsbnf.mjs +0 -2
  797. package/dist/chunks/model-0.7.1-k3apa82z.mjs +0 -1
  798. package/dist/chunks/node-0.7.1-cdt9e3gn.mjs +0 -12
  799. package/dist/chunks/oauth-0.7.1-x8bhb9nz.mjs +0 -1
  800. package/dist/chunks/openaiShim-0.7.1-z2g9xzcq.mjs +0 -14
  801. package/dist/chunks/output-style-0.7.1-6pse3vv2.mjs +0 -1
  802. package/dist/chunks/package-GCDC7LJR-0.7.1-gy8kt96r.mjs +0 -1
  803. package/dist/chunks/parseConnectUrl-0.7.1-gg6kkfk2.mjs +0 -1
  804. package/dist/chunks/parser-0.7.1-5tt8chsn.mjs +0 -1
  805. package/dist/chunks/passes-0.7.1-b7rbrgkm.mjs +0 -1
  806. package/dist/chunks/permissions-0.7.1-nenep4c2.mjs +0 -1
  807. package/dist/chunks/permissions-0.7.1-zrdsqk21.mjs +0 -3
  808. package/dist/chunks/plan-0.7.1-85aa5f5y.mjs +0 -1
  809. package/dist/chunks/plist-0.7.1-qp82sdff.mjs +0 -1
  810. package/dist/chunks/plugin-0.7.1-je74p85s.mjs +0 -29
  811. package/dist/chunks/pluginStartupCheck-0.7.1-mvcejqcq.mjs +0 -1
  812. package/dist/chunks/plugins-0.7.1-m3wj9r06.mjs +0 -9
  813. package/dist/chunks/preActionHook-0.7.1-r7jz8sy6.mjs +0 -2
  814. package/dist/chunks/print-0.7.1-gsrx6f37.mjs +0 -57
  815. package/dist/chunks/privacy-settings-0.7.1-7kr3zzrk.mjs +0 -1
  816. package/dist/chunks/process-0.7.1-2776jpyn.mjs +0 -1
  817. package/dist/chunks/processBashCommand-0.7.1-5x2898xr.mjs +0 -1
  818. package/dist/chunks/processSlashCommand-0.7.1-dr876jz7.mjs +0 -9
  819. package/dist/chunks/prompt-0.7.1-7af9fgbe.mjs +0 -1
  820. package/dist/chunks/prompt-0.7.1-dw1fgpwq.mjs +0 -1
  821. package/dist/chunks/prompts-0.7.1-nbx9nyb5.mjs +0 -1
  822. package/dist/chunks/protocolHandler-0.7.1-qy15fxqj.mjs +0 -13
  823. package/dist/chunks/provider-0.7.1-0m9xffbf.mjs +0 -2
  824. package/dist/chunks/providerProfiles-0.7.1-9cc9sgnd.mjs +0 -1
  825. package/dist/chunks/providerValidation-0.7.1-jfy1rksg.mjs +0 -6
  826. package/dist/chunks/rate-limit-options-0.7.1-pxbxm170.mjs +0 -1
  827. package/dist/chunks/registerSubcommands-0.7.1-jwn9g5j8.mjs +0 -34
  828. package/dist/chunks/registry-0.7.1-gkweb7m4.mjs +0 -1
  829. package/dist/chunks/release-notes-0.7.1-h92ctc9v.mjs +0 -5
  830. package/dist/chunks/reload-plugins-0.7.1-ke9qvkbd.mjs +0 -2
  831. package/dist/chunks/remote-env-0.7.1-36s0b9x3.mjs +0 -1
  832. package/dist/chunks/remoteBridgeCore-0.7.1-fz71fhjn.mjs +0 -1
  833. package/dist/chunks/remoteSession-0.7.1-syy16saz.mjs +0 -1
  834. package/dist/chunks/rename-0.7.1-pp0vxpxy.mjs +0 -1
  835. package/dist/chunks/replBridgeHandle-0.7.1-ym42egv0.mjs +0 -1
  836. package/dist/chunks/replLauncher-0.7.1-jk6m635f.mjs +0 -1
  837. package/dist/chunks/resume-0.7.1-2q37w3de.mjs +0 -2
  838. package/dist/chunks/rewind-0.7.1-3t95cz8k.mjs +0 -1
  839. package/dist/chunks/rootOptions-0.7.1-4veg3eep.mjs +0 -1
  840. package/dist/chunks/sandbox-adapter-0.7.1-jy6rr7mq.mjs +0 -1
  841. package/dist/chunks/sandbox-toggle-0.7.1-aqpewqqh.mjs +0 -1
  842. package/dist/chunks/session-0.7.1-y1xwe626.mjs +0 -2
  843. package/dist/chunks/sessionDiscovery-0.7.1-nvdbjq60.mjs +0 -1
  844. package/dist/chunks/sessionFileAccessHooks-0.7.1-bbx6cg5g.mjs +0 -1
  845. package/dist/chunks/sessionStorage-0.7.1-n4dhbzem.mjs +0 -1
  846. package/dist/chunks/settings-0.7.1-pecm5dv1.mjs +0 -1
  847. package/dist/chunks/setup-0.7.1-gqpnyen6.mjs +0 -5
  848. package/dist/chunks/sinks-0.7.1-cq5f40zp.mjs +0 -1
  849. package/dist/chunks/skills-0.7.1-5qchbh6n.mjs +0 -1
  850. package/dist/chunks/startupProfiler-0.7.1-q1mwtr5f.mjs +0 -1
  851. package/dist/chunks/startupUpdateCheck-0.7.1-ncttf1vf.mjs +0 -1
  852. package/dist/chunks/state-0.7.1-34txp9ap.mjs +0 -1
  853. package/dist/chunks/stats-0.7.1-v8hnv2t1.mjs +0 -6
  854. package/dist/chunks/status-0.7.1-g7ngz48p.mjs +0 -1
  855. package/dist/chunks/stickers-0.7.1-y53mmmdh.mjs +0 -1
  856. package/dist/chunks/subprocessEnv-0.7.1-1t25wkzh.mjs +0 -1
  857. package/dist/chunks/tasks-0.7.1-2yky7fwg.mjs +0 -1
  858. package/dist/chunks/teamHelpers-0.7.1-0wyvqbjp.mjs +0 -1
  859. package/dist/chunks/teammateModeSnapshot-0.7.1-cgf3g4j9.mjs +0 -1
  860. package/dist/chunks/teleport-0.7.1-353z35fj.mjs +0 -1
  861. package/dist/chunks/terminalSetup-0.7.1-nw69mcxs.mjs +0 -1
  862. package/dist/chunks/theme-0.7.1-nzx60j7s.mjs +0 -1
  863. package/dist/chunks/thinkback-0.7.1-9jvy533f.mjs +0 -1
  864. package/dist/chunks/thinkback-play-0.7.1-m2kx6nfn.mjs +0 -1
  865. package/dist/chunks/toolPool-0.7.1-qywync64.mjs +0 -1
  866. package/dist/chunks/toolSearch-0.7.1-snw68bwv.mjs +0 -1
  867. package/dist/chunks/tools-0.7.1-5btn07a6.mjs +0 -1
  868. package/dist/chunks/trustedDevice-0.7.1-hma4k1vw.mjs +0 -1
  869. package/dist/chunks/turndown.cjs-0.7.1-k8n9qvhg.mjs +0 -69
  870. package/dist/chunks/types-0.7.1-9mrce42m.mjs +0 -1
  871. package/dist/chunks/ultrareviewCommand-0.7.1-h5k5xdws.mjs +0 -4
  872. package/dist/chunks/update-0.7.1-tqtsan40.mjs +0 -86
  873. package/dist/chunks/upgrade-0.7.1-b5ktjkp0.mjs +0 -1
  874. package/dist/chunks/upload-0.7.1-5910sy8s.mjs +0 -7
  875. package/dist/chunks/upstreamproxy-0.7.1-5fyja3cf.mjs +0 -14
  876. package/dist/chunks/url-handler-napi-0.7.1-paf3bx7g.mjs +0 -1
  877. package/dist/chunks/usage-0.7.1-2j0rqtzd.mjs +0 -1
  878. package/dist/chunks/util-0.7.1-62f399jk.mjs +0 -1
  879. package/dist/chunks/utils-0.7.1-vdqtwham.mjs +0 -1
  880. package/dist/chunks/vim-0.7.1-ry9xqmcy.mjs +0 -1
  881. package/dist/chunks/watcher-0.7.1-wdz2r62h.mjs +0 -1
  882. package/dist/chunks/wiki-0.7.1-sdq9xgrk.mjs +0 -132
  883. package/dist/chunks/worktree-0.7.1-e7sx150a.mjs +0 -1
  884. package/dist/chunks/worktreeModeEnabled-0.7.1-s0gwv1pz.mjs +0 -1
  885. package/dist/chunks/wrapper-0.7.1-3xjvgc6e.mjs +0 -7
  886. /package/dist/chunks/{cli-0.7.1-75dek4k4.mjs → cli-0.7.2-1xbehmgb.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.7.1-tyzsanrm.mjs → cli-0.7.2-5c89p68w.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.7.1-3y886h54.mjs → cli-0.7.2-796x24s1.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.7.1-3q21cp2p.mjs → cli-0.7.2-b9pdb0nv.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.7.1-fs00krs3.mjs → cli-0.7.2-d5fbych4.mjs} +0 -0
  891. /package/dist/chunks/{cli-0.7.1-cj9e468m.mjs → cli-0.7.2-q9twb2tn.mjs} +0 -0
  892. /package/dist/chunks/{cli-0.7.1-fzf4j9hh.mjs → cli-0.7.2-yppcb6em.mjs} +0 -0
@@ -1,4 +0,0 @@
1
- import{vg as s,wg as Sy}from"./cli-0.7.1-gc8m2z4s.mjs";import{Eg as wy,Gg as kG}from"./cli-0.7.1-q22d0nn7.mjs";import{Ci as Zy,Ei as Ky,Fi as ny}from"./cli-0.7.1-xvp3ptcj.mjs";import{$k as sy,Bs as _y,CF as g,DF as My,JR as Vy,On as yy,Qn as Gy,Sn as ky,Sw as Xy,Vn as qy,Vw as oy,WJ as j,Wn as zy,XJ as ey,Xk as e,Xn as Iy,Yu as X,Zn as Jy,Zq as Qy,Zu as ay,cS as zG,dK as Oy,do as xy,ir as Wy,nK as yG,qr as ly,sR as Hy,ts as C,uK as by,xF as i,yF as Ly,yK as GG}from"./cli-0.7.1-k3wrch69.mjs";import{$V as Ny,aW as ty}from"./cli-0.7.1-r3ykfxwq.mjs";import{eX as Py,fX as Uy,gX as jy,kX as qG}from"./cli-0.7.1-825msf79.mjs";import{qX as Ry,wX as cy}from"./cli-0.7.1-k2r0wewv.mjs";import{RX as hy,RZ as ry,iZ as Q,jZ as $y,kZ as L,mZ as d}from"./cli-0.7.1-vc1w3czg.mjs";import{X1 as O,Y1 as E,Z1 as p}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as Yy}from"./cli-0.7.1-a4zjaz57.mjs";import{E6 as gy,X4 as iy,l6 as h,x4 as c,y4 as t}from"./cli-0.7.1-0qwnf6wz.mjs";import{$6 as fy,_6 as a}from"./cli-0.7.1-2q24e8yf.mjs";import{Gba as dy,Rca as M,Z8 as T,f$ as J,h$ as Ey,n9 as o,rba as n,tca as P,u9 as Ay,w9 as U,wba as r,wca as q,x9 as uy,xba as v}from"./cli-0.7.1-jpemgywy.mjs";import{Gfa as A,Hfa as u,vfa as K}from"./cli-0.7.1-bmqpkffh.mjs";import{Vga as f,Yga as Fy}from"./cli-0.7.1-q4v2wwpa.mjs";import{$ha as Dy,Yha as _}from"./cli-0.7.1-7vnqyd9e.mjs";import{Vpa as D}from"./cli-0.7.1-f6nk5cs1.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};
@@ -1,2 +0,0 @@
1
- import{Zpa as V}from"./cli-0.7.1-f6nk5cs1.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
2
- export{U0 as poa,E0 as qoa,I0 as roa,D0 as soa,b as toa,T as uoa,K as voa,z as woa,B as xoa,x as yoa,k as zoa,m as Aoa,G as Boa,O as Coa,y as Doa,l as Eoa,o as Foa,i as Goa,D as Hoa,R as Ioa,x0 as Joa,O0 as Koa,M as Loa,p0 as Moa,j6 as Noa,nq as Ooa};
@@ -1,2 +0,0 @@
1
- import{o2 as N,t2 as $}from"./cli-0.7.1-xn7c84qw.mjs";import{E6 as Z,e6 as M,o3 as L,r3 as Y}from"./cli-0.7.1-0qwnf6wz.mjs";import{nea as Q,vea as X}from"./cli-0.7.1-jpemgywy.mjs";import{Tga as J,Uga as V}from"./cli-0.7.1-4pp5s9hy.mjs";import{pia as P,xia as S}from"./cli-0.7.1-6d8y1qn4.mjs";import{Apa as W,ipa as K}from"./cli-0.7.1-xmj6ck32.mjs";import{Zpa as R}from"./cli-0.7.1-f6nk5cs1.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 yW,j as zW,b as AW};
@@ -1,2 +0,0 @@
1
- import{Rpa as n}from"./cli-0.7.1-88kwyk7r.mjs";import{Xpa as r}from"./cli-0.7.1-f6nk5cs1.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 R7};
@@ -1,2 +0,0 @@
1
- import{D9 as F,H9 as f,J8 as K,K8 as E,nea as U,vea as m}from"./cli-0.7.1-jpemgywy.mjs";import{fga as v,gga as x}from"./cli-0.7.1-zswdgbrk.mjs";import{Kha as D,Oha as g}from"./cli-0.7.1-7vnqyd9e.mjs";import{Zpa as S}from"./cli-0.7.1-f6nk5cs1.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
2
- export{P as nh,o as oh,h as ph,C as qh};
@@ -1,2 +0,0 @@
1
- import{Zpa as o}from"./cli-0.7.1-f6nk5cs1.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
2
- export{t as b7,i as c7,n as d7,s as e7,c as f7,r as g7,a as h7,p as i7,_ as j7,S as k7,E as l7,e as m7};
@@ -1,24 +0,0 @@
1
- import{Cb as DY}from"./cli-0.7.1-fzf4j9hh.mjs";import{Jc as LY,Mc as iQ}from"./cli-0.7.1-k9w4ggkt.mjs";import{Nh as V0,Oh as p6}from"./cli-0.7.1-mvq52b0y.mjs";import{li as pY,mi as A6}from"./cli-0.7.1-3cp4zkfv.mjs";import{$w as h0,$z as uY,AP as xZ,Az as D6,Bs as r9,KC as HY,Kk as L9,LC as aQ,Lk as u6,Mj as KZ,Mk as z9,Mp as iZ,Nk as q9,Np as AY,Ok as bZ,Op as FZ,Pj as E0,Pk as Y0,Pp as _Y,Qk as D9,RP as wZ,Rk as XZ,Sk as Q0,Tk as v9,UM as BY,UN as gY,Uj as hY,Uk as A9,Vk as sY,WC as NY,WM as rQ,XC as nQ,YC as RY,_C as z6,aK as P9,ax as uZ,bA as v6,bO as dY,bx as k0,cD as n,cK as F9,cQ as rY,cx as x0,dO as lY,dx as u0,eD as U6,ex as p0,fB as cY,fx as pZ,gB as _6,gK as M9,gx as cZ,hA as CY,hO as w6,hp as j9,hx as c0,iA as TY,iP as s,ip as i6,ix as m0,jA as L6,jx as g0,kB as mY,kx as d0,lB as O6,lQ as iY,lx as l0,mH as T0,mt as ZY,mx as a0,nH as s9,nK as o6,nt as xQ,nx as n0,oP as aY,ot as JY,ox as r0,pQ as zY,pt as lQ,px as i0,qt as kY,qx as GQ,sJ as PY,sQ as qY,ts as M0,vJ as J6,vP as nY,vm as yZ,vv as I0,wP as kZ,ws as b0,xF as C0,xs as fZ,xz as xY,yF as o9,ym as $Z,yv as i9,zm as e0}from"./cli-0.7.1-k3wrch69.mjs";import{TV as Q9,XV as R6}from"./cli-0.7.1-r3ykfxwq.mjs";import{$W as F0,BW as y0,CW as d9,PW as $0,QW as j0,RW as l9,UW as P0,VW as a9,aX as n9}from"./cli-0.7.1-825msf79.mjs";import{RX as m9,RZ as g9,kZ as p,mZ as M}from"./cli-0.7.1-vc1w3czg.mjs";import{W1 as a,X1 as E,Y1 as b,Z1 as J0}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as c9}from"./cli-0.7.1-a4zjaz57.mjs";import{E6 as G6,H5 as jY,d4 as $Y,h4 as K6}from"./cli-0.7.1-0qwnf6wz.mjs";import{$9 as TZ,B_ as n6,Baa as V6,E_ as Y9,Gba as W6,J_ as T6,U8 as E9,b_ as x9,e_ as y9,f8 as _Z,g8 as k9,gaa as $9,gea as U0,jea as p9,naa as r6,nea as e,s8 as GY,u8 as dQ,u9 as a6,vea as w0,xba as yY,yaa as wY,zaa as EY}from"./cli-0.7.1-jpemgywy.mjs";import{Gea as B0,Oea as L0,Sea as h9}from"./cli-0.7.1-ebdykdv4.mjs";import{Hfa as $6,wfa as oY}from"./cli-0.7.1-bmqpkffh.mjs";import{$fa as h,_fa as Y,aga as JZ,bga as q,cga as EZ}from"./cli-0.7.1-rt9yw2nh.mjs";import{Ega as O0,Kga as u9,fga as UY,gga as X6,iga as RZ,lga as z0,mga as q0,nga as D0,oga as v0,rga as A0,sga as _0}from"./cli-0.7.1-zswdgbrk.mjs";import{Vga as g,Yga as UZ}from"./cli-0.7.1-q4v2wwpa.mjs";import{$ga as Z9,$ha as HZ,Bha as ZZ,Cha as WY,Gha as PZ,Yha as I,bha as C6}from"./cli-0.7.1-7vnqyd9e.mjs";import{bia as KY,fia as gQ}from"./cli-0.7.1-qydxc982.mjs";import{iia as VY,qia as w9,ria as tZ,xia as lZ}from"./cli-0.7.1-6d8y1qn4.mjs";import{Gla as OY,Yma as J9,Zma as DZ,_ma as H9,ana as N9,bna as X0,dna as B9,loa as IY,ooa as BZ,rka as NZ,xka as W0,yka as eY}from"./cli-0.7.1-356bj7gh.mjs";import{Vpa as N0,Ypa as hZ,Zpa as OZ,_pa as rZ}from"./cli-0.7.1-f6nk5cs1.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.7.1-05ga11b5.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.7.1-5x2898xr.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.7.1-dr876jz7.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};
@@ -1,2 +0,0 @@
1
- import{Kd as Jq,Od as Tq}from"./cli-0.7.1-zjw3v1mx.mjs";import{Vd as zq,Wd as bq}from"./cli-0.7.1-wp2jn3c0.mjs";import{$J as a,IJ as S,Jn as n,Kn as yq,LJ as Nq,OK as D,RK as Cq,WJ as s,XJ as _q,cK as l,gK as t,lK as e,mH as u,nH as fq,nK as Rq,uK as qq,xF as r,yF as Gq,yK as Fq}from"./cli-0.7.1-k3wrch69.mjs";import{HX as i,IX as Kq,RX as Bq,RZ as Oq,kZ as F,mZ as C}from"./cli-0.7.1-vc1w3czg.mjs";import{X1 as v,Y1 as R,Z1 as p}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as Lq}from"./cli-0.7.1-a4zjaz57.mjs";import{B_ as vq,e_ as x,k8 as g,l8 as Zq,nea as m,vea as wq,w8 as $,w9 as o,x9 as Hq,y8 as Xq}from"./cli-0.7.1-jpemgywy.mjs";import{$ha as Yq,Yha as B}from"./cli-0.7.1-7vnqyd9e.mjs";import{pia as P,sia as h,xia as Wq}from"./cli-0.7.1-6d8y1qn4.mjs";import{Vpa as d,Zpa as Vq}from"./cli-0.7.1-f6nk5cs1.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};
@@ -1,2 +0,0 @@
1
- import{v as D}from"./cli-0.7.1-3y886h54.mjs";import{F as x}from"./cli-0.7.1-cekfrrmq.mjs";import{Pa as A}from"./cli-0.7.1-m00xwwcc.mjs";import{Qa as L}from"./cli-0.7.1-ef7vcnec.mjs";import{CS as b,DS as u,so as k,to as U,wo as F,xo as p}from"./cli-0.7.1-k3wrch69.mjs";import{nT as O,qT as c}from"./cli-0.7.1-yevrh4dk.mjs";import{E6 as m,P2 as Y,U2 as I,Y4 as w,Z4 as M,Z5 as E,_5 as G}from"./cli-0.7.1-0qwnf6wz.mjs";import{Sba as X,Tba as B,_da as $,bea as z}from"./cli-0.7.1-jpemgywy.mjs";import{fga as _,gga as y}from"./cli-0.7.1-zswdgbrk.mjs";import{$ha as T,Yha as K}from"./cli-0.7.1-7vnqyd9e.mjs";import{qia as V,xia as S}from"./cli-0.7.1-6d8y1qn4.mjs";import{Dia as J,Fia as N,Nia as v}from"./cli-0.7.1-mxjp359f.mjs";import{Apa as j,ipa as W}from"./cli-0.7.1-xmj6ck32.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
2
- export{Xq as t};
@@ -1,12 +0,0 @@
1
- import{a7 as D}from"./cli-0.7.1-gaqzbbr4.mjs";import{$ha as a,Kha as L,Oha as JG,Yha as W}from"./cli-0.7.1-7vnqyd9e.mjs";import{Cia as c,Dia as jG,Nia as GG}from"./cli-0.7.1-mxjp359f.mjs";import{Noa as U,Ooa as g}from"./cli-0.7.1-m42mhk67.mjs";import{Apa as RG,ipa as H}from"./cli-0.7.1-xmj6ck32.mjs";import{Epa as wG}from"./cli-0.7.1-6ta56xg1.mjs";import{Vpa as WG,Zpa as j,_pa as e}from"./cli-0.7.1-f6nk5cs1.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
- \r
4
- `);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
- `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
- `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
7
- `;let $=n(K);K.write(`${w}\r
8
- `);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
9
- `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
10
- `;let V=n(Y);Y.write(`${$}\r
11
- `);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.7.1-wpzgm03y.mjs"),import("./index-0.7.1-k15r2adh.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
- export{hG as F6,p as G6,F as H6,gG as I6,aG as J6,pG as K6,KG as L6,MJ as M6,HJ as N6,OG as O6,I as P6,h as Q6,qJ as R6,jJ as S6,UJ as T6,_J as U6,FJ as V6,NJ as W6,TJ as X6,vG as Y6};
@@ -1,2 +0,0 @@
1
- import{Ht as R,It as T,Jt as $,uy as U,vy as V,yy as f}from"./cli-0.7.1-k3wrch69.mjs";import{t4 as Q,u4 as _}from"./cli-0.7.1-0qwnf6wz.mjs";import{M_ as L,T_ as Y,nea as G,vea as Z}from"./cli-0.7.1-jpemgywy.mjs";import{Zpa as X}from"./cli-0.7.1-f6nk5cs1.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
2
- export{O as Nc,S as Oc,I as Pc,N as Qc,P as Rc,h as Sc};
@@ -1,18 +0,0 @@
1
- import{sI as Q,vI as F}from"./cli-0.7.1-k3wrch69.mjs";import{$ha as y,Yha as b}from"./cli-0.7.1-7vnqyd9e.mjs";import{sia as x,xia as f}from"./cli-0.7.1-6d8y1qn4.mjs";import{Aia as w,Nia as R}from"./cli-0.7.1-mxjp359f.mjs";import{ooa as K,vka as $,yka as j}from"./cli-0.7.1-356bj7gh.mjs";import{Zpa as v}from"./cli-0.7.1-f6nk5cs1.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
2
-
3
- `:"",B=k===G?`
4
-
5
- ${c}`:"";return`Scheduled loop tick.
6
-
7
- ${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
8
-
9
- If .claudin/loop.md exists, read it and follow it.
10
- Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
11
- Otherwise:
12
- - continue any unfinished work from the conversation
13
- - tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
14
- - run cleanup passes such as bug hunts or simplification when nothing else is pending
15
-
16
- Do not start new initiatives outside that scope.
17
- Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
18
- export{Y as Jh,G as Kh,D as Lh,g as Mh,M as Nh,U as Oh};
@@ -1,2 +0,0 @@
1
- import{Noa as M,Ooa as Y}from"./cli-0.7.1-m42mhk67.mjs";import{Zpa as W}from"./cli-0.7.1-f6nk5cs1.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
- export{$ as yia,N as zia,X as Aia,_ as Bia,j as Cia,U as Dia,I as Eia,S as Fia,T as Gia,c as Hia,L as Iia,w as Jia,z as Kia,O as Lia,x as Mia,k as Nia};
@@ -1,2 +0,0 @@
1
- import{E8 as X,I8 as k,_8 as Y,u9 as x}from"./cli-0.7.1-jpemgywy.mjs";import{Sea as $}from"./cli-0.7.1-ebdykdv4.mjs";import{Zpa as Z}from"./cli-0.7.1-f6nk5cs1.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
2
- export{H as Hb,M as Ib};
@@ -1,2 +0,0 @@
1
- import{Cb as Y}from"./cli-0.7.1-fzf4j9hh.mjs";import{ZU as N,_U as C}from"./cli-0.7.1-pfb1t2vv.mjs";import{hea as A,jea as w}from"./cli-0.7.1-jpemgywy.mjs";import{Vga as B,Yga as k}from"./cli-0.7.1-q4v2wwpa.mjs";import{$ha as j,Cha as L,Gha as E,Yha as W}from"./cli-0.7.1-7vnqyd9e.mjs";import{qia as G,xia as K}from"./cli-0.7.1-6d8y1qn4.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
- export{v as wb,q as xb,p as yb,g as zb,d as Ab,R as Bb};
@@ -1,3 +0,0 @@
1
- import{Opa as x,Qpa as y,Upa as C}from"./cli-0.7.1-88kwyk7r.mjs";import{Xpa as k}from"./cli-0.7.1-f6nk5cs1.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
- `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
- export{MF as Q7};
@@ -1,4 +0,0 @@
1
- import{cg as LJ,dg as WQ}from"./cli-0.7.1-eda0jmy0.mjs";import{eg as hJ,fg as RQ}from"./cli-0.7.1-xhtmjm5c.mjs";import{gg as PJ,hg as hQ}from"./cli-0.7.1-hh3seyqe.mjs";import{ig as aq,jg as lJ}from"./cli-0.7.1-hxqwphz3.mjs";import{kg as Fq,lg as iq,mg as $J}from"./cli-0.7.1-4hhqjvy4.mjs";import{ng as WJ,og as HQ}from"./cli-0.7.1-xrxje264.mjs";import{$F as vq,AI as wQ,BO as iJ,Do as P,Eo as Tq,Ks as KJ,Ls as VQ,Ms as VJ,Ns as XJ,Os as XQ,PO as Aq,SO as oJ,Tu as uq,Uu as mq,Wu as pq,Xu as fJ,aG as BQ,bG as UJ,cG as FJ,dG as wJ,eG as FQ,fS as wq,go as GJ,ho as KQ,jS as sq,mS as tq,vv as g,yI as HJ,yS as nJ,yv as yQ,zI as RJ,zO as eq}from"./cli-0.7.1-k3wrch69.mjs";import{fT as yJ,hT as NJ,kT as NQ}from"./cli-0.7.1-3eywakdr.mjs";import{nV as BJ,rV as UQ}from"./cli-0.7.1-9jzbjqh3.mjs";import{QW as zJ,RW as zQ,UW as YJ,VW as YQ,bX as Mq,cX as GQ}from"./cli-0.7.1-825msf79.mjs";import{RX as Pq,RZ as Oq,kZ as y,mZ as Q}from"./cli-0.7.1-vc1w3czg.mjs";import{W1 as h,X1 as Y,Y1 as Z,Z1 as c}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as ZQ}from"./cli-0.7.1-a4zjaz57.mjs";import{X4 as cJ,j5 as ZJ,k5 as QQ,y4 as rq}from"./cli-0.7.1-0qwnf6wz.mjs";import{B_ as qQ,Gba as JQ,Kaa as gq,Laa as dJ,Oaa as xq,Waa as TJ,e_ as Iq,f8 as $,g8 as tJ,wba as QJ}from"./cli-0.7.1-jpemgywy.mjs";import{Aia as JJ,Nia as sJ}from"./cli-0.7.1-mxjp359f.mjs";import{ooa as eJ,xka as qJ}from"./cli-0.7.1-356bj7gh.mjs";import{Vpa as Bq,Zpa as Uq}from"./cli-0.7.1-f6nk5cs1.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
- `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
4
- export{pZ as ag,cQ as bg};