@claudiolabs/claudin 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (913) hide show
  1. package/dist/chunks/AgentTool-1.1.5-car4wryg.mjs +1 -0
  2. package/dist/chunks/App-1.1.5-z0yx1svv.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.5-w45fejta.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.5-wpzenq2z.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.5-4s0r270q.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.5-dx9d1z78.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.5-0k0z6a1m.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.5-sbdb54nq.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.5-9tz97bn9.mjs +7 -0
  10. package/dist/chunks/Doctor-1.1.5-apx3wyew.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.5-891875tg.mjs +6 -0
  12. package/dist/chunks/Grove-1.1.5-7qgs0ctk.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.1.5-6sez284v.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.5-5dj12wwy.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.5-qhe96ke7.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.5-n3ckkvap.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.5-3zcfdapk.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.5-md334w8f.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.5-nsj3srpq.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.5-19hsx4tm.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.5-h3eyae2y.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.5-f81xwyhr.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.5-nx2v36t1.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.5-rk93z4dr.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.5-7xpzhazh.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.5-vwdgwpbq.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.5-d9yxahsv.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.5-h81mhrtj.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.5-9z4prdv7.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.5-2r72vjnd.mjs +1 -0
  31. package/dist/chunks/agents-1.1.5-42ak0q7h.mjs +110 -0
  32. package/dist/chunks/agents-1.1.5-6mddedjv.mjs +3 -0
  33. package/dist/chunks/api-1.1.5-wv0hk17a.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.5-6hpenp1g.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.5-gtrb1ytz.mjs +1 -0
  36. package/dist/chunks/auth-1.1.5-3gb86bzb.mjs +1 -0
  37. package/dist/chunks/auth-1.1.5-nmydgbfa.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.5-7dv0v1v1.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.5-64mbk0zw.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.5-g7cnfdvq.mjs +1 -0
  41. package/dist/chunks/branch-1.1.5-yaqv3wbc.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.5-154psxbc.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.5-s174he1k.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.5-w6e3wcsk.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.5-yhcrds6r.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.5-kebmje48.mjs +1 -0
  47. package/dist/chunks/btw-1.1.5-mfkqctq8.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.5-k7ntvcd9.mjs +3 -0
  49. package/dist/chunks/cacache-1.1.5-c43ce176.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.1.5-wjk6v8ah.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.1.5-tw30ndt7.mjs +4 -0
  52. package/dist/chunks/caches-1.1.5-cftgxft7.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.1.5-pwme5y05.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.5-4ze3v28n.mjs +1 -0
  55. package/dist/chunks/clear-1.1.5-gwbert39.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.5-dgbcqbp5.mjs +1 -0
  57. package/dist/chunks/cli-1.1.5-04a4w5qm.mjs +2 -0
  58. package/dist/chunks/cli-1.1.5-04mta7g9.mjs +2 -0
  59. package/dist/chunks/cli-1.1.5-06s5q1ja.mjs +2 -0
  60. package/dist/chunks/cli-1.1.5-0a8jb3pr.mjs +2 -0
  61. package/dist/chunks/cli-1.1.5-0amg980q.mjs +2 -0
  62. package/dist/chunks/cli-1.1.5-0gd61h7z.mjs +2 -0
  63. package/dist/chunks/cli-1.1.5-0jp6cq2j.mjs +2 -0
  64. package/dist/chunks/cli-1.1.5-0kq9h6ts.mjs +2 -0
  65. package/dist/chunks/cli-1.1.5-0rnv5bg3.mjs +9 -0
  66. package/dist/chunks/cli-1.1.5-0yw3n72x.mjs +2 -0
  67. package/dist/chunks/cli-1.1.5-126h7k7m.mjs +2 -0
  68. package/dist/chunks/cli-1.1.5-1385z6tg.mjs +2 -0
  69. package/dist/chunks/cli-1.1.5-15q297nh.mjs +2 -0
  70. package/dist/chunks/cli-1.1.5-17pq11ad.mjs +15 -0
  71. package/dist/chunks/cli-1.1.5-1k6n7e0p.mjs +2 -0
  72. package/dist/chunks/cli-1.1.5-1ms5wad6.mjs +2 -0
  73. package/dist/chunks/cli-1.1.5-1qr5p3pk.mjs +3 -0
  74. package/dist/chunks/cli-1.1.5-20206ha7.mjs +3 -0
  75. package/dist/chunks/cli-1.1.5-2bc86bd2.mjs +2 -0
  76. package/dist/chunks/cli-1.1.5-2e2rwx0h.mjs +2 -0
  77. package/dist/chunks/cli-1.1.5-2evbbg97.mjs +2 -0
  78. package/dist/chunks/cli-1.1.5-2g7w64ck.mjs +2 -0
  79. package/dist/chunks/cli-1.1.5-2kgng99f.mjs +24 -0
  80. package/dist/chunks/cli-1.1.5-2qf8qy7f.mjs +2 -0
  81. package/dist/chunks/cli-1.1.5-2r25f40p.mjs +2 -0
  82. package/dist/chunks/cli-1.1.5-2rmwkb2s.mjs +4 -0
  83. package/dist/chunks/cli-1.1.5-2v5ehg8c.mjs +2 -0
  84. package/dist/chunks/cli-1.1.5-3389j5t0.mjs +17 -0
  85. package/dist/chunks/cli-1.1.5-362kw0jy.mjs +2 -0
  86. package/dist/chunks/cli-1.1.5-3mact63s.mjs +2 -0
  87. package/dist/chunks/cli-1.1.5-3n83mvmz.mjs +2 -0
  88. package/dist/chunks/cli-1.1.5-3q931f2n.mjs +2 -0
  89. package/dist/chunks/cli-1.1.5-3wtxx0sm.mjs +133 -0
  90. package/dist/chunks/cli-1.1.5-3xf010sx.mjs +4 -0
  91. package/dist/chunks/cli-1.1.5-3zc9bseg.mjs +6 -0
  92. package/dist/chunks/cli-1.1.5-3zpkftsv.mjs +2 -0
  93. package/dist/chunks/cli-1.1.5-43ng5pm1.mjs +3 -0
  94. package/dist/chunks/cli-1.1.5-43y030nv.mjs +2 -0
  95. package/dist/chunks/cli-1.1.5-46qvwkna.mjs +12 -0
  96. package/dist/chunks/cli-1.1.5-4gt9am76.mjs +2 -0
  97. package/dist/chunks/cli-1.1.5-4w21hywc.mjs +34 -0
  98. package/dist/chunks/cli-1.1.5-4xh64wf2.mjs +2 -0
  99. package/dist/chunks/cli-1.1.5-4zdp08yw.mjs +2 -0
  100. package/dist/chunks/cli-1.1.5-50vh2xqs.mjs +2 -0
  101. package/dist/chunks/cli-1.1.5-54qyvbmc.mjs +2 -0
  102. package/dist/chunks/cli-1.1.5-5973nce5.mjs +2 -0
  103. package/dist/chunks/cli-1.1.5-5pmp4wy1.mjs +2 -0
  104. package/dist/chunks/cli-1.1.5-5rsae1r8.mjs +2 -0
  105. package/dist/chunks/cli-1.1.5-600z85n1.mjs +18 -0
  106. package/dist/chunks/cli-1.1.5-60cafcfa.mjs +2 -0
  107. package/dist/chunks/cli-1.1.5-62ntg4mw.mjs +2 -0
  108. package/dist/chunks/cli-1.1.5-6cxs0npd.mjs +25 -0
  109. package/dist/chunks/cli-1.1.5-6dmtdkjb.mjs +3 -0
  110. package/dist/chunks/cli-1.1.5-6s77vhbn.mjs +2 -0
  111. package/dist/chunks/cli-1.1.5-6yjhrk9v.mjs +2 -0
  112. package/dist/chunks/cli-1.1.5-6zgcprsm.mjs +4 -0
  113. package/dist/chunks/cli-1.1.5-74d8s15n.mjs +20 -0
  114. package/dist/chunks/cli-1.1.5-7fh6xvxr.mjs +24 -0
  115. package/dist/chunks/cli-1.1.5-7fnn4cxx.mjs +2 -0
  116. package/dist/chunks/cli-1.1.5-7fr21xne.mjs +2 -0
  117. package/dist/chunks/cli-1.1.5-7rnam3pn.mjs +2 -0
  118. package/dist/chunks/cli-1.1.5-7x24fkdt.mjs +2 -0
  119. package/dist/chunks/cli-1.1.5-81ek1hnd.mjs +7 -0
  120. package/dist/chunks/cli-1.1.5-8nkgdwbz.mjs +2 -0
  121. package/dist/chunks/cli-1.1.5-8sm7bn8y.mjs +2 -0
  122. package/dist/chunks/cli-1.1.5-8y8kwrpv.mjs +50 -0
  123. package/dist/chunks/cli-1.1.5-8z6nvxgy.mjs +2 -0
  124. package/dist/chunks/cli-1.1.5-91h2qx3w.mjs +4 -0
  125. package/dist/chunks/cli-1.1.5-97sv1sx5.mjs +2 -0
  126. package/dist/chunks/cli-1.1.5-9d2hd2n0.mjs +2 -0
  127. package/dist/chunks/cli-1.1.5-9eg1em3k.mjs +4 -0
  128. package/dist/chunks/cli-1.1.5-9myk8nsj.mjs +2 -0
  129. package/dist/chunks/cli-1.1.5-9p1q31nx.mjs +2 -0
  130. package/dist/chunks/cli-1.1.5-9pjr2mxf.mjs +5 -0
  131. package/dist/chunks/cli-1.1.5-9q40r2jj.mjs +59 -0
  132. package/dist/chunks/cli-1.1.5-9s6mqtv8.mjs +3 -0
  133. package/dist/chunks/cli-1.1.5-a41pf5rk.mjs +2 -0
  134. package/dist/chunks/cli-1.1.5-am2yr9em.mjs +2 -0
  135. package/dist/chunks/cli-1.1.5-ay6eds7m.mjs +6 -0
  136. package/dist/chunks/cli-1.1.5-azgr9ksh.mjs +45 -0
  137. package/dist/chunks/cli-1.1.5-ba4n22ph.mjs +2 -0
  138. package/dist/chunks/cli-1.1.5-bcgy5mbp.mjs +5649 -0
  139. package/dist/chunks/cli-1.1.5-bh2pjxv2.mjs +12 -0
  140. package/dist/chunks/cli-1.1.5-brfx4pre.mjs +3 -0
  141. package/dist/chunks/cli-1.1.5-bs0hzzxt.mjs +2 -0
  142. package/dist/chunks/cli-1.1.5-c5wk6r1v.mjs +2 -0
  143. package/dist/chunks/cli-1.1.5-cbafqtmk.mjs +2 -0
  144. package/dist/chunks/cli-1.1.5-cy7bp5f8.mjs +2 -0
  145. package/dist/chunks/cli-1.1.5-d60etcng.mjs +2 -0
  146. package/dist/chunks/cli-1.1.5-dbfj54qv.mjs +4 -0
  147. package/dist/chunks/cli-1.1.5-denrjjr8.mjs +2 -0
  148. package/dist/chunks/cli-1.1.5-djfg6qcy.mjs +4 -0
  149. package/dist/chunks/cli-1.1.5-dknh0wry.mjs +2 -0
  150. package/dist/chunks/cli-1.1.5-dmgep5pw.mjs +15 -0
  151. package/dist/chunks/cli-1.1.5-dpwkjrhv.mjs +2 -0
  152. package/dist/chunks/cli-1.1.5-dv98e0wx.mjs +17 -0
  153. package/dist/chunks/cli-1.1.5-dvzmss5c.mjs +12 -0
  154. package/dist/chunks/cli-1.1.5-e51n4cww.mjs +2 -0
  155. package/dist/chunks/cli-1.1.5-ecxx0wpb.mjs +2 -0
  156. package/dist/chunks/cli-1.1.5-eg17f7k7.mjs +2 -0
  157. package/dist/chunks/cli-1.1.5-ehbpt4w6.mjs +2 -0
  158. package/dist/chunks/cli-1.1.5-epjw98jw.mjs +3 -0
  159. package/dist/chunks/cli-1.1.5-ez9ctahf.mjs +133 -0
  160. package/dist/chunks/cli-1.1.5-fqwwgfme.mjs +21 -0
  161. package/dist/chunks/cli-1.1.5-fr76ha7s.mjs +2 -0
  162. package/dist/chunks/cli-1.1.5-g04gzz34.mjs +2 -0
  163. package/dist/chunks/cli-1.1.5-g5gyt5h8.mjs +2 -0
  164. package/dist/chunks/cli-1.1.5-gm4ptwx4.mjs +2 -0
  165. package/dist/chunks/cli-1.1.5-gr7dgsaq.mjs +2 -0
  166. package/dist/chunks/cli-1.1.5-gsmrbqh1.mjs +2 -0
  167. package/dist/chunks/cli-1.1.5-gwt7szsh.mjs +2 -0
  168. package/dist/chunks/cli-1.1.5-h1w0v5x0.mjs +2 -0
  169. package/dist/chunks/cli-1.1.5-h5k7t8m7.mjs +8 -0
  170. package/dist/chunks/cli-1.1.5-hs02jchx.mjs +2 -0
  171. package/dist/chunks/cli-1.1.5-j298304z.mjs +2 -0
  172. package/dist/chunks/cli-1.1.5-j5g040vf.mjs +2 -0
  173. package/dist/chunks/cli-1.1.5-jknqq4v0.mjs +2 -0
  174. package/dist/chunks/cli-1.1.5-jq32vtrb.mjs +58 -0
  175. package/dist/chunks/cli-1.1.5-jqef0dgk.mjs +42 -0
  176. package/dist/chunks/cli-1.1.5-k0y1mt50.mjs +4 -0
  177. package/dist/chunks/cli-1.1.5-k7zeqxym.mjs +9 -0
  178. package/dist/chunks/cli-1.1.5-kbpaxqg8.mjs +2 -0
  179. package/dist/chunks/cli-1.1.5-kc9qhatt.mjs +18 -0
  180. package/dist/chunks/cli-1.1.5-kdxm5m52.mjs +2 -0
  181. package/dist/chunks/cli-1.1.5-keef1hq8.mjs +2 -0
  182. package/dist/chunks/cli-1.1.5-khj9bq82.mjs +3 -0
  183. package/dist/chunks/cli-1.1.5-kq8vk6pv.mjs +2 -0
  184. package/dist/chunks/cli-1.1.5-ks2gq7tg.mjs +2 -0
  185. package/dist/chunks/cli-1.1.5-kzdgyb0j.mjs +3 -0
  186. package/dist/chunks/cli-1.1.5-m78s0fnh.mjs +2 -0
  187. package/dist/chunks/cli-1.1.5-mrwhx936.mjs +15 -0
  188. package/dist/chunks/cli-1.1.5-mx0yvg1w.mjs +2 -0
  189. package/dist/chunks/cli-1.1.5-mzxdmdxn.mjs +2 -0
  190. package/dist/chunks/cli-1.1.5-n4xgjbwe.mjs +2 -0
  191. package/dist/chunks/cli-1.1.5-n6wx6zn2.mjs +2 -0
  192. package/dist/chunks/cli-1.1.5-nkhse0vg.mjs +67 -0
  193. package/dist/chunks/cli-1.1.5-nvf47p1p.mjs +12 -0
  194. package/dist/chunks/cli-1.1.5-p76ywbdf.mjs +2 -0
  195. package/dist/chunks/cli-1.1.5-pthrjd43.mjs +2 -0
  196. package/dist/chunks/cli-1.1.5-q2x467jp.mjs +6 -0
  197. package/dist/chunks/cli-1.1.5-qdha9akj.mjs +2 -0
  198. package/dist/chunks/cli-1.1.5-qg67v24h.mjs +2 -0
  199. package/dist/chunks/cli-1.1.5-qxvbnypq.mjs +2 -0
  200. package/dist/chunks/cli-1.1.5-qypb27cc.mjs +2 -0
  201. package/dist/chunks/cli-1.1.5-r152533n.mjs +2 -0
  202. package/dist/chunks/cli-1.1.5-r43zh250.mjs +3 -0
  203. package/dist/chunks/cli-1.1.5-ra53k7hj.mjs +39 -0
  204. package/dist/chunks/cli-1.1.5-rah577er.mjs +2 -0
  205. package/dist/chunks/cli-1.1.5-rc2g2735.mjs +2 -0
  206. package/dist/chunks/cli-1.1.5-rdfya3vt.mjs +2 -0
  207. package/dist/chunks/cli-1.1.5-rqvgas0b.mjs +2 -0
  208. package/dist/chunks/cli-1.1.5-rqw75dc4.mjs +2 -0
  209. package/dist/chunks/cli-1.1.5-rwv58vt9.mjs +2 -0
  210. package/dist/chunks/cli-1.1.5-s0cez7yn.mjs +2 -0
  211. package/dist/chunks/cli-1.1.5-sc49xm3j.mjs +2 -0
  212. package/dist/chunks/cli-1.1.5-sf5x5qyd.mjs +2 -0
  213. package/dist/chunks/cli-1.1.5-sfnf38sj.mjs +2 -0
  214. package/dist/chunks/cli-1.1.5-sm03z8tn.mjs +4 -0
  215. package/dist/chunks/cli-1.1.5-srf8k7x8.mjs +2 -0
  216. package/dist/chunks/cli-1.1.5-stcmqfnq.mjs +2 -0
  217. package/dist/chunks/cli-1.1.5-sxj5bjbt.mjs +24 -0
  218. package/dist/chunks/cli-1.1.5-syhvsvgh.mjs +2 -0
  219. package/dist/chunks/cli-1.1.5-szzwagmb.mjs +1 -0
  220. package/dist/chunks/cli-1.1.5-t4gteprn.mjs +2 -0
  221. package/dist/chunks/cli-1.1.5-t9j8c92k.mjs +2 -0
  222. package/dist/chunks/cli-1.1.5-tae4w5sa.mjs +2 -0
  223. package/dist/chunks/cli-1.1.5-tbr6vnhr.mjs +2 -0
  224. package/dist/chunks/cli-1.1.5-ttm2crpm.mjs +2 -0
  225. package/dist/chunks/cli-1.1.5-v9a6fbsq.mjs +202 -0
  226. package/dist/chunks/cli-1.1.5-va6jtxjw.mjs +2 -0
  227. package/dist/chunks/cli-1.1.5-vnrym8w3.mjs +2 -0
  228. package/dist/chunks/cli-1.1.5-vrkwrr2h.mjs +2 -0
  229. package/dist/chunks/cli-1.1.5-w81t9aj2.mjs +3 -0
  230. package/dist/chunks/cli-1.1.5-weseckxt.mjs +2 -0
  231. package/dist/chunks/cli-1.1.5-wv8954rf.mjs +2 -0
  232. package/dist/chunks/cli-1.1.5-x7xwtg60.mjs +25 -0
  233. package/dist/chunks/cli-1.1.5-x8h674be.mjs +2 -0
  234. package/dist/chunks/cli-1.1.5-x8r6zvjf.mjs +2 -0
  235. package/dist/chunks/cli-1.1.5-xd8qwq5t.mjs +4 -0
  236. package/dist/chunks/cli-1.1.5-xm9scgfb.mjs +6 -0
  237. package/dist/chunks/cli-1.1.5-xn9p8nks.mjs +2 -0
  238. package/dist/chunks/cli-1.1.5-xzxcvrkj.mjs +18 -0
  239. package/dist/chunks/cli-1.1.5-y2bqj565.mjs +2 -0
  240. package/dist/chunks/cli-1.1.5-y39w08qk.mjs +16 -0
  241. package/dist/chunks/cli-1.1.5-y3cdh5em.mjs +2 -0
  242. package/dist/chunks/cli-1.1.5-y3dcmn9x.mjs +2 -0
  243. package/dist/chunks/cli-1.1.5-y489qfqe.mjs +2 -0
  244. package/dist/chunks/cli-1.1.5-y72dp044.mjs +2 -0
  245. package/dist/chunks/cli-1.1.5-y8301wby.mjs +2 -0
  246. package/dist/chunks/cli-1.1.5-y9z2ea67.mjs +3 -0
  247. package/dist/chunks/cli-1.1.5-ybhszeme.mjs +6 -0
  248. package/dist/chunks/cli-1.1.5-yhnfdcpq.mjs +2 -0
  249. package/dist/chunks/cli-1.1.5-yprjw8c0.mjs +2 -0
  250. package/dist/chunks/cli-1.1.5-ysgr8ehw.mjs +2 -0
  251. package/dist/chunks/cli-1.1.5-za0gqhad.mjs +2 -0
  252. package/dist/chunks/cli-1.1.5-za286hep.mjs +2 -0
  253. package/dist/chunks/cli-1.1.5-zaqz0p2z.mjs +2 -0
  254. package/dist/chunks/cli-1.1.5-zf1qpy4s.mjs +5 -0
  255. package/dist/chunks/cli-1.1.5-zfdptz6e.mjs +2 -0
  256. package/dist/chunks/cli-1.1.5-zhrqhz6k.mjs +2 -0
  257. package/dist/chunks/cli-1.1.5-znkch0ha.mjs +2 -0
  258. package/dist/chunks/cli-1.1.5-zp9z6jbr.mjs +4 -0
  259. package/dist/chunks/cli-1.1.5-zqf5btpq.mjs +2 -0
  260. package/dist/chunks/client-1.1.5-b7jy0ghd.mjs +1 -0
  261. package/dist/chunks/color-1.1.5-6y847zdb.mjs +1 -0
  262. package/dist/chunks/compact-1.1.5-qeq8t2tr.mjs +3 -0
  263. package/dist/chunks/config-1.1.5-80m4yf0n.mjs +1 -0
  264. package/dist/chunks/config-1.1.5-k42c66af.mjs +1 -0
  265. package/dist/chunks/constants-1.1.5-j7wq8kbt.mjs +1 -0
  266. package/dist/chunks/context-1.1.5-yg5tzb6e.mjs +1 -0
  267. package/dist/chunks/context-noninteractive-1.1.5-x9avg7mv.mjs +1 -0
  268. package/dist/chunks/conversation-1.1.5-26nfjzvp.mjs +1 -0
  269. package/dist/chunks/copilotHeaders-1.1.5-r1ppkqcb.mjs +1 -0
  270. package/dist/chunks/copy-1.1.5-ca7qm1hb.mjs +9 -0
  271. package/dist/chunks/cost-1.1.5-78gr4gxd.mjs +1 -0
  272. package/dist/chunks/createSSHSession-1.1.5-kqscm0vz.mjs +1 -0
  273. package/dist/chunks/createSession-1.1.5-p3sakr7e.mjs +1 -0
  274. package/dist/chunks/debug-1.1.5-p8srxkzw.mjs +1 -0
  275. package/dist/chunks/defaultActionDeps-1.1.5-eyhb0fk5.mjs +1446 -0
  276. package/dist/chunks/desktop-1.1.5-5grfbqvk.mjs +1 -0
  277. package/dist/chunks/detectRepository-1.1.5-bwa3vtz3.mjs +1 -0
  278. package/dist/chunks/detection-1.1.5-vt7wfg5r.mjs +1 -0
  279. package/dist/chunks/diff-1.1.5-s3pxjw5c.mjs +1 -0
  280. package/dist/chunks/doctor-1.1.5-4wbxz46k.mjs +1 -0
  281. package/dist/chunks/doctorDiagnostic-1.1.5-kr5t2280.mjs +1 -0
  282. package/dist/chunks/earlyInput-1.1.5-skyzxj8w.mjs +1 -0
  283. package/dist/chunks/effort-1.1.5-s9va7gy4.mjs +13 -0
  284. package/dist/chunks/engine-1.1.5-wx72h5z7.mjs +1 -0
  285. package/dist/chunks/envLessBridgeConfig-1.1.5-tpxb4pq7.mjs +1 -0
  286. package/dist/chunks/envUtils-1.1.5-6e5wrnvd.mjs +1 -0
  287. package/dist/chunks/environmentSelection-1.1.5-3mw0z7qc.mjs +1 -0
  288. package/dist/chunks/environments-1.1.5-m3j75h8p.mjs +1 -0
  289. package/dist/chunks/errors-1.1.5-nq9vsksc.mjs +1 -0
  290. package/dist/chunks/exampleCommands-1.1.5-q9e08k2w.mjs +1 -0
  291. package/dist/chunks/execFileNoThrow-1.1.5-dydczmz0.mjs +1 -0
  292. package/dist/chunks/exit-1.1.5-5h9189tx.mjs +1 -0
  293. package/dist/chunks/explorer-1.1.5-wqz086gd.mjs +1 -0
  294. package/dist/chunks/export-1.1.5-1k3wgj33.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.1.5-06tk7xa5.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.1.5-xjjt7q6e.mjs +1 -0
  297. package/dist/chunks/fast-1.1.5-we1vtmqs.mjs +1 -0
  298. package/dist/chunks/feedback-1.1.5-pkxyr6az.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.1.5-px4bh3ss.mjs +1 -0
  300. package/dist/chunks/git-1.1.5-g821etp0.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.1.5-jbdn9dvv.mjs +1 -0
  302. package/dist/chunks/goal-1.1.5-ysbtt444.mjs +4 -0
  303. package/dist/chunks/grove-1.1.5-mhavkgtj.mjs +1 -0
  304. package/dist/chunks/growthbook-1.1.5-dm9d5fyr.mjs +1 -0
  305. package/dist/chunks/headless-1.1.5-2a7gvzd4.mjs +2 -0
  306. package/dist/chunks/heapdump-1.1.5-mwggejz6.mjs +6 -0
  307. package/dist/chunks/help-1.1.5-7dqcztc7.mjs +1 -0
  308. package/dist/chunks/hookChains-1.1.5-cmdxm1q5.mjs +3 -0
  309. package/dist/chunks/hooks-1.1.5-07j88vdd.mjs +1 -0
  310. package/dist/chunks/hooks-1.1.5-cf4zytg3.mjs +79 -0
  311. package/dist/chunks/ide-1.1.5-gqbtkqh9.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.1.5-xdg4a2re.mjs +1 -0
  313. package/dist/chunks/inboundAttachments-1.1.5-mmme8bgb.mjs +1 -0
  314. package/dist/chunks/index-1.1.5-0e8nxkr5.mjs +1 -0
  315. package/dist/chunks/index-1.1.5-2psfav1z.mjs +1 -0
  316. package/dist/chunks/index-1.1.5-31yhmzz8.mjs +30 -0
  317. package/dist/chunks/index-1.1.5-7xbjb6c2.mjs +1 -0
  318. package/dist/chunks/index-1.1.5-8gbjp6gm.mjs +1 -0
  319. package/dist/chunks/index-1.1.5-9qaxnf95.mjs +9 -0
  320. package/dist/chunks/index-1.1.5-d80m9w2r.mjs +1 -0
  321. package/dist/chunks/index-1.1.5-dd9v93f3.mjs +1 -0
  322. package/dist/chunks/index-1.1.5-f15v7ehp.mjs +2 -0
  323. package/dist/chunks/index-1.1.5-gtcrsq6a.mjs +1 -0
  324. package/dist/chunks/index-1.1.5-k2mjk2hh.mjs +1 -0
  325. package/dist/chunks/index-1.1.5-k56wbbcc.mjs +1 -0
  326. package/dist/chunks/index-1.1.5-m8h0gt4v.mjs +5 -0
  327. package/dist/chunks/index-1.1.5-pc824vej.mjs +17 -0
  328. package/dist/chunks/index-1.1.5-r9dx3d9c.mjs +9 -0
  329. package/dist/chunks/index-1.1.5-rfsmfb7z.mjs +1 -0
  330. package/dist/chunks/index-1.1.5-skqdqj9f.mjs +1 -0
  331. package/dist/chunks/index-1.1.5-t75dn8we.mjs +1 -0
  332. package/dist/chunks/index-1.1.5-tje0j1qr.mjs +1 -0
  333. package/dist/chunks/index-1.1.5-vacssesj.mjs +1 -0
  334. package/dist/chunks/index-1.1.5-wypaz2jv.mjs +2 -0
  335. package/dist/chunks/index-1.1.5-z8sj89fp.mjs +1 -0
  336. package/dist/chunks/index-1.1.5-zw1sqbsw.mjs +1 -0
  337. package/dist/chunks/init-1.1.5-9n4y6y9n.mjs +1 -0
  338. package/dist/chunks/initReplBridge-1.1.5-9vj405en.mjs +1 -0
  339. package/dist/chunks/ink-1.1.5-vzb2fpxv.mjs +1 -0
  340. package/dist/chunks/insights-1.1.5-wfvxz2j9.mjs +870 -0
  341. package/dist/chunks/install-1.1.5-zxa0xtc5.mjs +1 -0
  342. package/dist/chunks/install-github-app-1.1.5-gjkvtpss.mjs +149 -0
  343. package/dist/chunks/install-slack-app-1.1.5-cn8k75hh.mjs +1 -0
  344. package/dist/chunks/instrumentation-1.1.5-ra2c7a9w.mjs +1 -0
  345. package/dist/chunks/interactiveHelpers-1.1.5-hc7k117d.mjs +1 -0
  346. package/dist/chunks/keybindings-1.1.5-pvq5zpgs.mjs +2 -0
  347. package/dist/chunks/knowledge-1.1.5-04xy0wqx.mjs +2 -0
  348. package/dist/chunks/latestVersionCache-1.1.5-q0n7h96f.mjs +1 -0
  349. package/dist/chunks/loadAgentsDir-1.1.5-x8j4b3r6.mjs +1 -0
  350. package/dist/chunks/loadPluginHooks-1.1.5-2f77cnnd.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.1.5-r82hvbrr.mjs +1 -0
  352. package/dist/chunks/log-1.1.5-bq8jjtaf.mjs +1 -0
  353. package/dist/chunks/main-1.1.5-g2ptyrq9.mjs +1 -0
  354. package/dist/chunks/managedEnv-1.1.5-rhwtthhc.mjs +1 -0
  355. package/dist/chunks/mcp-1.1.5-3kpff1y9.mjs +4 -0
  356. package/dist/chunks/mcp-1.1.5-7w7pv5qr.mjs +17 -0
  357. package/dist/chunks/mcp-1.1.5-qdck46bh.mjs +1 -0
  358. package/dist/chunks/mcpb-1.1.5-s6qaatsk.mjs +1 -0
  359. package/dist/chunks/memory-1.1.5-sahcfrfk.mjs +72 -0
  360. package/dist/chunks/model-1.1.5-fyw5q2ag.mjs +1 -0
  361. package/dist/chunks/model-1.1.5-q7rv0mjx.mjs +2 -0
  362. package/dist/chunks/node-1.1.5-mpnx0eww.mjs +12 -0
  363. package/dist/chunks/oauth-1.1.5-3j8hpr8a.mjs +1 -0
  364. package/dist/chunks/openaiShim-1.1.5-3gwkgyz6.mjs +14 -0
  365. package/dist/chunks/output-style-1.1.5-zmb3q1dm.mjs +1 -0
  366. package/dist/chunks/package-2VNCXFNY-1.1.5-c28vg45a.mjs +1 -0
  367. package/dist/chunks/parseConnectUrl-1.1.5-5m4axefq.mjs +1 -0
  368. package/dist/chunks/parser-1.1.5-z6sbh7rn.mjs +1 -0
  369. package/dist/chunks/passes-1.1.5-5wv8397q.mjs +1 -0
  370. package/dist/chunks/permissions-1.1.5-4j98y6ey.mjs +1 -0
  371. package/dist/chunks/permissions-1.1.5-rg816dk9.mjs +3 -0
  372. package/dist/chunks/plan-1.1.5-5ta24jg9.mjs +1 -0
  373. package/dist/chunks/plist-1.1.5-g61dbe0t.mjs +1 -0
  374. package/dist/chunks/plugin-1.1.5-qpm7s8qr.mjs +29 -0
  375. package/dist/chunks/pluginStartupCheck-1.1.5-mrx0c0tk.mjs +1 -0
  376. package/dist/chunks/plugins-1.1.5-sqsfnz52.mjs +9 -0
  377. package/dist/chunks/preActionHook-1.1.5-97bkr9c6.mjs +2 -0
  378. package/dist/chunks/print-1.1.5-dmhsr0z8.mjs +57 -0
  379. package/dist/chunks/privacy-settings-1.1.5-m80j4n8y.mjs +1 -0
  380. package/dist/chunks/process-1.1.5-wgen5xeq.mjs +1 -0
  381. package/dist/chunks/processBashCommand-1.1.5-kbtffj67.mjs +1 -0
  382. package/dist/chunks/processSlashCommand-1.1.5-e9gs2skb.mjs +9 -0
  383. package/dist/chunks/prompt-1.1.5-nze4mgb1.mjs +1 -0
  384. package/dist/chunks/prompt-1.1.5-rt3khqxe.mjs +1 -0
  385. package/dist/chunks/prompts-1.1.5-n7j717c7.mjs +1 -0
  386. package/dist/chunks/protocolHandler-1.1.5-t2gwfb5r.mjs +13 -0
  387. package/dist/chunks/provider-1.1.5-frpk8g8n.mjs +2 -0
  388. package/dist/chunks/providerProfiles-1.1.5-73fdzmet.mjs +1 -0
  389. package/dist/chunks/providerValidation-1.1.5-jgwkyrde.mjs +6 -0
  390. package/dist/chunks/rate-limit-options-1.1.5-r2g52qq0.mjs +1 -0
  391. package/dist/chunks/registerSubcommands-1.1.5-7a3c8p1r.mjs +34 -0
  392. package/dist/chunks/registry-1.1.5-ez5tf749.mjs +1 -0
  393. package/dist/chunks/release-notes-1.1.5-3s2ydgkr.mjs +5 -0
  394. package/dist/chunks/reload-plugins-1.1.5-ewy48323.mjs +2 -0
  395. package/dist/chunks/remote-env-1.1.5-fjnn4w8w.mjs +1 -0
  396. package/dist/chunks/remoteBridgeCore-1.1.5-dykd344q.mjs +1 -0
  397. package/dist/chunks/remoteSession-1.1.5-zh3f0taa.mjs +1 -0
  398. package/dist/chunks/rename-1.1.5-87w96zgn.mjs +1 -0
  399. package/dist/chunks/replBridgeHandle-1.1.5-k6qqd6n9.mjs +1 -0
  400. package/dist/chunks/replLauncher-1.1.5-f5be34k2.mjs +1 -0
  401. package/dist/chunks/resume-1.1.5-6m8daxjc.mjs +2 -0
  402. package/dist/chunks/rewind-1.1.5-h0p52671.mjs +1 -0
  403. package/dist/chunks/rootOptions-1.1.5-vwgeptzg.mjs +1 -0
  404. package/dist/chunks/runWorkflowHeadless-1.1.5-rq7nrfys.mjs +10 -0
  405. package/dist/chunks/sandbox-adapter-1.1.5-v44d4c8t.mjs +1 -0
  406. package/dist/chunks/sandbox-toggle-1.1.5-1p7ft47t.mjs +1 -0
  407. package/dist/chunks/session-1.1.5-z13kjbfr.mjs +2 -0
  408. package/dist/chunks/sessionDiscovery-1.1.5-ay13sxfh.mjs +1 -0
  409. package/dist/chunks/sessionFileAccessHooks-1.1.5-657ppg5q.mjs +1 -0
  410. package/dist/chunks/sessionStorage-1.1.5-6wbgfrx2.mjs +1 -0
  411. package/dist/chunks/settings-1.1.5-trqwe36q.mjs +1 -0
  412. package/dist/chunks/setup-1.1.5-36qva9ce.mjs +5 -0
  413. package/dist/chunks/sinks-1.1.5-xrb884av.mjs +1 -0
  414. package/dist/chunks/skills-1.1.5-fx5xev0z.mjs +1 -0
  415. package/dist/chunks/startupProfiler-1.1.5-4srbezwa.mjs +1 -0
  416. package/dist/chunks/startupUpdateCheck-1.1.5-z783f2gh.mjs +1 -0
  417. package/dist/chunks/state-1.1.5-emwaw100.mjs +1 -0
  418. package/dist/chunks/stats-1.1.5-yq9rd0vh.mjs +6 -0
  419. package/dist/chunks/status-1.1.5-3z0rsyyn.mjs +1 -0
  420. package/dist/chunks/stickers-1.1.5-svtd2cf2.mjs +1 -0
  421. package/dist/chunks/subprocessEnv-1.1.5-s8t729hb.mjs +1 -0
  422. package/dist/chunks/tasks-1.1.5-7xtpdxmb.mjs +1 -0
  423. package/dist/chunks/teamHelpers-1.1.5-3f13a139.mjs +1 -0
  424. package/dist/chunks/teammateModeSnapshot-1.1.5-mppw7mas.mjs +1 -0
  425. package/dist/chunks/teleport-1.1.5-kcw56shc.mjs +1 -0
  426. package/dist/chunks/terminalSetup-1.1.5-775nwnpp.mjs +1 -0
  427. package/dist/chunks/theme-1.1.5-05qfpzcq.mjs +1 -0
  428. package/dist/chunks/thinkback-1.1.5-w56d1tpy.mjs +1 -0
  429. package/dist/chunks/thinkback-play-1.1.5-316nwkk0.mjs +1 -0
  430. package/dist/chunks/toolPool-1.1.5-q7fh21qp.mjs +1 -0
  431. package/dist/chunks/toolSearch-1.1.5-y8qqtj5g.mjs +1 -0
  432. package/dist/chunks/tools-1.1.5-z7xa3j7q.mjs +1 -0
  433. package/dist/chunks/trustedDevice-1.1.5-b691w8cr.mjs +1 -0
  434. package/dist/chunks/turndown.cjs-1.1.5-37sae4sj.mjs +69 -0
  435. package/dist/chunks/types-1.1.5-2g1j2fq0.mjs +1 -0
  436. package/dist/chunks/ultrareviewCommand-1.1.5-0c9fawfn.mjs +4 -0
  437. package/dist/chunks/update-1.1.5-xd9ws9t3.mjs +72 -0
  438. package/dist/chunks/upgrade-1.1.5-534zzem5.mjs +1 -0
  439. package/dist/chunks/upload-1.1.5-c4826hfz.mjs +7 -0
  440. package/dist/chunks/upstreamproxy-1.1.5-7zb7f97v.mjs +14 -0
  441. package/dist/chunks/url-handler-napi-1.1.5-0vy3dhf8.mjs +1 -0
  442. package/dist/chunks/usage-1.1.5-xc1ksj33.mjs +1 -0
  443. package/dist/chunks/util-1.1.5-fx75rnha.mjs +1 -0
  444. package/dist/chunks/utils-1.1.5-1fxys2da.mjs +1 -0
  445. package/dist/chunks/vim-1.1.5-p9apxkqt.mjs +1 -0
  446. package/dist/chunks/watchLoop-1.1.5-s6ntndn2.mjs +13 -0
  447. package/dist/chunks/watcher-1.1.5-vsvwk41x.mjs +1 -0
  448. package/dist/chunks/wiki-1.1.5-9egxgqaa.mjs +132 -0
  449. package/dist/chunks/workflows-1.1.5-rgerb51y.mjs +1 -0
  450. package/dist/chunks/worktree-1.1.5-9byj3hpm.mjs +1 -0
  451. package/dist/chunks/worktreeModeEnabled-1.1.5-abb9xdvs.mjs +1 -0
  452. package/dist/chunks/wrapper-1.1.5-tad03vhy.mjs +7 -0
  453. package/dist/cli.mjs +2 -2
  454. package/package.json +9 -9
  455. package/dist/chunks/AgentTool-1.1.3-yxsndsyn.mjs +0 -1
  456. package/dist/chunks/App-1.1.3-se36kt2q.mjs +0 -1
  457. package/dist/chunks/ApproveApiKey-1.1.3-5jxsmx40.mjs +0 -1
  458. package/dist/chunks/AssistantSessionChooser-1.1.3-7bjbdd37.mjs +0 -1
  459. package/dist/chunks/AutoModeOptInDialog-1.1.3-3vs1q0ta.mjs +0 -1
  460. package/dist/chunks/BypassPermissionsModeDialog-1.1.3-p08x7sv8.mjs +0 -1
  461. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.3-gyv29cn4.mjs +0 -1
  462. package/dist/chunks/ConsoleOAuthFlow-1.1.3-6ka5hf2k.mjs +0 -1
  463. package/dist/chunks/DiffDialog-1.1.3-1wejx4tn.mjs +0 -7
  464. package/dist/chunks/Doctor-1.1.3-0ccnyend.mjs +0 -1
  465. package/dist/chunks/ExplorerDialog-1.1.3-jspvqy7q.mjs +0 -6
  466. package/dist/chunks/Grove-1.1.3-wvxs1xk4.mjs +0 -1
  467. package/dist/chunks/ITermBackend-1.1.3-5cr9f3wk.mjs +0 -1
  468. package/dist/chunks/InvalidConfigDialog-1.1.3-yy0jqsbj.mjs +0 -1
  469. package/dist/chunks/InvalidSettingsDialog-1.1.3-2pqy4mte.mjs +0 -1
  470. package/dist/chunks/MigrationDialog-1.1.3-781zj4fa.mjs +0 -1
  471. package/dist/chunks/Onboarding-1.1.3-a5n3c2kk.mjs +0 -1
  472. package/dist/chunks/ProviderManager-1.1.3-vbk4qqdv.mjs +0 -1
  473. package/dist/chunks/REPL-1.1.3-c8ng1hcs.mjs +0 -1
  474. package/dist/chunks/ResumeConversation-1.1.3-67axvmvd.mjs +0 -1
  475. package/dist/chunks/SnapshotUpdateDialog-1.1.3-84q4vb17.mjs +0 -1
  476. package/dist/chunks/TeleportProgress-1.1.3-hthcjsxf.mjs +0 -1
  477. package/dist/chunks/TeleportRepoMismatchDialog-1.1.3-af7j2gjm.mjs +0 -1
  478. package/dist/chunks/TeleportResumeWrapper-1.1.3-q0n84g2v.mjs +0 -1
  479. package/dist/chunks/TmuxBackend-1.1.3-dvsnx3eq.mjs +0 -9
  480. package/dist/chunks/ToolSearchTool-1.1.3-376a028q.mjs +0 -1
  481. package/dist/chunks/TrustDialog-1.1.3-01rkjtmv.mjs +0 -1
  482. package/dist/chunks/activeProvider-1.1.3-ppxd3mj8.mjs +0 -1
  483. package/dist/chunks/add-dir-1.1.3-z1vd7ra4.mjs +0 -1
  484. package/dist/chunks/agentTypes-1.1.3-w924n1yy.mjs +0 -1
  485. package/dist/chunks/agents-1.1.3-5atkby3f.mjs +0 -110
  486. package/dist/chunks/agents-1.1.3-mjqamerj.mjs +0 -3
  487. package/dist/chunks/api-1.1.3-1s5dk2h7.mjs +0 -1
  488. package/dist/chunks/asciicast-1.1.3-exg42b9c.mjs +0 -1
  489. package/dist/chunks/assistant-1.1.3-sdwgcm2q.mjs +0 -1
  490. package/dist/chunks/auth-1.1.3-g5e9e91f.mjs +0 -1
  491. package/dist/chunks/auth-1.1.3-jqasmv33.mjs +0 -1
  492. package/dist/chunks/autoMode-1.1.3-tjgwmrj8.mjs +0 -48
  493. package/dist/chunks/autoUpdater-1.1.3-r3vs5bsn.mjs +0 -1
  494. package/dist/chunks/backgroundHousekeeping-1.1.3-k14x3rw1.mjs +0 -1
  495. package/dist/chunks/branch-1.1.3-42at4fgy.mjs +0 -4
  496. package/dist/chunks/bridge-1.1.3-02wgv1mq.mjs +0 -2
  497. package/dist/chunks/bridgeConfig-1.1.3-pz9qyfzz.mjs +0 -1
  498. package/dist/chunks/bridgeEnabled-1.1.3-e833e9ca.mjs +0 -1
  499. package/dist/chunks/bridgeMain-1.1.3-aqjdgpdy.mjs +0 -88
  500. package/dist/chunks/bridgePointer-1.1.3-b3hwkb6e.mjs +0 -1
  501. package/dist/chunks/btw-1.1.3-3q7kvnj8.mjs +0 -1
  502. package/dist/chunks/buddy-1.1.3-mxnf2f34.mjs +0 -3
  503. package/dist/chunks/cacache-1.1.3-rxz1pgwz.mjs +0 -1
  504. package/dist/chunks/cache-probe-1.1.3-ey8g5sks.mjs +0 -21
  505. package/dist/chunks/cacheStats-1.1.3-mwmp8as6.mjs +0 -4
  506. package/dist/chunks/caches-1.1.3-zwf2m9j5.mjs +0 -1
  507. package/dist/chunks/claudeDesktop-1.1.3-v480vs32.mjs +0 -1
  508. package/dist/chunks/claudemd-1.1.3-aspbzmhd.mjs +0 -1
  509. package/dist/chunks/clear-1.1.3-9apn4h2w.mjs +0 -1
  510. package/dist/chunks/clearTerminal-1.1.3-jbzj4fvw.mjs +0 -1
  511. package/dist/chunks/cli-1.1.3-01ceyj4y.mjs +0 -45
  512. package/dist/chunks/cli-1.1.3-01phj35m.mjs +0 -25
  513. package/dist/chunks/cli-1.1.3-07ap3q60.mjs +0 -2
  514. package/dist/chunks/cli-1.1.3-0cbh861c.mjs +0 -9
  515. package/dist/chunks/cli-1.1.3-0cq4713y.mjs +0 -2
  516. package/dist/chunks/cli-1.1.3-0p8krrf1.mjs +0 -2
  517. package/dist/chunks/cli-1.1.3-1ey46s2h.mjs +0 -3
  518. package/dist/chunks/cli-1.1.3-1krr9n6p.mjs +0 -4
  519. package/dist/chunks/cli-1.1.3-1m40cjft.mjs +0 -2
  520. package/dist/chunks/cli-1.1.3-1vw4gdpc.mjs +0 -3
  521. package/dist/chunks/cli-1.1.3-1zv90s1n.mjs +0 -17
  522. package/dist/chunks/cli-1.1.3-25jbatj6.mjs +0 -2
  523. package/dist/chunks/cli-1.1.3-2at6mxpr.mjs +0 -2
  524. package/dist/chunks/cli-1.1.3-2nhp8krw.mjs +0 -2
  525. package/dist/chunks/cli-1.1.3-2pzwezgd.mjs +0 -2
  526. package/dist/chunks/cli-1.1.3-2whk95g7.mjs +0 -2
  527. package/dist/chunks/cli-1.1.3-35pxqjkd.mjs +0 -3
  528. package/dist/chunks/cli-1.1.3-35sq031q.mjs +0 -2
  529. package/dist/chunks/cli-1.1.3-3b1emj77.mjs +0 -2
  530. package/dist/chunks/cli-1.1.3-3ck9nde3.mjs +0 -4
  531. package/dist/chunks/cli-1.1.3-3cqnvz5q.mjs +0 -2
  532. package/dist/chunks/cli-1.1.3-3n4z9x5v.mjs +0 -2
  533. package/dist/chunks/cli-1.1.3-3v1pwmy8.mjs +0 -4
  534. package/dist/chunks/cli-1.1.3-3v7vzx20.mjs +0 -18
  535. package/dist/chunks/cli-1.1.3-3yaqqcdz.mjs +0 -25
  536. package/dist/chunks/cli-1.1.3-474ezzb0.mjs +0 -2
  537. package/dist/chunks/cli-1.1.3-4kjm8mzq.mjs +0 -1
  538. package/dist/chunks/cli-1.1.3-4qnt7xps.mjs +0 -6
  539. package/dist/chunks/cli-1.1.3-542yg99v.mjs +0 -3
  540. package/dist/chunks/cli-1.1.3-59xex268.mjs +0 -4
  541. package/dist/chunks/cli-1.1.3-5bkfd3vc.mjs +0 -2
  542. package/dist/chunks/cli-1.1.3-5g0d524n.mjs +0 -2
  543. package/dist/chunks/cli-1.1.3-5vqc0ws1.mjs +0 -2
  544. package/dist/chunks/cli-1.1.3-5zveqbgr.mjs +0 -2
  545. package/dist/chunks/cli-1.1.3-61cw0bsj.mjs +0 -2
  546. package/dist/chunks/cli-1.1.3-62xmen1t.mjs +0 -3
  547. package/dist/chunks/cli-1.1.3-6arxtxjd.mjs +0 -2
  548. package/dist/chunks/cli-1.1.3-6f17b1wv.mjs +0 -9
  549. package/dist/chunks/cli-1.1.3-6jpsfc7q.mjs +0 -2
  550. package/dist/chunks/cli-1.1.3-6kd24w49.mjs +0 -2
  551. package/dist/chunks/cli-1.1.3-6kse36ke.mjs +0 -2
  552. package/dist/chunks/cli-1.1.3-6qebqran.mjs +0 -4
  553. package/dist/chunks/cli-1.1.3-728j7hk7.mjs +0 -2
  554. package/dist/chunks/cli-1.1.3-754qsxzp.mjs +0 -2
  555. package/dist/chunks/cli-1.1.3-784k913c.mjs +0 -42
  556. package/dist/chunks/cli-1.1.3-794cnnf6.mjs +0 -2
  557. package/dist/chunks/cli-1.1.3-7a40xj94.mjs +0 -4
  558. package/dist/chunks/cli-1.1.3-7b34969p.mjs +0 -24
  559. package/dist/chunks/cli-1.1.3-7dbam07b.mjs +0 -2
  560. package/dist/chunks/cli-1.1.3-81p48g5s.mjs +0 -2
  561. package/dist/chunks/cli-1.1.3-88949m1z.mjs +0 -2
  562. package/dist/chunks/cli-1.1.3-8a7nh0f1.mjs +0 -2
  563. package/dist/chunks/cli-1.1.3-8aghq1w8.mjs +0 -2
  564. package/dist/chunks/cli-1.1.3-8cqhzz5c.mjs +0 -2
  565. package/dist/chunks/cli-1.1.3-8fdttrf4.mjs +0 -2
  566. package/dist/chunks/cli-1.1.3-8fxwqvfj.mjs +0 -3
  567. package/dist/chunks/cli-1.1.3-8mf46r85.mjs +0 -18
  568. package/dist/chunks/cli-1.1.3-93mxysb6.mjs +0 -2
  569. package/dist/chunks/cli-1.1.3-9a9bythm.mjs +0 -2
  570. package/dist/chunks/cli-1.1.3-9cvgj0zc.mjs +0 -2
  571. package/dist/chunks/cli-1.1.3-9dawtrvk.mjs +0 -2
  572. package/dist/chunks/cli-1.1.3-9zpwt3yw.mjs +0 -2
  573. package/dist/chunks/cli-1.1.3-9zvc4hsj.mjs +0 -2
  574. package/dist/chunks/cli-1.1.3-aby773wx.mjs +0 -2
  575. package/dist/chunks/cli-1.1.3-and2rzgx.mjs +0 -2
  576. package/dist/chunks/cli-1.1.3-atjv82jv.mjs +0 -2
  577. package/dist/chunks/cli-1.1.3-atp5y7j7.mjs +0 -2
  578. package/dist/chunks/cli-1.1.3-aw2b0yn9.mjs +0 -2
  579. package/dist/chunks/cli-1.1.3-b88x3k01.mjs +0 -2
  580. package/dist/chunks/cli-1.1.3-bbqwb2vd.mjs +0 -2
  581. package/dist/chunks/cli-1.1.3-bh5gftey.mjs +0 -12
  582. package/dist/chunks/cli-1.1.3-bkev2xdr.mjs +0 -2
  583. package/dist/chunks/cli-1.1.3-bp3q6zqx.mjs +0 -2
  584. package/dist/chunks/cli-1.1.3-bqn6026m.mjs +0 -39
  585. package/dist/chunks/cli-1.1.3-btgs6ac2.mjs +0 -2
  586. package/dist/chunks/cli-1.1.3-c06t4mva.mjs +0 -202
  587. package/dist/chunks/cli-1.1.3-c627h4he.mjs +0 -2
  588. package/dist/chunks/cli-1.1.3-c63ht2fx.mjs +0 -24
  589. package/dist/chunks/cli-1.1.3-c89bkw1j.mjs +0 -50
  590. package/dist/chunks/cli-1.1.3-cf6phy33.mjs +0 -4
  591. package/dist/chunks/cli-1.1.3-cfbvqt93.mjs +0 -2
  592. package/dist/chunks/cli-1.1.3-ckgtccms.mjs +0 -2
  593. package/dist/chunks/cli-1.1.3-cn4g4e3p.mjs +0 -2
  594. package/dist/chunks/cli-1.1.3-czckb3b7.mjs +0 -2
  595. package/dist/chunks/cli-1.1.3-d2q4t4ng.mjs +0 -2
  596. package/dist/chunks/cli-1.1.3-d2rfc4qe.mjs +0 -21
  597. package/dist/chunks/cli-1.1.3-d3ktet0r.mjs +0 -15
  598. package/dist/chunks/cli-1.1.3-d8scjpye.mjs +0 -2
  599. package/dist/chunks/cli-1.1.3-dab6k7an.mjs +0 -2
  600. package/dist/chunks/cli-1.1.3-db63qype.mjs +0 -2
  601. package/dist/chunks/cli-1.1.3-dgv6zkw4.mjs +0 -2
  602. package/dist/chunks/cli-1.1.3-dnk7vvb1.mjs +0 -3
  603. package/dist/chunks/cli-1.1.3-dnyndczq.mjs +0 -15
  604. package/dist/chunks/cli-1.1.3-e3jtz0sv.mjs +0 -2
  605. package/dist/chunks/cli-1.1.3-ehynfa14.mjs +0 -6
  606. package/dist/chunks/cli-1.1.3-ep77k52g.mjs +0 -2
  607. package/dist/chunks/cli-1.1.3-ezvsqkxt.mjs +0 -2
  608. package/dist/chunks/cli-1.1.3-f3b9x47a.mjs +0 -2
  609. package/dist/chunks/cli-1.1.3-f4y81bfm.mjs +0 -2
  610. package/dist/chunks/cli-1.1.3-ffhb6dgp.mjs +0 -2
  611. package/dist/chunks/cli-1.1.3-ffnbm5dy.mjs +0 -2
  612. package/dist/chunks/cli-1.1.3-ffxb379j.mjs +0 -2
  613. package/dist/chunks/cli-1.1.3-fg4s0rf2.mjs +0 -2
  614. package/dist/chunks/cli-1.1.3-fn3gz1mm.mjs +0 -2
  615. package/dist/chunks/cli-1.1.3-fwnvqcgg.mjs +0 -6
  616. package/dist/chunks/cli-1.1.3-g22t8964.mjs +0 -17
  617. package/dist/chunks/cli-1.1.3-gbtb2prg.mjs +0 -2
  618. package/dist/chunks/cli-1.1.3-gmkpq85h.mjs +0 -2
  619. package/dist/chunks/cli-1.1.3-gqvr1ctv.mjs +0 -2
  620. package/dist/chunks/cli-1.1.3-grr7gey9.mjs +0 -2
  621. package/dist/chunks/cli-1.1.3-gthp8mbw.mjs +0 -2
  622. package/dist/chunks/cli-1.1.3-h27e7q5x.mjs +0 -12
  623. package/dist/chunks/cli-1.1.3-h382pr6p.mjs +0 -2
  624. package/dist/chunks/cli-1.1.3-hb7g5y9p.mjs +0 -12
  625. package/dist/chunks/cli-1.1.3-hftwajch.mjs +0 -2
  626. package/dist/chunks/cli-1.1.3-hs9ck03n.mjs +0 -5639
  627. package/dist/chunks/cli-1.1.3-hw5kjqjr.mjs +0 -12
  628. package/dist/chunks/cli-1.1.3-hx22x48p.mjs +0 -2
  629. package/dist/chunks/cli-1.1.3-hx6z3g2t.mjs +0 -15
  630. package/dist/chunks/cli-1.1.3-hzettfd9.mjs +0 -2
  631. package/dist/chunks/cli-1.1.3-j0hxvf5w.mjs +0 -2
  632. package/dist/chunks/cli-1.1.3-jgpsz36y.mjs +0 -3
  633. package/dist/chunks/cli-1.1.3-jm2670xx.mjs +0 -3
  634. package/dist/chunks/cli-1.1.3-jsvyner6.mjs +0 -2
  635. package/dist/chunks/cli-1.1.3-jvgmswx0.mjs +0 -2
  636. package/dist/chunks/cli-1.1.3-jxcrr2k0.mjs +0 -2
  637. package/dist/chunks/cli-1.1.3-jz35kydf.mjs +0 -2
  638. package/dist/chunks/cli-1.1.3-k71pqbzv.mjs +0 -2
  639. package/dist/chunks/cli-1.1.3-kb2p4ces.mjs +0 -2
  640. package/dist/chunks/cli-1.1.3-kh7s1ptn.mjs +0 -59
  641. package/dist/chunks/cli-1.1.3-m0nv5m3n.mjs +0 -2
  642. package/dist/chunks/cli-1.1.3-m1drez65.mjs +0 -20
  643. package/dist/chunks/cli-1.1.3-maxd7q4j.mjs +0 -2
  644. package/dist/chunks/cli-1.1.3-mk0pqpe5.mjs +0 -2
  645. package/dist/chunks/cli-1.1.3-n4fjs3wh.mjs +0 -2
  646. package/dist/chunks/cli-1.1.3-n4sxmh0k.mjs +0 -3
  647. package/dist/chunks/cli-1.1.3-n69km65c.mjs +0 -2
  648. package/dist/chunks/cli-1.1.3-n94f70dw.mjs +0 -4
  649. package/dist/chunks/cli-1.1.3-nb6jng8k.mjs +0 -24
  650. package/dist/chunks/cli-1.1.3-neffpndz.mjs +0 -2
  651. package/dist/chunks/cli-1.1.3-nskz3j4r.mjs +0 -6
  652. package/dist/chunks/cli-1.1.3-nv18abf3.mjs +0 -2
  653. package/dist/chunks/cli-1.1.3-nwwtaht8.mjs +0 -3
  654. package/dist/chunks/cli-1.1.3-p96mn5e3.mjs +0 -4
  655. package/dist/chunks/cli-1.1.3-pfyraqmy.mjs +0 -2
  656. package/dist/chunks/cli-1.1.3-pmd2p2dk.mjs +0 -2
  657. package/dist/chunks/cli-1.1.3-q419ra7q.mjs +0 -2
  658. package/dist/chunks/cli-1.1.3-qffw70jy.mjs +0 -2
  659. package/dist/chunks/cli-1.1.3-qhw7mafg.mjs +0 -2
  660. package/dist/chunks/cli-1.1.3-r8hnm5n8.mjs +0 -2
  661. package/dist/chunks/cli-1.1.3-r9m8cyrc.mjs +0 -2
  662. package/dist/chunks/cli-1.1.3-ramkctnw.mjs +0 -58
  663. package/dist/chunks/cli-1.1.3-rkx4c6ey.mjs +0 -2
  664. package/dist/chunks/cli-1.1.3-rneam354.mjs +0 -2
  665. package/dist/chunks/cli-1.1.3-s1ttygbf.mjs +0 -67
  666. package/dist/chunks/cli-1.1.3-sc9bm6f1.mjs +0 -2
  667. package/dist/chunks/cli-1.1.3-scnwb2jp.mjs +0 -2
  668. package/dist/chunks/cli-1.1.3-sfy0pdyx.mjs +0 -2
  669. package/dist/chunks/cli-1.1.3-sjkaxzsp.mjs +0 -2
  670. package/dist/chunks/cli-1.1.3-sk7xsym3.mjs +0 -2
  671. package/dist/chunks/cli-1.1.3-skvx9y6v.mjs +0 -2
  672. package/dist/chunks/cli-1.1.3-sp010xtk.mjs +0 -2
  673. package/dist/chunks/cli-1.1.3-spxtmdrr.mjs +0 -2
  674. package/dist/chunks/cli-1.1.3-ssgr0hah.mjs +0 -2
  675. package/dist/chunks/cli-1.1.3-swhwjey8.mjs +0 -4
  676. package/dist/chunks/cli-1.1.3-t15g5zbq.mjs +0 -2
  677. package/dist/chunks/cli-1.1.3-t2tn9dft.mjs +0 -2
  678. package/dist/chunks/cli-1.1.3-t847whez.mjs +0 -2
  679. package/dist/chunks/cli-1.1.3-t9f7yqmm.mjs +0 -2
  680. package/dist/chunks/cli-1.1.3-tbnf15hh.mjs +0 -2
  681. package/dist/chunks/cli-1.1.3-trr6cmmr.mjs +0 -2
  682. package/dist/chunks/cli-1.1.3-v2tjwmbp.mjs +0 -5
  683. package/dist/chunks/cli-1.1.3-v32wjr75.mjs +0 -5
  684. package/dist/chunks/cli-1.1.3-v35td7vm.mjs +0 -2
  685. package/dist/chunks/cli-1.1.3-v5ceeb5d.mjs +0 -6
  686. package/dist/chunks/cli-1.1.3-vbsx7ezp.mjs +0 -7
  687. package/dist/chunks/cli-1.1.3-vmmx1en5.mjs +0 -2
  688. package/dist/chunks/cli-1.1.3-vnwxm9wr.mjs +0 -2
  689. package/dist/chunks/cli-1.1.3-vy745mt9.mjs +0 -2
  690. package/dist/chunks/cli-1.1.3-w64jkj6r.mjs +0 -2
  691. package/dist/chunks/cli-1.1.3-wb3qve9j.mjs +0 -2
  692. package/dist/chunks/cli-1.1.3-wd2xqmmr.mjs +0 -2
  693. package/dist/chunks/cli-1.1.3-wnmbr0xp.mjs +0 -2
  694. package/dist/chunks/cli-1.1.3-wpkhmx2n.mjs +0 -34
  695. package/dist/chunks/cli-1.1.3-wrfkmhf7.mjs +0 -2
  696. package/dist/chunks/cli-1.1.3-x42n0xaw.mjs +0 -133
  697. package/dist/chunks/cli-1.1.3-x86k4av4.mjs +0 -2
  698. package/dist/chunks/cli-1.1.3-xdkzmwps.mjs +0 -4
  699. package/dist/chunks/cli-1.1.3-xdx3kmb4.mjs +0 -2
  700. package/dist/chunks/cli-1.1.3-xkvherr0.mjs +0 -2
  701. package/dist/chunks/cli-1.1.3-xs1sydv3.mjs +0 -2
  702. package/dist/chunks/cli-1.1.3-xvbcvemx.mjs +0 -18
  703. package/dist/chunks/cli-1.1.3-xwh6kwee.mjs +0 -2
  704. package/dist/chunks/cli-1.1.3-y50zzrst.mjs +0 -3
  705. package/dist/chunks/cli-1.1.3-yaa47h2d.mjs +0 -2
  706. package/dist/chunks/cli-1.1.3-ymajywr8.mjs +0 -2
  707. package/dist/chunks/cli-1.1.3-yxab9ewb.mjs +0 -2
  708. package/dist/chunks/cli-1.1.3-z2zjezjw.mjs +0 -2
  709. package/dist/chunks/cli-1.1.3-z57276ym.mjs +0 -8
  710. package/dist/chunks/cli-1.1.3-zdr6e0yt.mjs +0 -2
  711. package/dist/chunks/cli-1.1.3-zg0yshsb.mjs +0 -16
  712. package/dist/chunks/cli-1.1.3-zpzzcahe.mjs +0 -133
  713. package/dist/chunks/cli-1.1.3-zw8vt024.mjs +0 -2
  714. package/dist/chunks/client-1.1.3-xm226xj6.mjs +0 -1
  715. package/dist/chunks/color-1.1.3-8ab65cjs.mjs +0 -1
  716. package/dist/chunks/compact-1.1.3-hcapbx0q.mjs +0 -3
  717. package/dist/chunks/config-1.1.3-g43dtaxy.mjs +0 -1
  718. package/dist/chunks/config-1.1.3-wb6deh5d.mjs +0 -1
  719. package/dist/chunks/constants-1.1.3-3b936cvz.mjs +0 -1
  720. package/dist/chunks/context-1.1.3-xvy8khnx.mjs +0 -1
  721. package/dist/chunks/context-noninteractive-1.1.3-dmzhbz2k.mjs +0 -1
  722. package/dist/chunks/conversation-1.1.3-hrdt4vvs.mjs +0 -1
  723. package/dist/chunks/copilotHeaders-1.1.3-2j9metc4.mjs +0 -1
  724. package/dist/chunks/copy-1.1.3-2d905bsm.mjs +0 -9
  725. package/dist/chunks/cost-1.1.3-z4msw06f.mjs +0 -1
  726. package/dist/chunks/createSSHSession-1.1.3-xq7rb9ae.mjs +0 -1
  727. package/dist/chunks/createSession-1.1.3-t81dkj2y.mjs +0 -1
  728. package/dist/chunks/debug-1.1.3-3bkwy7n0.mjs +0 -1
  729. package/dist/chunks/defaultActionDeps-1.1.3-hvw12khs.mjs +0 -1446
  730. package/dist/chunks/desktop-1.1.3-bxb4ht8y.mjs +0 -1
  731. package/dist/chunks/detectRepository-1.1.3-38e9bq6c.mjs +0 -1
  732. package/dist/chunks/detection-1.1.3-w4ezq6bb.mjs +0 -1
  733. package/dist/chunks/diff-1.1.3-fjz0ec55.mjs +0 -1
  734. package/dist/chunks/doctor-1.1.3-9wwq26y8.mjs +0 -1
  735. package/dist/chunks/doctorDiagnostic-1.1.3-9abfp9t6.mjs +0 -1
  736. package/dist/chunks/earlyInput-1.1.3-d2cs4fwc.mjs +0 -1
  737. package/dist/chunks/effort-1.1.3-j0n7czrz.mjs +0 -13
  738. package/dist/chunks/engine-1.1.3-pr4qnwy3.mjs +0 -1
  739. package/dist/chunks/envLessBridgeConfig-1.1.3-wc95rk7b.mjs +0 -1
  740. package/dist/chunks/envUtils-1.1.3-5tct25a9.mjs +0 -1
  741. package/dist/chunks/environmentSelection-1.1.3-qtqtxdf3.mjs +0 -1
  742. package/dist/chunks/environments-1.1.3-4yp11kx1.mjs +0 -1
  743. package/dist/chunks/errors-1.1.3-839qw7sv.mjs +0 -1
  744. package/dist/chunks/exampleCommands-1.1.3-7xyshaxw.mjs +0 -1
  745. package/dist/chunks/execFileNoThrow-1.1.3-mq74sze8.mjs +0 -1
  746. package/dist/chunks/exit-1.1.3-rhdfh4z2.mjs +0 -1
  747. package/dist/chunks/explorer-1.1.3-qp41d17d.mjs +0 -1
  748. package/dist/chunks/export-1.1.3-h7nhy37k.mjs +0 -2
  749. package/dist/chunks/extra-usage-1.1.3-x22bxhyr.mjs +0 -1
  750. package/dist/chunks/extra-usage-noninteractive-1.1.3-9b1pnfdq.mjs +0 -1
  751. package/dist/chunks/fast-1.1.3-zpw1g4fr.mjs +0 -1
  752. package/dist/chunks/feedback-1.1.3-ak2cw09m.mjs +0 -14
  753. package/dist/chunks/firstPartyEventLogger-1.1.3-3ma1a2a5.mjs +0 -1
  754. package/dist/chunks/git-1.1.3-5v2874t5.mjs +0 -1
  755. package/dist/chunks/githubModelsCredentials-1.1.3-cbegmxdf.mjs +0 -1
  756. package/dist/chunks/goal-1.1.3-20rnxcrw.mjs +0 -4
  757. package/dist/chunks/grove-1.1.3-txbghpb5.mjs +0 -1
  758. package/dist/chunks/growthbook-1.1.3-78e8e871.mjs +0 -1
  759. package/dist/chunks/headless-1.1.3-93ardmg6.mjs +0 -2
  760. package/dist/chunks/heapdump-1.1.3-hvdttsk2.mjs +0 -6
  761. package/dist/chunks/help-1.1.3-v94jvsxq.mjs +0 -1
  762. package/dist/chunks/hookChains-1.1.3-9ma5vjz9.mjs +0 -3
  763. package/dist/chunks/hooks-1.1.3-my305rqa.mjs +0 -1
  764. package/dist/chunks/hooks-1.1.3-qnjv2ceq.mjs +0 -79
  765. package/dist/chunks/ide-1.1.3-0b6tx1fn.mjs +0 -3
  766. package/dist/chunks/image-processor-napi-1.1.3-e0yr3jf6.mjs +0 -1
  767. package/dist/chunks/inboundAttachments-1.1.3-1xk4z18x.mjs +0 -1
  768. package/dist/chunks/index-1.1.3-05dj3vyn.mjs +0 -1
  769. package/dist/chunks/index-1.1.3-0xj4kyd8.mjs +0 -1
  770. package/dist/chunks/index-1.1.3-3jppvcra.mjs +0 -2
  771. package/dist/chunks/index-1.1.3-3vd48szb.mjs +0 -30
  772. package/dist/chunks/index-1.1.3-40fcsdhn.mjs +0 -1
  773. package/dist/chunks/index-1.1.3-6jjz6ctb.mjs +0 -1
  774. package/dist/chunks/index-1.1.3-70e6zr9d.mjs +0 -1
  775. package/dist/chunks/index-1.1.3-a1hhr2m3.mjs +0 -9
  776. package/dist/chunks/index-1.1.3-cqhk9amz.mjs +0 -1
  777. package/dist/chunks/index-1.1.3-ey0w9snc.mjs +0 -1
  778. package/dist/chunks/index-1.1.3-hvbtn9kp.mjs +0 -1
  779. package/dist/chunks/index-1.1.3-k6y0hd0p.mjs +0 -9
  780. package/dist/chunks/index-1.1.3-n02hxa0w.mjs +0 -1
  781. package/dist/chunks/index-1.1.3-nr5wza2c.mjs +0 -1
  782. package/dist/chunks/index-1.1.3-r28aemv7.mjs +0 -1
  783. package/dist/chunks/index-1.1.3-rhcxh4xp.mjs +0 -1
  784. package/dist/chunks/index-1.1.3-t1h4z32w.mjs +0 -2
  785. package/dist/chunks/index-1.1.3-tnh0vetx.mjs +0 -17
  786. package/dist/chunks/index-1.1.3-v3bygtqf.mjs +0 -1
  787. package/dist/chunks/index-1.1.3-vzk1g7qa.mjs +0 -1
  788. package/dist/chunks/index-1.1.3-wnr572f2.mjs +0 -5
  789. package/dist/chunks/index-1.1.3-ww7fhvcj.mjs +0 -1
  790. package/dist/chunks/index-1.1.3-yj99jfkc.mjs +0 -1
  791. package/dist/chunks/init-1.1.3-9tpzjm03.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.1.3-9qbyncbf.mjs +0 -1
  793. package/dist/chunks/ink-1.1.3-hdvkkyj6.mjs +0 -1
  794. package/dist/chunks/insights-1.1.3-5zza0gsp.mjs +0 -870
  795. package/dist/chunks/install-1.1.3-10xet3fs.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.1.3-zw78ccj9.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.1.3-9tftq49n.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.1.3-cpa9f6b5.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.1.3-agbgadm7.mjs +0 -1
  800. package/dist/chunks/keybindings-1.1.3-13kdt9tg.mjs +0 -2
  801. package/dist/chunks/knowledge-1.1.3-gp9qcrrs.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.1.3-kgy1wyv0.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.1.3-75zjfd3k.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.1.3-7wwgb03c.mjs +0 -1
  805. package/dist/chunks/loadPluginHooks-1.1.3-jfmwjb98.mjs +0 -1
  806. package/dist/chunks/log-1.1.3-9zqwe1w7.mjs +0 -1
  807. package/dist/chunks/main-1.1.3-jhjmcs48.mjs +0 -1
  808. package/dist/chunks/managedEnv-1.1.3-t9w50rpt.mjs +0 -1
  809. package/dist/chunks/mcp-1.1.3-207rw6m3.mjs +0 -1
  810. package/dist/chunks/mcp-1.1.3-kd4j31we.mjs +0 -17
  811. package/dist/chunks/mcp-1.1.3-kws6bzpc.mjs +0 -4
  812. package/dist/chunks/mcpb-1.1.3-f30fv87k.mjs +0 -1
  813. package/dist/chunks/memory-1.1.3-r9sjskzv.mjs +0 -72
  814. package/dist/chunks/model-1.1.3-6bjss6ed.mjs +0 -1
  815. package/dist/chunks/model-1.1.3-vsqw9dyb.mjs +0 -2
  816. package/dist/chunks/node-1.1.3-rsp1nxjt.mjs +0 -12
  817. package/dist/chunks/oauth-1.1.3-enrprjzc.mjs +0 -1
  818. package/dist/chunks/openaiShim-1.1.3-f5dhxmdz.mjs +0 -14
  819. package/dist/chunks/output-style-1.1.3-z351smrw.mjs +0 -1
  820. package/dist/chunks/package-2VNCXFNY-1.1.3-d53d5n86.mjs +0 -1
  821. package/dist/chunks/parseConnectUrl-1.1.3-bqm4rp08.mjs +0 -1
  822. package/dist/chunks/parser-1.1.3-eyj95pq4.mjs +0 -1
  823. package/dist/chunks/passes-1.1.3-0a11epnb.mjs +0 -1
  824. package/dist/chunks/permissions-1.1.3-eegvrpq9.mjs +0 -3
  825. package/dist/chunks/permissions-1.1.3-pypjshjc.mjs +0 -1
  826. package/dist/chunks/plan-1.1.3-3kcm7qd3.mjs +0 -1
  827. package/dist/chunks/plist-1.1.3-nwtjgx23.mjs +0 -1
  828. package/dist/chunks/plugin-1.1.3-nmwsekb7.mjs +0 -29
  829. package/dist/chunks/pluginStartupCheck-1.1.3-r2gw8rs8.mjs +0 -1
  830. package/dist/chunks/plugins-1.1.3-8kpaagz8.mjs +0 -9
  831. package/dist/chunks/preActionHook-1.1.3-bxphk64e.mjs +0 -2
  832. package/dist/chunks/print-1.1.3-gm79pshf.mjs +0 -57
  833. package/dist/chunks/privacy-settings-1.1.3-sd4vzmf5.mjs +0 -1
  834. package/dist/chunks/process-1.1.3-01ryma15.mjs +0 -1
  835. package/dist/chunks/processBashCommand-1.1.3-qatq374q.mjs +0 -1
  836. package/dist/chunks/processSlashCommand-1.1.3-g45j16m5.mjs +0 -9
  837. package/dist/chunks/prompt-1.1.3-6m7zdbwt.mjs +0 -1
  838. package/dist/chunks/prompt-1.1.3-bxzv3knp.mjs +0 -1
  839. package/dist/chunks/prompts-1.1.3-da4jzheb.mjs +0 -1
  840. package/dist/chunks/protocolHandler-1.1.3-8efrcbr5.mjs +0 -13
  841. package/dist/chunks/provider-1.1.3-jk006gs1.mjs +0 -2
  842. package/dist/chunks/providerProfiles-1.1.3-7czyj40k.mjs +0 -1
  843. package/dist/chunks/providerValidation-1.1.3-099qkvzg.mjs +0 -6
  844. package/dist/chunks/rate-limit-options-1.1.3-4y4ya1ax.mjs +0 -1
  845. package/dist/chunks/registerSubcommands-1.1.3-59f6nvsp.mjs +0 -34
  846. package/dist/chunks/registry-1.1.3-8dqn0waj.mjs +0 -1
  847. package/dist/chunks/release-notes-1.1.3-smjt1xpb.mjs +0 -5
  848. package/dist/chunks/reload-plugins-1.1.3-ry02kg4r.mjs +0 -2
  849. package/dist/chunks/remote-env-1.1.3-ypt8cj78.mjs +0 -1
  850. package/dist/chunks/remoteBridgeCore-1.1.3-e0q527yd.mjs +0 -1
  851. package/dist/chunks/remoteSession-1.1.3-99dcc6yz.mjs +0 -1
  852. package/dist/chunks/rename-1.1.3-z8ht01vn.mjs +0 -1
  853. package/dist/chunks/replBridgeHandle-1.1.3-9ajh2zsz.mjs +0 -1
  854. package/dist/chunks/replLauncher-1.1.3-phft6q3m.mjs +0 -1
  855. package/dist/chunks/resume-1.1.3-ryb53bar.mjs +0 -2
  856. package/dist/chunks/rewind-1.1.3-yc7kmt10.mjs +0 -1
  857. package/dist/chunks/rootOptions-1.1.3-21mvhhbz.mjs +0 -1
  858. package/dist/chunks/runWorkflowHeadless-1.1.3-c5x1xygs.mjs +0 -10
  859. package/dist/chunks/sandbox-adapter-1.1.3-qaxp436e.mjs +0 -1
  860. package/dist/chunks/sandbox-toggle-1.1.3-yd6gnwq0.mjs +0 -1
  861. package/dist/chunks/session-1.1.3-d6bcmdqc.mjs +0 -2
  862. package/dist/chunks/sessionDiscovery-1.1.3-yengby74.mjs +0 -1
  863. package/dist/chunks/sessionFileAccessHooks-1.1.3-z5h2mh2d.mjs +0 -1
  864. package/dist/chunks/sessionStorage-1.1.3-g2087x3k.mjs +0 -1
  865. package/dist/chunks/settings-1.1.3-kdw73w2n.mjs +0 -1
  866. package/dist/chunks/setup-1.1.3-6x82pe5r.mjs +0 -5
  867. package/dist/chunks/sinks-1.1.3-bnwaz6jy.mjs +0 -1
  868. package/dist/chunks/skills-1.1.3-xzvzszw5.mjs +0 -1
  869. package/dist/chunks/startupProfiler-1.1.3-vmfrefxy.mjs +0 -1
  870. package/dist/chunks/startupUpdateCheck-1.1.3-xnsmptgv.mjs +0 -1
  871. package/dist/chunks/state-1.1.3-9qvv8c8a.mjs +0 -1
  872. package/dist/chunks/stats-1.1.3-xkfhs48y.mjs +0 -6
  873. package/dist/chunks/status-1.1.3-bkvdfpf2.mjs +0 -1
  874. package/dist/chunks/stickers-1.1.3-tdyragdz.mjs +0 -1
  875. package/dist/chunks/subprocessEnv-1.1.3-bnpw017t.mjs +0 -1
  876. package/dist/chunks/tasks-1.1.3-3jnhmrad.mjs +0 -1
  877. package/dist/chunks/teamHelpers-1.1.3-3rhp7h7y.mjs +0 -1
  878. package/dist/chunks/teammateModeSnapshot-1.1.3-sjhagf52.mjs +0 -1
  879. package/dist/chunks/teleport-1.1.3-0qc9xkzf.mjs +0 -1
  880. package/dist/chunks/terminalSetup-1.1.3-r9zefqyy.mjs +0 -1
  881. package/dist/chunks/theme-1.1.3-ygj5ahxz.mjs +0 -1
  882. package/dist/chunks/thinkback-1.1.3-692khvzr.mjs +0 -1
  883. package/dist/chunks/thinkback-play-1.1.3-ebnc9f7w.mjs +0 -1
  884. package/dist/chunks/toolPool-1.1.3-9tmyh9kx.mjs +0 -1
  885. package/dist/chunks/toolSearch-1.1.3-dt6xjx6s.mjs +0 -1
  886. package/dist/chunks/tools-1.1.3-qg2w37bw.mjs +0 -1
  887. package/dist/chunks/trustedDevice-1.1.3-nt2dpn34.mjs +0 -1
  888. package/dist/chunks/turndown.cjs-1.1.3-vky94jfh.mjs +0 -69
  889. package/dist/chunks/types-1.1.3-h2n5wzra.mjs +0 -1
  890. package/dist/chunks/ultrareviewCommand-1.1.3-j3a7dzxc.mjs +0 -4
  891. package/dist/chunks/update-1.1.3-ypnffaj9.mjs +0 -72
  892. package/dist/chunks/upgrade-1.1.3-zgwkz8e1.mjs +0 -1
  893. package/dist/chunks/upload-1.1.3-z9452eam.mjs +0 -7
  894. package/dist/chunks/upstreamproxy-1.1.3-qv2f69gf.mjs +0 -14
  895. package/dist/chunks/url-handler-napi-1.1.3-t5z79vre.mjs +0 -1
  896. package/dist/chunks/usage-1.1.3-qhz8fs40.mjs +0 -1
  897. package/dist/chunks/util-1.1.3-xj9x5fyp.mjs +0 -1
  898. package/dist/chunks/utils-1.1.3-0rv54nxw.mjs +0 -1
  899. package/dist/chunks/vim-1.1.3-7ka37gbw.mjs +0 -1
  900. package/dist/chunks/watchLoop-1.1.3-gfvkcgdc.mjs +0 -13
  901. package/dist/chunks/watcher-1.1.3-g46sx9g8.mjs +0 -1
  902. package/dist/chunks/wiki-1.1.3-e72sp9z3.mjs +0 -132
  903. package/dist/chunks/workflows-1.1.3-1ahbfzb6.mjs +0 -1
  904. package/dist/chunks/worktree-1.1.3-e2ht6w6r.mjs +0 -1
  905. package/dist/chunks/worktreeModeEnabled-1.1.3-r91kaqdc.mjs +0 -1
  906. package/dist/chunks/wrapper-1.1.3-7dpd8b9v.mjs +0 -7
  907. /package/dist/chunks/{cli-1.1.3-ddqw4d0f.mjs → cli-1.1.5-60nnwyjy.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.3-k333nezw.mjs → cli-1.1.5-9tkrrje2.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.3-bhvdy7a7.mjs → cli-1.1.5-a3ew1094.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.3-kftm6an7.mjs → cli-1.1.5-bfqs63at.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.1.3-nh0p50e1.mjs → cli-1.1.5-k89gf8y1.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.1.3-z6nmkfhs.mjs → cli-1.1.5-m2tvhjca.mjs} +0 -0
  913. /package/dist/chunks/{cli-1.1.3-n8e1g4ez.mjs → cli-1.1.5-v8kvgy84.mjs} +0 -0
