@claudiolabs/claudin 0.7.4 → 0.7.6

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 (910) hide show
  1. package/README.md +6 -5
  2. package/dist/chunks/AgentTool-0.7.6-02vh9vk8.mjs +1 -0
  3. package/dist/chunks/App-0.7.6-6rm9fw7h.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.7.6-3ds3vmhq.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.7.6-tdwszj02.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.7.6-5axvmtp3.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.7.6-014qynp3.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.7.6-92nz3x2x.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.7.6-4303tcnm.mjs +7 -0
  11. package/dist/chunks/Doctor-0.7.6-084ce5s2.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-0.7.6-vp1m6ffx.mjs +6 -0
  13. package/dist/chunks/Grove-0.7.6-1d3f84xj.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.7.6-wdyeyjcs.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-0.7.6-j0gs8ee7.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.7.6-5gtntvxr.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.7.6-jqrhx95e.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.7.6-18f6pde2.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.7.6-2q5s7q6j.mjs +1 -0
  20. package/dist/chunks/REPL-0.7.6-ayp94stx.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.7.6-zgn8p1b4.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-0.7.6-apn9hx86.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-0.7.6-1mvkc8e6.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.7.6-74t499kc.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.7.6-aj7acqex.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.7.6-werejha1.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.7.6-n01pcadg.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.7.6-bsjh0666.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.7.6-eqwet2j4.mjs +1 -0
  30. package/dist/chunks/add-dir-0.7.6-8rvjxj57.mjs +1 -0
  31. package/dist/chunks/agentTypes-0.7.6-49zjnpvv.mjs +1 -0
  32. package/dist/chunks/agents-0.7.6-f2wq0zdm.mjs +3 -0
  33. package/dist/chunks/agents-0.7.6-n608c3qr.mjs +110 -0
  34. package/dist/chunks/api-0.7.6-f2fsvxyj.mjs +1 -0
  35. package/dist/chunks/asciicast-0.7.6-fv6ypvrh.mjs +1 -0
  36. package/dist/chunks/assistant-0.7.6-3d939v1n.mjs +1 -0
  37. package/dist/chunks/auth-0.7.6-e9ggcrw2.mjs +1 -0
  38. package/dist/chunks/auth-0.7.6-vprbhg4e.mjs +1 -0
  39. package/dist/chunks/autoMode-0.7.6-p12j05a6.mjs +48 -0
  40. package/dist/chunks/autoUpdater-0.7.6-nrc4g1jz.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-0.7.6-rb8ftxsa.mjs +1 -0
  42. package/dist/chunks/branch-0.7.6-05rh36he.mjs +4 -0
  43. package/dist/chunks/bridge-0.7.6-wddny37r.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-0.7.6-b5h1a634.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-0.7.6-0fhtxtzs.mjs +1 -0
  46. package/dist/chunks/bridgeMain-0.7.6-nj17223b.mjs +88 -0
  47. package/dist/chunks/bridgePointer-0.7.6-f0qs1e6e.mjs +1 -0
  48. package/dist/chunks/btw-0.7.6-cjm6v0b9.mjs +1 -0
  49. package/dist/chunks/buddy-0.7.6-1j68vknm.mjs +3 -0
  50. package/dist/chunks/cacache-0.7.6-3mr30mas.mjs +1 -0
  51. package/dist/chunks/cache-probe-0.7.6-e8g8d94t.mjs +21 -0
  52. package/dist/chunks/cacheStats-0.7.6-4x5zqxyf.mjs +4 -0
  53. package/dist/chunks/caches-0.7.6-fpr85z6h.mjs +1 -0
  54. package/dist/chunks/claudeDesktop-0.7.6-hh4vstgr.mjs +1 -0
  55. package/dist/chunks/claudemd-0.7.6-fqehvs8g.mjs +1 -0
  56. package/dist/chunks/clear-0.7.6-h2vf452p.mjs +1 -0
  57. package/dist/chunks/clearTerminal-0.7.6-qscrqy5p.mjs +1 -0
  58. package/dist/chunks/cli-0.7.6-010st6wr.mjs +2 -0
  59. package/dist/chunks/cli-0.7.6-07eesex8.mjs +2 -0
  60. package/dist/chunks/cli-0.7.6-09hcxer2.mjs +2 -0
  61. package/dist/chunks/cli-0.7.6-0b47jy2g.mjs +2 -0
  62. package/dist/chunks/cli-0.7.6-0ekx5n2q.mjs +4 -0
  63. package/dist/chunks/cli-0.7.6-0gzsv22g.mjs +2 -0
  64. package/dist/chunks/cli-0.7.6-0h46deez.mjs +2 -0
  65. package/dist/chunks/cli-0.7.6-0mgbtp8x.mjs +6 -0
  66. package/dist/chunks/cli-0.7.6-0n7tfcxz.mjs +4 -0
  67. package/dist/chunks/cli-0.7.6-0tt8ccr8.mjs +2 -0
  68. package/dist/chunks/cli-0.7.6-0wr25ecz.mjs +2 -0
  69. package/dist/chunks/cli-0.7.6-1bfz5qa5.mjs +2 -0
  70. package/dist/chunks/cli-0.7.6-1bvzdjfc.mjs +2 -0
  71. package/dist/chunks/cli-0.7.6-1dqh462b.mjs +2 -0
  72. package/dist/chunks/cli-0.7.6-1j4p4cz3.mjs +2 -0
  73. package/dist/chunks/cli-0.7.6-1s1nbm58.mjs +2 -0
  74. package/dist/chunks/cli-0.7.6-1v73pjt7.mjs +2 -0
  75. package/dist/chunks/cli-0.7.6-1yn63f2j.mjs +2 -0
  76. package/dist/chunks/cli-0.7.6-29snre4z.mjs +2 -0
  77. package/dist/chunks/cli-0.7.6-2ff9pq9s.mjs +3 -0
  78. package/dist/chunks/cli-0.7.6-2kjdfns9.mjs +6 -0
  79. package/dist/chunks/cli-0.7.6-2nmq534s.mjs +26 -0
  80. package/dist/chunks/cli-0.7.6-2qwpkx4w.mjs +12 -0
  81. package/dist/chunks/cli-0.7.6-2rwpq77s.mjs +2 -0
  82. package/dist/chunks/cli-0.7.6-310844c3.mjs +4 -0
  83. package/dist/chunks/cli-0.7.6-39q0e172.mjs +2 -0
  84. package/dist/chunks/cli-0.7.6-3vqf88sk.mjs +2 -0
  85. package/dist/chunks/cli-0.7.6-43kp2p25.mjs +2 -0
  86. package/dist/chunks/cli-0.7.6-471rvdw2.mjs +2 -0
  87. package/dist/chunks/cli-0.7.6-4e2e6mkj.mjs +3 -0
  88. package/dist/chunks/cli-0.7.6-4eaywsgw.mjs +2 -0
  89. package/dist/chunks/cli-0.7.6-4q91n1nr.mjs +2 -0
  90. package/dist/chunks/cli-0.7.6-4v3f036y.mjs +2 -0
  91. package/dist/chunks/cli-0.7.6-4ybzx76m.mjs +2 -0
  92. package/dist/chunks/cli-0.7.6-4z1q2wge.mjs +2 -0
  93. package/dist/chunks/cli-0.7.6-517m3gcx.mjs +2 -0
  94. package/dist/chunks/cli-0.7.6-56h0kfkw.mjs +59 -0
  95. package/dist/chunks/cli-0.7.6-5dk57g7k.mjs +2 -0
  96. package/dist/chunks/cli-0.7.6-5ktehyvf.mjs +2 -0
  97. package/dist/chunks/cli-0.7.6-5qabm4xe.mjs +2 -0
  98. package/dist/chunks/cli-0.7.6-5vj0s5hg.mjs +5 -0
  99. package/dist/chunks/cli-0.7.6-5wj27v22.mjs +18 -0
  100. package/dist/chunks/cli-0.7.6-5ynmp8av.mjs +2 -0
  101. package/dist/chunks/cli-0.7.6-62ea895q.mjs +2 -0
  102. package/dist/chunks/cli-0.7.6-67tqckbs.mjs +133 -0
  103. package/dist/chunks/cli-0.7.6-69b0cq0a.mjs +4 -0
  104. package/dist/chunks/cli-0.7.6-69hzrwk9.mjs +2 -0
  105. package/dist/chunks/cli-0.7.6-73gkdy2f.mjs +2 -0
  106. package/dist/chunks/cli-0.7.6-73h798cq.mjs +2 -0
  107. package/dist/chunks/cli-0.7.6-7g2b4q32.mjs +2 -0
  108. package/dist/chunks/cli-0.7.6-7ktebmzc.mjs +2 -0
  109. package/dist/chunks/cli-0.7.6-7mzraehr.mjs +16 -0
  110. package/dist/chunks/cli-0.7.6-7szsqp12.mjs +2 -0
  111. package/dist/chunks/cli-0.7.6-7ybdp9j0.mjs +3 -0
  112. package/dist/chunks/cli-0.7.6-7yce2cw8.mjs +2 -0
  113. package/dist/chunks/cli-0.7.6-8g9rtj1f.mjs +2 -0
  114. package/dist/chunks/cli-0.7.6-8h5rwm21.mjs +2 -0
  115. package/dist/chunks/cli-0.7.6-8k508w7p.mjs +2 -0
  116. package/dist/chunks/cli-0.7.6-8srvcg12.mjs +2 -0
  117. package/dist/chunks/cli-0.7.6-8vdxmbjt.mjs +2 -0
  118. package/dist/chunks/cli-0.7.6-8vftkjgf.mjs +2 -0
  119. package/dist/chunks/cli-0.7.6-8wv8rjqd.mjs +2 -0
  120. package/dist/chunks/cli-0.7.6-9508tj8e.mjs +17 -0
  121. package/dist/chunks/cli-0.7.6-96qqpq0c.mjs +2 -0
  122. package/dist/chunks/cli-0.7.6-9a706kh3.mjs +2 -0
  123. package/dist/chunks/cli-0.7.6-9w6egknj.mjs +8 -0
  124. package/dist/chunks/cli-0.7.6-ajv6cevv.mjs +4 -0
  125. package/dist/chunks/cli-0.7.6-am0sf3er.mjs +2 -0
  126. package/dist/chunks/cli-0.7.6-ama4wyv2.mjs +12 -0
  127. package/dist/chunks/cli-0.7.6-ayd8297m.mjs +3 -0
  128. package/dist/chunks/cli-0.7.6-azjnjp5p.mjs +2 -0
  129. package/dist/chunks/cli-0.7.6-b39v6rz1.mjs +2 -0
  130. package/dist/chunks/cli-0.7.6-bbmxy27v.mjs +2 -0
  131. package/dist/chunks/cli-0.7.6-berqrfpz.mjs +2 -0
  132. package/dist/chunks/cli-0.7.6-bese1aqp.mjs +2 -0
  133. package/dist/chunks/cli-0.7.6-bfwq4dm5.mjs +2 -0
  134. package/dist/chunks/cli-0.7.6-c3npkenn.mjs +1 -0
  135. package/dist/chunks/cli-0.7.6-ccbtfaqn.mjs +2 -0
  136. package/dist/chunks/cli-0.7.6-ccy8mp4f.mjs +2 -0
  137. package/dist/chunks/cli-0.7.6-cedrx1f7.mjs +2 -0
  138. package/dist/chunks/cli-0.7.6-chcjfb2p.mjs +2 -0
  139. package/dist/chunks/cli-0.7.6-cmxr1gyd.mjs +3 -0
  140. package/dist/chunks/cli-0.7.6-cq95q0m7.mjs +2 -0
  141. package/dist/chunks/cli-0.7.6-cxchkx7a.mjs +18 -0
  142. package/dist/chunks/cli-0.7.6-d4rmetja.mjs +2 -0
  143. package/dist/chunks/cli-0.7.6-d5nss1kz.mjs +2 -0
  144. package/dist/chunks/cli-0.7.6-d8hz302t.mjs +2 -0
  145. package/dist/chunks/cli-0.7.6-dd5tgszn.mjs +4 -0
  146. package/dist/chunks/cli-0.7.6-dfkaq7z7.mjs +2 -0
  147. package/dist/chunks/cli-0.7.6-dhp0vn09.mjs +4 -0
  148. package/dist/chunks/cli-0.7.6-dpfh7ypk.mjs +2 -0
  149. package/dist/chunks/cli-0.7.6-dq87daze.mjs +2 -0
  150. package/dist/chunks/cli-0.7.6-dynrpsf9.mjs +10 -0
  151. package/dist/chunks/cli-0.7.6-e01s0kjn.mjs +2 -0
  152. package/dist/chunks/cli-0.7.6-e3dwvde8.mjs +58 -0
  153. package/dist/chunks/cli-0.7.6-edjsszs3.mjs +12 -0
  154. package/dist/chunks/cli-0.7.6-ehkh8f7m.mjs +2 -0
  155. package/dist/chunks/cli-0.7.6-ejjekwys.mjs +2 -0
  156. package/dist/chunks/cli-0.7.6-ejk8n0sg.mjs +2 -0
  157. package/dist/chunks/cli-0.7.6-ek2a439r.mjs +2 -0
  158. package/dist/chunks/cli-0.7.6-ex7sezdt.mjs +2 -0
  159. package/dist/chunks/cli-0.7.6-f4nmb6r2.mjs +3 -0
  160. package/dist/chunks/cli-0.7.6-f9mzvngv.mjs +2 -0
  161. package/dist/chunks/cli-0.7.6-ffk5hz3x.mjs +2 -0
  162. package/dist/chunks/cli-0.7.6-fkshg1fg.mjs +2 -0
  163. package/dist/chunks/cli-0.7.6-fmmr53nv.mjs +2 -0
  164. package/dist/chunks/cli-0.7.6-fn56g2cc.mjs +199 -0
  165. package/dist/chunks/cli-0.7.6-frf6ynaj.mjs +2 -0
  166. package/dist/chunks/cli-0.7.6-ftdrd7jk.mjs +17 -0
  167. package/dist/chunks/cli-0.7.6-fvydk0w1.mjs +2 -0
  168. package/dist/chunks/cli-0.7.6-g1gd1372.mjs +5 -0
  169. package/dist/chunks/cli-0.7.6-g2437s1w.mjs +2 -0
  170. package/dist/chunks/cli-0.7.6-g44g34fb.mjs +2 -0
  171. package/dist/chunks/cli-0.7.6-g5cva69z.mjs +2 -0
  172. package/dist/chunks/cli-0.7.6-g736y207.mjs +39 -0
  173. package/dist/chunks/cli-0.7.6-g802sp0p.mjs +2 -0
  174. package/dist/chunks/cli-0.7.6-gkd2v7ek.mjs +45 -0
  175. package/dist/chunks/cli-0.7.6-gxbeg3ny.mjs +3 -0
  176. package/dist/chunks/cli-0.7.6-hrw7nyyq.mjs +2 -0
  177. package/dist/chunks/cli-0.7.6-hsa9j8sb.mjs +2 -0
  178. package/dist/chunks/cli-0.7.6-hsm2w1qr.mjs +2 -0
  179. package/dist/chunks/cli-0.7.6-hw3n6j75.mjs +9 -0
  180. package/dist/chunks/cli-0.7.6-j59ty8yt.mjs +15 -0
  181. package/dist/chunks/cli-0.7.6-j63vtmfa.mjs +2 -0
  182. package/dist/chunks/cli-0.7.6-j9p952mf.mjs +2 -0
  183. package/dist/chunks/cli-0.7.6-jjmm4f40.mjs +2 -0
  184. package/dist/chunks/cli-0.7.6-jmpc9xmj.mjs +6 -0
  185. package/dist/chunks/cli-0.7.6-jpjn976y.mjs +2 -0
  186. package/dist/chunks/cli-0.7.6-jtdgswpn.mjs +2 -0
  187. package/dist/chunks/cli-0.7.6-jwqgj667.mjs +2 -0
  188. package/dist/chunks/cli-0.7.6-jzk3fxqa.mjs +3 -0
  189. package/dist/chunks/cli-0.7.6-k1tjb02q.mjs +4 -0
  190. package/dist/chunks/cli-0.7.6-k5r0yz41.mjs +67 -0
  191. package/dist/chunks/cli-0.7.6-k7fsgwdr.mjs +2 -0
  192. package/dist/chunks/cli-0.7.6-m51wgngt.mjs +2 -0
  193. package/dist/chunks/cli-0.7.6-md1ramb7.mjs +2 -0
  194. package/dist/chunks/cli-0.7.6-md31wz8f.mjs +2 -0
  195. package/dist/chunks/cli-0.7.6-md4x57wd.mjs +2 -0
  196. package/dist/chunks/cli-0.7.6-n6qsqdjv.mjs +2 -0
  197. package/dist/chunks/cli-0.7.6-ngmxmw82.mjs +2 -0
  198. package/dist/chunks/cli-0.7.6-ngsbbrk7.mjs +3 -0
  199. package/dist/chunks/cli-0.7.6-nxxj5qzs.mjs +2 -0
  200. package/dist/chunks/cli-0.7.6-p2268sge.mjs +2 -0
  201. package/dist/chunks/cli-0.7.6-pasrzvza.mjs +2 -0
  202. package/dist/chunks/cli-0.7.6-pbzty9n9.mjs +2 -0
  203. package/dist/chunks/cli-0.7.6-pwvs4p1w.mjs +3 -0
  204. package/dist/chunks/cli-0.7.6-pzk668w8.mjs +2 -0
  205. package/dist/chunks/cli-0.7.6-qan5xxdc.mjs +5471 -0
  206. package/dist/chunks/cli-0.7.6-qeq5tx23.mjs +6 -0
  207. package/dist/chunks/cli-0.7.6-qkcrt37c.mjs +2 -0
  208. package/dist/chunks/cli-0.7.6-qyk1jtmh.mjs +2 -0
  209. package/dist/chunks/cli-0.7.6-r6nhsg12.mjs +2 -0
  210. package/dist/chunks/cli-0.7.6-r78s2g03.mjs +18 -0
  211. package/dist/chunks/cli-0.7.6-r9dxvg8q.mjs +5 -0
  212. package/dist/chunks/cli-0.7.6-rp0xgr6t.mjs +2 -0
  213. package/dist/chunks/cli-0.7.6-rs07s8yh.mjs +2 -0
  214. package/dist/chunks/cli-0.7.6-rzhf46t3.mjs +2 -0
  215. package/dist/chunks/cli-0.7.6-s0jpd03j.mjs +2 -0
  216. package/dist/chunks/cli-0.7.6-s3kvpq11.mjs +24 -0
  217. package/dist/chunks/cli-0.7.6-se7x2a1f.mjs +7 -0
  218. package/dist/chunks/cli-0.7.6-sjbap7zg.mjs +2 -0
  219. package/dist/chunks/cli-0.7.6-svqwyxab.mjs +42 -0
  220. package/dist/chunks/cli-0.7.6-sznceb3v.mjs +2 -0
  221. package/dist/chunks/cli-0.7.6-t224fm0b.mjs +2 -0
  222. package/dist/chunks/cli-0.7.6-t3wkyhpb.mjs +2 -0
  223. package/dist/chunks/cli-0.7.6-tnxct9wp.mjs +2 -0
  224. package/dist/chunks/cli-0.7.6-tp1mp7kg.mjs +2 -0
  225. package/dist/chunks/cli-0.7.6-tp4xkdj6.mjs +2 -0
  226. package/dist/chunks/cli-0.7.6-v3rjsfcr.mjs +2 -0
  227. package/dist/chunks/cli-0.7.6-vhan81qg.mjs +2 -0
  228. package/dist/chunks/cli-0.7.6-vhn7sz5q.mjs +2 -0
  229. package/dist/chunks/cli-0.7.6-vrcja2t1.mjs +2 -0
  230. package/dist/chunks/cli-0.7.6-w4bq1f08.mjs +4 -0
  231. package/dist/chunks/cli-0.7.6-w5smxper.mjs +2 -0
  232. package/dist/chunks/cli-0.7.6-w65xvz9z.mjs +2 -0
  233. package/dist/chunks/cli-0.7.6-w66170ej.mjs +2 -0
  234. package/dist/chunks/cli-0.7.6-w7k9x0kq.mjs +3 -0
  235. package/dist/chunks/cli-0.7.6-wch5kwc6.mjs +3 -0
  236. package/dist/chunks/cli-0.7.6-wepz3cym.mjs +4 -0
  237. package/dist/chunks/cli-0.7.6-wmhr2zkd.mjs +2 -0
  238. package/dist/chunks/cli-0.7.6-wmk10em6.mjs +2 -0
  239. package/dist/chunks/cli-0.7.6-wthbw2r0.mjs +2 -0
  240. package/dist/chunks/cli-0.7.6-wz34s2yk.mjs +2 -0
  241. package/dist/chunks/cli-0.7.6-wz5w8hmh.mjs +2 -0
  242. package/dist/chunks/cli-0.7.6-xczzrd9d.mjs +34 -0
  243. package/dist/chunks/cli-0.7.6-xfap6qa6.mjs +20 -0
  244. package/dist/chunks/cli-0.7.6-xg6ka3pp.mjs +2 -0
  245. package/dist/chunks/cli-0.7.6-xjemjs4e.mjs +25 -0
  246. package/dist/chunks/cli-0.7.6-xkmg4sc9.mjs +2 -0
  247. package/dist/chunks/cli-0.7.6-xky4ty14.mjs +2 -0
  248. package/dist/chunks/cli-0.7.6-xtjps7gq.mjs +2 -0
  249. package/dist/chunks/cli-0.7.6-xyx40s83.mjs +21 -0
  250. package/dist/chunks/cli-0.7.6-y36b0e0y.mjs +24 -0
  251. package/dist/chunks/cli-0.7.6-y3a6zp1r.mjs +2 -0
  252. package/dist/chunks/cli-0.7.6-y7bdxnmf.mjs +133 -0
  253. package/dist/chunks/cli-0.7.6-y8ga5pny.mjs +15 -0
  254. package/dist/chunks/cli-0.7.6-ye7kz4cr.mjs +24 -0
  255. package/dist/chunks/cli-0.7.6-ymhtbnyk.mjs +2 -0
  256. package/dist/chunks/cli-0.7.6-yv3stfxm.mjs +12 -0
  257. package/dist/chunks/cli-0.7.6-ywg6e349.mjs +25 -0
  258. package/dist/chunks/cli-0.7.6-z13va0jc.mjs +2 -0
  259. package/dist/chunks/cli-0.7.6-z4k83sx6.mjs +2 -0
  260. package/dist/chunks/cli-0.7.6-z5zw7sdz.mjs +3 -0
  261. package/dist/chunks/cli-0.7.6-zepjez10.mjs +50 -0
  262. package/dist/chunks/cli-0.7.6-zmkr521v.mjs +15 -0
  263. package/dist/chunks/cli-0.7.6-zrjrmccd.mjs +2 -0
  264. package/dist/chunks/cli-0.7.6-zrwpmp3s.mjs +2 -0
  265. package/dist/chunks/client-0.7.6-s5r00qzn.mjs +1 -0
  266. package/dist/chunks/color-0.7.6-c5m7hk8y.mjs +1 -0
  267. package/dist/chunks/compact-0.7.6-dx4c91sb.mjs +3 -0
  268. package/dist/chunks/config-0.7.6-0wrs7d25.mjs +1 -0
  269. package/dist/chunks/config-0.7.6-28k8xgy7.mjs +1 -0
  270. package/dist/chunks/constants-0.7.6-yxc2ccra.mjs +1 -0
  271. package/dist/chunks/context-0.7.6-efvp1txb.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-0.7.6-8bp73hyq.mjs +1 -0
  273. package/dist/chunks/conversation-0.7.6-cqwzbr0d.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-0.7.6-qm7k7b4w.mjs +1 -0
  275. package/dist/chunks/copy-0.7.6-tb3stmba.mjs +9 -0
  276. package/dist/chunks/cost-0.7.6-t2pss4xp.mjs +1 -0
  277. package/dist/chunks/createSSHSession-0.7.6-gxjfefp4.mjs +1 -0
  278. package/dist/chunks/createSession-0.7.6-s5cd1p2c.mjs +1 -0
  279. package/dist/chunks/debug-0.7.6-29wym0xr.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-0.7.6-1thsnj41.mjs +1446 -0
  281. package/dist/chunks/desktop-0.7.6-jb15m9tp.mjs +1 -0
  282. package/dist/chunks/detectRepository-0.7.6-0cp7fygx.mjs +1 -0
  283. package/dist/chunks/detection-0.7.6-rg544p2p.mjs +1 -0
  284. package/dist/chunks/diff-0.7.6-53gzzxnd.mjs +1 -0
  285. package/dist/chunks/doctor-0.7.6-95kk3h2p.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-0.7.6-ybe5naeq.mjs +1 -0
  287. package/dist/chunks/earlyInput-0.7.6-2frqt87k.mjs +1 -0
  288. package/dist/chunks/effort-0.7.6-3hhjz5rt.mjs +10 -0
  289. package/dist/chunks/engine-0.7.6-r4hy6gpj.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-0.7.6-6gxkp63s.mjs +1 -0
  291. package/dist/chunks/envUtils-0.7.6-70jnybbw.mjs +1 -0
  292. package/dist/chunks/environmentSelection-0.7.6-mtg8g15a.mjs +1 -0
  293. package/dist/chunks/environments-0.7.6-4vj956d6.mjs +1 -0
  294. package/dist/chunks/errors-0.7.6-3rfme91e.mjs +1 -0
  295. package/dist/chunks/exampleCommands-0.7.6-3rwnb01j.mjs +1 -0
  296. package/dist/chunks/exit-0.7.6-1zq90j34.mjs +1 -0
  297. package/dist/chunks/explorer-0.7.6-7yxdvz4c.mjs +1 -0
  298. package/dist/chunks/export-0.7.6-6annregx.mjs +2 -0
  299. package/dist/chunks/extra-usage-0.7.6-1d8afeer.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-0.7.6-yv74b9va.mjs +1 -0
  301. package/dist/chunks/fast-0.7.6-83xw5a4z.mjs +1 -0
  302. package/dist/chunks/feedback-0.7.6-r3gmhtzb.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-0.7.6-sxwwnk4h.mjs +1 -0
  304. package/dist/chunks/git-0.7.6-z2fwspdf.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-0.7.6-fe39tsv6.mjs +1 -0
  306. package/dist/chunks/goal-0.7.6-ejhqdg3h.mjs +4 -0
  307. package/dist/chunks/grove-0.7.6-wq7pmtc4.mjs +1 -0
  308. package/dist/chunks/growthbook-0.7.6-268c3zv1.mjs +1 -0
  309. package/dist/chunks/headless-0.7.6-0624t1g9.mjs +2 -0
  310. package/dist/chunks/heapdump-0.7.6-0h7m92s6.mjs +6 -0
  311. package/dist/chunks/help-0.7.6-cgg68b97.mjs +1 -0
  312. package/dist/chunks/hookChains-0.7.6-r667d77r.mjs +3 -0
  313. package/dist/chunks/hooks-0.7.6-7tnwk63p.mjs +79 -0
  314. package/dist/chunks/hooks-0.7.6-btfaw4b9.mjs +1 -0
  315. package/dist/chunks/ide-0.7.6-fq0f5srk.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-0.7.6-2ks1h23p.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-0.7.6-femb5yew.mjs +1 -0
  318. package/dist/chunks/index-0.7.6-2rpgkwj4.mjs +9 -0
  319. package/dist/chunks/index-0.7.6-2zatk70c.mjs +1 -0
  320. package/dist/chunks/index-0.7.6-415hw608.mjs +1 -0
  321. package/dist/chunks/index-0.7.6-7wrzedvg.mjs +1 -0
  322. package/dist/chunks/index-0.7.6-98ws3n8p.mjs +1 -0
  323. package/dist/chunks/index-0.7.6-9k6nvjv8.mjs +1 -0
  324. package/dist/chunks/index-0.7.6-bbdqqv1x.mjs +1 -0
  325. package/dist/chunks/index-0.7.6-djapsy32.mjs +1 -0
  326. package/dist/chunks/index-0.7.6-efatyc79.mjs +17 -0
  327. package/dist/chunks/index-0.7.6-egyaf79a.mjs +5 -0
  328. package/dist/chunks/index-0.7.6-ew2v6b0x.mjs +1 -0
  329. package/dist/chunks/index-0.7.6-h2kqerxv.mjs +1 -0
  330. package/dist/chunks/index-0.7.6-h5xh1kf2.mjs +1 -0
  331. package/dist/chunks/index-0.7.6-jk32t8wg.mjs +1 -0
  332. package/dist/chunks/index-0.7.6-k60v4n8g.mjs +9 -0
  333. package/dist/chunks/index-0.7.6-kb22mqnf.mjs +2 -0
  334. package/dist/chunks/index-0.7.6-mj4y74z8.mjs +1 -0
  335. package/dist/chunks/index-0.7.6-pkyqwagx.mjs +1 -0
  336. package/dist/chunks/index-0.7.6-sdw9kjcj.mjs +1 -0
  337. package/dist/chunks/index-0.7.6-tc2zr05j.mjs +2 -0
  338. package/dist/chunks/index-0.7.6-tk8kmvah.mjs +1 -0
  339. package/dist/chunks/index-0.7.6-vhgb870z.mjs +1 -0
  340. package/dist/chunks/index-0.7.6-yndsc291.mjs +30 -0
  341. package/dist/chunks/init-0.7.6-w0mqjmeg.mjs +1 -0
  342. package/dist/chunks/initReplBridge-0.7.6-rf60qv0p.mjs +1 -0
  343. package/dist/chunks/ink-0.7.6-3eyfg9zt.mjs +1 -0
  344. package/dist/chunks/insights-0.7.6-7btcyfzb.mjs +870 -0
  345. package/dist/chunks/install-0.7.6-mdtm3sg3.mjs +1 -0
  346. package/dist/chunks/install-github-app-0.7.6-jvncztq4.mjs +149 -0
  347. package/dist/chunks/install-slack-app-0.7.6-yqkgptfz.mjs +1 -0
  348. package/dist/chunks/instrumentation-0.7.6-1ctp56r7.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-0.7.6-hnfccr2a.mjs +1 -0
  350. package/dist/chunks/keybindings-0.7.6-cm2a4esz.mjs +2 -0
  351. package/dist/chunks/knowledge-0.7.6-2m4hj4wv.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-0.7.6-3p0jwsk1.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-0.7.6-7n8wpd6m.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-0.7.6-668vved3.mjs +1 -0
  355. package/dist/chunks/loadPluginHooks-0.7.6-fvexrndy.mjs +1 -0
  356. package/dist/chunks/log-0.7.6-n1gwe75k.mjs +1 -0
  357. package/dist/chunks/main-0.7.6-787at8bh.mjs +1 -0
  358. package/dist/chunks/managedEnv-0.7.6-b17rcr8m.mjs +1 -0
  359. package/dist/chunks/mcp-0.7.6-a2gt46m1.mjs +4 -0
  360. package/dist/chunks/mcp-0.7.6-ehgr4hy2.mjs +1 -0
  361. package/dist/chunks/mcp-0.7.6-z5yz782z.mjs +17 -0
  362. package/dist/chunks/mcpb-0.7.6-x3w00evk.mjs +1 -0
  363. package/dist/chunks/memory-0.7.6-ce56tv6x.mjs +3 -0
  364. package/dist/chunks/model-0.7.6-10bxpdy1.mjs +2 -0
  365. package/dist/chunks/model-0.7.6-463cgk44.mjs +1 -0
  366. package/dist/chunks/node-0.7.6-yq8nb00v.mjs +12 -0
  367. package/dist/chunks/oauth-0.7.6-bbgjzwfb.mjs +1 -0
  368. package/dist/chunks/openaiShim-0.7.6-kwwv7ntf.mjs +14 -0
  369. package/dist/chunks/output-style-0.7.6-cs808te7.mjs +1 -0
  370. package/dist/chunks/package-ZZWOLTXM-0.7.6-kjjaeshn.mjs +1 -0
  371. package/dist/chunks/parseConnectUrl-0.7.6-k3n1pn17.mjs +1 -0
  372. package/dist/chunks/parser-0.7.6-eae6w23n.mjs +1 -0
  373. package/dist/chunks/passes-0.7.6-k46cf658.mjs +1 -0
  374. package/dist/chunks/permissions-0.7.6-1nws00wm.mjs +1 -0
  375. package/dist/chunks/permissions-0.7.6-jq6ebtnw.mjs +3 -0
  376. package/dist/chunks/plan-0.7.6-ry44stze.mjs +1 -0
  377. package/dist/chunks/plist-0.7.6-0vee72zr.mjs +1 -0
  378. package/dist/chunks/plugin-0.7.6-vwa3avby.mjs +29 -0
  379. package/dist/chunks/pluginStartupCheck-0.7.6-wvmq9d6r.mjs +1 -0
  380. package/dist/chunks/plugins-0.7.6-sksmmrbb.mjs +9 -0
  381. package/dist/chunks/preActionHook-0.7.6-qtz2v7cq.mjs +2 -0
  382. package/dist/chunks/print-0.7.6-qddcs91f.mjs +57 -0
  383. package/dist/chunks/privacy-settings-0.7.6-5gzw6mn1.mjs +1 -0
  384. package/dist/chunks/process-0.7.6-6b1s37w1.mjs +1 -0
  385. package/dist/chunks/processBashCommand-0.7.6-yb92143k.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-0.7.6-bc9jxvge.mjs +9 -0
  387. package/dist/chunks/prompt-0.7.6-sps6z4za.mjs +1 -0
  388. package/dist/chunks/prompt-0.7.6-t8yabss3.mjs +1 -0
  389. package/dist/chunks/prompts-0.7.6-x3ndp7gh.mjs +1 -0
  390. package/dist/chunks/protocolHandler-0.7.6-m1pgssvd.mjs +13 -0
  391. package/dist/chunks/provider-0.7.6-yxmt6yve.mjs +2 -0
  392. package/dist/chunks/providerProfiles-0.7.6-3027t9pt.mjs +1 -0
  393. package/dist/chunks/providerValidation-0.7.6-vpv75gd1.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-0.7.6-6w5cdwx1.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-0.7.6-vz4yvks2.mjs +34 -0
  396. package/dist/chunks/registry-0.7.6-gat54dy3.mjs +1 -0
  397. package/dist/chunks/release-notes-0.7.6-myz4h7d7.mjs +5 -0
  398. package/dist/chunks/reload-plugins-0.7.6-64w73d8b.mjs +2 -0
  399. package/dist/chunks/remote-env-0.7.6-zz9a22zn.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-0.7.6-9mnzebzz.mjs +1 -0
  401. package/dist/chunks/remoteSession-0.7.6-0geea7cr.mjs +1 -0
  402. package/dist/chunks/rename-0.7.6-y40kz5p4.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-0.7.6-9q86nfkb.mjs +1 -0
  404. package/dist/chunks/replLauncher-0.7.6-appht20k.mjs +1 -0
  405. package/dist/chunks/resume-0.7.6-za9pttkz.mjs +2 -0
  406. package/dist/chunks/rewind-0.7.6-23eb1s5k.mjs +1 -0
  407. package/dist/chunks/rootOptions-0.7.6-89a7srwx.mjs +1 -0
  408. package/dist/chunks/sandbox-adapter-0.7.6-zxpg8tbn.mjs +1 -0
  409. package/dist/chunks/sandbox-toggle-0.7.6-12ddnvsb.mjs +1 -0
  410. package/dist/chunks/session-0.7.6-qtvc9q8w.mjs +2 -0
  411. package/dist/chunks/sessionDiscovery-0.7.6-d2h1v026.mjs +1 -0
  412. package/dist/chunks/sessionFileAccessHooks-0.7.6-j8rejm9s.mjs +1 -0
  413. package/dist/chunks/sessionStorage-0.7.6-whqhsy0v.mjs +1 -0
  414. package/dist/chunks/settings-0.7.6-d1x6h71y.mjs +1 -0
  415. package/dist/chunks/setup-0.7.6-f52y5q94.mjs +5 -0
  416. package/dist/chunks/sinks-0.7.6-p38qk6rn.mjs +1 -0
  417. package/dist/chunks/skills-0.7.6-4x49mjqs.mjs +1 -0
  418. package/dist/chunks/startupProfiler-0.7.6-kehr3zds.mjs +1 -0
  419. package/dist/chunks/startupUpdateCheck-0.7.6-m95yf5v2.mjs +1 -0
  420. package/dist/chunks/state-0.7.6-exkbe4vf.mjs +1 -0
  421. package/dist/chunks/stats-0.7.6-y4qxdfqk.mjs +6 -0
  422. package/dist/chunks/status-0.7.6-etkntf2w.mjs +1 -0
  423. package/dist/chunks/stickers-0.7.6-jfaby3j3.mjs +1 -0
  424. package/dist/chunks/subprocessEnv-0.7.6-2bme852w.mjs +1 -0
  425. package/dist/chunks/tasks-0.7.6-vc8j66yr.mjs +1 -0
  426. package/dist/chunks/teamHelpers-0.7.6-ax1nev6h.mjs +1 -0
  427. package/dist/chunks/teammateModeSnapshot-0.7.6-9tjnw4x3.mjs +1 -0
  428. package/dist/chunks/teleport-0.7.6-xjeqw992.mjs +1 -0
  429. package/dist/chunks/terminalSetup-0.7.6-cx56kmpg.mjs +1 -0
  430. package/dist/chunks/theme-0.7.6-artxd1km.mjs +1 -0
  431. package/dist/chunks/thinkback-0.7.6-ar7ssxsq.mjs +1 -0
  432. package/dist/chunks/thinkback-play-0.7.6-7d5g791f.mjs +1 -0
  433. package/dist/chunks/toolPool-0.7.6-58r85xft.mjs +1 -0
  434. package/dist/chunks/toolSearch-0.7.6-29hekpkv.mjs +1 -0
  435. package/dist/chunks/tools-0.7.6-6bhsctcm.mjs +1 -0
  436. package/dist/chunks/trustedDevice-0.7.6-aay0bw3y.mjs +1 -0
  437. package/dist/chunks/turndown.cjs-0.7.6-cfbcqt7b.mjs +69 -0
  438. package/dist/chunks/types-0.7.6-z2j2wxhd.mjs +1 -0
  439. package/dist/chunks/ultrareviewCommand-0.7.6-7w7yx7mv.mjs +4 -0
  440. package/dist/chunks/update-0.7.6-6s5hvmvc.mjs +86 -0
  441. package/dist/chunks/upgrade-0.7.6-nrvaa7qs.mjs +1 -0
  442. package/dist/chunks/upload-0.7.6-6880h5gd.mjs +7 -0
  443. package/dist/chunks/upstreamproxy-0.7.6-d4xfvwf7.mjs +14 -0
  444. package/dist/chunks/url-handler-napi-0.7.6-hcyxzqg6.mjs +1 -0
  445. package/dist/chunks/usage-0.7.6-vbbt70v9.mjs +1 -0
  446. package/dist/chunks/util-0.7.6-0cm7xj78.mjs +1 -0
  447. package/dist/chunks/utils-0.7.6-h3fwyhxw.mjs +1 -0
  448. package/dist/chunks/vim-0.7.6-k6evwpd5.mjs +1 -0
  449. package/dist/chunks/watcher-0.7.6-gc6rbcvg.mjs +1 -0
  450. package/dist/chunks/wiki-0.7.6-3sjbdwmf.mjs +132 -0
  451. package/dist/chunks/workflows-0.7.6-rg3kvwhe.mjs +1 -0
  452. package/dist/chunks/worktree-0.7.6-hhewj19d.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-0.7.6-a27ekdvp.mjs +1 -0
  454. package/dist/chunks/wrapper-0.7.6-01s6r78y.mjs +7 -0
  455. package/dist/claudin-vscode.vsix +0 -0
  456. package/dist/cli.mjs +2 -2
  457. package/package.json +7 -15
  458. package/dist/chunks/AgentTool-0.7.4-n3w81nr0.mjs +0 -1
  459. package/dist/chunks/App-0.7.4-f82nhj4b.mjs +0 -1
  460. package/dist/chunks/ApproveApiKey-0.7.4-27gdpx41.mjs +0 -1
  461. package/dist/chunks/AssistantSessionChooser-0.7.4-dfwr2199.mjs +0 -1
  462. package/dist/chunks/AutoModeOptInDialog-0.7.4-y9fxqce2.mjs +0 -1
  463. package/dist/chunks/BypassPermissionsModeDialog-0.7.4-vqmkfdv5.mjs +0 -1
  464. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.4-yya4exxc.mjs +0 -1
  465. package/dist/chunks/ConsoleOAuthFlow-0.7.4-pkmm3hrc.mjs +0 -1
  466. package/dist/chunks/DiffDialog-0.7.4-c524vxrv.mjs +0 -7
  467. package/dist/chunks/Doctor-0.7.4-pa6ms0qn.mjs +0 -1
  468. package/dist/chunks/ExplorerDialog-0.7.4-bmp67p2b.mjs +0 -6
  469. package/dist/chunks/Grove-0.7.4-9acw1m3r.mjs +0 -1
  470. package/dist/chunks/ITermBackend-0.7.4-dy75k5qx.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-0.7.4-8ra8bj22.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-0.7.4-n4h644pz.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-0.7.4-cnays88h.mjs +0 -1
  474. package/dist/chunks/Onboarding-0.7.4-fqvxpdtd.mjs +0 -1
  475. package/dist/chunks/ProviderManager-0.7.4-e21vv07m.mjs +0 -1
  476. package/dist/chunks/REPL-0.7.4-n38hda18.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-0.7.4-f3xp8e01.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-0.7.4-39wyejgx.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-0.7.4-6373v72h.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-0.7.4-y6km4665.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-0.7.4-wh96svjn.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-0.7.4-grwq5d7n.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-0.7.4-k0kt2bxp.mjs +0 -1
  484. package/dist/chunks/TrustDialog-0.7.4-xhgj5jat.mjs +0 -1
  485. package/dist/chunks/activeProvider-0.7.4-vzfmpvjc.mjs +0 -1
  486. package/dist/chunks/add-dir-0.7.4-mfwwzt70.mjs +0 -1
  487. package/dist/chunks/agentTypes-0.7.4-9fgk10yx.mjs +0 -1
  488. package/dist/chunks/agents-0.7.4-9fxas1pf.mjs +0 -110
  489. package/dist/chunks/agents-0.7.4-eart70kj.mjs +0 -3
  490. package/dist/chunks/api-0.7.4-eqsmhts7.mjs +0 -1
  491. package/dist/chunks/asciicast-0.7.4-900ptry2.mjs +0 -1
  492. package/dist/chunks/assistant-0.7.4-qp02hgvg.mjs +0 -1
  493. package/dist/chunks/auth-0.7.4-ccf1t8td.mjs +0 -1
  494. package/dist/chunks/auth-0.7.4-tzph01c0.mjs +0 -1
  495. package/dist/chunks/autoMode-0.7.4-5m9bs574.mjs +0 -48
  496. package/dist/chunks/autoUpdater-0.7.4-s4krk2je.mjs +0 -1
  497. package/dist/chunks/backgroundHousekeeping-0.7.4-zqytsqmx.mjs +0 -1
  498. package/dist/chunks/branch-0.7.4-29eypmvg.mjs +0 -4
  499. package/dist/chunks/bridge-0.7.4-45nq3nxm.mjs +0 -2
  500. package/dist/chunks/bridgeConfig-0.7.4-fb2nwbxq.mjs +0 -1
  501. package/dist/chunks/bridgeEnabled-0.7.4-rreg4xyn.mjs +0 -1
  502. package/dist/chunks/bridgeMain-0.7.4-m4rjydb5.mjs +0 -88
  503. package/dist/chunks/bridgePointer-0.7.4-mjexaxq5.mjs +0 -1
  504. package/dist/chunks/btw-0.7.4-rw5186va.mjs +0 -1
  505. package/dist/chunks/buddy-0.7.4-mwgfqb1k.mjs +0 -3
  506. package/dist/chunks/cacache-0.7.4-254mqspw.mjs +0 -1
  507. package/dist/chunks/cache-probe-0.7.4-kjrs8qh8.mjs +0 -21
  508. package/dist/chunks/cacheStats-0.7.4-2pfk76t7.mjs +0 -4
  509. package/dist/chunks/caches-0.7.4-qjs93vrb.mjs +0 -1
  510. package/dist/chunks/claudeDesktop-0.7.4-e2h7mp9r.mjs +0 -1
  511. package/dist/chunks/claudemd-0.7.4-tv76d8c5.mjs +0 -1
  512. package/dist/chunks/clear-0.7.4-2qt378q0.mjs +0 -1
  513. package/dist/chunks/clearTerminal-0.7.4-5jfekabd.mjs +0 -1
  514. package/dist/chunks/cli-0.7.4-00n6rj7y.mjs +0 -3
  515. package/dist/chunks/cli-0.7.4-0a7934k3.mjs +0 -21
  516. package/dist/chunks/cli-0.7.4-0a9kv7ps.mjs +0 -2
  517. package/dist/chunks/cli-0.7.4-0c1vbfmd.mjs +0 -2
  518. package/dist/chunks/cli-0.7.4-0h9b4tge.mjs +0 -2
  519. package/dist/chunks/cli-0.7.4-0thtf513.mjs +0 -2
  520. package/dist/chunks/cli-0.7.4-0ytxwr14.mjs +0 -2
  521. package/dist/chunks/cli-0.7.4-12k33ng9.mjs +0 -2
  522. package/dist/chunks/cli-0.7.4-15xs793c.mjs +0 -2
  523. package/dist/chunks/cli-0.7.4-1ba5bwdq.mjs +0 -42
  524. package/dist/chunks/cli-0.7.4-1tkzz9x6.mjs +0 -5469
  525. package/dist/chunks/cli-0.7.4-2apswqf5.mjs +0 -59
  526. package/dist/chunks/cli-0.7.4-2fxnz89x.mjs +0 -6
  527. package/dist/chunks/cli-0.7.4-2haqz80h.mjs +0 -16
  528. package/dist/chunks/cli-0.7.4-2p5w6279.mjs +0 -45
  529. package/dist/chunks/cli-0.7.4-33k7j18b.mjs +0 -3
  530. package/dist/chunks/cli-0.7.4-3e7assg4.mjs +0 -2
  531. package/dist/chunks/cli-0.7.4-3gn2tfsb.mjs +0 -2
  532. package/dist/chunks/cli-0.7.4-40m5mk3s.mjs +0 -2
  533. package/dist/chunks/cli-0.7.4-47nyf9j2.mjs +0 -2
  534. package/dist/chunks/cli-0.7.4-489pp4nd.mjs +0 -2
  535. package/dist/chunks/cli-0.7.4-4a6hn01n.mjs +0 -133
  536. package/dist/chunks/cli-0.7.4-4br84c8j.mjs +0 -2
  537. package/dist/chunks/cli-0.7.4-4ee9swqr.mjs +0 -2
  538. package/dist/chunks/cli-0.7.4-4pagjrxs.mjs +0 -18
  539. package/dist/chunks/cli-0.7.4-4sh782tn.mjs +0 -2
  540. package/dist/chunks/cli-0.7.4-507dp6s1.mjs +0 -2
  541. package/dist/chunks/cli-0.7.4-510c371d.mjs +0 -12
  542. package/dist/chunks/cli-0.7.4-51t8p2qe.mjs +0 -2
  543. package/dist/chunks/cli-0.7.4-533hdyc8.mjs +0 -2
  544. package/dist/chunks/cli-0.7.4-53k7apn9.mjs +0 -2
  545. package/dist/chunks/cli-0.7.4-58p1wenr.mjs +0 -2
  546. package/dist/chunks/cli-0.7.4-5fjrbavz.mjs +0 -2
  547. package/dist/chunks/cli-0.7.4-5k1t5jcn.mjs +0 -2
  548. package/dist/chunks/cli-0.7.4-61etrp8x.mjs +0 -2
  549. package/dist/chunks/cli-0.7.4-61svw97d.mjs +0 -3
  550. package/dist/chunks/cli-0.7.4-6265e9tz.mjs +0 -2
  551. package/dist/chunks/cli-0.7.4-62ac47x8.mjs +0 -2
  552. package/dist/chunks/cli-0.7.4-66p94pps.mjs +0 -3
  553. package/dist/chunks/cli-0.7.4-68dbzpkf.mjs +0 -3
  554. package/dist/chunks/cli-0.7.4-6cft4ytf.mjs +0 -15
  555. package/dist/chunks/cli-0.7.4-6n295sx3.mjs +0 -2
  556. package/dist/chunks/cli-0.7.4-6sqa761d.mjs +0 -2
  557. package/dist/chunks/cli-0.7.4-6tvnyqjj.mjs +0 -2
  558. package/dist/chunks/cli-0.7.4-6zr3mpvn.mjs +0 -2
  559. package/dist/chunks/cli-0.7.4-729n63er.mjs +0 -2
  560. package/dist/chunks/cli-0.7.4-7ftm6c0s.mjs +0 -26
  561. package/dist/chunks/cli-0.7.4-7k74b1yf.mjs +0 -1
  562. package/dist/chunks/cli-0.7.4-7mzefe20.mjs +0 -2
  563. package/dist/chunks/cli-0.7.4-7t2zsdm5.mjs +0 -2
  564. package/dist/chunks/cli-0.7.4-7tr153ha.mjs +0 -2
  565. package/dist/chunks/cli-0.7.4-7wr3z77e.mjs +0 -2
  566. package/dist/chunks/cli-0.7.4-85txq06q.mjs +0 -2
  567. package/dist/chunks/cli-0.7.4-8hskaxte.mjs +0 -2
  568. package/dist/chunks/cli-0.7.4-8nss0n1a.mjs +0 -25
  569. package/dist/chunks/cli-0.7.4-8vd2zhhw.mjs +0 -2
  570. package/dist/chunks/cli-0.7.4-8wbk60h9.mjs +0 -2
  571. package/dist/chunks/cli-0.7.4-8xxafyv0.mjs +0 -18
  572. package/dist/chunks/cli-0.7.4-90d95m4d.mjs +0 -2
  573. package/dist/chunks/cli-0.7.4-9kf16ber.mjs +0 -2
  574. package/dist/chunks/cli-0.7.4-9kzgbrwj.mjs +0 -2
  575. package/dist/chunks/cli-0.7.4-9r1s7xtv.mjs +0 -6
  576. package/dist/chunks/cli-0.7.4-9vph2ayc.mjs +0 -2
  577. package/dist/chunks/cli-0.7.4-9zsty6c5.mjs +0 -2
  578. package/dist/chunks/cli-0.7.4-abs9vv3n.mjs +0 -2
  579. package/dist/chunks/cli-0.7.4-ae96heq4.mjs +0 -2
  580. package/dist/chunks/cli-0.7.4-ahm3gnaw.mjs +0 -2
  581. package/dist/chunks/cli-0.7.4-akf6rhsn.mjs +0 -4
  582. package/dist/chunks/cli-0.7.4-aswaa5m4.mjs +0 -2
  583. package/dist/chunks/cli-0.7.4-at2fkgpk.mjs +0 -2
  584. package/dist/chunks/cli-0.7.4-b5qdnvdg.mjs +0 -2
  585. package/dist/chunks/cli-0.7.4-bh4xsr2c.mjs +0 -4
  586. package/dist/chunks/cli-0.7.4-bkgx5wz7.mjs +0 -2
  587. package/dist/chunks/cli-0.7.4-bmw3qchp.mjs +0 -2
  588. package/dist/chunks/cli-0.7.4-bqk5rkrz.mjs +0 -2
  589. package/dist/chunks/cli-0.7.4-c0e99xn9.mjs +0 -24
  590. package/dist/chunks/cli-0.7.4-cfsjq69q.mjs +0 -2
  591. package/dist/chunks/cli-0.7.4-d82gqb10.mjs +0 -2
  592. package/dist/chunks/cli-0.7.4-d9y5wx3y.mjs +0 -2
  593. package/dist/chunks/cli-0.7.4-da69w12w.mjs +0 -3
  594. package/dist/chunks/cli-0.7.4-deyaxrbc.mjs +0 -2
  595. package/dist/chunks/cli-0.7.4-djbdmzgq.mjs +0 -2
  596. package/dist/chunks/cli-0.7.4-dwjhqjan.mjs +0 -2
  597. package/dist/chunks/cli-0.7.4-e2bhfh6d.mjs +0 -2
  598. package/dist/chunks/cli-0.7.4-ee9ansx1.mjs +0 -24
  599. package/dist/chunks/cli-0.7.4-eg7xj51b.mjs +0 -2
  600. package/dist/chunks/cli-0.7.4-egc286gx.mjs +0 -2
  601. package/dist/chunks/cli-0.7.4-ejm88apc.mjs +0 -2
  602. package/dist/chunks/cli-0.7.4-emdbzgja.mjs +0 -2
  603. package/dist/chunks/cli-0.7.4-en1ggcz7.mjs +0 -2
  604. package/dist/chunks/cli-0.7.4-evtmfc7t.mjs +0 -2
  605. package/dist/chunks/cli-0.7.4-f23ty9s6.mjs +0 -39
  606. package/dist/chunks/cli-0.7.4-f8qmyn41.mjs +0 -4
  607. package/dist/chunks/cli-0.7.4-fhgnbfvj.mjs +0 -2
  608. package/dist/chunks/cli-0.7.4-g9hc44qq.mjs +0 -2
  609. package/dist/chunks/cli-0.7.4-g9w5x5ns.mjs +0 -4
  610. package/dist/chunks/cli-0.7.4-ge77h9d7.mjs +0 -2
  611. package/dist/chunks/cli-0.7.4-ghq0kwkv.mjs +0 -2
  612. package/dist/chunks/cli-0.7.4-gjn70n3p.mjs +0 -2
  613. package/dist/chunks/cli-0.7.4-gr1feczd.mjs +0 -2
  614. package/dist/chunks/cli-0.7.4-gxccpbef.mjs +0 -3
  615. package/dist/chunks/cli-0.7.4-h0ze5j97.mjs +0 -2
  616. package/dist/chunks/cli-0.7.4-h24m11yy.mjs +0 -2
  617. package/dist/chunks/cli-0.7.4-h5274d0h.mjs +0 -2
  618. package/dist/chunks/cli-0.7.4-h57hq23q.mjs +0 -2
  619. package/dist/chunks/cli-0.7.4-h5wxsd2h.mjs +0 -9
  620. package/dist/chunks/cli-0.7.4-h94hrj45.mjs +0 -2
  621. package/dist/chunks/cli-0.7.4-hayqy916.mjs +0 -2
  622. package/dist/chunks/cli-0.7.4-hegk157e.mjs +0 -6
  623. package/dist/chunks/cli-0.7.4-hnfm0p8b.mjs +0 -2
  624. package/dist/chunks/cli-0.7.4-hsa9khw7.mjs +0 -17
  625. package/dist/chunks/cli-0.7.4-hvnq08bj.mjs +0 -24
  626. package/dist/chunks/cli-0.7.4-hvnzwb5v.mjs +0 -194
  627. package/dist/chunks/cli-0.7.4-hvs3h0hc.mjs +0 -3
  628. package/dist/chunks/cli-0.7.4-hw93j7vq.mjs +0 -2
  629. package/dist/chunks/cli-0.7.4-hz7s1rtn.mjs +0 -2
  630. package/dist/chunks/cli-0.7.4-jg5ajbyb.mjs +0 -2
  631. package/dist/chunks/cli-0.7.4-jgg33mak.mjs +0 -2
  632. package/dist/chunks/cli-0.7.4-jgswqtvj.mjs +0 -3
  633. package/dist/chunks/cli-0.7.4-k735e5sg.mjs +0 -133
  634. package/dist/chunks/cli-0.7.4-k7s78hkt.mjs +0 -58
  635. package/dist/chunks/cli-0.7.4-kmgvx19r.mjs +0 -5
  636. package/dist/chunks/cli-0.7.4-kmxpdkne.mjs +0 -2
  637. package/dist/chunks/cli-0.7.4-kpp23hbz.mjs +0 -2
  638. package/dist/chunks/cli-0.7.4-kz0h2jkr.mjs +0 -15
  639. package/dist/chunks/cli-0.7.4-m1f3fc2v.mjs +0 -2
  640. package/dist/chunks/cli-0.7.4-m2yz2rtr.mjs +0 -2
  641. package/dist/chunks/cli-0.7.4-m6n2gga8.mjs +0 -4
  642. package/dist/chunks/cli-0.7.4-mdv26096.mjs +0 -6
  643. package/dist/chunks/cli-0.7.4-mg4yp3b0.mjs +0 -2
  644. package/dist/chunks/cli-0.7.4-mmzkb167.mjs +0 -2
  645. package/dist/chunks/cli-0.7.4-mq3qzben.mjs +0 -2
  646. package/dist/chunks/cli-0.7.4-mqbmk6y6.mjs +0 -4
  647. package/dist/chunks/cli-0.7.4-n9arxrya.mjs +0 -12
  648. package/dist/chunks/cli-0.7.4-naanktx2.mjs +0 -34
  649. package/dist/chunks/cli-0.7.4-nbnqrjgm.mjs +0 -2
  650. package/dist/chunks/cli-0.7.4-nnd4g2nm.mjs +0 -2
  651. package/dist/chunks/cli-0.7.4-nst28yat.mjs +0 -2
  652. package/dist/chunks/cli-0.7.4-p85h0qry.mjs +0 -17
  653. package/dist/chunks/cli-0.7.4-pgtn2eay.mjs +0 -2
  654. package/dist/chunks/cli-0.7.4-pjfb6eq2.mjs +0 -2
  655. package/dist/chunks/cli-0.7.4-pyyaz246.mjs +0 -2
  656. package/dist/chunks/cli-0.7.4-q23avgwg.mjs +0 -2
  657. package/dist/chunks/cli-0.7.4-q4g37dxk.mjs +0 -2
  658. package/dist/chunks/cli-0.7.4-q4q5x19y.mjs +0 -2
  659. package/dist/chunks/cli-0.7.4-q83h4xz7.mjs +0 -10
  660. package/dist/chunks/cli-0.7.4-qcc7kfkv.mjs +0 -2
  661. package/dist/chunks/cli-0.7.4-qcqz94w2.mjs +0 -2
  662. package/dist/chunks/cli-0.7.4-qjfmn9db.mjs +0 -2
  663. package/dist/chunks/cli-0.7.4-r0fkpzp3.mjs +0 -2
  664. package/dist/chunks/cli-0.7.4-r0nqh5aw.mjs +0 -2
  665. package/dist/chunks/cli-0.7.4-r1ebyx3p.mjs +0 -2
  666. package/dist/chunks/cli-0.7.4-r6ste2g4.mjs +0 -2
  667. package/dist/chunks/cli-0.7.4-rn8x06p3.mjs +0 -2
  668. package/dist/chunks/cli-0.7.4-rr7x6s9y.mjs +0 -2
  669. package/dist/chunks/cli-0.7.4-rskynrc5.mjs +0 -4
  670. package/dist/chunks/cli-0.7.4-rszd2m9d.mjs +0 -3
  671. package/dist/chunks/cli-0.7.4-rts5twex.mjs +0 -2
  672. package/dist/chunks/cli-0.7.4-rxsb2bkg.mjs +0 -2
  673. package/dist/chunks/cli-0.7.4-rzkdke3e.mjs +0 -4
  674. package/dist/chunks/cli-0.7.4-s97t3v7z.mjs +0 -2
  675. package/dist/chunks/cli-0.7.4-sm8wf8qx.mjs +0 -67
  676. package/dist/chunks/cli-0.7.4-sw7nh3hq.mjs +0 -2
  677. package/dist/chunks/cli-0.7.4-sxvnky38.mjs +0 -2
  678. package/dist/chunks/cli-0.7.4-syg2nab8.mjs +0 -18
  679. package/dist/chunks/cli-0.7.4-t68xf0hs.mjs +0 -2
  680. package/dist/chunks/cli-0.7.4-tcwf7yvv.mjs +0 -2
  681. package/dist/chunks/cli-0.7.4-te9nvehv.mjs +0 -2
  682. package/dist/chunks/cli-0.7.4-tkcchh6p.mjs +0 -2
  683. package/dist/chunks/cli-0.7.4-tme1sywb.mjs +0 -2
  684. package/dist/chunks/cli-0.7.4-tny04z8h.mjs +0 -2
  685. package/dist/chunks/cli-0.7.4-tsf2s2bg.mjs +0 -2
  686. package/dist/chunks/cli-0.7.4-tz5hgphm.mjs +0 -3
  687. package/dist/chunks/cli-0.7.4-v70q1qwp.mjs +0 -2
  688. package/dist/chunks/cli-0.7.4-ve6x1t8v.mjs +0 -5
  689. package/dist/chunks/cli-0.7.4-vq696c8w.mjs +0 -2
  690. package/dist/chunks/cli-0.7.4-vtnqj21e.mjs +0 -2
  691. package/dist/chunks/cli-0.7.4-vw2w38z0.mjs +0 -2
  692. package/dist/chunks/cli-0.7.4-wa74g17n.mjs +0 -2
  693. package/dist/chunks/cli-0.7.4-wb89zsbs.mjs +0 -2
  694. package/dist/chunks/cli-0.7.4-wes9w04e.mjs +0 -2
  695. package/dist/chunks/cli-0.7.4-wh44hxq2.mjs +0 -5
  696. package/dist/chunks/cli-0.7.4-wmw8fpv7.mjs +0 -12
  697. package/dist/chunks/cli-0.7.4-wtz9ed9r.mjs +0 -2
  698. package/dist/chunks/cli-0.7.4-wv6x6pzr.mjs +0 -50
  699. package/dist/chunks/cli-0.7.4-x1w88hnn.mjs +0 -12
  700. package/dist/chunks/cli-0.7.4-x5fcmgcd.mjs +0 -4
  701. package/dist/chunks/cli-0.7.4-xgw8jjs2.mjs +0 -2
  702. package/dist/chunks/cli-0.7.4-xhw7cmg0.mjs +0 -2
  703. package/dist/chunks/cli-0.7.4-xt87yshe.mjs +0 -20
  704. package/dist/chunks/cli-0.7.4-y3z3j4d9.mjs +0 -8
  705. package/dist/chunks/cli-0.7.4-y4w46256.mjs +0 -2
  706. package/dist/chunks/cli-0.7.4-y7sxx7d0.mjs +0 -2
  707. package/dist/chunks/cli-0.7.4-ybvnfxcf.mjs +0 -4
  708. package/dist/chunks/cli-0.7.4-yces9dz7.mjs +0 -2
  709. package/dist/chunks/cli-0.7.4-yjqyy8n2.mjs +0 -2
  710. package/dist/chunks/cli-0.7.4-yrbhzggw.mjs +0 -3
  711. package/dist/chunks/cli-0.7.4-yvdbdncp.mjs +0 -2
  712. package/dist/chunks/cli-0.7.4-z1vgf16g.mjs +0 -25
  713. package/dist/chunks/cli-0.7.4-z48enz4n.mjs +0 -2
  714. package/dist/chunks/cli-0.7.4-z88n7a08.mjs +0 -2
  715. package/dist/chunks/cli-0.7.4-za9xa1j8.mjs +0 -3
  716. package/dist/chunks/cli-0.7.4-zaa684f4.mjs +0 -15
  717. package/dist/chunks/cli-0.7.4-zbdceewq.mjs +0 -7
  718. package/dist/chunks/cli-0.7.4-zdkph0g9.mjs +0 -2
  719. package/dist/chunks/cli-0.7.4-zzze6t7f.mjs +0 -2
  720. package/dist/chunks/client-0.7.4-hxpb2apz.mjs +0 -1
  721. package/dist/chunks/color-0.7.4-pkanvtan.mjs +0 -1
  722. package/dist/chunks/compact-0.7.4-sjz49brs.mjs +0 -3
  723. package/dist/chunks/config-0.7.4-f5dgrp7x.mjs +0 -1
  724. package/dist/chunks/config-0.7.4-mc1mvka6.mjs +0 -1
  725. package/dist/chunks/constants-0.7.4-q426cgcp.mjs +0 -1
  726. package/dist/chunks/context-0.7.4-ssay296s.mjs +0 -1
  727. package/dist/chunks/context-noninteractive-0.7.4-y9y9az38.mjs +0 -1
  728. package/dist/chunks/conversation-0.7.4-m00s33jt.mjs +0 -1
  729. package/dist/chunks/copilotHeaders-0.7.4-pv50vnpq.mjs +0 -1
  730. package/dist/chunks/copy-0.7.4-ktk8gabv.mjs +0 -9
  731. package/dist/chunks/cost-0.7.4-r3td1n69.mjs +0 -1
  732. package/dist/chunks/createSSHSession-0.7.4-hhqxxfmb.mjs +0 -1
  733. package/dist/chunks/createSession-0.7.4-ebs0k8yt.mjs +0 -1
  734. package/dist/chunks/debug-0.7.4-0nebad2s.mjs +0 -1
  735. package/dist/chunks/defaultActionDeps-0.7.4-jbzptdbp.mjs +0 -1446
  736. package/dist/chunks/desktop-0.7.4-fmsm731w.mjs +0 -1
  737. package/dist/chunks/detectRepository-0.7.4-qse5a13f.mjs +0 -1
  738. package/dist/chunks/detection-0.7.4-a7c8arz9.mjs +0 -1
  739. package/dist/chunks/diff-0.7.4-ayakpeyz.mjs +0 -1
  740. package/dist/chunks/doctor-0.7.4-hwhyhjfr.mjs +0 -1
  741. package/dist/chunks/doctorDiagnostic-0.7.4-qm9knj52.mjs +0 -1
  742. package/dist/chunks/earlyInput-0.7.4-x3ysj16t.mjs +0 -1
  743. package/dist/chunks/effort-0.7.4-1sv0dhhk.mjs +0 -10
  744. package/dist/chunks/engine-0.7.4-gz82afzv.mjs +0 -1
  745. package/dist/chunks/envLessBridgeConfig-0.7.4-q1h5p7jv.mjs +0 -1
  746. package/dist/chunks/envUtils-0.7.4-ww7aa64y.mjs +0 -1
  747. package/dist/chunks/environmentSelection-0.7.4-r3g0hp0m.mjs +0 -1
  748. package/dist/chunks/environments-0.7.4-8n2fat2s.mjs +0 -1
  749. package/dist/chunks/errors-0.7.4-v9nwybq7.mjs +0 -1
  750. package/dist/chunks/exampleCommands-0.7.4-80n656nx.mjs +0 -1
  751. package/dist/chunks/exit-0.7.4-zmzt7mx8.mjs +0 -1
  752. package/dist/chunks/explorer-0.7.4-1knjqbak.mjs +0 -1
  753. package/dist/chunks/export-0.7.4-8b909kg4.mjs +0 -2
  754. package/dist/chunks/extra-usage-0.7.4-gwxf43jr.mjs +0 -1
  755. package/dist/chunks/extra-usage-noninteractive-0.7.4-vntrq9c8.mjs +0 -1
  756. package/dist/chunks/fast-0.7.4-7d198jes.mjs +0 -1
  757. package/dist/chunks/feedback-0.7.4-5q49cx0k.mjs +0 -14
  758. package/dist/chunks/firstPartyEventLogger-0.7.4-w1471f1j.mjs +0 -1
  759. package/dist/chunks/git-0.7.4-qm9bjwe1.mjs +0 -1
  760. package/dist/chunks/githubModelsCredentials-0.7.4-ecrp7kdj.mjs +0 -1
  761. package/dist/chunks/goal-0.7.4-ce3ysbxg.mjs +0 -4
  762. package/dist/chunks/grove-0.7.4-20a0nspg.mjs +0 -1
  763. package/dist/chunks/growthbook-0.7.4-85m0qnfn.mjs +0 -1
  764. package/dist/chunks/headless-0.7.4-g1me8a7s.mjs +0 -2
  765. package/dist/chunks/heapdump-0.7.4-sgk3zw0t.mjs +0 -6
  766. package/dist/chunks/help-0.7.4-aw6p8ena.mjs +0 -1
  767. package/dist/chunks/hookChains-0.7.4-3eqqv9t2.mjs +0 -3
  768. package/dist/chunks/hooks-0.7.4-q1wrys2h.mjs +0 -79
  769. package/dist/chunks/hooks-0.7.4-v782ktbj.mjs +0 -1
  770. package/dist/chunks/ide-0.7.4-nvtd5hpv.mjs +0 -3
  771. package/dist/chunks/image-processor-napi-0.7.4-a0arvwvs.mjs +0 -1
  772. package/dist/chunks/inboundAttachments-0.7.4-9hxndvnx.mjs +0 -1
  773. package/dist/chunks/index-0.7.4-0atnj624.mjs +0 -1
  774. package/dist/chunks/index-0.7.4-3yc5n58n.mjs +0 -1
  775. package/dist/chunks/index-0.7.4-46qessxk.mjs +0 -1
  776. package/dist/chunks/index-0.7.4-5x44zrgw.mjs +0 -2
  777. package/dist/chunks/index-0.7.4-97t4afz3.mjs +0 -1
  778. package/dist/chunks/index-0.7.4-9rhxb7ph.mjs +0 -1
  779. package/dist/chunks/index-0.7.4-9z6mgm05.mjs +0 -2
  780. package/dist/chunks/index-0.7.4-adfj0wz0.mjs +0 -1
  781. package/dist/chunks/index-0.7.4-bv491fah.mjs +0 -5
  782. package/dist/chunks/index-0.7.4-cxv3b9bg.mjs +0 -1
  783. package/dist/chunks/index-0.7.4-d7jstqgp.mjs +0 -1
  784. package/dist/chunks/index-0.7.4-fxa74szv.mjs +0 -1
  785. package/dist/chunks/index-0.7.4-hh3v0qz8.mjs +0 -1
  786. package/dist/chunks/index-0.7.4-kkcp2c2w.mjs +0 -9
  787. package/dist/chunks/index-0.7.4-n3dcdt88.mjs +0 -1
  788. package/dist/chunks/index-0.7.4-p8ts8cvg.mjs +0 -1
  789. package/dist/chunks/index-0.7.4-pamx7cgj.mjs +0 -17
  790. package/dist/chunks/index-0.7.4-pvvgj6g7.mjs +0 -1
  791. package/dist/chunks/index-0.7.4-rhf5p3mf.mjs +0 -1
  792. package/dist/chunks/index-0.7.4-rzztd31r.mjs +0 -1
  793. package/dist/chunks/index-0.7.4-sajaaw7k.mjs +0 -30
  794. package/dist/chunks/index-0.7.4-xdq0jf9r.mjs +0 -1
  795. package/dist/chunks/index-0.7.4-z3z8qmah.mjs +0 -9
  796. package/dist/chunks/init-0.7.4-4e9zty2q.mjs +0 -1
  797. package/dist/chunks/initReplBridge-0.7.4-yrparcz7.mjs +0 -1
  798. package/dist/chunks/ink-0.7.4-r1261h4c.mjs +0 -1
  799. package/dist/chunks/insights-0.7.4-t5dmav2c.mjs +0 -870
  800. package/dist/chunks/install-0.7.4-09cxj9vb.mjs +0 -1
  801. package/dist/chunks/install-github-app-0.7.4-hv9wkbxq.mjs +0 -149
  802. package/dist/chunks/install-slack-app-0.7.4-hgnea2d6.mjs +0 -1
  803. package/dist/chunks/instrumentation-0.7.4-17ca7p44.mjs +0 -1
  804. package/dist/chunks/interactiveHelpers-0.7.4-8jxj468e.mjs +0 -1
  805. package/dist/chunks/keybindings-0.7.4-raw68sen.mjs +0 -2
  806. package/dist/chunks/knowledge-0.7.4-xg9wb8wf.mjs +0 -2
  807. package/dist/chunks/latestVersionCache-0.7.4-60ks5x17.mjs +0 -1
  808. package/dist/chunks/loadAgentsDir-0.7.4-fg72pr2c.mjs +0 -1
  809. package/dist/chunks/loadPluginHooks-0.7.4-anp72ngw.mjs +0 -1
  810. package/dist/chunks/loadPluginHooks-0.7.4-jsx8r8aw.mjs +0 -1
  811. package/dist/chunks/log-0.7.4-12x7gw8q.mjs +0 -1
  812. package/dist/chunks/main-0.7.4-q6k044gc.mjs +0 -1
  813. package/dist/chunks/managedEnv-0.7.4-74e7mhhm.mjs +0 -1
  814. package/dist/chunks/mcp-0.7.4-4sr5rcvc.mjs +0 -17
  815. package/dist/chunks/mcp-0.7.4-9g6a64bt.mjs +0 -4
  816. package/dist/chunks/mcp-0.7.4-z4k2mzgy.mjs +0 -1
  817. package/dist/chunks/mcpb-0.7.4-jxskcyd8.mjs +0 -1
  818. package/dist/chunks/memory-0.7.4-541b29se.mjs +0 -3
  819. package/dist/chunks/model-0.7.4-mxvb5p7w.mjs +0 -2
  820. package/dist/chunks/model-0.7.4-nc7qk972.mjs +0 -1
  821. package/dist/chunks/node-0.7.4-hg387vyg.mjs +0 -12
  822. package/dist/chunks/oauth-0.7.4-e4sc7m0w.mjs +0 -1
  823. package/dist/chunks/openaiShim-0.7.4-mwtq6jnq.mjs +0 -14
  824. package/dist/chunks/output-style-0.7.4-b3vewghm.mjs +0 -1
  825. package/dist/chunks/package-GCDC7LJR-0.7.4-1e6194dg.mjs +0 -1
  826. package/dist/chunks/parseConnectUrl-0.7.4-46v5dfsp.mjs +0 -1
  827. package/dist/chunks/parser-0.7.4-2wt2btdd.mjs +0 -1
  828. package/dist/chunks/passes-0.7.4-182xeaj4.mjs +0 -1
  829. package/dist/chunks/permissions-0.7.4-hbqjvate.mjs +0 -3
  830. package/dist/chunks/permissions-0.7.4-qxf6e5nd.mjs +0 -1
  831. package/dist/chunks/plan-0.7.4-t5djkwkz.mjs +0 -1
  832. package/dist/chunks/plist-0.7.4-98g5pq7j.mjs +0 -1
  833. package/dist/chunks/plugin-0.7.4-0kmdzd88.mjs +0 -29
  834. package/dist/chunks/pluginStartupCheck-0.7.4-f1kq85sa.mjs +0 -1
  835. package/dist/chunks/plugins-0.7.4-52qggqw3.mjs +0 -9
  836. package/dist/chunks/preActionHook-0.7.4-qdyv0zgd.mjs +0 -2
  837. package/dist/chunks/print-0.7.4-1y1eqyhp.mjs +0 -57
  838. package/dist/chunks/privacy-settings-0.7.4-jrr06fw8.mjs +0 -1
  839. package/dist/chunks/process-0.7.4-bh0fjdst.mjs +0 -1
  840. package/dist/chunks/processBashCommand-0.7.4-8j3chrnm.mjs +0 -1
  841. package/dist/chunks/processSlashCommand-0.7.4-j53jaae7.mjs +0 -9
  842. package/dist/chunks/prompt-0.7.4-6eskezm8.mjs +0 -1
  843. package/dist/chunks/prompt-0.7.4-bnhsjhx3.mjs +0 -1
  844. package/dist/chunks/prompts-0.7.4-vevq7ae1.mjs +0 -1
  845. package/dist/chunks/protocolHandler-0.7.4-s4j6aeqh.mjs +0 -13
  846. package/dist/chunks/provider-0.7.4-jvtch160.mjs +0 -2
  847. package/dist/chunks/providerProfiles-0.7.4-yqetgvnq.mjs +0 -1
  848. package/dist/chunks/providerValidation-0.7.4-g6enpya6.mjs +0 -6
  849. package/dist/chunks/rate-limit-options-0.7.4-cwnmpqq9.mjs +0 -1
  850. package/dist/chunks/registerSubcommands-0.7.4-z1bdpgwx.mjs +0 -34
  851. package/dist/chunks/registry-0.7.4-5tne3d7e.mjs +0 -1
  852. package/dist/chunks/release-notes-0.7.4-sdsbw8s6.mjs +0 -5
  853. package/dist/chunks/reload-plugins-0.7.4-8fpph071.mjs +0 -2
  854. package/dist/chunks/remote-env-0.7.4-b1mzf95y.mjs +0 -1
  855. package/dist/chunks/remoteBridgeCore-0.7.4-9psc4fph.mjs +0 -1
  856. package/dist/chunks/remoteSession-0.7.4-8q76j945.mjs +0 -1
  857. package/dist/chunks/rename-0.7.4-x6q5drmn.mjs +0 -1
  858. package/dist/chunks/replBridgeHandle-0.7.4-dnp2by0g.mjs +0 -1
  859. package/dist/chunks/replLauncher-0.7.4-ztr3sg2j.mjs +0 -1
  860. package/dist/chunks/resume-0.7.4-zg3nxxte.mjs +0 -2
  861. package/dist/chunks/rewind-0.7.4-9j0zbj9a.mjs +0 -1
  862. package/dist/chunks/rootOptions-0.7.4-jrktzb1h.mjs +0 -1
  863. package/dist/chunks/sandbox-adapter-0.7.4-h71dwt2q.mjs +0 -1
  864. package/dist/chunks/sandbox-toggle-0.7.4-ks8gnbp8.mjs +0 -1
  865. package/dist/chunks/session-0.7.4-vc75bjkq.mjs +0 -2
  866. package/dist/chunks/sessionDiscovery-0.7.4-aqvmyy21.mjs +0 -1
  867. package/dist/chunks/sessionFileAccessHooks-0.7.4-7rw6txzf.mjs +0 -1
  868. package/dist/chunks/sessionStorage-0.7.4-820nxqcx.mjs +0 -1
  869. package/dist/chunks/settings-0.7.4-xn9kh7fk.mjs +0 -1
  870. package/dist/chunks/setup-0.7.4-ad98h634.mjs +0 -5
  871. package/dist/chunks/sinks-0.7.4-z7ad37zx.mjs +0 -1
  872. package/dist/chunks/skills-0.7.4-ad67cz1j.mjs +0 -1
  873. package/dist/chunks/startupProfiler-0.7.4-akaj65pe.mjs +0 -1
  874. package/dist/chunks/startupUpdateCheck-0.7.4-7r3vt1zf.mjs +0 -1
  875. package/dist/chunks/state-0.7.4-vjqm3ded.mjs +0 -1
  876. package/dist/chunks/stats-0.7.4-hqz1awtk.mjs +0 -6
  877. package/dist/chunks/status-0.7.4-e09aw5s3.mjs +0 -1
  878. package/dist/chunks/stickers-0.7.4-356twswm.mjs +0 -1
  879. package/dist/chunks/subprocessEnv-0.7.4-zjpbw9eg.mjs +0 -1
  880. package/dist/chunks/tasks-0.7.4-yqdwmw5j.mjs +0 -1
  881. package/dist/chunks/teamHelpers-0.7.4-0mtce030.mjs +0 -1
  882. package/dist/chunks/teammateModeSnapshot-0.7.4-q60shbd0.mjs +0 -1
  883. package/dist/chunks/teleport-0.7.4-6h25n23n.mjs +0 -1
  884. package/dist/chunks/terminalSetup-0.7.4-5fm9br3v.mjs +0 -1
  885. package/dist/chunks/theme-0.7.4-3cxdxqzd.mjs +0 -1
  886. package/dist/chunks/thinkback-0.7.4-k40dtctf.mjs +0 -1
  887. package/dist/chunks/thinkback-play-0.7.4-vmbx4r0v.mjs +0 -1
  888. package/dist/chunks/toolPool-0.7.4-fr9jcgkr.mjs +0 -1
  889. package/dist/chunks/toolSearch-0.7.4-72eq96x6.mjs +0 -1
  890. package/dist/chunks/tools-0.7.4-n2jj5cxj.mjs +0 -1
  891. package/dist/chunks/trustedDevice-0.7.4-5jh1e885.mjs +0 -1
  892. package/dist/chunks/turndown.cjs-0.7.4-3sq52e78.mjs +0 -69
  893. package/dist/chunks/types-0.7.4-cybkwcw1.mjs +0 -1
  894. package/dist/chunks/ultrareviewCommand-0.7.4-p3ykdjx4.mjs +0 -4
  895. package/dist/chunks/update-0.7.4-9hphbpbx.mjs +0 -86
  896. package/dist/chunks/upgrade-0.7.4-hhn879a5.mjs +0 -1
  897. package/dist/chunks/upload-0.7.4-rmfqa4n5.mjs +0 -7
  898. package/dist/chunks/upstreamproxy-0.7.4-f89cjzmp.mjs +0 -14
  899. package/dist/chunks/url-handler-napi-0.7.4-kdweyv4n.mjs +0 -1
  900. package/dist/chunks/usage-0.7.4-z5s6dhj7.mjs +0 -1
  901. package/dist/chunks/util-0.7.4-wf3hrc3w.mjs +0 -1
  902. package/dist/chunks/utils-0.7.4-f33hkvq8.mjs +0 -1
  903. package/dist/chunks/vim-0.7.4-pkw9kc18.mjs +0 -1
  904. package/dist/chunks/watcher-0.7.4-h80z0z8g.mjs +0 -1
  905. package/dist/chunks/wiki-0.7.4-5rfrx592.mjs +0 -132
  906. package/dist/chunks/workflows-0.7.4-7dgxra0n.mjs +0 -1
  907. package/dist/chunks/worktree-0.7.4-ar646nm5.mjs +0 -1
  908. package/dist/chunks/worktreeModeEnabled-0.7.4-1z56z896.mjs +0 -1
  909. package/dist/chunks/wrapper-0.7.4-bp55g4da.mjs +0 -7
  910. /package/dist/chunks/{cli-0.7.4-a8qv9b1x.mjs → cli-0.7.6-pef1cr89.mjs} +0 -0
