@claudiolabs/claudin 1.1.2 → 1.1.4

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 (914) hide show
  1. package/README.md +28 -24
  2. package/dist/chunks/AgentTool-1.1.4-3bagecge.mjs +1 -0
  3. package/dist/chunks/App-1.1.4-4g3dh0nx.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.4-jxeaz5zn.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.4-9w92vdx4.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.4-x17tymwk.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.4-7fg80a35.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.4-094y677a.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.4-y4jsq70q.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.4-wwr5yxnw.mjs +7 -0
  11. package/dist/chunks/Doctor-1.1.4-6z4qt6jr.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.4-e5w2phrt.mjs +6 -0
  13. package/dist/chunks/Grove-1.1.4-yj7xbcnq.mjs +1 -0
  14. package/dist/chunks/ITermBackend-1.1.4-rgme07qr.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-1.1.4-nyd8ja4h.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-1.1.4-899r2pfm.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-1.1.4-749tfrvg.mjs +1 -0
  18. package/dist/chunks/Onboarding-1.1.4-f019rkkj.mjs +1 -0
  19. package/dist/chunks/ProviderManager-1.1.4-9239x3zp.mjs +1 -0
  20. package/dist/chunks/REPL-1.1.4-9nb68maq.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-1.1.4-7sr86ks3.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-1.1.4-av1tzhr1.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-1.1.4-s1g49h7t.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-1.1.4-xq8vmgey.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-1.1.4-nh55ntyd.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-1.1.4-5gtjmz82.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-1.1.4-wk88hvrf.mjs +1 -0
  28. package/dist/chunks/TrustDialog-1.1.4-zvk6f63e.mjs +1 -0
  29. package/dist/chunks/activeProvider-1.1.4-3st8cbec.mjs +1 -0
  30. package/dist/chunks/add-dir-1.1.4-09gsa25v.mjs +1 -0
  31. package/dist/chunks/agentTypes-1.1.4-ee7w7dt5.mjs +1 -0
  32. package/dist/chunks/agents-1.1.4-8k4mrjt7.mjs +110 -0
  33. package/dist/chunks/agents-1.1.4-w929h9g2.mjs +3 -0
  34. package/dist/chunks/api-1.1.4-p7hbrnd7.mjs +1 -0
  35. package/dist/chunks/asciicast-1.1.4-7e877hqq.mjs +1 -0
  36. package/dist/chunks/assistant-1.1.4-jq08j7n1.mjs +1 -0
  37. package/dist/chunks/auth-1.1.4-d8jp870f.mjs +1 -0
  38. package/dist/chunks/auth-1.1.4-pjxgyew6.mjs +1 -0
  39. package/dist/chunks/autoMode-1.1.4-ar2t9451.mjs +48 -0
  40. package/dist/chunks/autoUpdater-1.1.4-6ywqc8jc.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-1.1.4-ymj2akh8.mjs +1 -0
  42. package/dist/chunks/branch-1.1.4-m28a3gah.mjs +4 -0
  43. package/dist/chunks/bridge-1.1.4-n515vy2d.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-1.1.4-p3jq4sh0.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-1.1.4-0mda1at6.mjs +1 -0
  46. package/dist/chunks/bridgeMain-1.1.4-pya2apxm.mjs +88 -0
  47. package/dist/chunks/bridgePointer-1.1.4-qw0te2bm.mjs +1 -0
  48. package/dist/chunks/btw-1.1.4-fyx7t7q6.mjs +1 -0
  49. package/dist/chunks/buddy-1.1.4-hg600pq6.mjs +3 -0
  50. package/dist/chunks/cacache-1.1.4-ezqx7zp6.mjs +1 -0
  51. package/dist/chunks/cache-probe-1.1.4-zq67w2hp.mjs +21 -0
  52. package/dist/chunks/cacheStats-1.1.4-w4g7f1sd.mjs +4 -0
  53. package/dist/chunks/caches-1.1.4-smgwny8k.mjs +1 -0
  54. package/dist/chunks/claudeDesktop-1.1.4-09az178f.mjs +1 -0
  55. package/dist/chunks/claudemd-1.1.4-zkyggtev.mjs +1 -0
  56. package/dist/chunks/clear-1.1.4-jpcr7zvx.mjs +1 -0
  57. package/dist/chunks/clearTerminal-1.1.4-ncdjyhkh.mjs +1 -0
  58. package/dist/chunks/cli-1.1.4-081g3k6v.mjs +2 -0
  59. package/dist/chunks/cli-1.1.4-08dh9fvb.mjs +2 -0
  60. package/dist/chunks/cli-1.1.4-0a20jx5n.mjs +18 -0
  61. package/dist/chunks/cli-1.1.4-0earmzgk.mjs +12 -0
  62. package/dist/chunks/cli-1.1.4-0efkjzrt.mjs +18 -0
  63. package/dist/chunks/cli-1.1.4-0k0btfq4.mjs +2 -0
  64. package/dist/chunks/cli-1.1.4-0nxqjpe0.mjs +133 -0
  65. package/dist/chunks/cli-1.1.4-0r232fpm.mjs +2 -0
  66. package/dist/chunks/cli-1.1.4-0smy947g.mjs +2 -0
  67. package/dist/chunks/cli-1.1.4-0wp3qgzs.mjs +2 -0
  68. package/dist/chunks/cli-1.1.4-114zcxgj.mjs +2 -0
  69. package/dist/chunks/cli-1.1.4-17x2wrkx.mjs +2 -0
  70. package/dist/chunks/cli-1.1.4-181vbtfh.mjs +2 -0
  71. package/dist/chunks/cli-1.1.4-1bd9da9p.mjs +4 -0
  72. package/dist/chunks/cli-1.1.4-1f9d29qw.mjs +2 -0
  73. package/dist/chunks/cli-1.1.4-1gz31tm3.mjs +2 -0
  74. package/dist/chunks/cli-1.1.4-1kfdt9jy.mjs +2 -0
  75. package/dist/chunks/cli-1.1.4-2sdcr2b4.mjs +2 -0
  76. package/dist/chunks/cli-1.1.4-31av4ynk.mjs +2 -0
  77. package/dist/chunks/cli-1.1.4-3556r6d1.mjs +2 -0
  78. package/dist/chunks/cli-1.1.4-3d01w53d.mjs +2 -0
  79. package/dist/chunks/cli-1.1.4-3yy14yyg.mjs +2 -0
  80. package/dist/chunks/cli-1.1.4-3zzdhas7.mjs +2 -0
  81. package/dist/chunks/cli-1.1.4-40z19hth.mjs +2 -0
  82. package/dist/chunks/cli-1.1.4-4cg8jz3d.mjs +2 -0
  83. package/dist/chunks/cli-1.1.4-4esthaz8.mjs +21 -0
  84. package/dist/chunks/cli-1.1.4-4qsk7zj5.mjs +2 -0
  85. package/dist/chunks/cli-1.1.4-4tywpfrb.mjs +3 -0
  86. package/dist/chunks/cli-1.1.4-4yte7brd.mjs +25 -0
  87. package/dist/chunks/cli-1.1.4-50ktv3m1.mjs +2 -0
  88. package/dist/chunks/cli-1.1.4-53fvpymg.mjs +6 -0
  89. package/dist/chunks/cli-1.1.4-56nffz3p.mjs +17 -0
  90. package/dist/chunks/cli-1.1.4-5dc9c513.mjs +3 -0
  91. package/dist/chunks/cli-1.1.4-5ebh6981.mjs +2 -0
  92. package/dist/chunks/cli-1.1.4-5g0b74dj.mjs +2 -0
  93. package/dist/chunks/cli-1.1.4-5hz878ns.mjs +2 -0
  94. package/dist/chunks/cli-1.1.4-64y9aspn.mjs +2 -0
  95. package/dist/chunks/cli-1.1.4-6c3fshef.mjs +202 -0
  96. package/dist/chunks/cli-1.1.4-6c5tryej.mjs +2 -0
  97. package/dist/chunks/cli-1.1.4-6eacj91j.mjs +2 -0
  98. package/dist/chunks/cli-1.1.4-6f472s2j.mjs +2 -0
  99. package/dist/chunks/cli-1.1.4-6h6yt6jp.mjs +2 -0
  100. package/dist/chunks/cli-1.1.4-6raycx0k.mjs +2 -0
  101. package/dist/chunks/cli-1.1.4-6rkzmmby.mjs +2 -0
  102. package/dist/chunks/cli-1.1.4-6z69geef.mjs +5649 -0
  103. package/dist/chunks/cli-1.1.4-788c63fn.mjs +7 -0
  104. package/dist/chunks/cli-1.1.4-79y1pxkd.mjs +4 -0
  105. package/dist/chunks/cli-1.1.4-83vy9tsv.mjs +2 -0
  106. package/dist/chunks/cli-1.1.4-8hmaxd0s.mjs +2 -0
  107. package/dist/chunks/cli-1.1.4-8hr73xp2.mjs +2 -0
  108. package/dist/chunks/cli-1.1.4-8kx358k9.mjs +2 -0
  109. package/dist/chunks/cli-1.1.4-8rzb4wqq.mjs +4 -0
  110. package/dist/chunks/cli-1.1.4-99ept1n4.mjs +2 -0
  111. package/dist/chunks/cli-1.1.4-9cw2608s.mjs +2 -0
  112. package/dist/chunks/cli-1.1.4-9ms3b4tc.mjs +2 -0
  113. package/dist/chunks/cli-1.1.4-9tej4g5v.mjs +2 -0
  114. package/dist/chunks/cli-1.1.4-9x9a885k.mjs +17 -0
  115. package/dist/chunks/cli-1.1.4-a4fsxp91.mjs +2 -0
  116. package/dist/chunks/cli-1.1.4-aj4f4c5s.mjs +24 -0
  117. package/dist/chunks/cli-1.1.4-axp071a4.mjs +2 -0
  118. package/dist/chunks/cli-1.1.4-bhazhxsz.mjs +1 -0
  119. package/dist/chunks/cli-1.1.4-bnk38sjx.mjs +2 -0
  120. package/dist/chunks/cli-1.1.4-bx7r8yn5.mjs +2 -0
  121. package/dist/chunks/cli-1.1.4-bxd06hws.mjs +2 -0
  122. package/dist/chunks/cli-1.1.4-bxtvw0wr.mjs +2 -0
  123. package/dist/chunks/cli-1.1.4-c7a7aezt.mjs +2 -0
  124. package/dist/chunks/cli-1.1.4-cjw4z35m.mjs +2 -0
  125. package/dist/chunks/cli-1.1.4-ck3xhtdn.mjs +2 -0
  126. package/dist/chunks/cli-1.1.4-ckmk4b1r.mjs +2 -0
  127. package/dist/chunks/cli-1.1.4-cknrfh5p.mjs +6 -0
  128. package/dist/chunks/cli-1.1.4-cp707f4g.mjs +2 -0
  129. package/dist/chunks/cli-1.1.4-cst0a515.mjs +3 -0
  130. package/dist/chunks/cli-1.1.4-cwnt4by7.mjs +2 -0
  131. package/dist/chunks/cli-1.1.4-cyy7hkcy.mjs +2 -0
  132. package/dist/chunks/cli-1.1.4-d5vhgtz3.mjs +2 -0
  133. package/dist/chunks/cli-1.1.4-d8mes9hb.mjs +2 -0
  134. package/dist/chunks/cli-1.1.4-da50kprz.mjs +2 -0
  135. package/dist/chunks/cli-1.1.4-dapq2czd.mjs +3 -0
  136. package/dist/chunks/cli-1.1.4-dnypqpw6.mjs +3 -0
  137. package/dist/chunks/cli-1.1.4-dwez6b01.mjs +2 -0
  138. package/dist/chunks/cli-1.1.4-e73hv9nk.mjs +4 -0
  139. package/dist/chunks/cli-1.1.4-edegax48.mjs +2 -0
  140. package/dist/chunks/cli-1.1.4-ekbns70t.mjs +2 -0
  141. package/dist/chunks/cli-1.1.4-esw78wsd.mjs +2 -0
  142. package/dist/chunks/cli-1.1.4-etajychz.mjs +2 -0
  143. package/dist/chunks/cli-1.1.4-evye603x.mjs +5 -0
  144. package/dist/chunks/cli-1.1.4-ewczzrrj.mjs +24 -0
  145. package/dist/chunks/cli-1.1.4-f0ysrk67.mjs +2 -0
  146. package/dist/chunks/cli-1.1.4-f7y4b0px.mjs +2 -0
  147. package/dist/chunks/cli-1.1.4-fa18654s.mjs +2 -0
  148. package/dist/chunks/cli-1.1.4-fap2565a.mjs +15 -0
  149. package/dist/chunks/cli-1.1.4-fejb0548.mjs +2 -0
  150. package/dist/chunks/cli-1.1.4-ffgmpsez.mjs +133 -0
  151. package/dist/chunks/cli-1.1.4-fk420f57.mjs +16 -0
  152. package/dist/chunks/cli-1.1.4-g21fhx9n.mjs +9 -0
  153. package/dist/chunks/cli-1.1.4-g6nryz17.mjs +2 -0
  154. package/dist/chunks/cli-1.1.4-g8kh8f9a.mjs +2 -0
  155. package/dist/chunks/cli-1.1.4-gag1dbkn.mjs +2 -0
  156. package/dist/chunks/cli-1.1.4-gc3kgy7y.mjs +2 -0
  157. package/dist/chunks/cli-1.1.4-gey397p1.mjs +2 -0
  158. package/dist/chunks/cli-1.1.4-gfbktjpn.mjs +2 -0
  159. package/dist/chunks/cli-1.1.4-ghf3bx8w.mjs +20 -0
  160. package/dist/chunks/cli-1.1.4-gpskbg68.mjs +2 -0
  161. package/dist/chunks/cli-1.1.4-h2a0peqc.mjs +18 -0
  162. package/dist/chunks/cli-1.1.4-h3nq6gg2.mjs +12 -0
  163. package/dist/chunks/cli-1.1.4-h4pjzspp.mjs +58 -0
  164. package/dist/chunks/cli-1.1.4-ha2bfn8a.mjs +2 -0
  165. package/dist/chunks/cli-1.1.4-hbx9ye2g.mjs +2 -0
  166. package/dist/chunks/cli-1.1.4-hcp2cxz5.mjs +25 -0
  167. package/dist/chunks/cli-1.1.4-hdwdbbzk.mjs +2 -0
  168. package/dist/chunks/cli-1.1.4-hmg1r8h3.mjs +12 -0
  169. package/dist/chunks/cli-1.1.4-hzx821eq.mjs +4 -0
  170. package/dist/chunks/cli-1.1.4-j2khf9zj.mjs +2 -0
  171. package/dist/chunks/cli-1.1.4-ja9ebt3p.mjs +2 -0
  172. package/dist/chunks/cli-1.1.4-jbsj8fj7.mjs +2 -0
  173. package/dist/chunks/cli-1.1.4-je9x0pvr.mjs +2 -0
  174. package/dist/chunks/cli-1.1.4-jeyegjk6.mjs +2 -0
  175. package/dist/chunks/cli-1.1.4-jf48e5ft.mjs +24 -0
  176. package/dist/chunks/cli-1.1.4-jn9kbkbv.mjs +2 -0
  177. package/dist/chunks/cli-1.1.4-jscqx4px.mjs +2 -0
  178. package/dist/chunks/cli-1.1.4-k65j1mxk.mjs +9 -0
  179. package/dist/chunks/cli-1.1.4-k6ebhyp0.mjs +2 -0
  180. package/dist/chunks/cli-1.1.4-kcm529kx.mjs +2 -0
  181. package/dist/chunks/cli-1.1.4-m11fz0v8.mjs +2 -0
  182. package/dist/chunks/cli-1.1.4-m312ygm6.mjs +2 -0
  183. package/dist/chunks/cli-1.1.4-m3gsmnfa.mjs +2 -0
  184. package/dist/chunks/cli-1.1.4-m3hgkj60.mjs +2 -0
  185. package/dist/chunks/cli-1.1.4-memqhcjv.mjs +2 -0
  186. package/dist/chunks/cli-1.1.4-mjhchkyc.mjs +50 -0
  187. package/dist/chunks/cli-1.1.4-mjtadp4r.mjs +2 -0
  188. package/dist/chunks/cli-1.1.4-mkk6fe3z.mjs +2 -0
  189. package/dist/chunks/cli-1.1.4-mvy2zgjw.mjs +3 -0
  190. package/dist/chunks/cli-1.1.4-my1g33fn.mjs +3 -0
  191. package/dist/chunks/cli-1.1.4-mzzr964a.mjs +67 -0
  192. package/dist/chunks/cli-1.1.4-n1e8vyg8.mjs +2 -0
  193. package/dist/chunks/cli-1.1.4-ncmgrms7.mjs +2 -0
  194. package/dist/chunks/cli-1.1.4-nh3sscxn.mjs +59 -0
  195. package/dist/chunks/cli-1.1.4-nkf9c3yn.mjs +5 -0
  196. package/dist/chunks/cli-1.1.4-nmjtqjhh.mjs +2 -0
  197. package/dist/chunks/cli-1.1.4-p2223zcm.mjs +2 -0
  198. package/dist/chunks/cli-1.1.4-p7tcq8ah.mjs +6 -0
  199. package/dist/chunks/cli-1.1.4-p7xh8tgn.mjs +2 -0
  200. package/dist/chunks/cli-1.1.4-p81w8zaj.mjs +8 -0
  201. package/dist/chunks/cli-1.1.4-phjb22vy.mjs +2 -0
  202. package/dist/chunks/cli-1.1.4-phv78vpk.mjs +2 -0
  203. package/dist/chunks/cli-1.1.4-pq6xvrw7.mjs +15 -0
  204. package/dist/chunks/cli-1.1.4-q0acv376.mjs +3 -0
  205. package/dist/chunks/cli-1.1.4-q6cngbfg.mjs +2 -0
  206. package/dist/chunks/cli-1.1.4-qe35eyha.mjs +6 -0
  207. package/dist/chunks/cli-1.1.4-qecgken2.mjs +2 -0
  208. package/dist/chunks/cli-1.1.4-qf46ypfr.mjs +2 -0
  209. package/dist/chunks/cli-1.1.4-qjgn7a4a.mjs +2 -0
  210. package/dist/chunks/cli-1.1.4-rc28sjtd.mjs +4 -0
  211. package/dist/chunks/cli-1.1.4-rh4x4rv5.mjs +2 -0
  212. package/dist/chunks/cli-1.1.4-rhexcyth.mjs +2 -0
  213. package/dist/chunks/cli-1.1.4-rmpkkwfr.mjs +42 -0
  214. package/dist/chunks/cli-1.1.4-rqwqskb2.mjs +2 -0
  215. package/dist/chunks/cli-1.1.4-rv3se129.mjs +2 -0
  216. package/dist/chunks/cli-1.1.4-rwz7t3ph.mjs +2 -0
  217. package/dist/chunks/cli-1.1.4-s26ny46b.mjs +4 -0
  218. package/dist/chunks/cli-1.1.4-scm26s6m.mjs +34 -0
  219. package/dist/chunks/cli-1.1.4-shrznr3s.mjs +2 -0
  220. package/dist/chunks/cli-1.1.4-sm3xmtbn.mjs +6 -0
  221. package/dist/chunks/cli-1.1.4-smjkhzzj.mjs +4 -0
  222. package/dist/chunks/cli-1.1.4-ss2jxen1.mjs +2 -0
  223. package/dist/chunks/cli-1.1.4-te2372tc.mjs +2 -0
  224. package/dist/chunks/cli-1.1.4-tmrxfcjm.mjs +2 -0
  225. package/dist/chunks/cli-1.1.4-tsspgj1c.mjs +2 -0
  226. package/dist/chunks/cli-1.1.4-v67jx2fw.mjs +2 -0
  227. package/dist/chunks/cli-1.1.4-v85q5z49.mjs +3 -0
  228. package/dist/chunks/cli-1.1.4-vajq2dgc.mjs +4 -0
  229. package/dist/chunks/cli-1.1.4-vcg96p1c.mjs +2 -0
  230. package/dist/chunks/cli-1.1.4-vdd43cyp.mjs +2 -0
  231. package/dist/chunks/cli-1.1.4-vgk1xqxb.mjs +2 -0
  232. package/dist/chunks/cli-1.1.4-vjfpgnyr.mjs +2 -0
  233. package/dist/chunks/cli-1.1.4-vk7mw9e1.mjs +39 -0
  234. package/dist/chunks/cli-1.1.4-vpkm2gfp.mjs +4 -0
  235. package/dist/chunks/cli-1.1.4-vq2bkg07.mjs +2 -0
  236. package/dist/chunks/cli-1.1.4-vye1xark.mjs +2 -0
  237. package/dist/chunks/cli-1.1.4-w06xm7pk.mjs +2 -0
  238. package/dist/chunks/cli-1.1.4-w11nd4na.mjs +2 -0
  239. package/dist/chunks/cli-1.1.4-w4b4vhj9.mjs +2 -0
  240. package/dist/chunks/cli-1.1.4-wqxnhcfg.mjs +2 -0
  241. package/dist/chunks/cli-1.1.4-ws4wcqma.mjs +2 -0
  242. package/dist/chunks/cli-1.1.4-wt23b5bp.mjs +2 -0
  243. package/dist/chunks/cli-1.1.4-wtcyy8sp.mjs +4 -0
  244. package/dist/chunks/cli-1.1.4-wx5t4xvj.mjs +3 -0
  245. package/dist/chunks/cli-1.1.4-x6hb06sj.mjs +2 -0
  246. package/dist/chunks/cli-1.1.4-x8m7spde.mjs +2 -0
  247. package/dist/chunks/cli-1.1.4-x90d3r95.mjs +2 -0
  248. package/dist/chunks/cli-1.1.4-xdqj8a4v.mjs +45 -0
  249. package/dist/chunks/cli-1.1.4-xxe2ztwq.mjs +2 -0
  250. package/dist/chunks/cli-1.1.4-y94ewbpk.mjs +2 -0
  251. package/dist/chunks/cli-1.1.4-ymrjsf78.mjs +2 -0
  252. package/dist/chunks/cli-1.1.4-yncbc1sd.mjs +2 -0
  253. package/dist/chunks/cli-1.1.4-yprszvr2.mjs +2 -0
  254. package/dist/chunks/cli-1.1.4-yz3t1wmd.mjs +2 -0
  255. package/dist/chunks/cli-1.1.4-z6qrcsfa.mjs +2 -0
  256. package/dist/chunks/cli-1.1.4-z8f8hc8t.mjs +12 -0
  257. package/dist/chunks/cli-1.1.4-z9z0gn83.mjs +15 -0
  258. package/dist/chunks/cli-1.1.4-zavkgdrm.mjs +2 -0
  259. package/dist/chunks/cli-1.1.4-zc29khqe.mjs +3 -0
  260. package/dist/chunks/cli-1.1.4-zp0vvhas.mjs +3 -0
  261. package/dist/chunks/client-1.1.4-pb5ebapt.mjs +1 -0
  262. package/dist/chunks/color-1.1.4-f1seyygj.mjs +1 -0
  263. package/dist/chunks/compact-1.1.4-2a7cwaxp.mjs +3 -0
  264. package/dist/chunks/config-1.1.4-j2wjnxkk.mjs +1 -0
  265. package/dist/chunks/config-1.1.4-jb46a3qp.mjs +1 -0
  266. package/dist/chunks/constants-1.1.4-cspjb06k.mjs +1 -0
  267. package/dist/chunks/context-1.1.4-dmyt4w9f.mjs +1 -0
  268. package/dist/chunks/context-noninteractive-1.1.4-ckp0m156.mjs +1 -0
  269. package/dist/chunks/conversation-1.1.4-2grxgxr1.mjs +1 -0
  270. package/dist/chunks/copilotHeaders-1.1.4-chappesc.mjs +1 -0
  271. package/dist/chunks/copy-1.1.4-7hw0khh4.mjs +9 -0
  272. package/dist/chunks/cost-1.1.4-kqvvdsab.mjs +1 -0
  273. package/dist/chunks/createSSHSession-1.1.4-ezqvt66q.mjs +1 -0
  274. package/dist/chunks/createSession-1.1.4-739bg1q2.mjs +1 -0
  275. package/dist/chunks/debug-1.1.4-4v8k6t8p.mjs +1 -0
  276. package/dist/chunks/defaultActionDeps-1.1.4-07fhy4qs.mjs +1446 -0
  277. package/dist/chunks/desktop-1.1.4-z8nhvfc9.mjs +1 -0
  278. package/dist/chunks/detectRepository-1.1.4-qs08vv7k.mjs +1 -0
  279. package/dist/chunks/detection-1.1.4-knvchyz7.mjs +1 -0
  280. package/dist/chunks/diff-1.1.4-9k603anv.mjs +1 -0
  281. package/dist/chunks/doctor-1.1.4-76x4k1e3.mjs +1 -0
  282. package/dist/chunks/doctorDiagnostic-1.1.4-dw4gjch2.mjs +1 -0
  283. package/dist/chunks/earlyInput-1.1.4-wmn2wrxh.mjs +1 -0
  284. package/dist/chunks/effort-1.1.4-2bfyta5f.mjs +13 -0
  285. package/dist/chunks/engine-1.1.4-ds4tzxqb.mjs +1 -0
  286. package/dist/chunks/envLessBridgeConfig-1.1.4-k2f2p556.mjs +1 -0
  287. package/dist/chunks/envUtils-1.1.4-h0e2k0kk.mjs +1 -0
  288. package/dist/chunks/environmentSelection-1.1.4-zgvjnc3b.mjs +1 -0
  289. package/dist/chunks/environments-1.1.4-vvw6w76p.mjs +1 -0
  290. package/dist/chunks/errors-1.1.4-k81rbfst.mjs +1 -0
  291. package/dist/chunks/exampleCommands-1.1.4-7d1r2j0f.mjs +1 -0
  292. package/dist/chunks/execFileNoThrow-1.1.4-txkdgph9.mjs +1 -0
  293. package/dist/chunks/exit-1.1.4-nmtqhsmh.mjs +1 -0
  294. package/dist/chunks/explorer-1.1.4-z2tjcn1k.mjs +1 -0
  295. package/dist/chunks/export-1.1.4-sqtrqjrr.mjs +2 -0
  296. package/dist/chunks/extra-usage-1.1.4-9vjje6h3.mjs +1 -0
  297. package/dist/chunks/extra-usage-noninteractive-1.1.4-x9nwrrw4.mjs +1 -0
  298. package/dist/chunks/fast-1.1.4-2jebnd2f.mjs +1 -0
  299. package/dist/chunks/feedback-1.1.4-axgmd5k0.mjs +14 -0
  300. package/dist/chunks/firstPartyEventLogger-1.1.4-ftjf0rjy.mjs +1 -0
  301. package/dist/chunks/git-1.1.4-ress16mq.mjs +1 -0
  302. package/dist/chunks/githubModelsCredentials-1.1.4-dvpz9d06.mjs +1 -0
  303. package/dist/chunks/goal-1.1.4-d5hgcz3t.mjs +4 -0
  304. package/dist/chunks/grove-1.1.4-ag51yh4b.mjs +1 -0
  305. package/dist/chunks/growthbook-1.1.4-2khgq1sm.mjs +1 -0
  306. package/dist/chunks/headless-1.1.4-833q6qkz.mjs +2 -0
  307. package/dist/chunks/heapdump-1.1.4-d7hqys06.mjs +6 -0
  308. package/dist/chunks/help-1.1.4-35bcy608.mjs +1 -0
  309. package/dist/chunks/hookChains-1.1.4-fcp2d666.mjs +3 -0
  310. package/dist/chunks/hooks-1.1.4-h1zy1fdm.mjs +1 -0
  311. package/dist/chunks/hooks-1.1.4-mwnf6vn4.mjs +79 -0
  312. package/dist/chunks/ide-1.1.4-5bagw4sy.mjs +3 -0
  313. package/dist/chunks/image-processor-napi-1.1.4-rfdtmnfq.mjs +1 -0
  314. package/dist/chunks/inboundAttachments-1.1.4-kj5ne7t9.mjs +1 -0
  315. package/dist/chunks/index-1.1.4-0mcg1bj0.mjs +1 -0
  316. package/dist/chunks/index-1.1.4-0tamkcjt.mjs +1 -0
  317. package/dist/chunks/index-1.1.4-2czk0cj2.mjs +2 -0
  318. package/dist/chunks/index-1.1.4-4pzf6k4d.mjs +1 -0
  319. package/dist/chunks/index-1.1.4-5ff5qxrs.mjs +1 -0
  320. package/dist/chunks/index-1.1.4-6gmnecfx.mjs +1 -0
  321. package/dist/chunks/index-1.1.4-6xgr5zyz.mjs +1 -0
  322. package/dist/chunks/index-1.1.4-9yayje25.mjs +1 -0
  323. package/dist/chunks/index-1.1.4-ekp3k254.mjs +1 -0
  324. package/dist/chunks/index-1.1.4-g4bsry7f.mjs +1 -0
  325. package/dist/chunks/index-1.1.4-gfbrd9p0.mjs +1 -0
  326. package/dist/chunks/index-1.1.4-jk66219f.mjs +30 -0
  327. package/dist/chunks/index-1.1.4-m5859ars.mjs +5 -0
  328. package/dist/chunks/index-1.1.4-m5kxdznq.mjs +1 -0
  329. package/dist/chunks/index-1.1.4-mr07jhdc.mjs +1 -0
  330. package/dist/chunks/index-1.1.4-mw4k6wk5.mjs +17 -0
  331. package/dist/chunks/index-1.1.4-nx0c7851.mjs +9 -0
  332. package/dist/chunks/index-1.1.4-p4az8jd4.mjs +9 -0
  333. package/dist/chunks/index-1.1.4-s48qa1fv.mjs +1 -0
  334. package/dist/chunks/index-1.1.4-svjv72c1.mjs +1 -0
  335. package/dist/chunks/index-1.1.4-tjmw2wk0.mjs +1 -0
  336. package/dist/chunks/index-1.1.4-v1z11db7.mjs +1 -0
  337. package/dist/chunks/index-1.1.4-wkgybs2k.mjs +2 -0
  338. package/dist/chunks/init-1.1.4-gggf2npg.mjs +1 -0
  339. package/dist/chunks/initReplBridge-1.1.4-0sk4h8a1.mjs +1 -0
  340. package/dist/chunks/ink-1.1.4-vw46vbtt.mjs +1 -0
  341. package/dist/chunks/insights-1.1.4-vjtfwa5p.mjs +870 -0
  342. package/dist/chunks/install-1.1.4-2ckjxcbg.mjs +1 -0
  343. package/dist/chunks/install-github-app-1.1.4-e0tfdyjj.mjs +149 -0
  344. package/dist/chunks/install-slack-app-1.1.4-j30f897r.mjs +1 -0
  345. package/dist/chunks/instrumentation-1.1.4-3dd1n7rj.mjs +1 -0
  346. package/dist/chunks/interactiveHelpers-1.1.4-mz31r39t.mjs +1 -0
  347. package/dist/chunks/keybindings-1.1.4-3rx2vnv0.mjs +2 -0
  348. package/dist/chunks/knowledge-1.1.4-c30znbjx.mjs +2 -0
  349. package/dist/chunks/latestVersionCache-1.1.4-ftdcy7g4.mjs +1 -0
  350. package/dist/chunks/loadAgentsDir-1.1.4-mqdb78s1.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.1.4-72qxyq0t.mjs +1 -0
  352. package/dist/chunks/loadPluginHooks-1.1.4-b0wchh9x.mjs +1 -0
  353. package/dist/chunks/log-1.1.4-2xexxfy0.mjs +1 -0
  354. package/dist/chunks/main-1.1.4-wapb45da.mjs +1 -0
  355. package/dist/chunks/managedEnv-1.1.4-qyy8p7f2.mjs +1 -0
  356. package/dist/chunks/mcp-1.1.4-h54pt8v1.mjs +1 -0
  357. package/dist/chunks/mcp-1.1.4-rc4pdtng.mjs +4 -0
  358. package/dist/chunks/mcp-1.1.4-yfnk4mfe.mjs +17 -0
  359. package/dist/chunks/mcpb-1.1.4-cw5mvq0x.mjs +1 -0
  360. package/dist/chunks/memory-1.1.4-eqm9fevt.mjs +72 -0
  361. package/dist/chunks/model-1.1.4-v0jfcnn8.mjs +2 -0
  362. package/dist/chunks/model-1.1.4-x8a7yhj1.mjs +1 -0
  363. package/dist/chunks/node-1.1.4-zfc18psp.mjs +12 -0
  364. package/dist/chunks/oauth-1.1.4-8spjkywn.mjs +1 -0
  365. package/dist/chunks/openaiShim-1.1.4-k4q3wjsg.mjs +14 -0
  366. package/dist/chunks/output-style-1.1.4-36tkstrg.mjs +1 -0
  367. package/dist/chunks/package-2VNCXFNY-1.1.4-b7m4p873.mjs +1 -0
  368. package/dist/chunks/parseConnectUrl-1.1.4-g49z58pt.mjs +1 -0
  369. package/dist/chunks/parser-1.1.4-f8fmbx75.mjs +1 -0
  370. package/dist/chunks/passes-1.1.4-fps8mejy.mjs +1 -0
  371. package/dist/chunks/permissions-1.1.4-38svh1zd.mjs +3 -0
  372. package/dist/chunks/permissions-1.1.4-4g141c3c.mjs +1 -0
  373. package/dist/chunks/plan-1.1.4-66evqh4y.mjs +1 -0
  374. package/dist/chunks/plist-1.1.4-fx2qbcnp.mjs +1 -0
  375. package/dist/chunks/plugin-1.1.4-jjtcjgyk.mjs +29 -0
  376. package/dist/chunks/pluginStartupCheck-1.1.4-fhbmfyn5.mjs +1 -0
  377. package/dist/chunks/plugins-1.1.4-thxg4cdf.mjs +9 -0
  378. package/dist/chunks/preActionHook-1.1.4-042npmm1.mjs +2 -0
  379. package/dist/chunks/print-1.1.4-fxrwvp78.mjs +57 -0
  380. package/dist/chunks/privacy-settings-1.1.4-mmhqzkda.mjs +1 -0
  381. package/dist/chunks/process-1.1.4-pjq03ry2.mjs +1 -0
  382. package/dist/chunks/processBashCommand-1.1.4-1f4rqd6y.mjs +1 -0
  383. package/dist/chunks/processSlashCommand-1.1.4-rpcrfdgr.mjs +9 -0
  384. package/dist/chunks/prompt-1.1.4-29b0dwtk.mjs +1 -0
  385. package/dist/chunks/prompt-1.1.4-r7wxvh91.mjs +1 -0
  386. package/dist/chunks/prompts-1.1.4-26y972y6.mjs +1 -0
  387. package/dist/chunks/protocolHandler-1.1.4-7zfqar8j.mjs +13 -0
  388. package/dist/chunks/provider-1.1.4-g97havfk.mjs +2 -0
  389. package/dist/chunks/providerProfiles-1.1.4-v8yppf0j.mjs +1 -0
  390. package/dist/chunks/providerValidation-1.1.4-sr2vhead.mjs +6 -0
  391. package/dist/chunks/rate-limit-options-1.1.4-bndvfd35.mjs +1 -0
  392. package/dist/chunks/registerSubcommands-1.1.4-abyv44kq.mjs +34 -0
  393. package/dist/chunks/registry-1.1.4-2dkk6scg.mjs +1 -0
  394. package/dist/chunks/release-notes-1.1.4-0aqxbex3.mjs +5 -0
  395. package/dist/chunks/reload-plugins-1.1.4-gat28fq4.mjs +2 -0
  396. package/dist/chunks/remote-env-1.1.4-sn5rdvx2.mjs +1 -0
  397. package/dist/chunks/remoteBridgeCore-1.1.4-pd63jnee.mjs +1 -0
  398. package/dist/chunks/remoteSession-1.1.4-0wk0yffw.mjs +1 -0
  399. package/dist/chunks/rename-1.1.4-r9a1zc1y.mjs +1 -0
  400. package/dist/chunks/replBridgeHandle-1.1.4-rb9fzpda.mjs +1 -0
  401. package/dist/chunks/replLauncher-1.1.4-cvcyz94s.mjs +1 -0
  402. package/dist/chunks/resume-1.1.4-3qy136p1.mjs +2 -0
  403. package/dist/chunks/rewind-1.1.4-c9gdxp13.mjs +1 -0
  404. package/dist/chunks/rootOptions-1.1.4-6zd74fce.mjs +1 -0
  405. package/dist/chunks/runWorkflowHeadless-1.1.4-mvj2fn0p.mjs +10 -0
  406. package/dist/chunks/sandbox-adapter-1.1.4-j6cfgrhj.mjs +1 -0
  407. package/dist/chunks/sandbox-toggle-1.1.4-4a59zac7.mjs +1 -0
  408. package/dist/chunks/session-1.1.4-5504ewv9.mjs +2 -0
  409. package/dist/chunks/sessionDiscovery-1.1.4-0jmcbvvb.mjs +1 -0
  410. package/dist/chunks/sessionFileAccessHooks-1.1.4-bkw8bzvd.mjs +1 -0
  411. package/dist/chunks/sessionStorage-1.1.4-jrxy5nwv.mjs +1 -0
  412. package/dist/chunks/settings-1.1.4-x2nhddwq.mjs +1 -0
  413. package/dist/chunks/setup-1.1.4-kaet4ypb.mjs +5 -0
  414. package/dist/chunks/sinks-1.1.4-9g0pah73.mjs +1 -0
  415. package/dist/chunks/skills-1.1.4-0p66nwxp.mjs +1 -0
  416. package/dist/chunks/startupProfiler-1.1.4-8jnqyvyn.mjs +1 -0
  417. package/dist/chunks/startupUpdateCheck-1.1.4-98n3b718.mjs +1 -0
  418. package/dist/chunks/state-1.1.4-rm5651xg.mjs +1 -0
  419. package/dist/chunks/stats-1.1.4-e1vedz6r.mjs +6 -0
  420. package/dist/chunks/status-1.1.4-v47t86mv.mjs +1 -0
  421. package/dist/chunks/stickers-1.1.4-5d457j1w.mjs +1 -0
  422. package/dist/chunks/subprocessEnv-1.1.4-svxhss0m.mjs +1 -0
  423. package/dist/chunks/tasks-1.1.4-cvza9kpf.mjs +1 -0
  424. package/dist/chunks/teamHelpers-1.1.4-v21fjxgf.mjs +1 -0
  425. package/dist/chunks/teammateModeSnapshot-1.1.4-8075wryx.mjs +1 -0
  426. package/dist/chunks/teleport-1.1.4-6rxc18rz.mjs +1 -0
  427. package/dist/chunks/terminalSetup-1.1.4-sd7720mx.mjs +1 -0
  428. package/dist/chunks/theme-1.1.4-6pphnv8h.mjs +1 -0
  429. package/dist/chunks/thinkback-1.1.4-wd6fcgyw.mjs +1 -0
  430. package/dist/chunks/thinkback-play-1.1.4-ydvvq4y6.mjs +1 -0
  431. package/dist/chunks/toolPool-1.1.4-v050m5b8.mjs +1 -0
  432. package/dist/chunks/toolSearch-1.1.4-wg2kk5a2.mjs +1 -0
  433. package/dist/chunks/tools-1.1.4-g181kv47.mjs +1 -0
  434. package/dist/chunks/trustedDevice-1.1.4-tdeqsy06.mjs +1 -0
  435. package/dist/chunks/turndown.cjs-1.1.4-sj3ajz7z.mjs +69 -0
  436. package/dist/chunks/types-1.1.4-ggcwt1pq.mjs +1 -0
  437. package/dist/chunks/ultrareviewCommand-1.1.4-nrnrb8c3.mjs +4 -0
  438. package/dist/chunks/update-1.1.4-z8g0pneq.mjs +72 -0
  439. package/dist/chunks/upgrade-1.1.4-e34ebc9z.mjs +1 -0
  440. package/dist/chunks/upload-1.1.4-2av9969z.mjs +7 -0
  441. package/dist/chunks/upstreamproxy-1.1.4-e3t0n54y.mjs +14 -0
  442. package/dist/chunks/url-handler-napi-1.1.4-hghknwdd.mjs +1 -0
  443. package/dist/chunks/usage-1.1.4-wc38b22t.mjs +1 -0
  444. package/dist/chunks/util-1.1.4-re2ggpra.mjs +1 -0
  445. package/dist/chunks/utils-1.1.4-xzem7sm6.mjs +1 -0
  446. package/dist/chunks/vim-1.1.4-ybw4ky04.mjs +1 -0
  447. package/dist/chunks/watchLoop-1.1.4-mshcfcqq.mjs +13 -0
  448. package/dist/chunks/watcher-1.1.4-fbr5em87.mjs +1 -0
  449. package/dist/chunks/wiki-1.1.4-hddnvztx.mjs +132 -0
  450. package/dist/chunks/workflows-1.1.4-5zm6r9s5.mjs +1 -0
  451. package/dist/chunks/worktree-1.1.4-6xqk6k5z.mjs +1 -0
  452. package/dist/chunks/worktreeModeEnabled-1.1.4-axxnvhc8.mjs +1 -0
  453. package/dist/chunks/wrapper-1.1.4-y14g4zah.mjs +7 -0
  454. package/dist/cli.mjs +2 -2
  455. package/package.json +9 -9
  456. package/dist/chunks/AgentTool-1.1.2-6zb8pht6.mjs +0 -1
  457. package/dist/chunks/App-1.1.2-8j8hmwy9.mjs +0 -1
  458. package/dist/chunks/ApproveApiKey-1.1.2-ejb1881w.mjs +0 -1
  459. package/dist/chunks/AssistantSessionChooser-1.1.2-y7hdgasp.mjs +0 -1
  460. package/dist/chunks/AutoModeOptInDialog-1.1.2-b2ckdy5h.mjs +0 -1
  461. package/dist/chunks/BypassPermissionsModeDialog-1.1.2-nk59yp5m.mjs +0 -1
  462. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.2-t6wsf59z.mjs +0 -1
  463. package/dist/chunks/ConsoleOAuthFlow-1.1.2-ehy8cjkp.mjs +0 -1
  464. package/dist/chunks/DiffDialog-1.1.2-2834m4pm.mjs +0 -7
  465. package/dist/chunks/Doctor-1.1.2-rrjcjsbd.mjs +0 -1
  466. package/dist/chunks/ExplorerDialog-1.1.2-a4eqp58y.mjs +0 -6
  467. package/dist/chunks/Grove-1.1.2-e07ta9pa.mjs +0 -1
  468. package/dist/chunks/ITermBackend-1.1.2-mdqpkv6t.mjs +0 -1
  469. package/dist/chunks/InvalidConfigDialog-1.1.2-fwghx005.mjs +0 -1
  470. package/dist/chunks/InvalidSettingsDialog-1.1.2-47vmakv0.mjs +0 -1
  471. package/dist/chunks/MigrationDialog-1.1.2-tphw5gq9.mjs +0 -1
  472. package/dist/chunks/Onboarding-1.1.2-a645a6a2.mjs +0 -1
  473. package/dist/chunks/ProviderManager-1.1.2-48xvht72.mjs +0 -1
  474. package/dist/chunks/REPL-1.1.2-a2z2r0kz.mjs +0 -1
  475. package/dist/chunks/ResumeConversation-1.1.2-avb3zbsn.mjs +0 -1
  476. package/dist/chunks/SnapshotUpdateDialog-1.1.2-r8c624d9.mjs +0 -1
  477. package/dist/chunks/TeleportProgress-1.1.2-1mmfypbv.mjs +0 -1
  478. package/dist/chunks/TeleportRepoMismatchDialog-1.1.2-ky4az8t9.mjs +0 -1
  479. package/dist/chunks/TeleportResumeWrapper-1.1.2-w72b36j1.mjs +0 -1
  480. package/dist/chunks/TmuxBackend-1.1.2-ejx4rvac.mjs +0 -9
  481. package/dist/chunks/ToolSearchTool-1.1.2-5m2ekdy4.mjs +0 -1
  482. package/dist/chunks/TrustDialog-1.1.2-b7q0fb2j.mjs +0 -1
  483. package/dist/chunks/activeProvider-1.1.2-j0pztex4.mjs +0 -1
  484. package/dist/chunks/add-dir-1.1.2-fzpmgh1h.mjs +0 -1
  485. package/dist/chunks/agentTypes-1.1.2-vr9770fz.mjs +0 -1
  486. package/dist/chunks/agents-1.1.2-n6dejn00.mjs +0 -3
  487. package/dist/chunks/agents-1.1.2-rxkey856.mjs +0 -110
  488. package/dist/chunks/api-1.1.2-fpd74byc.mjs +0 -1
  489. package/dist/chunks/asciicast-1.1.2-0nvcvhqa.mjs +0 -1
  490. package/dist/chunks/assistant-1.1.2-ywzgwzmt.mjs +0 -1
  491. package/dist/chunks/auth-1.1.2-cg0svgv7.mjs +0 -1
  492. package/dist/chunks/auth-1.1.2-s45hhsck.mjs +0 -1
  493. package/dist/chunks/autoMode-1.1.2-6q0pp71h.mjs +0 -48
  494. package/dist/chunks/autoUpdater-1.1.2-bnwzvzbf.mjs +0 -1
  495. package/dist/chunks/backgroundHousekeeping-1.1.2-meh5zm3k.mjs +0 -1
  496. package/dist/chunks/branch-1.1.2-exyc66rb.mjs +0 -4
  497. package/dist/chunks/bridge-1.1.2-zvk3eymq.mjs +0 -2
  498. package/dist/chunks/bridgeConfig-1.1.2-mr20ypjr.mjs +0 -1
  499. package/dist/chunks/bridgeEnabled-1.1.2-s41251vp.mjs +0 -1
  500. package/dist/chunks/bridgeMain-1.1.2-tse9m0x8.mjs +0 -88
  501. package/dist/chunks/bridgePointer-1.1.2-grjrm008.mjs +0 -1
  502. package/dist/chunks/btw-1.1.2-6xz6s5f3.mjs +0 -1
  503. package/dist/chunks/buddy-1.1.2-zsy6mntg.mjs +0 -3
  504. package/dist/chunks/cacache-1.1.2-pr00fyac.mjs +0 -1
  505. package/dist/chunks/cache-probe-1.1.2-dd1ch184.mjs +0 -21
  506. package/dist/chunks/cacheStats-1.1.2-xnm7ts60.mjs +0 -4
  507. package/dist/chunks/caches-1.1.2-s4tektt8.mjs +0 -1
  508. package/dist/chunks/claudeDesktop-1.1.2-krejmvza.mjs +0 -1
  509. package/dist/chunks/claudemd-1.1.2-g1dwsxtx.mjs +0 -1
  510. package/dist/chunks/clear-1.1.2-5fz98qqy.mjs +0 -1
  511. package/dist/chunks/clearTerminal-1.1.2-heqmh2ay.mjs +0 -1
  512. package/dist/chunks/cli-1.1.2-00hggnnf.mjs +0 -9
  513. package/dist/chunks/cli-1.1.2-06gbqkw3.mjs +0 -2
  514. package/dist/chunks/cli-1.1.2-06wg9ep0.mjs +0 -2
  515. package/dist/chunks/cli-1.1.2-0q8k3447.mjs +0 -2
  516. package/dist/chunks/cli-1.1.2-10g0wy7w.mjs +0 -2
  517. package/dist/chunks/cli-1.1.2-12xajsdg.mjs +0 -2
  518. package/dist/chunks/cli-1.1.2-1a35rnqk.mjs +0 -2
  519. package/dist/chunks/cli-1.1.2-1kqxt2v2.mjs +0 -2
  520. package/dist/chunks/cli-1.1.2-1rh7zj2h.mjs +0 -133
  521. package/dist/chunks/cli-1.1.2-1v80dsr5.mjs +0 -2
  522. package/dist/chunks/cli-1.1.2-1z8yre0p.mjs +0 -2
  523. package/dist/chunks/cli-1.1.2-22w1aakd.mjs +0 -17
  524. package/dist/chunks/cli-1.1.2-26xrf159.mjs +0 -2
  525. package/dist/chunks/cli-1.1.2-2d3dw4nn.mjs +0 -25
  526. package/dist/chunks/cli-1.1.2-2rf4g79b.mjs +0 -3
  527. package/dist/chunks/cli-1.1.2-2vzy6fgr.mjs +0 -4
  528. package/dist/chunks/cli-1.1.2-2x9dcdpq.mjs +0 -2
  529. package/dist/chunks/cli-1.1.2-2ya2s94w.mjs +0 -15
  530. package/dist/chunks/cli-1.1.2-2ygaa01s.mjs +0 -3
  531. package/dist/chunks/cli-1.1.2-312r29db.mjs +0 -2
  532. package/dist/chunks/cli-1.1.2-38rgkyw3.mjs +0 -2
  533. package/dist/chunks/cli-1.1.2-39xjjhsf.mjs +0 -24
  534. package/dist/chunks/cli-1.1.2-3mhsnff4.mjs +0 -2
  535. package/dist/chunks/cli-1.1.2-3mpy81rn.mjs +0 -2
  536. package/dist/chunks/cli-1.1.2-3v91jtm9.mjs +0 -2
  537. package/dist/chunks/cli-1.1.2-3vhc8676.mjs +0 -2
  538. package/dist/chunks/cli-1.1.2-3w0nbdtc.mjs +0 -2
  539. package/dist/chunks/cli-1.1.2-45nwkmpy.mjs +0 -2
  540. package/dist/chunks/cli-1.1.2-4d1hhyqs.mjs +0 -2
  541. package/dist/chunks/cli-1.1.2-4e3xrjth.mjs +0 -2
  542. package/dist/chunks/cli-1.1.2-4skhxaf4.mjs +0 -6
  543. package/dist/chunks/cli-1.1.2-4x5wz1xq.mjs +0 -67
  544. package/dist/chunks/cli-1.1.2-51pdt76x.mjs +0 -2
  545. package/dist/chunks/cli-1.1.2-526csky8.mjs +0 -2
  546. package/dist/chunks/cli-1.1.2-5dbzz1pp.mjs +0 -12
  547. package/dist/chunks/cli-1.1.2-5pe3b93k.mjs +0 -25
  548. package/dist/chunks/cli-1.1.2-5w2m33hk.mjs +0 -2
  549. package/dist/chunks/cli-1.1.2-5wfgzqgc.mjs +0 -2
  550. package/dist/chunks/cli-1.1.2-61nmeckv.mjs +0 -4
  551. package/dist/chunks/cli-1.1.2-63p3yvzk.mjs +0 -2
  552. package/dist/chunks/cli-1.1.2-64bjkwj9.mjs +0 -2
  553. package/dist/chunks/cli-1.1.2-6cj9ggma.mjs +0 -5638
  554. package/dist/chunks/cli-1.1.2-6kq0hmvj.mjs +0 -2
  555. package/dist/chunks/cli-1.1.2-6r2ybktd.mjs +0 -18
  556. package/dist/chunks/cli-1.1.2-79hm6s3a.mjs +0 -7
  557. package/dist/chunks/cli-1.1.2-7fe75jd9.mjs +0 -2
  558. package/dist/chunks/cli-1.1.2-7fjx7f8d.mjs +0 -2
  559. package/dist/chunks/cli-1.1.2-7jcscwh5.mjs +0 -2
  560. package/dist/chunks/cli-1.1.2-7m5zhsrs.mjs +0 -2
  561. package/dist/chunks/cli-1.1.2-7q8cqbtc.mjs +0 -2
  562. package/dist/chunks/cli-1.1.2-7swa79jc.mjs +0 -24
  563. package/dist/chunks/cli-1.1.2-7xwayv2p.mjs +0 -20
  564. package/dist/chunks/cli-1.1.2-8d3m4zhf.mjs +0 -2
  565. package/dist/chunks/cli-1.1.2-8fsex5c8.mjs +0 -2
  566. package/dist/chunks/cli-1.1.2-8trsbckp.mjs +0 -2
  567. package/dist/chunks/cli-1.1.2-8wc2wcne.mjs +0 -3
  568. package/dist/chunks/cli-1.1.2-94nsdbgk.mjs +0 -2
  569. package/dist/chunks/cli-1.1.2-96wg2gfk.mjs +0 -2
  570. package/dist/chunks/cli-1.1.2-99rcxvch.mjs +0 -2
  571. package/dist/chunks/cli-1.1.2-9ash84j3.mjs +0 -2
  572. package/dist/chunks/cli-1.1.2-9ke8m3ex.mjs +0 -2
  573. package/dist/chunks/cli-1.1.2-9rh5p8p5.mjs +0 -2
  574. package/dist/chunks/cli-1.1.2-a69xymn7.mjs +0 -2
  575. package/dist/chunks/cli-1.1.2-a9n9p929.mjs +0 -2
  576. package/dist/chunks/cli-1.1.2-aav0ncfm.mjs +0 -2
  577. package/dist/chunks/cli-1.1.2-ad1q4yds.mjs +0 -4
  578. package/dist/chunks/cli-1.1.2-aq3e6kg7.mjs +0 -2
  579. package/dist/chunks/cli-1.1.2-ax711ayq.mjs +0 -2
  580. package/dist/chunks/cli-1.1.2-b850wzhk.mjs +0 -2
  581. package/dist/chunks/cli-1.1.2-b9tdyfz3.mjs +0 -21
  582. package/dist/chunks/cli-1.1.2-bhjzjkag.mjs +0 -4
  583. package/dist/chunks/cli-1.1.2-bvvn3mfz.mjs +0 -2
  584. package/dist/chunks/cli-1.1.2-cs3wpy5m.mjs +0 -2
  585. package/dist/chunks/cli-1.1.2-d0dmaqaz.mjs +0 -2
  586. package/dist/chunks/cli-1.1.2-d3vc56eg.mjs +0 -4
  587. package/dist/chunks/cli-1.1.2-d9r7gv39.mjs +0 -2
  588. package/dist/chunks/cli-1.1.2-dg1134n2.mjs +0 -2
  589. package/dist/chunks/cli-1.1.2-dgw89jzs.mjs +0 -4
  590. package/dist/chunks/cli-1.1.2-e9bnprf3.mjs +0 -2
  591. package/dist/chunks/cli-1.1.2-efe0402v.mjs +0 -2
  592. package/dist/chunks/cli-1.1.2-em7hye78.mjs +0 -4
  593. package/dist/chunks/cli-1.1.2-eqyyfzzp.mjs +0 -2
  594. package/dist/chunks/cli-1.1.2-evsw8rmv.mjs +0 -2
  595. package/dist/chunks/cli-1.1.2-f5bj8nyg.mjs +0 -2
  596. package/dist/chunks/cli-1.1.2-f8pc3h46.mjs +0 -16
  597. package/dist/chunks/cli-1.1.2-fcjvcn8t.mjs +0 -2
  598. package/dist/chunks/cli-1.1.2-fmrgtbj6.mjs +0 -2
  599. package/dist/chunks/cli-1.1.2-fnfay3zd.mjs +0 -2
  600. package/dist/chunks/cli-1.1.2-fnp913tz.mjs +0 -2
  601. package/dist/chunks/cli-1.1.2-fq7w78vq.mjs +0 -2
  602. package/dist/chunks/cli-1.1.2-fs1t9yw3.mjs +0 -15
  603. package/dist/chunks/cli-1.1.2-fwcddg2k.mjs +0 -3
  604. package/dist/chunks/cli-1.1.2-g3dcz46h.mjs +0 -2
  605. package/dist/chunks/cli-1.1.2-g3ms995y.mjs +0 -2
  606. package/dist/chunks/cli-1.1.2-g9cs3fkf.mjs +0 -24
  607. package/dist/chunks/cli-1.1.2-gb52rdfa.mjs +0 -2
  608. package/dist/chunks/cli-1.1.2-gb58q1j1.mjs +0 -2
  609. package/dist/chunks/cli-1.1.2-gdcv810d.mjs +0 -2
  610. package/dist/chunks/cli-1.1.2-gqdaxfvm.mjs +0 -2
  611. package/dist/chunks/cli-1.1.2-gtjv8yhc.mjs +0 -2
  612. package/dist/chunks/cli-1.1.2-gvwc8kmd.mjs +0 -6
  613. package/dist/chunks/cli-1.1.2-gws9nr18.mjs +0 -9
  614. package/dist/chunks/cli-1.1.2-gxzwceae.mjs +0 -2
  615. package/dist/chunks/cli-1.1.2-gy0p2qqf.mjs +0 -4
  616. package/dist/chunks/cli-1.1.2-h2avr3ya.mjs +0 -2
  617. package/dist/chunks/cli-1.1.2-h9csstnw.mjs +0 -2
  618. package/dist/chunks/cli-1.1.2-hpx774ph.mjs +0 -3
  619. package/dist/chunks/cli-1.1.2-hzaqg545.mjs +0 -17
  620. package/dist/chunks/cli-1.1.2-j9n5qd1w.mjs +0 -2
  621. package/dist/chunks/cli-1.1.2-jpgqkhxd.mjs +0 -59
  622. package/dist/chunks/cli-1.1.2-js4s7tq5.mjs +0 -2
  623. package/dist/chunks/cli-1.1.2-jv9f8r52.mjs +0 -3
  624. package/dist/chunks/cli-1.1.2-jxkffay4.mjs +0 -2
  625. package/dist/chunks/cli-1.1.2-k077a0s0.mjs +0 -2
  626. package/dist/chunks/cli-1.1.2-k3tsqm2p.mjs +0 -2
  627. package/dist/chunks/cli-1.1.2-k4bpvm06.mjs +0 -2
  628. package/dist/chunks/cli-1.1.2-k61a86d8.mjs +0 -3
  629. package/dist/chunks/cli-1.1.2-kahqzzrg.mjs +0 -2
  630. package/dist/chunks/cli-1.1.2-kav702qr.mjs +0 -2
  631. package/dist/chunks/cli-1.1.2-kcfzd7n8.mjs +0 -2
  632. package/dist/chunks/cli-1.1.2-kkgf4hyc.mjs +0 -3
  633. package/dist/chunks/cli-1.1.2-kq402xqd.mjs +0 -2
  634. package/dist/chunks/cli-1.1.2-m0529q09.mjs +0 -45
  635. package/dist/chunks/cli-1.1.2-m2ar3b2y.mjs +0 -18
  636. package/dist/chunks/cli-1.1.2-m4ksha3b.mjs +0 -2
  637. package/dist/chunks/cli-1.1.2-m7d5acdw.mjs +0 -2
  638. package/dist/chunks/cli-1.1.2-ma8mh6tb.mjs +0 -2
  639. package/dist/chunks/cli-1.1.2-mnp59g5q.mjs +0 -12
  640. package/dist/chunks/cli-1.1.2-mr55880g.mjs +0 -2
  641. package/dist/chunks/cli-1.1.2-mtztdv5m.mjs +0 -2
  642. package/dist/chunks/cli-1.1.2-n2f8jkwd.mjs +0 -2
  643. package/dist/chunks/cli-1.1.2-n2k1y1rv.mjs +0 -2
  644. package/dist/chunks/cli-1.1.2-nd5g2z1v.mjs +0 -2
  645. package/dist/chunks/cli-1.1.2-nskkg1h5.mjs +0 -5
  646. package/dist/chunks/cli-1.1.2-p8amxd73.mjs +0 -4
  647. package/dist/chunks/cli-1.1.2-pbtymf0g.mjs +0 -2
  648. package/dist/chunks/cli-1.1.2-pgt1vydc.mjs +0 -2
  649. package/dist/chunks/cli-1.1.2-qg5xbb38.mjs +0 -2
  650. package/dist/chunks/cli-1.1.2-qge4zbeg.mjs +0 -2
  651. package/dist/chunks/cli-1.1.2-qm56km1n.mjs +0 -4
  652. package/dist/chunks/cli-1.1.2-qxjs641v.mjs +0 -2
  653. package/dist/chunks/cli-1.1.2-r32per66.mjs +0 -2
  654. package/dist/chunks/cli-1.1.2-r39g5zy8.mjs +0 -2
  655. package/dist/chunks/cli-1.1.2-re4qc97z.mjs +0 -6
  656. package/dist/chunks/cli-1.1.2-rm27fqp7.mjs +0 -2
  657. package/dist/chunks/cli-1.1.2-rp3kb2k1.mjs +0 -2
  658. package/dist/chunks/cli-1.1.2-rwfksv3e.mjs +0 -8
  659. package/dist/chunks/cli-1.1.2-rx0kctyq.mjs +0 -15
  660. package/dist/chunks/cli-1.1.2-ryw7gagg.mjs +0 -2
  661. package/dist/chunks/cli-1.1.2-s2xde2xb.mjs +0 -2
  662. package/dist/chunks/cli-1.1.2-s6et33a5.mjs +0 -2
  663. package/dist/chunks/cli-1.1.2-s76jqr70.mjs +0 -2
  664. package/dist/chunks/cli-1.1.2-sd7xc4s3.mjs +0 -2
  665. package/dist/chunks/cli-1.1.2-sdra9y0x.mjs +0 -34
  666. package/dist/chunks/cli-1.1.2-se3yz188.mjs +0 -2
  667. package/dist/chunks/cli-1.1.2-sk8gpfnw.mjs +0 -2
  668. package/dist/chunks/cli-1.1.2-sxp48xhs.mjs +0 -133
  669. package/dist/chunks/cli-1.1.2-t4aw8heb.mjs +0 -2
  670. package/dist/chunks/cli-1.1.2-t9knn0qp.mjs +0 -2
  671. package/dist/chunks/cli-1.1.2-tepjwp3h.mjs +0 -2
  672. package/dist/chunks/cli-1.1.2-thb8wh7v.mjs +0 -2
  673. package/dist/chunks/cli-1.1.2-tk5pscqh.mjs +0 -12
  674. package/dist/chunks/cli-1.1.2-tkr9thek.mjs +0 -6
  675. package/dist/chunks/cli-1.1.2-tn2dw7tr.mjs +0 -2
  676. package/dist/chunks/cli-1.1.2-tyx76ya3.mjs +0 -2
  677. package/dist/chunks/cli-1.1.2-v4dexj9m.mjs +0 -2
  678. package/dist/chunks/cli-1.1.2-v5aq687d.mjs +0 -4
  679. package/dist/chunks/cli-1.1.2-vdnvxk7d.mjs +0 -2
  680. package/dist/chunks/cli-1.1.2-vdtd8tyw.mjs +0 -3
  681. package/dist/chunks/cli-1.1.2-vedfryrw.mjs +0 -39
  682. package/dist/chunks/cli-1.1.2-vkw3t6e1.mjs +0 -2
  683. package/dist/chunks/cli-1.1.2-vn5a5kng.mjs +0 -2
  684. package/dist/chunks/cli-1.1.2-vqhs2nfg.mjs +0 -2
  685. package/dist/chunks/cli-1.1.2-w39dxwaq.mjs +0 -5
  686. package/dist/chunks/cli-1.1.2-w6e54y3j.mjs +0 -2
  687. package/dist/chunks/cli-1.1.2-wd7anmzt.mjs +0 -2
  688. package/dist/chunks/cli-1.1.2-wfh9694n.mjs +0 -42
  689. package/dist/chunks/cli-1.1.2-whyrn26g.mjs +0 -2
  690. package/dist/chunks/cli-1.1.2-wtjpdxah.mjs +0 -2
  691. package/dist/chunks/cli-1.1.2-wz2q0wq7.mjs +0 -2
  692. package/dist/chunks/cli-1.1.2-x6tg8d4f.mjs +0 -58
  693. package/dist/chunks/cli-1.1.2-x7pdyv4r.mjs +0 -3
  694. package/dist/chunks/cli-1.1.2-x7qa1qq3.mjs +0 -50
  695. package/dist/chunks/cli-1.1.2-xbpjh8ph.mjs +0 -2
  696. package/dist/chunks/cli-1.1.2-xpf1bbmk.mjs +0 -2
  697. package/dist/chunks/cli-1.1.2-xrfe457w.mjs +0 -2
  698. package/dist/chunks/cli-1.1.2-y2eet2t4.mjs +0 -2
  699. package/dist/chunks/cli-1.1.2-y8dhsas4.mjs +0 -12
  700. package/dist/chunks/cli-1.1.2-yajs5n37.mjs +0 -18
  701. package/dist/chunks/cli-1.1.2-yh44qbw4.mjs +0 -2
  702. package/dist/chunks/cli-1.1.2-yj8m159m.mjs +0 -2
  703. package/dist/chunks/cli-1.1.2-z2m1x4a9.mjs +0 -2
  704. package/dist/chunks/cli-1.1.2-z31tqg0s.mjs +0 -202
  705. package/dist/chunks/cli-1.1.2-z56w3mhn.mjs +0 -3
  706. package/dist/chunks/cli-1.1.2-z7ha6v3f.mjs +0 -2
  707. package/dist/chunks/cli-1.1.2-ze70ftw0.mjs +0 -1
  708. package/dist/chunks/cli-1.1.2-zm6bk4ph.mjs +0 -2
  709. package/dist/chunks/cli-1.1.2-zn8nzq9g.mjs +0 -2
  710. package/dist/chunks/cli-1.1.2-zv4bhn4s.mjs +0 -6
  711. package/dist/chunks/cli-1.1.2-zy0pbg7t.mjs +0 -3
  712. package/dist/chunks/cli-1.1.2-zy7bxchk.mjs +0 -2
  713. package/dist/chunks/cli-1.1.2-zy8c0mk4.mjs +0 -2
  714. package/dist/chunks/cli-1.1.2-zzd75gm6.mjs +0 -2
  715. package/dist/chunks/client-1.1.2-cfb4as3w.mjs +0 -1
  716. package/dist/chunks/color-1.1.2-1sf55h7k.mjs +0 -1
  717. package/dist/chunks/compact-1.1.2-dd3f57yj.mjs +0 -3
  718. package/dist/chunks/config-1.1.2-6bc1gc6c.mjs +0 -1
  719. package/dist/chunks/config-1.1.2-p9t1wpdw.mjs +0 -1
  720. package/dist/chunks/constants-1.1.2-tkm4c60r.mjs +0 -1
  721. package/dist/chunks/context-1.1.2-rw4msk80.mjs +0 -1
  722. package/dist/chunks/context-noninteractive-1.1.2-c5hbr649.mjs +0 -1
  723. package/dist/chunks/conversation-1.1.2-h9dvper4.mjs +0 -1
  724. package/dist/chunks/copilotHeaders-1.1.2-nv81crna.mjs +0 -1
  725. package/dist/chunks/copy-1.1.2-hr7v2mx9.mjs +0 -9
  726. package/dist/chunks/cost-1.1.2-hdy89g4q.mjs +0 -1
  727. package/dist/chunks/createSSHSession-1.1.2-6v2x5eg0.mjs +0 -1
  728. package/dist/chunks/createSession-1.1.2-ygyb7e8j.mjs +0 -1
  729. package/dist/chunks/debug-1.1.2-wk2d9rj6.mjs +0 -1
  730. package/dist/chunks/defaultActionDeps-1.1.2-gjp00h29.mjs +0 -1446
  731. package/dist/chunks/desktop-1.1.2-egp65wej.mjs +0 -1
  732. package/dist/chunks/detectRepository-1.1.2-qh9nf9kg.mjs +0 -1
  733. package/dist/chunks/detection-1.1.2-02zpqkt2.mjs +0 -1
  734. package/dist/chunks/diff-1.1.2-29snp7ez.mjs +0 -1
  735. package/dist/chunks/doctor-1.1.2-b321t9z0.mjs +0 -1
  736. package/dist/chunks/doctorDiagnostic-1.1.2-214xq5kx.mjs +0 -1
  737. package/dist/chunks/earlyInput-1.1.2-n8b9n8hj.mjs +0 -1
  738. package/dist/chunks/effort-1.1.2-42pxj2ke.mjs +0 -13
  739. package/dist/chunks/engine-1.1.2-071c5ycx.mjs +0 -1
  740. package/dist/chunks/envLessBridgeConfig-1.1.2-90nzxgap.mjs +0 -1
  741. package/dist/chunks/envUtils-1.1.2-rdsjbb4f.mjs +0 -1
  742. package/dist/chunks/environmentSelection-1.1.2-eeacbnpj.mjs +0 -1
  743. package/dist/chunks/environments-1.1.2-e0a09brc.mjs +0 -1
  744. package/dist/chunks/errors-1.1.2-1fp0w76h.mjs +0 -1
  745. package/dist/chunks/exampleCommands-1.1.2-prrwcbkh.mjs +0 -1
  746. package/dist/chunks/execFileNoThrow-1.1.2-61na3ack.mjs +0 -1
  747. package/dist/chunks/exit-1.1.2-eh7t4pcy.mjs +0 -1
  748. package/dist/chunks/explorer-1.1.2-7brsg8bj.mjs +0 -1
  749. package/dist/chunks/export-1.1.2-2m0sfme0.mjs +0 -2
  750. package/dist/chunks/extra-usage-1.1.2-akf4qvp0.mjs +0 -1
  751. package/dist/chunks/extra-usage-noninteractive-1.1.2-ysbmggsv.mjs +0 -1
  752. package/dist/chunks/fast-1.1.2-43wzezv3.mjs +0 -1
  753. package/dist/chunks/feedback-1.1.2-92k099e0.mjs +0 -14
  754. package/dist/chunks/firstPartyEventLogger-1.1.2-ksq42qwt.mjs +0 -1
  755. package/dist/chunks/git-1.1.2-fgm2kpjd.mjs +0 -1
  756. package/dist/chunks/githubModelsCredentials-1.1.2-vj6dwy2c.mjs +0 -1
  757. package/dist/chunks/goal-1.1.2-hnd6dfnz.mjs +0 -4
  758. package/dist/chunks/grove-1.1.2-74zq9th4.mjs +0 -1
  759. package/dist/chunks/growthbook-1.1.2-x4pfbgm2.mjs +0 -1
  760. package/dist/chunks/headless-1.1.2-rhab73x2.mjs +0 -2
  761. package/dist/chunks/heapdump-1.1.2-a698r5c6.mjs +0 -6
  762. package/dist/chunks/help-1.1.2-er6xvvy0.mjs +0 -1
  763. package/dist/chunks/hookChains-1.1.2-yh3dmw0j.mjs +0 -3
  764. package/dist/chunks/hooks-1.1.2-63zxxjj9.mjs +0 -79
  765. package/dist/chunks/hooks-1.1.2-ez3kc0p2.mjs +0 -1
  766. package/dist/chunks/ide-1.1.2-je812srr.mjs +0 -3
  767. package/dist/chunks/image-processor-napi-1.1.2-xe8n5srr.mjs +0 -1
  768. package/dist/chunks/inboundAttachments-1.1.2-qywwkc7m.mjs +0 -1
  769. package/dist/chunks/index-1.1.2-3evh58r7.mjs +0 -1
  770. package/dist/chunks/index-1.1.2-69bhefzj.mjs +0 -1
  771. package/dist/chunks/index-1.1.2-7kya3jrk.mjs +0 -1
  772. package/dist/chunks/index-1.1.2-7sphewt0.mjs +0 -5
  773. package/dist/chunks/index-1.1.2-947wna4y.mjs +0 -1
  774. package/dist/chunks/index-1.1.2-95c20hmc.mjs +0 -1
  775. package/dist/chunks/index-1.1.2-9xdx0kw2.mjs +0 -1
  776. package/dist/chunks/index-1.1.2-bvpaf73z.mjs +0 -2
  777. package/dist/chunks/index-1.1.2-dkvq5y5c.mjs +0 -1
  778. package/dist/chunks/index-1.1.2-ebc3q9cn.mjs +0 -9
  779. package/dist/chunks/index-1.1.2-htmnqkfh.mjs +0 -1
  780. package/dist/chunks/index-1.1.2-kdaazhrb.mjs +0 -1
  781. package/dist/chunks/index-1.1.2-kzzb5289.mjs +0 -1
  782. package/dist/chunks/index-1.1.2-madt9yt1.mjs +0 -1
  783. package/dist/chunks/index-1.1.2-mvhaw48f.mjs +0 -2
  784. package/dist/chunks/index-1.1.2-pzx0977r.mjs +0 -1
  785. package/dist/chunks/index-1.1.2-r1zg7fm1.mjs +0 -1
  786. package/dist/chunks/index-1.1.2-s1rqf88d.mjs +0 -1
  787. package/dist/chunks/index-1.1.2-t2gvqgcr.mjs +0 -1
  788. package/dist/chunks/index-1.1.2-thaazk19.mjs +0 -17
  789. package/dist/chunks/index-1.1.2-wey7e6ag.mjs +0 -30
  790. package/dist/chunks/index-1.1.2-y8ab1zbc.mjs +0 -1
  791. package/dist/chunks/index-1.1.2-zzrwyq5p.mjs +0 -9
  792. package/dist/chunks/init-1.1.2-85zbvgkj.mjs +0 -1
  793. package/dist/chunks/initReplBridge-1.1.2-de5jg8xg.mjs +0 -1
  794. package/dist/chunks/ink-1.1.2-dqpj9964.mjs +0 -1
  795. package/dist/chunks/insights-1.1.2-y73zf53m.mjs +0 -870
  796. package/dist/chunks/install-1.1.2-89hhj53e.mjs +0 -1
  797. package/dist/chunks/install-github-app-1.1.2-qvppzny7.mjs +0 -149
  798. package/dist/chunks/install-slack-app-1.1.2-3h092m6m.mjs +0 -1
  799. package/dist/chunks/instrumentation-1.1.2-knbaf11q.mjs +0 -1
  800. package/dist/chunks/interactiveHelpers-1.1.2-1ef73k1d.mjs +0 -1
  801. package/dist/chunks/keybindings-1.1.2-k2t8cv4v.mjs +0 -2
  802. package/dist/chunks/knowledge-1.1.2-ssv0qdb3.mjs +0 -2
  803. package/dist/chunks/latestVersionCache-1.1.2-hjg7gvvk.mjs +0 -1
  804. package/dist/chunks/loadAgentsDir-1.1.2-s1ff144v.mjs +0 -1
  805. package/dist/chunks/loadPluginHooks-1.1.2-byf6cjm1.mjs +0 -1
  806. package/dist/chunks/loadPluginHooks-1.1.2-yvdv9pjd.mjs +0 -1
  807. package/dist/chunks/log-1.1.2-8cc3djq5.mjs +0 -1
  808. package/dist/chunks/main-1.1.2-th8b6kt4.mjs +0 -1
  809. package/dist/chunks/managedEnv-1.1.2-z470j86z.mjs +0 -1
  810. package/dist/chunks/mcp-1.1.2-86tk8ay8.mjs +0 -1
  811. package/dist/chunks/mcp-1.1.2-g64z89y6.mjs +0 -17
  812. package/dist/chunks/mcp-1.1.2-snaa1cjv.mjs +0 -4
  813. package/dist/chunks/mcpb-1.1.2-4mdrmbnx.mjs +0 -1
  814. package/dist/chunks/memory-1.1.2-habj4cwz.mjs +0 -72
  815. package/dist/chunks/model-1.1.2-vdjmatpe.mjs +0 -1
  816. package/dist/chunks/model-1.1.2-y4qnzr5d.mjs +0 -2
  817. package/dist/chunks/node-1.1.2-msn09mvf.mjs +0 -12
  818. package/dist/chunks/oauth-1.1.2-95md8es8.mjs +0 -1
  819. package/dist/chunks/openaiShim-1.1.2-swxk5w2d.mjs +0 -14
  820. package/dist/chunks/output-style-1.1.2-gk5rwyf3.mjs +0 -1
  821. package/dist/chunks/package-2VNCXFNY-1.1.2-t2qeqjq8.mjs +0 -1
  822. package/dist/chunks/parseConnectUrl-1.1.2-kh0kdj72.mjs +0 -1
  823. package/dist/chunks/parser-1.1.2-bq2yyqcn.mjs +0 -1
  824. package/dist/chunks/passes-1.1.2-z98me43k.mjs +0 -1
  825. package/dist/chunks/permissions-1.1.2-4q31d83k.mjs +0 -3
  826. package/dist/chunks/permissions-1.1.2-yj6ep04t.mjs +0 -1
  827. package/dist/chunks/plan-1.1.2-aq6tkcvx.mjs +0 -1
  828. package/dist/chunks/plist-1.1.2-wtdpfgrq.mjs +0 -1
  829. package/dist/chunks/plugin-1.1.2-9h7564kc.mjs +0 -29
  830. package/dist/chunks/pluginStartupCheck-1.1.2-xs7cvmve.mjs +0 -1
  831. package/dist/chunks/plugins-1.1.2-gktqysmr.mjs +0 -9
  832. package/dist/chunks/preActionHook-1.1.2-zbm0ahc2.mjs +0 -2
  833. package/dist/chunks/print-1.1.2-9xz8kk84.mjs +0 -57
  834. package/dist/chunks/privacy-settings-1.1.2-9w8bvgmp.mjs +0 -1
  835. package/dist/chunks/process-1.1.2-4ha9kngp.mjs +0 -1
  836. package/dist/chunks/processBashCommand-1.1.2-t1abzpg8.mjs +0 -1
  837. package/dist/chunks/processSlashCommand-1.1.2-krgryjdy.mjs +0 -9
  838. package/dist/chunks/prompt-1.1.2-exabd70s.mjs +0 -1
  839. package/dist/chunks/prompt-1.1.2-qbhgy60q.mjs +0 -1
  840. package/dist/chunks/prompts-1.1.2-z5xqs93q.mjs +0 -1
  841. package/dist/chunks/protocolHandler-1.1.2-jzdef7t2.mjs +0 -13
  842. package/dist/chunks/provider-1.1.2-q784s7t1.mjs +0 -2
  843. package/dist/chunks/providerProfiles-1.1.2-hgq6ezmt.mjs +0 -1
  844. package/dist/chunks/providerValidation-1.1.2-6svgbwp4.mjs +0 -6
  845. package/dist/chunks/rate-limit-options-1.1.2-pdk8r710.mjs +0 -1
  846. package/dist/chunks/registerSubcommands-1.1.2-ja3famgz.mjs +0 -34
  847. package/dist/chunks/registry-1.1.2-bteqae43.mjs +0 -1
  848. package/dist/chunks/release-notes-1.1.2-m864etmn.mjs +0 -5
  849. package/dist/chunks/reload-plugins-1.1.2-xgc8eghm.mjs +0 -2
  850. package/dist/chunks/remote-env-1.1.2-jy20nnyn.mjs +0 -1
  851. package/dist/chunks/remoteBridgeCore-1.1.2-wrzz2zme.mjs +0 -1
  852. package/dist/chunks/remoteSession-1.1.2-2ms5x1xn.mjs +0 -1
  853. package/dist/chunks/rename-1.1.2-99a39m1m.mjs +0 -1
  854. package/dist/chunks/replBridgeHandle-1.1.2-6qx7my8a.mjs +0 -1
  855. package/dist/chunks/replLauncher-1.1.2-8aq6b75y.mjs +0 -1
  856. package/dist/chunks/resume-1.1.2-n0d6rgp7.mjs +0 -2
  857. package/dist/chunks/rewind-1.1.2-4mrqvf42.mjs +0 -1
  858. package/dist/chunks/rootOptions-1.1.2-3vma1kzy.mjs +0 -1
  859. package/dist/chunks/runWorkflowHeadless-1.1.2-qpb0brgp.mjs +0 -10
  860. package/dist/chunks/sandbox-adapter-1.1.2-985g3rtd.mjs +0 -1
  861. package/dist/chunks/sandbox-toggle-1.1.2-h5bx372x.mjs +0 -1
  862. package/dist/chunks/session-1.1.2-q3ahqvyx.mjs +0 -2
  863. package/dist/chunks/sessionDiscovery-1.1.2-qcyr8b8w.mjs +0 -1
  864. package/dist/chunks/sessionFileAccessHooks-1.1.2-2y6b014f.mjs +0 -1
  865. package/dist/chunks/sessionStorage-1.1.2-6vk4ryr3.mjs +0 -1
  866. package/dist/chunks/settings-1.1.2-nf07eg97.mjs +0 -1
  867. package/dist/chunks/setup-1.1.2-5f344krn.mjs +0 -5
  868. package/dist/chunks/sinks-1.1.2-xq2d5k0p.mjs +0 -1
  869. package/dist/chunks/skills-1.1.2-2e8x03xz.mjs +0 -1
  870. package/dist/chunks/startupProfiler-1.1.2-vbw0t7zn.mjs +0 -1
  871. package/dist/chunks/startupUpdateCheck-1.1.2-7xtv2jhz.mjs +0 -1
  872. package/dist/chunks/state-1.1.2-4stfxgxw.mjs +0 -1
  873. package/dist/chunks/stats-1.1.2-x2men93c.mjs +0 -6
  874. package/dist/chunks/status-1.1.2-k6342tq7.mjs +0 -1
  875. package/dist/chunks/stickers-1.1.2-m2ee29wd.mjs +0 -1
  876. package/dist/chunks/subprocessEnv-1.1.2-gfsm4m3z.mjs +0 -1
  877. package/dist/chunks/tasks-1.1.2-52bgwvvk.mjs +0 -1
  878. package/dist/chunks/teamHelpers-1.1.2-fcfqve0r.mjs +0 -1
  879. package/dist/chunks/teammateModeSnapshot-1.1.2-s2qw8rtp.mjs +0 -1
  880. package/dist/chunks/teleport-1.1.2-mxjmy1bj.mjs +0 -1
  881. package/dist/chunks/terminalSetup-1.1.2-376p31n2.mjs +0 -1
  882. package/dist/chunks/theme-1.1.2-vhrm8pkz.mjs +0 -1
  883. package/dist/chunks/thinkback-1.1.2-2k5azpda.mjs +0 -1
  884. package/dist/chunks/thinkback-play-1.1.2-w3xe66qy.mjs +0 -1
  885. package/dist/chunks/toolPool-1.1.2-th0e7c3p.mjs +0 -1
  886. package/dist/chunks/toolSearch-1.1.2-5vbh7tfs.mjs +0 -1
  887. package/dist/chunks/tools-1.1.2-0tdzn87s.mjs +0 -1
  888. package/dist/chunks/trustedDevice-1.1.2-s31a3mdh.mjs +0 -1
  889. package/dist/chunks/turndown.cjs-1.1.2-aj5hafxn.mjs +0 -69
  890. package/dist/chunks/types-1.1.2-vst16v9y.mjs +0 -1
  891. package/dist/chunks/ultrareviewCommand-1.1.2-3tcemmrp.mjs +0 -4
  892. package/dist/chunks/update-1.1.2-7daxbkja.mjs +0 -72
  893. package/dist/chunks/upgrade-1.1.2-paz816ha.mjs +0 -1
  894. package/dist/chunks/upload-1.1.2-tb2wafs2.mjs +0 -7
  895. package/dist/chunks/upstreamproxy-1.1.2-k3w1snzk.mjs +0 -14
  896. package/dist/chunks/url-handler-napi-1.1.2-2w62pdbp.mjs +0 -1
  897. package/dist/chunks/usage-1.1.2-xa0p51ga.mjs +0 -1
  898. package/dist/chunks/util-1.1.2-790z163z.mjs +0 -1
  899. package/dist/chunks/utils-1.1.2-vs0h9jny.mjs +0 -1
  900. package/dist/chunks/vim-1.1.2-c8e520z8.mjs +0 -1
  901. package/dist/chunks/watchLoop-1.1.2-e4ehn07s.mjs +0 -13
  902. package/dist/chunks/watcher-1.1.2-731rkpjz.mjs +0 -1
  903. package/dist/chunks/wiki-1.1.2-zbc6h2h9.mjs +0 -132
  904. package/dist/chunks/workflows-1.1.2-g3w76nrf.mjs +0 -1
  905. package/dist/chunks/worktree-1.1.2-7nptnzv3.mjs +0 -1
  906. package/dist/chunks/worktreeModeEnabled-1.1.2-kgnb2ck1.mjs +0 -1
  907. package/dist/chunks/wrapper-1.1.2-3pstqzgw.mjs +0 -7
  908. /package/dist/chunks/{cli-1.1.2-8t8veykp.mjs → cli-1.1.4-1f3p70jj.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.2-3vyt3jw9.mjs → cli-1.1.4-ez4xtmvg.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.2-6jbsqbdw.mjs → cli-1.1.4-gp99zrz4.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.1.2-btgmqahb.mjs → cli-1.1.4-gpvz5jfv.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.1.2-6d3jf0sj.mjs → cli-1.1.4-n0dzwv49.mjs} +0 -0
  913. /package/dist/chunks/{cli-1.1.2-r4rfggdk.mjs → cli-1.1.4-q1mcaeav.mjs} +0 -0
  914. /package/dist/chunks/{cli-1.1.2-pgz05ddc.mjs → cli-1.1.4-tg5t7jrb.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{wja as X,zja as z}from"./cli-1.1.4-te2372tc.mjs";import{Cka as P,cka as Z,hka as O,zka as $}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as Y,ela as H}from"./cli-1.1.4-hzx821eq.mjs";import{Isa as x}from"./cli-1.1.4-xxe2ztwq.mjs";function h(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function R(q){let K=typeof q==="string"?q:Z(q),J=h(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function U(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function j(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
+ export{N as zf,R as Af,U as Bf,j as Cf,D as Df,L as Ef,m as Ff};
@@ -0,0 +1,3 @@
1
+ import{Rc as m,Sc as v,Tc as wk}from"./cli-1.1.4-3yy14yyg.mjs";import{Hz as l,IG as n,IS as r,Iz as Vk,JG as V,JS as kk,KG as i,NG as Tk,NS as jk,PO as o,RO as t,Sn as p,Tn as zk,UO as Dk,YO as e,ZO as Uk,dB as s,eB as Gk,hF as g,iF as a,qF as Lk}from"./cli-1.1.4-6z69geef.mjs";import{J5 as d,L5 as Ok,g5 as T,m5 as Jk}from"./cli-1.1.4-fk420f57.mjs";import{g9 as f,h9 as Ik,r9 as c,u9 as Mk}from"./cli-1.1.4-0earmzgk.mjs";import{p_ as S,u_ as _k}from"./cli-1.1.4-cwnt4by7.mjs";import{$ea as b,Bga as _,Ega as Hk,P_ as K,R_ as Zk,Rda as j,W$ as P,Xea as x,_$ as $k,eea as Kk,ifa as u,qfa as $}from"./cli-1.1.4-6c3fshef.mjs";import{Dha as Yk,yha as J}from"./cli-1.1.4-rc28sjtd.mjs";import{uja as L,vja as Bk}from"./cli-1.1.4-m312ygm6.mjs";import{Cja as O,Cka as U,Eja as Rk,zka as B}from"./cli-1.1.4-53fvpymg.mjs";import{Tka as h,Zka as Y,ela as Xk}from"./cli-1.1.4-hzx821eq.mjs";import{kla as E,ula as Wk}from"./cli-1.1.4-c7a7aezt.mjs";import{Poa as w,Zqa as z,xoa as F,zoa as y}from"./cli-1.1.4-0r232fpm.mjs";import{wra as A,xra as Qk}from"./cli-1.1.4-x8m7spde.mjs";import{Jsa as W}from"./cli-1.1.4-xxe2ztwq.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-1.1.4-ftjf0rjy.mjs"),import("./growthbook-1.1.4-2khgq1sm.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.1.4-e3t0n54y.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.1.4-svxhss0m.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-1.1.4-v21fjxgf.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-1.1.4-nyd8ja4h.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-1.1.4-3dd1n7rj.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
+ export{Yq as $,Zq as aa};
@@ -0,0 +1,2 @@
1
+ import{C$ as Q,S$ as _}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as I,Kia as X}from"./cli-1.1.4-f7y4b0px.mjs";import{Cka as V,zka as B}from"./cli-1.1.4-53fvpymg.mjs";import{Isa as T}from"./cli-1.1.4-xxe2ztwq.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{Fh as e,Ih as fq}from"./cli-1.1.4-dwez6b01.mjs";import{Jh as t,Lh as Hq}from"./cli-1.1.4-gfbktjpn.mjs";import{$n as Vq,VO as o,WO as s,XO as Oq,Yn as S,Zn as Nq,_n as g,ao as $,bo as Wq,eo as i,fo as Yq,nG as r,oG as kq,xG as n,yG as Mq}from"./cli-1.1.4-6z69geef.mjs";import{BY as u,DY as Zq}from"./cli-1.1.4-k6ebhyp0.mjs";import{DZ as Qq,H1 as Xq,a1 as M,c1 as F,u1 as c,v1 as Uq}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as L,p4 as R,q4 as l}from"./cli-1.1.4-40z19hth.mjs";import{r4 as Lq}from"./cli-1.1.4-9ms3b4tc.mjs";import{D_ as d,E_ as Jq}from"./cli-1.1.4-6c3fshef.mjs";import{Esa as a,Isa as Gq}from"./cli-1.1.4-xxe2ztwq.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as Dh,Fq as Eh};
@@ -0,0 +1,2 @@
1
+ import{Asa as n}from"./cli-1.1.4-56nffz3p.mjs";import{Gsa as r}from"./cli-1.1.4-xxe2ztwq.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as n_};
@@ -0,0 +1,2 @@
1
+ import{Cka as $,zka as Q}from"./cli-1.1.4-53fvpymg.mjs";import{$ka as K,ela as Z}from"./cli-1.1.4-hzx821eq.mjs";import{hla as J,ula as Y}from"./cli-1.1.4-c7a7aezt.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
2
+ export{T as ha,w as ia,y as ja};
@@ -0,0 +1,2 @@
1
+ import{xN as Q,yN as $}from"./cli-1.1.4-6z69geef.mjs";import{Hla as V,Ila as P,Jma as W,Kma as E}from"./cli-1.1.4-0r232fpm.mjs";import{Isa as L}from"./cli-1.1.4-xxe2ztwq.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
2
+ export{v as md,C as nd};
@@ -0,0 +1,3 @@
1
+ import{M as A}from"./cli-1.1.4-gp99zrz4.mjs";import{Hga as $,Iga as F,Oga as z,Pga as H,Yga as P}from"./cli-1.1.4-6c3fshef.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.4-53fvpymg.mjs";import{Zqa as L,_ma as Z}from"./cli-1.1.4-0r232fpm.mjs";import{Tra as q,jsa as y}from"./cli-1.1.4-0a20jx5n.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};
@@ -0,0 +1,3 @@
1
+ import{Mg as d,Ng as Vq}from"./cli-1.1.4-8kx358k9.mjs";import{JT as Oq,LS as a,NS as yq,xT as l}from"./cli-1.1.4-6z69geef.mjs";import{DZ as Zq,H1 as Gq,a1 as T,c1 as R,w1 as $}from"./cli-1.1.4-nh3sscxn.mjs";import{B2 as v,E2 as e,z2 as t}from"./cli-1.1.4-m3gsmnfa.mjs";import{o4 as P,p4 as N,q4 as S}from"./cli-1.1.4-40z19hth.mjs";import{r4 as Yq}from"./cli-1.1.4-9ms3b4tc.mjs";import{O4 as u,P4 as Aq}from"./cli-1.1.4-my1g33fn.mjs";import{Caa as j,U_ as G,W_ as o,Zaa as s}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as w,Kia as r}from"./cli-1.1.4-f7y4b0px.mjs";import{Cka as n,zka as L}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as c,ela as Xq}from"./cli-1.1.4-hzx821eq.mjs";import{Zqa as i,_ma as f}from"./cli-1.1.4-0r232fpm.mjs";import{Esa as I,Isa as h}from"./cli-1.1.4-xxe2ztwq.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
2
+ Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
3
+ export{mq as Kg,Bq as Lg};
@@ -0,0 +1,2 @@
1
+ import{$$ as F,Qga as U,Yga as m,daa as f,f$ as K,g$ as E}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as v,Kia as x}from"./cli-1.1.4-f7y4b0px.mjs";import{lka as D,pka as g}from"./cli-1.1.4-53fvpymg.mjs";import{Isa as S}from"./cli-1.1.4-xxe2ztwq.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
2
+ export{P as Fh,o as Gh,h as Hh,C as Ih};
@@ -0,0 +1,4 @@
1
+ import{rg as OJ,sg as hQ}from"./cli-1.1.4-q0acv376.mjs";import{tg as PJ,ug as WQ}from"./cli-1.1.4-rqwqskb2.mjs";import{vg as AJ,wg as LQ}from"./cli-1.1.4-yncbc1sd.mjs";import{xg as iq,yg as $J}from"./cli-1.1.4-rwz7t3ph.mjs";import{Ag as oq,Bg as gJ,zg as Fq}from"./cli-1.1.4-bxtvw0wr.mjs";import{Cg as LJ,Dg as RQ}from"./cli-1.1.4-114zcxgj.mjs";import{$G as Mq,$o as Tq,Do as VJ,Eo as VQ,QT as wq,Qt as XJ,Rt as XQ,St as yJ,Tt as NJ,UT as tq,Ut as yQ,XT as qJ,_o as P,aH as UQ,aR as sq,bH as wJ,cH as HJ,cR as oJ,dH as RJ,eH as wQ,hU as eJ,iy as g,ly as NQ,qR as Aq,tR as nJ,ty as uq,uy as mq,wJ as WJ,wy as pq,xJ as hJ,xy as uJ,yJ as HQ}from"./cli-1.1.4-6z69geef.mjs";import{LU as BJ,NU as UJ,QU as BQ}from"./cli-1.1.4-z9z0gn83.mjs";import{AW as FJ,EW as FQ}from"./cli-1.1.4-rh4x4rv5.mjs";import{CY as GJ,DY as YQ,GY as KJ,HY as GQ,PY as vq,QY as KQ}from"./cli-1.1.4-k6ebhyp0.mjs";import{DZ as Pq,H1 as Oq,a1 as y,c1 as Q}from"./cli-1.1.4-nh3sscxn.mjs";import{n4 as h,o4 as Y,p4 as Z,q4 as c}from"./cli-1.1.4-40z19hth.mjs";import{r4 as zQ}from"./cli-1.1.4-9ms3b4tc.mjs";import{H7 as YJ,I7 as ZQ,T6 as rq,_6 as zJ,r7 as aq}from"./cli-1.1.4-fk420f57.mjs";import{Caa as Iq,D_ as $,E_ as qQ,Wda as ZJ,Zaa as JQ,eea as QQ,ida as gq,jda as cJ,mda as xq,uda as lJ}from"./cli-1.1.4-6c3fshef.mjs";import{hla as QJ,ula as tJ}from"./cli-1.1.4-c7a7aezt.mjs";import{Zqa as sJ,ena as JJ}from"./cli-1.1.4-0r232fpm.mjs";import{Esa as Bq,Isa as Uq}from"./cli-1.1.4-xxe2ztwq.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(_J),X=G.filter(jJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(pJ),X.map(mJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function mJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function pJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function jJ(J){return J.severity==="warning"}function _J(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();uJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(TJ),G.warnings.map(dJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function dJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function TJ(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function xJ(){let J=qJ(await tq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function rJ(J){if(!J)return null;let q=oq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function aJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await sq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function iJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=iq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function nq(J,q,V){let[G,K,X,B]=await Promise.all([xJ(),rJ(q),aJ(J,V,q),iJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var eq=Uq(()=>{nJ();oJ();eJ();aq();cJ();$J();Tq();gJ();lJ()});import{join as bq}from"path";function PQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function _Z(J){let q=Cq.c(84),{onDone:V}=J,G=g(cQ),K=g(TQ),X=g(dQ),B=g(_Q);KJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,bJ]=w.useState(null),[L,kq]=w.useState(null),Hq=AJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=Mq().then(pQ),q[2]=r;else r=q[2];let IJ=r,vJ=ZJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(mQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:NJ,upperLimit:yJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:hJ,upperLimit:WJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...YJ(zJ())}].map(uQ).filter(EQ),q[5]=o;else o=q[5];let Sq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{Mq().then(R),(async()=>{let W=bq(QJ(),"agents"),Dq=bq(JJ(),".claudin","agents"),{activeAgents:fq,allAgents:MJ,failedFiles:Eq}=G,[CJ,kJ]=await Promise.all([Iq(W),Iq(Dq)]),SJ={activeAgents:fq.map(fQ),userAgentsDir:W,projectAgentsDir:Dq,userDirExists:CJ,projectDirExists:kJ,failedFiles:Eq};x(SJ);let DJ=await nq(H,{activeAgents:fq,allAgents:MJ,failedFiles:Eq},async()=>X);if(bJ(DJ),wJ()){let Lq=bq(FJ(),"claude","locks"),fJ=RJ(Lq),EJ=HJ(Lq);kq({enabled:!0,locks:EJ,locksDir:Lq,staleLocksCleaned:fJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(GJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(vq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==Rq||q[30]!==Wq)M=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
+ `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
+ `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let S;if(q[36]!==z.warnings)S=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(SQ)]}),q[36]=z.warnings,q[37]=S;else S=q[37];let D;if(q[38]!==i)D=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(OJ,{errors:i})]}),q[38]=i,q[39]=D;else D=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==S||q[49]!==D)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,v,M,C,k,S,D]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=S,q[49]=D,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",vJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(PQ,{promise:IJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(LJ,{}),Vq=Y(_q,{}),Xq=Sq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Sq.map(kQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(CQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(vQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(IQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(bQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(AQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(OQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(PJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(vq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",VJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function kQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function SQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function fQ(J){return{agentType:J.agentType,source:J.source}}function EQ(J){return J.status!=="valid"}function uQ(J){let q=process.env[J.name],V=XJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function mQ(J){return J.mcpErrorMetadata===void 0}function pQ(J){return(J.installationType==="native"?UJ:BJ)().catch(jQ)}function jQ(){return{latest:null,stable:null}}function _Q(J){return J.plugins.errors}function dQ(J){return J.toolPermissionContext}function TQ(J){return J.mcp.tools}function cQ(J){return J.agentDefinitions}var Cq,w;var lQ=Uq(()=>{qQ();dq();RQ();ZQ();aq();tJ();sJ();KQ();WQ();$q();hQ();LQ();GQ();Oq();YQ();NQ();VQ();BQ();eq();UQ();XQ();JQ();wQ();QQ();yQ();HQ();FQ();c();Cq=Bq(Pq(),1),w=Bq(zQ(),1)});
4
+ export{_Z as pg,lQ as qg};
@@ -0,0 +1,2 @@
1
+ import{Mi as W,Ni as B}from"./cli-1.1.4-ekbns70t.mjs";import{o4 as U,q4 as J}from"./cli-1.1.4-40z19hth.mjs";import{O4 as V,P4 as v}from"./cli-1.1.4-my1g33fn.mjs";import{C8 as Q,H8 as R,a9 as $,x5 as N,y5 as _}from"./cli-1.1.4-fk420f57.mjs";import{Qga as K,Yga as Z}from"./cli-1.1.4-6c3fshef.mjs";import{Isa as Y}from"./cli-1.1.4-xxe2ztwq.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
2
+ export{w as hc,E as ic};
@@ -0,0 +1,2 @@
1
+ import{Isa as o}from"./cli-1.1.4-xxe2ztwq.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
+ export{e as Mi,t as Ni};
@@ -0,0 +1,2 @@
1
+ import{o4 as v,q4 as D}from"./cli-1.1.4-40z19hth.mjs";import{Jsa as B}from"./cli-1.1.4-xxe2ztwq.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-1.1.4-4g3dh0nx.mjs"),J=z??import("./REPL-1.1.4-9nb68maq.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
2
+ export{N as hb,O as ib};
@@ -0,0 +1,2 @@
1
+ import{Zh as g,_h as Uf}from"./cli-1.1.4-m3hgkj60.mjs";import{fi as A,hi as Kf}from"./cli-1.1.4-h2a0peqc.mjs";import{$j as w,Bs as E,Cs as P,Ds as Xf,Ev as C,Fl as Bf,Fm as L,Gl as Gf,HS as Ff,IT as Hf,Iv as T,JC as I,JT as d,KC as $f,KE as u,Km as Vf,LE as jf,Ml as y,Mv as _f,Oj as W,_E as v,ak as zf,cT as S,fF as Df,fS as l,fm as Jf,lt as h,mt as Yf,pT as p,rm as N,uC as M,vD as c,wT as k,xm as Qf,xv as m,yD as bf,yv as Zf}from"./cli-1.1.4-6z69geef.mjs";import{Qga as R,Yga as ff}from"./cli-1.1.4-6c3fshef.mjs";import{wja as O,zja as e}from"./cli-1.1.4-te2372tc.mjs";import{$ma as q,$na as F,Opa as H,Zqa as s,_ma as U,ena as x}from"./cli-1.1.4-0r232fpm.mjs";import{Fsa as K,Isa as t}from"./cli-1.1.4-xxe2ztwq.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await c("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
2
+ export{lf as Xh,xf as Yh};
@@ -0,0 +1,5 @@
1
+ import{Ao as o,LF as y,MF as S,PF as C,VF as s,wo as F}from"./cli-1.1.4-6z69geef.mjs";import{rZ as D,sZ as r,tZ as z,uZ as j}from"./cli-1.1.4-nh3sscxn.mjs";import{k$ as R,l$ as l,n$ as b,o$ as u}from"./cli-1.1.4-6c3fshef.mjs";import{Cka as g,fka as O,hka as c,lka as L,pka as d,zka as N}from"./cli-1.1.4-53fvpymg.mjs";import{wra as T,xra as I}from"./cli-1.1.4-x8m7spde.mjs";import{Isa as _}from"./cli-1.1.4-xxe2ztwq.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function h(q){return!!b(q)}function V(q){let H=k(q.split(" ")[0]??"");return P.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var P,f,m,v;var x=_(()=>{I();j();g();u();P=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>h(H))})});function a(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${F(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=y($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
2
+ `)&&!Q.endsWith(`
3
+
4
+ `))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=_(()=>{s();j();x();l();d();o();c();r();A={code:"code -w",subl:"subl --wait"}});
5
+ export{Qq as Eg,v as Fg,x as Gg,i as Hg,Vq as Ig,t as Jg};
@@ -0,0 +1,24 @@
1
+ import{Hg as _Q,Jg as iQ}from"./cli-1.1.4-evye603x.mjs";import{Ai as zX,zi as WQ}from"./cli-1.1.4-hcp2cxz5.mjs";import{$J as VQ,Hp as ZQ,Ip as uQ,Ms as CQ,RJ as JJ,SJ as mJ,Ws as qX,ZJ as GQ,_J as KQ,aK as OQ,cK as NQ,fK as IJ,gK as nJ,hK as rJ,iK as gQ,nG as SJ,oG as YQ}from"./cli-1.1.4-6z69geef.mjs";import{BY as AQ,DY as ZX,GY as FQ,HY as $X,NY as zJ,OY as iJ,nY as bJ,oY as aJ}from"./cli-1.1.4-k6ebhyp0.mjs";import{H1 as WJ,MZ as AJ,X0 as FJ,Y0 as CJ,Z0 as oJ,a1 as N,c1 as M,m1 as t,tZ as LJ,uZ as lJ,w1 as e}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as q,p4 as _,q4 as s}from"./cli-1.1.4-40z19hth.mjs";import{r4 as BJ}from"./cli-1.1.4-9ms3b4tc.mjs";import{w9 as i,x9 as dJ}from"./cli-1.1.4-sm3xmtbn.mjs";import{Qga as x,Yga as DJ}from"./cli-1.1.4-6c3fshef.mjs";import{bha as f,cha as pJ,eha as n,iha as uJ,nha as vJ,tha as kQ}from"./cli-1.1.4-rc28sjtd.mjs";import{Iia as UQ,Kia as aQ}from"./cli-1.1.4-f7y4b0px.mjs";import{Esa as OJ,Isa as qJ,Jsa as oQ}from"./cli-1.1.4-xxe2ztwq.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let B of HJ(H.agents))if(K+=1,!B.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((B)=>!B.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",B=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return B+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),B=eJ(J),W=Math.min(U,Math.max(0,B.length-1)),X=B[W],{done:I,total:w}=tJ(J),[S]=AJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=B.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[B,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...B.filter(($)=>$.runId!==J.runId)]:B).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((A)=>Math.max(0,A-1));else if(Y.downArrow)O(),S((A)=>Math.min(Math.max(0,P-1),A+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(BJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),B=J.instructions.trim();return`---
2
+ ${H}
3
+ ---
4
+ ${B?`${B}
5
+ `:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((B,W)=>({...B,name:W===U?K:B.name,handbackTo:B.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[B]=AJ(),W=FJ(B),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.1.4-ee7w7dt5.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),A=C-1,u=X&&A>=0?X.steps[A]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
6
+ `:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,A).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,A,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&A>=0)P((G)=>({...G,steps:qQ(G.steps,A,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,A,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,A,P]),jQ=E.useCallback(()=>{if(A<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==A)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,A,P]),gJ=E.useCallback((Q)=>{if(!X||A<0)return;let Z=A+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(A,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,A,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
7
+ `):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(BJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,B]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{B(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((A)=>Math.max(0,A-1));else if(P.downArrow)w((A)=>Math.min(H.length-1,A+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let A=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,A?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
8
+ name: ${J}
9
+ description: What this workflow does
10
+ steps:
11
+ - name: explore
12
+ agents: [explorer]
13
+ - name: synthesize
14
+ agents: [synthesizer]
15
+ handbackTo: [explore]
16
+ - name: done
17
+ ---
18
+ Describe the goal and any house rules for this workflow.
19
+ `;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(BJ(),1)});function BQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return AQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[B,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
20
+ <status>${c.status}</status>
21
+ <summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
22
+ <result>${$}</result>
23
+ </task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:B==="running",inverse:B==="running",children:[" ","Running"," "]}),_(M,{bold:B==="library",inverse:B==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(B==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(BQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(BQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(BJ(),1)});
24
+ export{NZ as dc,YX as ec};
@@ -0,0 +1,2 @@
1
+ import{Df as R,Ff as d}from"./cli-1.1.4-cp707f4g.mjs";import{G2 as j,J2 as c}from"./cli-1.1.4-6c5tryej.mjs";import{Cka as D,zka as K}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as C,ela as h}from"./cli-1.1.4-hzx821eq.mjs";import{Isa as I,Jsa as J}from"./cli-1.1.4-xxe2ztwq.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-1.1.4-d8jp870f.mjs"),{getOrganizationUUID:Z}=await import("./client-1.1.4-pb5ebapt.mjs"),{getOauthConfig:V}=await import("./oauth-1.1.4-8spjkywn.mjs"),{getOAuthHeaders:P}=await import("./api-1.1.4-p7hbrnd7.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-1.1.4-qs08vv7k.mjs"),{getDefaultBranch:_}=await import("./git-1.1.4-ress16mq.mjs"),{getMainLoopModel:M}=await import("./model-1.1.4-x8a7yhj1.mjs"),{default:T}=await import("./index-1.1.4-mr07jhdc.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-1.1.4-qs08vv7k.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.4-d8jp870f.mjs"),{getOrganizationUUID:$}=await import("./client-1.1.4-pb5ebapt.mjs"),{getOauthConfig:Y}=await import("./oauth-1.1.4-8spjkywn.mjs"),{getOAuthHeaders:z}=await import("./api-1.1.4-p7hbrnd7.mjs"),{default:G}=await import("./index-1.1.4-mr07jhdc.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.4-d8jp870f.mjs"),{getOrganizationUUID:$}=await import("./client-1.1.4-pb5ebapt.mjs"),{getOauthConfig:Y}=await import("./oauth-1.1.4-8spjkywn.mjs"),{getOAuthHeaders:z}=await import("./api-1.1.4-p7hbrnd7.mjs"),{default:G}=await import("./index-1.1.4-mr07jhdc.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-1.1.4-d8jp870f.mjs"),{getOrganizationUUID:Y}=await import("./client-1.1.4-pb5ebapt.mjs"),{getOauthConfig:z}=await import("./oauth-1.1.4-8spjkywn.mjs"),{getOAuthHeaders:G}=await import("./api-1.1.4-p7hbrnd7.mjs"),{default:L}=await import("./index-1.1.4-mr07jhdc.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
+ export{i as uf,r as vf,t as wf,o as xf,p as yf};
@@ -0,0 +1,2 @@
1
+ import{Zqa as I,ena as z,ina as F}from"./cli-1.1.4-0r232fpm.mjs";import{Isa as E}from"./cli-1.1.4-xxe2ztwq.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",p="task-type",f="output-file",k="status",u="summary",v="worktree",y="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="channel",h="fork-boilerplate",l="Your directive: ",w,c;var N=E(()=>{w=["help","-h","--help"],c=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
+ export{U as Gia,K as Hia,V as Iia,W as Jia,M as Kia,Y as Lia,Z as Mia,$ as Nia,j as Oia,q as Pia,B as Qia,L as Ria,R as Sia,_ as Tia,b as Uia,x as Via,A as Wia,T as Xia,p as Yia,f as Zia,k as _ia,u as $ia,v as aja,y as bja,C as cja,S as dja,O as eja,m as fja,g as gja,h as hja,l as ija,w as jja,c as kja,N as lja};
@@ -0,0 +1,2 @@
1
+ import{Bga as B,Ega as K,Rfa as $,Sfa as y,h$ as Z,j$ as f}from"./cli-1.1.4-6c3fshef.mjs";import{mla as Y,ula as E}from"./cli-1.1.4-c7a7aezt.mjs";import{Isa as N,Jsa as x}from"./cli-1.1.4-xxe2ztwq.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
+ export{D as Bi,s as Ci,g as Di};
@@ -0,0 +1,15 @@
1
+ import{Gsa as T,Isa as J5,Jsa as M}from"./cli-1.1.4-xxe2ztwq.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{L as D}from"./cli-1.1.4-gp99zrz4.mjs";import{V as x}from"./cli-1.1.4-p81w8zaj.mjs";import{eb as A}from"./cli-1.1.4-79y1pxkd.mjs";import{fb as L}from"./cli-1.1.4-p2223zcm.mjs";import{Po as k,Qo as U,To as F,Uo as p,lU as b,mU as u}from"./cli-1.1.4-6z69geef.mjs";import{_U as O,bV as c}from"./cli-1.1.4-ckmk4b1r.mjs";import{a9 as m,g5 as Y,m5 as I,s7 as w,t7 as M,v8 as E,w8 as G}from"./cli-1.1.4-fk420f57.mjs";import{Bga as $,Ega as z,qea as X,rea as B}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as _,Kia as y}from"./cli-1.1.4-f7y4b0px.mjs";import{Cka as T,zka as K}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as V,ela as S}from"./cli-1.1.4-hzx821eq.mjs";import{kla as J,mla as N,ula as v}from"./cli-1.1.4-c7a7aezt.mjs";import{Tra as W,jsa as j}from"./cli-1.1.4-0a20jx5n.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
2
+ export{Xq as K};