@claudiolabs/claudin 1.0.16 → 1.1.0

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 (913) hide show
  1. package/dist/chunks/AgentTool-1.1.0-enyqd6zk.mjs +1 -0
  2. package/dist/chunks/App-1.1.0-6def0a6n.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.0-m9mybr7j.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.0-4c1qce0n.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.0-2afw9h09.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.0-r09k7rem.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.0-p05h72f8.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.0-842yvm18.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.0-dyfzh4xz.mjs +7 -0
  10. package/dist/chunks/Doctor-1.1.0-gwmatamz.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.0-4mz9bn58.mjs +6 -0
  12. package/dist/chunks/Grove-1.1.0-zk7sq7x9.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.1.0-wjqdhhvn.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.0-w64hcgs0.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.0-mkc5ew58.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.0-wsjvh8me.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.0-t8s1cvt5.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.0-ayq5wr7h.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.0-ya45nhgt.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.0-q3hsbdns.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.0-9xeshk4s.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.0-fzf5xcm5.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.0-h3qsm7za.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.0-7a0w9w6g.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.0-yzx44v2v.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.0-3gd1pr4d.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.0-6m8j6s6z.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.0-b42stwdb.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.0-gst7d69m.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.0-6b0xw5qv.mjs +1 -0
  31. package/dist/chunks/agents-1.1.0-3e34h40q.mjs +3 -0
  32. package/dist/chunks/agents-1.1.0-vgtkxq8y.mjs +110 -0
  33. package/dist/chunks/api-1.1.0-px2sj5kw.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.0-2wzkvqn2.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.0-t93vcyks.mjs +1 -0
  36. package/dist/chunks/auth-1.1.0-fvk2pf8g.mjs +1 -0
  37. package/dist/chunks/auth-1.1.0-q76xp4nm.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.0-87n8w9d4.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.0-3sjqay1h.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.0-yvybeza3.mjs +1 -0
  41. package/dist/chunks/branch-1.1.0-9g4r23x4.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.0-c59t7fn5.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.0-t0deynrx.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.0-zj4jw1v1.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.0-6nrn1g75.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.0-83at32ad.mjs +1 -0
  47. package/dist/chunks/btw-1.1.0-y88gyvq1.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.0-rch3sq8e.mjs +3 -0
  49. package/dist/chunks/cacache-1.1.0-ej21brrw.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.1.0-ehbwcyh9.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.1.0-ksnt9g30.mjs +4 -0
  52. package/dist/chunks/caches-1.1.0-jzxm4v1g.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.1.0-zyset7gv.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.0-mb17883g.mjs +1 -0
  55. package/dist/chunks/clear-1.1.0-55sa519v.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.0-g803ycep.mjs +1 -0
  57. package/dist/chunks/cli-1.1.0-0c134tyv.mjs +2 -0
  58. package/dist/chunks/cli-1.1.0-0e7qzsa6.mjs +2 -0
  59. package/dist/chunks/cli-1.1.0-0hf961r9.mjs +2 -0
  60. package/dist/chunks/cli-1.1.0-0pd1b4vc.mjs +133 -0
  61. package/dist/chunks/cli-1.1.0-0pygrth1.mjs +2 -0
  62. package/dist/chunks/cli-1.1.0-0yvk0ynn.mjs +2 -0
  63. package/dist/chunks/cli-1.1.0-18mcq0aj.mjs +6 -0
  64. package/dist/chunks/cli-1.1.0-1tax09d6.mjs +2 -0
  65. package/dist/chunks/cli-1.1.0-22xy9wm0.mjs +2 -0
  66. package/dist/chunks/cli-1.1.0-23xk5c5p.mjs +2 -0
  67. package/dist/chunks/cli-1.1.0-27q99qxg.mjs +5638 -0
  68. package/dist/chunks/cli-1.1.0-2g3ef6xx.mjs +2 -0
  69. package/dist/chunks/cli-1.1.0-2kcgmy0n.mjs +4 -0
  70. package/dist/chunks/cli-1.1.0-2ptkfn3v.mjs +2 -0
  71. package/dist/chunks/cli-1.1.0-2ynkx7mx.mjs +2 -0
  72. package/dist/chunks/cli-1.1.0-35dy019c.mjs +2 -0
  73. package/dist/chunks/cli-1.1.0-376tm1k9.mjs +2 -0
  74. package/dist/chunks/cli-1.1.0-3bm55s4g.mjs +59 -0
  75. package/dist/chunks/cli-1.1.0-3vd4xtts.mjs +2 -0
  76. package/dist/chunks/cli-1.1.0-42q5m352.mjs +2 -0
  77. package/dist/chunks/cli-1.1.0-43b9w2rq.mjs +5 -0
  78. package/dist/chunks/cli-1.1.0-44z5qkky.mjs +2 -0
  79. package/dist/chunks/cli-1.1.0-4brqrqtg.mjs +8 -0
  80. package/dist/chunks/cli-1.1.0-4f03ap1f.mjs +3 -0
  81. package/dist/chunks/cli-1.1.0-4hheqq4t.mjs +2 -0
  82. package/dist/chunks/cli-1.1.0-51r43ffv.mjs +2 -0
  83. package/dist/chunks/cli-1.1.0-534xht1w.mjs +2 -0
  84. package/dist/chunks/cli-1.1.0-5gb7f7xp.mjs +2 -0
  85. package/dist/chunks/cli-1.1.0-5p4r7v1p.mjs +3 -0
  86. package/dist/chunks/cli-1.1.0-5pgcnrex.mjs +2 -0
  87. package/dist/chunks/cli-1.1.0-685fssp6.mjs +2 -0
  88. package/dist/chunks/cli-1.1.0-6g8jkwc8.mjs +2 -0
  89. package/dist/chunks/cli-1.1.0-6h9f0djh.mjs +6 -0
  90. package/dist/chunks/cli-1.1.0-6pd6d43a.mjs +58 -0
  91. package/dist/chunks/cli-1.1.0-6pv9er50.mjs +2 -0
  92. package/dist/chunks/cli-1.1.0-6q6mnbdg.mjs +45 -0
  93. package/dist/chunks/cli-1.1.0-6sw6w6gt.mjs +2 -0
  94. package/dist/chunks/cli-1.1.0-6td2sp0v.mjs +2 -0
  95. package/dist/chunks/cli-1.1.0-6vd5e2xx.mjs +2 -0
  96. package/dist/chunks/cli-1.1.0-715hzmph.mjs +4 -0
  97. package/dist/chunks/cli-1.1.0-7278n5vd.mjs +18 -0
  98. package/dist/chunks/cli-1.1.0-7d1nvdda.mjs +2 -0
  99. package/dist/chunks/cli-1.1.0-7pxt9gcq.mjs +2 -0
  100. package/dist/chunks/cli-1.1.0-80tgppc8.mjs +12 -0
  101. package/dist/chunks/cli-1.1.0-8azg891x.mjs +2 -0
  102. package/dist/chunks/cli-1.1.0-8t3nbehc.mjs +2 -0
  103. package/dist/chunks/cli-1.1.0-8xbx5bw0.mjs +4 -0
  104. package/dist/chunks/cli-1.1.0-93djfjy7.mjs +2 -0
  105. package/dist/chunks/cli-1.1.0-9neyfch2.mjs +2 -0
  106. package/dist/chunks/cli-1.1.0-9w7sg286.mjs +2 -0
  107. package/dist/chunks/cli-1.1.0-a3xx1dac.mjs +2 -0
  108. package/dist/chunks/cli-1.1.0-a4fdbmtm.mjs +3 -0
  109. package/dist/chunks/cli-1.1.0-ab3nq7yd.mjs +2 -0
  110. package/dist/chunks/cli-1.1.0-acknyrzr.mjs +2 -0
  111. package/dist/chunks/cli-1.1.0-aefnhpce.mjs +2 -0
  112. package/dist/chunks/cli-1.1.0-aew4bmae.mjs +2 -0
  113. package/dist/chunks/cli-1.1.0-agcwe85z.mjs +3 -0
  114. package/dist/chunks/cli-1.1.0-ah0k4q2s.mjs +17 -0
  115. package/dist/chunks/cli-1.1.0-anh31kw5.mjs +2 -0
  116. package/dist/chunks/cli-1.1.0-avpw9ja1.mjs +4 -0
  117. package/dist/chunks/cli-1.1.0-awwr4yce.mjs +2 -0
  118. package/dist/chunks/cli-1.1.0-b2dpekht.mjs +50 -0
  119. package/dist/chunks/cli-1.1.0-b4js0h2n.mjs +2 -0
  120. package/dist/chunks/cli-1.1.0-b6z6m26q.mjs +2 -0
  121. package/dist/chunks/cli-1.1.0-bg3abn0c.mjs +3 -0
  122. package/dist/chunks/cli-1.1.0-bpw6t33c.mjs +2 -0
  123. package/dist/chunks/cli-1.1.0-c32rv5p9.mjs +2 -0
  124. package/dist/chunks/cli-1.1.0-cs1m99a5.mjs +4 -0
  125. package/dist/chunks/cli-1.1.0-cz87w6nw.mjs +2 -0
  126. package/dist/chunks/cli-1.1.0-df637xcj.mjs +12 -0
  127. package/dist/chunks/cli-1.1.0-dgje4dyf.mjs +12 -0
  128. package/dist/chunks/cli-1.1.0-dkcs1ckg.mjs +2 -0
  129. package/dist/chunks/cli-1.1.0-dqm9d5fq.mjs +2 -0
  130. package/dist/chunks/cli-1.1.0-dsg8mr16.mjs +2 -0
  131. package/dist/chunks/cli-1.1.0-dvdc29ed.mjs +20 -0
  132. package/dist/chunks/cli-1.1.0-dzexv5mk.mjs +15 -0
  133. package/dist/chunks/cli-1.1.0-e8cb572s.mjs +3 -0
  134. package/dist/chunks/cli-1.1.0-ej9gkky3.mjs +2 -0
  135. package/dist/chunks/cli-1.1.0-ejsqz1pw.mjs +2 -0
  136. package/dist/chunks/cli-1.1.0-ex8w5gzz.mjs +2 -0
  137. package/dist/chunks/cli-1.1.0-eyafjwj2.mjs +2 -0
  138. package/dist/chunks/cli-1.1.0-f1vdd8jq.mjs +2 -0
  139. package/dist/chunks/cli-1.1.0-f2zea2vz.mjs +202 -0
  140. package/dist/chunks/cli-1.1.0-f40fhk16.mjs +2 -0
  141. package/dist/chunks/cli-1.1.0-f7s3d6cm.mjs +2 -0
  142. package/dist/chunks/cli-1.1.0-fav6jhbg.mjs +2 -0
  143. package/dist/chunks/cli-1.1.0-fefdtfkh.mjs +2 -0
  144. package/dist/chunks/cli-1.1.0-fhsgjvax.mjs +2 -0
  145. package/dist/chunks/cli-1.1.0-fj9tsf79.mjs +2 -0
  146. package/dist/chunks/cli-1.1.0-fkkfc8bz.mjs +24 -0
  147. package/dist/chunks/cli-1.1.0-fm3zj7km.mjs +2 -0
  148. package/dist/chunks/cli-1.1.0-fyhcmngx.mjs +2 -0
  149. package/dist/chunks/cli-1.1.0-fzj13jj1.mjs +2 -0
  150. package/dist/chunks/cli-1.1.0-g19j4m46.mjs +3 -0
  151. package/dist/chunks/cli-1.1.0-g4qrjkze.mjs +25 -0
  152. package/dist/chunks/cli-1.1.0-gedc2sjr.mjs +2 -0
  153. package/dist/chunks/cli-1.1.0-gn36m4rw.mjs +2 -0
  154. package/dist/chunks/cli-1.1.0-h9m8nwpz.mjs +2 -0
  155. package/dist/chunks/cli-1.1.0-heqqh4q5.mjs +42 -0
  156. package/dist/chunks/cli-1.1.0-hhv56f6w.mjs +2 -0
  157. package/dist/chunks/cli-1.1.0-hqc7gemc.mjs +2 -0
  158. package/dist/chunks/cli-1.1.0-hxcczrch.mjs +34 -0
  159. package/dist/chunks/cli-1.1.0-j0spemhp.mjs +2 -0
  160. package/dist/chunks/cli-1.1.0-j8j38mj8.mjs +2 -0
  161. package/dist/chunks/cli-1.1.0-jggsfk80.mjs +2 -0
  162. package/dist/chunks/cli-1.1.0-jm9w1ra4.mjs +133 -0
  163. package/dist/chunks/cli-1.1.0-jzr2r6q9.mjs +18 -0
  164. package/dist/chunks/cli-1.1.0-k97b244h.mjs +2 -0
  165. package/dist/chunks/cli-1.1.0-kb88a691.mjs +16 -0
  166. package/dist/chunks/cli-1.1.0-kchy50kf.mjs +2 -0
  167. package/dist/chunks/cli-1.1.0-kdb9g90t.mjs +6 -0
  168. package/dist/chunks/cli-1.1.0-ke2q4vv2.mjs +39 -0
  169. package/dist/chunks/cli-1.1.0-kf2vvzzq.mjs +2 -0
  170. package/dist/chunks/cli-1.1.0-kh16d8ks.mjs +2 -0
  171. package/dist/chunks/cli-1.1.0-khfqjg3d.mjs +2 -0
  172. package/dist/chunks/cli-1.1.0-kqpv3mqm.mjs +2 -0
  173. package/dist/chunks/cli-1.1.0-ksm3jf7w.mjs +2 -0
  174. package/dist/chunks/cli-1.1.0-ky8gc8bw.mjs +2 -0
  175. package/dist/chunks/cli-1.1.0-kyed5wy4.mjs +2 -0
  176. package/dist/chunks/cli-1.1.0-kyvxb684.mjs +18 -0
  177. package/dist/chunks/cli-1.1.0-m3srsyep.mjs +2 -0
  178. package/dist/chunks/cli-1.1.0-mcwgdp9f.mjs +1 -0
  179. package/dist/chunks/cli-1.1.0-mp23wvb8.mjs +2 -0
  180. package/dist/chunks/cli-1.1.0-mthxxfdv.mjs +2 -0
  181. package/dist/chunks/cli-1.1.0-mxcr7n72.mjs +3 -0
  182. package/dist/chunks/cli-1.1.0-n063kkhn.mjs +2 -0
  183. package/dist/chunks/cli-1.1.0-n22zpcen.mjs +2 -0
  184. package/dist/chunks/cli-1.1.0-nrkd2283.mjs +2 -0
  185. package/dist/chunks/cli-1.1.0-nwh4569v.mjs +2 -0
  186. package/dist/chunks/cli-1.1.0-nwnph1tm.mjs +3 -0
  187. package/dist/chunks/cli-1.1.0-nzw8nfe8.mjs +4 -0
  188. package/dist/chunks/cli-1.1.0-pagxnvrp.mjs +2 -0
  189. package/dist/chunks/cli-1.1.0-pc78xk2w.mjs +2 -0
  190. package/dist/chunks/cli-1.1.0-pgzqtn5w.mjs +3 -0
  191. package/dist/chunks/cli-1.1.0-pyjjh1vb.mjs +2 -0
  192. package/dist/chunks/cli-1.1.0-q0xhsdq5.mjs +2 -0
  193. package/dist/chunks/cli-1.1.0-q5tc9jm9.mjs +2 -0
  194. package/dist/chunks/cli-1.1.0-q8ch6d67.mjs +2 -0
  195. package/dist/chunks/cli-1.1.0-qeh5c8ha.mjs +2 -0
  196. package/dist/chunks/cli-1.1.0-qsymkkgn.mjs +25 -0
  197. package/dist/chunks/cli-1.1.0-qtb6qp7v.mjs +2 -0
  198. package/dist/chunks/cli-1.1.0-qy3n5r3j.mjs +2 -0
  199. package/dist/chunks/cli-1.1.0-r5jfjghw.mjs +2 -0
  200. package/dist/chunks/cli-1.1.0-r82e580m.mjs +9 -0
  201. package/dist/chunks/cli-1.1.0-rcbfq6ds.mjs +15 -0
  202. package/dist/chunks/cli-1.1.0-rgft35ht.mjs +2 -0
  203. package/dist/chunks/cli-1.1.0-rhbwwag9.mjs +2 -0
  204. package/dist/chunks/cli-1.1.0-rhhqa2eq.mjs +6 -0
  205. package/dist/chunks/cli-1.1.0-rk5hvaqf.mjs +2 -0
  206. package/dist/chunks/cli-1.1.0-rwzm7q8k.mjs +2 -0
  207. package/dist/chunks/cli-1.1.0-rxjpq9sj.mjs +15 -0
  208. package/dist/chunks/cli-1.1.0-s2byqr5v.mjs +2 -0
  209. package/dist/chunks/cli-1.1.0-s77gty0s.mjs +2 -0
  210. package/dist/chunks/cli-1.1.0-sn31brzs.mjs +4 -0
  211. package/dist/chunks/cli-1.1.0-snspzvx6.mjs +2 -0
  212. package/dist/chunks/cli-1.1.0-ss0sp6y9.mjs +2 -0
  213. package/dist/chunks/cli-1.1.0-sz45a3kz.mjs +2 -0
  214. package/dist/chunks/cli-1.1.0-t314tbev.mjs +2 -0
  215. package/dist/chunks/cli-1.1.0-t7bxqzs4.mjs +24 -0
  216. package/dist/chunks/cli-1.1.0-t7zmjjnm.mjs +2 -0
  217. package/dist/chunks/cli-1.1.0-t81d1nxv.mjs +6 -0
  218. package/dist/chunks/cli-1.1.0-tfwm688t.mjs +2 -0
  219. package/dist/chunks/cli-1.1.0-tjzezs5y.mjs +2 -0
  220. package/dist/chunks/cli-1.1.0-txh9zgpn.mjs +12 -0
  221. package/dist/chunks/cli-1.1.0-txn2egpm.mjs +2 -0
  222. package/dist/chunks/cli-1.1.0-typ6ydyr.mjs +2 -0
  223. package/dist/chunks/cli-1.1.0-vmrftx0a.mjs +5 -0
  224. package/dist/chunks/cli-1.1.0-vnw1etr4.mjs +2 -0
  225. package/dist/chunks/cli-1.1.0-vpef0qmy.mjs +2 -0
  226. package/dist/chunks/cli-1.1.0-vsd5cgtc.mjs +2 -0
  227. package/dist/chunks/cli-1.1.0-vyrset59.mjs +2 -0
  228. package/dist/chunks/cli-1.1.0-w2z92spx.mjs +2 -0
  229. package/dist/chunks/cli-1.1.0-w6pbjjfv.mjs +2 -0
  230. package/dist/chunks/cli-1.1.0-w99tv921.mjs +4 -0
  231. package/dist/chunks/cli-1.1.0-wq7mrbze.mjs +2 -0
  232. package/dist/chunks/cli-1.1.0-wy684ycb.mjs +2 -0
  233. package/dist/chunks/cli-1.1.0-wzt27z3c.mjs +2 -0
  234. package/dist/chunks/cli-1.1.0-x1d428kd.mjs +4 -0
  235. package/dist/chunks/cli-1.1.0-x52w32zj.mjs +9 -0
  236. package/dist/chunks/cli-1.1.0-xbafqhxj.mjs +2 -0
  237. package/dist/chunks/cli-1.1.0-xfbynaew.mjs +3 -0
  238. package/dist/chunks/cli-1.1.0-xh7h18aj.mjs +2 -0
  239. package/dist/chunks/cli-1.1.0-xnkggt2k.mjs +2 -0
  240. package/dist/chunks/cli-1.1.0-xqj8jr7g.mjs +4 -0
  241. package/dist/chunks/cli-1.1.0-xrtkbdea.mjs +4 -0
  242. package/dist/chunks/cli-1.1.0-xtme365c.mjs +2 -0
  243. package/dist/chunks/cli-1.1.0-xz7dpcmk.mjs +2 -0
  244. package/dist/chunks/cli-1.1.0-xz8y1ffw.mjs +2 -0
  245. package/dist/chunks/cli-1.1.0-y08d0fhm.mjs +2 -0
  246. package/dist/chunks/cli-1.1.0-y16ey5vs.mjs +3 -0
  247. package/dist/chunks/cli-1.1.0-y44vvpr5.mjs +24 -0
  248. package/dist/chunks/cli-1.1.0-y7km7tyc.mjs +2 -0
  249. package/dist/chunks/cli-1.1.0-y82h5sjv.mjs +2 -0
  250. package/dist/chunks/cli-1.1.0-yb4xnm2h.mjs +21 -0
  251. package/dist/chunks/cli-1.1.0-ypyc700d.mjs +7 -0
  252. package/dist/chunks/cli-1.1.0-z3er82qf.mjs +2 -0
  253. package/dist/chunks/cli-1.1.0-z3kmdvmm.mjs +17 -0
  254. package/dist/chunks/cli-1.1.0-z515ecdw.mjs +2 -0
  255. package/dist/chunks/cli-1.1.0-z8gyd4hj.mjs +2 -0
  256. package/dist/chunks/cli-1.1.0-z9w48as1.mjs +2 -0
  257. package/dist/chunks/cli-1.1.0-zjdhcx9g.mjs +67 -0
  258. package/dist/chunks/cli-1.1.0-zv42btgr.mjs +2 -0
  259. package/dist/chunks/cli-1.1.0-zv9mj8cm.mjs +2 -0
  260. package/dist/chunks/client-1.1.0-mczmpajm.mjs +1 -0
  261. package/dist/chunks/color-1.1.0-mz220mnj.mjs +1 -0
  262. package/dist/chunks/compact-1.1.0-m3h4vy67.mjs +3 -0
  263. package/dist/chunks/config-1.1.0-0cmcwws5.mjs +1 -0
  264. package/dist/chunks/config-1.1.0-94w375pc.mjs +1 -0
  265. package/dist/chunks/constants-1.1.0-f8cevnbf.mjs +1 -0
  266. package/dist/chunks/context-1.1.0-02esqhw9.mjs +1 -0
  267. package/dist/chunks/context-noninteractive-1.1.0-q79y3s53.mjs +1 -0
  268. package/dist/chunks/conversation-1.1.0-zgrc0409.mjs +1 -0
  269. package/dist/chunks/copilotHeaders-1.1.0-hs5hd2rk.mjs +1 -0
  270. package/dist/chunks/copy-1.1.0-d9ewpvtx.mjs +9 -0
  271. package/dist/chunks/cost-1.1.0-29687fk2.mjs +1 -0
  272. package/dist/chunks/createSSHSession-1.1.0-cwje9xax.mjs +1 -0
  273. package/dist/chunks/createSession-1.1.0-mqxpwaxx.mjs +1 -0
  274. package/dist/chunks/debug-1.1.0-7myvhved.mjs +1 -0
  275. package/dist/chunks/defaultActionDeps-1.1.0-kjmcwbvb.mjs +1446 -0
  276. package/dist/chunks/desktop-1.1.0-psp9x7ag.mjs +1 -0
  277. package/dist/chunks/detectRepository-1.1.0-s1sbyjtw.mjs +1 -0
  278. package/dist/chunks/detection-1.1.0-395zszbn.mjs +1 -0
  279. package/dist/chunks/diff-1.1.0-tw33wd16.mjs +1 -0
  280. package/dist/chunks/doctor-1.1.0-w49j96y7.mjs +1 -0
  281. package/dist/chunks/doctorDiagnostic-1.1.0-bazcbcf0.mjs +1 -0
  282. package/dist/chunks/earlyInput-1.1.0-k2ggh5e8.mjs +1 -0
  283. package/dist/chunks/effort-1.1.0-d31ntd59.mjs +13 -0
  284. package/dist/chunks/engine-1.1.0-zykm6ttb.mjs +1 -0
  285. package/dist/chunks/envLessBridgeConfig-1.1.0-vjjgjg6g.mjs +1 -0
  286. package/dist/chunks/envUtils-1.1.0-j6qw20t8.mjs +1 -0
  287. package/dist/chunks/environmentSelection-1.1.0-pbfss60j.mjs +1 -0
  288. package/dist/chunks/environments-1.1.0-05sa7vqs.mjs +1 -0
  289. package/dist/chunks/errors-1.1.0-rv1w7dzk.mjs +1 -0
  290. package/dist/chunks/exampleCommands-1.1.0-hwr1bhvw.mjs +1 -0
  291. package/dist/chunks/execFileNoThrow-1.1.0-mctsxzhh.mjs +1 -0
  292. package/dist/chunks/exit-1.1.0-w4dt0y70.mjs +1 -0
  293. package/dist/chunks/explorer-1.1.0-grjehtcs.mjs +1 -0
  294. package/dist/chunks/export-1.1.0-nkxywrt3.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.1.0-t5fad215.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.1.0-ejz9p8tk.mjs +1 -0
  297. package/dist/chunks/fast-1.1.0-ktxbryjn.mjs +1 -0
  298. package/dist/chunks/feedback-1.1.0-wmc2etfk.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.1.0-37ttkjsw.mjs +1 -0
  300. package/dist/chunks/git-1.1.0-19myj8f0.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.1.0-kehp42vm.mjs +1 -0
  302. package/dist/chunks/goal-1.1.0-vegr2gpx.mjs +4 -0
  303. package/dist/chunks/grove-1.1.0-jhejcpfq.mjs +1 -0
  304. package/dist/chunks/growthbook-1.1.0-65kf7wnp.mjs +1 -0
  305. package/dist/chunks/headless-1.1.0-7ar922rp.mjs +2 -0
  306. package/dist/chunks/heapdump-1.1.0-32jsacwx.mjs +6 -0
  307. package/dist/chunks/help-1.1.0-845v0hns.mjs +1 -0
  308. package/dist/chunks/hookChains-1.1.0-v8cw92ff.mjs +3 -0
  309. package/dist/chunks/hooks-1.1.0-6yfeb39f.mjs +79 -0
  310. package/dist/chunks/hooks-1.1.0-q1eegxep.mjs +1 -0
  311. package/dist/chunks/ide-1.1.0-9t0cq40y.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.1.0-sdagc4gb.mjs +1 -0
  313. package/dist/chunks/inboundAttachments-1.1.0-gcb31e7e.mjs +1 -0
  314. package/dist/chunks/index-1.1.0-0pz70rhb.mjs +1 -0
  315. package/dist/chunks/index-1.1.0-2v7bhc73.mjs +9 -0
  316. package/dist/chunks/index-1.1.0-42sjc0ra.mjs +1 -0
  317. package/dist/chunks/index-1.1.0-5e2yge0j.mjs +1 -0
  318. package/dist/chunks/index-1.1.0-5rn65wcn.mjs +1 -0
  319. package/dist/chunks/index-1.1.0-6eg49x8z.mjs +1 -0
  320. package/dist/chunks/index-1.1.0-6f33zr88.mjs +2 -0
  321. package/dist/chunks/index-1.1.0-711thf5z.mjs +30 -0
  322. package/dist/chunks/index-1.1.0-7mr4ft1q.mjs +1 -0
  323. package/dist/chunks/index-1.1.0-9qnvcqd3.mjs +1 -0
  324. package/dist/chunks/index-1.1.0-bryn9r7n.mjs +1 -0
  325. package/dist/chunks/index-1.1.0-c9ypb2er.mjs +2 -0
  326. package/dist/chunks/index-1.1.0-dpwmxnj4.mjs +5 -0
  327. package/dist/chunks/index-1.1.0-f06x7270.mjs +17 -0
  328. package/dist/chunks/index-1.1.0-fz6shkyy.mjs +1 -0
  329. package/dist/chunks/index-1.1.0-ga21tcpt.mjs +9 -0
  330. package/dist/chunks/index-1.1.0-qta6e5wt.mjs +1 -0
  331. package/dist/chunks/index-1.1.0-rdrdd03m.mjs +1 -0
  332. package/dist/chunks/index-1.1.0-vdwwq04q.mjs +1 -0
  333. package/dist/chunks/index-1.1.0-x8ra62mv.mjs +1 -0
  334. package/dist/chunks/index-1.1.0-yaxmne6h.mjs +1 -0
  335. package/dist/chunks/index-1.1.0-yna8rsmk.mjs +1 -0
  336. package/dist/chunks/index-1.1.0-zv3y0dw4.mjs +1 -0
  337. package/dist/chunks/init-1.1.0-2ktykcbs.mjs +1 -0
  338. package/dist/chunks/initReplBridge-1.1.0-2dq44h6p.mjs +1 -0
  339. package/dist/chunks/ink-1.1.0-n8ev4ggj.mjs +1 -0
  340. package/dist/chunks/insights-1.1.0-2pm8nqda.mjs +870 -0
  341. package/dist/chunks/install-1.1.0-kpkp79qx.mjs +1 -0
  342. package/dist/chunks/install-github-app-1.1.0-ezr26tzq.mjs +149 -0
  343. package/dist/chunks/install-slack-app-1.1.0-526087q0.mjs +1 -0
  344. package/dist/chunks/instrumentation-1.1.0-2hcxjw4w.mjs +1 -0
  345. package/dist/chunks/interactiveHelpers-1.1.0-1n70h3yk.mjs +1 -0
  346. package/dist/chunks/keybindings-1.1.0-zp4xvxd0.mjs +2 -0
  347. package/dist/chunks/knowledge-1.1.0-7ypjnfee.mjs +2 -0
  348. package/dist/chunks/latestVersionCache-1.1.0-nh3f0q9v.mjs +1 -0
  349. package/dist/chunks/loadAgentsDir-1.1.0-6jtp0hpx.mjs +1 -0
  350. package/dist/chunks/loadPluginHooks-1.1.0-3986smwm.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.1.0-n5jzedar.mjs +1 -0
  352. package/dist/chunks/log-1.1.0-ytvjc0bd.mjs +1 -0
  353. package/dist/chunks/main-1.1.0-f14kmh7p.mjs +1 -0
  354. package/dist/chunks/managedEnv-1.1.0-e8vpf6by.mjs +1 -0
  355. package/dist/chunks/mcp-1.1.0-1ywhd8fj.mjs +1 -0
  356. package/dist/chunks/mcp-1.1.0-7nqv81k0.mjs +17 -0
  357. package/dist/chunks/mcp-1.1.0-qx3nvmcz.mjs +4 -0
  358. package/dist/chunks/mcpb-1.1.0-rj36djns.mjs +1 -0
  359. package/dist/chunks/memory-1.1.0-5r0h3k4k.mjs +72 -0
  360. package/dist/chunks/model-1.1.0-44xx16dv.mjs +2 -0
  361. package/dist/chunks/model-1.1.0-fg2cbfq2.mjs +1 -0
  362. package/dist/chunks/node-1.1.0-110zckqt.mjs +12 -0
  363. package/dist/chunks/oauth-1.1.0-wpg4ck2v.mjs +1 -0
  364. package/dist/chunks/openaiShim-1.1.0-j1v7ywpt.mjs +14 -0
  365. package/dist/chunks/output-style-1.1.0-zn9ssp3s.mjs +1 -0
  366. package/dist/chunks/package-2VNCXFNY-1.1.0-gmk2hvrx.mjs +1 -0
  367. package/dist/chunks/parseConnectUrl-1.1.0-5zrr15g5.mjs +1 -0
  368. package/dist/chunks/parser-1.1.0-whqnp9vy.mjs +1 -0
  369. package/dist/chunks/passes-1.1.0-syt7mc82.mjs +1 -0
  370. package/dist/chunks/permissions-1.1.0-93w1tjs2.mjs +3 -0
  371. package/dist/chunks/permissions-1.1.0-xwgjba5h.mjs +1 -0
  372. package/dist/chunks/plan-1.1.0-8by2pkr1.mjs +1 -0
  373. package/dist/chunks/plist-1.1.0-a72f96zz.mjs +1 -0
  374. package/dist/chunks/plugin-1.1.0-1cq6rnm4.mjs +29 -0
  375. package/dist/chunks/pluginStartupCheck-1.1.0-e3hxzsxe.mjs +1 -0
  376. package/dist/chunks/plugins-1.1.0-2ebadazb.mjs +9 -0
  377. package/dist/chunks/preActionHook-1.1.0-1qpnh1b8.mjs +2 -0
  378. package/dist/chunks/print-1.1.0-5023fs4e.mjs +57 -0
  379. package/dist/chunks/privacy-settings-1.1.0-rg0g4j4k.mjs +1 -0
  380. package/dist/chunks/process-1.1.0-azyy6h3h.mjs +1 -0
  381. package/dist/chunks/processBashCommand-1.1.0-xbaa5wkh.mjs +1 -0
  382. package/dist/chunks/processSlashCommand-1.1.0-hegrj68h.mjs +9 -0
  383. package/dist/chunks/prompt-1.1.0-2r56j5nk.mjs +1 -0
  384. package/dist/chunks/prompt-1.1.0-2vmdvy77.mjs +1 -0
  385. package/dist/chunks/prompts-1.1.0-n1m0d2m2.mjs +1 -0
  386. package/dist/chunks/protocolHandler-1.1.0-xs2p3rtn.mjs +13 -0
  387. package/dist/chunks/provider-1.1.0-2j5pg4yy.mjs +2 -0
  388. package/dist/chunks/providerProfiles-1.1.0-rbqezxcw.mjs +1 -0
  389. package/dist/chunks/providerValidation-1.1.0-677eqkc3.mjs +6 -0
  390. package/dist/chunks/rate-limit-options-1.1.0-3m14394y.mjs +1 -0
  391. package/dist/chunks/registerSubcommands-1.1.0-x7bmwv4g.mjs +34 -0
  392. package/dist/chunks/registry-1.1.0-4fyg7f9q.mjs +1 -0
  393. package/dist/chunks/release-notes-1.1.0-pz5tn880.mjs +5 -0
  394. package/dist/chunks/reload-plugins-1.1.0-69db1v80.mjs +2 -0
  395. package/dist/chunks/remote-env-1.1.0-ksfpd9mb.mjs +1 -0
  396. package/dist/chunks/remoteBridgeCore-1.1.0-n7thmemb.mjs +1 -0
  397. package/dist/chunks/remoteSession-1.1.0-qfe65dcd.mjs +1 -0
  398. package/dist/chunks/rename-1.1.0-xwf9aagc.mjs +1 -0
  399. package/dist/chunks/replBridgeHandle-1.1.0-bdbdmxmh.mjs +1 -0
  400. package/dist/chunks/replLauncher-1.1.0-tkn2dd4g.mjs +1 -0
  401. package/dist/chunks/resume-1.1.0-bks26dze.mjs +2 -0
  402. package/dist/chunks/rewind-1.1.0-cet2enqh.mjs +1 -0
  403. package/dist/chunks/rootOptions-1.1.0-jsytxerw.mjs +1 -0
  404. package/dist/chunks/runWorkflowHeadless-1.1.0-0feve89r.mjs +10 -0
  405. package/dist/chunks/sandbox-adapter-1.1.0-h2jzdxee.mjs +1 -0
  406. package/dist/chunks/sandbox-toggle-1.1.0-93sg9m8e.mjs +1 -0
  407. package/dist/chunks/session-1.1.0-qj25v1ny.mjs +2 -0
  408. package/dist/chunks/sessionDiscovery-1.1.0-cyr63cxd.mjs +1 -0
  409. package/dist/chunks/sessionFileAccessHooks-1.1.0-f2jn1dgt.mjs +1 -0
  410. package/dist/chunks/sessionStorage-1.1.0-jhvnwn06.mjs +1 -0
  411. package/dist/chunks/settings-1.1.0-v6kq2gg7.mjs +1 -0
  412. package/dist/chunks/setup-1.1.0-1nvqkzwy.mjs +5 -0
  413. package/dist/chunks/sinks-1.1.0-y6gqgdcq.mjs +1 -0
  414. package/dist/chunks/skills-1.1.0-xsjqqdbe.mjs +1 -0
  415. package/dist/chunks/startupProfiler-1.1.0-vf7vkpmt.mjs +1 -0
  416. package/dist/chunks/startupUpdateCheck-1.1.0-e67ygkan.mjs +1 -0
  417. package/dist/chunks/state-1.1.0-bh945jtk.mjs +1 -0
  418. package/dist/chunks/stats-1.1.0-x33dy37t.mjs +6 -0
  419. package/dist/chunks/status-1.1.0-d0yq6cgj.mjs +1 -0
  420. package/dist/chunks/stickers-1.1.0-xc1m1wem.mjs +1 -0
  421. package/dist/chunks/subprocessEnv-1.1.0-2842f2xr.mjs +1 -0
  422. package/dist/chunks/tasks-1.1.0-jwtf7c9d.mjs +1 -0
  423. package/dist/chunks/teamHelpers-1.1.0-5f9gr2n7.mjs +1 -0
  424. package/dist/chunks/teammateModeSnapshot-1.1.0-p5p6mzr0.mjs +1 -0
  425. package/dist/chunks/teleport-1.1.0-vpph6285.mjs +1 -0
  426. package/dist/chunks/terminalSetup-1.1.0-sapkr8qe.mjs +1 -0
  427. package/dist/chunks/theme-1.1.0-tj4jvv7p.mjs +1 -0
  428. package/dist/chunks/thinkback-1.1.0-jz93vtq3.mjs +1 -0
  429. package/dist/chunks/thinkback-play-1.1.0-bjmff4sm.mjs +1 -0
  430. package/dist/chunks/toolPool-1.1.0-m2n24729.mjs +1 -0
  431. package/dist/chunks/toolSearch-1.1.0-xkqnfkpg.mjs +1 -0
  432. package/dist/chunks/tools-1.1.0-s3ha83mm.mjs +1 -0
  433. package/dist/chunks/trustedDevice-1.1.0-c22x3kwa.mjs +1 -0
  434. package/dist/chunks/turndown.cjs-1.1.0-ysafs3br.mjs +69 -0
  435. package/dist/chunks/types-1.1.0-1bb823j7.mjs +1 -0
  436. package/dist/chunks/ultrareviewCommand-1.1.0-k2hb0xpa.mjs +4 -0
  437. package/dist/chunks/update-1.1.0-7v973cbz.mjs +88 -0
  438. package/dist/chunks/upgrade-1.1.0-rr1r91bn.mjs +1 -0
  439. package/dist/chunks/upload-1.1.0-0zhvg1j3.mjs +7 -0
  440. package/dist/chunks/upstreamproxy-1.1.0-ayhfykdv.mjs +14 -0
  441. package/dist/chunks/url-handler-napi-1.1.0-s7xr32y6.mjs +1 -0
  442. package/dist/chunks/usage-1.1.0-wtv9dama.mjs +1 -0
  443. package/dist/chunks/util-1.1.0-9mksq9n7.mjs +1 -0
  444. package/dist/chunks/utils-1.1.0-8gfj8s3w.mjs +1 -0
  445. package/dist/chunks/vim-1.1.0-2fjkfqs6.mjs +1 -0
  446. package/dist/chunks/watchLoop-1.1.0-6qghm3y5.mjs +13 -0
  447. package/dist/chunks/watcher-1.1.0-p8jgf9r7.mjs +1 -0
  448. package/dist/chunks/wiki-1.1.0-x8aa5635.mjs +132 -0
  449. package/dist/chunks/workflows-1.1.0-epxphggs.mjs +1 -0
  450. package/dist/chunks/worktree-1.1.0-eza3fdnj.mjs +1 -0
  451. package/dist/chunks/worktreeModeEnabled-1.1.0-3mh5gae3.mjs +1 -0
  452. package/dist/chunks/wrapper-1.1.0-snjvfemx.mjs +7 -0
  453. package/dist/cli.mjs +2 -2
  454. package/dist/help.txt +1 -1
  455. package/package.json +9 -9
  456. package/dist/chunks/AgentTool-1.0.16-wvkhgtfr.mjs +0 -1
  457. package/dist/chunks/App-1.0.16-qj70q7bs.mjs +0 -1
  458. package/dist/chunks/ApproveApiKey-1.0.16-nwddyyxe.mjs +0 -1
  459. package/dist/chunks/AssistantSessionChooser-1.0.16-s0nz3m0m.mjs +0 -1
  460. package/dist/chunks/AutoModeOptInDialog-1.0.16-mz0t23b9.mjs +0 -1
  461. package/dist/chunks/BypassPermissionsModeDialog-1.0.16-v6q56p5k.mjs +0 -1
  462. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.16-pa48jvvz.mjs +0 -1
  463. package/dist/chunks/ConsoleOAuthFlow-1.0.16-8z8an98j.mjs +0 -1
  464. package/dist/chunks/DiffDialog-1.0.16-en5phhjv.mjs +0 -7
  465. package/dist/chunks/Doctor-1.0.16-c4vpjrpq.mjs +0 -1
  466. package/dist/chunks/ExplorerDialog-1.0.16-avpaznp7.mjs +0 -6
  467. package/dist/chunks/Grove-1.0.16-3n0wq2g4.mjs +0 -1
  468. package/dist/chunks/ITermBackend-1.0.16-3kamvnmb.mjs +0 -1
  469. package/dist/chunks/InvalidConfigDialog-1.0.16-anyrrqmz.mjs +0 -1
  470. package/dist/chunks/InvalidSettingsDialog-1.0.16-xs7rnvw2.mjs +0 -1
  471. package/dist/chunks/MigrationDialog-1.0.16-hvmezjv6.mjs +0 -1
  472. package/dist/chunks/Onboarding-1.0.16-j9z9h03k.mjs +0 -1
  473. package/dist/chunks/ProviderManager-1.0.16-6sby2542.mjs +0 -1
  474. package/dist/chunks/REPL-1.0.16-2yn8p9d8.mjs +0 -1
  475. package/dist/chunks/ResumeConversation-1.0.16-mf1fgs4p.mjs +0 -1
  476. package/dist/chunks/SnapshotUpdateDialog-1.0.16-acer2dt3.mjs +0 -1
  477. package/dist/chunks/TeleportProgress-1.0.16-p5g78t71.mjs +0 -1
  478. package/dist/chunks/TeleportRepoMismatchDialog-1.0.16-w2cbt48d.mjs +0 -1
  479. package/dist/chunks/TeleportResumeWrapper-1.0.16-zfsbr2j8.mjs +0 -1
  480. package/dist/chunks/TmuxBackend-1.0.16-v0xt80ep.mjs +0 -9
  481. package/dist/chunks/ToolSearchTool-1.0.16-618gxr3s.mjs +0 -1
  482. package/dist/chunks/TrustDialog-1.0.16-xdf0qyft.mjs +0 -1
  483. package/dist/chunks/activeProvider-1.0.16-fdvc9c5k.mjs +0 -1
  484. package/dist/chunks/add-dir-1.0.16-42s0pyww.mjs +0 -1
  485. package/dist/chunks/agentTypes-1.0.16-ya0z3dtm.mjs +0 -1
  486. package/dist/chunks/agents-1.0.16-9kh1vnqr.mjs +0 -3
  487. package/dist/chunks/agents-1.0.16-fxzavm1v.mjs +0 -110
  488. package/dist/chunks/api-1.0.16-dmy8gm8w.mjs +0 -1
  489. package/dist/chunks/asciicast-1.0.16-te208gj5.mjs +0 -1
  490. package/dist/chunks/assistant-1.0.16-k7yyas10.mjs +0 -1
  491. package/dist/chunks/auth-1.0.16-0t089511.mjs +0 -1
  492. package/dist/chunks/auth-1.0.16-wsdndr43.mjs +0 -1
  493. package/dist/chunks/autoMode-1.0.16-9e04q56t.mjs +0 -48
  494. package/dist/chunks/autoUpdater-1.0.16-wsmefs36.mjs +0 -1
  495. package/dist/chunks/backgroundHousekeeping-1.0.16-pmqfyb9a.mjs +0 -1
  496. package/dist/chunks/branch-1.0.16-at6phph5.mjs +0 -4
  497. package/dist/chunks/bridge-1.0.16-jk00c19e.mjs +0 -2
  498. package/dist/chunks/bridgeConfig-1.0.16-1f1hf2x8.mjs +0 -1
  499. package/dist/chunks/bridgeEnabled-1.0.16-pr05xsxb.mjs +0 -1
  500. package/dist/chunks/bridgeMain-1.0.16-df3kzv8s.mjs +0 -88
  501. package/dist/chunks/bridgePointer-1.0.16-brqbhgy2.mjs +0 -1
  502. package/dist/chunks/btw-1.0.16-xzfabxj6.mjs +0 -1
  503. package/dist/chunks/buddy-1.0.16-e678bdsk.mjs +0 -3
  504. package/dist/chunks/cacache-1.0.16-e2mwray8.mjs +0 -1
  505. package/dist/chunks/cache-probe-1.0.16-cgbyvz3q.mjs +0 -21
  506. package/dist/chunks/cacheStats-1.0.16-xg2k7b6y.mjs +0 -4
  507. package/dist/chunks/caches-1.0.16-9xt8fj7x.mjs +0 -1
  508. package/dist/chunks/claudeDesktop-1.0.16-etycr23t.mjs +0 -1
  509. package/dist/chunks/claudemd-1.0.16-05ycq87c.mjs +0 -1
  510. package/dist/chunks/clear-1.0.16-5rrp0dq2.mjs +0 -1
  511. package/dist/chunks/clearTerminal-1.0.16-hq8hxrw4.mjs +0 -1
  512. package/dist/chunks/cli-1.0.16-03b5jjz5.mjs +0 -6
  513. package/dist/chunks/cli-1.0.16-04tr8fw7.mjs +0 -6
  514. package/dist/chunks/cli-1.0.16-07b4f4bw.mjs +0 -3
  515. package/dist/chunks/cli-1.0.16-07x0893e.mjs +0 -2
  516. package/dist/chunks/cli-1.0.16-0bza13rj.mjs +0 -2
  517. package/dist/chunks/cli-1.0.16-0f0rbfq7.mjs +0 -2
  518. package/dist/chunks/cli-1.0.16-0mt6xxrt.mjs +0 -6
  519. package/dist/chunks/cli-1.0.16-0rqyx4re.mjs +0 -2
  520. package/dist/chunks/cli-1.0.16-0v8j55zf.mjs +0 -2
  521. package/dist/chunks/cli-1.0.16-133hhc86.mjs +0 -6
  522. package/dist/chunks/cli-1.0.16-16qr698n.mjs +0 -2
  523. package/dist/chunks/cli-1.0.16-19h7ddkz.mjs +0 -2
  524. package/dist/chunks/cli-1.0.16-1mfcpfa8.mjs +0 -39
  525. package/dist/chunks/cli-1.0.16-1qh4cd2a.mjs +0 -2
  526. package/dist/chunks/cli-1.0.16-21yhbzk0.mjs +0 -3
  527. package/dist/chunks/cli-1.0.16-22djnkp4.mjs +0 -2
  528. package/dist/chunks/cli-1.0.16-23fvr0wv.mjs +0 -2
  529. package/dist/chunks/cli-1.0.16-28kyenby.mjs +0 -2
  530. package/dist/chunks/cli-1.0.16-2ghvdh62.mjs +0 -2
  531. package/dist/chunks/cli-1.0.16-2gwj41fw.mjs +0 -2
  532. package/dist/chunks/cli-1.0.16-2hpbjz3s.mjs +0 -3
  533. package/dist/chunks/cli-1.0.16-2thxt6pw.mjs +0 -59
  534. package/dist/chunks/cli-1.0.16-2ybxhhr3.mjs +0 -4
  535. package/dist/chunks/cli-1.0.16-37d6r8fz.mjs +0 -2
  536. package/dist/chunks/cli-1.0.16-3fv6gk9q.mjs +0 -2
  537. package/dist/chunks/cli-1.0.16-3jqjnkzm.mjs +0 -2
  538. package/dist/chunks/cli-1.0.16-3pbtmmrt.mjs +0 -4
  539. package/dist/chunks/cli-1.0.16-430hp7w5.mjs +0 -2
  540. package/dist/chunks/cli-1.0.16-4621hbzw.mjs +0 -25
  541. package/dist/chunks/cli-1.0.16-49dw2eqx.mjs +0 -5
  542. package/dist/chunks/cli-1.0.16-4a2x18jw.mjs +0 -2
  543. package/dist/chunks/cli-1.0.16-4bw2zm4f.mjs +0 -2
  544. package/dist/chunks/cli-1.0.16-4k4qgyyq.mjs +0 -2
  545. package/dist/chunks/cli-1.0.16-4vns6894.mjs +0 -2
  546. package/dist/chunks/cli-1.0.16-58sv5vch.mjs +0 -2
  547. package/dist/chunks/cli-1.0.16-5axjzbba.mjs +0 -2
  548. package/dist/chunks/cli-1.0.16-5fpnmf91.mjs +0 -15
  549. package/dist/chunks/cli-1.0.16-5sj9hkp9.mjs +0 -2
  550. package/dist/chunks/cli-1.0.16-625x0153.mjs +0 -2
  551. package/dist/chunks/cli-1.0.16-66gzm80h.mjs +0 -2
  552. package/dist/chunks/cli-1.0.16-6d9kerj1.mjs +0 -2
  553. package/dist/chunks/cli-1.0.16-6gyjk1vp.mjs +0 -2
  554. package/dist/chunks/cli-1.0.16-6ynvs67w.mjs +0 -3
  555. package/dist/chunks/cli-1.0.16-7apw65y7.mjs +0 -2
  556. package/dist/chunks/cli-1.0.16-7bvmr4rf.mjs +0 -3
  557. package/dist/chunks/cli-1.0.16-7eybn78f.mjs +0 -2
  558. package/dist/chunks/cli-1.0.16-7hc7p9x4.mjs +0 -4
  559. package/dist/chunks/cli-1.0.16-7n29wghc.mjs +0 -3
  560. package/dist/chunks/cli-1.0.16-7nqp826t.mjs +0 -2
  561. package/dist/chunks/cli-1.0.16-7r5pnkgj.mjs +0 -2
  562. package/dist/chunks/cli-1.0.16-80nmsz9m.mjs +0 -2
  563. package/dist/chunks/cli-1.0.16-80w06txg.mjs +0 -20
  564. package/dist/chunks/cli-1.0.16-82rcbqg2.mjs +0 -2
  565. package/dist/chunks/cli-1.0.16-8m9pzkr8.mjs +0 -15
  566. package/dist/chunks/cli-1.0.16-8mggx8np.mjs +0 -2
  567. package/dist/chunks/cli-1.0.16-8svbg4t6.mjs +0 -4
  568. package/dist/chunks/cli-1.0.16-8vfwka4c.mjs +0 -12
  569. package/dist/chunks/cli-1.0.16-94c7kpx1.mjs +0 -2
  570. package/dist/chunks/cli-1.0.16-94eetd0b.mjs +0 -2
  571. package/dist/chunks/cli-1.0.16-997n0rpt.mjs +0 -2
  572. package/dist/chunks/cli-1.0.16-9m2dkrxt.mjs +0 -2
  573. package/dist/chunks/cli-1.0.16-a2d2s2cs.mjs +0 -2
  574. package/dist/chunks/cli-1.0.16-a4dr9ptz.mjs +0 -3
  575. package/dist/chunks/cli-1.0.16-aa0xse54.mjs +0 -2
  576. package/dist/chunks/cli-1.0.16-abxtgh7d.mjs +0 -2
  577. package/dist/chunks/cli-1.0.16-afng6ydq.mjs +0 -2
  578. package/dist/chunks/cli-1.0.16-ahn721qj.mjs +0 -18
  579. package/dist/chunks/cli-1.0.16-ar98yh40.mjs +0 -2
  580. package/dist/chunks/cli-1.0.16-ar9fmtxa.mjs +0 -2
  581. package/dist/chunks/cli-1.0.16-aw8qjvt6.mjs +0 -1
  582. package/dist/chunks/cli-1.0.16-b0ds811h.mjs +0 -12
  583. package/dist/chunks/cli-1.0.16-b475h1qv.mjs +0 -2
  584. package/dist/chunks/cli-1.0.16-bcax4sz5.mjs +0 -15
  585. package/dist/chunks/cli-1.0.16-bqa1thts.mjs +0 -2
  586. package/dist/chunks/cli-1.0.16-c0pqddvv.mjs +0 -2
  587. package/dist/chunks/cli-1.0.16-cheyjtmw.mjs +0 -2
  588. package/dist/chunks/cli-1.0.16-cnnfggd0.mjs +0 -133
  589. package/dist/chunks/cli-1.0.16-d3zrt3hs.mjs +0 -2
  590. package/dist/chunks/cli-1.0.16-d716n13b.mjs +0 -2
  591. package/dist/chunks/cli-1.0.16-d77bv0wx.mjs +0 -2
  592. package/dist/chunks/cli-1.0.16-datw1k5m.mjs +0 -2
  593. package/dist/chunks/cli-1.0.16-dawsz3cx.mjs +0 -58
  594. package/dist/chunks/cli-1.0.16-dff4252s.mjs +0 -24
  595. package/dist/chunks/cli-1.0.16-dggf3mwp.mjs +0 -2
  596. package/dist/chunks/cli-1.0.16-drphseh7.mjs +0 -4
  597. package/dist/chunks/cli-1.0.16-dsw73925.mjs +0 -2
  598. package/dist/chunks/cli-1.0.16-dxcve6pg.mjs +0 -2
  599. package/dist/chunks/cli-1.0.16-e0qj3bb7.mjs +0 -2
  600. package/dist/chunks/cli-1.0.16-e7hav3ez.mjs +0 -2
  601. package/dist/chunks/cli-1.0.16-e830ghzs.mjs +0 -2
  602. package/dist/chunks/cli-1.0.16-esgranzx.mjs +0 -3
  603. package/dist/chunks/cli-1.0.16-ewmczs5j.mjs +0 -2
  604. package/dist/chunks/cli-1.0.16-f4fr2jb2.mjs +0 -2
  605. package/dist/chunks/cli-1.0.16-fcfaz7s1.mjs +0 -18
  606. package/dist/chunks/cli-1.0.16-fcjskkf4.mjs +0 -2
  607. package/dist/chunks/cli-1.0.16-fehsf9kh.mjs +0 -2
  608. package/dist/chunks/cli-1.0.16-ffca1s3t.mjs +0 -21
  609. package/dist/chunks/cli-1.0.16-fhqg8pmc.mjs +0 -2
  610. package/dist/chunks/cli-1.0.16-fmpgxdqc.mjs +0 -2
  611. package/dist/chunks/cli-1.0.16-fskj6kkz.mjs +0 -12
  612. package/dist/chunks/cli-1.0.16-g1gw16yf.mjs +0 -9
  613. package/dist/chunks/cli-1.0.16-g1hxxcer.mjs +0 -2
  614. package/dist/chunks/cli-1.0.16-g2ya82h9.mjs +0 -2
  615. package/dist/chunks/cli-1.0.16-g3g33b7n.mjs +0 -2
  616. package/dist/chunks/cli-1.0.16-g3xbjpm0.mjs +0 -6
  617. package/dist/chunks/cli-1.0.16-grtt82kn.mjs +0 -45
  618. package/dist/chunks/cli-1.0.16-gvvtqw93.mjs +0 -3
  619. package/dist/chunks/cli-1.0.16-gydkk4pv.mjs +0 -2
  620. package/dist/chunks/cli-1.0.16-h8cqz7s4.mjs +0 -2
  621. package/dist/chunks/cli-1.0.16-hk1xetmm.mjs +0 -133
  622. package/dist/chunks/cli-1.0.16-hpznp2f1.mjs +0 -2
  623. package/dist/chunks/cli-1.0.16-hqqn22q3.mjs +0 -2
  624. package/dist/chunks/cli-1.0.16-ht8msgzn.mjs +0 -5
  625. package/dist/chunks/cli-1.0.16-hvfp394x.mjs +0 -3
  626. package/dist/chunks/cli-1.0.16-j89x551t.mjs +0 -2
  627. package/dist/chunks/cli-1.0.16-j8kkz0js.mjs +0 -2
  628. package/dist/chunks/cli-1.0.16-jd106qrc.mjs +0 -4
  629. package/dist/chunks/cli-1.0.16-jmc56c16.mjs +0 -2
  630. package/dist/chunks/cli-1.0.16-jrxss67w.mjs +0 -2
  631. package/dist/chunks/cli-1.0.16-js6p36qa.mjs +0 -2
  632. package/dist/chunks/cli-1.0.16-k3nksbe5.mjs +0 -2
  633. package/dist/chunks/cli-1.0.16-k6g22gyn.mjs +0 -2
  634. package/dist/chunks/cli-1.0.16-kcreqyt3.mjs +0 -2
  635. package/dist/chunks/cli-1.0.16-kdm4846g.mjs +0 -2
  636. package/dist/chunks/cli-1.0.16-kh0cfhgd.mjs +0 -2
  637. package/dist/chunks/cli-1.0.16-ksfap5at.mjs +0 -24
  638. package/dist/chunks/cli-1.0.16-m5f33qfn.mjs +0 -2
  639. package/dist/chunks/cli-1.0.16-m6x6p13f.mjs +0 -2
  640. package/dist/chunks/cli-1.0.16-m8et6040.mjs +0 -2
  641. package/dist/chunks/cli-1.0.16-mg53mrd2.mjs +0 -17
  642. package/dist/chunks/cli-1.0.16-mkaje15r.mjs +0 -2
  643. package/dist/chunks/cli-1.0.16-n6bm43be.mjs +0 -2
  644. package/dist/chunks/cli-1.0.16-n7vvc80d.mjs +0 -4
  645. package/dist/chunks/cli-1.0.16-natadjxz.mjs +0 -2
  646. package/dist/chunks/cli-1.0.16-nh58e5sn.mjs +0 -2
  647. package/dist/chunks/cli-1.0.16-nxg44e73.mjs +0 -2
  648. package/dist/chunks/cli-1.0.16-p36pcnvw.mjs +0 -2
  649. package/dist/chunks/cli-1.0.16-p68tp9h3.mjs +0 -2
  650. package/dist/chunks/cli-1.0.16-pdf0vmcs.mjs +0 -2
  651. package/dist/chunks/cli-1.0.16-pdjp1248.mjs +0 -2
  652. package/dist/chunks/cli-1.0.16-ph1tq97e.mjs +0 -12
  653. package/dist/chunks/cli-1.0.16-pj0vcmv0.mjs +0 -2
  654. package/dist/chunks/cli-1.0.16-pqmanw5v.mjs +0 -2
  655. package/dist/chunks/cli-1.0.16-pz654728.mjs +0 -5557
  656. package/dist/chunks/cli-1.0.16-q2g1eds7.mjs +0 -2
  657. package/dist/chunks/cli-1.0.16-q5te24ar.mjs +0 -2
  658. package/dist/chunks/cli-1.0.16-q6jt90mr.mjs +0 -25
  659. package/dist/chunks/cli-1.0.16-qc5nvbgq.mjs +0 -2
  660. package/dist/chunks/cli-1.0.16-qf932scm.mjs +0 -2
  661. package/dist/chunks/cli-1.0.16-qfnz1281.mjs +0 -2
  662. package/dist/chunks/cli-1.0.16-qw7khq2v.mjs +0 -42
  663. package/dist/chunks/cli-1.0.16-r1mtjt6j.mjs +0 -2
  664. package/dist/chunks/cli-1.0.16-r2fnj3sp.mjs +0 -2
  665. package/dist/chunks/cli-1.0.16-r4x4j4ex.mjs +0 -2
  666. package/dist/chunks/cli-1.0.16-r5zwwmrf.mjs +0 -34
  667. package/dist/chunks/cli-1.0.16-re32rapy.mjs +0 -2
  668. package/dist/chunks/cli-1.0.16-rfmqmp7n.mjs +0 -67
  669. package/dist/chunks/cli-1.0.16-rnjfc919.mjs +0 -2
  670. package/dist/chunks/cli-1.0.16-rvawnzma.mjs +0 -50
  671. package/dist/chunks/cli-1.0.16-s3ck0xny.mjs +0 -2
  672. package/dist/chunks/cli-1.0.16-s4pa3dqg.mjs +0 -2
  673. package/dist/chunks/cli-1.0.16-s5y2vt2x.mjs +0 -16
  674. package/dist/chunks/cli-1.0.16-s609frp5.mjs +0 -2
  675. package/dist/chunks/cli-1.0.16-s6nrn76q.mjs +0 -2
  676. package/dist/chunks/cli-1.0.16-scvxzb6x.mjs +0 -2
  677. package/dist/chunks/cli-1.0.16-srgnhrpx.mjs +0 -2
  678. package/dist/chunks/cli-1.0.16-srr48ecc.mjs +0 -18
  679. package/dist/chunks/cli-1.0.16-stm6nwy6.mjs +0 -2
  680. package/dist/chunks/cli-1.0.16-t1815494.mjs +0 -7
  681. package/dist/chunks/cli-1.0.16-t2ky4p5s.mjs +0 -202
  682. package/dist/chunks/cli-1.0.16-td1tnrvq.mjs +0 -2
  683. package/dist/chunks/cli-1.0.16-tjqve1gp.mjs +0 -2
  684. package/dist/chunks/cli-1.0.16-tkw512bx.mjs +0 -2
  685. package/dist/chunks/cli-1.0.16-tnx6xq60.mjs +0 -2
  686. package/dist/chunks/cli-1.0.16-v6rpymkv.mjs +0 -2
  687. package/dist/chunks/cli-1.0.16-vfk0g9d8.mjs +0 -2
  688. package/dist/chunks/cli-1.0.16-vj5p858w.mjs +0 -3
  689. package/dist/chunks/cli-1.0.16-w382p4f7.mjs +0 -24
  690. package/dist/chunks/cli-1.0.16-wg00dea4.mjs +0 -2
  691. package/dist/chunks/cli-1.0.16-wh1hwpa6.mjs +0 -2
  692. package/dist/chunks/cli-1.0.16-wk5szq3c.mjs +0 -2
  693. package/dist/chunks/cli-1.0.16-wmt878h4.mjs +0 -2
  694. package/dist/chunks/cli-1.0.16-wt9wh18d.mjs +0 -3
  695. package/dist/chunks/cli-1.0.16-x002k14w.mjs +0 -4
  696. package/dist/chunks/cli-1.0.16-x50z71rx.mjs +0 -2
  697. package/dist/chunks/cli-1.0.16-x7frspjb.mjs +0 -2
  698. package/dist/chunks/cli-1.0.16-xest14mj.mjs +0 -2
  699. package/dist/chunks/cli-1.0.16-xhrysm93.mjs +0 -4
  700. package/dist/chunks/cli-1.0.16-xjjsnafh.mjs +0 -2
  701. package/dist/chunks/cli-1.0.16-xqwz1zgk.mjs +0 -2
  702. package/dist/chunks/cli-1.0.16-xz63vy3x.mjs +0 -2
  703. package/dist/chunks/cli-1.0.16-y8etxx4t.mjs +0 -2
  704. package/dist/chunks/cli-1.0.16-y9yxyd77.mjs +0 -2
  705. package/dist/chunks/cli-1.0.16-ynm2hz21.mjs +0 -2
  706. package/dist/chunks/cli-1.0.16-yw011pcb.mjs +0 -2
  707. package/dist/chunks/cli-1.0.16-z2t6cws8.mjs +0 -8
  708. package/dist/chunks/cli-1.0.16-z3ew4yak.mjs +0 -4
  709. package/dist/chunks/cli-1.0.16-z8hf3965.mjs +0 -2
  710. package/dist/chunks/cli-1.0.16-z8vtm68p.mjs +0 -4
  711. package/dist/chunks/cli-1.0.16-zakynkzs.mjs +0 -9
  712. package/dist/chunks/cli-1.0.16-zsvkc5zm.mjs +0 -2
  713. package/dist/chunks/cli-1.0.16-zv0gp6y5.mjs +0 -17
  714. package/dist/chunks/client-1.0.16-xhs0p1sr.mjs +0 -1
  715. package/dist/chunks/color-1.0.16-4vz7gpcs.mjs +0 -1
  716. package/dist/chunks/compact-1.0.16-h9s4p0tq.mjs +0 -3
  717. package/dist/chunks/config-1.0.16-g2c7zr5h.mjs +0 -1
  718. package/dist/chunks/config-1.0.16-ktfgayty.mjs +0 -1
  719. package/dist/chunks/constants-1.0.16-dttepjbs.mjs +0 -1
  720. package/dist/chunks/context-1.0.16-qtcs6qm5.mjs +0 -1
  721. package/dist/chunks/context-noninteractive-1.0.16-rvjhqwht.mjs +0 -1
  722. package/dist/chunks/conversation-1.0.16-z503kkn8.mjs +0 -1
  723. package/dist/chunks/copilotHeaders-1.0.16-z5a555zn.mjs +0 -1
  724. package/dist/chunks/copy-1.0.16-yfb29y6y.mjs +0 -9
  725. package/dist/chunks/cost-1.0.16-417v6b1a.mjs +0 -1
  726. package/dist/chunks/createSSHSession-1.0.16-zz14vxmj.mjs +0 -1
  727. package/dist/chunks/createSession-1.0.16-k1128bhd.mjs +0 -1
  728. package/dist/chunks/debug-1.0.16-rtt7pq3d.mjs +0 -1
  729. package/dist/chunks/defaultActionDeps-1.0.16-qxzqz3wz.mjs +0 -1446
  730. package/dist/chunks/desktop-1.0.16-hkxhs9sk.mjs +0 -1
  731. package/dist/chunks/detectRepository-1.0.16-4p7e3f4d.mjs +0 -1
  732. package/dist/chunks/detection-1.0.16-gpt4y10p.mjs +0 -1
  733. package/dist/chunks/diff-1.0.16-hbcebmqq.mjs +0 -1
  734. package/dist/chunks/doctor-1.0.16-mbqv4b8m.mjs +0 -1
  735. package/dist/chunks/doctorDiagnostic-1.0.16-c64s8s2j.mjs +0 -1
  736. package/dist/chunks/earlyInput-1.0.16-cgk422bw.mjs +0 -1
  737. package/dist/chunks/effort-1.0.16-fk0fsqw1.mjs +0 -10
  738. package/dist/chunks/engine-1.0.16-5a0tr5hv.mjs +0 -1
  739. package/dist/chunks/envLessBridgeConfig-1.0.16-a88zsxm7.mjs +0 -1
  740. package/dist/chunks/envUtils-1.0.16-5gxzkt3m.mjs +0 -1
  741. package/dist/chunks/environmentSelection-1.0.16-3pg1req8.mjs +0 -1
  742. package/dist/chunks/environments-1.0.16-1aggyd97.mjs +0 -1
  743. package/dist/chunks/errors-1.0.16-vxy9cpnz.mjs +0 -1
  744. package/dist/chunks/exampleCommands-1.0.16-gw61yzy5.mjs +0 -1
  745. package/dist/chunks/execFileNoThrow-1.0.16-mg301nrg.mjs +0 -1
  746. package/dist/chunks/exit-1.0.16-rhqh0qcy.mjs +0 -1
  747. package/dist/chunks/explorer-1.0.16-dz7153c5.mjs +0 -1
  748. package/dist/chunks/export-1.0.16-grgk0hrd.mjs +0 -2
  749. package/dist/chunks/extra-usage-1.0.16-eh8c6s6q.mjs +0 -1
  750. package/dist/chunks/extra-usage-noninteractive-1.0.16-775rwnd4.mjs +0 -1
  751. package/dist/chunks/fast-1.0.16-j6006he1.mjs +0 -1
  752. package/dist/chunks/feedback-1.0.16-s0tshw39.mjs +0 -14
  753. package/dist/chunks/firstPartyEventLogger-1.0.16-h61b27k3.mjs +0 -1
  754. package/dist/chunks/git-1.0.16-zgmcchyv.mjs +0 -1
  755. package/dist/chunks/githubModelsCredentials-1.0.16-q2s6e4s8.mjs +0 -1
  756. package/dist/chunks/goal-1.0.16-w0e1trst.mjs +0 -4
  757. package/dist/chunks/grove-1.0.16-rm643s3n.mjs +0 -1
  758. package/dist/chunks/growthbook-1.0.16-234vever.mjs +0 -1
  759. package/dist/chunks/headless-1.0.16-0f9r1wnw.mjs +0 -2
  760. package/dist/chunks/heapdump-1.0.16-2g3xpm87.mjs +0 -6
  761. package/dist/chunks/help-1.0.16-fmhte0j0.mjs +0 -1
  762. package/dist/chunks/hookChains-1.0.16-5f5tk1dt.mjs +0 -3
  763. package/dist/chunks/hooks-1.0.16-35ge6dh4.mjs +0 -1
  764. package/dist/chunks/hooks-1.0.16-w3s2dqc3.mjs +0 -79
  765. package/dist/chunks/ide-1.0.16-k72t7fra.mjs +0 -3
  766. package/dist/chunks/image-processor-napi-1.0.16-wefqw84q.mjs +0 -1
  767. package/dist/chunks/inboundAttachments-1.0.16-d9p2etx1.mjs +0 -1
  768. package/dist/chunks/index-1.0.16-0yqaa9dp.mjs +0 -1
  769. package/dist/chunks/index-1.0.16-2cwev03b.mjs +0 -1
  770. package/dist/chunks/index-1.0.16-2q4smqnq.mjs +0 -5
  771. package/dist/chunks/index-1.0.16-43g8hr9c.mjs +0 -1
  772. package/dist/chunks/index-1.0.16-58jgyw37.mjs +0 -1
  773. package/dist/chunks/index-1.0.16-6pawckrk.mjs +0 -1
  774. package/dist/chunks/index-1.0.16-900z9kpq.mjs +0 -1
  775. package/dist/chunks/index-1.0.16-a6bdp9dx.mjs +0 -1
  776. package/dist/chunks/index-1.0.16-brq1353t.mjs +0 -1
  777. package/dist/chunks/index-1.0.16-dkpszwnc.mjs +0 -30
  778. package/dist/chunks/index-1.0.16-fvhbvz4e.mjs +0 -1
  779. package/dist/chunks/index-1.0.16-fxg85h4f.mjs +0 -2
  780. package/dist/chunks/index-1.0.16-jrbr0vgb.mjs +0 -1
  781. package/dist/chunks/index-1.0.16-kbpve4r7.mjs +0 -1
  782. package/dist/chunks/index-1.0.16-mcszpr4h.mjs +0 -9
  783. package/dist/chunks/index-1.0.16-mmxyq9n1.mjs +0 -9
  784. package/dist/chunks/index-1.0.16-mpgbpm0k.mjs +0 -1
  785. package/dist/chunks/index-1.0.16-qsmka6f6.mjs +0 -1
  786. package/dist/chunks/index-1.0.16-rrgfxza5.mjs +0 -2
  787. package/dist/chunks/index-1.0.16-rsr8xcrt.mjs +0 -17
  788. package/dist/chunks/index-1.0.16-ryw2h481.mjs +0 -1
  789. package/dist/chunks/index-1.0.16-stt2baps.mjs +0 -1
  790. package/dist/chunks/index-1.0.16-zpctfp06.mjs +0 -1
  791. package/dist/chunks/init-1.0.16-6d9mah78.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.0.16-rmj53r70.mjs +0 -1
  793. package/dist/chunks/ink-1.0.16-bhr33b23.mjs +0 -1
  794. package/dist/chunks/insights-1.0.16-7kd5gsq0.mjs +0 -870
  795. package/dist/chunks/install-1.0.16-ab2zfsp3.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.0.16-7c40s5xx.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.0.16-5dv60ceq.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.0.16-tynczjn9.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.0.16-9gbm21fb.mjs +0 -1
  800. package/dist/chunks/keybindings-1.0.16-saxm9cz1.mjs +0 -2
  801. package/dist/chunks/knowledge-1.0.16-t1e5qmmj.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.0.16-x1vcspx5.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.0.16-73hvgtg1.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.0.16-nhgxn1vv.mjs +0 -1
  805. package/dist/chunks/loadPluginHooks-1.0.16-zsah8w7s.mjs +0 -1
  806. package/dist/chunks/log-1.0.16-1thaytya.mjs +0 -1
  807. package/dist/chunks/main-1.0.16-98hcbpah.mjs +0 -1
  808. package/dist/chunks/managedEnv-1.0.16-kehw592q.mjs +0 -1
  809. package/dist/chunks/mcp-1.0.16-279t3wwh.mjs +0 -1
  810. package/dist/chunks/mcp-1.0.16-44q8kwd8.mjs +0 -4
  811. package/dist/chunks/mcp-1.0.16-vtjz32eq.mjs +0 -17
  812. package/dist/chunks/mcpb-1.0.16-c57m9p34.mjs +0 -1
  813. package/dist/chunks/memory-1.0.16-kjsp1ta2.mjs +0 -72
  814. package/dist/chunks/model-1.0.16-sk96phs5.mjs +0 -1
  815. package/dist/chunks/model-1.0.16-ttvdftag.mjs +0 -2
  816. package/dist/chunks/node-1.0.16-20fb4ffh.mjs +0 -12
  817. package/dist/chunks/oauth-1.0.16-jxs2a70y.mjs +0 -1
  818. package/dist/chunks/openaiShim-1.0.16-1n9f8659.mjs +0 -14
  819. package/dist/chunks/output-style-1.0.16-a7amj8g1.mjs +0 -1
  820. package/dist/chunks/package-2VNCXFNY-1.0.16-09men0zm.mjs +0 -1
  821. package/dist/chunks/parseConnectUrl-1.0.16-46kkhskc.mjs +0 -1
  822. package/dist/chunks/parser-1.0.16-75k3wk1b.mjs +0 -1
  823. package/dist/chunks/passes-1.0.16-gapgbvp7.mjs +0 -1
  824. package/dist/chunks/permissions-1.0.16-6gc12sjy.mjs +0 -1
  825. package/dist/chunks/permissions-1.0.16-taf27235.mjs +0 -3
  826. package/dist/chunks/plan-1.0.16-4h9sahxh.mjs +0 -1
  827. package/dist/chunks/plist-1.0.16-00prnk6z.mjs +0 -1
  828. package/dist/chunks/plugin-1.0.16-jzbt7gzr.mjs +0 -29
  829. package/dist/chunks/pluginStartupCheck-1.0.16-v0g6m4h4.mjs +0 -1
  830. package/dist/chunks/plugins-1.0.16-vw4ae418.mjs +0 -9
  831. package/dist/chunks/preActionHook-1.0.16-cf53tkw8.mjs +0 -2
  832. package/dist/chunks/print-1.0.16-5trdtnez.mjs +0 -57
  833. package/dist/chunks/privacy-settings-1.0.16-tg3nb1jr.mjs +0 -1
  834. package/dist/chunks/process-1.0.16-nfkmm0cz.mjs +0 -1
  835. package/dist/chunks/processBashCommand-1.0.16-8kfkzt3n.mjs +0 -1
  836. package/dist/chunks/processSlashCommand-1.0.16-4g1pf3ny.mjs +0 -9
  837. package/dist/chunks/prompt-1.0.16-436taj0q.mjs +0 -1
  838. package/dist/chunks/prompt-1.0.16-a7sjgybs.mjs +0 -1
  839. package/dist/chunks/prompts-1.0.16-pv504jmf.mjs +0 -1
  840. package/dist/chunks/protocolHandler-1.0.16-4ewyrhnt.mjs +0 -13
  841. package/dist/chunks/provider-1.0.16-40avs022.mjs +0 -2
  842. package/dist/chunks/providerProfiles-1.0.16-19xj1cn0.mjs +0 -1
  843. package/dist/chunks/providerValidation-1.0.16-5kf26qqb.mjs +0 -6
  844. package/dist/chunks/rate-limit-options-1.0.16-r6wk8rnn.mjs +0 -1
  845. package/dist/chunks/registerSubcommands-1.0.16-ze1wp99c.mjs +0 -34
  846. package/dist/chunks/registry-1.0.16-kgejq595.mjs +0 -1
  847. package/dist/chunks/release-notes-1.0.16-scnheqw0.mjs +0 -5
  848. package/dist/chunks/reload-plugins-1.0.16-w0zg32ax.mjs +0 -2
  849. package/dist/chunks/remote-env-1.0.16-synwwy3m.mjs +0 -1
  850. package/dist/chunks/remoteBridgeCore-1.0.16-ymnjt039.mjs +0 -1
  851. package/dist/chunks/remoteSession-1.0.16-3aayhp1c.mjs +0 -1
  852. package/dist/chunks/rename-1.0.16-s36f1cwm.mjs +0 -1
  853. package/dist/chunks/replBridgeHandle-1.0.16-xcggq12t.mjs +0 -1
  854. package/dist/chunks/replLauncher-1.0.16-pvrqbab9.mjs +0 -1
  855. package/dist/chunks/resume-1.0.16-q2dep3y4.mjs +0 -2
  856. package/dist/chunks/rewind-1.0.16-dq4wm5h4.mjs +0 -1
  857. package/dist/chunks/rootOptions-1.0.16-r0kb1zct.mjs +0 -1
  858. package/dist/chunks/runWorkflowHeadless-1.0.16-dysdbd7q.mjs +0 -10
  859. package/dist/chunks/sandbox-adapter-1.0.16-7n9xg27z.mjs +0 -1
  860. package/dist/chunks/sandbox-toggle-1.0.16-xz2rf4ej.mjs +0 -1
  861. package/dist/chunks/session-1.0.16-xkrx4se2.mjs +0 -2
  862. package/dist/chunks/sessionDiscovery-1.0.16-3dphfc07.mjs +0 -1
  863. package/dist/chunks/sessionFileAccessHooks-1.0.16-jrwwz53s.mjs +0 -1
  864. package/dist/chunks/sessionStorage-1.0.16-ag63vscp.mjs +0 -1
  865. package/dist/chunks/settings-1.0.16-q87pq0zz.mjs +0 -1
  866. package/dist/chunks/setup-1.0.16-12fgxwkv.mjs +0 -5
  867. package/dist/chunks/sinks-1.0.16-36a05p86.mjs +0 -1
  868. package/dist/chunks/skills-1.0.16-7tmcq0a1.mjs +0 -1
  869. package/dist/chunks/startupProfiler-1.0.16-mqq1dtg8.mjs +0 -1
  870. package/dist/chunks/startupUpdateCheck-1.0.16-w07gte63.mjs +0 -1
  871. package/dist/chunks/state-1.0.16-gwzstmaj.mjs +0 -1
  872. package/dist/chunks/stats-1.0.16-2erbkz9h.mjs +0 -6
  873. package/dist/chunks/status-1.0.16-6qqf5na3.mjs +0 -1
  874. package/dist/chunks/stickers-1.0.16-jf9tyw9z.mjs +0 -1
  875. package/dist/chunks/subprocessEnv-1.0.16-ngfdv3rn.mjs +0 -1
  876. package/dist/chunks/tasks-1.0.16-f2mpvw3j.mjs +0 -1
  877. package/dist/chunks/teamHelpers-1.0.16-1zqfw5kt.mjs +0 -1
  878. package/dist/chunks/teammateModeSnapshot-1.0.16-wq9c6fn5.mjs +0 -1
  879. package/dist/chunks/teleport-1.0.16-j0nb65ep.mjs +0 -1
  880. package/dist/chunks/terminalSetup-1.0.16-c2aasdh0.mjs +0 -1
  881. package/dist/chunks/theme-1.0.16-bp7rwprg.mjs +0 -1
  882. package/dist/chunks/thinkback-1.0.16-s5q9hf1f.mjs +0 -1
  883. package/dist/chunks/thinkback-play-1.0.16-qcz7ewrc.mjs +0 -1
  884. package/dist/chunks/toolPool-1.0.16-8jzr0b7x.mjs +0 -1
  885. package/dist/chunks/toolSearch-1.0.16-rh3m1amv.mjs +0 -1
  886. package/dist/chunks/tools-1.0.16-acdg9mcz.mjs +0 -1
  887. package/dist/chunks/trustedDevice-1.0.16-4skvbzg2.mjs +0 -1
  888. package/dist/chunks/turndown.cjs-1.0.16-bt2mzb9v.mjs +0 -69
  889. package/dist/chunks/types-1.0.16-12v2wggf.mjs +0 -1
  890. package/dist/chunks/ultrareviewCommand-1.0.16-0sggaheg.mjs +0 -4
  891. package/dist/chunks/update-1.0.16-gaq5feph.mjs +0 -88
  892. package/dist/chunks/upgrade-1.0.16-4q1tw679.mjs +0 -1
  893. package/dist/chunks/upload-1.0.16-j0g88k8m.mjs +0 -7
  894. package/dist/chunks/upstreamproxy-1.0.16-dvxtbfnr.mjs +0 -14
  895. package/dist/chunks/url-handler-napi-1.0.16-41gcda5k.mjs +0 -1
  896. package/dist/chunks/usage-1.0.16-81hyem10.mjs +0 -1
  897. package/dist/chunks/util-1.0.16-vj3f24h4.mjs +0 -1
  898. package/dist/chunks/utils-1.0.16-b4gx7byh.mjs +0 -1
  899. package/dist/chunks/vim-1.0.16-jvbyy8tf.mjs +0 -1
  900. package/dist/chunks/watchLoop-1.0.16-rxr5a1c9.mjs +0 -13
  901. package/dist/chunks/watcher-1.0.16-c0bhk1zf.mjs +0 -1
  902. package/dist/chunks/wiki-1.0.16-36wp5225.mjs +0 -132
  903. package/dist/chunks/workflows-1.0.16-0es24xfj.mjs +0 -1
  904. package/dist/chunks/worktree-1.0.16-yhpvswv0.mjs +0 -1
  905. package/dist/chunks/worktreeModeEnabled-1.0.16-h6ctn92v.mjs +0 -1
  906. package/dist/chunks/wrapper-1.0.16-phy8pddr.mjs +0 -7
  907. /package/dist/chunks/{cli-1.0.16-y02n1td1.mjs → cli-1.1.0-5sg0fk2p.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.0.16-jz90b7gc.mjs → cli-1.1.0-7s0f112n.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.0.16-1mzm316y.mjs → cli-1.1.0-9nc530td.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.0.16-fjg1p1sc.mjs → cli-1.1.0-gm3yzqxw.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.0.16-y98j8rxt.mjs → cli-1.1.0-j0sa90bm.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.0.16-vkzqt5g9.mjs → cli-1.1.0-vcev20jn.mjs} +0 -0
  913. /package/dist/chunks/{cli-1.0.16-bsg2fea8.mjs → cli-1.1.0-wmg6s7xa.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{md as K,nd as Y}from"./cli-1.0.16-j89x551t.mjs";import{Al as U,Bl as V,Gp as H,Hp as W,WM as J,cN as X,vl as G,wl as B}from"./cli-1.0.16-pz654728.mjs";import{esa as q,hsa as v}from"./cli-1.0.16-y9yxyd77.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>G.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(H([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(V(),q(U))});
2
- export{P as id,C as jd,A as kd,D as ld};
@@ -1,2 +0,0 @@
1
- import{E8 as WB,m8 as Z,p8 as T,v8 as f}from"./cli-1.0.16-s5y2vt2x.mjs";import{Kea as v,Tea as QB,hba as _,iba as KB,j_ as O,k_ as BB,yea as A}from"./cli-1.0.16-t2ky4p5s.mjs";import{iia as w,jia as JB}from"./cli-1.0.16-pj0vcmv0.mjs";import{Lka as F,Vka as e}from"./cli-1.0.16-q2g1eds7.mjs";import{Mla as I,Nla as c,Yla as M,Zla as m,gla as S,hla as s,yqa as a,zma as R}from"./cli-1.0.16-zsvkc5zm.mjs";import{Xqa as q,Yqa as t}from"./cli-1.0.16-0f0rbfq7.mjs";import{hsa as K}from"./cli-1.0.16-y9yxyd77.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
2
- export{kB as GU,r as HU,vB as IU,TB as JU,g as KU,ZB as LU};
@@ -1,2 +0,0 @@
1
- import{$L as M,OL as R,SL as b,VL as w,bM as P,gM as m,hM as h,lM as c,mp as L,np as D,op as O,rp as _,sp as S}from"./cli-1.0.16-pz654728.mjs";import{Hda as E,gca as x,oca as T,qga as N,sda as B,uda as A,xda as C,yga as j}from"./cli-1.0.16-t2ky4p5s.mjs";import{iia as U,jia as v}from"./cli-1.0.16-pj0vcmv0.mjs";import{_ja as G,bka as F}from"./cli-1.0.16-04tr8fw7.mjs";import{hsa as y}from"./cli-1.0.16-y9yxyd77.mjs";import{join as I}from"path";async function qq(){let q=C(),z=[],W=L();for(let[K,Q]of Object.entries(W))if(K.includes("@")&&Q)z.push(K);if(q.enabledPlugins)for(let[K,Q]of Object.entries(q.enabledPlugins)){if(!K.includes("@"))continue;let J=z.indexOf(K);if(Q){if(J===-1)z.push(K)}else if(J!==-1)z.splice(J,1)}return z}function zq(){let q=new Map,z=L();for(let[K,Q]of Object.entries(z)){if(!K.includes("@"))continue;if(Q===!0)q.set(K,"flag");else if(Q===!1)q.delete(K)}let W=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:K,source:Q}of W){let J=B(Q);if(!J?.enabledPlugins)continue;for(let[V,Y]of Object.entries(J.enabledPlugins)){if(!V.includes("@"))continue;if(V in z&&z[V]!==Y)G(`Plugin ${V} from --add-dir (${z[V]}) overridden by ${Q} (${Y})`);if(Y===!0)q.set(V,K);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([K,Q])=>`${K}(${Q})`).join(", ")}`),q}function Jq(q){return q!=="flag"}function Kq(q){return O[q]}async function p(){M().catch((W)=>{N(W)});let q=w(),z=Object.keys(q.plugins);return G(`Found ${z.length} installed plugins`),z}async function Qq(q){try{let z=await p(),W=q.filter((J)=>!z.includes(J));return(await Promise.all(W.map(async(J)=>{try{let V=await R(J);return{pluginId:J,found:V!==null&&V!==void 0}}catch(V){return G(`Failed to check plugin ${J} in marketplace: ${V}`),{pluginId:J,found:!1}}}))).filter(({found:J})=>J).map(({pluginId:J})=>J)}catch(z){return N(z),[]}}async function Vq(q,z,W="user"){let K=W!=="user"?U():void 0,Q=_(W),J=B(Q),V={...J?.enabledPlugins},Y=[],k=[];for(let H=0;H<q.length;H++){let X=q[H];if(!X)continue;if(z)z(X,H+1,q.length);try{let Z=await R(X);if(!Z){k.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:f}=Z;if(!x($.source))await m(X,$,W,K);else h({pluginId:X,installPath:I(f,$.source),version:$.version},W,K);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);k.push({name:X,error:$}),N(Z)}}return A(Q,{...J,enabledPlugins:V}),{installed:Y,failed:k}}var a=y(()=>{v();F();j();E();D();P();b();S();c();T()});
2
- export{qq as ce,zq as de,Jq as ee,Kq as fe,p as ge,Qq as he,Vq as ie,a as je};
@@ -1,2 +0,0 @@
1
- import{Ux as J,Vx as Z,YG as z,ZG as M,oF as L,pF as h}from"./cli-1.0.16-pz654728.mjs";import{kZ as X}from"./cli-1.0.16-2thxt6pw.mjs";import{X3 as W}from"./cli-1.0.16-gydkk4pv.mjs";import{Vpa as H,yqa as V}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as D,hsa as U}from"./cli-1.0.16-y9yxyd77.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
- export{v as vg,A as wg};
@@ -1,2 +0,0 @@
1
- import{Ad as XJ,Bd as mJ}from"./cli-1.0.16-p68tp9h3.mjs";import{Xh as JJ,Yh as dJ}from"./cli-1.0.16-dawsz3cx.mjs";import{$D as pJ,Dj as g,ED as LJ,Fm as OJ,Mk as BJ,Mn as h,PR as P,TG as T,UD as yJ,VD as DJ,XG as o,YG as s,ZG as FJ,Zl as c,_D as e,am as HJ,kO as I,mz as i,nm as a,nz as TJ,sF as n,sT as bJ,sm as RJ,tF as vJ,wx as x,zm as l}from"./cli-1.0.16-pz654728.mjs";import{V6 as WJ}from"./cli-1.0.16-s5y2vt2x.mjs";import{Gda as u,Hda as _J,Sda as MJ,baa as VJ,hga as O,iga as AJ,qga as B,yda as f,yga as H}from"./cli-1.0.16-t2ky4p5s.mjs";import{Kha as YJ}from"./cli-1.0.16-hpznp2f1.mjs";import{jia as zJ}from"./cli-1.0.16-pj0vcmv0.mjs";import{Xia as R,_ia as y}from"./cli-1.0.16-6d9kerj1.mjs";import{Ija as QJ,Mja as V,Qja as UJ,_ja as m,bka as NJ}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as C}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as U,Vka as wJ}from"./cli-1.0.16-q2g1eds7.mjs";import{Gna as F,poa as b,yqa as j}from"./cli-1.0.16-zsvkc5zm.mjs";import{esa as jJ}from"./cli-1.0.16-y9yxyd77.mjs";pJ();dJ();j();YJ();y();I();BJ();h();VJ();zJ();C();H();P();WJ();QJ();x();I();h();H();C();P();x();LJ();function D(){}j();y();AJ();NJ();wJ();UJ();TJ();MJ();H();o();vJ();RJ();bJ();FJ();_J();OJ();HJ();import{join as Q}from"path";var SJ=30;function L(){let K=((f()||{}).cleanupPeriodDays??SJ)*24*60*60*1000;return new Date(Date.now()-K)}function r(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function kJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,K){let $={messages:0,errors:0};try{let G=await V().readdir(X);for(let Z of G)try{if(kJ(Z.name)<J)if(await V().unlink(Q(X,Z.name)),K)$.messages++;else $.errors++}catch(Y){B(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")B(G)}return $}async function EJ(){let X=V(),J=L(),K=O.errors(),$=O.baseLogs(),G=await p(K,J,!1);try{let Z;try{Z=await X.readdir($)}catch{return G}let Y=Z.filter((q)=>q.isDirectory()&&q.name.startsWith("mcp-logs-")).map((q)=>Q($,q.name));for(let q of Y)G=r(G,await p(q,J,!0)),await z(q,X)}catch(Z){if(Z instanceof Error&&"code"in Z&&Z.code!=="ENOENT")B(Z)}return G}async function w(X,J,K){if((await K.stat(X)).mtime<J)return await K.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function CJ(){let X=L(),J={messages:0,errors:0},K=g(),$=V(),G;try{G=await $.readdir(K)}catch{return J}for(let Z of G){if(!Z.isDirectory())continue;let Y=Q(K,Z.name),q;try{q=await $.readdir(Y)}catch{J.errors++;continue}for(let W of q)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await w(Q(Y,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Q(Y,W.name),N=Q(M,l),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await w(Q(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Q(N,_.name),k;try{k=await $.readdir(A)}catch{continue}for(let E of k){if(!E.isFile())continue;try{if(await w(Q(A,E.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Y,$)}return J}async function d(X,J,K=!0){let $=L(),G={messages:0,errors:0},Z=V(),Y;try{Y=await Z.readdir(X)}catch{return G}for(let q of Y){if(!q.isFile()||!q.name.endsWith(J))continue;try{if(await w(Q(X,q.name),$,Z))G.messages++}catch{G.errors++}}if(K)await z(X,Z);return G}async function hJ(){let X=a(),J=await d(X,".md"),K=Q(U(),"plans");if(K!==X){let $=await d(K,".md");return r(J,$)}return J}async function xJ(){let X=L(),J={messages:0,errors:0},K=V();try{let $=U(),G=Q($,"file-history"),Z;try{Z=await K.readdir(G)}catch{return J}let Y=Z.filter((q)=>q.isDirectory()).map((q)=>Q(G,q.name));await Promise.all(Y.map(async(q)=>{try{if((await K.stat(q)).mtime<X)await K.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(G,K)}catch($){B($)}return J}async function IJ(){let X=L(),J={messages:0,errors:0},K=V();try{let $=U(),G=Q($,"session-env"),Z;try{Z=await K.readdir(G)}catch{return J}let Y=Z.filter((q)=>q.isDirectory()).map((q)=>Q(G,q.name));for(let q of Y)try{if((await K.stat(q)).mtime<X)await K.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(G,K)}catch($){B($)}return J}async function PJ(){let X=L(),J={messages:0,errors:0},K=V(),$=Q(U(),"debug"),G;try{G=await K.readdir($)}catch{return J}for(let Z of G){if(!Z.isFile()||!Z.name.endsWith(".txt")||Z.name==="latest")continue;try{if(await w(Q($,Z.name),X,K))J.messages++}catch{J.errors++}}return J}async function t(){let{errors:X}=s();if(X.length>0&&u("cleanupPeriodDays")){m("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await EJ(),await CJ(),await hJ(),await xJ(),await IJ(),await PJ(),await i(),await n(L());let J=await c(L());if(J>0)R("tengu_worktree_cleanup",{removed:J})}o();mJ();var fJ=(DJ(),jJ(yJ));var v=600000;function sX(){JJ(),D(),fJ.initExtractMemories(),e(),XJ();let X=!0;async function J(){if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await t();if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await T()}setTimeout(J,v).unref()}
2
- export{sX as ka};
@@ -1,2 +0,0 @@
1
- import{DX as YJ,HX as DJ,LX as vJ,MX as c,NX as SJ,VX as ZJ}from"./cli-1.0.16-g2ya82h9.mjs";import{h3 as CJ,o3 as TJ}from"./cli-1.0.16-wh1hwpa6.mjs";import{Qda as S,Sda as yJ,Y_ as xJ,baa as jJ,qga as p,u$ as NJ,x_ as OJ,y_ as FJ,yga as wJ}from"./cli-1.0.16-t2ky4p5s.mjs";import{bia as R,dia as VJ,eia as w,fia as XJ}from"./cli-1.0.16-rfmqmp7n.mjs";import{Dja as v,Eja as y,Ija as JJ,_ja as G,bka as QJ}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as e,yka as W,zka as C}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as s,Jka as I,Lka as t,Vka as a}from"./cli-1.0.16-q2g1eds7.mjs";import{Ipa as L,ooa as i,vma as r,wma as MJ,yqa as m,zma as d}from"./cli-1.0.16-zsvkc5zm.mjs";import{hsa as T,isa as BJ}from"./cli-1.0.16-y9yxyd77.mjs";import{mkdir as PJ,readdir as l,readFile as $J,unlink as qJ,writeFile as b}from"fs/promises";import{join as D}from"path";function HQ(J){if(M===J)return;M=J,U()}function UQ(){if(M===void 0)return;M=void 0,U()}function U(){try{GJ.emit()}catch{}}function KJ(J){return D(E(J),cJ)}async function g(J){let Q=KJ(J);try{let V=(await $J(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function RJ(J,Q){let V=KJ(J);await b(V,String(Q))}function OQ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function xQ(J){let Q=E(J),V=await o(J),X;try{X=await S(V,P);let Z=await WJ(J);if(Z>0){let $=await g(J);if(Z>$)await RJ(J,Z)}let Y;try{Y=await l(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=D(Q,$);try{await qJ(q)}catch{}}U()}finally{if(X)await X()}}function CQ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let J=YJ();if(J)return J.teamName;return c()||M||d()}function _J(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(J){return D(s(),"tasks",_J(J))}function A(J,Q){return D(E(J),`${_J(Q)}.json`)}async function bJ(J){let Q=E(J);try{await PJ(Q,{recursive:!0})}catch{}}async function WJ(J){let Q=E(J),V;try{V=await l(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function hJ(J){let[Q,V]=await Promise.all([WJ(J),g(J)]);return Math.max(Q,V)}async function vQ(J,Q){let V=await o(J),X;try{X=await S(V,P);let Z=await hJ(J),Y=String(Z+1),$={id:Y,...Q},q=A(J,Y);return await b(q,v($,null,2)),U(),Y}finally{if(X)await X()}}async function O(J,Q){let V=A(J,Q);try{let X=await $J(V,"utf-8"),Z=y(X),Y=pJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(C(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${W(X)}`),p(X),null}}async function EJ(J,Q,V){let X=await O(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=A(J,Q);return await b(Y,v(Z,null,2)),U(),Z}async function j(J,Q,V){let X=A(J,Q);if(!await O(J,Q))return null;let Y;try{return Y=await S(X,P),await EJ(J,Q,V)}finally{await Y?.()}}async function SQ(J,Q){let V=A(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await g(J);if(X>Y)await RJ(J,X)}try{await qJ(V)}catch(Y){if(C(Y)==="ENOENT")return!1;throw Y}let Z=await h(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await j(J,Y.id,{blocks:$,blockedBy:q})}return U(),!0}catch{return!1}}async function h(J){let Q=E(J),V;try{V=await l(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>O(J,Y)))).filter((Y)=>Y!==null)}async function AQ(J,Q,V){let[X,Z]=await Promise.all([O(J,Q),O(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await j(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await j(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function LJ(J){return D(E(J),".lock")}async function o(J){await bJ(J);let Q=LJ(J);try{await b(Q,"",{flag:"wx"})}catch{}return Q}async function zQ(J,Q,V,X={}){let Z=A(J,Q);if(!await O(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return uJ(J,Q,V);let $;try{$=await S(Z,P);let q=await O(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await h(J),B=new Set(K.filter((z)=>z.status!=="completed").map((z)=>z.id)),N=q.blockedBy.filter((z)=>B.has(z));if(N.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:N};return{success:!0,task:await EJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${W(q)}`),p(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function uJ(J,Q,V){let X=await o(J),Z;try{Z=await S(X,P);let Y=await h(J),$=Y.find((_)=>_.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=$.blockedBy.filter((_)=>q.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let B=Y.filter((_)=>_.status!=="completed"&&_.owner===V&&_.id!==Q);if(B.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:B.map((_)=>_.id)};return{success:!0,task:await j(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${W(Y)}`),p(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function MQ(J,Q,V,X){let Y=(await h(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await j(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((B)=>`#${B.id} "${B.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var GJ,M,BQ,fJ,pJ,cJ=".highwatermark",P;var HJ=T(()=>{VJ();m();jJ();QJ();a();e();XJ();yJ();wJ();MJ();JJ();ZJ();DJ();GJ=r();BQ=GJ.subscribe;fJ=w(()=>R.enum(["pending","in_progress","completed"])),pJ=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fJ(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(J){return J==="tmux"||J==="iterm2"}var UJ=()=>{};import{mkdirSync as IJ,readFileSync as lJ,writeFileSync as gJ}from"fs";import{mkdir as oJ,readFile as AJ,rm as k,writeFile as nJ}from"fs/promises";import{join as f}from"path";function zJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function nQ(J){return J.replace(/@/g,"-")}function u(J){return f(I(),zJ(J))}function F(J){return f(u(J),"config.json")}function H(J){try{let Q=lJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}async function kJ(J){try{let Q=await AJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}function x(J,Q){let V=u(J);IJ(V,{recursive:!0}),gJ(F(J),v(Q,null,2))}async function rJ(J,Q){let V=u(J);await oJ(V,{recursive:!0}),await nJ(F(J),v(Q,null,2))}function kQ(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=H(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return x(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function rQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function dQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function iQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return x(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function mQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),x(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function dJ(J,Q,V){let X=H(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return x(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function sQ(J,Q){if(!SJ())return;let V=Q??c(),X=vJ();if(V&&X)dJ(V,X,J)}function tQ(J,Q){let V=H(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)x(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function aQ(J,Q,V){let X=await kJ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await rJ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function iJ(J){let Q=f(J,".git"),V=null;try{let Z=(await AJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=f(Y,"..","..");V=f($,"..")}}catch{}if(V){let X=await OJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await k(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${W(X)}`)}}function eQ(J){L().add(J)}function JV(J){L().delete(J)}async function QV(){let J=L();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>mJ(V))),await Promise.allSettled(Q.map((V)=>sJ(V))),J.clear()}async function mJ(J){let Q=H(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&n(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-1.0.16-kgejq595.mjs"),import("./detection-1.0.16-gpt4y10p.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!n(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function sJ(J){let Q=zJ(J),V=H(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await iJ($);let Z=u(J);try{await k(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${W($)}`)}let Y=E(Q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),U()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${W($)}`)}}var oQ;var tJ=T(()=>{VJ();m();QJ();a();e();FJ();NJ();XJ();JJ();HJ();ZJ();UJ();TJ();oQ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
2
- export{HQ as eV,UQ as fV,BQ as gV,fJ as hV,OQ as iV,xQ as jV,CQ as kV,_J as lV,E as mV,bJ as nV,vQ as oV,O as pV,j as qV,SQ as rV,h as sV,AQ as tV,zQ as uV,MQ as vV,HJ as wV,n as xV,UJ as yV,oQ as zV,zJ as AV,nQ as BV,u as CV,F as DV,H as EV,kJ as FV,rJ as GV,kQ as HV,rQ as IV,dQ as JV,iQ as KV,mQ as LV,dJ as MV,sQ as NV,tQ as OV,aQ as PV,eQ as QV,JV as RV,QV as SV,sJ as TV,tJ as UV};
@@ -1,3 +0,0 @@
1
- import{M as A}from"./cli-1.0.16-1mzm316y.mjs";import{hga as $,iga as F,oga as z,pga as H,yga as P}from"./cli-1.0.16-t2ky4p5s.mjs";import{$ia as _,Dja as O,Ija as w,Mja as V,Qja as C,_ja as X,aja as N,bja as B,bka as E,dja as W}from"./cli-1.0.16-04tr8fw7.mjs";import{yqa as L,zma as Z}from"./cli-1.0.16-zsvkc5zm.mjs";import{Kra as y,sra as q}from"./cli-1.0.16-fcfaz7s1.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
- `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
- export{e as x};
@@ -1,24 +0,0 @@
1
- import{KX as T,VX as c}from"./cli-1.0.16-g2ya82h9.mjs";import{k2 as w,n2 as n}from"./cli-1.0.16-aa0xse54.mjs";import{v_ as M,w$ as y,x$ as g,x_ as X,y_ as f}from"./cli-1.0.16-t2ky4p5s.mjs";import{Dja as K,Eja as v,Ija as m,_ja as Z,bja as R,bka as h,dja as F}from"./cli-1.0.16-04tr8fw7.mjs";import{Dka as W,Fka as D,yka as Y}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as E,Vka as S}from"./cli-1.0.16-q2g1eds7.mjs";import{Dma as A,Fma as N,yqa as j,zma as k}from"./cli-1.0.16-zsvkc5zm.mjs";import{hsa as H}from"./cli-1.0.16-y9yxyd77.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
2
- $pid = ${String(q)}
3
- $ancestors = @()
4
- for ($i = 0; $i -lt ${J}; $i++) {
5
- $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
6
- if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
7
- $pid = $proc.ParentProcessId
8
- $ancestors += $pid
9
- }
10
- $ancestors -join ','
11
- `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
12
- `).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
13
- $currentPid = ${String(q)}
14
- $commands = @()
15
- for ($i = 0; $i -lt ${J}; $i++) {
16
- $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
17
- if (-not $proc) { break }
18
- if ($proc.CommandLine) { $commands += $proc.CommandLine }
19
- if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
20
- $currentPid = $proc.ParentProcessId
21
- }
22
- $commands -join [char]0
23
- `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
24
- export{O as pX,i as qX,e as rX,qq as sX,_ as tX,Uq as uX,Bq as vX,C as wX,Mq as xX,I as yX,Aq as zX,d as AX,r as BX,t as CX};
@@ -1,2 +0,0 @@
1
- import{Hi as a,Ii as l}from"./cli-1.0.16-jrxss67w.mjs";import{Ji as m,Ki as c}from"./cli-1.0.16-e830ghzs.mjs";import{U3 as e,W3 as n}from"./cli-1.0.16-5axjzbba.mjs";import{hsa as s}from"./cli-1.0.16-y9yxyd77.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
- export{f as Fi,g as Gi};
@@ -1,2 +0,0 @@
1
- import{hsa as j}from"./cli-1.0.16-y9yxyd77.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
2
- export{x as h3,y as i3,z as j3,A as k3,B as l3,C as m3,D as n3,k as o3};
@@ -1,2 +0,0 @@
1
- import{l4 as N,q4 as $}from"./cli-1.0.16-16qr698n.mjs";import{E8 as Z,e8 as M,m5 as L,p5 as Y}from"./cli-1.0.16-s5y2vt2x.mjs";import{qga as Q,yga as X}from"./cli-1.0.16-t2ky4p5s.mjs";import{Via as J,Wia as V}from"./cli-1.0.16-natadjxz.mjs";import{Fka as S,xka as P}from"./cli-1.0.16-7hc7p9x4.mjs";import{Kra as W,sra as K}from"./cli-1.0.16-fcfaz7s1.mjs";import{hsa as R}from"./cli-1.0.16-y9yxyd77.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 QW,j as RW,b as SW};
@@ -1,2 +0,0 @@
1
- import{hsa as M}from"./cli-1.0.16-y9yxyd77.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
- export{V as zi,W as Ai,X as Bi,Z as Ci,Y as Di};
@@ -1,3 +0,0 @@
1
- import{KW as W,PW as p}from"./cli-1.0.16-hvfp394x.mjs";import{g2 as H,i2 as P}from"./cli-1.0.16-94c7kpx1.mjs";import{Kha as Z,xha as M}from"./cli-1.0.16-hpznp2f1.mjs";import{bia as q,dia as $,eia as Q,fia as k}from"./cli-1.0.16-rfmqmp7n.mjs";import{hsa as Y}from"./cli-1.0.16-y9yxyd77.mjs";async function X(){let x=await M("tengu_bridge_repl_v2_config",K),J=w().safeParse(x);return J.success?J.data:K}async function V(){let x=await X();if(x.min_version&&H("99.0.0",x.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
- Version ${x.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function b(){if(!W())return!1;return(await X()).should_show_app_upgrade_message}var K,w;var O=Y(()=>{$();Z();k();P();p();K={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},w=Q(()=>q.object({init_retry_max_attempts:q.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:q.number().int().min(100).default(500),init_retry_jitter_fraction:q.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:q.number().int().min(500).default(4000),http_timeout_ms:q.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:q.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:q.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:q.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:q.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:q.number().int().min(500).max(2000).default(1500),connect_timeout_ms:q.number().int().min(5000).max(60000).default(15000),min_version:q.string().refine((x)=>{try{return H(x,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:q.boolean().default(!1)}))});
3
- export{K as mc,X as nc,V as oc,b as pc,O as qc};
@@ -1,4 +0,0 @@
1
- import{eha as X,iha as w,jha as L,kha as _}from"./cli-1.0.16-kh0cfhgd.mjs";import{Xia as MD,_ia as cD}from"./cli-1.0.16-6d9kerj1.mjs";import{Gja as jD,Ija as rD,Mja as ND,Qja as aD,_ja as x,bka as dD}from"./cli-1.0.16-04tr8fw7.mjs";import{Ika as zD,Lka as HD,Vka as mD}from"./cli-1.0.16-q2g1eds7.mjs";import{yqa as PD,zma as UD}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as LD,fsa as bD,hsa as V,isa as hD}from"./cli-1.0.16-y9yxyd77.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,N;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],N=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var K=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return K(p,D)},s=(D)=>{if(D<l||D>g)return!1;return K(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return K(N,D)};var i=V(()=>{m();r();[_D,yD]=kD(N)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes("›"))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return U(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function U(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
2
- `);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return U(E,F);return`${E}…`}}if($(E)<=F)return E;return U(E,F)}var $D=V(()=>{QD();_()});function M(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function wu(D){return`${(D/1000).toFixed(1)}s`}function Lu(D,F){if(D<60000){if(D===0)return"0s";if(D<1000)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Iu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:j}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${j} ago`:`in ${J}${j}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function xu(D){let F=D.fileSize!==void 0?M(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(j,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function Su(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function H(){if(!I)I=hD("perf_hooks").performance;return I}function z(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${M(C.rss)}, Heap: ${M(C.heapUsed)}`:"";return`[+${z(D).padStart(E)}ms] (+${z(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(H().mark(D),Z)OD.push(process.memoryUsage())}function ZD(){if(!Z)return"Startup profiling not enabled";let F=H().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${z(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
3
- `)}function tD(){if(KD)return;if(KD=!0,uu(),Z){let D=Du(),F=sD(D);ND().mkdirSync(F),jD(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function du(){return Z}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=H().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("tengu_startup_perf",C)}var Z,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();Z=HD(process.env.CLAUDE_CODE_PROFILE_STARTUP),vD=Math.random()<iD,GD=Z||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
4
- export{v as zga,o as Aga,O as Bga,t as Cga,$ as Dga,QD as Ega,TD as Fga,U as Gga,y as Hga,VD as Iga,WD as Jga,$D as Kga,M as Lga,wu as Mga,Lu as Nga,pD as Oga,Iu as Pga,qD as Qga,lD as Rga,xu as Sga,gD as Tga,Su as Uga,XD as Vga,H as Wga,z as Xga,YD as Yga,JD as Zga,eD as _ga,tD as $ga,du as aha,Du as bha,uu as cha,Fu as dha};
@@ -1,2 +0,0 @@
1
- import{Ah as e,Dh as fq}from"./cli-1.0.16-0rqyx4re.mjs";import{Eh as t,Gh as Hq}from"./cli-1.0.16-4vns6894.mjs";import{$n as i,IO as o,JO as s,KO as Oq,Tn as S,Un as Nq,Vn as g,Wn as Vq,Xn as $,YF as r,Yn as Wq,ZF as kq,ao as Yq,gG as n,hG as Mq}from"./cli-1.0.16-pz654728.mjs";import{iY as u,kY as Zq}from"./cli-1.0.16-b475h1qv.mjs";import{$0 as Uq,G0 as M,I0 as F,_0 as c,kZ as Qq,l1 as Xq}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as L,V3 as R,W3 as l}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as Lq}from"./cli-1.0.16-gydkk4pv.mjs";import{f_ as d,g_ as Jq}from"./cli-1.0.16-t2ky4p5s.mjs";import{dsa as a,hsa as Gq}from"./cli-1.0.16-y9yxyd77.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
- export{lq as yh,Fq as zh};
@@ -1,2 +0,0 @@
1
- import{hsa as C}from"./cli-1.0.16-y9yxyd77.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
2
- export{L as Ri,M as Si,N as Ti,H as Ui};
@@ -1,2 +0,0 @@
1
- import{hsa as g}from"./cli-1.0.16-y9yxyd77.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
- export{Bq as VV,d as WV,$J as XV,DJ as YV,GJ as ZV};
@@ -1,4 +0,0 @@
1
- import{No as IJ,Po as cJ,SR as UJ,UK as DJ,VK as BJ,WK as lJ,Zi as pJ,pS as jJ,qS as $V}from"./cli-1.0.16-pz654728.mjs";import{D$ as NJ,H$ as gJ,Hda as uJ,T_ as WJ,Tea as hJ,Y_ as l,qga as G,u$ as mJ,x_ as c,xda as m,y_ as fJ,yea as YJ,yga as dJ}from"./cli-1.0.16-t2ky4p5s.mjs";import{iia as U,jia as PJ}from"./cli-1.0.16-pj0vcmv0.mjs";import{Xia as f,_ia as SJ}from"./cli-1.0.16-6d9kerj1.mjs";import{Mja as VJ,Qja as bJ,_ja as Q,bka as kJ}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as yJ,yka as JJ}from"./cli-1.0.16-7hc7p9x4.mjs";import{vma as qJ,wma as zJ}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as wJ,hsa as _J}from"./cli-1.0.16-y9yxyd77.mjs";class p{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&$)!==$)continue;let B=Z?I[M]:q[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf(X[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new p;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=KJ.default(),_=!1,H=X.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await c(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
2
- `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=c(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
- `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let $=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();cJ();uJ();zJ();KJ=wJ(pJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
- export{p as di,MJ as ei,jV as fi,vV as gi,RV as hi,GV as ii,AJ as ji,CV as ki,LV as li,ZV as mi};
@@ -1,2 +0,0 @@
1
- import{Gs as I,Js as X}from"./cli-1.0.16-pz654728.mjs";import{Lka as H,Vka as W}from"./cli-1.0.16-q2g1eds7.mjs";import{hsa as V}from"./cli-1.0.16-y9yxyd77.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
2
- export{q as Uc,F as Vc,K as Wc,Q as Xc,R as Yc,_ as Zc,j as _c,Y as $c};
@@ -1,2 +0,0 @@
1
- import{$n as y,ao as p,gG as O,iG as j}from"./cli-1.0.16-pz654728.mjs";import{G0 as F,I0 as I,M0 as R,kZ as S,l1 as v}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as Z,V3 as N,W3 as U}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as d}from"./cli-1.0.16-gydkk4pv.mjs";import{Hda as E,uda as M}from"./cli-1.0.16-t2ky4p5s.mjs";import{Xia as H,_ia as b}from"./cli-1.0.16-6d9kerj1.mjs";import{dsa as k}from"./cli-1.0.16-y9yxyd77.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
- export{x as ab,l as bb};
@@ -1,2 +0,0 @@
1
- import{PR as R,_J as Y,pm as W,sm as P,uk as Q,vk as I}from"./cli-1.0.16-pz654728.mjs";import{Bga as B,Cga as f}from"./cli-1.0.16-x002k14w.mjs";import{Mia as F,qia as H,ria as J}from"./cli-1.0.16-pj0vcmv0.mjs";import{yqa as $,zma as v}from"./cli-1.0.16-zsvkc5zm.mjs";import{hsa as Z}from"./cli-1.0.16-y9yxyd77.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
2
- export{S as bf,V as cf,X as df,r as ef,w as ff,T as gf,G as hf};
@@ -1,2 +0,0 @@
1
- import{$3 as K,b4 as Z}from"./cli-1.0.16-datw1k5m.mjs";import{c4 as J,e4 as Y}from"./cli-1.0.16-dsw73925.mjs";import{E8 as X,e8 as D,j8 as F,k5 as B,k8 as G,p5 as W}from"./cli-1.0.16-s5y2vt2x.mjs";import{Via as y,Wia as Q}from"./cli-1.0.16-natadjxz.mjs";import{Kra as V,sra as z}from"./cli-1.0.16-fcfaz7s1.mjs";import{hsa as N}from"./cli-1.0.16-y9yxyd77.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
2
- export{P as Pi,_ as Qi};
@@ -1,2 +0,0 @@
1
- import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
- export{z as dsa,A as esa,B as fsa,C as gsa,D as hsa,F as isa,G as jsa,H as ksa};
@@ -1,2 +0,0 @@
1
- import{e$ as Q,u$ as _}from"./cli-1.0.16-t2ky4p5s.mjs";import{iia as I,jia as X}from"./cli-1.0.16-pj0vcmv0.mjs";import{_ja as B,bka as V}from"./cli-1.0.16-04tr8fw7.mjs";import{hsa as T}from"./cli-1.0.16-y9yxyd77.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
2
- export{j as S9,P as T9,Y as U9,S as V9,O as W9,D as X9,Z as Y9};
@@ -1,2 +0,0 @@
1
- import{Ao as E,Bo as m,Bp as l,Co as Xq,Dp as Rq,Ep as i,Fp as Aq,Xo as S,ap as Zq}from"./cli-1.0.16-pz654728.mjs";import{dca as u,fca as g,ica as h,jca as n,oca as vq,qga as D,yga as Qq}from"./cli-1.0.16-t2ky4p5s.mjs";import{bia as d,dia as Uq}from"./cli-1.0.16-rfmqmp7n.mjs";import{Dja as P,Eja as v,Ija as f,Mja as M,Qja as y,_ja as V,bka as e}from"./cli-1.0.16-04tr8fw7.mjs";import{Aka as C,Fka as _,yka as W,zka as O}from"./cli-1.0.16-7hc7p9x4.mjs";import{Kra as qq,sra as p}from"./cli-1.0.16-fcfaz7s1.mjs";import{hsa as N}from"./cli-1.0.16-y9yxyd77.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
- export{Fq as qd,r as rd,nq as sd,lq as td,Oq as ud,QQ as vd,XQ as wd,Dq as xd};
@@ -1,8 +0,0 @@
1
- import{gb as b}from"./cli-1.0.16-bsg2fea8.mjs";import{of as zK,tf as dK}from"./cli-1.0.16-7n29wghc.mjs";import{$A as sz,$I as hK,LK as wz,Sm as rz,TK as MK,Um as bK,VT as j,Vo as M,Wo as vK,XT as uK,Yo as iz,ZA as oz,Zu as Cz,aB as fK,aJ as mK,ap as SK,cM as tz,dM as pK,ev as xK,kQ as Ez,sM as ez,tQ as FK,uM as cK}from"./cli-1.0.16-pz654728.mjs";import{$Y as GK,UY as Kz,ZY as AK,_Y as Qz}from"./cli-1.0.16-2thxt6pw.mjs";import{C6 as Uz,D6 as lz,E8 as xz,J6 as Dz,M4 as U,O6 as I,Q6 as _z,S4 as O,V6 as k,g7 as nz,k7 as jK,q8 as Tz,s8 as Mz,u8 as R}from"./cli-1.0.16-s5y2vt2x.mjs";import{$8 as _K,_8 as G}from"./cli-1.0.16-g3xbjpm0.mjs";import{$aa as zz,Bda as Jz,Eea as Wz,Faa as t,Fea as Bz,Gea as az,Hda as _,Kaa as LK,Q_ as $z,Qaa as e,S_ as TK,Tea as L,Uaa as UK,Z_ as cz,bba as DK,j_ as Zz,k_ as RK,n$ as dz,pea as gz,qga as V,r_ as T,sda as q,t_ as CK,u$ as EK,uda as H,vea as $,wda as uz,xda as S,yda as kz,yea as W,yga as A}from"./cli-1.0.16-t2ky4p5s.mjs";import{_ga as E,dha as kK}from"./cli-1.0.16-x002k14w.mjs";import{iia as pz,jia as PK}from"./cli-1.0.16-pj0vcmv0.mjs";import{Xia as Z,_ia as N}from"./cli-1.0.16-6d9kerj1.mjs";import{Gja as r,Ija as WK,Jja as i,Mja as o,Qja as BK}from"./cli-1.0.16-04tr8fw7.mjs";import{gka as s,hka as NK}from"./cli-1.0.16-re32rapy.mjs";import{Aka as n,Fka as VK,yka as y}from"./cli-1.0.16-7hc7p9x4.mjs";import{Kka as C,Lka as v,Nka as hz,Tka as mz,Vka as yK}from"./cli-1.0.16-q2g1eds7.mjs";import{Aoa as fz,Hoa as a,Mna as Iz,Nna as bz,Ona as Oz,Qna as vz,_oa as l,ooa as Sz,qma as F,uma as JK,yqa as w}from"./cli-1.0.16-zsvkc5zm.mjs";import{esa as wK}from"./cli-1.0.16-y9yxyd77.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
2
- `)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
3
- `)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
4
- `)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
5
- `)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
6
- `);return[K,Q].filter(Boolean).join(`
7
- `)}return K}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
8
- export{ZQ as N,$Q as O,qQ as P,HQ as Q,nX as R,rX as S,iX as T,oX as U,sX as V,tX as W,eX as X,zY as Y,KY as Z,QY as _};
@@ -1,4 +0,0 @@
1
- import{csa as Z}from"./cli-1.0.16-mg53mrd2.mjs";import{fsa as Y,isa as O}from"./cli-1.0.16-y9yxyd77.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
- export{ye as Xra};
@@ -1,2 +0,0 @@
1
- import{qx as U,rx as V,ux as f,wu as R,xu as T,yu as $}from"./cli-1.0.16-pz654728.mjs";import{r6 as Q,s6 as _}from"./cli-1.0.16-s5y2vt2x.mjs";import{Naa as L,Uaa as Y,qga as G,yga as Z}from"./cli-1.0.16-t2ky4p5s.mjs";import{hsa as X}from"./cli-1.0.16-y9yxyd77.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 ad,S as bd,I as cd,N as dd,P as ed,h as fd};
@@ -1,4 +0,0 @@
1
- import{Fn as R,Gn as BJ,Ps as D,Qs as hJ,pp as G,sp as a,yE as k,zE as HJ}from"./cli-1.0.16-pz654728.mjs";import{E8 as bJ,e8 as ZJ,p8 as $J}from"./cli-1.0.16-s5y2vt2x.mjs";import{Hda as jJ,K$ as C,L$ as GJ,M$ as h,N$ as FJ,O$ as u,P$ as kJ,sda as WJ}from"./cli-1.0.16-t2ky4p5s.mjs";import{Kha as gJ,yha as x}from"./cli-1.0.16-hpznp2f1.mjs";import{bia as q,dia as s,eia as Y,fia as r}from"./cli-1.0.16-rfmqmp7n.mjs";import{Hia as M,Mia as yJ}from"./cli-1.0.16-pj0vcmv0.mjs";import{Aja as l,Bja as TJ,kja as o,lja as CJ,uja as n,vja as EJ}from"./cli-1.0.16-04tr8fw7.mjs";import{Yla as c,Zla as OJ,ama as H,bma as F,cma as I,cqa as QJ,dma as YJ,ela as g,ema as P,fla as zJ,fma as XJ,gla as A,hla as wJ,sla as f,tla as PJ,yqa as mJ}from"./cli-1.0.16-zsvkc5zm.mjs";import{Hqa as K,Iqa as DJ}from"./cli-1.0.16-0f0rbfq7.mjs";import{hsa as B}from"./cli-1.0.16-y9yxyd77.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
2
- ${Q}
3
- </${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
4
- export{NQ as Yf,_J as Zf,JJ as _f,bQ as $f,uQ as ag,cJ as bg,iQ as cg,oJ as dg};