@claudiolabs/claudin 1.0.17 → 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 (912) 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/package.json +9 -9
  455. package/dist/chunks/AgentTool-1.0.17-5sh00rvp.mjs +0 -1
  456. package/dist/chunks/App-1.0.17-21x955nf.mjs +0 -1
  457. package/dist/chunks/ApproveApiKey-1.0.17-v9qwnks3.mjs +0 -1
  458. package/dist/chunks/AssistantSessionChooser-1.0.17-7fhpba7s.mjs +0 -1
  459. package/dist/chunks/AutoModeOptInDialog-1.0.17-1f2htb8d.mjs +0 -1
  460. package/dist/chunks/BypassPermissionsModeDialog-1.0.17-f0sxwzjz.mjs +0 -1
  461. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.17-3vym5r13.mjs +0 -1
  462. package/dist/chunks/ConsoleOAuthFlow-1.0.17-zm43ebg6.mjs +0 -1
  463. package/dist/chunks/DiffDialog-1.0.17-4tms55j9.mjs +0 -7
  464. package/dist/chunks/Doctor-1.0.17-t06djmxa.mjs +0 -1
  465. package/dist/chunks/ExplorerDialog-1.0.17-70s33s8m.mjs +0 -6
  466. package/dist/chunks/Grove-1.0.17-yjm80k3b.mjs +0 -1
  467. package/dist/chunks/ITermBackend-1.0.17-9m0b17d2.mjs +0 -1
  468. package/dist/chunks/InvalidConfigDialog-1.0.17-emahg4dz.mjs +0 -1
  469. package/dist/chunks/InvalidSettingsDialog-1.0.17-c6e0v6c3.mjs +0 -1
  470. package/dist/chunks/MigrationDialog-1.0.17-c7bybvmz.mjs +0 -1
  471. package/dist/chunks/Onboarding-1.0.17-b8ejyr1p.mjs +0 -1
  472. package/dist/chunks/ProviderManager-1.0.17-p0r1dne9.mjs +0 -1
  473. package/dist/chunks/REPL-1.0.17-wgem7h01.mjs +0 -1
  474. package/dist/chunks/ResumeConversation-1.0.17-bjzzhjqs.mjs +0 -1
  475. package/dist/chunks/SnapshotUpdateDialog-1.0.17-k7x0a14y.mjs +0 -1
  476. package/dist/chunks/TeleportProgress-1.0.17-an8ph2xk.mjs +0 -1
  477. package/dist/chunks/TeleportRepoMismatchDialog-1.0.17-tsxxhwhb.mjs +0 -1
  478. package/dist/chunks/TeleportResumeWrapper-1.0.17-ktxtd7sf.mjs +0 -1
  479. package/dist/chunks/TmuxBackend-1.0.17-ffkbx4sp.mjs +0 -9
  480. package/dist/chunks/ToolSearchTool-1.0.17-x1hvw496.mjs +0 -1
  481. package/dist/chunks/TrustDialog-1.0.17-3k9jkx42.mjs +0 -1
  482. package/dist/chunks/activeProvider-1.0.17-3ndd66y9.mjs +0 -1
  483. package/dist/chunks/add-dir-1.0.17-c4r7f3at.mjs +0 -1
  484. package/dist/chunks/agentTypes-1.0.17-neqgdzv4.mjs +0 -1
  485. package/dist/chunks/agents-1.0.17-s7nhde9z.mjs +0 -110
  486. package/dist/chunks/agents-1.0.17-sfz2xbbe.mjs +0 -3
  487. package/dist/chunks/api-1.0.17-wawrdq5e.mjs +0 -1
  488. package/dist/chunks/asciicast-1.0.17-x1k7s3xe.mjs +0 -1
  489. package/dist/chunks/assistant-1.0.17-j9qj4tcs.mjs +0 -1
  490. package/dist/chunks/auth-1.0.17-31h7x8d1.mjs +0 -1
  491. package/dist/chunks/auth-1.0.17-mm386118.mjs +0 -1
  492. package/dist/chunks/autoMode-1.0.17-tqqmwaya.mjs +0 -48
  493. package/dist/chunks/autoUpdater-1.0.17-wyfmhbnx.mjs +0 -1
  494. package/dist/chunks/backgroundHousekeeping-1.0.17-10bcwm4v.mjs +0 -1
  495. package/dist/chunks/branch-1.0.17-k80de7gn.mjs +0 -4
  496. package/dist/chunks/bridge-1.0.17-tcs32wqn.mjs +0 -2
  497. package/dist/chunks/bridgeConfig-1.0.17-fw6mj0cy.mjs +0 -1
  498. package/dist/chunks/bridgeEnabled-1.0.17-3j84y5ft.mjs +0 -1
  499. package/dist/chunks/bridgeMain-1.0.17-2fm7fkaf.mjs +0 -88
  500. package/dist/chunks/bridgePointer-1.0.17-16f5ek10.mjs +0 -1
  501. package/dist/chunks/btw-1.0.17-jx41dad0.mjs +0 -1
  502. package/dist/chunks/buddy-1.0.17-845ax733.mjs +0 -3
  503. package/dist/chunks/cacache-1.0.17-b2nj6hfy.mjs +0 -1
  504. package/dist/chunks/cache-probe-1.0.17-zwhwxqas.mjs +0 -21
  505. package/dist/chunks/cacheStats-1.0.17-ryzxdsqt.mjs +0 -4
  506. package/dist/chunks/caches-1.0.17-11t05bjz.mjs +0 -1
  507. package/dist/chunks/claudeDesktop-1.0.17-53efpe93.mjs +0 -1
  508. package/dist/chunks/claudemd-1.0.17-zse4k4wj.mjs +0 -1
  509. package/dist/chunks/clear-1.0.17-jk7fy20t.mjs +0 -1
  510. package/dist/chunks/clearTerminal-1.0.17-3veatmfp.mjs +0 -1
  511. package/dist/chunks/cli-1.0.17-04mwr39a.mjs +0 -2
  512. package/dist/chunks/cli-1.0.17-05v12vep.mjs +0 -2
  513. package/dist/chunks/cli-1.0.17-082vgztb.mjs +0 -6
  514. package/dist/chunks/cli-1.0.17-0g7kgsx0.mjs +0 -2
  515. package/dist/chunks/cli-1.0.17-0gwvjedx.mjs +0 -2
  516. package/dist/chunks/cli-1.0.17-0h68yp5q.mjs +0 -2
  517. package/dist/chunks/cli-1.0.17-0h8rgkqn.mjs +0 -18
  518. package/dist/chunks/cli-1.0.17-0r3rrjqs.mjs +0 -2
  519. package/dist/chunks/cli-1.0.17-10rqsvs2.mjs +0 -2
  520. package/dist/chunks/cli-1.0.17-142ww3xz.mjs +0 -67
  521. package/dist/chunks/cli-1.0.17-182fckgj.mjs +0 -2
  522. package/dist/chunks/cli-1.0.17-1ay7n4n5.mjs +0 -2
  523. package/dist/chunks/cli-1.0.17-1d9ccn16.mjs +0 -2
  524. package/dist/chunks/cli-1.0.17-1gh241a0.mjs +0 -50
  525. package/dist/chunks/cli-1.0.17-1nnc1g3f.mjs +0 -2
  526. package/dist/chunks/cli-1.0.17-1ptwye5c.mjs +0 -25
  527. package/dist/chunks/cli-1.0.17-1w8t10bs.mjs +0 -59
  528. package/dist/chunks/cli-1.0.17-1ycfrbcz.mjs +0 -133
  529. package/dist/chunks/cli-1.0.17-1yj54t22.mjs +0 -2
  530. package/dist/chunks/cli-1.0.17-23znd3er.mjs +0 -2
  531. package/dist/chunks/cli-1.0.17-28rys8n5.mjs +0 -2
  532. package/dist/chunks/cli-1.0.17-2c5rzypz.mjs +0 -2
  533. package/dist/chunks/cli-1.0.17-2f86ehqm.mjs +0 -2
  534. package/dist/chunks/cli-1.0.17-2jt2w5sh.mjs +0 -42
  535. package/dist/chunks/cli-1.0.17-2mdpd30s.mjs +0 -3
  536. package/dist/chunks/cli-1.0.17-2yxp2sz6.mjs +0 -2
  537. package/dist/chunks/cli-1.0.17-3939hx4x.mjs +0 -2
  538. package/dist/chunks/cli-1.0.17-3ba3vg5e.mjs +0 -6
  539. package/dist/chunks/cli-1.0.17-3dm1st8c.mjs +0 -4
  540. package/dist/chunks/cli-1.0.17-46tr5weq.mjs +0 -2
  541. package/dist/chunks/cli-1.0.17-472de7yw.mjs +0 -2
  542. package/dist/chunks/cli-1.0.17-4dka7p1w.mjs +0 -3
  543. package/dist/chunks/cli-1.0.17-4e7wpg9g.mjs +0 -2
  544. package/dist/chunks/cli-1.0.17-4ppbs89h.mjs +0 -2
  545. package/dist/chunks/cli-1.0.17-4prxa3t4.mjs +0 -2
  546. package/dist/chunks/cli-1.0.17-4qh79bzg.mjs +0 -2
  547. package/dist/chunks/cli-1.0.17-5g9z2hnd.mjs +0 -2
  548. package/dist/chunks/cli-1.0.17-5j5603y3.mjs +0 -2
  549. package/dist/chunks/cli-1.0.17-5jrh9pw3.mjs +0 -6
  550. package/dist/chunks/cli-1.0.17-5my2a6t5.mjs +0 -2
  551. package/dist/chunks/cli-1.0.17-5wvqpfzb.mjs +0 -4
  552. package/dist/chunks/cli-1.0.17-6amam79j.mjs +0 -4
  553. package/dist/chunks/cli-1.0.17-6gqj4d8v.mjs +0 -2
  554. package/dist/chunks/cli-1.0.17-6hxscz8d.mjs +0 -2
  555. package/dist/chunks/cli-1.0.17-6ty7z7jt.mjs +0 -2
  556. package/dist/chunks/cli-1.0.17-70a54p8v.mjs +0 -2
  557. package/dist/chunks/cli-1.0.17-7ngvd609.mjs +0 -2
  558. package/dist/chunks/cli-1.0.17-7p5c1h67.mjs +0 -2
  559. package/dist/chunks/cli-1.0.17-89k0njkm.mjs +0 -2
  560. package/dist/chunks/cli-1.0.17-89p1ntv1.mjs +0 -4
  561. package/dist/chunks/cli-1.0.17-8c9eadan.mjs +0 -2
  562. package/dist/chunks/cli-1.0.17-8f71d8ge.mjs +0 -2
  563. package/dist/chunks/cli-1.0.17-8gd4gtyj.mjs +0 -39
  564. package/dist/chunks/cli-1.0.17-8h47dvj2.mjs +0 -12
  565. package/dist/chunks/cli-1.0.17-8jrync3y.mjs +0 -2
  566. package/dist/chunks/cli-1.0.17-8r1zjpkg.mjs +0 -2
  567. package/dist/chunks/cli-1.0.17-8tbkxnj4.mjs +0 -2
  568. package/dist/chunks/cli-1.0.17-8vch8btt.mjs +0 -2
  569. package/dist/chunks/cli-1.0.17-926g8p8g.mjs +0 -2
  570. package/dist/chunks/cli-1.0.17-95kcmvj1.mjs +0 -2
  571. package/dist/chunks/cli-1.0.17-9868wetk.mjs +0 -2
  572. package/dist/chunks/cli-1.0.17-9kwckjes.mjs +0 -15
  573. package/dist/chunks/cli-1.0.17-9xr21bd5.mjs +0 -45
  574. package/dist/chunks/cli-1.0.17-a0qpbbgx.mjs +0 -2
  575. package/dist/chunks/cli-1.0.17-a49frejp.mjs +0 -2
  576. package/dist/chunks/cli-1.0.17-a6mc44b2.mjs +0 -4
  577. package/dist/chunks/cli-1.0.17-a77fqcz9.mjs +0 -2
  578. package/dist/chunks/cli-1.0.17-a8nd0nw1.mjs +0 -15
  579. package/dist/chunks/cli-1.0.17-a9k3xfma.mjs +0 -25
  580. package/dist/chunks/cli-1.0.17-ah6z554b.mjs +0 -2
  581. package/dist/chunks/cli-1.0.17-amskbazt.mjs +0 -2
  582. package/dist/chunks/cli-1.0.17-at0j3482.mjs +0 -2
  583. package/dist/chunks/cli-1.0.17-awxt5jcy.mjs +0 -2
  584. package/dist/chunks/cli-1.0.17-b7zgt5wj.mjs +0 -2
  585. package/dist/chunks/cli-1.0.17-b91m27j2.mjs +0 -2
  586. package/dist/chunks/cli-1.0.17-bbq31y7a.mjs +0 -9
  587. package/dist/chunks/cli-1.0.17-bheyzxzm.mjs +0 -2
  588. package/dist/chunks/cli-1.0.17-bmw1t0t6.mjs +0 -58
  589. package/dist/chunks/cli-1.0.17-bner2z30.mjs +0 -16
  590. package/dist/chunks/cli-1.0.17-bnex4nm7.mjs +0 -6
  591. package/dist/chunks/cli-1.0.17-btwwqyqt.mjs +0 -2
  592. package/dist/chunks/cli-1.0.17-bwt7gr42.mjs +0 -5
  593. package/dist/chunks/cli-1.0.17-bxwv0g41.mjs +0 -7
  594. package/dist/chunks/cli-1.0.17-bzn05jd6.mjs +0 -2
  595. package/dist/chunks/cli-1.0.17-c4mj41az.mjs +0 -2
  596. package/dist/chunks/cli-1.0.17-ca7kkyhc.mjs +0 -2
  597. package/dist/chunks/cli-1.0.17-cavdar8z.mjs +0 -2
  598. package/dist/chunks/cli-1.0.17-cd9q5wvd.mjs +0 -2
  599. package/dist/chunks/cli-1.0.17-ctfz7aky.mjs +0 -2
  600. package/dist/chunks/cli-1.0.17-cxy5w8mx.mjs +0 -2
  601. package/dist/chunks/cli-1.0.17-dc668fev.mjs +0 -2
  602. package/dist/chunks/cli-1.0.17-dfb76sxr.mjs +0 -2
  603. package/dist/chunks/cli-1.0.17-dgjmb848.mjs +0 -3
  604. package/dist/chunks/cli-1.0.17-dpms71sy.mjs +0 -4
  605. package/dist/chunks/cli-1.0.17-dss95ag9.mjs +0 -6
  606. package/dist/chunks/cli-1.0.17-dyrqnbfs.mjs +0 -2
  607. package/dist/chunks/cli-1.0.17-e4mt36cj.mjs +0 -2
  608. package/dist/chunks/cli-1.0.17-ea8m8v7k.mjs +0 -133
  609. package/dist/chunks/cli-1.0.17-ecr8sjr9.mjs +0 -2
  610. package/dist/chunks/cli-1.0.17-ee1sf1f4.mjs +0 -2
  611. package/dist/chunks/cli-1.0.17-emxxxrjh.mjs +0 -2
  612. package/dist/chunks/cli-1.0.17-erbfjxqt.mjs +0 -2
  613. package/dist/chunks/cli-1.0.17-es1tv25a.mjs +0 -2
  614. package/dist/chunks/cli-1.0.17-esydm78q.mjs +0 -2
  615. package/dist/chunks/cli-1.0.17-f5mwgpmm.mjs +0 -2
  616. package/dist/chunks/cli-1.0.17-fgbyxz18.mjs +0 -3
  617. package/dist/chunks/cli-1.0.17-fjz6hvrb.mjs +0 -9
  618. package/dist/chunks/cli-1.0.17-fkqttg24.mjs +0 -24
  619. package/dist/chunks/cli-1.0.17-fm4473vw.mjs +0 -2
  620. package/dist/chunks/cli-1.0.17-gch1jsbe.mjs +0 -2
  621. package/dist/chunks/cli-1.0.17-ge11eg68.mjs +0 -3
  622. package/dist/chunks/cli-1.0.17-gwqztngk.mjs +0 -2
  623. package/dist/chunks/cli-1.0.17-gy47n7qj.mjs +0 -2
  624. package/dist/chunks/cli-1.0.17-h101c40b.mjs +0 -2
  625. package/dist/chunks/cli-1.0.17-h3jp181w.mjs +0 -20
  626. package/dist/chunks/cli-1.0.17-h4w6a4d1.mjs +0 -3
  627. package/dist/chunks/cli-1.0.17-h6b518v1.mjs +0 -2
  628. package/dist/chunks/cli-1.0.17-hb445h5r.mjs +0 -2
  629. package/dist/chunks/cli-1.0.17-hbqxdxv2.mjs +0 -2
  630. package/dist/chunks/cli-1.0.17-hc0snvws.mjs +0 -2
  631. package/dist/chunks/cli-1.0.17-hh90k4js.mjs +0 -2
  632. package/dist/chunks/cli-1.0.17-hswqk374.mjs +0 -12
  633. package/dist/chunks/cli-1.0.17-hxyavaae.mjs +0 -2
  634. package/dist/chunks/cli-1.0.17-hzag9kre.mjs +0 -2
  635. package/dist/chunks/cli-1.0.17-j526q1y7.mjs +0 -2
  636. package/dist/chunks/cli-1.0.17-j5qmnveg.mjs +0 -2
  637. package/dist/chunks/cli-1.0.17-jfarzka9.mjs +0 -18
  638. package/dist/chunks/cli-1.0.17-jfrx870z.mjs +0 -3
  639. package/dist/chunks/cli-1.0.17-jktkjeyp.mjs +0 -2
  640. package/dist/chunks/cli-1.0.17-jze67k48.mjs +0 -2
  641. package/dist/chunks/cli-1.0.17-k165z3yw.mjs +0 -4
  642. package/dist/chunks/cli-1.0.17-k27bgcpe.mjs +0 -2
  643. package/dist/chunks/cli-1.0.17-k3xz0fme.mjs +0 -21
  644. package/dist/chunks/cli-1.0.17-ka8tc4xj.mjs +0 -4
  645. package/dist/chunks/cli-1.0.17-kn7c19b9.mjs +0 -2
  646. package/dist/chunks/cli-1.0.17-ksmypgky.mjs +0 -202
  647. package/dist/chunks/cli-1.0.17-kxfqzcbd.mjs +0 -2
  648. package/dist/chunks/cli-1.0.17-m2mr0t1a.mjs +0 -2
  649. package/dist/chunks/cli-1.0.17-m52g3sxg.mjs +0 -17
  650. package/dist/chunks/cli-1.0.17-m59cbaf4.mjs +0 -5
  651. package/dist/chunks/cli-1.0.17-m983tex6.mjs +0 -2
  652. package/dist/chunks/cli-1.0.17-mf9k8ee9.mjs +0 -2
  653. package/dist/chunks/cli-1.0.17-mhmktnkz.mjs +0 -2
  654. package/dist/chunks/cli-1.0.17-mk4ctspx.mjs +0 -2
  655. package/dist/chunks/cli-1.0.17-mnsjbqs4.mjs +0 -2
  656. package/dist/chunks/cli-1.0.17-mzzfvdfd.mjs +0 -2
  657. package/dist/chunks/cli-1.0.17-n6v9ztev.mjs +0 -2
  658. package/dist/chunks/cli-1.0.17-nf9nfc0r.mjs +0 -2
  659. package/dist/chunks/cli-1.0.17-nkg0ctrj.mjs +0 -2
  660. package/dist/chunks/cli-1.0.17-park9sag.mjs +0 -3
  661. package/dist/chunks/cli-1.0.17-pfwa4tne.mjs +0 -2
  662. package/dist/chunks/cli-1.0.17-pkj16tyk.mjs +0 -2
  663. package/dist/chunks/cli-1.0.17-pzebvptb.mjs +0 -2
  664. package/dist/chunks/cli-1.0.17-qadydg9v.mjs +0 -15
  665. package/dist/chunks/cli-1.0.17-qde4391n.mjs +0 -2
  666. package/dist/chunks/cli-1.0.17-qnyqadyd.mjs +0 -3
  667. package/dist/chunks/cli-1.0.17-qx980gch.mjs +0 -5637
  668. package/dist/chunks/cli-1.0.17-r5sxt70v.mjs +0 -4
  669. package/dist/chunks/cli-1.0.17-rev3s74x.mjs +0 -4
  670. package/dist/chunks/cli-1.0.17-rhsj77ax.mjs +0 -12
  671. package/dist/chunks/cli-1.0.17-rp4pr56x.mjs +0 -2
  672. package/dist/chunks/cli-1.0.17-rpm2778d.mjs +0 -2
  673. package/dist/chunks/cli-1.0.17-rq8fyqe6.mjs +0 -2
  674. package/dist/chunks/cli-1.0.17-rsrbhcgg.mjs +0 -2
  675. package/dist/chunks/cli-1.0.17-s87gh0xy.mjs +0 -2
  676. package/dist/chunks/cli-1.0.17-sdwcavah.mjs +0 -2
  677. package/dist/chunks/cli-1.0.17-svhv399t.mjs +0 -2
  678. package/dist/chunks/cli-1.0.17-sxwsnjkf.mjs +0 -2
  679. package/dist/chunks/cli-1.0.17-t3a6qmnj.mjs +0 -2
  680. package/dist/chunks/cli-1.0.17-tq56x0z7.mjs +0 -2
  681. package/dist/chunks/cli-1.0.17-ttnq9eyz.mjs +0 -2
  682. package/dist/chunks/cli-1.0.17-v39zqb3q.mjs +0 -12
  683. package/dist/chunks/cli-1.0.17-v42jc8b6.mjs +0 -2
  684. package/dist/chunks/cli-1.0.17-v7gbw6nc.mjs +0 -2
  685. package/dist/chunks/cli-1.0.17-verxvj0s.mjs +0 -2
  686. package/dist/chunks/cli-1.0.17-vg1egngy.mjs +0 -2
  687. package/dist/chunks/cli-1.0.17-vjz0mgdc.mjs +0 -2
  688. package/dist/chunks/cli-1.0.17-w221edm9.mjs +0 -2
  689. package/dist/chunks/cli-1.0.17-w335kv69.mjs +0 -2
  690. package/dist/chunks/cli-1.0.17-wbr7f7wj.mjs +0 -2
  691. package/dist/chunks/cli-1.0.17-wm0z0tn9.mjs +0 -24
  692. package/dist/chunks/cli-1.0.17-wp8wyvc5.mjs +0 -34
  693. package/dist/chunks/cli-1.0.17-wqrh69a1.mjs +0 -8
  694. package/dist/chunks/cli-1.0.17-x0khsc7b.mjs +0 -2
  695. package/dist/chunks/cli-1.0.17-xc8m08gx.mjs +0 -2
  696. package/dist/chunks/cli-1.0.17-xhvs9ddb.mjs +0 -2
  697. package/dist/chunks/cli-1.0.17-xvntbm80.mjs +0 -3
  698. package/dist/chunks/cli-1.0.17-xvt8srd0.mjs +0 -2
  699. package/dist/chunks/cli-1.0.17-y24xrbmn.mjs +0 -2
  700. package/dist/chunks/cli-1.0.17-ya2pc5rh.mjs +0 -1
  701. package/dist/chunks/cli-1.0.17-yhm1j87y.mjs +0 -2
  702. package/dist/chunks/cli-1.0.17-ykztjshc.mjs +0 -2
  703. package/dist/chunks/cli-1.0.17-ysbbhgx7.mjs +0 -2
  704. package/dist/chunks/cli-1.0.17-yt9x63kq.mjs +0 -17
  705. package/dist/chunks/cli-1.0.17-ytcs4408.mjs +0 -2
  706. package/dist/chunks/cli-1.0.17-z313h4h8.mjs +0 -3
  707. package/dist/chunks/cli-1.0.17-zjtvw594.mjs +0 -18
  708. package/dist/chunks/cli-1.0.17-znwer2mk.mjs +0 -3
  709. package/dist/chunks/cli-1.0.17-zsbjcta9.mjs +0 -2
  710. package/dist/chunks/cli-1.0.17-zw7pcdw5.mjs +0 -4
  711. package/dist/chunks/cli-1.0.17-zxmxc807.mjs +0 -2
  712. package/dist/chunks/cli-1.0.17-zzy8pydb.mjs +0 -24
  713. package/dist/chunks/client-1.0.17-xqf28e2z.mjs +0 -1
  714. package/dist/chunks/color-1.0.17-x7gy4qsg.mjs +0 -1
  715. package/dist/chunks/compact-1.0.17-ntr0k3c1.mjs +0 -3
  716. package/dist/chunks/config-1.0.17-1bmax1k6.mjs +0 -1
  717. package/dist/chunks/config-1.0.17-wg2z9bvt.mjs +0 -1
  718. package/dist/chunks/constants-1.0.17-9g1fvd9s.mjs +0 -1
  719. package/dist/chunks/context-1.0.17-798z8a9c.mjs +0 -1
  720. package/dist/chunks/context-noninteractive-1.0.17-fbqqqy1k.mjs +0 -1
  721. package/dist/chunks/conversation-1.0.17-dh2k9gmk.mjs +0 -1
  722. package/dist/chunks/copilotHeaders-1.0.17-ztn0cqk4.mjs +0 -1
  723. package/dist/chunks/copy-1.0.17-74hpmk8e.mjs +0 -9
  724. package/dist/chunks/cost-1.0.17-edvv39jq.mjs +0 -1
  725. package/dist/chunks/createSSHSession-1.0.17-9vy9wmd2.mjs +0 -1
  726. package/dist/chunks/createSession-1.0.17-6ethfgt5.mjs +0 -1
  727. package/dist/chunks/debug-1.0.17-ka59nr0k.mjs +0 -1
  728. package/dist/chunks/defaultActionDeps-1.0.17-pa1y8kd6.mjs +0 -1446
  729. package/dist/chunks/desktop-1.0.17-31m1etzm.mjs +0 -1
  730. package/dist/chunks/detectRepository-1.0.17-8pz5azd8.mjs +0 -1
  731. package/dist/chunks/detection-1.0.17-3evcsm4n.mjs +0 -1
  732. package/dist/chunks/diff-1.0.17-gh9asnv7.mjs +0 -1
  733. package/dist/chunks/doctor-1.0.17-dk3s21ty.mjs +0 -1
  734. package/dist/chunks/doctorDiagnostic-1.0.17-31t5hgcb.mjs +0 -1
  735. package/dist/chunks/earlyInput-1.0.17-t706682g.mjs +0 -1
  736. package/dist/chunks/effort-1.0.17-qdecy5rp.mjs +0 -10
  737. package/dist/chunks/engine-1.0.17-1h34mzj4.mjs +0 -1
  738. package/dist/chunks/envLessBridgeConfig-1.0.17-ae0j9tej.mjs +0 -1
  739. package/dist/chunks/envUtils-1.0.17-3wpvqsah.mjs +0 -1
  740. package/dist/chunks/environmentSelection-1.0.17-n74jjawy.mjs +0 -1
  741. package/dist/chunks/environments-1.0.17-5cwk3b85.mjs +0 -1
  742. package/dist/chunks/errors-1.0.17-7m26fq8r.mjs +0 -1
  743. package/dist/chunks/exampleCommands-1.0.17-gva1ra1c.mjs +0 -1
  744. package/dist/chunks/execFileNoThrow-1.0.17-f7g2n79t.mjs +0 -1
  745. package/dist/chunks/exit-1.0.17-js0a6tr5.mjs +0 -1
  746. package/dist/chunks/explorer-1.0.17-0tsv1eaz.mjs +0 -1
  747. package/dist/chunks/export-1.0.17-y5w7ttdw.mjs +0 -2
  748. package/dist/chunks/extra-usage-1.0.17-ws6dsej0.mjs +0 -1
  749. package/dist/chunks/extra-usage-noninteractive-1.0.17-9fqc29gm.mjs +0 -1
  750. package/dist/chunks/fast-1.0.17-bz8x0afk.mjs +0 -1
  751. package/dist/chunks/feedback-1.0.17-t3m4hybn.mjs +0 -14
  752. package/dist/chunks/firstPartyEventLogger-1.0.17-avapd2qj.mjs +0 -1
  753. package/dist/chunks/git-1.0.17-dp3j8z22.mjs +0 -1
  754. package/dist/chunks/githubModelsCredentials-1.0.17-kp29gxmn.mjs +0 -1
  755. package/dist/chunks/goal-1.0.17-gs6qz9xz.mjs +0 -4
  756. package/dist/chunks/grove-1.0.17-g1jrnrfa.mjs +0 -1
  757. package/dist/chunks/growthbook-1.0.17-c150q3q5.mjs +0 -1
  758. package/dist/chunks/headless-1.0.17-3s0pbnt1.mjs +0 -2
  759. package/dist/chunks/heapdump-1.0.17-7w56g33y.mjs +0 -6
  760. package/dist/chunks/help-1.0.17-t0jyya03.mjs +0 -1
  761. package/dist/chunks/hookChains-1.0.17-8hq9yg68.mjs +0 -3
  762. package/dist/chunks/hooks-1.0.17-75bzpsfq.mjs +0 -1
  763. package/dist/chunks/hooks-1.0.17-vkahmdgs.mjs +0 -79
  764. package/dist/chunks/ide-1.0.17-yy904k1k.mjs +0 -3
  765. package/dist/chunks/image-processor-napi-1.0.17-6faqb25d.mjs +0 -1
  766. package/dist/chunks/inboundAttachments-1.0.17-tk5xd5n5.mjs +0 -1
  767. package/dist/chunks/index-1.0.17-3x8p135j.mjs +0 -9
  768. package/dist/chunks/index-1.0.17-3xzthc12.mjs +0 -1
  769. package/dist/chunks/index-1.0.17-4hbew0jj.mjs +0 -1
  770. package/dist/chunks/index-1.0.17-63rw94pj.mjs +0 -1
  771. package/dist/chunks/index-1.0.17-6sz8n41b.mjs +0 -30
  772. package/dist/chunks/index-1.0.17-7kafj1wr.mjs +0 -1
  773. package/dist/chunks/index-1.0.17-8bzj2r89.mjs +0 -1
  774. package/dist/chunks/index-1.0.17-94k1v6vk.mjs +0 -1
  775. package/dist/chunks/index-1.0.17-anafdqwk.mjs +0 -2
  776. package/dist/chunks/index-1.0.17-bmrkyghv.mjs +0 -1
  777. package/dist/chunks/index-1.0.17-f1kag1j2.mjs +0 -1
  778. package/dist/chunks/index-1.0.17-fm1dtwyv.mjs +0 -1
  779. package/dist/chunks/index-1.0.17-htkh5gz1.mjs +0 -1
  780. package/dist/chunks/index-1.0.17-kbm6jjth.mjs +0 -1
  781. package/dist/chunks/index-1.0.17-mwn9khh9.mjs +0 -1
  782. package/dist/chunks/index-1.0.17-r5cma447.mjs +0 -17
  783. package/dist/chunks/index-1.0.17-rqt631c5.mjs +0 -5
  784. package/dist/chunks/index-1.0.17-rzz9jfsj.mjs +0 -1
  785. package/dist/chunks/index-1.0.17-s1j2b6vq.mjs +0 -1
  786. package/dist/chunks/index-1.0.17-vsgqkee9.mjs +0 -1
  787. package/dist/chunks/index-1.0.17-ym2rj6bp.mjs +0 -9
  788. package/dist/chunks/index-1.0.17-z2zgermv.mjs +0 -2
  789. package/dist/chunks/index-1.0.17-zh9afr9s.mjs +0 -1
  790. package/dist/chunks/init-1.0.17-fz0hn5sx.mjs +0 -1
  791. package/dist/chunks/initReplBridge-1.0.17-3r8ea310.mjs +0 -1
  792. package/dist/chunks/ink-1.0.17-rp7215qx.mjs +0 -1
  793. package/dist/chunks/insights-1.0.17-q6rck59k.mjs +0 -870
  794. package/dist/chunks/install-1.0.17-6080qjjr.mjs +0 -1
  795. package/dist/chunks/install-github-app-1.0.17-z7kv0v60.mjs +0 -149
  796. package/dist/chunks/install-slack-app-1.0.17-gm26km9g.mjs +0 -1
  797. package/dist/chunks/instrumentation-1.0.17-jzxwt5er.mjs +0 -1
  798. package/dist/chunks/interactiveHelpers-1.0.17-w48vtvtz.mjs +0 -1
  799. package/dist/chunks/keybindings-1.0.17-x6tbbf7w.mjs +0 -2
  800. package/dist/chunks/knowledge-1.0.17-bfrdctvr.mjs +0 -2
  801. package/dist/chunks/latestVersionCache-1.0.17-6henz973.mjs +0 -1
  802. package/dist/chunks/loadAgentsDir-1.0.17-n60qxn26.mjs +0 -1
  803. package/dist/chunks/loadPluginHooks-1.0.17-8tqx0pdk.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.0.17-wav55dek.mjs +0 -1
  805. package/dist/chunks/log-1.0.17-j1rv6dsh.mjs +0 -1
  806. package/dist/chunks/main-1.0.17-h4k1en4r.mjs +0 -1
  807. package/dist/chunks/managedEnv-1.0.17-nt7nm12j.mjs +0 -1
  808. package/dist/chunks/mcp-1.0.17-23ggaedw.mjs +0 -17
  809. package/dist/chunks/mcp-1.0.17-jj7xfnfe.mjs +0 -4
  810. package/dist/chunks/mcp-1.0.17-z4984caf.mjs +0 -1
  811. package/dist/chunks/mcpb-1.0.17-bhsxvq63.mjs +0 -1
  812. package/dist/chunks/memory-1.0.17-yt68v7ap.mjs +0 -72
  813. package/dist/chunks/model-1.0.17-aeyz5p9p.mjs +0 -2
  814. package/dist/chunks/model-1.0.17-qsjdvrd5.mjs +0 -1
  815. package/dist/chunks/node-1.0.17-0rq9m4ak.mjs +0 -12
  816. package/dist/chunks/oauth-1.0.17-yjkwe4k5.mjs +0 -1
  817. package/dist/chunks/openaiShim-1.0.17-tz5wqwzh.mjs +0 -14
  818. package/dist/chunks/output-style-1.0.17-9g29453y.mjs +0 -1
  819. package/dist/chunks/package-2VNCXFNY-1.0.17-rztr9aj4.mjs +0 -1
  820. package/dist/chunks/parseConnectUrl-1.0.17-hkk9pnna.mjs +0 -1
  821. package/dist/chunks/parser-1.0.17-msy0vt6k.mjs +0 -1
  822. package/dist/chunks/passes-1.0.17-j2yp563b.mjs +0 -1
  823. package/dist/chunks/permissions-1.0.17-gy7m159e.mjs +0 -3
  824. package/dist/chunks/permissions-1.0.17-v5041xc1.mjs +0 -1
  825. package/dist/chunks/plan-1.0.17-dsrf8crc.mjs +0 -1
  826. package/dist/chunks/plist-1.0.17-qj89pt80.mjs +0 -1
  827. package/dist/chunks/plugin-1.0.17-rtmfht0z.mjs +0 -29
  828. package/dist/chunks/pluginStartupCheck-1.0.17-9rqvbt4k.mjs +0 -1
  829. package/dist/chunks/plugins-1.0.17-aa1p63yv.mjs +0 -9
  830. package/dist/chunks/preActionHook-1.0.17-sk15skx3.mjs +0 -2
  831. package/dist/chunks/print-1.0.17-2mzd4w21.mjs +0 -57
  832. package/dist/chunks/privacy-settings-1.0.17-7vm1x5sr.mjs +0 -1
  833. package/dist/chunks/process-1.0.17-v6aqjwzk.mjs +0 -1
  834. package/dist/chunks/processBashCommand-1.0.17-zykh4cqf.mjs +0 -1
  835. package/dist/chunks/processSlashCommand-1.0.17-gcjyjyjr.mjs +0 -9
  836. package/dist/chunks/prompt-1.0.17-6wa08t1s.mjs +0 -1
  837. package/dist/chunks/prompt-1.0.17-n7xqvg3b.mjs +0 -1
  838. package/dist/chunks/prompts-1.0.17-s87r77nr.mjs +0 -1
  839. package/dist/chunks/protocolHandler-1.0.17-4w13byd5.mjs +0 -13
  840. package/dist/chunks/provider-1.0.17-55mbqxc2.mjs +0 -2
  841. package/dist/chunks/providerProfiles-1.0.17-kxhx9m23.mjs +0 -1
  842. package/dist/chunks/providerValidation-1.0.17-haa5b155.mjs +0 -6
  843. package/dist/chunks/rate-limit-options-1.0.17-0cqpvcdk.mjs +0 -1
  844. package/dist/chunks/registerSubcommands-1.0.17-5zmj0kqm.mjs +0 -34
  845. package/dist/chunks/registry-1.0.17-mkfb3tvt.mjs +0 -1
  846. package/dist/chunks/release-notes-1.0.17-8snbpqbs.mjs +0 -5
  847. package/dist/chunks/reload-plugins-1.0.17-eg1v6x99.mjs +0 -2
  848. package/dist/chunks/remote-env-1.0.17-9fksp65j.mjs +0 -1
  849. package/dist/chunks/remoteBridgeCore-1.0.17-rtawcjw6.mjs +0 -1
  850. package/dist/chunks/remoteSession-1.0.17-a1ms2ttj.mjs +0 -1
  851. package/dist/chunks/rename-1.0.17-09e526vj.mjs +0 -1
  852. package/dist/chunks/replBridgeHandle-1.0.17-3qyccrd1.mjs +0 -1
  853. package/dist/chunks/replLauncher-1.0.17-50011rdb.mjs +0 -1
  854. package/dist/chunks/resume-1.0.17-hy1ncvwh.mjs +0 -2
  855. package/dist/chunks/rewind-1.0.17-cvna2377.mjs +0 -1
  856. package/dist/chunks/rootOptions-1.0.17-kpkg1wb0.mjs +0 -1
  857. package/dist/chunks/runWorkflowHeadless-1.0.17-jbv8z86k.mjs +0 -10
  858. package/dist/chunks/sandbox-adapter-1.0.17-hq7fx8ex.mjs +0 -1
  859. package/dist/chunks/sandbox-toggle-1.0.17-kr3wm7t7.mjs +0 -1
  860. package/dist/chunks/session-1.0.17-5613sexq.mjs +0 -2
  861. package/dist/chunks/sessionDiscovery-1.0.17-gsw1cxaw.mjs +0 -1
  862. package/dist/chunks/sessionFileAccessHooks-1.0.17-p0gkvt4d.mjs +0 -1
  863. package/dist/chunks/sessionStorage-1.0.17-9ayxcfb9.mjs +0 -1
  864. package/dist/chunks/settings-1.0.17-dp8x87ef.mjs +0 -1
  865. package/dist/chunks/setup-1.0.17-ey47rggp.mjs +0 -5
  866. package/dist/chunks/sinks-1.0.17-pjfn1cvs.mjs +0 -1
  867. package/dist/chunks/skills-1.0.17-957pj40r.mjs +0 -1
  868. package/dist/chunks/startupProfiler-1.0.17-r5qx27af.mjs +0 -1
  869. package/dist/chunks/startupUpdateCheck-1.0.17-ccx0f3x6.mjs +0 -1
  870. package/dist/chunks/state-1.0.17-wqzcjy24.mjs +0 -1
  871. package/dist/chunks/stats-1.0.17-qwr66nst.mjs +0 -6
  872. package/dist/chunks/status-1.0.17-fw5sv974.mjs +0 -1
  873. package/dist/chunks/stickers-1.0.17-0xx7db6g.mjs +0 -1
  874. package/dist/chunks/subprocessEnv-1.0.17-n5cn87xp.mjs +0 -1
  875. package/dist/chunks/tasks-1.0.17-w0q9gftt.mjs +0 -1
  876. package/dist/chunks/teamHelpers-1.0.17-sa3s8hyk.mjs +0 -1
  877. package/dist/chunks/teammateModeSnapshot-1.0.17-z253vr4f.mjs +0 -1
  878. package/dist/chunks/teleport-1.0.17-g2by1yjq.mjs +0 -1
  879. package/dist/chunks/terminalSetup-1.0.17-g2q4wcwh.mjs +0 -1
  880. package/dist/chunks/theme-1.0.17-40nrdpr3.mjs +0 -1
  881. package/dist/chunks/thinkback-1.0.17-vzzceq55.mjs +0 -1
  882. package/dist/chunks/thinkback-play-1.0.17-f75qmjyw.mjs +0 -1
  883. package/dist/chunks/toolPool-1.0.17-qtydtser.mjs +0 -1
  884. package/dist/chunks/toolSearch-1.0.17-913zemhq.mjs +0 -1
  885. package/dist/chunks/tools-1.0.17-22ce3q9j.mjs +0 -1
  886. package/dist/chunks/trustedDevice-1.0.17-rhbew9da.mjs +0 -1
  887. package/dist/chunks/turndown.cjs-1.0.17-3b3z4x7p.mjs +0 -69
  888. package/dist/chunks/types-1.0.17-psrdfpk3.mjs +0 -1
  889. package/dist/chunks/ultrareviewCommand-1.0.17-srb6z4yz.mjs +0 -4
  890. package/dist/chunks/update-1.0.17-chegbf04.mjs +0 -88
  891. package/dist/chunks/upgrade-1.0.17-4r1q1v3q.mjs +0 -1
  892. package/dist/chunks/upload-1.0.17-am8s1q94.mjs +0 -7
  893. package/dist/chunks/upstreamproxy-1.0.17-88vgegvm.mjs +0 -14
  894. package/dist/chunks/url-handler-napi-1.0.17-cg7jf2v4.mjs +0 -1
  895. package/dist/chunks/usage-1.0.17-0pjtc1jb.mjs +0 -1
  896. package/dist/chunks/util-1.0.17-cwe172ex.mjs +0 -1
  897. package/dist/chunks/utils-1.0.17-2q7gzedz.mjs +0 -1
  898. package/dist/chunks/vim-1.0.17-9re127j9.mjs +0 -1
  899. package/dist/chunks/watchLoop-1.0.17-8n39xwhz.mjs +0 -13
  900. package/dist/chunks/watcher-1.0.17-annky0s6.mjs +0 -1
  901. package/dist/chunks/wiki-1.0.17-p8s2y2fh.mjs +0 -132
  902. package/dist/chunks/workflows-1.0.17-5ygdx16y.mjs +0 -1
  903. package/dist/chunks/worktree-1.0.17-zh7mn90d.mjs +0 -1
  904. package/dist/chunks/worktreeModeEnabled-1.0.17-m9g3s832.mjs +0 -1
  905. package/dist/chunks/wrapper-1.0.17-p976tvn1.mjs +0 -7
  906. /package/dist/chunks/{cli-1.0.17-v698jz68.mjs → cli-1.1.0-5sg0fk2p.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.0.17-j7brfjt1.mjs → cli-1.1.0-7s0f112n.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.0.17-d25jj43z.mjs → cli-1.1.0-9nc530td.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.0.17-zdnd89rw.mjs → cli-1.1.0-gm3yzqxw.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.0.17-y1rnx6nw.mjs → cli-1.1.0-j0sa90bm.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.0.17-9ktgfern.mjs → cli-1.1.0-vcev20jn.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.0.17-t0tb5qzh.mjs → cli-1.1.0-wmg6s7xa.mjs} +0 -0