@@ -0,0 +1,12 @@
1
+ import{AF as Zq,Yn as E,Zn as Uq,ao as r,bo as Xq,eo as d,fo as Yq,tF as x,uF as s,vF as C,xF as n,xG as o,yF as $,zG as Mq}from"./cli-1.1.5-bcgy5mbp.mjs";import{DZ as Jq,H1 as Qq,a1 as N,c1 as U,g1 as V,w1 as a}from"./cli-1.1.5-9q40r2jj.mjs";import{n4 as u,o4 as J,p4 as X,q4 as g}from"./cli-1.1.5-0a8jb3pr.mjs";import{r4 as zq}from"./cli-1.1.5-43y030nv.mjs";import{wja as w,zja as qq}from"./cli-1.1.5-zqf5btpq.mjs";import{Esa as i,Isa as t}from"./cli-1.1.5-keef1hq8.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
2
+ | \\ \\
3
+ | NEW TERMS \\__\\
4
+ | |
5
+ | ---------- |
6
+ | ---------- |
7
+ | ---------- |
8
+ | ---------- |
9
+ | ---------- |
10
+ | |
11
+ |______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
12
+ export{kq as xc,_q as yc,Aq as zc};
@@ -0,0 +1,3 @@
1
+ import{bX as W,gX as p}from"./cli-1.1.5-y9z2ea67.mjs";import{C2 as H,E2 as P}from"./cli-1.1.5-0jp6cq2j.mjs";import{Xha as M,iia as Z}from"./cli-1.1.5-dpwkjrhv.mjs";import{Bia as q,Dia as $,Eia as Q,Fia as k}from"./cli-1.1.5-nkhse0vg.mjs";import{Isa as Y}from"./cli-1.1.5-keef1hq8.mjs";async function X(){let x=await M("tengu_bridge_repl_v2_config",K),J=w().safeParse(x);return J.success?J.data:K}async function V(){let x=await X();if(x.min_version&&H("99.0.0",x.min_version))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
+ Version ${x.min_version} or higher is required. Run \`claudin update\` to update.`;return null}async function b(){if(!W())return!1;return(await X()).should_show_app_upgrade_message}var K,w;var O=Y(()=>{$();Z();k();P();p();K={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},w=Q(()=>q.object({init_retry_max_attempts:q.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:q.number().int().min(100).default(500),init_retry_jitter_fraction:q.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:q.number().int().min(500).default(4000),http_timeout_ms:q.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:q.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:q.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:q.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:q.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:q.number().int().min(500).max(2000).default(1500),connect_timeout_ms:q.number().int().min(5000).max(60000).default(15000),min_version:q.string().refine((x)=>{try{return H(x,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:q.boolean().default(!1)}))});
3
+ export{K as mc,X as nc,V as oc,b as pc,O as qc};
@@ -0,0 +1,2 @@
1
+ import{DZ as u,H1 as a,P0 as QQ,Q0 as uQ,a1 as g,c1 as h,i1 as RQ,r1 as jQ,s1 as aQ,w1 as d}from"./cli-1.1.5-9q40r2jj.mjs";import{o4 as S,p4 as k,q4 as f}from"./cli-1.1.5-0a8jb3pr.mjs";import{r4 as v}from"./cli-1.1.5-43y030nv.mjs";import{F4 as n,H4 as t,M4 as YV}from"./cli-1.1.5-y8301wby.mjs";import{H8 as $Q,K8 as P,N8 as bQ,a9 as XV}from"./cli-1.1.5-y39w08qk.mjs";import{Qga as CQ,Uea as mQ,Xea as x,Yga as VV,qea as fQ,qfa as QV,rea as eQ}from"./cli-1.1.5-v9a6fbsq.mjs";import{bha as AQ,cha as sQ}from"./cli-1.1.5-3xf010sx.mjs";import{uja as r,vja as nQ}from"./cli-1.1.5-fr76ha7s.mjs";import{Cka as iQ,zka as D}from"./cli-1.1.5-3zc9bseg.mjs";import{Tra as i,jsa as tQ}from"./cli-1.1.5-xzxcvrkj.mjs";import{Esa as M,Isa as F}from"./cli-1.1.5-keef1hq8.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
2
+ export{XQ as nY,YQ as oY,GQ as pY,yQ as qY,l as rY,BV as sY,qQ as tY,LQ as uY,zQ as vY,BQ as wY,MV as xY,y as yY,SV as zY,UQ as AY,TV as BY,OQ as CY,_Q as DY,o as EY,WQ as FY,$V as GY,oQ as HY,s as IY,IQ as JY,pV as KY,xV as LY,KQ as MY,EQ as NY,DQ as OY,oV as PY,rQ as QY,ZX as RY,JX as SY,GX as TY,qX as UY,LX as VY,GV as WY,HX as XY,qV as YY};
@@ -0,0 +1,2 @@
1
+ import{eo as g,fo as k,xG as h,zG as I}from"./cli-1.1.5-bcgy5mbp.mjs";import{DZ as S,H1 as _,c1 as s}from"./cli-1.1.5-9q40r2jj.mjs";import{o4 as c,p4 as m,q4 as T}from"./cli-1.1.5-0a8jb3pr.mjs";import{Uea as b,qfa as P}from"./cli-1.1.5-v9a6fbsq.mjs";import{Esa as D}from"./cli-1.1.5-keef1hq8.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
2
+ export{E as B};
@@ -0,0 +1,2 @@
1
+ import{Wn as T,Xn as Cq,ty as Pq,xy as cq}from"./cli-1.1.5-bcgy5mbp.mjs";import{eZ as Uq,fZ as Iq,iZ as kq}from"./cli-1.1.5-4w21hywc.mjs";import{DZ as aq,H1 as hq,a1 as L,c1 as O}from"./cli-1.1.5-9q40r2jj.mjs";import{o4 as J,p4 as Q,q4 as vq}from"./cli-1.1.5-0a8jb3pr.mjs";import{B6 as Sq,h6 as bq,i6 as Mq}from"./cli-1.1.5-y39w08qk.mjs";import{Fba as Nq,Hba as fq,U$ as Xq,V$ as jq,Xea as Rq,qfa as Bq}from"./cli-1.1.5-v9a6fbsq.mjs";import{iia as nq}from"./cli-1.1.5-dpwkjrhv.mjs";import{Esa as yq,Isa as Gq}from"./cli-1.1.5-keef1hq8.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
+ export{dq as Gf,eq as Hf,Wq as If,LH as Jf,uq as Kf};
@@ -0,0 +1,2 @@
1
+ import{Isa as r}from"./cli-1.1.5-keef1hq8.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},c;var p=r(()=>{i=Object.getOwnPropertyNames,c=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.30.1",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","js-yaml@>=3.0.0 <3.15.0":"3.15.0","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0","form-data@>=4.0.0 <4.0.6":"4.0.6","@babel/core@>=7.0.0 <7.29.6":"7.29.7","esbuild@>=0.17.0 <0.28.1":"0.28.1"}}}}})});
2
+ export{c as si,p as ti};
@@ -0,0 +1,2 @@
1
+ import{kI as U,lI as w}from"./cli-1.1.5-bcgy5mbp.mjs";import{DZ as f,H1 as k,a1 as N,c1 as O}from"./cli-1.1.5-9q40r2jj.mjs";import{o4 as M,p4 as H,q4 as R}from"./cli-1.1.5-0a8jb3pr.mjs";import{Esa as Y,Isa as Z}from"./cli-1.1.5-keef1hq8.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
+ export{_ as Mg,A as Ng};
@@ -0,0 +1,4 @@
1
+ import{Dsa as Z}from"./cli-1.1.5-3389j5t0.mjs";import{Gsa as Y,Jsa as O}from"./cli-1.1.5-keef1hq8.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
+ export{ye as wsa};
@@ -0,0 +1,2 @@
1
+ import{Hc as l,Ic as m,Lc as u,Mc as y}from"./cli-1.1.5-1385z6tg.mjs";import{xG as p,zG as b}from"./cli-1.1.5-bcgy5mbp.mjs";import{H1 as C,a1 as s,c1 as e}from"./cli-1.1.5-9q40r2jj.mjs";import{o4 as i,p4 as r,q4 as g}from"./cli-1.1.5-0a8jb3pr.mjs";import{r4 as M}from"./cli-1.1.5-43y030nv.mjs";import{Esa as h,Isa as f}from"./cli-1.1.5-keef1hq8.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
+ export{T as Fc,w as Gc};
@@ -0,0 +1,4 @@
1
+ import{GS as jJ,HS as $V,So as IJ,Uo as cJ,cj as pJ,hL as DJ,hS as UJ,iL as BJ,jL as lJ}from"./cli-1.1.5-bcgy5mbp.mjs";import{$$ as NJ,Qga as G,S$ as mJ,V_ as c,W_ as fJ,Wda as m,Xea as YJ,Yga as dJ,daa as gJ,eea as uJ,p$ as WJ,qfa as hJ,u$ as l}from"./cli-1.1.5-v9a6fbsq.mjs";import{Iia as U,Kia as PJ}from"./cli-1.1.5-0amg980q.mjs";import{wja as f,zja as SJ}from"./cli-1.1.5-zqf5btpq.mjs";import{Cka as kJ,lka as VJ,pka as bJ,zka as Q}from"./cli-1.1.5-3zc9bseg.mjs";import{Zka as JJ,ela as yJ}from"./cli-1.1.5-xd8qwq5t.mjs";import{Wma as qJ,Xma as zJ}from"./cli-1.1.5-0gd61h7z.mjs";import{Esa as wJ,Isa as _J}from"./cli-1.1.5-keef1hq8.mjs";class p{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&$)!==$)continue;let B=Z?I[M]:q[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf(X[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new p;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=KJ.default(),_=!1,H=X.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await c(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
2
+ `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=c(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
+ `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let $=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();cJ();uJ();zJ();KJ=wJ(pJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
+ export{p as ii,MJ as ji,jV as ki,vV as li,RV as mi,GV as ni,AJ as oi,CV as pi,LV as qi,ZV as ri};
@@ -0,0 +1,2 @@
1
+ import{Isa as y}from"./cli-1.1.5-keef1hq8.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function F(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function x(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(U);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||f.test(B)||A.test(B))return!0;return!1}function N(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(x(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function D(q){if(!q||typeof q!=="object")return 0;let z=q,B=$(z.cache_read_input_tokens);if(B>0)return B;let K=$(F(q,["input_tokens_details","cached_tokens"]))||$(F(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(z.cached_tokens);if(W>0)return W;let j=$(z.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(z.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let B=$(q.cache_creation_input_tokens);if(B>0)return B;return $(F(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(F(q,["cache_creation","ephemeral_1h_input_tokens"]))}function P(q){let z=D(q),B=q??{},K=$(B.input_tokens)||$(B.prompt_tokens),W=K>=z?K-z:K,j=$(B.output_tokens)||$(B.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:z}}function M(q,z){if(!q||typeof q!=="object")return X;let B=q,K=$(B.cache_read_input_tokens),W=$(B.cache_creation_input_tokens),j=$(B.input_tokens);if(z==="copilot"||z==="ollama")return X;if(z==="self-hosted"&&K===0&&W===0)return X;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function C(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${G(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(Z,"")}k`;return`${(q/1e6).toFixed(1).replace(Z,"")}m`}function H(q,z){if(!q.supported&&!z.supported)return X;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var X,U,f,A,Z;var L=y(()=>{X={read:0,created:0,total:0,hitRate:null,supported:!1};U=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,f=/^fc[0-9a-f]{0,2}:/,A=/^fd[0-9a-f]{0,2}:/,Z=/\.0$/});function S(q){return{currentTurn:V,session:V,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function w(q,z){J.currentTurn=H(J.currentTurn,q),J.session=H(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function T(){J.currentTurn=V}function R(){J.currentTurn=V,J.session=V,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function b(){return J.currentTurn}function g(){return J.session}function l(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var O=500,V,J;var k=y(()=>{L();V={read:0,created:0,total:0,hitRate:null,supported:!1};J=S(O)});
2
+ export{N as Z2,P as _2,M as $2,C as a3,I as b3,L as c3,w as d3,T as e3,R as f3,b as g3,g as h3,l as i3,k as j3};
@@ -0,0 +1,15 @@
1
+ import{Gsa as T,Isa as J5,Jsa as M}from"./cli-1.1.5-keef1hq8.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
2
+ ]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
3
+ Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
4
+ Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
5
+ The chosen QR Code version cannot contain this amount of data.
6
+ Minimum version required to store current data is: `+F+`.
7
+ `);let K=p6(q,Z,Q),U=Y0.getSymbolSize(q),R=new u6(U);if(b6(R,q),m6(R),x6(R,q),u0(R,Z,0),q>=7)l6(R,q);if(n6(R,K),isNaN(J))J=D0.getBestMask(R,u0.bind(null,R,Z));return D0.applyMask(J,R),u0(R,Z,J),{modules:R,version:q,errorCorrectionLevel:Z,maskPattern:J,segments:Q}}i6.create=function(q,Z){if(typeof q>"u"||q==="")throw Error("No input text");let J=y0.M,Q,F;if(typeof Z<"u"){if(J=y0.from(Z.errorCorrectionLevel,y0.M),Q=H0.from(Z.version),F=D0.from(Z.maskPattern),Z.toSJISFunc)Y0.setToSJISFunction(Z.toSJISFunc)}return r6(q,Q,J,F)}});var v0=T((c5,Q7)=>{var o6=M("util"),J7=M("stream"),S=Q7.exports=function(){J7.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};o6.inherits(S,J7);S.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q}),process.nextTick(function(){if(this._process(),this._paused&&this._reads&&this._reads.length>0)this._paused=!1,this.emit("drain")}.bind(this))};S.prototype.write=function($,q){if(!this.writable)return this.emit("error",Error("Stream not writable")),!1;let Z;if(Buffer.isBuffer($))Z=$;else Z=Buffer.from($,q||this._encoding);if(this._buffers.push(Z),this._buffered+=Z.length,this._process(),this._reads&&this._reads.length===0)this._paused=!0;return this.writable&&!this._paused};S.prototype.end=function($,q){if($)this.write($,q);if(this.writable=!1,!this._buffers)return;if(this._buffers.length===0)this._end();else this._buffers.push(null),this._process()};S.prototype.destroySoon=S.prototype.end;S.prototype._end=function(){if(this._reads.length>0)this.emit("error",Error("Unexpected end of input"));this.destroy()};S.prototype.destroy=function(){if(!this._buffers)return;this.writable=!1,this._reads=null,this._buffers=null,this.emit("close")};S.prototype._processReadAllowingLess=function($){this._reads.shift();let q=this._buffers[0];if(q.length>$.length)this._buffered-=$.length,this._buffers[0]=q.slice($.length),$.func.call(this,q.slice(0,$.length));else this._buffered-=q.length,this._buffers.shift(),$.func.call(this,q)};S.prototype._processRead=function($){this._reads.shift();let q=0,Z=0,J=Buffer.alloc($.length);while(q<$.length){let Q=this._buffers[Z++],F=Math.min(Q.length,$.length-q);if(Q.copy(J,q,0,F),q+=F,F!==Q.length)this._buffers[--Z]=Q.slice(F)}if(Z>0)this._buffers.splice(0,Z);this._buffered-=$.length,$.func.call(this,J)};S.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){let $=this._reads[0];if($.allowLess)this._processReadAllowingLess($);else if(this._buffered>=$.length)this._processRead($);else break}if(this._buffers&&!this.writable)this._end()}catch($){this.emit("error",$)}}});var c0=T((t6)=>{var h=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t6.getImagePasses=function($,q){let Z=[],J=$%8,Q=q%8,F=($-J)/8,K=(q-Q)/8;for(let U=0;U<h.length;U++){let R=h[U],H=F*R.x.length,Y=K*R.y.length;for(let E=0;E<R.x.length;E++)if(R.x[E]<J)H++;else break;for(let E=0;E<R.y.length;E++)if(R.y[E]<Q)Y++;else break;if(H>0&&Y>0)Z.push({width:H,height:Y,index:U})}return Z};t6.getInterlaceIterator=function($){return function(q,Z,J){let Q=q%h[J].x.length,F=(q-Q)/h[J].x.length*8+h[J].x[Q],K=Z%h[J].y.length,U=(Z-K)/h[J].y.length*8+h[J].y[K];return F*4+U*$*4}}});var b0=T((m5,F7)=>{F7.exports=function(q,Z,J){let Q=q+Z-J,F=Math.abs(Q-q),K=Math.abs(Q-Z),U=Math.abs(Q-J);if(F<=K&&F<=U)return q;if(K<=U)return Z;return J}});var m0=T((x5,U7)=>{var qq=c0(),$q=b0();function K7($,q,Z){let J=$*q;if(Z!==8)J=Math.ceil(J/(8/Z));return J}var p=U7.exports=function($,q){let{width:Z,height:J,interlace:Q,bpp:F,depth:K}=$;if(this.read=q.read,this.write=q.write,this.complete=q.complete,this._imageIndex=0,this._images=[],Q){let U=qq.getImagePasses(Z,J);for(let R=0;R<U.length;R++)this._images.push({byteWidth:K7(U[R].width,F,K),height:U[R].height,lineIndex:0})}else this._images.push({byteWidth:K7(Z,F,K),height:J,lineIndex:0});if(K===8)this._xComparison=F;else if(K===16)this._xComparison=F*2;else this._xComparison=1};p.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};p.prototype._unFilterType1=function($,q,Z){let J=this._xComparison,Q=J-1;for(let F=0;F<Z;F++){let K=$[1+F],U=F>Q?q[F-J]:0;q[F]=K+U}};p.prototype._unFilterType2=function($,q,Z){let J=this._lastLine;for(let Q=0;Q<Z;Q++){let F=$[1+Q],K=J?J[Q]:0;q[Q]=F+K}};p.prototype._unFilterType3=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=Math.floor((H+R)/2);q[K]=U+Y}};p.prototype._unFilterType4=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=K>Q&&F?F[K-J]:0,E=$q(H,R,Y);q[K]=U+E}};p.prototype._reverseFilterLine=function($){let q=$[0],Z,J=this._images[this._imageIndex],Q=J.byteWidth;if(q===0)Z=$.slice(1,Q+1);else switch(Z=Buffer.alloc(Q),q){case 1:this._unFilterType1($,Z,Q);break;case 2:this._unFilterType2($,Z,Q);break;case 3:this._unFilterType3($,Z,Q);break;case 4:this._unFilterType4($,Z,Q);break;default:throw Error("Unrecognised filter type - "+q)}if(this.write(Z),J.lineIndex++,J.lineIndex>=J.height)this._lastLine=null,this._imageIndex++,J=this._images[this._imageIndex];else this._lastLine=Z;if(J)this.read(J.byteWidth+1,this._reverseFilterLine.bind(this));else this._lastLine=null,this.complete()}});var Y7=T((l5,H7)=>{var Zq=M("util"),R7=v0(),Jq=m0(),Qq=H7.exports=function($){R7.call(this);let q=[],Z=this;this._filter=new Jq($,{read:this.read.bind(this),write:function(J){q.push(J)},complete:function(){Z.emit("complete",Buffer.concat(q))}}),this._filter.start()};Zq.inherits(Qq,R7)});var d=T((n5,E7)=>{E7.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var n0=T((p5,O7)=>{var x0=[];(function(){for(let $=0;$<256;$++){let q=$;for(let Z=0;Z<8;Z++)if(q&1)q=3988292384^q>>>1;else q=q>>>1;x0[$]=q}})();var l0=O7.exports=function(){this._crc=-1};l0.prototype.write=function($){for(let q=0;q<$.length;q++)this._crc=x0[(this._crc^$[q])&255]^this._crc>>>8;return!0};l0.prototype.crc32=function(){return this._crc^-1};l0.crc32=function($){let q=-1;for(let Z=0;Z<$.length;Z++)q=x0[(q^$[Z])&255]^q>>>8;return q^-1}});var p0=T((d5,T7)=>{var j=d(),Fq=n0(),_=T7.exports=function($,q){this._options=$,$.checkCRC=$.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[j.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[j.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[j.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[j.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[j.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[j.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=q.read,this.error=q.error,this.metadata=q.metadata,this.gamma=q.gamma,this.transColor=q.transColor,this.palette=q.palette,this.parsed=q.parsed,this.inflateData=q.inflateData,this.finished=q.finished,this.simpleTransparency=q.simpleTransparency,this.headersFinished=q.headersFinished||function(){}};_.prototype.start=function(){this.read(j.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_.prototype._parseSignature=function($){let q=j.PNG_SIGNATURE;for(let Z=0;Z<q.length;Z++)if($[Z]!==q[Z]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};_.prototype._parseChunkBegin=function($){let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J="";for(let F=4;F<8;F++)J+=String.fromCharCode($[F]);let Q=Boolean($[4]&32);if(!this._hasIHDR&&Z!==j.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new Fq,this._crc.write(Buffer.from(J)),this._chunks[Z])return this._chunks[Z](q);if(!Q){this.error(Error("Unsupported critical chunk type "+J));return}this.read(q+4,this._skipChunk.bind(this))};_.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_.prototype._parseChunkEnd=function($){let q=$.readInt32BE(0),Z=this._crc.crc32();if(this._options.checkCRC&&Z!==q){this.error(Error("Crc error - "+q+" - "+Z));return}if(!this._hasIEND)this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleIHDR=function($){this.read($,this._parseIHDR.bind(this))};_.prototype._parseIHDR=function($){this._crc.write($);let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J=$[8],Q=$[9],F=$[10],K=$[11],U=$[12];if(J!==8&&J!==4&&J!==2&&J!==1&&J!==16){this.error(Error("Unsupported bit depth "+J));return}if(!(Q in j.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(F!==0){this.error(Error("Unsupported compression method"));return}if(K!==0){this.error(Error("Unsupported filter method"));return}if(U!==0&&U!==1){this.error(Error("Unsupported interlace method"));return}this._colorType=Q;let R=j.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:q,height:Z,depth:J,interlace:Boolean(U),palette:Boolean(Q&j.COLORTYPE_PALETTE),color:Boolean(Q&j.COLORTYPE_COLOR),alpha:Boolean(Q&j.COLORTYPE_ALPHA),bpp:R,colorType:Q}),this._handleChunkEnd()};_.prototype._handlePLTE=function($){this.read($,this._parsePLTE.bind(this))};_.prototype._parsePLTE=function($){this._crc.write($);let q=Math.floor($.length/3);for(let Z=0;Z<q;Z++)this._palette.push([$[Z*3],$[Z*3+1],$[Z*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};_.prototype._handleTRNS=function($){this.simpleTransparency(),this.read($,this._parseTRNS.bind(this))};_.prototype._parseTRNS=function($){if(this._crc.write($),this._colorType===j.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(Error("Transparency chunk must be after palette"));return}if($.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let q=0;q<$.length;q++)this._palette[q][3]=$[q];this.palette(this._palette)}if(this._colorType===j.COLORTYPE_GRAYSCALE)this.transColor([$.readUInt16BE(0)]);if(this._colorType===j.COLORTYPE_COLOR)this.transColor([$.readUInt16BE(0),$.readUInt16BE(2),$.readUInt16BE(4)]);this._handleChunkEnd()};_.prototype._handleGAMA=function($){this.read($,this._parseGAMA.bind(this))};_.prototype._parseGAMA=function($){this._crc.write($),this.gamma($.readUInt32BE(0)/j.GAMMA_DIVISION),this._handleChunkEnd()};_.prototype._handleIDAT=function($){if(!this._emittedHeadersFinished)this._emittedHeadersFinished=!0,this.headersFinished();this.read(-$,this._parseIDAT.bind(this,$))};_.prototype._parseIDAT=function($,q){if(this._crc.write(q),this._colorType===j.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw Error("Expected palette not found");this.inflateData(q);let Z=$-q.length;if(Z>0)this._handleIDAT(Z);else this._handleChunkEnd()};_.prototype._handleIEND=function($){this.read($,this._parseIEND.bind(this))};_.prototype._parseIEND=function($){if(this._crc.write($),this._hasIEND=!0,this._handleChunkEnd(),this.finished)this.finished()}});var d0=T((Eq)=>{var X7=c0(),Kq=[function(){},function($,q,Z,J){if(J===q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=255},function($,q,Z,J){if(J+1>=q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=q[J+1]},function($,q,Z,J){if(J+2>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=255},function($,q,Z,J){if(J+3>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=q[J+3]}],Uq=[function(){},function($,q,Z,J){let Q=q[0];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=J},function($,q,Z){let J=q[0];$[Z]=J,$[Z+1]=J,$[Z+2]=J,$[Z+3]=q[1]},function($,q,Z,J){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=J},function($,q,Z){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=q[3]}];function Rq($,q){let Z=[],J=0;function Q(){if(J===$.length)throw Error("Ran out of data");let F=$[J];J++;let K,U,R,H,Y,E,O,X;switch(q){default:throw Error("unrecognised depth");case 16:O=$[J],J++,Z.push((F<<8)+O);break;case 4:O=F&15,X=F>>4,Z.push(X,O);break;case 2:Y=F&3,E=F>>2&3,O=F>>4&3,X=F>>6&3,Z.push(X,O,E,Y);break;case 1:K=F&1,U=F>>1&1,R=F>>2&1,H=F>>3&1,Y=F>>4&1,E=F>>5&1,O=F>>6&1,X=F>>7&1,Z.push(X,O,E,Y,H,R,U,K);break}}return{get:function(F){while(Z.length<F)Q();let K=Z.slice(0,F);return Z=Z.slice(F),K},resetAfterLine:function(){Z.length=0},end:function(){if(J!==$.length)throw Error("extra data found")}}}function Hq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++)for(let Y=0;Y<K;Y++){let E=Z(Y,H,R);Kq[J](q,Q,E,F),F+=J}return F}function Yq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++){for(let Y=0;Y<K;Y++){let E=Q.get(J),O=Z(Y,H,R);Uq[J](q,E,O,F)}Q.resetAfterLine()}}Eq.dataToBitMap=function($,q){let{width:Z,height:J,depth:Q,bpp:F,interlace:K}=q,U;if(Q!==8)U=Rq($,Q);let R;if(Q<=8)R=Buffer.alloc(Z*J*4);else R=new Uint16Array(Z*J*4);let H=Math.pow(2,Q)-1,Y=0,E,O;if(K)E=X7.getImagePasses(Z,J),O=X7.getInterlaceIterator(Z,J);else{let X=0;O=function(){let G=X;return X+=4,G},E=[{width:Z,height:J}]}for(let X=0;X<E.length;X++)if(Q===8)Y=Hq(E[X],R,O,F,$,Y);else Yq(E[X],R,O,F,U,H);if(Q===8){if(Y!==$.length)throw Error("extra data found")}else U.end();return R}});var r0=T((i5,G7)=>{function Tq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=Q[$[F]];if(!R)throw Error("index "+$[F]+" not in palette");for(let H=0;H<4;H++)q[F+H]=R[H];F+=4}}function Xq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=!1;if(Q.length===1){if(Q[0]===$[F])R=!0}else if(Q[0]===$[F]&&Q[1]===$[F+1]&&Q[2]===$[F+2])R=!0;if(R)for(let H=0;H<4;H++)q[F+H]=0;F+=4}}function Gq($,q,Z,J,Q){let F=255,K=Math.pow(2,Q)-1,U=0;for(let R=0;R<J;R++)for(let H=0;H<Z;H++){for(let Y=0;Y<4;Y++)q[U+Y]=Math.floor($[U+Y]*F/K+0.5);U+=4}}G7.exports=function($,q){let{depth:Z,width:J,height:Q,colorType:F,transColor:K,palette:U}=q,R=$;if(F===3)Tq($,R,J,Q,U);else{if(K)Xq($,R,J,Q,K);if(Z!==8){if(Z===16)R=Buffer.alloc(J*Q*4);Gq($,R,J,Q,Z)}}return R}});var N7=T((s5,A7)=>{var Vq=M("util"),i0=M("zlib"),V7=v0(),Aq=Y7(),Nq=p0(),Wq=d0(),Mq=r0(),f=A7.exports=function($){V7.call(this),this._parser=new Nq($,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=$,this.writable=!0,this._parser.start()};Vq.inherits(f,V7);f.prototype._handleError=function($){if(this.emit("error",$),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy)this._inflate.destroy();if(this._filter)this._filter.destroy(),this._filter.on("error",function(){});this.errord=!0};f.prototype._inflateData=function($){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i0.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let Z=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,J=Math.max(Z,i0.Z_MIN_CHUNK);this._inflate=i0.createInflate({chunkSize:J});let Q=Z,F=this.emit.bind(this,"error");this._inflate.on("error",function(U){if(!Q)return;F(U)}),this._filter.on("complete",this._complete.bind(this));let K=this._filter.write.bind(this._filter);this._inflate.on("data",function(U){if(!Q)return;if(U.length>Q)U=U.slice(0,Q);Q-=U.length,K(U)}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write($)};f.prototype._handleMetaData=function($){this._metaData=$,this._bitmapInfo=Object.create($),this._filter=new Aq(this._bitmapInfo)};f.prototype._handleTransColor=function($){this._bitmapInfo.transColor=$};f.prototype._handlePalette=function($){this._bitmapInfo.palette=$};f.prototype._simpleTransparency=function(){this._metaData.alpha=!0};f.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};f.prototype._finished=function(){if(this.errord)return;if(!this._inflate)this.emit("error","No Inflate block");else this._inflate.end()};f.prototype._complete=function($){if(this.errord)return;let q;try{let Z=Wq.dataToBitMap($,this._bitmapInfo);q=Mq(Z,this._bitmapInfo),Z=null}catch(Z){this._handleError(Z);return}this.emit("parsed",q)}});var M7=T((o5,W7)=>{var k=d();W7.exports=function($,q,Z,J){let Q=[k.COLORTYPE_COLOR_ALPHA,k.COLORTYPE_ALPHA].indexOf(J.colorType)!==-1;if(J.colorType===J.inputColorType){let G=function(){let A=new ArrayBuffer(2);return new DataView(A).setInt16(0,256,!0),new Int16Array(A)[0]!==256}();if(J.bitDepth===8||J.bitDepth===16&&G)return $}let F=J.bitDepth!==16?$:new Uint16Array($.buffer),K=255,U=k.COLORTYPE_TO_BPP_MAP[J.inputColorType];if(U===4&&!J.inputHasAlpha)U=3;let R=k.COLORTYPE_TO_BPP_MAP[J.colorType];if(J.bitDepth===16)K=65535,R*=2;let H=Buffer.alloc(q*Z*R),Y=0,E=0,O=J.bgColor||{};if(O.red===void 0)O.red=K;if(O.green===void 0)O.green=K;if(O.blue===void 0)O.blue=K;function X(){let G,A,V,W=K;switch(J.inputColorType){case k.COLORTYPE_COLOR_ALPHA:W=F[Y+3],G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_COLOR:G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_ALPHA:W=F[Y+1],G=F[Y],A=G,V=G;break;case k.COLORTYPE_GRAYSCALE:G=F[Y],A=G,V=G;break;default:throw Error("input color type:"+J.inputColorType+" is not supported at present")}if(J.inputHasAlpha){if(!Q)W/=K,G=Math.min(Math.max(Math.round((1-W)*O.red+W*G),0),K),A=Math.min(Math.max(Math.round((1-W)*O.green+W*A),0),K),V=Math.min(Math.max(Math.round((1-W)*O.blue+W*V),0),K)}return{red:G,green:A,blue:V,alpha:W}}for(let G=0;G<Z;G++)for(let A=0;A<q;A++){let V=X(F,Y);switch(J.colorType){case k.COLORTYPE_COLOR_ALPHA:case k.COLORTYPE_COLOR:if(J.bitDepth===8){if(H[E]=V.red,H[E+1]=V.green,H[E+2]=V.blue,Q)H[E+3]=V.alpha}else if(H.writeUInt16BE(V.red,E),H.writeUInt16BE(V.green,E+2),H.writeUInt16BE(V.blue,E+4),Q)H.writeUInt16BE(V.alpha,E+6);break;case k.COLORTYPE_ALPHA:case k.COLORTYPE_GRAYSCALE:{let W=(V.red+V.green+V.blue)/3;if(J.bitDepth===8){if(H[E]=W,Q)H[E+1]=V.alpha}else if(H.writeUInt16BE(W,E),Q)H.writeUInt16BE(V.alpha,E+2);break}default:throw Error("unrecognised color Type "+J.colorType)}Y+=U,E+=R}return H}});var B7=T((t5,_7)=>{var j7=b0();function jq($,q,Z,J,Q){for(let F=0;F<Z;F++)J[Q+F]=$[q+F]}function _q($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++)J+=Math.abs($[F]);return J}function Bq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=$[q+K]-U;J[Q+K]=R}}function Iq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=$[q+F]-K;Q+=Math.abs(U)}return Q}function Lq($,q,Z,J,Q){for(let F=0;F<Z;F++){let K=q>0?$[q+F-Z]:0,U=$[q+F]-K;J[Q+F]=U}}function zq($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++){let K=q>0?$[F-Z]:0,U=$[F]-K;J+=Math.abs(U)}return J}function kq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=$[q+K]-(U+R>>1);J[Q+K]=H}}function Sq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=$[q+F]-(K+U>>1);Q+=Math.abs(R)}return Q}function wq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=q>0&&K>=F?$[q+K-(Z+F)]:0,Y=$[q+K]-j7(U,R,H);J[Q+K]=Y}}function fq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=q>0&&F>=J?$[q+F-(Z+J)]:0,H=$[q+F]-j7(K,U,R);Q+=Math.abs(H)}return Q}var Cq={0:jq,1:Bq,2:Lq,3:kq,4:wq},yq={0:_q,1:Iq,2:zq,3:Sq,4:fq};_7.exports=function($,q,Z,J,Q){let F;if(!("filterType"in J)||J.filterType===-1)F=[0,1,2,3,4];else if(typeof J.filterType==="number")F=[J.filterType];else throw Error("unrecognised filter types");if(J.bitDepth===16)Q*=2;let K=q*Q,U=0,R=0,H=Buffer.alloc((K+1)*Z),Y=F[0];for(let E=0;E<Z;E++){if(F.length>1){let O=1/0;for(let X=0;X<F.length;X++){let G=yq[F[X]]($,R,K,Q);if(G<O)Y=F[X],O=G}}H[U]=Y,U++,Cq[Y]($,R,K,H,U,Q),U+=K,R+=K}return H}});var s0=T((e5,I7)=>{var B=d(),gq=n0(),uq=M7(),Dq=B7(),hq=M("zlib"),P=I7.exports=function($){if(this._options=$,$.deflateChunkSize=$.deflateChunkSize||32768,$.deflateLevel=$.deflateLevel!=null?$.deflateLevel:9,$.deflateStrategy=$.deflateStrategy!=null?$.deflateStrategy:3,$.inputHasAlpha=$.inputHasAlpha!=null?$.inputHasAlpha:!0,$.deflateFactory=$.deflateFactory||hq.createDeflate,$.bitDepth=$.bitDepth||8,$.colorType=typeof $.colorType==="number"?$.colorType:B.COLORTYPE_COLOR_ALPHA,$.inputColorType=typeof $.inputColorType==="number"?$.inputColorType:B.COLORTYPE_COLOR_ALPHA,[B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.colorType)===-1)throw Error("option color type:"+$.colorType+" is not supported at present");if([B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.inputColorType)===-1)throw Error("option input color type:"+$.inputColorType+" is not supported at present");if($.bitDepth!==8&&$.bitDepth!==16)throw Error("option bit depth:"+$.bitDepth+" is not supported at present")};P.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};P.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};P.prototype.filterData=function($,q,Z){let J=uq($,q,Z,this._options),Q=B.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Dq(J,q,Z,this._options,Q)};P.prototype._packChunk=function($,q){let Z=q?q.length:0,J=Buffer.alloc(Z+12);if(J.writeUInt32BE(Z,0),J.writeUInt32BE($,4),q)q.copy(J,8);return J.writeInt32BE(gq.crc32(J.slice(4,J.length-4)),J.length-4),J};P.prototype.packGAMA=function($){let q=Buffer.alloc(4);return q.writeUInt32BE(Math.floor($*B.GAMMA_DIVISION),0),this._packChunk(B.TYPE_gAMA,q)};P.prototype.packIHDR=function($,q){let Z=Buffer.alloc(13);return Z.writeUInt32BE($,0),Z.writeUInt32BE(q,4),Z[8]=this._options.bitDepth,Z[9]=this._options.colorType,Z[10]=0,Z[11]=0,Z[12]=0,this._packChunk(B.TYPE_IHDR,Z)};P.prototype.packIDAT=function($){return this._packChunk(B.TYPE_IDAT,$)};P.prototype.packIEND=function(){return this._packChunk(B.TYPE_IEND,null)}});var S7=T((a5,k7)=>{var Pq=M("util"),L7=M("stream"),vq=d(),cq=s0(),z7=k7.exports=function($){L7.call(this);let q=$||{};this._packer=new cq(q),this._deflate=this._packer.createDeflate(),this.readable=!0};Pq.inherits(z7,L7);z7.prototype.pack=function($,q,Z,J){if(this.emit("data",Buffer.from(vq.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(q,Z)),J)this.emit("data",this._packer.packGAMA(J));let Q=this._packer.filterData($,q,Z);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(F){this.emit("data",this._packer.packIDAT(F))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(Q)}});var u7=T(($0,g7)=>{var w7=M("assert").ok,r=M("zlib"),bq=M("util"),f7=M("buffer").kMaxLength;function c($){if(!(this instanceof c))return new c($);if($&&$.chunkSize<r.Z_MIN_CHUNK)$.chunkSize=r.Z_MIN_CHUNK;if(r.Inflate.call(this,$),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,$&&$.maxLength!=null)this._maxLength=$.maxLength}function mq($){return new c($)}function C7($,q){if(q)process.nextTick(q);if(!$._handle)return;$._handle.close(),$._handle=null}c.prototype._processChunk=function($,q,Z){if(typeof Z==="function")return r.Inflate._processChunk.call(this,$,q,Z);let J=this,Q=$&&$.length,F=this._chunkSize-this._offset,K=this._maxLength,U=0,R=[],H=0,Y;this.on("error",function(G){Y=G});function E(G,A){if(J._hadError)return;let V=F-A;if(w7(V>=0,"have should not go down"),V>0){let W=J._buffer.slice(J._offset,J._offset+V);if(J._offset+=V,W.length>K)W=W.slice(0,K);if(R.push(W),H+=W.length,K-=W.length,K===0)return!1}if(A===0||J._offset>=J._chunkSize)F=J._chunkSize,J._offset=0,J._buffer=Buffer.allocUnsafe(J._chunkSize);if(A===0)return U+=Q-G,Q=G,!0;return!1}w7(this._handle,"zlib binding closed");let O;do O=this._handle.writeSync(q,$,U,Q,this._buffer,this._offset,F),O=O||this._writeState;while(!this._hadError&&E(O[0],O[1]));if(this._hadError)throw Y;if(H>=f7)throw C7(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+f7.toString(16)+" bytes");let X=Buffer.concat(R,H);return C7(this),X};bq.inherits(c,r.Inflate);function xq($,q){if(typeof q==="string")q=Buffer.from(q);if(!(q instanceof Buffer))throw TypeError("Not a string or buffer");let Z=$._finishFlushFlag;if(Z==null)Z=r.Z_FINISH;return $._processChunk(q,Z)}function y7($,q){return xq(new c(q),$)}g7.exports=$0=y7;$0.Inflate=c;$0.createInflate=mq;$0.inflateSync=y7});var o0=T((q$,h7)=>{var D7=h7.exports=function($){this._buffer=$,this._reads=[]};D7.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q})};D7.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){let $=this._reads[0];if(this._buffer.length&&(this._buffer.length>=$.length||$.allowLess)){this._reads.shift();let q=this._buffer;this._buffer=q.slice($.length),$.func.call(this,q.slice(0,$.length))}else break}if(this._reads.length>0)return Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return Error("unrecognised content at end of stream")}});var P7=T((pq)=>{var lq=o0(),nq=m0();pq.process=function($,q){let Z=[],J=new lq($);return new nq(q,{read:J.read.bind(J),write:function(F){Z.push(F)},complete:function(){}}).start(),J.process(),Buffer.concat(Z)}});var m7=T((Z$,b7)=>{var v7=!0,c7=M("zlib"),rq=u7();if(!c7.deflateSync)v7=!1;var iq=o0(),sq=P7(),oq=p0(),tq=d0(),eq=r0();b7.exports=function($,q){if(!v7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let Z;function J(I){Z=I}let Q;function F(I){Q=I}function K(I){Q.transColor=I}function U(I){Q.palette=I}function R(){Q.alpha=!0}let H;function Y(I){H=I}let E=[];function O(I){E.push(I)}let X=new iq($);if(new oq(q,{read:X.read.bind(X),error:J,metadata:F,gamma:Y,palette:U,transColor:K,inflateData:O,simpleTransparency:R}).start(),X.process(),Z)throw Z;let A=Buffer.concat(E);E.length=0;let V;if(Q.interlace)V=c7.inflateSync(A);else{let z=((Q.width*Q.bpp*Q.depth+7>>3)+1)*Q.height;V=rq(A,{chunkSize:z,maxLength:z})}if(A=null,!V||!V.length)throw Error("bad png - invalid inflate data response");let W=sq.process(V,Q);A=null;let E0=tq.dataToBitMap(W,Q);W=null;let i=eq(E0,Q);return Q.data=i,Q.gamma=H||0,Q}});var p7=T((J$,n7)=>{var x7=!0,l7=M("zlib");if(!l7.deflateSync)x7=!1;var aq=d(),q4=s0();n7.exports=function($,q){if(!x7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let J=new q4(q||{}),Q=[];if(Q.push(Buffer.from(aq.PNG_SIGNATURE)),Q.push(J.packIHDR($.width,$.height)),$.gamma)Q.push(J.packGAMA($.gamma));let F=J.filterData($.data,$.width,$.height),K=l7.deflateSync(F,J.getDeflateOptions());if(F=null,!K||!K.length)throw Error("bad png - invalid compressed data response");return Q.push(J.packIDAT(K)),Q.push(J.packIEND()),Buffer.concat(Q)}});var d7=T((J4)=>{var $4=m7(),Z4=p7();J4.read=function($,q){return $4($,q||{})};J4.write=function($,q){return Z4($,q)}});var i7=T((Y4)=>{var K4=M("util"),r7=M("stream"),U4=N7(),R4=S7(),H4=d7(),L=Y4.PNG=function($){if(r7.call(this),$=$||{},this.width=$.width|0,this.height=$.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,$.fill&&this.data)this.data.fill(0);this.gamma=0,this.readable=this.writable=!0,this._parser=new U4($),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(q){this.data=q,this.emit("parsed",q)}.bind(this)),this._packer=new R4($),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};K4.inherits(L,r7);L.sync=H4;L.prototype.pack=function(){if(!this.data||!this.data.length)return this.emit("error","No data provided"),this;return process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this};L.prototype.parse=function($,q){if(q){let Z,J;Z=function(Q){this.removeListener("error",J),this.data=Q,q(null,this)}.bind(this),J=function(Q){this.removeListener("parsed",Z),q(Q,null)}.bind(this),this.once("parsed",Z),this.once("error",J)}return this.end($),this};L.prototype.write=function($){return this._parser.write($),!0};L.prototype.end=function($){this._parser.end($)};L.prototype._metadata=function($){this.width=$.width,this.height=$.height,this.emit("metadata",$)};L.prototype._gamma=function($){this.gamma=$};L.prototype._handleClose=function(){if(!this._parser.writable&&!this._packer.readable)this.emit("close")};L.bitblt=function($,q,Z,J,Q,F,K,U){if(Z|=0,J|=0,Q|=0,F|=0,K|=0,U|=0,Z>$.width||J>$.height||Z+Q>$.width||J+F>$.height)throw Error("bitblt reading outside image");if(K>q.width||U>q.height||K+Q>q.width||U+F>q.height)throw Error("bitblt writing outside image");for(let R=0;R<F;R++)$.data.copy(q.data,(U+R)*q.width+K<<2,(J+R)*$.width+Z<<2,(J+R)*$.width+Z+Q<<2)};L.prototype.bitblt=function($,q,Z,J,Q,F,K){return L.bitblt(this,$,q,Z,J,Q,F,K),this};L.adjustGamma=function($){if($.gamma){for(let q=0;q<$.height;q++)for(let Z=0;Z<$.width;Z++){let J=$.width*q+Z<<2;for(let Q=0;Q<3;Q++){let F=$.data[J+Q]/255;F=Math.pow(F,0.45454545454545453/$.gamma),$.data[J+Q]=Math.round(F*255)}}$.gamma=0}};L.prototype.adjustGamma=function(){L.adjustGamma(this)}});var Z0=T((E4)=>{function s7($){if(typeof $==="number")$=$.toString();if(typeof $!=="string")throw Error("Color should be defined as hex string");let q=$.slice().replace("#","").split("");if(q.length<3||q.length===5||q.length>8)throw Error("Invalid hex color: "+$);if(q.length===3||q.length===4)q=Array.prototype.concat.apply([],q.map(function(J){return[J,J]}));if(q.length===6)q.push("F","F");let Z=parseInt(q.join(""),16);return{r:Z>>24&255,g:Z>>16&255,b:Z>>8&255,a:Z&255,hex:"#"+q.slice(0,6).join("")}}E4.getOptions=function(q){if(!q)q={};if(!q.color)q.color={};let Z=typeof q.margin>"u"||q.margin===null||q.margin<0?4:q.margin,J=q.width&&q.width>=21?q.width:void 0,Q=q.scale||4;return{width:J,scale:J?4:Q,margin:Z,color:{dark:s7(q.color.dark||"#000000ff"),light:s7(q.color.light||"#ffffffff")},type:q.type,rendererOpts:q.rendererOpts||{}}};E4.getScale=function(q,Z){return Z.width&&Z.width>=q+Z.margin*2?Z.width/(q+Z.margin*2):Z.scale};E4.getImageWidth=function(q,Z){let J=E4.getScale(q,Z);return Math.floor((q+Z.margin*2)*J)};E4.qrToImageData=function(q,Z,J){let Q=Z.modules.size,F=Z.modules.data,K=E4.getScale(Q,J),U=Math.floor((Q+J.margin*2)*K),R=J.margin*K,H=[J.color.light,J.color.dark];for(let Y=0;Y<U;Y++)for(let E=0;E<U;E++){let O=(Y*U+E)*4,X=J.color.light;if(Y>=R&&E>=R&&Y<U-R&&E<U-R){let G=Math.floor((Y-R)/K),A=Math.floor((E-R)/K);X=H[F[G*Q+A]?1:0]}q[O++]=X.r,q[O++]=X.g,q[O++]=X.b,q[O]=X.a}}});var o7=T((A4)=>{var G4=M("fs"),V4=i7().PNG,e0=Z0();A4.render=function(q,Z){let J=e0.getOptions(Z),Q=J.rendererOpts,F=e0.getImageWidth(q.modules.size,J);Q.width=F,Q.height=F;let K=new V4(Q);return e0.qrToImageData(K.data,q,J),K};A4.renderToDataURL=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;A4.renderToBuffer(q,Z,function(Q,F){if(Q)J(Q);let K="data:image/png;base64,";K+=F.toString("base64"),J(null,K)})};A4.renderToBuffer=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;let Q=A4.render(q,Z),F=[];Q.on("error",J),Q.on("data",function(K){F.push(K)}),Q.on("end",function(){J(null,Buffer.concat(F))}),Q.pack()};A4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=!1,K=(...R)=>{if(F)return;F=!0,Q.apply(null,R)},U=G4.createWriteStream(q);U.on("error",K),U.on("close",K),A4.renderToFileStream(U,Z,J)};A4.renderToFileStream=function(q,Z,J){A4.render(Z,J).pack().pipe(q)}});var e7=T((z4)=>{var _4=Z0(),B4={WW:" ",WB:"▄",BB:"█",BW:"▀"},I4={BB:" ",BW:"▄",WW:"█",WB:"▀"};function L4($,q,Z){if($&&q)return Z.BB;if($&&!q)return Z.BW;if(!$&&q)return Z.WB;return Z.WW}z4.render=function($,q,Z){let J=_4.getOptions(q),Q=B4;if(J.color.dark.hex==="#ffffff"||J.color.light.hex==="#000000")Q=I4;let F=$.modules.size,K=$.modules.data,U="",R=Array(F+J.margin*2+1).join(Q.WW);R=Array(J.margin/2+1).join(R+`
8
+ `);let H=Array(J.margin+1).join(Q.WW);U+=R;for(let Y=0;Y<F;Y+=2){U+=H;for(let E=0;E<F;E++){let O=K[Y*F+E],X=K[(Y+1)*F+E];U+=L4(O,X,Q)}U+=H+`
9
+ `}if(U+=R.slice(0,-1),typeof Z==="function")Z(null,U);return U};z4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),K=z4.render(Z,J);F.writeFile(q,K,Q)}});var a7=T((S4)=>{S4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F="\x1B[40m \x1B[0m",K="\x1B[47m \x1B[0m",U="",R=Array(J+3).join("\x1B[47m \x1B[0m"),H=Array(2).join("\x1B[47m \x1B[0m");U+=R+`
10
+ `;for(let Y=0;Y<J;++Y){U+="\x1B[47m \x1B[0m";for(let E=0;E<J;E++)U+=Q[Y*J+E]?"\x1B[40m \x1B[0m":"\x1B[47m \x1B[0m";U+=H+`
11
+ `}if(U+=R+`
12
+ `,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
13
+ `+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
14
+ `;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
15
+ export{T5 as Se,X5 as Te};
@@ -0,0 +1,2 @@
1
+ import{Isa as C}from"./cli-1.1.5-keef1hq8.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
2
+ export{O as Pha,Q as Qha,R as Rha,S as Sha,T as Tha,U as Uha,W as Vha,X as Wha,Y as Xha,Z as Yha,$ as Zha,v as _ha,w as $ha,P as aia,B as bia,D as cia,h as dia,N as eia,m as fia,c as gia,F as hia,J as iia};
@@ -0,0 +1,17 @@
1
+ import{P7 as x,V7 as K}from"./cli-1.1.5-y39w08qk.mjs";import{Wda as w,eea as J}from"./cli-1.1.5-v9a6fbsq.mjs";import{Yha as v,iia as I}from"./cli-1.1.5-dpwkjrhv.mjs";import{kla as q,ula as G}from"./cli-1.1.5-rqw75dc4.mjs";import{Isa as z}from"./cli-1.1.5-keef1hq8.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDE_CODE_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
2
+
3
+ You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
4
+
5
+ Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
6
+
7
+ Also call advisor:
8
+ - When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
9
+ - When stuck -- errors recurring, approach not converging, results that don't fit.
10
+ - When considering a change of approach.
11
+
12
+ On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
13
+
14
+ Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
15
+
16
+ If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
17
+ export{W as jV,k as kV,N as lV,X as mV,Z as nV,$ as oV,B as pV,D as qV,F as rV,O as sV};
@@ -0,0 +1,12 @@
1
+ import{y9 as D}from"./cli-1.1.5-3wtxx0sm.mjs";import{Cka as a,lka as L,pka as JG,zka as W}from"./cli-1.1.5-3zc9bseg.mjs";import{jla as c,kla as jG,ula as GG}from"./cli-1.1.5-rqw75dc4.mjs";import{wra as U,xra as g}from"./cli-1.1.5-xn9p8nks.mjs";import{Tra as H,jsa as RG}from"./cli-1.1.5-xzxcvrkj.mjs";import{nsa as wG}from"./cli-1.1.5-46qvwkna.mjs";import{Esa as WG,Isa as j,Jsa as e}from"./cli-1.1.5-keef1hq8.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
+ `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
+ \r
4
+ `);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
+ `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
+ `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
7
+ `;let $=n(K);K.write(`${w}\r
8
+ `);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
9
+ `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
10
+ `;let V=n(Y);Y.write(`${$}\r
11
+ `);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.5-k56wbbcc.mjs"),import("./index-1.1.5-9qaxnf95.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
+ export{hG as b9,p as c9,F as d9,gG as e9,aG as f9,pG as g9,KG as h9,MJ as i9,HJ as j9,OG as k9,I as l9,h as m9,qJ as n9,jJ as o9,UJ as p9,_J as q9,FJ as r9,NJ as s9,TJ as t9,vG as u9};
@@ -0,0 +1,2 @@
1
+ import{C$ as Q,S$ as _}from"./cli-1.1.5-v9a6fbsq.mjs";import{Iia as I,Kia as X}from"./cli-1.1.5-0amg980q.mjs";import{Cka as V,zka as B}from"./cli-1.1.5-3zc9bseg.mjs";import{Isa as T}from"./cli-1.1.5-keef1hq8.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 o_,P as p_,Y as q_,S as r_,O as s_,D as t_,Z as u_};
@@ -0,0 +1,2 @@
1
+ import{DZ as f,F1 as X,H1 as k,r1 as W}from"./cli-1.1.5-9q40r2jj.mjs";import{n4 as V,o4 as J,q4 as K}from"./cli-1.1.5-0a8jb3pr.mjs";import{r4 as P}from"./cli-1.1.5-43y030nv.mjs";import{$ga as U,aha as O}from"./cli-1.1.5-3xf010sx.mjs";import{Esa as Q,Isa as L}from"./cli-1.1.5-keef1hq8.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as ne,N as oe,j as pe};
@@ -0,0 +1,2 @@
1
+ import{wi as M,xi as w,yi as A}from"./cli-1.1.5-54qyvbmc.mjs";import{Bia as X,Dia as N,Eia as $,Fia as O}from"./cli-1.1.5-nkhse0vg.mjs";import{Cka as C,zka as R}from"./cli-1.1.5-3zc9bseg.mjs";import{hla as L,ula as _}from"./cli-1.1.5-rqw75dc4.mjs";import{Zqa as T,_ma as H}from"./cli-1.1.5-0gd61h7z.mjs";import{Tra as W,jsa as y}from"./cli-1.1.5-xzxcvrkj.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
2
+ export{S as ca,f as da,l as ea,s as fa};
@@ -0,0 +1,2 @@
1
+ import{A4 as D,y4 as N,z4 as V}from"./cli-1.1.5-ttm2crpm.mjs";import{C8 as J,E8 as $,H8 as B,a9 as x,b8 as Z,g5 as Y,m5 as _}from"./cli-1.1.5-y39w08qk.mjs";import{pja as Q,vja as P}from"./cli-1.1.5-fr76ha7s.mjs";import{Tra as X,jsa as R}from"./cli-1.1.5-xzxcvrkj.mjs";import{Isa as W}from"./cli-1.1.5-keef1hq8.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudin-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
2
+ export{E as s4,I as t4,w as u4,C as v4,O as w4,H as x4};
@@ -0,0 +1,3 @@
1
+ import{M as A}from"./cli-1.1.5-m2tvhjca.mjs";import{Hga as $,Iga as F,Oga as z,Pga as H,Yga as P}from"./cli-1.1.5-v9a6fbsq.mjs";import{Aja as _,Bja as N,Cja as B,Cka as E,Eja as W,cka as O,hka as w,lka as V,pka as C,zka as X}from"./cli-1.1.5-3zc9bseg.mjs";import{Zqa as L,_ma as Z}from"./cli-1.1.5-0gd61h7z.mjs";import{Tra as q,jsa as y}from"./cli-1.1.5-xzxcvrkj.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
+ export{e as x};