@@ -0,0 +1,45 @@
1
+ import{Le as BY,Me as Bz}from"./cli-0.7.6-yv3stfxm.mjs";import{Hg as qY,Ig as qz}from"./cli-0.7.6-7ktebmzc.mjs";import{hh as $Y,ih as yz,jh as cY,kh as mz}from"./cli-0.7.6-9a706kh3.mjs";import{AS as nY,DH as hY,DS as XJ,EF as uY,EH as Tz,ES as GZ,FF as wz,FS as X0,LO as gY,MO as Lz,Mt as eY,Nt as JK,OF as B0,PF as MY,Qn as UJ,Rn as UY,Sn as AJ,Tn as XY,Un as NJ,VS as V0,Vn as VY,YJ as GY,bK as Gz,cS as dY,cr as Zz,dr as KK,sR as lY}from"./cli-0.7.6-qan5xxdc.mjs";import{GX as $J,IX as KY,LX as SY,MX as jz,SX as pY,TX as Fz,sX as _Y,tX as Az}from"./cli-0.7.6-chcjfb2p.mjs";import{HZ as bY,I0 as U0,IY as f0,RY as LY,XY as IY,YY as Rz,YZ as fY,_Z as Ez,b0 as b,d0 as N,x0 as xY}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as U,P2 as m,Q2 as bJ}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as b0}from"./cli-0.7.6-471rvdw2.mjs";import{O5 as ez,m5 as tY}from"./cli-0.7.6-7mzraehr.mjs";import{R7 as $0,S7 as Cz}from"./cli-0.7.6-2kjdfns9.mjs";import{S_ as r0,U_ as tz,V9 as yY,dfa as fJ,gfa as l0,l_ as Mz,ofa as mY}from"./cli-0.7.6-fn56g2cc.mjs";import{Hfa as zY,Ifa as c0,Lfa as I0,tfa as S0,ufa as Hz,wfa as G0}from"./cli-0.7.6-0ekx5n2q.mjs";import{Nha as $,Qha as Nz}from"./cli-0.7.6-z4k83sx6.mjs";import{Qia as CJ,Tia as oz,uia as oY,yia as sz}from"./cli-0.7.6-jmpc9xmj.mjs";import{mpa as TY,pla as wY,vla as H0}from"./cli-0.7.6-bfwq4dm5.mjs";import{Tqa as UZ,Xqa as XZ}from"./cli-0.7.6-jpjn976y.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 rY(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`${rY(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=iY.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=nY(),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)),gY(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=rY(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 dY(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(lY(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 iY,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();iY=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 ve,az as we,QU as xe,zK as ye,WU as ze,UK as Ae};
@@ -0,0 +1,3 @@
1
+ import{F as A}from"./cli-0.7.6-b39v6rz1.mjs";import{Zea as $,_ea as F,efa as z,ffa as H,ofa as P}from"./cli-0.7.6-fn56g2cc.mjs";import{Cia as V,Gia as C,Qia as X,Rha as _,Sha as N,Tha as B,Tia as E,Vha as W,tia as O,yia as w}from"./cli-0.7.6-jmpc9xmj.mjs";import{mpa as L,pla as Z}from"./cli-0.7.6-bfwq4dm5.mjs";import{gqa as q,yqa as y}from"./cli-0.7.6-r78s2g03.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
+ export{e as q};
@@ -0,0 +1,2 @@
1
+ import{FJ as Y,IQ as R,mm as W,pm as P,rk as Q,sk as I}from"./cli-0.7.6-qan5xxdc.mjs";import{rfa as B,sfa as f}from"./cli-0.7.6-0ekx5n2q.mjs";import{Cha as F,gha as H,hha as J}from"./cli-0.7.6-8h5rwm21.mjs";import{mpa as $,pla as v}from"./cli-0.7.6-bfwq4dm5.mjs";import{Xqa as Z}from"./cli-0.7.6-jpjn976y.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
2
+ export{S as Ye,V as Ze,X as _e,r as $e,w as af,T as bf,G as cf};
@@ -0,0 +1,2 @@
1
+ import{X9 as Q,l_ as _}from"./cli-0.7.6-fn56g2cc.mjs";import{$ga as X,_ga as I}from"./cli-0.7.6-8h5rwm21.mjs";import{Qia as B,Tia as V}from"./cli-0.7.6-jmpc9xmj.mjs";import{Xqa as T}from"./cli-0.7.6-jpjn976y.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
2
+ export{j as J8,P as K8,Y as L8,S as M8,O as N8,D as O8,Z as P8};
@@ -0,0 +1,2 @@
1
+ import{EG as z,FG as M,SE as L,TE as h,wx as J,xx as Z}from"./cli-0.7.6-qan5xxdc.mjs";import{IY as X}from"./cli-0.7.6-56h0kfkw.mjs";import{R2 as W}from"./cli-0.7.6-471rvdw2.mjs";import{Joa as H,mpa as V}from"./cli-0.7.6-bfwq4dm5.mjs";import{Tqa as D,Xqa as U}from"./cli-0.7.6-jpjn976y.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
+ export{v as qg,A as rg};
@@ -0,0 +1,9 @@
1
+ import{Oqa as V_,Pqa as su,Rqa as K_,Sqa as f_}from"./cli-0.7.6-ftdrd7jk.mjs";import{Vqa as H,Yqa as $_}from"./cli-0.7.6-jpjn976y.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
2
+ versions published after the first week of January 2027
3
+ will require node >=${E}. You are running node ${_}.
4
+
5
+ To continue receiving updates to AWS services, bug fixes,
6
+ and security updates please upgrade to node >=${E}.
7
+
8
+ More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
9
+ export{W_ as Hqa,D_ as Iqa,yu as Jqa,ou as Kqa};
@@ -0,0 +1,15 @@
1
+ import{Vqa as T,Xqa as J5,Yqa as M}from"./cli-0.7.6-jpjn976y.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 Ne,X5 as Oe};
@@ -0,0 +1,2 @@
1
+ import{Rh as g,Sh as Uf}from"./cli-0.7.6-d5nss1kz.mjs";import{Wh as A,Yh as Kf}from"./cli-0.7.6-5wj27v22.mjs";import{$B as $f,Cm as Vf,El as y,Gj as W,JQ as l,Ku as m,LB as M,Lu as Zf,MC as c,Or as E,PC as bf,Pr as P,Qr as Xf,Ru as C,Tj as w,US as Hf,Uj as zf,VS as d,Vu as T,XD as u,YD as jf,Zl as Jf,Zu as _f,_B as I,_R as S,jR as Ff,jm as N,lE as v,lS as p,pm as Qf,sE as Df,sS as k,xl as Bf,xm as L,yl as Gf,ys as h,zs as Yf}from"./cli-0.7.6-qan5xxdc.mjs";import{gfa as R,ofa as ff}from"./cli-0.7.6-fn56g2cc.mjs";import{Nha as O,Qha as e}from"./cli-0.7.6-z4k83sx6.mjs";import{boa as H,mpa as s,oma as F,pla as U,qla as q,vla as x}from"./cli-0.7.6-bfwq4dm5.mjs";import{Uqa as K,Xqa as t}from"./cli-0.7.6-jpjn976y.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await c("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
2
+ export{lf as Ph,xf as Qh};
@@ -0,0 +1,2 @@
1
+ import{IY as O}from"./cli-0.7.6-56h0kfkw.mjs";import{O2 as X,Q2 as Q}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as b}from"./cli-0.7.6-471rvdw2.mjs";import{Kda as P,wda as W}from"./cli-0.7.6-fn56g2cc.mjs";import{Tqa as U}from"./cli-0.7.6-jpjn976y.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as lb,C as mb};
@@ -0,0 +1,2 @@
1
+ import{H2 as y,L2 as V}from"./cli-0.7.6-wthbw2r0.mjs";import{$$ as Q,Z$ as q,n9 as p,p9 as K}from"./cli-0.7.6-fn56g2cc.mjs";import{Xqa as J}from"./cli-0.7.6-jpjn976y.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
2
+ export{j as v2,D as w2,P as x2,w as y2,E as z2,Y as A2,F as B2,G as C2,Z as D2};
@@ -0,0 +1,6 @@
1
+ import{Wia as ZX,Zia as y8}from"./cli-0.7.6-73h798cq.mjs";import{pja as r,vja as R8}from"./cli-0.7.6-310844c3.mjs";import{Bja as NJ,Lja as j8,yja as $X}from"./cli-0.7.6-0wr25ecz.mjs";import{$ja as cX,Aka as hJ,Bka as wX,Cka as y,Dka as OJ,Eka as gQ,Fka as m6,Ika as O,Jka as GJ,Mja as dQ,Nja as P6,Sja as qJ,Tja as oX,Wja as eJ,Xja as fX,Yja as fQ,Zja as T6,_ja as $Q,cka as JQ,dka as pX,eka as g,fka as oJ,gka as n,hka as LQ,kka as pQ,lka as v6,mpa as sQ,oka as l,pka as wQ,pla as XX,qka as w,rka as kQ,uka as yJ,vka as OX,wka as h,xka as vJ,yka as tJ,zka as hX}from"./cli-0.7.6-bfwq4dm5.mjs";import{Apa as XJ,Fpa as LJ,Gpa as zX,Lpa as V,Mpa as xJ,npa as SJ,opa as CX,tpa as cJ,upa as TX,vpa as HJ,wpa as J6,zpa as L}from"./cli-0.7.6-xg6ka3pp.mjs";import{Wqa as uJ,Xqa as U,Zqa as N,_qa as W}from"./cli-0.7.6-jpjn976y.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
2
+ `)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
3
+ `);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
4
+ `))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
5
+ `;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
6
+ export{zJ as Rha,BJ as Sha,IJ as Tha,r8 as Uha,CJ as Vha,e as Wha,_J as Xha,m as Yha,JJ as Zha,j as _ha,QJ as $ha,R as aia,k as bia,_ as cia,d as dia,$J as eia,lJ as fia,iJ as gia,rJ as hia,b as iia,ZJ as jia,ZQ as kia,YQ as lia,BQ as mia,IQ as nia,RQ as oia,AQ as pia,nQ as qia,lQ as ria,E as sia,KJ as tia,I8 as uia,C8 as via,F8 as wia,V8 as xia,UJ as yia,JX as zia,H1 as Aia,G1 as Bia,s as Cia,K1 as Dia,U1 as Eia,N1 as Fia,QX as Gia,g8 as Hia,T as Iia,L1 as Jia,b8 as Kia,GX as Lia,KX as Mia,_1 as Nia,S1 as Oia,O1 as Pia,D8 as Qia,UX as Ria,w1 as Sia,aQ as Tia};
@@ -0,0 +1,2 @@
1
+ import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
+ export{z as Tqa,A as Uqa,B as Vqa,C as Wqa,D as Xqa,F as Yqa,G as Zqa,H as _qa};
@@ -0,0 +1,2 @@
1
+ import{Wqa as Q,Xqa as U}from"./cli-0.7.6-jpjn976y.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
+ export{K as Eqa,w as Fqa,L as Gqa};
@@ -0,0 +1,2 @@
1
+ import{ie as _,ke as v}from"./cli-0.7.6-rp0xgr6t.mjs";import{Le as Z,Me as P}from"./cli-0.7.6-yv3stfxm.mjs";import{Ax as X,Ex as K,Ox as Y,Qx as A}from"./cli-0.7.6-qan5xxdc.mjs";import{CX as V,FX as C}from"./cli-0.7.6-chcjfb2p.mjs";import{O2 as H,Q2 as Q}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as W}from"./cli-0.7.6-471rvdw2.mjs";import{rfa as L,sfa as U}from"./cli-0.7.6-0ekx5n2q.mjs";import{Tqa as B,Xqa as M}from"./cli-0.7.6-jpjn976y.mjs";function x({children:q}){let{bindings:D}=Y(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function y(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function b(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let T=(w)=>_(H(X,{children:H(x,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=y(w);for(let w=0;w<N;w+=I){let O=await T([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await b(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var j=M(()=>{U();P();C();A();K();v();Q();J=B(W(),1)});
2
+ export{l as oc,j as pc};
@@ -0,0 +1,3 @@
1
+ import{Mc as m,Nc as v,Oc as wk}from"./cli-0.7.6-8vdxmbjt.mjs";import{$F as i,$y as Vk,DE as Lk,Kn as p,Ln as zk,ZF as n,_F as V,_y as l,cG as Tk,eO as o,gO as t,jO as Dk,kR as r,lR as kk,nO as e,oO as Uk,pR as jk,uA as s,uE as g,vA as Gk,vE as a}from"./cli-0.7.6-qan5xxdc.mjs";import{G3 as T,L3 as Jk,g4 as d,i4 as Ok}from"./cli-0.7.6-7mzraehr.mjs";import{B7 as f,C7 as Ik,M7 as c,P7 as Mk}from"./cli-0.7.6-2qwpkx4w.mjs";import{K8 as S,P8 as _k}from"./cli-0.7.6-hsa9j8sb.mjs";import{Cda as u,Kda as $,Tea as _,Wea as Hk,j9 as K,jca as j,l9 as Zk,p_ as P,pda as x,t_ as $k,tda as b,yca as Kk}from"./cli-0.7.6-fn56g2cc.mjs";import{Qfa as J,Vfa as Yk}from"./cli-0.7.6-0ekx5n2q.mjs";import{Lha as L,Mha as Bk}from"./cli-0.7.6-5qabm4xe.mjs";import{Qia as B,Tha as O,Tia as U,Vha as Rk}from"./cli-0.7.6-jmpc9xmj.mjs";import{ija as h,oja as Y,vja as Xk}from"./cli-0.7.6-310844c3.mjs";import{Bja as E,Lja as Wk}from"./cli-0.7.6-0wr25ecz.mjs";import{Mma as F,Oma as y,cna as w,mpa as z}from"./cli-0.7.6-bfwq4dm5.mjs";import{Lpa as A,Mpa as Qk}from"./cli-0.7.6-xg6ka3pp.mjs";import{Yqa as W}from"./cli-0.7.6-jpjn976y.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.7.6-sxwwnk4h.mjs"),import("./growthbook-0.7.6-268c3zv1.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.7.6-d4xfvwf7.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.7.6-2bme852w.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.7.6-ax1nev6h.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-0.7.6-j0gs8ee7.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.7.6-1ctp56r7.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
+ export{Yq as U,Zq as V};
@@ -0,0 +1,4 @@
1
+ import{_d as c,ee as Eq}from"./cli-0.7.6-ehkh8f7m.mjs";import{FL as Cq,IL as b,JL as Lq,ML as Hq,NL as Jq,PK as v,PL as vq,QK as m,QL as y,RL as Qq,SK as Oq,SL as Xq,TL as Yq,UL as $q,VL as d,Vs as l,Ws as wq,YL as Dq,Yo as s,Zo as Tq,ap as t,cp as Mq,gp as i,ip as Rq,jL as n,mp as A,op as D,pL as e,pp as Aq,qL as P,qp as h,rp as S,sp as Fq,uL as jq,vL as O,wL as qq,yL as I,zL as Gq}from"./cli-0.7.6-qan5xxdc.mjs";import{Gba as V,Oba as Kq,gfa as a,jca as F,lca as L,ofa as Bq,yca as _q}from"./cli-0.7.6-fn56g2cc.mjs";import{Cia as p,Gia as Wq}from"./cli-0.7.6-jmpc9xmj.mjs";import{nja as o,qja as N,vja as Uq}from"./cli-0.7.6-310844c3.mjs";import{mpa as xq,vla as f}from"./cli-0.7.6-bfwq4dm5.mjs";import{Xqa as Zq}from"./cli-0.7.6-jpjn976y.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
+ ${G.join(`
3
+ `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
+ export{k as Nd,HG as Od,JG as Pd,QG as Qd,kq as Rd,XG as Sd,YG as Td,$G as Ud,zG as Vd,ZG as Wd,xG as Xd,hq as Yd};