@@ -1,39 +0,0 @@
1
- import{CR as N,NQ as L,OQ as w,QR as d,bx as B,dx as U}from"./cli-1.0.17-qx980gch.mjs";import{Qaa as z,Xaa as F,_ca as P}from"./cli-1.0.17-ksmypgky.mjs";import{Sga as H,Yga as v}from"./cli-1.0.17-a6mc44b2.mjs";import{ksa as j}from"./cli-1.0.17-h101c40b.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
2
-
3
- `;h+=`**Model:** ${Z}
4
- `,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
5
- `,h+=`
6
- `;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
7
-
8
- `,h+=`| Category | Tokens | Percentage |
9
- `,h+=`|----------|--------|------------|
10
- `;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
11
- `}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
12
- `}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
13
- `}h+=`
14
- `}if(X.length>0){h+=`### MCP Tools
15
-
16
- `,h+=`| Tool | Server | Tokens |
17
- `,h+=`|------|--------|--------|
18
- `;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
19
- `;h+=`
20
- `}if(Q.length>0){h+=`### Custom Agents
21
-
22
- `,h+=`| Agent Type | Source | Tokens |
23
- `,h+=`|------------|--------|--------|
24
- `;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
25
- `}h+=`
26
- `}if(W.length>0){h+=`### Memory Files
27
-
28
- `,h+=`| Type | Path | Tokens |
29
- `,h+=`|------|------|--------|
30
- `;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
31
- `;h+=`
32
- `}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
33
-
34
- `,h+=`| Skill | Source | Tokens |
35
- `,h+=`|-------|--------|--------|
36
- `;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
37
- `;h+=`
38
- `}return h}var A=j(()=>{U();w();v();d();F();P()});
39
- export{V as vh,g as wh,A as xh};
@@ -1,12 +0,0 @@
1
- import{d9 as D}from"./cli-1.0.17-ea8m8v7k.mjs";import{Pja as L,Tja as JG,bka as W,eka as a}from"./cli-1.0.17-082vgztb.mjs";import{Nka as c,Oka as jG,Yka as GG}from"./cli-1.0.17-1d9ccn16.mjs";import{$qa as g,_qa as U}from"./cli-1.0.17-gy47n7qj.mjs";import{Nra as RG,vra as H}from"./cli-1.0.17-zjtvw594.mjs";import{Rra as wG}from"./cli-1.0.17-v39zqb3q.mjs";import{gsa as WG,ksa as j,lsa as e}from"./cli-1.0.17-h101c40b.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
- \r
4
- `);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
- `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
- `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
7
- `;let $=n(K);K.write(`${w}\r
8
- `);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
9
- `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
10
- `;let V=n(Y);Y.write(`${$}\r
11
- `);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.0.17-63rw94pj.mjs"),import("./index-1.0.17-ym2rj6bp.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
- export{hG as I8,p as J8,F as K8,gG as L8,aG as M8,pG as N8,KG as O8,MJ as P8,HJ as Q8,OG as R8,I as S8,h as T8,qJ as U8,jJ as V8,UJ as W8,_J as X8,FJ as Y8,NJ as Z8,TJ as _8,vG as $8};
@@ -1,2 +0,0 @@
1
- import{J0 as t,lZ as s,m1 as f}from"./cli-1.0.17-1w8t10bs.mjs";import{V3 as n,W3 as c,X3 as r}from"./cli-1.0.17-dfb76sxr.mjs";import{gsa as m,ksa as l}from"./cli-1.0.17-h101c40b.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
- export{T as tg,p as ug};
@@ -1,2 +0,0 @@
1
- import{ksa as J}from"./cli-1.0.17-h101c40b.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
2
- export{K as Hh,Y as Ih,Z as Jh,V as Kh};
@@ -1,2 +0,0 @@
1
- import{Za as S}from"./cli-1.0.17-9ktgfern.mjs";import{$a as c}from"./cli-1.0.17-c4mj41az.mjs";import{Dd as P,Hd as Vq}from"./cli-1.0.17-70a54p8v.mjs";import{Ld as I,Md as v,Nd as $,Od as Wq}from"./cli-1.0.17-mf9k8ee9.mjs";import{$x as h,_x as L,aL as E,bL as Qq,by as qq,gp as C,ip as r,pF as M,qF as Jq,rz as A,sM as f,sz as Bq,vM as Tq,wu as N,wz as _,xu as e,yz as Gq}from"./cli-1.0.17-qx980gch.mjs";import{Y3 as s}from"./cli-1.0.17-ttnq9eyz.mjs";import{Bga as a,caa as w,eaa as t,tga as F,u_ as D,w_ as n}from"./cli-1.0.17-ksmypgky.mjs";import{_ia as x,bja as d}from"./cli-1.0.17-hb445h5r.mjs";import{bka as j,eka as o}from"./cli-1.0.17-082vgztb.mjs";import{Aka as y,Ika as l}from"./cli-1.0.17-89p1ntv1.mjs";import{gsa as p}from"./cli-1.0.17-h101c40b.mjs";Jq();d();Gq();qq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);Bq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
2
- export{Lq as Ya};
@@ -1,2 +0,0 @@
1
- import{PL as R,TL as b,WL as w,aM as M,cM as P,hM as m,iM as h,mM as c,mp as L,np as D,op as O,rp as _,sp as S}from"./cli-1.0.17-qx980gch.mjs";import{Ada as C,Bga as j,Kda as E,jca as x,rca as T,tga as N,vda as B,xda as A}from"./cli-1.0.17-ksmypgky.mjs";import{lia as U,mia as v}from"./cli-1.0.17-pzebvptb.mjs";import{bka as G,eka as F}from"./cli-1.0.17-082vgztb.mjs";import{ksa as y}from"./cli-1.0.17-h101c40b.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{ksa as K}from"./cli-1.0.17-h101c40b.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
- export{M as fka,N as gka,Q as hka,R as ika,S as jka,L as kka};
@@ -1,2 +0,0 @@
1
- import{Sc as k,Tc as P}from"./cli-1.0.17-w221edm9.mjs";import{$c as f,Zc as O,_c as A}from"./cli-1.0.17-a0qpbbgx.mjs";import{$7 as j,H8 as E,S7 as U,W7 as V}from"./cli-1.0.17-bner2z30.mjs";import{Bea as J,Bga as b,Iea as Y,Mba as X,Nba as H,Tba as x,Wea as G,bfa as I,sfa as h,tga as K,yea as N}from"./cli-1.0.17-ksmypgky.mjs";import{Aka as F,Ika as L}from"./cli-1.0.17-89p1ntv1.mjs";import{Bqa as T,Rna as W}from"./cli-1.0.17-jktkjeyp.mjs";import{ksa as y}from"./cli-1.0.17-h101c40b.mjs";function d(){Z=!0}function m(){if(!Z)return!1;return Z=!1,!0}function l(q){return(B)=>({...B,...typeof q.permission_mode==="string"?{toolPermissionContext:{...B.toolPermissionContext,mode:H(q.permission_mode)}}:{},...typeof q.is_ultraplan_mode==="boolean"?{isUltraplanMode:q.is_ultraplan_mode}:{}})}function S({newState:q,oldState:B}){let _=m(),$=B.toolPermissionContext.mode,Q=q.toolPermissionContext.mode;if($!==Q){let z=X($),D=X(Q);if(z!==D){let R=D==="plan"&&q.isUltraplanMode&&!B.isUltraplanMode?!0:null;O({permission_mode:D,is_ultraplan_mode:R})}A(Q)}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel===null){if(W(null),!_)Y((z)=>({...z,activeModelForProject:void 0,activeModelForProjectProfileId:void 0}))}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel!==null){if(W(q.mainLoopModel),!_){let z=I()?.id;Y((D)=>({...D,activeModelForProject:q.mainLoopModel??void 0,activeModelForProjectProfileId:z}))}}if(q.expandedView!==B.expandedView){let z=q.expandedView==="tasks",D=q.expandedView==="teammates";if(J().showExpandedTodos!==z||J().showSpinnerTree!==D)N((R)=>({...R,showExpandedTodos:z,showSpinnerTree:D}))}if(q.verbose!==B.verbose&&J().verbose!==q.verbose){let z=q.verbose;N((D)=>({...D,verbose:z}))}if(q.collapseSubagentProgress!==B.collapseSubagentProgress&&J().collapseSubagentProgress!==q.collapseSubagentProgress){let z=q.collapseSubagentProgress;N((D)=>({...D,collapseSubagentProgress:z}))}if(q.settings!==B.settings)try{if(U(),V(),j(),q.settings.env!==B.settings.env)k()}catch(z){K(F(z))}}var Z=!1;var u=y(()=>{T();E();G();L();b();P();h();x();f()});
2
- export{d as Nc,l as Oc,S as Pc,u as Qc};
@@ -1,2 +0,0 @@
1
- import{H_ as X,L_ as k,b$ as Y,x$ as x}from"./cli-1.0.17-ksmypgky.mjs";import{Yga as $}from"./cli-1.0.17-a6mc44b2.mjs";import{ksa as Z}from"./cli-1.0.17-h101c40b.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
2
- export{H as jb,M as kb};
@@ -1,15 +0,0 @@
1
- import{QR as _,ik as J,jO as f,lO as z,wx as L,xx as k}from"./cli-1.0.17-qx980gch.mjs";import{Iaa as F,Naa as A}from"./cli-1.0.17-ksmypgky.mjs";import{eia as Y,gia as h,hia as H,iia as X}from"./cli-1.0.17-142ww3xz.mjs";import{_ia as W,bja as M}from"./cli-1.0.17-hb445h5r.mjs";import{bka as D,eka as R}from"./cli-1.0.17-082vgztb.mjs";import{Bqa as C,roa as q}from"./cli-1.0.17-jktkjeyp.mjs";import{ksa as V}from"./cli-1.0.17-h101c40b.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
- `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
-
4
- Return JSON with a single "title" field.
5
-
6
- Good examples:
7
- {"title": "Fix login button on mobile"}
8
- {"title": "Add OAuth authentication"}
9
- {"title": "Debug failing CI tests"}
10
- {"title": "Refactor API client error handling"}
11
-
12
- Bad (too vague): {"title": "Code changes"}
13
- Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
- Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
- export{S as xe,T as ye,I as ze};
@@ -1,45 +0,0 @@
1
- import{Qe as BY,Re as Bz}from"./cli-1.0.17-rhsj77ax.mjs";import{Mg as qY,Ng as qz}from"./cli-1.0.17-gch1jsbe.mjs";import{kh as $Y,lh as yz,mh as cY,nh as mz}from"./cli-1.0.17-5g9z2hnd.mjs";import{DP as iY,GP as XJ,HP as GZ,IP as X0,SS as nY,TP as rY,Tn as UJ,UP as Lz,Un as UY,Vn as AJ,Wn as XY,Xn as NJ,YH as hY,Yn as VY,ZF as uY,ZH as Tz,_F as wz,hG as B0,hs as Zz,iG as MY,is as KK,kP as gY,pu as eY,qu as JK,sK as GY,tT as V0,xK as Gz}from"./cli-1.0.17-qx980gch.mjs";import{XX as _Y,YX as Az,jY as $J,lY as KY,oY as SY,pY as jz,vY as pY,wY as Fz}from"./cli-1.0.17-at0j3482.mjs";import{BZ as IY,C0 as fY,CZ as Rz,E0 as Ez,H0 as b,J0 as N,b1 as xY,l0 as bY,lZ as f0,m1 as U0,uZ as LY}from"./cli-1.0.17-1w8t10bs.mjs";import{V3 as U,W3 as m,X3 as bJ}from"./cli-1.0.17-dfb76sxr.mjs";import{Y3 as b0}from"./cli-1.0.17-ttnq9eyz.mjs";import{Y6 as ez,u6 as tY}from"./cli-1.0.17-bner2z30.mjs";import{b9 as $0,c9 as Cz}from"./cli-1.0.17-3ba3vg5e.mjs";import{Bga as mY,caa as r0,eaa as tz,f$ as yY,qga as fJ,tga as l0,x$ as Mz}from"./cli-1.0.17-ksmypgky.mjs";import{Gga as S0,Hga as Hz,Jga as G0,Uga as zY,Vga as c0,Yga as I0}from"./cli-1.0.17-a6mc44b2.mjs";import{_ia as $,bja as Nz}from"./cli-1.0.17-hb445h5r.mjs";import{Hja as oY,Lja as sz,bka as CJ,eka as oz}from"./cli-1.0.17-082vgztb.mjs";import{Bqa as TY,Cma as wY,Ima as H0}from"./cli-1.0.17-jktkjeyp.mjs";import{gsa as UZ,ksa as XZ}from"./cli-1.0.17-h101c40b.mjs";function QY(Z){let J=HY.c(33),{log:K,onExit:B,onSelect:G}=Z,[Q,v]=L0.default.useState(null),F,T;if(J[0]!==K)F=()=>{if(v(null),GZ(K))X0(K).then(v)},T=[K],J[0]=K,J[1]=F,J[2]=T;else F=J[1],T=J[2];L0.default.useEffect(F,T);let i=GZ(K)&&Q===null,X=Q??K,W;if(J[3]!==X)W=XJ(X)||"",J[3]=X,J[4]=W;else W=J[4];let O=W,S;if(J[5]===Symbol.for("react.memo_cache_sentinel"))S=GY(),J[5]=S;else S=J[5];let C=S,JJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))JJ={context:"Confirmation"},J[6]=JJ;else JJ=J[6];$J("confirm:no",B,JJ);let L;if(J[7]!==Q||J[8]!==K||J[9]!==G)L=()=>{G(Q??K)},J[7]=Q,J[8]=K,J[9]=G,J[10]=L;else L=J[10];let f=L,E;if(J[11]===Symbol.for("react.memo_cache_sentinel"))E={context:"Confirmation"},J[11]=E;else E=J[11];if($J("confirm:yes",f,E),i){let c;if(J[12]===Symbol.for("react.memo_cache_sentinel"))c=U(qY,{message:"Loading session…"}),J[12]=c;else c=J[12];let BJ;if(J[13]===Symbol.for("react.memo_cache_sentinel"))BJ=m(b,{flexDirection:"column",padding:1,children:[c,U(N,{dimColor:!0,children:U(NJ,{children:U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})})})]}),J[13]=BJ;else BJ=J[13];return BJ}let y;if(J[14]===Symbol.for("react.memo_cache_sentinel"))y=[],J[14]=y;else y=J[14];let w,r;if(J[15]===Symbol.for("react.memo_cache_sentinel"))r=[],w=new Set,J[15]=w,J[16]=r;else w=J[15],r=J[16];let p;if(J[17]===Symbol.for("react.memo_cache_sentinel"))p=[],J[17]=p;else p=J[17];let l;if(J[18]!==O||J[19]!==X.messages)l=U(BY,{messages:X.messages,tools:C,commands:y,verbose:!0,toolJSX:null,toolUseConfirmQueue:r,inProgressToolUseIDs:w,isMessageSelectorVisible:!1,conversationId:O,screen:"transcript",streamingToolUses:p,showAllInTranscript:!0,isLoading:!1}),J[18]=O,J[19]=X.messages,J[20]=l;else l=J[20];let s;if(J[21]!==X.modified)s=zY(X.modified),J[21]=X.modified,J[22]=s;else s=J[22];let o=X.gitBranch?` · ${X.gitBranch}`:"",_;if(J[23]!==X.messageCount||J[24]!==s||J[25]!==o)_=m(N,{children:[s," ·"," ",X.messageCount," messages",o]}),J[23]=X.messageCount,J[24]=s,J[25]=o,J[26]=_;else _=J[26];let VJ;if(J[27]===Symbol.for("react.memo_cache_sentinel"))VJ=U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"resume"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}),J[27]=VJ;else VJ=J[27];let M;if(J[28]!==_)M=m(b,{flexShrink:0,flexDirection:"column",borderTopDimColor:!0,borderBottom:!1,borderLeft:!1,borderRight:!1,borderStyle:"single",paddingLeft:2,children:[_,VJ]}),J[28]=_,J[29]=M;else M=J[29];let jJ;if(J[30]!==l||J[31]!==M)jJ=m(b,{flexDirection:"column",children:[l,M]}),J[30]=l,J[31]=M,J[32]=jJ;else jJ=J[32];return jJ}var HY,L0;var OY=XZ(()=>{U0();KY();Gz();I0();V0();XY();VY();UY();qz();Bz();bJ();HY=UZ(f0(),1),L0=UZ(b0(),1)});function Dz(Z,J){if(Z===x0)return x0.length+qZ;let K=S0(Z),B=J?Math.min(K,J-qZ-_0):K;return Math.max(0,B)+qZ+_0}function kz(Z,J){let K=J-qZ-_0;if(S0(Z)<=K)return Z;if(K<=1)return Z.charAt(0);return G0(Z,K)}function NY({tabs:Z,selectedIndex:J,availableWidth:K,showAllProjects:B=!1}){let G=B?"Resume (All Projects)":"Resume",Q=G.length+1,v=Math.max(Oz,Pz),F=K-Q-v-2,T=Math.max(0,Math.min(J,Z.length-1)),i=Math.max(20,Math.floor(F/2)),X=Z.map((E)=>Dz(E,i)),W=0,O=Z.length;if(X.reduce((E,y,w)=>E+y+(w<X.length-1?1:0),0)>F){let E=F-Qz,y=X[T]??0;W=T,O=T+1;while(W>0||O<Z.length){let w=W>0,r=O<Z.length;if(w){let p=(X[W-1]??0)+1;if(y+p<=E){W--,y+=p;continue}}if(r){let p=(X[O]??0)+1;if(y+p<=E){O++,y+=p;continue}}break}}let C=W,JJ=Z.length-O,L=Z.slice(W,O),f=L.map((E,y)=>W+y);return m(b,{flexDirection:"row",gap:1,children:[U(N,{color:"suggestion",children:G}),C>0&&m(N,{dimColor:!0,children:[PY,C]}),L.map((E,y)=>{let r=f[y]===T,p=E===x0?E:`#${kz(E,i-qZ)}`;return m(N,{backgroundColor:r?"suggestion":void 0,color:r?"inverseText":void 0,bold:r,children:[" ",p," "]},E)}),JJ>0?m(N,{dimColor:!0,children:[DY,JJ,kY]}):U(N,{dimColor:!0,children:WY})]})}var x0="All",qZ=2,_0=1,PY="← ",DY="→",kY=" (tab to cycle)",WY="(tab to cycle)",vY=2,Qz,Oz,Pz;var CY=XZ(()=>{Hz();U0();I0();bJ();Qz=PY.length+vY+1,Oz=DY.length+vY+kY.length,Pz=WY.length});function EY(Z){let J=RY.c(48),{nodes:K,onSelect:B,onCancel:G,onFocus:Q,focusNodeId:v,visibleOptionCount:F,layout:T,isDisabled:i,hideIndexes:X,isNodeExpanded:W,onExpand:O,onCollapse:S,getParentPrefix:C,getChildPrefix:JJ,onUpFromFirstItem:L}=Z,f=T===void 0?"expanded":T,E=i===void 0?!1:i,y=X===void 0?!1:X,w;if(J[0]===Symbol.for("react.memo_cache_sentinel"))w=new Set,J[0]=w;else w=J[0];let[r,p]=q0.default.useState(w),l=q0.default.useRef(!1),s=q0.default.useRef(null),o;if(J[1]!==r||J[2]!==W)o=(H)=>{if(W)return W(H);return r.has(H)},J[1]=r,J[2]=W,J[3]=o;else o=J[3];let _=o,VJ;if(J[4]!==_||J[5]!==K){let H=function(k,qJ,TJ){let xJ=!!k.children&&k.children.length>0,_J=_(k.id);if(VJ.push({node:k,depth:qJ,isExpanded:_J,hasChildren:xJ,parentId:TJ}),xJ&&_J&&k.children)for(let V of k.children)H(V,qJ+1,k.id)};VJ=[];for(let k of K)H(k,0);J[4]=_,J[5]=K,J[6]=VJ}else VJ=J[6];let M=VJ,jJ=vz,c=Wz,BJ=C??jJ,d=JJ??c,cJ;if(J[7]!==d||J[8]!==BJ)cJ=(H)=>{let k="";if(H.hasChildren)k=BJ(H.isExpanded);else if(H.depth>0)k=d(H.depth);return k+H.node.label},J[7]=d,J[8]=BJ,J[9]=cJ;else cJ=J[9];let n=cJ,gJ;if(J[10]!==n||J[11]!==M)gJ=M.map((H)=>({label:n(H),description:H.node.description,dimDescription:H.node.dimDescription??!0,value:H.node.id})),J[10]=n,J[11]=M,J[12]=gJ;else gJ=J[12];let FJ=gJ,MJ;if(J[13]!==M)MJ=new Map,M.forEach((H)=>MJ.set(H.node.id,H.node)),J[13]=M,J[14]=MJ;else MJ=J[14];let g=MJ,HJ;if(J[15]!==M)HJ=(H)=>M.find((k)=>k.node.id===H),J[15]=M,J[16]=HJ;else HJ=J[16];let QJ=HJ,iJ;if(J[17]!==QJ||J[18]!==S||J[19]!==O)iJ=(H,k)=>{let qJ=QJ(H);if(!qJ||!qJ.hasChildren)return;if(k)if(O)O(H);else p((TJ)=>new Set(TJ).add(H));else if(S)S(H);else p((TJ)=>{let xJ=new Set(TJ);return xJ.delete(H),xJ})},J[17]=QJ,J[18]=S,J[19]=O,J[20]=iJ;else iJ=J[20];let OJ=iJ,GJ;if(J[21]!==QJ||J[22]!==v||J[23]!==E||J[24]!==g||J[25]!==Q||J[26]!==OJ)GJ=(H)=>{if(!v||E)return;let k=QJ(v);if(!k)return;if(H.key==="right"&&k.hasChildren)H.preventDefault(),OJ(v,!0);else if(H.key==="left"){if(k.hasChildren&&k.isExpanded)H.preventDefault(),OJ(v,!1);else if(k.parentId!==void 0){if(H.preventDefault(),l.current=!0,OJ(k.parentId,!1),Q){let qJ=g.get(k.parentId);if(qJ)Q(qJ)}}}},J[21]=QJ,J[22]=v,J[23]=E,J[24]=g,J[25]=Q,J[26]=OJ,J[27]=GJ;else GJ=J[27];let rJ=GJ,PJ;if(J[28]!==g||J[29]!==B)PJ=(H)=>{let k=g.get(H);if(!k)return;B(k)},J[28]=g,J[29]=B,J[30]=PJ;else PJ=J[30];let wJ=PJ,ZJ;if(J[31]!==g||J[32]!==Q)ZJ=(H)=>{if(l.current){l.current=!1;return}if(s.current===H)return;if(s.current=H,Q){let k=g.get(H);if(k)Q(k)}},J[31]=g,J[32]=Q,J[33]=ZJ;else ZJ=J[33];let lJ=ZJ,P;if(J[34]!==v||J[35]!==wJ||J[36]!==lJ||J[37]!==y||J[38]!==E||J[39]!==f||J[40]!==G||J[41]!==L||J[42]!==FJ||J[43]!==F)P=U(B0,{options:FJ,onChange:wJ,onFocus:lJ,onCancel:G,defaultFocusValue:v,visibleOptionCount:F,layout:f,isDisabled:E,hideIndexes:y,onUpFromFirstItem:L}),J[34]=v,J[35]=wJ,J[36]=lJ,J[37]=y,J[38]=E,J[39]=f,J[40]=G,J[41]=L,J[42]=FJ,J[43]=F,J[44]=P;else P=J[44];let h;if(J[45]!==rJ||J[46]!==P)h=U(b,{tabIndex:0,autoFocus:!0,onKeyDown:rJ,children:P}),J[45]=rJ,J[46]=P,J[47]=h;else h=J[47];return h}function Wz(Z){return" ▸ "}function vz(Z){return Z?"▼ ":"▶ "}var RY,q0;var AY=XZ(()=>{U0();MY();bJ();RY=UZ(f0(),1),q0=UZ(b0(),1)});function dY(Z,J){let K=Z.replace(/\s+/g," ").trim();return G0(K,J)}function p0({before:Z,match:J,after:K},B){return $0.dim(Z)+B(J)+$0.dim(K)}function Sz(Z,J,K){let B=Z.toLowerCase().indexOf(J.toLowerCase());if(B===-1)return null;let G=B+J.length,Q=Math.max(0,B-K),v=Math.min(Z.length,G+K),F=Z.slice(Q,B),T=Z.slice(B,G),i=Z.slice(G,v);return{before:(Q>0?"…":"")+F.replace(/\s+/g," ").trimStart(),match:T.trim(),after:i.replace(/\s+/g," ").trimEnd()+(v<Z.length?"…":"")}}function u0(Z,J,K){let{isGroupHeader:B=!1,isChild:G=!1,forkCount:Q=0}=K||{},v=B&&Q>0?Iz:G?bz:0,F=B&&Q>0?` (+${Q} other ${Q===1?"session":"sessions"})`:"",T=Z.isSidechain?" (sidechain)":"",i=J-v-T.length-F.length;return`${dY(fJ(Z),i)}${T}${F}`}function h0(Z,J){let{isChild:K=!1,showProjectPath:B=!1}=J||{},G=K?" ":"",Q=c0(Z),v=B&&Z.projectPath?` · ${Z.projectPath}`:"";return G+Q+v}function YU(Z){let J=lY.c(247),{logs:K,maxHeight:B,forceWidth:G,onCancel:Q,onSelect:v,onLogsChanged:F,onLoadMore:T,initialSearchQuery:i,showAllProjects:X,onToggleAllProjects:W,onAgenticSearch:O}=Z,S=B===void 0?1/0:B,C=X===void 0?!1:X,JJ=_Y(),L=G===void 0?JJ.columns:G,f=SY(Q),E=bY(),y;if(J[0]===Symbol.for("react.memo_cache_sentinel"))y=iY(),J[0]=y;else y=J[0];let w=y,r=!1,[p]=LY(),l;if(J[1]!==p)l=fY(p),J[1]=p,J[2]=l;else l=J[2];let s=l,o;if(J[3]!==s.warning)o=(Y)=>IY(Y,s.warning),J[3]=s.warning,J[4]=o;else o=J[4];let _=o,VJ=!1,[M,jJ]=R.default.useState(null),[c,BJ]=R.default.useState(!1),[d,cJ]=R.default.useState(!1),[n,gJ]=R.default.useState(!1),FJ;if(J[5]===Symbol.for("react.memo_cache_sentinel"))FJ=H0(),J[5]=FJ;else FJ=J[5];let MJ=FJ,[g,HJ]=R.default.useState(""),[QJ,iJ]=R.default.useState(0),OJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))OJ=new Set,J[6]=OJ;else OJ=J[6];let[GJ,rJ]=R.default.useState(OJ),[PJ,wJ]=R.default.useState(null),[ZJ,lJ]=R.default.useState(1),[P,h]=R.default.useState("list"),[H,k]=R.default.useState(null),qJ=R.default.useRef(null),[TJ,xJ]=R.default.useState(0),_J;if(J[7]===Symbol.for("react.memo_cache_sentinel"))_J={status:"idle"},J[7]=_J;else _J=J[7];let[V,VZ]=R.default.useState(_J),[t,BZ]=R.default.useState(!1),HZ=R.default.useRef(null),Q0=P==="search"&&V.status!=="searching",QZ,OZ,PZ;if(J[8]===Symbol.for("react.memo_cache_sentinel"))QZ=()=>{h("list"),$("tengu_session_search_toggled",{enabled:!1})},OZ=()=>{h("list"),$("tengu_session_search_toggled",{enabled:!1})},PZ=["n"],J[8]=QZ,J[9]=OZ,J[10]=PZ;else QZ=J[8],OZ=J[9],PZ=J[10];let O0=i||"",DZ;if(J[11]!==O0||J[12]!==Q0)DZ={isActive:Q0,onExit:QZ,onExitUp:OZ,passthroughCtrlKeys:PZ,initialQuery:O0},J[11]=O0,J[12]=Q0,J[13]=DZ;else DZ=J[13];let{query:A,setQuery:dJ,cursorOffset:P0}=cY(DZ),yJ=R.default.useDeferredValue(A),[YJ,d0]=R.default.useState(""),kZ,WZ;if(J[14]!==yJ)kZ=()=>{if(!yJ){d0("");return}let Y=setTimeout(d0,300,yJ);return()=>clearTimeout(Y)},WZ=[yJ],J[14]=yJ,J[15]=kZ,J[16]=WZ;else kZ=J[15],WZ=J[16];R.default.useEffect(kZ,WZ);let[mJ,n0]=R.default.useState(null),[D0,a0]=R.default.useState(!1),vZ,NZ;if(J[17]===Symbol.for("react.memo_cache_sentinel"))vZ=()=>{yY().then((Y)=>jJ(Y)),rY(MJ).then((Y)=>{gJ(Y.length>1)})},NZ=[MJ],J[17]=vZ,J[18]=NZ;else vZ=J[17],NZ=J[18];R.default.useEffect(vZ,NZ);let XK=new Map(K.map(iz)),Yz;Yz=null;let CZ;if(J[19]!==K)CZ=nz(K),J[19]=K,J[20]=CZ;else CZ=J[20];let SJ=CZ,DJ=SJ.length>0,MZ;if(J[21]!==DJ||J[22]!==SJ)MZ=DJ?["All",...SJ]:[],J[21]=DJ,J[22]=SJ,J[23]=MZ;else MZ=J[23];let zJ=MZ,RZ=zJ.length>0&&TJ<zJ.length?TJ:0,s0=zJ[RZ],nJ=s0==="All"?void 0:s0,zz=DJ?1:0,a=K;if(w){let Y;if(J[24]!==K)Y=K.filter(gz),J[24]=K,J[25]=Y;else Y=J[25];a=Y}if(nJ!==void 0){let Y;if(J[26]!==a||J[27]!==nJ){let z;if(J[29]!==nJ)z=(q)=>q.tag===nJ,J[29]=nJ,J[30]=z;else z=J[30];Y=a.filter(z),J[26]=a,J[27]=nJ,J[28]=Y}else Y=J[28];a=Y}if(c&&M){let Y;if(J[31]!==M||J[32]!==a){let z;if(J[34]!==M)z=(q)=>q.gitBranch===M,J[34]=M,J[35]=z;else z=J[35];Y=a.filter(z),J[31]=M,J[32]=a,J[33]=Y}else Y=J[33];a=Y}if(n&&!d){let Y;if(J[36]!==a){let z;if(J[38]===Symbol.for("react.memo_cache_sentinel"))z=(q)=>q.projectPath===MJ,J[38]=z;else z=J[38];Y=a.filter(z),J[36]=a,J[37]=Y}else Y=J[37];a=Y}let EZ=a,k0;J:{if(!A){k0=EZ;break J}let Y;if(J[39]!==EZ||J[40]!==A){let z=A.toLowerCase();Y=EZ.filter((q)=>{let j=fJ(q).toLowerCase(),x=(q.gitBranch||"").toLowerCase(),u=(q.tag||"").toLowerCase(),hJ=q.prNumber?`pr #${q.prNumber} ${q.prRepository||""}`.toLowerCase():"";return j.includes(z)||x.includes(z)||u.includes(z)||hJ.includes(z)}),J[39]=EZ,J[40]=A,J[41]=Y}else Y=J[41];k0=Y}let W0=k0,AZ,jZ;if(J[42]!==YJ||J[43]!==yJ)AZ=()=>{},jZ=[yJ,YJ,!1],J[42]=YJ,J[43]=yJ,J[44]=AZ,J[45]=jZ;else AZ=J[44],jZ=J[45];R.default.useEffect(AZ,jZ);let FZ,wZ;if(J[46]!==YJ)FZ=()=>{n0(null),a0(!1);return},wZ=[YJ,null,!1],J[46]=YJ,J[47]=FZ,J[48]=wZ;else FZ=J[47],wZ=J[48];R.default.useEffect(FZ,wZ);let e,pJ;if(J[49]!==YJ||J[50]!==mJ||J[51]!==W0){if(pJ=new Map,e=W0,mJ&&YJ&&mJ.query===YJ){for(let j of mJ.results)if(j.searchableText){let x=Sz(j.searchableText,YJ,_z);if(x)pJ.set(j.log,x)}let Y;if(J[54]!==e)Y=new Set(e.map(uz)),J[54]=e,J[55]=Y;else Y=J[55];let z=Y,q;if(J[56]!==mJ.results||J[57]!==e||J[58]!==z){let j;if(J[60]!==z)j=(u)=>!z.has(u.messages[0]?.uuid),J[60]=z,J[61]=j;else j=J[61];let x=mJ.results.map(pz).filter(j);q=[...e,...x],J[56]=mJ.results,J[57]=e,J[58]=z,J[59]=q}else q=J[59];e=q}J[49]=YJ,J[50]=mJ,J[51]=W0,J[52]=e,J[53]=pJ}else e=J[52],pJ=J[53];let TZ;if(J[62]!==e||J[63]!==pJ)TZ={filteredLogs:e,snippets:pJ},J[62]=e,J[63]=pJ,J[64]=TZ;else TZ=J[64];let{filteredLogs:uJ,snippets:RJ}=TZ,v0;J:{if(V.status==="results"&&V.results.length>0){v0=V.results;break J}v0=uJ}let D=v0,kJ=Math.max(30,L-4),N0;J:{if(!w){let z;if(J[65]===Symbol.for("react.memo_cache_sentinel"))z=[],J[65]=z;else z=J[65];N0=z;break J}let Y;if(J[66]!==D||J[67]!==_||J[68]!==kJ||J[69]!==C||J[70]!==RJ){let z=dz(D);Y=Array.from(z.entries()).map((q)=>{let[j,x]=q,u=x[0],hJ=D.indexOf(u),LJ=RJ.get(u),EJ=LJ?p0(LJ,_):null;if(x.length===1){let IJ=h0(u,{showProjectPath:C});return{id:`log:${j}:0`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ),description:EJ?`${IJ}
2
- ${EJ}`:IJ,dimDescription:!0}}let z0=x.length-1,K0=x.slice(1).map((IJ,Xz)=>{let Vz=D.indexOf(IJ),JY=RJ.get(IJ),ZY=JY?p0(JY,_):null,YY=h0(IJ,{isChild:!0,showProjectPath:C});return{id:`log:${j}:${Xz+1}`,value:{log:IJ,indexInFiltered:Vz},label:u0(IJ,kJ,{isChild:!0}),description:ZY?`${YY}
3
- ${ZY}`:YY,dimDescription:!0}}),e0=h0(u,{showProjectPath:C});return{id:`group:${j}`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ,{isGroupHeader:!0,forkCount:z0}),description:EJ?`${e0}
4
- ${EJ}`:e0,dimDescription:!0,children:K0}}),J[66]=D,J[67]=_,J[68]=kJ,J[69]=C,J[70]=RJ,J[71]=Y}else Y=J[71];N0=Y}let WJ=N0,C0;J:{if(w){let z;if(J[72]===Symbol.for("react.memo_cache_sentinel"))z=[],J[72]=z;else z=J[72];C0=z;break J}let Y;if(J[73]!==D||J[74]!==_||J[75]!==kJ||J[76]!==C||J[77]!==RJ){let z;if(J[79]!==_||J[80]!==kJ||J[81]!==C||J[82]!==RJ)z=(q,j)=>{let u=fJ(q)+(q.isSidechain?" (sidechain)":""),hJ=dY(u,kJ),LJ=c0(q),EJ=C&&q.projectPath?` · ${q.projectPath}`:"",z0=RJ.get(q),K0=z0?p0(z0,_):null;return{label:hJ,description:K0?`${LJ}${EJ}
5
- ${K0}`:LJ+EJ,dimDescription:!0,value:j.toString()}},J[79]=_,J[80]=kJ,J[81]=C,J[82]=RJ,J[83]=z;else z=J[83];Y=D.map(z),J[73]=D,J[74]=_,J[75]=kJ,J[76]=C,J[77]=RJ,J[78]=Y}else Y=J[78];C0=Y}let M0=C0,I=PJ?.value.log??null,yZ;if(J[84]!==D||J[85]!==GJ||J[86]!==I)yZ=()=>{if(!w||!I)return"";let Y=XJ(I);if(!Y)return"";let z=D.filter((u)=>XJ(u)===Y);if(!(z.length>1))return"";let j=GJ.has(Y);if(z.indexOf(I)>0)return"← to collapse";return j?"← to collapse":"→ to expand"},J[84]=D,J[85]=GJ,J[86]=I,J[87]=yZ;else yZ=J[87];let mZ=yZ,LZ;if(J[88]!==I||J[89]!==F||J[90]!==g)LZ=async()=>{let Y=I?XJ(I):void 0;if(!I||!Y){h("list"),HJ("");return}if(g.trim()){if(await nY(Y,g.trim(),I.fullPath),w&&F)F()}h("list"),HJ("")},J[88]=I,J[89]=F,J[90]=g,J[91]=LZ;else LZ=J[91];let R0=LZ,IZ;if(J[92]===Symbol.for("react.memo_cache_sentinel"))IZ=()=>{h("list"),$("tengu_session_search_toggled",{enabled:!1})},J[92]=IZ;else IZ=J[92];let Kz=IZ,bZ;if(J[93]===Symbol.for("react.memo_cache_sentinel"))bZ=()=>{h("search"),$("tengu_session_search_toggled",{enabled:!0})},J[93]=bZ;else bZ=J[93];let o0=bZ,fZ;if(J[94]!==K||J[95]!==O||J[96]!==A)fZ=async()=>{A.trim();return},J[94]=K,J[95]=O,J[96]=A,J[97]=fZ;else fZ=J[97];let E0=fZ,xZ;if(J[98]!==V.query||J[99]!==V.status||J[100]!==A)xZ=()=>{if(V.status!=="idle"&&V.status!=="searching"){if(V.status==="results"&&V.query!==A||V.status==="error")VZ({status:"idle"})}},J[98]=V.query,J[99]=V.status,J[100]=A,J[101]=xZ;else xZ=J[101];let _Z;if(J[102]!==V||J[103]!==A)_Z=[A,V],J[102]=V,J[103]=A,J[104]=_Z;else _Z=J[104];R.default.useEffect(xZ,_Z);let SZ,pZ;if(J[105]===Symbol.for("react.memo_cache_sentinel"))SZ=()=>()=>{HZ.current?.abort()},pZ=[],J[105]=SZ,J[106]=pZ;else SZ=J[105],pZ=J[106];R.default.useEffect(SZ,pZ);let t0=R.default.useRef(V.status),uZ;if(J[107]!==V.status||J[108]!==D[0]||J[109]!==D.length||J[110]!==WJ)uZ=()=>{let Y=t0.current;if(t0.current=V.status,Y==="searching"&&V.status==="results"){if(w&&WJ.length>0)wJ(WJ[0]);else if(!w&&D.length>0){let z=D[0];wJ({id:"0",value:{log:z,indexInFiltered:0},label:""})}}},J[107]=V.status,J[108]=D[0],J[109]=D.length,J[110]=WJ,J[111]=uZ;else uZ=J[111];let hZ;if(J[112]!==V.status||J[113]!==D||J[114]!==WJ)hZ=[V.status,w,WJ,D],J[112]=V.status,J[113]=D,J[114]=WJ,J[115]=hZ;else hZ=J[115];R.default.useEffect(uZ,hZ);let $Z;if(J[116]!==D)$Z=(Y)=>{let z=parseInt(Y,10),q=D[z];if(!q||qJ.current===z.toString())return;qJ.current=z.toString(),wJ({id:z.toString(),value:{log:q,indexInFiltered:z},label:""}),lJ(z+1)},J[116]=D,J[117]=$Z;else $Z=J[117];let A0=$Z,cZ;if(J[118]!==D)cZ=(Y)=>{wJ(Y);let z=D.findIndex((q)=>XJ(q)===XJ(Y.value.log));if(z>=0)lJ(z+1)},J[118]=D,J[119]=cZ;else cZ=J[119];let j0=cZ,gZ;if(J[120]===Symbol.for("react.memo_cache_sentinel"))gZ=()=>{HZ.current?.abort(),VZ({status:"idle"}),$("tengu_agentic_search_cancelled",{})},J[120]=gZ;else gZ=J[120];let F0=P!=="preview"&&V.status==="searching",iZ;if(J[121]!==F0)iZ={context:"Confirmation",isActive:F0},J[121]=F0,J[122]=iZ;else iZ=J[122];$J("confirm:no",gZ,iZ);let rZ;if(J[123]===Symbol.for("react.memo_cache_sentinel"))rZ=()=>{h("list"),HJ("")},J[123]=rZ;else rZ=J[123];let w0=P==="rename"&&V.status!=="searching",lZ;if(J[124]!==w0)lZ={context:"Settings",isActive:w0},J[124]=w0,J[125]=lZ;else lZ=J[125];$J("confirm:no",rZ,lZ);let dZ;if(J[126]!==Q||J[127]!==dJ)dZ=()=>{dJ(""),BZ(!1),Q?.()},J[126]=Q,J[127]=dJ,J[128]=dZ;else dZ=J[128];let T0=P!=="preview"&&P!=="rename"&&P!=="search"&&t&&V.status!=="searching",nZ;if(J[129]!==T0)nZ={context:"Confirmation",isActive:T0},J[129]=T0,J[130]=nZ;else nZ=J[130];$J("confirm:no",dZ,nZ);let aZ;if(J[131]!==V.status||J[132]!==c||J[133]!==I||J[134]!==E0||J[135]!==n||J[136]!==DJ||J[137]!==t||J[138]!==O||J[139]!==W||J[140]!==A||J[141]!==dJ||J[142]!==C||J[143]!==d||J[144]!==zJ||J[145]!==SJ||J[146]!==P)aZ=(Y,z)=>{if(P==="preview")return;if(V.status==="searching")return;if(P==="rename");else if(P==="search"){if(Y.toLowerCase()==="n"&&z.ctrl)Kz();else if(z.return||z.downArrow)A.trim()}else{if(t){if(z.return){E0(),BZ(!1);return}else if(z.downArrow){BZ(!1);return}else if(z.upArrow){h("search"),BZ(!1);return}}if(DJ&&z.tab){let x=z.shift?-1:1;xJ((u)=>{let LJ=((u<zJ.length?u:0)+zJ.length+x)%zJ.length,EJ=zJ[LJ];return $("tengu_session_tag_filter_changed",{is_all:EJ==="All",tag_count:SJ.length}),LJ});return}let q=!z.ctrl&&!z.meta,j=Y.toLowerCase();if(j==="a"&&z.ctrl&&W)W(),$("tengu_session_all_projects_toggled",{enabled:!C});else if(j==="b"&&z.ctrl){let x=!c;BJ(x),$("tengu_session_branch_filter_toggled",{enabled:x})}else if(j==="w"&&z.ctrl&&n){let x=!d;cJ(x),$("tengu_session_worktree_filter_toggled",{enabled:x})}else if(j==="/"&&q)h("search"),$("tengu_session_search_toggled",{enabled:!0});else if(j==="r"&&z.ctrl&&I)h("rename"),HJ(""),$("tengu_session_rename_started",{});else if(j==="v"&&z.ctrl&&I)k(I),h("preview"),$("tengu_session_preview_opened",{messageCount:I.messageCount});else if(I&&q&&Y.length>0&&!/^\s+$/.test(Y))h("search"),dJ(Y),$("tengu_session_search_toggled",{enabled:!0})}},J[131]=V.status,J[132]=c,J[133]=I,J[134]=E0,J[135]=n,J[136]=DJ,J[137]=t,J[138]=O,J[139]=W,J[140]=A,J[141]=dJ,J[142]=C,J[143]=d,J[144]=zJ,J[145]=SJ,J[146]=P,J[147]=aZ;else aZ=J[147];let sZ;if(J[148]===Symbol.for("react.memo_cache_sentinel"))sZ={isActive:!0},J[148]=sZ;else sZ=J[148];xY(aZ,sZ);let vJ;if(J[149]!==c||J[150]!==M||J[151]!==n||J[152]!==d){if(vJ=[],c&&M)vJ.push(M);if(n&&!d)vJ.push("current worktree");J[149]=c,J[150]=M,J[151]=n,J[152]=d,J[153]=vJ}else vJ=J[153];let Uz=8+(vJ.length>0&&P!=="search"?1:0)+zz,KJ=Math.max(1,Math.floor((S-Uz-2)/3)),oZ,tZ;if(J[154]!==D.length||J[155]!==ZJ||J[156]!==T||J[157]!==KJ)oZ=()=>{if(!T)return;let Y=KJ*2;if(ZJ+Y>=D.length)T(KJ*3)},tZ=[ZJ,KJ,D.length,T],J[154]=D.length,J[155]=ZJ,J[156]=T,J[157]=KJ,J[158]=oZ,J[159]=tZ;else oZ=J[158],tZ=J[159];if(R.default.useEffect(oZ,tZ),K.length===0)return null;if(P==="preview"&&H&&w){let Y;if(J[160]===Symbol.for("react.memo_cache_sentinel"))Y=()=>{h("list"),k(null)},J[160]=Y;else Y=J[160];let z;if(J[161]!==v||J[162]!==H)z=U(QY,{log:H,onExit:Y,onSelect:v}),J[161]=v,J[162]=H,J[163]=z;else z=J[163];return z}let y0=S-1,eZ;if(J[164]===Symbol.for("react.memo_cache_sentinel"))eZ=U(b,{flexShrink:0,children:U(pY,{color:"suggestion"})}),J[164]=eZ;else eZ=J[164];let J0;if(J[165]===Symbol.for("react.memo_cache_sentinel"))J0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[165]=J0;else J0=J[165];let aJ;if(J[166]!==L||J[167]!==D.length||J[168]!==RZ||J[169]!==ZJ||J[170]!==DJ||J[171]!==C||J[172]!==zJ||J[173]!==P||J[174]!==KJ)aJ=DJ?U(NY,{tabs:zJ,selectedIndex:RZ,availableWidth:L,showAllProjects:C}):U(b,{flexShrink:0,children:m(N,{bold:!0,color:"suggestion",children:["Resume Session",P==="list"&&D.length>KJ&&m(N,{dimColor:!0,children:[" ","(",ZJ," of ",D.length,")"]})]})}),J[166]=L,J[167]=D.length,J[168]=RZ,J[169]=ZJ,J[170]=DJ,J[171]=C,J[172]=zJ,J[173]=P,J[174]=KJ,J[175]=aJ;else aJ=J[175];let m0=P==="search",sJ;if(J[176]!==E||J[177]!==P0||J[178]!==A||J[179]!==m0)sJ=U($Y,{query:A,isFocused:m0,isTerminalFocused:E,cursorOffset:P0}),J[176]=E,J[177]=P0,J[178]=A,J[179]=m0,J[180]=sJ;else sJ=J[180];let oJ;if(J[181]!==vJ||J[182]!==P)oJ=vJ.length>0&&P!=="search"&&U(b,{flexShrink:0,paddingLeft:2,children:U(N,{dimColor:!0,children:U(NJ,{children:vJ})})}),J[181]=vJ,J[182]=P,J[183]=oJ;else oJ=J[183];let Z0;if(J[184]===Symbol.for("react.memo_cache_sentinel"))Z0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[184]=Z0;else Z0=J[184];let tJ;if(J[185]!==V.status)tJ=V.status==="searching"&&m(b,{paddingLeft:1,flexShrink:0,children:[U(hY,{}),U(N,{children:" Searching…"})]}),J[185]=V.status,J[186]=tJ;else tJ=J[186];let eJ;if(J[187]!==V.results||J[188]!==V.status)eJ=V.status==="results"&&V.results.length>0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"Claude found these results:"})}),J[187]=V.results,J[188]=V.status,J[189]=eJ;else eJ=J[189];let JZ;if(J[190]!==V.results||J[191]!==V.status||J[192]!==uJ)JZ=V.status==="results"&&V.results.length===0&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[190]=V.results,J[191]=V.status,J[192]=uJ,J[193]=JZ;else JZ=J[193];let ZZ;if(J[194]!==V.status||J[195]!==uJ)ZZ=V.status==="error"&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[194]=V.status,J[195]=uJ,J[196]=ZZ;else ZZ=J[196];let YZ;if(J[197]!==V.status||J[198]!==t||J[199]!==O||J[200]!==A)YZ=Boolean(A.trim())&&O&&!1,J[197]=V.status,J[198]=t,J[199]=O,J[200]=A,J[201]=YZ;else YZ=J[201];let zZ;if(J[202]!==V.status||J[203]!==c||J[204]!==L||J[205]!==D||J[206]!==GJ||J[207]!==M0||J[208]!==I||J[209]!==PJ?.id||J[210]!==A0||J[211]!==R0||J[212]!==j0||J[213]!==t||J[214]!==Q||J[215]!==v||J[216]!==QJ||J[217]!==g||J[218]!==WJ||J[219]!==P||J[220]!==KJ)zZ=V.status==="searching"?null:P==="rename"&&I?m(b,{paddingLeft:2,flexDirection:"column",children:[U(N,{bold:!0,children:"Rename session:"}),U(b,{paddingTop:1,children:U(uY,{value:g,onChange:HJ,onSubmit:R0,placeholder:fJ(I,"Enter new session name"),columns:L,cursorOffset:QJ,onChangeCursorOffset:iJ,showCursor:!0})})]}):w?U(EY,{nodes:WJ,onSelect:(Y)=>{v(Y.value.log)},onFocus:j0,onCancel:Q,focusNodeId:PJ?.id,visibleOptionCount:KJ,layout:"expanded",isDisabled:P==="search"||t,hideIndexes:!1,isNodeExpanded:(Y)=>{if(P==="search"||c)return!0;let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;return z?GJ.has(z):!1},onExpand:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>new Set(q).add(z)),$("tengu_session_group_expanded",{})},onCollapse:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>{let j=new Set(q);return j.delete(z),j})},onUpFromFirstItem:o0}):U(B0,{options:M0,onChange:(Y)=>{let z=parseInt(Y,10),q=D[z];if(q)v(q)},visibleOptionCount:KJ,onCancel:Q,onFocus:A0,defaultFocusValue:PJ?.id.toString(),layout:"expanded",isDisabled:P==="search"||t,onUpFromFirstItem:o0}),J[202]=V.status,J[203]=c,J[204]=L,J[205]=D,J[206]=GJ,J[207]=M0,J[208]=I,J[209]=PJ?.id,J[210]=A0,J[211]=R0,J[212]=j0,J[213]=t,J[214]=Q,J[215]=v,J[216]=QJ,J[217]=g,J[218]=WJ,J[219]=P,J[220]=KJ,J[221]=zZ;else zZ=J[221];let KZ;if(J[222]!==V.status||J[223]!==M||J[224]!==f.keyName||J[225]!==f.pending||J[226]!==mZ||J[227]!==n||J[228]!==t||J[229]!==D0||J[230]!==W||J[231]!==C||J[232]!==d||J[233]!==P)KZ=U(b,{paddingLeft:2,children:f.pending?m(N,{dimColor:!0,children:["Press ",f.keyName," again to exit"]}):P==="rename"?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"save"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):V.status==="searching"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Searching with Claude…"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):t?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"search"}),U(UJ,{shortcut:"↓",action:"skip"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):P==="search"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Type to Search"}),U(UJ,{shortcut:"Enter",action:"select"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"clear"})]})}):U(N,{dimColor:!0,children:m(NJ,{children:[W&&U(UJ,{shortcut:"Ctrl+A",action:`show ${C?"current dir":"all projects"}`}),M&&U(UJ,{shortcut:"Ctrl+B",action:"toggle branch"}),n&&U(UJ,{shortcut:"Ctrl+W",action:`show ${d?"current worktree":"all worktrees"}`}),U(UJ,{shortcut:"Ctrl+V",action:"preview"}),U(UJ,{shortcut:"Ctrl+R",action:"rename"}),U(N,{children:"Type to search"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"}),mZ()&&U(N,{children:mZ()})]})})}),J[222]=V.status,J[223]=M,J[224]=f.keyName,J[225]=f.pending,J[226]=mZ,J[227]=n,J[228]=t,J[229]=D0,J[230]=W,J[231]=C,J[232]=d,J[233]=P,J[234]=KZ;else KZ=J[234];let Y0;if(J[235]!==y0||J[236]!==aJ||J[237]!==sJ||J[238]!==oJ||J[239]!==tJ||J[240]!==eJ||J[241]!==JZ||J[242]!==ZZ||J[243]!==YZ||J[244]!==zZ||J[245]!==KZ)Y0=m(b,{flexDirection:"column",height:y0,children:[eZ,J0,aJ,sJ,oJ,Z0,tJ,eJ,JZ,ZZ,YZ,zZ,KZ]}),J[235]=y0,J[236]=aJ,J[237]=sJ,J[238]=oJ,J[239]=tJ,J[240]=eJ,J[241]=JZ,J[242]=ZZ,J[243]=YZ,J[244]=zZ,J[245]=KZ,J[246]=Y0;else Y0=J[246];return Y0}function pz(Z){return Z.log}function uz(Z){return Z.messages[0]?.uuid}function hz(Z,J,K,B){let G=Z.search(J);G.sort(cz),K({results:G.map($z),query:J}),B(!1)}function $z(Z){return{log:Z.item.log,score:Z.score,searchableText:Z.item.searchableText}}function cz(Z,J){let K=new Date(Z.item.log.modified).getTime(),G=new Date(J.item.log.modified).getTime()-K;if(Math.abs(G)>xz)return G;return(Z.score??1)-(J.score??1)}function gz(Z){let J=wY(),K=XJ(Z);if(J&&K===J)return!0;if(Z.customTitle)return!0;if(gY(Z.messages))return!0;if(Z.firstPrompt||Z.customTitle)return!0;return!1}function iz(Z){return[Z,lz(Z)]}function rz(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function lz(Z){let K=(Z.messages.length<=fz?Z.messages:[...Z.messages.slice(0,jY),...Z.messages.slice(-jY)]).map(rz).filter(Boolean).join(" "),G=`${[Z.customTitle,Z.summary,Z.firstPrompt,Z.gitBranch,Z.tag,Z.prNumber?`PR #${Z.prNumber}`:void 0,Z.prRepository].filter(Boolean).join(" ")} ${K}`.trim();return G.length>FY?G.slice(0,FY):G}function dz(Z){let J=new Map;for(let K of Z){let B=XJ(K);if(B){let G=J.get(B);if(G)G.push(K);else J.set(B,[K])}}return J.forEach((K)=>K.sort((B,G)=>new Date(G.modified).getTime()-new Date(B.modified).getTime())),J}function nz(Z){let J=new Set;for(let K of Z)if(K.tag)J.add(K.tag);return Array.from(J).sort((K,B)=>K.localeCompare(B))}var lY,R,Iz=2,bz=4,fz=2000,jY=1000,FY=50000,xz=60000,_z=50;var az=XZ(()=>{Cz();TY();jz();mz();Az();Rz();U0();KY();Nz();I0();Lz();Mz();mY();V0();Ez();XY();MY();VY();Fz();UY();yz();OY();Tz();CY();wz();AY();bJ();lY=UZ(f0(),1),R=UZ(b0(),1)});function YK(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function Jz(Z){if(Z.length===0)return"";let K=(Z.length<=g0?Z:[...Z.slice(0,g0/2),...Z.slice(-g0/2)]).map(YK).filter(Boolean).join(" ").replace(/\s+/g," ").trim();return K.length>aY?K.slice(0,aY)+"…":K}function sY(Z,J){if(fJ(Z).toLowerCase().includes(J))return!0;if(Z.customTitle?.toLowerCase().includes(J))return!0;if(Z.tag?.toLowerCase().includes(J))return!0;if(Z.gitBranch?.toLowerCase().includes(J))return!0;if(Z.summary?.toLowerCase().includes(J))return!0;if(Z.firstPrompt?.toLowerCase().includes(J))return!0;if(Z.messages&&Z.messages.length>0){if(Jz(Z.messages).toLowerCase().includes(J))return!0}return!1}async function QU(Z,J,K){if(!Z.trim()||J.length===0)return[];let B=Z.toLowerCase(),G=J.filter((X)=>sY(X,B)),Q;if(G.length>=i0)Q=G.slice(0,i0);else{let X=J.filter((O)=>!sY(O,B)),W=i0-G.length;Q=[...G,...X.slice(0,W)]}CJ(`Agentic search: ${Q.length}/${J.length} logs, query="${Z}", matching: ${G.length}, with messages: ${r0(Q,(X)=>X.messages?.length>0)}`);let v=Q.map(async(X)=>{if(GZ(X))try{return await X0(X)}catch(W){return l0(W),X}return X}),F=await Promise.all(v);CJ(`Agentic search: loaded ${r0(F,(X)=>X.messages?.length>0)}/${Q.length} logs with transcripts`);let i=`Sessions:
6
- ${F.map((X,W)=>{let O=[`${W}:`],S=fJ(X);if(O.push(S),X.customTitle&&X.customTitle!==S)O.push(`[custom title: ${X.customTitle}]`);if(X.tag)O.push(`[tag: ${X.tag}]`);if(X.gitBranch)O.push(`[branch: ${X.gitBranch}]`);if(X.summary)O.push(`- Summary: ${X.summary}`);if(X.firstPrompt&&X.firstPrompt!=="No prompt")O.push(`- First message: ${X.firstPrompt.slice(0,300)}`);if(X.messages&&X.messages.length>0){let C=Jz(X.messages);if(C)O.push(`- Transcript: ${C}`)}return O.join(" ")}).join(`
7
- `)}
8
-
9
- Search query: "${Z}"
10
-
11
- Find the sessions that are most relevant to this query.`;CJ(`Agentic search prompt (first 500 chars): ${i.slice(0,500)}...`);try{let X=tY();CJ(`Agentic search using model: ${X}`);let O=(await eY({model:X,system:ZK,messages:[{role:"user",content:i}],signal:K,querySource:"session_search"})).content.find((f)=>f.type==="text");if(!O||O.type!=="text")return CJ("No text content in agentic search response"),[];CJ(`Agentic search response: ${O.text}`);let S=O.text.match(/\{[\s\S]*\}/);if(!S)return CJ("Could not find JSON in agentic search response"),[];let L=(oY(S[0]).relevant_indices||[]).filter((f)=>f>=0&&f<F.length).map((f)=>F[f]);return CJ(`Agentic search found ${L.length} relevant sessions`),L}catch(X){return l0(X),CJ(`Agentic search error: ${X}`),[]}}var aY=2000,g0=100,i0=100,ZK=`Your goal is to find relevant sessions based on a user's search query.
12
-
13
- You will be given a list of sessions with their metadata and a search query. Identify which sessions are most relevant to the query.
14
-
15
- Each session may include:
16
- - Title (display name or custom title)
17
- - Tag (user-assigned category, shown as [tag: name] - users tag sessions with /tag command to categorize them)
18
- - Branch (git branch name, shown as [branch: name])
19
- - Summary (AI-generated summary)
20
- - First message (beginning of the conversation)
21
- - Transcript (excerpt of conversation content)
22
-
23
- IMPORTANT: Tags are user-assigned labels that indicate the session's topic or category. If the query matches a tag exactly or partially, those sessions should be highly prioritized.
24
-
25
- For each session, consider (in order of priority):
26
- 1. Exact tag matches (highest priority - user explicitly categorized this session)
27
- 2. Partial tag matches or tag-related terms
28
- 3. Title matches (custom titles or first message content)
29
- 4. Branch name matches
30
- 5. Summary and transcript content matches
31
- 6. Semantic similarity and related concepts
32
-
33
- CRITICAL: Be VERY inclusive in your matching. Include sessions that:
34
- - Contain the query term anywhere in any field
35
- - Are semantically related to the query (e.g., "testing" matches sessions about "tests", "unit tests", "QA", etc.)
36
- - Discuss topics that could be related to the query
37
- - Have transcripts that mention the concept even in passing
38
-
39
- When in doubt, INCLUDE the session. It's better to return too many results than too few. The user can easily scan through results, but missing relevant sessions is frustrating.
40
-
41
- Return sessions ordered by relevance (most relevant first). If truly no sessions have ANY connection to the query, return an empty array - but this should be rare.
42
-
43
- Respond with ONLY the JSON object, no markdown formatting:
44
- {"relevant_indices": [2, 5, 0]}`;var zK=XZ(()=>{tz();oz();mY();ez();V0();JK();sz()});function WU(Z,J,K){let B=H0();if(!J||!Z.projectPath||Z.projectPath===B)return{isCrossProject:!1};let G=XJ(Z);return{isCrossProject:!0,isSameRepoWorktree:!1,command:`cd ${Zz([Z.projectPath])} && claude --resume ${G}`,projectPath:Z.projectPath}}var UK=XZ(()=>{TY();KK();V0()});
45
- export{YU as Ae,az as Be,QU as Ce,zK as De,WU as Ee,UK as Fe};
@@ -1,2 +0,0 @@
1
- import{Ns as I,Qs as X}from"./cli-1.0.17-qx980gch.mjs";import{Oka as H,Yka as W}from"./cli-1.0.17-1d9ccn16.mjs";import{ksa as V}from"./cli-1.0.17-h101c40b.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{EX as YJ,IX as DJ,MX as vJ,NX as c,OX as SJ,WX as ZJ}from"./cli-1.0.17-qde4391n.mjs";import{i3 as CJ,p3 as TJ}from"./cli-1.0.17-f5mwgpmm.mjs";import{$_ as xJ,A_ as OJ,B_ as FJ,Bga as wJ,Tda as S,Vda as yJ,eaa as jJ,tga as p,x$ as NJ}from"./cli-1.0.17-ksmypgky.mjs";import{eia as R,gia as VJ,hia as w,iia as XJ}from"./cli-1.0.17-142ww3xz.mjs";import{Gja as v,Hja as y,Lja as JJ,bka as G,eka as QJ}from"./cli-1.0.17-082vgztb.mjs";import{Bka as W,Cka as C,Ika as e}from"./cli-1.0.17-89p1ntv1.mjs";import{Lka as s,Mka as I,Oka as t,Yka as a}from"./cli-1.0.17-1d9ccn16.mjs";import{Bqa as m,Cma as d,Lpa as L,roa as i,yma as r,zma as MJ}from"./cli-1.0.17-jktkjeyp.mjs";import{ksa as T,lsa as BJ}from"./cli-1.0.17-h101c40b.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.17-mkfb3tvt.mjs"),import("./detection-1.0.17-3evcsm4n.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 fV,UQ as gV,BQ as hV,fJ as iV,OQ as jV,xQ as kV,CQ as lV,_J as mV,E as nV,bJ as oV,vQ as pV,O as qV,j as rV,SQ as sV,h as tV,AQ as uV,zQ as vV,MQ as wV,HJ as xV,n as yV,UJ as zV,oQ as AV,zJ as BV,nQ as CV,u as DV,F as EV,H as FV,kJ as GV,rJ as HV,kQ as IV,rQ as JV,dQ as KV,iQ as LV,mQ as MV,dJ as NV,sQ as OV,tQ as PV,aQ as QV,eQ as RV,JV as SV,QV as TV,sJ as UV,tJ as VV};
@@ -1,4 +0,0 @@
1
- import{hha as X,lha as w,mha as L,nha as _}from"./cli-1.0.17-bheyzxzm.mjs";import{_ia as MD,bja as cD}from"./cli-1.0.17-hb445h5r.mjs";import{Jja as jD,Lja as rD,Pja as ND,Tja as aD,bka as x,eka as dD}from"./cli-1.0.17-082vgztb.mjs";import{Lka as zD,Oka as HD,Yka as mD}from"./cli-1.0.17-1d9ccn16.mjs";import{Bqa as PD,Cma as UD}from"./cli-1.0.17-jktkjeyp.mjs";import{gsa as LD,isa as bD,ksa as V,lsa as hD}from"./cli-1.0.17-h101c40b.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 Cga,o as Dga,O as Ega,t as Fga,$ as Gga,QD as Hga,TD as Iga,U as Jga,y as Kga,VD as Lga,WD as Mga,$D as Nga,M as Oga,wu as Pga,Lu as Qga,pD as Rga,Iu as Sga,qD as Tga,lD as Uga,xu as Vga,gD as Wga,Su as Xga,XD as Yga,H as Zga,z as _ga,YD as $ga,JD as aha,eD as bha,tD as cha,du as dha,Du as eha,uu as fha,Fu as gha};
@@ -1,2 +0,0 @@
1
- import{jsa as x,ksa as z}from"./cli-1.0.17-h101c40b.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
- export{A as k2,F as l2,G as m2,H as n2,J as o2};
@@ -1,15 +0,0 @@
1
- import{isa as T,ksa as J5,lsa as M}from"./cli-1.0.17-h101c40b.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
2
- ]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
3
- Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
4
- Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
5
- The chosen QR Code version cannot contain this amount of data.
6
- Minimum version required to store current data is: `+F+`.
7
- `);let K=p6(q,Z,Q),U=Y0.getSymbolSize(q),R=new u6(U);if(b6(R,q),m6(R),x6(R,q),u0(R,Z,0),q>=7)l6(R,q);if(n6(R,K),isNaN(J))J=D0.getBestMask(R,u0.bind(null,R,Z));return D0.applyMask(J,R),u0(R,Z,J),{modules:R,version:q,errorCorrectionLevel:Z,maskPattern:J,segments:Q}}i6.create=function(q,Z){if(typeof q>"u"||q==="")throw Error("No input text");let J=y0.M,Q,F;if(typeof Z<"u"){if(J=y0.from(Z.errorCorrectionLevel,y0.M),Q=H0.from(Z.version),F=D0.from(Z.maskPattern),Z.toSJISFunc)Y0.setToSJISFunction(Z.toSJISFunc)}return r6(q,Q,J,F)}});var v0=T((c5,Q7)=>{var o6=M("util"),J7=M("stream"),S=Q7.exports=function(){J7.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};o6.inherits(S,J7);S.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q}),process.nextTick(function(){if(this._process(),this._paused&&this._reads&&this._reads.length>0)this._paused=!1,this.emit("drain")}.bind(this))};S.prototype.write=function($,q){if(!this.writable)return this.emit("error",Error("Stream not writable")),!1;let Z;if(Buffer.isBuffer($))Z=$;else Z=Buffer.from($,q||this._encoding);if(this._buffers.push(Z),this._buffered+=Z.length,this._process(),this._reads&&this._reads.length===0)this._paused=!0;return this.writable&&!this._paused};S.prototype.end=function($,q){if($)this.write($,q);if(this.writable=!1,!this._buffers)return;if(this._buffers.length===0)this._end();else this._buffers.push(null),this._process()};S.prototype.destroySoon=S.prototype.end;S.prototype._end=function(){if(this._reads.length>0)this.emit("error",Error("Unexpected end of input"));this.destroy()};S.prototype.destroy=function(){if(!this._buffers)return;this.writable=!1,this._reads=null,this._buffers=null,this.emit("close")};S.prototype._processReadAllowingLess=function($){this._reads.shift();let q=this._buffers[0];if(q.length>$.length)this._buffered-=$.length,this._buffers[0]=q.slice($.length),$.func.call(this,q.slice(0,$.length));else this._buffered-=q.length,this._buffers.shift(),$.func.call(this,q)};S.prototype._processRead=function($){this._reads.shift();let q=0,Z=0,J=Buffer.alloc($.length);while(q<$.length){let Q=this._buffers[Z++],F=Math.min(Q.length,$.length-q);if(Q.copy(J,q,0,F),q+=F,F!==Q.length)this._buffers[--Z]=Q.slice(F)}if(Z>0)this._buffers.splice(0,Z);this._buffered-=$.length,$.func.call(this,J)};S.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){let $=this._reads[0];if($.allowLess)this._processReadAllowingLess($);else if(this._buffered>=$.length)this._processRead($);else break}if(this._buffers&&!this.writable)this._end()}catch($){this.emit("error",$)}}});var c0=T((t6)=>{var h=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t6.getImagePasses=function($,q){let Z=[],J=$%8,Q=q%8,F=($-J)/8,K=(q-Q)/8;for(let U=0;U<h.length;U++){let R=h[U],H=F*R.x.length,Y=K*R.y.length;for(let E=0;E<R.x.length;E++)if(R.x[E]<J)H++;else break;for(let E=0;E<R.y.length;E++)if(R.y[E]<Q)Y++;else break;if(H>0&&Y>0)Z.push({width:H,height:Y,index:U})}return Z};t6.getInterlaceIterator=function($){return function(q,Z,J){let Q=q%h[J].x.length,F=(q-Q)/h[J].x.length*8+h[J].x[Q],K=Z%h[J].y.length,U=(Z-K)/h[J].y.length*8+h[J].y[K];return F*4+U*$*4}}});var b0=T((m5,F7)=>{F7.exports=function(q,Z,J){let Q=q+Z-J,F=Math.abs(Q-q),K=Math.abs(Q-Z),U=Math.abs(Q-J);if(F<=K&&F<=U)return q;if(K<=U)return Z;return J}});var m0=T((x5,U7)=>{var qq=c0(),$q=b0();function K7($,q,Z){let J=$*q;if(Z!==8)J=Math.ceil(J/(8/Z));return J}var p=U7.exports=function($,q){let{width:Z,height:J,interlace:Q,bpp:F,depth:K}=$;if(this.read=q.read,this.write=q.write,this.complete=q.complete,this._imageIndex=0,this._images=[],Q){let U=qq.getImagePasses(Z,J);for(let R=0;R<U.length;R++)this._images.push({byteWidth:K7(U[R].width,F,K),height:U[R].height,lineIndex:0})}else this._images.push({byteWidth:K7(Z,F,K),height:J,lineIndex:0});if(K===8)this._xComparison=F;else if(K===16)this._xComparison=F*2;else this._xComparison=1};p.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};p.prototype._unFilterType1=function($,q,Z){let J=this._xComparison,Q=J-1;for(let F=0;F<Z;F++){let K=$[1+F],U=F>Q?q[F-J]:0;q[F]=K+U}};p.prototype._unFilterType2=function($,q,Z){let J=this._lastLine;for(let Q=0;Q<Z;Q++){let F=$[1+Q],K=J?J[Q]:0;q[Q]=F+K}};p.prototype._unFilterType3=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=Math.floor((H+R)/2);q[K]=U+Y}};p.prototype._unFilterType4=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=K>Q&&F?F[K-J]:0,E=$q(H,R,Y);q[K]=U+E}};p.prototype._reverseFilterLine=function($){let q=$[0],Z,J=this._images[this._imageIndex],Q=J.byteWidth;if(q===0)Z=$.slice(1,Q+1);else switch(Z=Buffer.alloc(Q),q){case 1:this._unFilterType1($,Z,Q);break;case 2:this._unFilterType2($,Z,Q);break;case 3:this._unFilterType3($,Z,Q);break;case 4:this._unFilterType4($,Z,Q);break;default:throw Error("Unrecognised filter type - "+q)}if(this.write(Z),J.lineIndex++,J.lineIndex>=J.height)this._lastLine=null,this._imageIndex++,J=this._images[this._imageIndex];else this._lastLine=Z;if(J)this.read(J.byteWidth+1,this._reverseFilterLine.bind(this));else this._lastLine=null,this.complete()}});var Y7=T((l5,H7)=>{var Zq=M("util"),R7=v0(),Jq=m0(),Qq=H7.exports=function($){R7.call(this);let q=[],Z=this;this._filter=new Jq($,{read:this.read.bind(this),write:function(J){q.push(J)},complete:function(){Z.emit("complete",Buffer.concat(q))}}),this._filter.start()};Zq.inherits(Qq,R7)});var d=T((n5,E7)=>{E7.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var n0=T((p5,O7)=>{var x0=[];(function(){for(let $=0;$<256;$++){let q=$;for(let Z=0;Z<8;Z++)if(q&1)q=3988292384^q>>>1;else q=q>>>1;x0[$]=q}})();var l0=O7.exports=function(){this._crc=-1};l0.prototype.write=function($){for(let q=0;q<$.length;q++)this._crc=x0[(this._crc^$[q])&255]^this._crc>>>8;return!0};l0.prototype.crc32=function(){return this._crc^-1};l0.crc32=function($){let q=-1;for(let Z=0;Z<$.length;Z++)q=x0[(q^$[Z])&255]^q>>>8;return q^-1}});var p0=T((d5,T7)=>{var j=d(),Fq=n0(),_=T7.exports=function($,q){this._options=$,$.checkCRC=$.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[j.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[j.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[j.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[j.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[j.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[j.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=q.read,this.error=q.error,this.metadata=q.metadata,this.gamma=q.gamma,this.transColor=q.transColor,this.palette=q.palette,this.parsed=q.parsed,this.inflateData=q.inflateData,this.finished=q.finished,this.simpleTransparency=q.simpleTransparency,this.headersFinished=q.headersFinished||function(){}};_.prototype.start=function(){this.read(j.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_.prototype._parseSignature=function($){let q=j.PNG_SIGNATURE;for(let Z=0;Z<q.length;Z++)if($[Z]!==q[Z]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};_.prototype._parseChunkBegin=function($){let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J="";for(let F=4;F<8;F++)J+=String.fromCharCode($[F]);let Q=Boolean($[4]&32);if(!this._hasIHDR&&Z!==j.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new Fq,this._crc.write(Buffer.from(J)),this._chunks[Z])return this._chunks[Z](q);if(!Q){this.error(Error("Unsupported critical chunk type "+J));return}this.read(q+4,this._skipChunk.bind(this))};_.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_.prototype._parseChunkEnd=function($){let q=$.readInt32BE(0),Z=this._crc.crc32();if(this._options.checkCRC&&Z!==q){this.error(Error("Crc error - "+q+" - "+Z));return}if(!this._hasIEND)this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleIHDR=function($){this.read($,this._parseIHDR.bind(this))};_.prototype._parseIHDR=function($){this._crc.write($);let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J=$[8],Q=$[9],F=$[10],K=$[11],U=$[12];if(J!==8&&J!==4&&J!==2&&J!==1&&J!==16){this.error(Error("Unsupported bit depth "+J));return}if(!(Q in j.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(F!==0){this.error(Error("Unsupported compression method"));return}if(K!==0){this.error(Error("Unsupported filter method"));return}if(U!==0&&U!==1){this.error(Error("Unsupported interlace method"));return}this._colorType=Q;let R=j.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:q,height:Z,depth:J,interlace:Boolean(U),palette:Boolean(Q&j.COLORTYPE_PALETTE),color:Boolean(Q&j.COLORTYPE_COLOR),alpha:Boolean(Q&j.COLORTYPE_ALPHA),bpp:R,colorType:Q}),this._handleChunkEnd()};_.prototype._handlePLTE=function($){this.read($,this._parsePLTE.bind(this))};_.prototype._parsePLTE=function($){this._crc.write($);let q=Math.floor($.length/3);for(let Z=0;Z<q;Z++)this._palette.push([$[Z*3],$[Z*3+1],$[Z*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};_.prototype._handleTRNS=function($){this.simpleTransparency(),this.read($,this._parseTRNS.bind(this))};_.prototype._parseTRNS=function($){if(this._crc.write($),this._colorType===j.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(Error("Transparency chunk must be after palette"));return}if($.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let q=0;q<$.length;q++)this._palette[q][3]=$[q];this.palette(this._palette)}if(this._colorType===j.COLORTYPE_GRAYSCALE)this.transColor([$.readUInt16BE(0)]);if(this._colorType===j.COLORTYPE_COLOR)this.transColor([$.readUInt16BE(0),$.readUInt16BE(2),$.readUInt16BE(4)]);this._handleChunkEnd()};_.prototype._handleGAMA=function($){this.read($,this._parseGAMA.bind(this))};_.prototype._parseGAMA=function($){this._crc.write($),this.gamma($.readUInt32BE(0)/j.GAMMA_DIVISION),this._handleChunkEnd()};_.prototype._handleIDAT=function($){if(!this._emittedHeadersFinished)this._emittedHeadersFinished=!0,this.headersFinished();this.read(-$,this._parseIDAT.bind(this,$))};_.prototype._parseIDAT=function($,q){if(this._crc.write(q),this._colorType===j.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw Error("Expected palette not found");this.inflateData(q);let Z=$-q.length;if(Z>0)this._handleIDAT(Z);else this._handleChunkEnd()};_.prototype._handleIEND=function($){this.read($,this._parseIEND.bind(this))};_.prototype._parseIEND=function($){if(this._crc.write($),this._hasIEND=!0,this._handleChunkEnd(),this.finished)this.finished()}});var d0=T((Eq)=>{var X7=c0(),Kq=[function(){},function($,q,Z,J){if(J===q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=255},function($,q,Z,J){if(J+1>=q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=q[J+1]},function($,q,Z,J){if(J+2>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=255},function($,q,Z,J){if(J+3>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=q[J+3]}],Uq=[function(){},function($,q,Z,J){let Q=q[0];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=J},function($,q,Z){let J=q[0];$[Z]=J,$[Z+1]=J,$[Z+2]=J,$[Z+3]=q[1]},function($,q,Z,J){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=J},function($,q,Z){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=q[3]}];function Rq($,q){let Z=[],J=0;function Q(){if(J===$.length)throw Error("Ran out of data");let F=$[J];J++;let K,U,R,H,Y,E,O,X;switch(q){default:throw Error("unrecognised depth");case 16:O=$[J],J++,Z.push((F<<8)+O);break;case 4:O=F&15,X=F>>4,Z.push(X,O);break;case 2:Y=F&3,E=F>>2&3,O=F>>4&3,X=F>>6&3,Z.push(X,O,E,Y);break;case 1:K=F&1,U=F>>1&1,R=F>>2&1,H=F>>3&1,Y=F>>4&1,E=F>>5&1,O=F>>6&1,X=F>>7&1,Z.push(X,O,E,Y,H,R,U,K);break}}return{get:function(F){while(Z.length<F)Q();let K=Z.slice(0,F);return Z=Z.slice(F),K},resetAfterLine:function(){Z.length=0},end:function(){if(J!==$.length)throw Error("extra data found")}}}function Hq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++)for(let Y=0;Y<K;Y++){let E=Z(Y,H,R);Kq[J](q,Q,E,F),F+=J}return F}function Yq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++){for(let Y=0;Y<K;Y++){let E=Q.get(J),O=Z(Y,H,R);Uq[J](q,E,O,F)}Q.resetAfterLine()}}Eq.dataToBitMap=function($,q){let{width:Z,height:J,depth:Q,bpp:F,interlace:K}=q,U;if(Q!==8)U=Rq($,Q);let R;if(Q<=8)R=Buffer.alloc(Z*J*4);else R=new Uint16Array(Z*J*4);let H=Math.pow(2,Q)-1,Y=0,E,O;if(K)E=X7.getImagePasses(Z,J),O=X7.getInterlaceIterator(Z,J);else{let X=0;O=function(){let G=X;return X+=4,G},E=[{width:Z,height:J}]}for(let X=0;X<E.length;X++)if(Q===8)Y=Hq(E[X],R,O,F,$,Y);else Yq(E[X],R,O,F,U,H);if(Q===8){if(Y!==$.length)throw Error("extra data found")}else U.end();return R}});var r0=T((i5,G7)=>{function Tq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=Q[$[F]];if(!R)throw Error("index "+$[F]+" not in palette");for(let H=0;H<4;H++)q[F+H]=R[H];F+=4}}function Xq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=!1;if(Q.length===1){if(Q[0]===$[F])R=!0}else if(Q[0]===$[F]&&Q[1]===$[F+1]&&Q[2]===$[F+2])R=!0;if(R)for(let H=0;H<4;H++)q[F+H]=0;F+=4}}function Gq($,q,Z,J,Q){let F=255,K=Math.pow(2,Q)-1,U=0;for(let R=0;R<J;R++)for(let H=0;H<Z;H++){for(let Y=0;Y<4;Y++)q[U+Y]=Math.floor($[U+Y]*F/K+0.5);U+=4}}G7.exports=function($,q){let{depth:Z,width:J,height:Q,colorType:F,transColor:K,palette:U}=q,R=$;if(F===3)Tq($,R,J,Q,U);else{if(K)Xq($,R,J,Q,K);if(Z!==8){if(Z===16)R=Buffer.alloc(J*Q*4);Gq($,R,J,Q,Z)}}return R}});var N7=T((s5,A7)=>{var Vq=M("util"),i0=M("zlib"),V7=v0(),Aq=Y7(),Nq=p0(),Wq=d0(),Mq=r0(),f=A7.exports=function($){V7.call(this),this._parser=new Nq($,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=$,this.writable=!0,this._parser.start()};Vq.inherits(f,V7);f.prototype._handleError=function($){if(this.emit("error",$),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy)this._inflate.destroy();if(this._filter)this._filter.destroy(),this._filter.on("error",function(){});this.errord=!0};f.prototype._inflateData=function($){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i0.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let Z=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,J=Math.max(Z,i0.Z_MIN_CHUNK);this._inflate=i0.createInflate({chunkSize:J});let Q=Z,F=this.emit.bind(this,"error");this._inflate.on("error",function(U){if(!Q)return;F(U)}),this._filter.on("complete",this._complete.bind(this));let K=this._filter.write.bind(this._filter);this._inflate.on("data",function(U){if(!Q)return;if(U.length>Q)U=U.slice(0,Q);Q-=U.length,K(U)}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write($)};f.prototype._handleMetaData=function($){this._metaData=$,this._bitmapInfo=Object.create($),this._filter=new Aq(this._bitmapInfo)};f.prototype._handleTransColor=function($){this._bitmapInfo.transColor=$};f.prototype._handlePalette=function($){this._bitmapInfo.palette=$};f.prototype._simpleTransparency=function(){this._metaData.alpha=!0};f.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};f.prototype._finished=function(){if(this.errord)return;if(!this._inflate)this.emit("error","No Inflate block");else this._inflate.end()};f.prototype._complete=function($){if(this.errord)return;let q;try{let Z=Wq.dataToBitMap($,this._bitmapInfo);q=Mq(Z,this._bitmapInfo),Z=null}catch(Z){this._handleError(Z);return}this.emit("parsed",q)}});var M7=T((o5,W7)=>{var k=d();W7.exports=function($,q,Z,J){let Q=[k.COLORTYPE_COLOR_ALPHA,k.COLORTYPE_ALPHA].indexOf(J.colorType)!==-1;if(J.colorType===J.inputColorType){let G=function(){let A=new ArrayBuffer(2);return new DataView(A).setInt16(0,256,!0),new Int16Array(A)[0]!==256}();if(J.bitDepth===8||J.bitDepth===16&&G)return $}let F=J.bitDepth!==16?$:new Uint16Array($.buffer),K=255,U=k.COLORTYPE_TO_BPP_MAP[J.inputColorType];if(U===4&&!J.inputHasAlpha)U=3;let R=k.COLORTYPE_TO_BPP_MAP[J.colorType];if(J.bitDepth===16)K=65535,R*=2;let H=Buffer.alloc(q*Z*R),Y=0,E=0,O=J.bgColor||{};if(O.red===void 0)O.red=K;if(O.green===void 0)O.green=K;if(O.blue===void 0)O.blue=K;function X(){let G,A,V,W=K;switch(J.inputColorType){case k.COLORTYPE_COLOR_ALPHA:W=F[Y+3],G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_COLOR:G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_ALPHA:W=F[Y+1],G=F[Y],A=G,V=G;break;case k.COLORTYPE_GRAYSCALE:G=F[Y],A=G,V=G;break;default:throw Error("input color type:"+J.inputColorType+" is not supported at present")}if(J.inputHasAlpha){if(!Q)W/=K,G=Math.min(Math.max(Math.round((1-W)*O.red+W*G),0),K),A=Math.min(Math.max(Math.round((1-W)*O.green+W*A),0),K),V=Math.min(Math.max(Math.round((1-W)*O.blue+W*V),0),K)}return{red:G,green:A,blue:V,alpha:W}}for(let G=0;G<Z;G++)for(let A=0;A<q;A++){let V=X(F,Y);switch(J.colorType){case k.COLORTYPE_COLOR_ALPHA:case k.COLORTYPE_COLOR:if(J.bitDepth===8){if(H[E]=V.red,H[E+1]=V.green,H[E+2]=V.blue,Q)H[E+3]=V.alpha}else if(H.writeUInt16BE(V.red,E),H.writeUInt16BE(V.green,E+2),H.writeUInt16BE(V.blue,E+4),Q)H.writeUInt16BE(V.alpha,E+6);break;case k.COLORTYPE_ALPHA:case k.COLORTYPE_GRAYSCALE:{let W=(V.red+V.green+V.blue)/3;if(J.bitDepth===8){if(H[E]=W,Q)H[E+1]=V.alpha}else if(H.writeUInt16BE(W,E),Q)H.writeUInt16BE(V.alpha,E+2);break}default:throw Error("unrecognised color Type "+J.colorType)}Y+=U,E+=R}return H}});var B7=T((t5,_7)=>{var j7=b0();function jq($,q,Z,J,Q){for(let F=0;F<Z;F++)J[Q+F]=$[q+F]}function _q($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++)J+=Math.abs($[F]);return J}function Bq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=$[q+K]-U;J[Q+K]=R}}function Iq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=$[q+F]-K;Q+=Math.abs(U)}return Q}function Lq($,q,Z,J,Q){for(let F=0;F<Z;F++){let K=q>0?$[q+F-Z]:0,U=$[q+F]-K;J[Q+F]=U}}function zq($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++){let K=q>0?$[F-Z]:0,U=$[F]-K;J+=Math.abs(U)}return J}function kq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=$[q+K]-(U+R>>1);J[Q+K]=H}}function Sq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=$[q+F]-(K+U>>1);Q+=Math.abs(R)}return Q}function wq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=q>0&&K>=F?$[q+K-(Z+F)]:0,Y=$[q+K]-j7(U,R,H);J[Q+K]=Y}}function fq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=q>0&&F>=J?$[q+F-(Z+J)]:0,H=$[q+F]-j7(K,U,R);Q+=Math.abs(H)}return Q}var Cq={0:jq,1:Bq,2:Lq,3:kq,4:wq},yq={0:_q,1:Iq,2:zq,3:Sq,4:fq};_7.exports=function($,q,Z,J,Q){let F;if(!("filterType"in J)||J.filterType===-1)F=[0,1,2,3,4];else if(typeof J.filterType==="number")F=[J.filterType];else throw Error("unrecognised filter types");if(J.bitDepth===16)Q*=2;let K=q*Q,U=0,R=0,H=Buffer.alloc((K+1)*Z),Y=F[0];for(let E=0;E<Z;E++){if(F.length>1){let O=1/0;for(let X=0;X<F.length;X++){let G=yq[F[X]]($,R,K,Q);if(G<O)Y=F[X],O=G}}H[U]=Y,U++,Cq[Y]($,R,K,H,U,Q),U+=K,R+=K}return H}});var s0=T((e5,I7)=>{var B=d(),gq=n0(),uq=M7(),Dq=B7(),hq=M("zlib"),P=I7.exports=function($){if(this._options=$,$.deflateChunkSize=$.deflateChunkSize||32768,$.deflateLevel=$.deflateLevel!=null?$.deflateLevel:9,$.deflateStrategy=$.deflateStrategy!=null?$.deflateStrategy:3,$.inputHasAlpha=$.inputHasAlpha!=null?$.inputHasAlpha:!0,$.deflateFactory=$.deflateFactory||hq.createDeflate,$.bitDepth=$.bitDepth||8,$.colorType=typeof $.colorType==="number"?$.colorType:B.COLORTYPE_COLOR_ALPHA,$.inputColorType=typeof $.inputColorType==="number"?$.inputColorType:B.COLORTYPE_COLOR_ALPHA,[B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.colorType)===-1)throw Error("option color type:"+$.colorType+" is not supported at present");if([B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.inputColorType)===-1)throw Error("option input color type:"+$.inputColorType+" is not supported at present");if($.bitDepth!==8&&$.bitDepth!==16)throw Error("option bit depth:"+$.bitDepth+" is not supported at present")};P.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};P.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};P.prototype.filterData=function($,q,Z){let J=uq($,q,Z,this._options),Q=B.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Dq(J,q,Z,this._options,Q)};P.prototype._packChunk=function($,q){let Z=q?q.length:0,J=Buffer.alloc(Z+12);if(J.writeUInt32BE(Z,0),J.writeUInt32BE($,4),q)q.copy(J,8);return J.writeInt32BE(gq.crc32(J.slice(4,J.length-4)),J.length-4),J};P.prototype.packGAMA=function($){let q=Buffer.alloc(4);return q.writeUInt32BE(Math.floor($*B.GAMMA_DIVISION),0),this._packChunk(B.TYPE_gAMA,q)};P.prototype.packIHDR=function($,q){let Z=Buffer.alloc(13);return Z.writeUInt32BE($,0),Z.writeUInt32BE(q,4),Z[8]=this._options.bitDepth,Z[9]=this._options.colorType,Z[10]=0,Z[11]=0,Z[12]=0,this._packChunk(B.TYPE_IHDR,Z)};P.prototype.packIDAT=function($){return this._packChunk(B.TYPE_IDAT,$)};P.prototype.packIEND=function(){return this._packChunk(B.TYPE_IEND,null)}});var S7=T((a5,k7)=>{var Pq=M("util"),L7=M("stream"),vq=d(),cq=s0(),z7=k7.exports=function($){L7.call(this);let q=$||{};this._packer=new cq(q),this._deflate=this._packer.createDeflate(),this.readable=!0};Pq.inherits(z7,L7);z7.prototype.pack=function($,q,Z,J){if(this.emit("data",Buffer.from(vq.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(q,Z)),J)this.emit("data",this._packer.packGAMA(J));let Q=this._packer.filterData($,q,Z);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(F){this.emit("data",this._packer.packIDAT(F))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(Q)}});var u7=T(($0,g7)=>{var w7=M("assert").ok,r=M("zlib"),bq=M("util"),f7=M("buffer").kMaxLength;function c($){if(!(this instanceof c))return new c($);if($&&$.chunkSize<r.Z_MIN_CHUNK)$.chunkSize=r.Z_MIN_CHUNK;if(r.Inflate.call(this,$),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,$&&$.maxLength!=null)this._maxLength=$.maxLength}function mq($){return new c($)}function C7($,q){if(q)process.nextTick(q);if(!$._handle)return;$._handle.close(),$._handle=null}c.prototype._processChunk=function($,q,Z){if(typeof Z==="function")return r.Inflate._processChunk.call(this,$,q,Z);let J=this,Q=$&&$.length,F=this._chunkSize-this._offset,K=this._maxLength,U=0,R=[],H=0,Y;this.on("error",function(G){Y=G});function E(G,A){if(J._hadError)return;let V=F-A;if(w7(V>=0,"have should not go down"),V>0){let W=J._buffer.slice(J._offset,J._offset+V);if(J._offset+=V,W.length>K)W=W.slice(0,K);if(R.push(W),H+=W.length,K-=W.length,K===0)return!1}if(A===0||J._offset>=J._chunkSize)F=J._chunkSize,J._offset=0,J._buffer=Buffer.allocUnsafe(J._chunkSize);if(A===0)return U+=Q-G,Q=G,!0;return!1}w7(this._handle,"zlib binding closed");let O;do O=this._handle.writeSync(q,$,U,Q,this._buffer,this._offset,F),O=O||this._writeState;while(!this._hadError&&E(O[0],O[1]));if(this._hadError)throw Y;if(H>=f7)throw C7(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+f7.toString(16)+" bytes");let X=Buffer.concat(R,H);return C7(this),X};bq.inherits(c,r.Inflate);function xq($,q){if(typeof q==="string")q=Buffer.from(q);if(!(q instanceof Buffer))throw TypeError("Not a string or buffer");let Z=$._finishFlushFlag;if(Z==null)Z=r.Z_FINISH;return $._processChunk(q,Z)}function y7($,q){return xq(new c(q),$)}g7.exports=$0=y7;$0.Inflate=c;$0.createInflate=mq;$0.inflateSync=y7});var o0=T((q$,h7)=>{var D7=h7.exports=function($){this._buffer=$,this._reads=[]};D7.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q})};D7.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){let $=this._reads[0];if(this._buffer.length&&(this._buffer.length>=$.length||$.allowLess)){this._reads.shift();let q=this._buffer;this._buffer=q.slice($.length),$.func.call(this,q.slice(0,$.length))}else break}if(this._reads.length>0)return Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return Error("unrecognised content at end of stream")}});var P7=T((pq)=>{var lq=o0(),nq=m0();pq.process=function($,q){let Z=[],J=new lq($);return new nq(q,{read:J.read.bind(J),write:function(F){Z.push(F)},complete:function(){}}).start(),J.process(),Buffer.concat(Z)}});var m7=T((Z$,b7)=>{var v7=!0,c7=M("zlib"),rq=u7();if(!c7.deflateSync)v7=!1;var iq=o0(),sq=P7(),oq=p0(),tq=d0(),eq=r0();b7.exports=function($,q){if(!v7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let Z;function J(I){Z=I}let Q;function F(I){Q=I}function K(I){Q.transColor=I}function U(I){Q.palette=I}function R(){Q.alpha=!0}let H;function Y(I){H=I}let E=[];function O(I){E.push(I)}let X=new iq($);if(new oq(q,{read:X.read.bind(X),error:J,metadata:F,gamma:Y,palette:U,transColor:K,inflateData:O,simpleTransparency:R}).start(),X.process(),Z)throw Z;let A=Buffer.concat(E);E.length=0;let V;if(Q.interlace)V=c7.inflateSync(A);else{let z=((Q.width*Q.bpp*Q.depth+7>>3)+1)*Q.height;V=rq(A,{chunkSize:z,maxLength:z})}if(A=null,!V||!V.length)throw Error("bad png - invalid inflate data response");let W=sq.process(V,Q);A=null;let E0=tq.dataToBitMap(W,Q);W=null;let i=eq(E0,Q);return Q.data=i,Q.gamma=H||0,Q}});var p7=T((J$,n7)=>{var x7=!0,l7=M("zlib");if(!l7.deflateSync)x7=!1;var aq=d(),q4=s0();n7.exports=function($,q){if(!x7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let J=new q4(q||{}),Q=[];if(Q.push(Buffer.from(aq.PNG_SIGNATURE)),Q.push(J.packIHDR($.width,$.height)),$.gamma)Q.push(J.packGAMA($.gamma));let F=J.filterData($.data,$.width,$.height),K=l7.deflateSync(F,J.getDeflateOptions());if(F=null,!K||!K.length)throw Error("bad png - invalid compressed data response");return Q.push(J.packIDAT(K)),Q.push(J.packIEND()),Buffer.concat(Q)}});var d7=T((J4)=>{var $4=m7(),Z4=p7();J4.read=function($,q){return $4($,q||{})};J4.write=function($,q){return Z4($,q)}});var i7=T((Y4)=>{var K4=M("util"),r7=M("stream"),U4=N7(),R4=S7(),H4=d7(),L=Y4.PNG=function($){if(r7.call(this),$=$||{},this.width=$.width|0,this.height=$.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,$.fill&&this.data)this.data.fill(0);this.gamma=0,this.readable=this.writable=!0,this._parser=new U4($),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(q){this.data=q,this.emit("parsed",q)}.bind(this)),this._packer=new R4($),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};K4.inherits(L,r7);L.sync=H4;L.prototype.pack=function(){if(!this.data||!this.data.length)return this.emit("error","No data provided"),this;return process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this};L.prototype.parse=function($,q){if(q){let Z,J;Z=function(Q){this.removeListener("error",J),this.data=Q,q(null,this)}.bind(this),J=function(Q){this.removeListener("parsed",Z),q(Q,null)}.bind(this),this.once("parsed",Z),this.once("error",J)}return this.end($),this};L.prototype.write=function($){return this._parser.write($),!0};L.prototype.end=function($){this._parser.end($)};L.prototype._metadata=function($){this.width=$.width,this.height=$.height,this.emit("metadata",$)};L.prototype._gamma=function($){this.gamma=$};L.prototype._handleClose=function(){if(!this._parser.writable&&!this._packer.readable)this.emit("close")};L.bitblt=function($,q,Z,J,Q,F,K,U){if(Z|=0,J|=0,Q|=0,F|=0,K|=0,U|=0,Z>$.width||J>$.height||Z+Q>$.width||J+F>$.height)throw Error("bitblt reading outside image");if(K>q.width||U>q.height||K+Q>q.width||U+F>q.height)throw Error("bitblt writing outside image");for(let R=0;R<F;R++)$.data.copy(q.data,(U+R)*q.width+K<<2,(J+R)*$.width+Z<<2,(J+R)*$.width+Z+Q<<2)};L.prototype.bitblt=function($,q,Z,J,Q,F,K){return L.bitblt(this,$,q,Z,J,Q,F,K),this};L.adjustGamma=function($){if($.gamma){for(let q=0;q<$.height;q++)for(let Z=0;Z<$.width;Z++){let J=$.width*q+Z<<2;for(let Q=0;Q<3;Q++){let F=$.data[J+Q]/255;F=Math.pow(F,0.45454545454545453/$.gamma),$.data[J+Q]=Math.round(F*255)}}$.gamma=0}};L.prototype.adjustGamma=function(){L.adjustGamma(this)}});var Z0=T((E4)=>{function s7($){if(typeof $==="number")$=$.toString();if(typeof $!=="string")throw Error("Color should be defined as hex string");let q=$.slice().replace("#","").split("");if(q.length<3||q.length===5||q.length>8)throw Error("Invalid hex color: "+$);if(q.length===3||q.length===4)q=Array.prototype.concat.apply([],q.map(function(J){return[J,J]}));if(q.length===6)q.push("F","F");let Z=parseInt(q.join(""),16);return{r:Z>>24&255,g:Z>>16&255,b:Z>>8&255,a:Z&255,hex:"#"+q.slice(0,6).join("")}}E4.getOptions=function(q){if(!q)q={};if(!q.color)q.color={};let Z=typeof q.margin>"u"||q.margin===null||q.margin<0?4:q.margin,J=q.width&&q.width>=21?q.width:void 0,Q=q.scale||4;return{width:J,scale:J?4:Q,margin:Z,color:{dark:s7(q.color.dark||"#000000ff"),light:s7(q.color.light||"#ffffffff")},type:q.type,rendererOpts:q.rendererOpts||{}}};E4.getScale=function(q,Z){return Z.width&&Z.width>=q+Z.margin*2?Z.width/(q+Z.margin*2):Z.scale};E4.getImageWidth=function(q,Z){let J=E4.getScale(q,Z);return Math.floor((q+Z.margin*2)*J)};E4.qrToImageData=function(q,Z,J){let Q=Z.modules.size,F=Z.modules.data,K=E4.getScale(Q,J),U=Math.floor((Q+J.margin*2)*K),R=J.margin*K,H=[J.color.light,J.color.dark];for(let Y=0;Y<U;Y++)for(let E=0;E<U;E++){let O=(Y*U+E)*4,X=J.color.light;if(Y>=R&&E>=R&&Y<U-R&&E<U-R){let G=Math.floor((Y-R)/K),A=Math.floor((E-R)/K);X=H[F[G*Q+A]?1:0]}q[O++]=X.r,q[O++]=X.g,q[O++]=X.b,q[O]=X.a}}});var o7=T((A4)=>{var G4=M("fs"),V4=i7().PNG,e0=Z0();A4.render=function(q,Z){let J=e0.getOptions(Z),Q=J.rendererOpts,F=e0.getImageWidth(q.modules.size,J);Q.width=F,Q.height=F;let K=new V4(Q);return e0.qrToImageData(K.data,q,J),K};A4.renderToDataURL=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;A4.renderToBuffer(q,Z,function(Q,F){if(Q)J(Q);let K="data:image/png;base64,";K+=F.toString("base64"),J(null,K)})};A4.renderToBuffer=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;let Q=A4.render(q,Z),F=[];Q.on("error",J),Q.on("data",function(K){F.push(K)}),Q.on("end",function(){J(null,Buffer.concat(F))}),Q.pack()};A4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=!1,K=(...R)=>{if(F)return;F=!0,Q.apply(null,R)},U=G4.createWriteStream(q);U.on("error",K),U.on("close",K),A4.renderToFileStream(U,Z,J)};A4.renderToFileStream=function(q,Z,J){A4.render(Z,J).pack().pipe(q)}});var e7=T((z4)=>{var _4=Z0(),B4={WW:" ",WB:"▄",BB:"█",BW:"▀"},I4={BB:" ",BW:"▄",WW:"█",WB:"▀"};function L4($,q,Z){if($&&q)return Z.BB;if($&&!q)return Z.BW;if(!$&&q)return Z.WB;return Z.WW}z4.render=function($,q,Z){let J=_4.getOptions(q),Q=B4;if(J.color.dark.hex==="#ffffff"||J.color.light.hex==="#000000")Q=I4;let F=$.modules.size,K=$.modules.data,U="",R=Array(F+J.margin*2+1).join(Q.WW);R=Array(J.margin/2+1).join(R+`
8
- `);let H=Array(J.margin+1).join(Q.WW);U+=R;for(let Y=0;Y<F;Y+=2){U+=H;for(let E=0;E<F;E++){let O=K[Y*F+E],X=K[(Y+1)*F+E];U+=L4(O,X,Q)}U+=H+`
9
- `}if(U+=R.slice(0,-1),typeof Z==="function")Z(null,U);return U};z4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),K=z4.render(Z,J);F.writeFile(q,K,Q)}});var a7=T((S4)=>{S4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F="\x1B[40m \x1B[0m",K="\x1B[47m \x1B[0m",U="",R=Array(J+3).join("\x1B[47m \x1B[0m"),H=Array(2).join("\x1B[47m \x1B[0m");U+=R+`
10
- `;for(let Y=0;Y<J;++Y){U+="\x1B[47m \x1B[0m";for(let E=0;E<J;E++)U+=Q[Y*J+E]?"\x1B[40m \x1B[0m":"\x1B[47m \x1B[0m";U+=H+`
11
- `}if(U+=R+`
12
- `,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
13
- `+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
14
- `;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
15
- export{T5 as Se,X5 as Te};