@claudiolabs/claudin 0.6.2 → 0.6.3

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 (853) hide show
  1. package/dist/chunks/AgentTool-0.6.3-w39w1tm9.mjs +1 -0
  2. package/dist/chunks/App-0.6.3-bf23q7fe.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.3-kmctgnz2.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.3-0ep3n5s0.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.3-vxra859t.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.3-kk7w26bg.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.3-xvx07sv4.mjs +3 -0
  10. package/dist/chunks/Doctor-0.6.3-4jwxgrk8.mjs +1 -0
  11. package/dist/chunks/Grove-0.6.3-g8cwnttq.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.6.3-jdkqh9bh.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.6.3-0k9mawc3.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.6.3-j8rff6m8.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.6.3-car6y4n7.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.6.3-m7danhhz.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.6.3-pwe3440b.mjs +1 -0
  18. package/dist/chunks/REPL-0.6.3-fgapj6pt.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.6.3-8m1y0n85.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.6.3-btb0czta.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.6.3-0cvtw4gc.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.6.3-3ns6hahg.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.6.3-82jmwxw0.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.6.3-ampabjvv.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.6.3-8nqsgt07.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.6.3-vd2hj09s.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.6.3-b2vqxf8h.mjs +1 -0
  28. package/dist/chunks/add-dir-0.6.3-g1q6rzd5.mjs +1 -0
  29. package/dist/chunks/agents-0.6.3-q5xaz38q.mjs +3 -0
  30. package/dist/chunks/agents-0.6.3-x369fczx.mjs +110 -0
  31. package/dist/chunks/api-0.6.3-c8cpd5e4.mjs +1 -0
  32. package/dist/chunks/asciicast-0.6.3-ph0g3j31.mjs +1 -0
  33. package/dist/chunks/assistant-0.6.3-zzx692bw.mjs +1 -0
  34. package/dist/chunks/auth-0.6.3-4t0t2nkn.mjs +1 -0
  35. package/dist/chunks/auth-0.6.3-s9a1xnxb.mjs +1 -0
  36. package/dist/chunks/autoMode-0.6.3-aha41tt9.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.6.3-nknpfabv.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.6.3-t18m5mxn.mjs +1 -0
  39. package/dist/chunks/branch-0.6.3-mm6nsq5m.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.6.3-96b73p4h.mjs +1 -0
  41. package/dist/chunks/btw-0.6.3-3ad5s4cs.mjs +1 -0
  42. package/dist/chunks/buddy-0.6.3-fv2jmxew.mjs +3 -0
  43. package/dist/chunks/cacache-0.6.3-8n06prq8.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.6.3-vwte845g.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.6.3-3knz38ev.mjs +4 -0
  46. package/dist/chunks/caches-0.6.3-ab262f7m.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.6.3-sw2jgmfw.mjs +1 -0
  48. package/dist/chunks/claudemd-0.6.3-ppznmrv5.mjs +1 -0
  49. package/dist/chunks/clear-0.6.3-q5ygewg2.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.6.3-k13xzp29.mjs +1 -0
  51. package/dist/chunks/cli-0.6.3-0cpgmzyt.mjs +2 -0
  52. package/dist/chunks/cli-0.6.3-0d5cxdkq.mjs +2 -0
  53. package/dist/chunks/cli-0.6.3-0f2ybbnq.mjs +2 -0
  54. package/dist/chunks/cli-0.6.3-0xzsm005.mjs +2 -0
  55. package/dist/chunks/cli-0.6.3-1hr1gfgx.mjs +2 -0
  56. package/dist/chunks/cli-0.6.3-20mtfrec.mjs +2 -0
  57. package/dist/chunks/cli-0.6.3-2seqm104.mjs +4 -0
  58. package/dist/chunks/cli-0.6.3-2znr1dn6.mjs +2 -0
  59. package/dist/chunks/cli-0.6.3-307m09be.mjs +3 -0
  60. package/dist/chunks/cli-0.6.3-32ma4ryx.mjs +58 -0
  61. package/dist/chunks/cli-0.6.3-3k3fr10v.mjs +2 -0
  62. package/dist/chunks/cli-0.6.3-3sga01kt.mjs +2 -0
  63. package/dist/chunks/cli-0.6.3-40mx2zxs.mjs +2 -0
  64. package/dist/chunks/cli-0.6.3-4jyjt985.mjs +2 -0
  65. package/dist/chunks/cli-0.6.3-4n393st8.mjs +2 -0
  66. package/dist/chunks/cli-0.6.3-4tqk3dby.mjs +12 -0
  67. package/dist/chunks/cli-0.6.3-4y6pfyfp.mjs +2 -0
  68. package/dist/chunks/cli-0.6.3-4z9781g7.mjs +2 -0
  69. package/dist/chunks/cli-0.6.3-4zj0d42m.mjs +18 -0
  70. package/dist/chunks/cli-0.6.3-5nfphar2.mjs +3 -0
  71. package/dist/chunks/cli-0.6.3-5pxyd9b0.mjs +4 -0
  72. package/dist/chunks/cli-0.6.3-5rwq19xb.mjs +2 -0
  73. package/dist/chunks/cli-0.6.3-5t2m3g99.mjs +2 -0
  74. package/dist/chunks/cli-0.6.3-6a21y020.mjs +2 -0
  75. package/dist/chunks/cli-0.6.3-6ax8m5hv.mjs +6 -0
  76. package/dist/chunks/cli-0.6.3-6cgyr2zy.mjs +4 -0
  77. package/dist/chunks/cli-0.6.3-6cvpnccg.mjs +4 -0
  78. package/dist/chunks/cli-0.6.3-6ee9dyyg.mjs +3 -0
  79. package/dist/chunks/cli-0.6.3-6h30fzt5.mjs +17 -0
  80. package/dist/chunks/cli-0.6.3-6n6gtkcy.mjs +2 -0
  81. package/dist/chunks/cli-0.6.3-6njpepxe.mjs +2 -0
  82. package/dist/chunks/cli-0.6.3-6yfw5hn3.mjs +2 -0
  83. package/dist/chunks/cli-0.6.3-7adzjn5q.mjs +34 -0
  84. package/dist/chunks/cli-0.6.3-7g460zkw.mjs +2 -0
  85. package/dist/chunks/cli-0.6.3-7qg9g8tc.mjs +2 -0
  86. package/dist/chunks/cli-0.6.3-81rrwwcp.mjs +2 -0
  87. package/dist/chunks/cli-0.6.3-8cn32ma4.mjs +2 -0
  88. package/dist/chunks/cli-0.6.3-8dsgn7hp.mjs +2 -0
  89. package/dist/chunks/cli-0.6.3-8ea1a14z.mjs +2 -0
  90. package/dist/chunks/cli-0.6.3-8ggghhkx.mjs +2 -0
  91. package/dist/chunks/cli-0.6.3-8qad2cfe.mjs +3 -0
  92. package/dist/chunks/cli-0.6.3-8syjpqfr.mjs +4 -0
  93. package/dist/chunks/cli-0.6.3-92dx7xfh.mjs +2 -0
  94. package/dist/chunks/cli-0.6.3-92mddczk.mjs +2 -0
  95. package/dist/chunks/cli-0.6.3-97118c51.mjs +2 -0
  96. package/dist/chunks/cli-0.6.3-99kq55gd.mjs +2 -0
  97. package/dist/chunks/cli-0.6.3-99tcx5qw.mjs +2 -0
  98. package/dist/chunks/cli-0.6.3-9swe2gr2.mjs +45 -0
  99. package/dist/chunks/cli-0.6.3-a9z41xw7.mjs +2 -0
  100. package/dist/chunks/cli-0.6.3-aa0b2a2r.mjs +2 -0
  101. package/dist/chunks/cli-0.6.3-aazxr34f.mjs +2 -0
  102. package/dist/chunks/cli-0.6.3-aexkp8kj.mjs +2 -0
  103. package/dist/chunks/cli-0.6.3-ajqkhkc8.mjs +3 -0
  104. package/dist/chunks/cli-0.6.3-apnw4sqn.mjs +2 -0
  105. package/dist/chunks/cli-0.6.3-ar7px1cs.mjs +3 -0
  106. package/dist/chunks/cli-0.6.3-aw337kkj.mjs +3 -0
  107. package/dist/chunks/cli-0.6.3-b773k4ts.mjs +2 -0
  108. package/dist/chunks/cli-0.6.3-b8vfg8at.mjs +2 -0
  109. package/dist/chunks/cli-0.6.3-bcqjyxwt.mjs +2 -0
  110. package/dist/chunks/cli-0.6.3-be9988sa.mjs +67 -0
  111. package/dist/chunks/cli-0.6.3-bm4fb040.mjs +2 -0
  112. package/dist/chunks/cli-0.6.3-bv459f1w.mjs +50 -0
  113. package/dist/chunks/cli-0.6.3-cbyjhbhd.mjs +2 -0
  114. package/dist/chunks/cli-0.6.3-ce093xrt.mjs +2 -0
  115. package/dist/chunks/cli-0.6.3-cfgaczs0.mjs +9 -0
  116. package/dist/chunks/cli-0.6.3-cn73stdt.mjs +2 -0
  117. package/dist/chunks/cli-0.6.3-cry1qz3j.mjs +2 -0
  118. package/dist/chunks/cli-0.6.3-ct7rzynk.mjs +25 -0
  119. package/dist/chunks/cli-0.6.3-cz70v0dc.mjs +193 -0
  120. package/dist/chunks/cli-0.6.3-dcddpada.mjs +2 -0
  121. package/dist/chunks/cli-0.6.3-djx10r48.mjs +2 -0
  122. package/dist/chunks/cli-0.6.3-dv7ypjqm.mjs +42 -0
  123. package/dist/chunks/cli-0.6.3-dx1n041e.mjs +4 -0
  124. package/dist/chunks/cli-0.6.3-e56v1kt5.mjs +2 -0
  125. package/dist/chunks/cli-0.6.3-ee53b5tf.mjs +2 -0
  126. package/dist/chunks/cli-0.6.3-efydy6w2.mjs +2 -0
  127. package/dist/chunks/cli-0.6.3-ejr47y1x.mjs +2 -0
  128. package/dist/chunks/cli-0.6.3-eqnnyg8r.mjs +10 -0
  129. package/dist/chunks/cli-0.6.3-es8pf0wd.mjs +5 -0
  130. package/dist/chunks/cli-0.6.3-eytmae68.mjs +2 -0
  131. package/dist/chunks/cli-0.6.3-f2hnrcvv.mjs +2 -0
  132. package/dist/chunks/cli-0.6.3-f6vwjwer.mjs +2 -0
  133. package/dist/chunks/cli-0.6.3-fdr38m0k.mjs +2 -0
  134. package/dist/chunks/cli-0.6.3-fdye25f4.mjs +21 -0
  135. package/dist/chunks/cli-0.6.3-fhets69t.mjs +2 -0
  136. package/dist/chunks/cli-0.6.3-fws87r5f.mjs +2 -0
  137. package/dist/chunks/cli-0.6.3-fz79skca.mjs +133 -0
  138. package/dist/chunks/cli-0.6.3-g48fakzt.mjs +4 -0
  139. package/dist/chunks/cli-0.6.3-g4gt6qj9.mjs +18 -0
  140. package/dist/chunks/cli-0.6.3-g4y759q5.mjs +2 -0
  141. package/dist/chunks/cli-0.6.3-g7nc10fr.mjs +2 -0
  142. package/dist/chunks/cli-0.6.3-g7yry9cm.mjs +2 -0
  143. package/dist/chunks/cli-0.6.3-gcncppqh.mjs +2 -0
  144. package/dist/chunks/cli-0.6.3-gm6gpvcp.mjs +2 -0
  145. package/dist/chunks/cli-0.6.3-gmb75jnx.mjs +2 -0
  146. package/dist/chunks/cli-0.6.3-grerfrmn.mjs +2 -0
  147. package/dist/chunks/cli-0.6.3-gywe2011.mjs +2 -0
  148. package/dist/chunks/cli-0.6.3-gz3mwtfc.mjs +15 -0
  149. package/dist/chunks/cli-0.6.3-h1yy6vwa.mjs +3 -0
  150. package/dist/chunks/cli-0.6.3-h9dw5s07.mjs +2 -0
  151. package/dist/chunks/cli-0.6.3-h9pgh5g6.mjs +3 -0
  152. package/dist/chunks/cli-0.6.3-hccmsmnq.mjs +2 -0
  153. package/dist/chunks/cli-0.6.3-hz8r1b9m.mjs +2 -0
  154. package/dist/chunks/cli-0.6.3-jc158pav.mjs +3 -0
  155. package/dist/chunks/cli-0.6.3-jh5sabys.mjs +2 -0
  156. package/dist/chunks/cli-0.6.3-jwkcjnvk.mjs +2 -0
  157. package/dist/chunks/cli-0.6.3-k2n0q631.mjs +39 -0
  158. package/dist/chunks/cli-0.6.3-k5rdtkfr.mjs +3 -0
  159. package/dist/chunks/cli-0.6.3-kay5e0jz.mjs +2 -0
  160. package/dist/chunks/cli-0.6.3-kfn8srsd.mjs +2 -0
  161. package/dist/chunks/cli-0.6.3-kwnp45kq.mjs +2 -0
  162. package/dist/chunks/cli-0.6.3-kz9egvgw.mjs +5323 -0
  163. package/dist/chunks/cli-0.6.3-m74nx2m5.mjs +2 -0
  164. package/dist/chunks/cli-0.6.3-mc6kp3j9.mjs +18 -0
  165. package/dist/chunks/cli-0.6.3-mcmskrq3.mjs +7 -0
  166. package/dist/chunks/cli-0.6.3-mwmvdr0y.mjs +2 -0
  167. package/dist/chunks/cli-0.6.3-mwvq805r.mjs +2 -0
  168. package/dist/chunks/cli-0.6.3-n0nvqsep.mjs +2 -0
  169. package/dist/chunks/cli-0.6.3-n2d97bhc.mjs +2 -0
  170. package/dist/chunks/cli-0.6.3-n3f5zh7x.mjs +2 -0
  171. package/dist/chunks/cli-0.6.3-n95caxs7.mjs +6 -0
  172. package/dist/chunks/cli-0.6.3-nawttnnp.mjs +16 -0
  173. package/dist/chunks/cli-0.6.3-ny9veqgk.mjs +2 -0
  174. package/dist/chunks/cli-0.6.3-p3cb5wr9.mjs +4 -0
  175. package/dist/chunks/cli-0.6.3-p6tkk7cq.mjs +2 -0
  176. package/dist/chunks/cli-0.6.3-pj26ahpb.mjs +15 -0
  177. package/dist/chunks/cli-0.6.3-pqq8j8h2.mjs +2 -0
  178. package/dist/chunks/cli-0.6.3-przsjt5w.mjs +2 -0
  179. package/dist/chunks/cli-0.6.3-pt8n31ph.mjs +2 -0
  180. package/dist/chunks/cli-0.6.3-q35m6zsh.mjs +2 -0
  181. package/dist/chunks/cli-0.6.3-qh59pqrb.mjs +2 -0
  182. package/dist/chunks/cli-0.6.3-qj1bfrer.mjs +15 -0
  183. package/dist/chunks/cli-0.6.3-qse47680.mjs +5 -0
  184. package/dist/chunks/cli-0.6.3-qt063vx3.mjs +2 -0
  185. package/dist/chunks/cli-0.6.3-r08n6yst.mjs +2 -0
  186. package/dist/chunks/cli-0.6.3-r0chaj0m.mjs +2 -0
  187. package/dist/chunks/cli-0.6.3-r0pavcpp.mjs +2 -0
  188. package/dist/chunks/cli-0.6.3-r8snnnev.mjs +2 -0
  189. package/dist/chunks/cli-0.6.3-r9spk5d9.mjs +2 -0
  190. package/dist/chunks/cli-0.6.3-razq4hma.mjs +2 -0
  191. package/dist/chunks/cli-0.6.3-rbhgbyc8.mjs +24 -0
  192. package/dist/chunks/cli-0.6.3-rcd74wx6.mjs +9 -0
  193. package/dist/chunks/cli-0.6.3-rha5x3b1.mjs +2 -0
  194. package/dist/chunks/cli-0.6.3-rm69szc5.mjs +2 -0
  195. package/dist/chunks/cli-0.6.3-rxzhhezk.mjs +2 -0
  196. package/dist/chunks/cli-0.6.3-ry8ff2h4.mjs +4 -0
  197. package/dist/chunks/cli-0.6.3-rz3jyy54.mjs +133 -0
  198. package/dist/chunks/cli-0.6.3-rzva33s6.mjs +2 -0
  199. package/dist/chunks/cli-0.6.3-s12drscf.mjs +2 -0
  200. package/dist/chunks/cli-0.6.3-sxj65pz4.mjs +2 -0
  201. package/dist/chunks/cli-0.6.3-syb9w8h5.mjs +2 -0
  202. package/dist/chunks/cli-0.6.3-sz0yt1ax.mjs +59 -0
  203. package/dist/chunks/cli-0.6.3-te71cc6c.mjs +8 -0
  204. package/dist/chunks/cli-0.6.3-tjykjtxh.mjs +6 -0
  205. package/dist/chunks/cli-0.6.3-v3fjzj8a.mjs +12 -0
  206. package/dist/chunks/cli-0.6.3-vcpzn6r6.mjs +2 -0
  207. package/dist/chunks/cli-0.6.3-vdzjz0qm.mjs +2 -0
  208. package/dist/chunks/cli-0.6.3-ve8f981m.mjs +3 -0
  209. package/dist/chunks/cli-0.6.3-vp1zy3b1.mjs +2 -0
  210. package/dist/chunks/cli-0.6.3-vsvcyfnd.mjs +17 -0
  211. package/dist/chunks/cli-0.6.3-w038em13.mjs +2 -0
  212. package/dist/chunks/cli-0.6.3-w3rq9jx1.mjs +2 -0
  213. package/dist/chunks/cli-0.6.3-wfrn6z2y.mjs +24 -0
  214. package/dist/chunks/cli-0.6.3-whtn6spz.mjs +2 -0
  215. package/dist/chunks/cli-0.6.3-wr2sys6k.mjs +2 -0
  216. package/dist/chunks/cli-0.6.3-wvdzc276.mjs +1 -0
  217. package/dist/chunks/cli-0.6.3-wwmrkyrs.mjs +20 -0
  218. package/dist/chunks/cli-0.6.3-wws3zqpm.mjs +2 -0
  219. package/dist/chunks/cli-0.6.3-x6f1pr27.mjs +2 -0
  220. package/dist/chunks/cli-0.6.3-x78bwn0g.mjs +5 -0
  221. package/dist/chunks/cli-0.6.3-xe5mxfxe.mjs +2 -0
  222. package/dist/chunks/cli-0.6.3-xewp168m.mjs +2 -0
  223. package/dist/chunks/cli-0.6.3-y1aakb6y.mjs +2 -0
  224. package/dist/chunks/cli-0.6.3-y1mm0v8x.mjs +2 -0
  225. package/dist/chunks/cli-0.6.3-y30hptm0.mjs +2 -0
  226. package/dist/chunks/cli-0.6.3-y61armem.mjs +2 -0
  227. package/dist/chunks/cli-0.6.3-y8ymw6ed.mjs +2 -0
  228. package/dist/chunks/cli-0.6.3-yk56wjb7.mjs +2 -0
  229. package/dist/chunks/cli-0.6.3-ym6dcvjc.mjs +2 -0
  230. package/dist/chunks/cli-0.6.3-ymhjs7dc.mjs +2 -0
  231. package/dist/chunks/cli-0.6.3-ysazbe18.mjs +2 -0
  232. package/dist/chunks/cli-0.6.3-ywk23cbf.mjs +2 -0
  233. package/dist/chunks/cli-0.6.3-z19b5v43.mjs +2 -0
  234. package/dist/chunks/cli-0.6.3-z6sz55zd.mjs +2 -0
  235. package/dist/chunks/cli-0.6.3-z8vc44s1.mjs +2 -0
  236. package/dist/chunks/cli-0.6.3-zd6bnvyc.mjs +4 -0
  237. package/dist/chunks/cli-0.6.3-zmn1fgaa.mjs +2 -0
  238. package/dist/chunks/cli-0.6.3-zqvgfprs.mjs +2 -0
  239. package/dist/chunks/cli-0.6.3-zy0jc7vm.mjs +12 -0
  240. package/dist/chunks/cli-0.6.3-zyrsvq59.mjs +2 -0
  241. package/dist/chunks/client-0.6.3-6pn9sb4n.mjs +1 -0
  242. package/dist/chunks/color-0.6.3-2hpfj774.mjs +1 -0
  243. package/dist/chunks/compact-0.6.3-dnwdmmz1.mjs +3 -0
  244. package/dist/chunks/config-0.6.3-tjhtvb07.mjs +1 -0
  245. package/dist/chunks/config-0.6.3-z2wgyz10.mjs +1 -0
  246. package/dist/chunks/constants-0.6.3-qha9fz15.mjs +1 -0
  247. package/dist/chunks/context-0.6.3-vka61j1y.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.6.3-eztt7zsf.mjs +1 -0
  249. package/dist/chunks/conversation-0.6.3-2ek3hdrq.mjs +1 -0
  250. package/dist/chunks/copilotHeaders-0.6.3-62c0y07g.mjs +1 -0
  251. package/dist/chunks/copy-0.6.3-gekdww8z.mjs +9 -0
  252. package/dist/chunks/cost-0.6.3-a2yhjbn3.mjs +1 -0
  253. package/dist/chunks/createSSHSession-0.6.3-5tn04mse.mjs +1 -0
  254. package/dist/chunks/createSession-0.6.3-kyn5dc4w.mjs +1 -0
  255. package/dist/chunks/debug-0.6.3-66czfwwr.mjs +1 -0
  256. package/dist/chunks/defaultActionDeps-0.6.3-x9wk9j9m.mjs +1365 -0
  257. package/dist/chunks/desktop-0.6.3-p8kgbeab.mjs +1 -0
  258. package/dist/chunks/detectRepository-0.6.3-8698wvb5.mjs +1 -0
  259. package/dist/chunks/detection-0.6.3-1y7661gd.mjs +1 -0
  260. package/dist/chunks/diff-0.6.3-mk0y1bzd.mjs +1 -0
  261. package/dist/chunks/doctor-0.6.3-xvwcr7dp.mjs +1 -0
  262. package/dist/chunks/doctorDiagnostic-0.6.3-th9mec17.mjs +1 -0
  263. package/dist/chunks/earlyInput-0.6.3-642zt7fp.mjs +1 -0
  264. package/dist/chunks/effort-0.6.3-zvkntxpn.mjs +10 -0
  265. package/dist/chunks/envUtils-0.6.3-yazqghf2.mjs +1 -0
  266. package/dist/chunks/environmentSelection-0.6.3-0bcr6rhg.mjs +1 -0
  267. package/dist/chunks/environments-0.6.3-2tyy264w.mjs +1 -0
  268. package/dist/chunks/errors-0.6.3-65brz247.mjs +1 -0
  269. package/dist/chunks/exampleCommands-0.6.3-ktqksq57.mjs +1 -0
  270. package/dist/chunks/exit-0.6.3-0ce6gh5m.mjs +1 -0
  271. package/dist/chunks/export-0.6.3-e2mjekav.mjs +2 -0
  272. package/dist/chunks/extra-usage-0.6.3-hqp8h6yy.mjs +1 -0
  273. package/dist/chunks/extra-usage-noninteractive-0.6.3-rfyx9kw2.mjs +1 -0
  274. package/dist/chunks/fast-0.6.3-1jg7ysjx.mjs +1 -0
  275. package/dist/chunks/feedback-0.6.3-1tb6qds2.mjs +14 -0
  276. package/dist/chunks/firstPartyEventLogger-0.6.3-c9kfz0k1.mjs +1 -0
  277. package/dist/chunks/git-0.6.3-vzgvhd0s.mjs +1 -0
  278. package/dist/chunks/githubModelsCredentials-0.6.3-9qcrf80c.mjs +1 -0
  279. package/dist/chunks/goal-0.6.3-mf91z3fg.mjs +4 -0
  280. package/dist/chunks/grove-0.6.3-mmn276sp.mjs +1 -0
  281. package/dist/chunks/growthbook-0.6.3-4p9xew93.mjs +1 -0
  282. package/dist/chunks/headless-0.6.3-qgmxgj70.mjs +2 -0
  283. package/dist/chunks/heapdump-0.6.3-2w4fe2zs.mjs +6 -0
  284. package/dist/chunks/help-0.6.3-wf4xf793.mjs +1 -0
  285. package/dist/chunks/hookChains-0.6.3-q342m95f.mjs +3 -0
  286. package/dist/chunks/hooks-0.6.3-0r48akk8.mjs +79 -0
  287. package/dist/chunks/hooks-0.6.3-r14ya7wn.mjs +1 -0
  288. package/dist/chunks/ide-0.6.3-ad8afpp9.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-0.6.3-tva04ya1.mjs +1 -0
  290. package/dist/chunks/index-0.6.3-0hyrtrrm.mjs +9 -0
  291. package/dist/chunks/index-0.6.3-0vhzk5yx.mjs +5 -0
  292. package/dist/chunks/index-0.6.3-1ykp8wv0.mjs +2 -0
  293. package/dist/chunks/index-0.6.3-2bzz31fe.mjs +1 -0
  294. package/dist/chunks/index-0.6.3-55v75g6w.mjs +1 -0
  295. package/dist/chunks/index-0.6.3-6rpbscw7.mjs +17 -0
  296. package/dist/chunks/index-0.6.3-7mch7z3a.mjs +1 -0
  297. package/dist/chunks/index-0.6.3-858y11er.mjs +1 -0
  298. package/dist/chunks/index-0.6.3-a40sh9ap.mjs +1 -0
  299. package/dist/chunks/index-0.6.3-aj0c98mr.mjs +1 -0
  300. package/dist/chunks/index-0.6.3-b9fkqrrw.mjs +1 -0
  301. package/dist/chunks/index-0.6.3-f5732qxw.mjs +1 -0
  302. package/dist/chunks/index-0.6.3-f5w18za6.mjs +1 -0
  303. package/dist/chunks/index-0.6.3-f6h116cn.mjs +2 -0
  304. package/dist/chunks/index-0.6.3-htq5dpvs.mjs +30 -0
  305. package/dist/chunks/index-0.6.3-hv4mfh2n.mjs +1 -0
  306. package/dist/chunks/index-0.6.3-kadhv0zg.mjs +9 -0
  307. package/dist/chunks/index-0.6.3-tsd8ykv3.mjs +1 -0
  308. package/dist/chunks/index-0.6.3-w2hywyvr.mjs +1 -0
  309. package/dist/chunks/index-0.6.3-wk9kzbcz.mjs +1 -0
  310. package/dist/chunks/index-0.6.3-ygqhtfnf.mjs +1 -0
  311. package/dist/chunks/index-0.6.3-yvah3e6g.mjs +1 -0
  312. package/dist/chunks/init-0.6.3-xaeb8hxb.mjs +1 -0
  313. package/dist/chunks/initReplBridge-0.6.3-nmmr7v8v.mjs +1 -0
  314. package/dist/chunks/ink-0.6.3-6m2sw7dq.mjs +1 -0
  315. package/dist/chunks/insights-0.6.3-6b93b8nm.mjs +870 -0
  316. package/dist/chunks/install-0.6.3-y9zek66z.mjs +1 -0
  317. package/dist/chunks/install-github-app-0.6.3-899pnvtd.mjs +149 -0
  318. package/dist/chunks/install-slack-app-0.6.3-f8saspck.mjs +1 -0
  319. package/dist/chunks/instrumentation-0.6.3-defghs68.mjs +1 -0
  320. package/dist/chunks/interactiveHelpers-0.6.3-7ec0qnvv.mjs +1 -0
  321. package/dist/chunks/keybindings-0.6.3-eh7rjbha.mjs +2 -0
  322. package/dist/chunks/knowledge-0.6.3-a7pn2e1w.mjs +2 -0
  323. package/dist/chunks/latestVersionCache-0.6.3-vf3mkz2d.mjs +1 -0
  324. package/dist/chunks/loadAgentsDir-0.6.3-ykqa9b2g.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-0.6.3-jxaehczd.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-0.6.3-mfka3vhj.mjs +1 -0
  327. package/dist/chunks/log-0.6.3-g789gq0t.mjs +1 -0
  328. package/dist/chunks/main-0.6.3-50ac806r.mjs +1 -0
  329. package/dist/chunks/managedEnv-0.6.3-q5zxn368.mjs +1 -0
  330. package/dist/chunks/mcp-0.6.3-4x3akzq5.mjs +4 -0
  331. package/dist/chunks/mcp-0.6.3-e3me04x4.mjs +17 -0
  332. package/dist/chunks/mcp-0.6.3-z1ebxf4w.mjs +1 -0
  333. package/dist/chunks/mcpb-0.6.3-sh1jp60e.mjs +1 -0
  334. package/dist/chunks/memory-0.6.3-03636fpt.mjs +3 -0
  335. package/dist/chunks/mobile-0.6.3-xz0z3r1b.mjs +2 -0
  336. package/dist/chunks/model-0.6.3-s0ftwaqt.mjs +1 -0
  337. package/dist/chunks/model-0.6.3-yzwee2pm.mjs +2 -0
  338. package/dist/chunks/node-0.6.3-ne7h3hdm.mjs +12 -0
  339. package/dist/chunks/oauth-0.6.3-vxgkeqfx.mjs +1 -0
  340. package/dist/chunks/openaiShim-0.6.3-4y4sanm3.mjs +14 -0
  341. package/dist/chunks/output-style-0.6.3-y1p13wj7.mjs +1 -0
  342. package/dist/chunks/package-D6422PQU-0.6.3-x4wa2xz2.mjs +1 -0
  343. package/dist/chunks/parseConnectUrl-0.6.3-her0fmnw.mjs +1 -0
  344. package/dist/chunks/parser-0.6.3-c46sjdq2.mjs +1 -0
  345. package/dist/chunks/passes-0.6.3-egz6jv5r.mjs +1 -0
  346. package/dist/chunks/permissions-0.6.3-8bgzzv8a.mjs +3 -0
  347. package/dist/chunks/plan-0.6.3-2fftma7h.mjs +1 -0
  348. package/dist/chunks/plist-0.6.3-h310zzhq.mjs +1 -0
  349. package/dist/chunks/plugin-0.6.3-5vjh0ct6.mjs +29 -0
  350. package/dist/chunks/pluginStartupCheck-0.6.3-jqsmye9d.mjs +1 -0
  351. package/dist/chunks/plugins-0.6.3-feg1sfss.mjs +9 -0
  352. package/dist/chunks/preActionHook-0.6.3-7zkaatsy.mjs +2 -0
  353. package/dist/chunks/print-0.6.3-q8j3mpqd.mjs +57 -0
  354. package/dist/chunks/privacy-settings-0.6.3-7td307c8.mjs +1 -0
  355. package/dist/chunks/process-0.6.3-xfesfn5r.mjs +1 -0
  356. package/dist/chunks/processBashCommand-0.6.3-jh7fc2p4.mjs +1 -0
  357. package/dist/chunks/processSlashCommand-0.6.3-bf00222w.mjs +9 -0
  358. package/dist/chunks/prompt-0.6.3-2n702z0c.mjs +1 -0
  359. package/dist/chunks/prompt-0.6.3-61gvwdqd.mjs +1 -0
  360. package/dist/chunks/prompts-0.6.3-gctcm2tt.mjs +1 -0
  361. package/dist/chunks/protocolHandler-0.6.3-nkgq5zh2.mjs +13 -0
  362. package/dist/chunks/provider-0.6.3-dz35mvz8.mjs +2 -0
  363. package/dist/chunks/providerProfiles-0.6.3-sc68wn0p.mjs +1 -0
  364. package/dist/chunks/providerValidation-0.6.3-tz2xs2w2.mjs +6 -0
  365. package/dist/chunks/rate-limit-options-0.6.3-q18p5fyf.mjs +1 -0
  366. package/dist/chunks/registerSubcommands-0.6.3-68qc2fq7.mjs +34 -0
  367. package/dist/chunks/registry-0.6.3-ftde6jbj.mjs +1 -0
  368. package/dist/chunks/release-notes-0.6.3-sape6p4t.mjs +5 -0
  369. package/dist/chunks/reload-plugins-0.6.3-1ww9raz4.mjs +2 -0
  370. package/dist/chunks/remote-env-0.6.3-3ck8cv8d.mjs +1 -0
  371. package/dist/chunks/remoteBridgeCore-0.6.3-5s27069y.mjs +1 -0
  372. package/dist/chunks/remoteSession-0.6.3-h9rgyr6h.mjs +1 -0
  373. package/dist/chunks/rename-0.6.3-f6d3tb9q.mjs +1 -0
  374. package/dist/chunks/replBridgeHandle-0.6.3-03kbs579.mjs +1 -0
  375. package/dist/chunks/replLauncher-0.6.3-m72mhx4g.mjs +1 -0
  376. package/dist/chunks/resume-0.6.3-ddb3xb3e.mjs +2 -0
  377. package/dist/chunks/rewind-0.6.3-rr4jn9nq.mjs +1 -0
  378. package/dist/chunks/rootOptions-0.6.3-z0z2w1ta.mjs +1 -0
  379. package/dist/chunks/sandbox-adapter-0.6.3-h9z3rn4v.mjs +1 -0
  380. package/dist/chunks/sandbox-toggle-0.6.3-1z9yck8k.mjs +1 -0
  381. package/dist/chunks/session-0.6.3-697bvb39.mjs +2 -0
  382. package/dist/chunks/sessionDiscovery-0.6.3-k3n13gqg.mjs +1 -0
  383. package/dist/chunks/sessionFileAccessHooks-0.6.3-kgecz2s9.mjs +1 -0
  384. package/dist/chunks/sessionStorage-0.6.3-04ceqntr.mjs +1 -0
  385. package/dist/chunks/settings-0.6.3-1wnc9skg.mjs +1 -0
  386. package/dist/chunks/setup-0.6.3-7eq77dy4.mjs +5 -0
  387. package/dist/chunks/sinks-0.6.3-ph10xa21.mjs +1 -0
  388. package/dist/chunks/skills-0.6.3-sk53kf9f.mjs +1 -0
  389. package/dist/chunks/startupProfiler-0.6.3-mmnjxrje.mjs +1 -0
  390. package/dist/chunks/startupUpdateCheck-0.6.3-0hwcpdc7.mjs +1 -0
  391. package/dist/chunks/state-0.6.3-e3zvped3.mjs +1 -0
  392. package/dist/chunks/stats-0.6.3-8wqbhpqy.mjs +6 -0
  393. package/dist/chunks/status-0.6.3-xjt0xtzy.mjs +1 -0
  394. package/dist/chunks/stickers-0.6.3-vs74c03z.mjs +1 -0
  395. package/dist/chunks/subprocessEnv-0.6.3-5dg03vx3.mjs +1 -0
  396. package/dist/chunks/tasks-0.6.3-dxy60zkj.mjs +1 -0
  397. package/dist/chunks/teamHelpers-0.6.3-jqpd5tn3.mjs +1 -0
  398. package/dist/chunks/teammateModeSnapshot-0.6.3-fpdghs7t.mjs +1 -0
  399. package/dist/chunks/teleport-0.6.3-46bbcspy.mjs +1 -0
  400. package/dist/chunks/terminalSetup-0.6.3-ww94vcqs.mjs +1 -0
  401. package/dist/chunks/theme-0.6.3-kjdtgstr.mjs +1 -0
  402. package/dist/chunks/thinkback-0.6.3-1txnapj2.mjs +1 -0
  403. package/dist/chunks/thinkback-play-0.6.3-96tda7vb.mjs +1 -0
  404. package/dist/chunks/toolPool-0.6.3-0e12cvy1.mjs +1 -0
  405. package/dist/chunks/toolSearch-0.6.3-d1pppx0c.mjs +1 -0
  406. package/dist/chunks/tools-0.6.3-w0rtmt3t.mjs +1 -0
  407. package/dist/chunks/trustedDevice-0.6.3-qap15xhb.mjs +1 -0
  408. package/dist/chunks/turndown.cjs-0.6.3-9pgbeyf6.mjs +69 -0
  409. package/dist/chunks/ultrareviewCommand-0.6.3-v4wvkr58.mjs +4 -0
  410. package/dist/chunks/update-0.6.3-6tah7v14.mjs +86 -0
  411. package/dist/chunks/upgrade-0.6.3-mtpg4ynr.mjs +1 -0
  412. package/dist/chunks/upstreamproxy-0.6.3-fg6qwves.mjs +14 -0
  413. package/dist/chunks/url-handler-napi-0.6.3-4zzkq08v.mjs +1 -0
  414. package/dist/chunks/usage-0.6.3-1b3cmsnk.mjs +1 -0
  415. package/dist/chunks/util-0.6.3-e72k34ck.mjs +1 -0
  416. package/dist/chunks/utils-0.6.3-ahkqyjmy.mjs +1 -0
  417. package/dist/chunks/vim-0.6.3-r0f9g732.mjs +1 -0
  418. package/dist/chunks/watcher-0.6.3-5xzd92av.mjs +1 -0
  419. package/dist/chunks/wiki-0.6.3-ytee2j21.mjs +132 -0
  420. package/dist/chunks/worktree-0.6.3-cmybg2s4.mjs +1 -0
  421. package/dist/chunks/worktreeModeEnabled-0.6.3-8k06dfjq.mjs +1 -0
  422. package/dist/chunks/wrapper-0.6.3-hct87zwr.mjs +7 -0
  423. package/dist/claudin-vscode.vsix +0 -0
  424. package/dist/cli.mjs +2 -2
  425. package/package.json +1 -1
  426. package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +0 -1
  427. package/dist/chunks/App-0.6.2-81hq55t1.mjs +0 -1
  428. package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +0 -1
  429. package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +0 -1
  430. package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +0 -1
  431. package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +0 -1
  432. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +0 -1
  433. package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +0 -1
  434. package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +0 -3
  435. package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +0 -1
  436. package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +0 -1
  437. package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +0 -1
  438. package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +0 -1
  439. package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +0 -1
  440. package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +0 -1
  441. package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +0 -1
  442. package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +0 -1
  443. package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +0 -1
  444. package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +0 -1
  445. package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +0 -1
  446. package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +0 -1
  447. package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +0 -1
  448. package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +0 -1
  449. package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +0 -9
  450. package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +0 -1
  451. package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +0 -1
  452. package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +0 -1
  453. package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +0 -1
  454. package/dist/chunks/agents-0.6.2-pwkawpda.mjs +0 -110
  455. package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +0 -3
  456. package/dist/chunks/api-0.6.2-r9z30232.mjs +0 -1
  457. package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +0 -1
  458. package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +0 -1
  459. package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +0 -1
  460. package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +0 -1
  461. package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +0 -48
  462. package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +0 -1
  463. package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +0 -1
  464. package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +0 -4
  465. package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +0 -1
  466. package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +0 -1
  467. package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +0 -3
  468. package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +0 -1
  469. package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +0 -21
  470. package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +0 -4
  471. package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +0 -1
  472. package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +0 -1
  473. package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +0 -1
  474. package/dist/chunks/clear-0.6.2-301n503a.mjs +0 -1
  475. package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +0 -1
  476. package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +0 -42
  477. package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +0 -4
  478. package/dist/chunks/cli-0.6.2-0p39svq8.mjs +0 -2
  479. package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +0 -2
  480. package/dist/chunks/cli-0.6.2-1ahapm20.mjs +0 -2
  481. package/dist/chunks/cli-0.6.2-1b9hx344.mjs +0 -2
  482. package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +0 -2
  483. package/dist/chunks/cli-0.6.2-1hrabb68.mjs +0 -3
  484. package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +0 -9
  485. package/dist/chunks/cli-0.6.2-1y907j57.mjs +0 -2
  486. package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +0 -2
  487. package/dist/chunks/cli-0.6.2-26qywcgz.mjs +0 -2
  488. package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +0 -2
  489. package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +0 -3
  490. package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +0 -2
  491. package/dist/chunks/cli-0.6.2-2z19ppek.mjs +0 -15
  492. package/dist/chunks/cli-0.6.2-334vw6ys.mjs +0 -2
  493. package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +0 -2
  494. package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +0 -2
  495. package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +0 -2
  496. package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +0 -2
  497. package/dist/chunks/cli-0.6.2-42d88f3r.mjs +0 -2
  498. package/dist/chunks/cli-0.6.2-43f0sknv.mjs +0 -2
  499. package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +0 -2
  500. package/dist/chunks/cli-0.6.2-4a5t390f.mjs +0 -2
  501. package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +0 -15
  502. package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +0 -2
  503. package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +0 -39
  504. package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +0 -5323
  505. package/dist/chunks/cli-0.6.2-4py7r63v.mjs +0 -2
  506. package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +0 -59
  507. package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +0 -2
  508. package/dist/chunks/cli-0.6.2-5jempndm.mjs +0 -133
  509. package/dist/chunks/cli-0.6.2-657fbmws.mjs +0 -2
  510. package/dist/chunks/cli-0.6.2-6bacgc39.mjs +0 -3
  511. package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +0 -5
  512. package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +0 -2
  513. package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +0 -3
  514. package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +0 -3
  515. package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +0 -4
  516. package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +0 -2
  517. package/dist/chunks/cli-0.6.2-7egesyh9.mjs +0 -4
  518. package/dist/chunks/cli-0.6.2-7rmm482v.mjs +0 -12
  519. package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +0 -2
  520. package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +0 -25
  521. package/dist/chunks/cli-0.6.2-83ennmm8.mjs +0 -21
  522. package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +0 -2
  523. package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +0 -5
  524. package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +0 -10
  525. package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +0 -2
  526. package/dist/chunks/cli-0.6.2-974c5e67.mjs +0 -9
  527. package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +0 -2
  528. package/dist/chunks/cli-0.6.2-9mwrq250.mjs +0 -3
  529. package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +0 -2
  530. package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +0 -2
  531. package/dist/chunks/cli-0.6.2-9qtj477e.mjs +0 -2
  532. package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +0 -2
  533. package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +0 -4
  534. package/dist/chunks/cli-0.6.2-a8atyp18.mjs +0 -2
  535. package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +0 -2
  536. package/dist/chunks/cli-0.6.2-aq30pg47.mjs +0 -2
  537. package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +0 -6
  538. package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +0 -2
  539. package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +0 -2
  540. package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +0 -2
  541. package/dist/chunks/cli-0.6.2-bkff60ff.mjs +0 -2
  542. package/dist/chunks/cli-0.6.2-br678d1b.mjs +0 -8
  543. package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +0 -2
  544. package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +0 -2
  545. package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +0 -2
  546. package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +0 -4
  547. package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +0 -2
  548. package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +0 -2
  549. package/dist/chunks/cli-0.6.2-d3evezft.mjs +0 -1
  550. package/dist/chunks/cli-0.6.2-d3y2w089.mjs +0 -2
  551. package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +0 -2
  552. package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +0 -12
  553. package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +0 -2
  554. package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +0 -2
  555. package/dist/chunks/cli-0.6.2-dv8abe56.mjs +0 -7
  556. package/dist/chunks/cli-0.6.2-dx6qfese.mjs +0 -2
  557. package/dist/chunks/cli-0.6.2-dy4zwces.mjs +0 -2
  558. package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +0 -2
  559. package/dist/chunks/cli-0.6.2-e26khw0m.mjs +0 -6
  560. package/dist/chunks/cli-0.6.2-e66qz53g.mjs +0 -2
  561. package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +0 -16
  562. package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +0 -45
  563. package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +0 -5
  564. package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +0 -2
  565. package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +0 -2
  566. package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +0 -2
  567. package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +0 -2
  568. package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +0 -2
  569. package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +0 -6
  570. package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +0 -2
  571. package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +0 -2
  572. package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +0 -2
  573. package/dist/chunks/cli-0.6.2-grf75vb7.mjs +0 -2
  574. package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +0 -2
  575. package/dist/chunks/cli-0.6.2-h72p44ws.mjs +0 -24
  576. package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +0 -2
  577. package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +0 -193
  578. package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +0 -2
  579. package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +0 -2
  580. package/dist/chunks/cli-0.6.2-hqmcear6.mjs +0 -2
  581. package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +0 -34
  582. package/dist/chunks/cli-0.6.2-j05kmd43.mjs +0 -2
  583. package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +0 -2
  584. package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +0 -2
  585. package/dist/chunks/cli-0.6.2-jrb4f391.mjs +0 -15
  586. package/dist/chunks/cli-0.6.2-jrpted0b.mjs +0 -2
  587. package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +0 -2
  588. package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +0 -2
  589. package/dist/chunks/cli-0.6.2-k9v931hm.mjs +0 -2
  590. package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +0 -2
  591. package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +0 -2
  592. package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +0 -4
  593. package/dist/chunks/cli-0.6.2-ky1drj50.mjs +0 -2
  594. package/dist/chunks/cli-0.6.2-mabejxsw.mjs +0 -4
  595. package/dist/chunks/cli-0.6.2-majp93c4.mjs +0 -2
  596. package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +0 -2
  597. package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +0 -3
  598. package/dist/chunks/cli-0.6.2-n9610c8k.mjs +0 -2
  599. package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +0 -2
  600. package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +0 -2
  601. package/dist/chunks/cli-0.6.2-nwzye174.mjs +0 -2
  602. package/dist/chunks/cli-0.6.2-p0jszyht.mjs +0 -3
  603. package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +0 -58
  604. package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +0 -2
  605. package/dist/chunks/cli-0.6.2-q45wdma3.mjs +0 -3
  606. package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +0 -2
  607. package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +0 -2
  608. package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +0 -2
  609. package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +0 -2
  610. package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +0 -2
  611. package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +0 -2
  612. package/dist/chunks/cli-0.6.2-r4p904h3.mjs +0 -67
  613. package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +0 -2
  614. package/dist/chunks/cli-0.6.2-rde30n8x.mjs +0 -2
  615. package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +0 -2
  616. package/dist/chunks/cli-0.6.2-red287ya.mjs +0 -2
  617. package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +0 -2
  618. package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +0 -2
  619. package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +0 -17
  620. package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +0 -24
  621. package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +0 -2
  622. package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +0 -2
  623. package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +0 -2
  624. package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +0 -2
  625. package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +0 -2
  626. package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +0 -133
  627. package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +0 -2
  628. package/dist/chunks/cli-0.6.2-t038jmme.mjs +0 -3
  629. package/dist/chunks/cli-0.6.2-t3e59m32.mjs +0 -2
  630. package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +0 -2
  631. package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +0 -2
  632. package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +0 -2
  633. package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +0 -2
  634. package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +0 -50
  635. package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +0 -20
  636. package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +0 -2
  637. package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +0 -2
  638. package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +0 -2
  639. package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +0 -2
  640. package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +0 -2
  641. package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +0 -18
  642. package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +0 -2
  643. package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +0 -3
  644. package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +0 -2
  645. package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +0 -2
  646. package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +0 -12
  647. package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +0 -2
  648. package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +0 -2
  649. package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +0 -18
  650. package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +0 -2
  651. package/dist/chunks/cli-0.6.2-yep449sd.mjs +0 -17
  652. package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +0 -2
  653. package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +0 -2
  654. package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +0 -4
  655. package/dist/chunks/cli-0.6.2-yysvdabq.mjs +0 -2
  656. package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +0 -4
  657. package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +0 -3
  658. package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +0 -4
  659. package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +0 -2
  660. package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +0 -18
  661. package/dist/chunks/cli-0.6.2-zaahyems.mjs +0 -2
  662. package/dist/chunks/cli-0.6.2-zftyh47j.mjs +0 -2
  663. package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +0 -2
  664. package/dist/chunks/cli-0.6.2-zs4qp487.mjs +0 -2
  665. package/dist/chunks/client-0.6.2-8b0s065m.mjs +0 -1
  666. package/dist/chunks/color-0.6.2-jza3jez4.mjs +0 -1
  667. package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +0 -3
  668. package/dist/chunks/config-0.6.2-qjwjrd75.mjs +0 -1
  669. package/dist/chunks/config-0.6.2-xac3sjb7.mjs +0 -1
  670. package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +0 -1
  671. package/dist/chunks/context-0.6.2-w965073f.mjs +0 -1
  672. package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +0 -1
  673. package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +0 -1
  674. package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +0 -1
  675. package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +0 -9
  676. package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +0 -1
  677. package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +0 -1
  678. package/dist/chunks/createSession-0.6.2-axgp009k.mjs +0 -1
  679. package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +0 -1
  680. package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +0 -1365
  681. package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +0 -1
  682. package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +0 -1
  683. package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +0 -1
  684. package/dist/chunks/diff-0.6.2-md180qh9.mjs +0 -1
  685. package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +0 -1
  686. package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +0 -1
  687. package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +0 -1
  688. package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +0 -10
  689. package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +0 -1
  690. package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +0 -1
  691. package/dist/chunks/environments-0.6.2-fe197syt.mjs +0 -1
  692. package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +0 -1
  693. package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +0 -1
  694. package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +0 -1
  695. package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +0 -2
  696. package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +0 -1
  697. package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +0 -1
  698. package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +0 -1
  699. package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +0 -14
  700. package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +0 -1
  701. package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +0 -1
  702. package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +0 -1
  703. package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +0 -4
  704. package/dist/chunks/grove-0.6.2-a2wgccag.mjs +0 -1
  705. package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +0 -1
  706. package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +0 -2
  707. package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +0 -6
  708. package/dist/chunks/help-0.6.2-c49svpae.mjs +0 -1
  709. package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +0 -3
  710. package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +0 -1
  711. package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +0 -79
  712. package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +0 -3
  713. package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +0 -1
  714. package/dist/chunks/index-0.6.2-1kk3erm5.mjs +0 -9
  715. package/dist/chunks/index-0.6.2-21nak3ad.mjs +0 -1
  716. package/dist/chunks/index-0.6.2-2vns8v9p.mjs +0 -1
  717. package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +0 -1
  718. package/dist/chunks/index-0.6.2-3g92ew8z.mjs +0 -1
  719. package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +0 -1
  720. package/dist/chunks/index-0.6.2-88m8k4cp.mjs +0 -1
  721. package/dist/chunks/index-0.6.2-93bh3w93.mjs +0 -1
  722. package/dist/chunks/index-0.6.2-9e0qz384.mjs +0 -1
  723. package/dist/chunks/index-0.6.2-emm65q8h.mjs +0 -17
  724. package/dist/chunks/index-0.6.2-ff57yvh3.mjs +0 -1
  725. package/dist/chunks/index-0.6.2-g6xy97jv.mjs +0 -1
  726. package/dist/chunks/index-0.6.2-h37g7n0s.mjs +0 -9
  727. package/dist/chunks/index-0.6.2-h8jkf613.mjs +0 -5
  728. package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +0 -1
  729. package/dist/chunks/index-0.6.2-jw83xhc8.mjs +0 -2
  730. package/dist/chunks/index-0.6.2-mehn31e3.mjs +0 -30
  731. package/dist/chunks/index-0.6.2-naw1d8mg.mjs +0 -2
  732. package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +0 -1
  733. package/dist/chunks/index-0.6.2-qn0re7sj.mjs +0 -1
  734. package/dist/chunks/index-0.6.2-tftj6wdh.mjs +0 -1
  735. package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +0 -1
  736. package/dist/chunks/init-0.6.2-47k2caay.mjs +0 -1
  737. package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +0 -1
  738. package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +0 -1
  739. package/dist/chunks/insights-0.6.2-st861yg4.mjs +0 -870
  740. package/dist/chunks/install-0.6.2-webkhwz9.mjs +0 -1
  741. package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +0 -149
  742. package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +0 -1
  743. package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +0 -1
  744. package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +0 -1
  745. package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +0 -2
  746. package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +0 -2
  747. package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +0 -1
  748. package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +0 -1
  749. package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +0 -1
  750. package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +0 -1
  751. package/dist/chunks/log-0.6.2-h02k5q0p.mjs +0 -1
  752. package/dist/chunks/main-0.6.2-51xvrsbq.mjs +0 -1
  753. package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +0 -1
  754. package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +0 -17
  755. package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +0 -4
  756. package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +0 -1
  757. package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +0 -1
  758. package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +0 -3
  759. package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +0 -2
  760. package/dist/chunks/model-0.6.2-49f9g2vz.mjs +0 -2
  761. package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +0 -1
  762. package/dist/chunks/node-0.6.2-40bknjza.mjs +0 -12
  763. package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +0 -1
  764. package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +0 -14
  765. package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +0 -1
  766. package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +0 -1
  767. package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +0 -1
  768. package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +0 -1
  769. package/dist/chunks/passes-0.6.2-kadygcw6.mjs +0 -1
  770. package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +0 -3
  771. package/dist/chunks/plan-0.6.2-hzbsezab.mjs +0 -1
  772. package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +0 -1
  773. package/dist/chunks/plugin-0.6.2-pr48413e.mjs +0 -29
  774. package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +0 -1
  775. package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +0 -9
  776. package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +0 -2
  777. package/dist/chunks/print-0.6.2-ng7p0m66.mjs +0 -57
  778. package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +0 -1
  779. package/dist/chunks/process-0.6.2-7k26fk4b.mjs +0 -1
  780. package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +0 -1
  781. package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +0 -9
  782. package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +0 -1
  783. package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +0 -1
  784. package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +0 -1
  785. package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +0 -13
  786. package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +0 -2
  787. package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +0 -1
  788. package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +0 -6
  789. package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +0 -1
  790. package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +0 -34
  791. package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +0 -1
  792. package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +0 -5
  793. package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +0 -2
  794. package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +0 -1
  795. package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +0 -1
  796. package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +0 -1
  797. package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +0 -1
  798. package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +0 -1
  799. package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +0 -1
  800. package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +0 -2
  801. package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +0 -1
  802. package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +0 -1
  803. package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +0 -1
  804. package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +0 -1
  805. package/dist/chunks/session-0.6.2-k41jbqwf.mjs +0 -2
  806. package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +0 -1
  807. package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +0 -1
  808. package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +0 -1
  809. package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +0 -1
  810. package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +0 -5
  811. package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +0 -1
  812. package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +0 -1
  813. package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +0 -1
  814. package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +0 -1
  815. package/dist/chunks/state-0.6.2-nymhw7ey.mjs +0 -1
  816. package/dist/chunks/stats-0.6.2-skm9nakv.mjs +0 -6
  817. package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +0 -1
  818. package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +0 -1
  819. package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +0 -1
  820. package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +0 -1
  821. package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +0 -1
  822. package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +0 -1
  823. package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +0 -1
  824. package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +0 -1
  825. package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +0 -1
  826. package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +0 -1
  827. package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +0 -1
  828. package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +0 -1
  829. package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +0 -1
  830. package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +0 -1
  831. package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +0 -1
  832. package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +0 -69
  833. package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +0 -4
  834. package/dist/chunks/update-0.6.2-p8edrwg4.mjs +0 -86
  835. package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +0 -1
  836. package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +0 -14
  837. package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +0 -1
  838. package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +0 -1
  839. package/dist/chunks/util-0.6.2-yet75ms4.mjs +0 -1
  840. package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +0 -1
  841. package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +0 -1
  842. package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +0 -1
  843. package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +0 -132
  844. package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +0 -1
  845. package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +0 -1
  846. package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +0 -7
  847. /package/dist/chunks/{cli-0.6.2-qk6j042k.mjs → cli-0.6.3-1h3a97cb.mjs} +0 -0
  848. /package/dist/chunks/{cli-0.6.2-hb4fz4pd.mjs → cli-0.6.3-29t031py.mjs} +0 -0
  849. /package/dist/chunks/{cli-0.6.2-hkgnx8g7.mjs → cli-0.6.3-4k4zf43b.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.6.2-7p1ykg1m.mjs → cli-0.6.3-94pqfzn3.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.6.2-3eaaj6e5.mjs → cli-0.6.3-dvsz6151.mjs} +0 -0
  852. /package/dist/chunks/{cli-0.6.2-adegz2m3.mjs → cli-0.6.3-ecnnpsad.mjs} +0 -0
  853. /package/dist/chunks/{cli-0.6.2-1e5p6hw6.mjs → cli-0.6.3-v522ej7z.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ import{Vf as g,Wf as My}from"./cli-0.6.3-h1yy6vwa.mjs";import{ig as by,kg as GG}from"./cli-0.6.3-99tcx5qw.mjs";import{Rh as Xy,Th as Zy,Uh as oy}from"./cli-0.6.3-6n6gtkcy.mjs";import{AE as Ly,Ar as v,Ir as ly,Nm as e,PI as j,Pm as yy,QI as ty,Rm as Gy,UQ as qG,Um as ky,Uv as Wy,Vm as qy,Wm as zy,Xv as ay,YI as Ny,Ym as Iy,_j as t,au as U,bu as _y,ck as gy,cn as $y,eq as Jy,gJ as ey,iQ as jy,nJ as Oy,pq as Qy,rJ as yG,uE as d,vE as ry,xq as xy,zE as i,zQ as Hy}from"./cli-0.6.3-kz9egvgw.mjs";import{kU as Ry,lU as cy}from"./cli-0.6.3-wfrn6z2y.mjs";import{nV as wy,oV as Py,pV as Uy,tV as kG}from"./cli-0.6.3-40mx2zxs.mjs";import{FV as ny,zV as Ky}from"./cli-0.6.3-7adzjn5q.mjs";import{AY as E,dX as Yy,dZ as hy,wY as Q,xY as sy,yY as L}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as N,E0 as u,F0 as C}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as Fy}from"./cli-0.6.3-ysazbe18.mjs";import{D3 as dy,T4 as h,d3 as n,e3 as c,k5 as iy}from"./cli-0.6.3-nawttnnp.mjs";import{G5 as _,H5 as Dy}from"./cli-0.6.3-6ax8m5hv.mjs";import{G_ as J,I_ as uy,P8 as a,Taa as o,Vba as w,W8 as fy,Y8 as P,Yaa as r,Yba as q,Z8 as Ay,Zaa as T,gba as Ey,rca as M}from"./cli-0.6.3-cz70v0dc.mjs";import{Afa as A,ofa as Z,zfa as f}from"./cli-0.6.3-pqq8j8h2.mjs";import{rga as D,tga as By}from"./cli-0.6.3-ywk23cbf.mjs";import{tha as l,wha as py}from"./cli-0.6.3-tjykjtxh.mjs";import{spa as p}from"./cli-0.6.3-qh59pqrb.mjs";hy();A();By();M();ry();My();Ly();C();var s=p(Yy(),1),F=p(Fy(),1),Sy={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return f("tengu_desktop_upsell",Sy)}function Ty(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function bG(){if(!Ty())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function wG(y){let G=s.c(14),{onDone:k}=y,[z,X]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(Cy,W),z){let b;if(G[1]!==k)b=N(g,{onDone:()=>k()}),G[1]=k,G[2]=b;else b=G[2];return b}let O;if(G[3]!==k)O=function(my){switch(my){case"try":{X(!0);return}case"never":{w(vy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=O;else O=G[4];let I=O,K;if(G[5]===Symbol.for("react.memo_cache_sentinel"))K={label:"Open in Claude Code Desktop",value:"try"},G[5]=K;else K=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[K,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let Vy=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=N(L,{marginBottom:1,children:N(E,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let R;if(G[9]!==I)R=()=>I("not-now"),G[9]=I,G[10]=R;else R=G[10];let B;if(G[11]!==I||G[12]!==R)B=N(i,{title:"Try Claude Code Desktop",children:u(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,N(d,{options:Vy,onChange:I,onCancel:R})]})}),G[11]=I,G[12]=R,G[13]=B;else B=G[13];return B}function vy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function Cy(){let y=(q().desktopUpsellSeenCount??0)+1;w((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),D("tengu_desktop_upsell_shown",{seen_count:y})}M();function HG(y){let G=q().numStartups;w((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function $(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}Dy();py();ly();Ey();ny();sy();GG();_y();gy();iy();cy();M();xy();uy();ay();fy();$y();dy();Ay();yG();ey();ty();qG();A();oy();kG();var Y;async function zG(){if(Y!==void 0)return Y;let y=await Ny();return Y=j in y,Y}async function x(y,G,k){if(!await zG())return!1;if(Oy(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((X)=>z.has(X)))return!0}if(k.filePath&&G?.readFileState){if(Wy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var IG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=T(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return l(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claude sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await a()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(jy())return!1;return await Ry()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ky())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claude memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&_.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>P()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>T().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claude is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claude while it works to steer Claude in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claude to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!e())return!1;if(P()!=="macos")return!1;switch(J.terminal){case"vscode":return!await zy();case"cursor":return!await ky();case"windsurf":return!await qy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claude to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(yy())return!1;if((await Gy()).length!==0)return!1;return(await Iy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claude Code using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>P()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!v()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>v()},{id:"continue",content:async()=>"Run claude --continue or claude --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Hy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${U("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${U("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>P()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=n()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return Z("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claude thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Jy(c()))return!1;if(o("policySettings")?.effortLevel!==void 0)return!1;if(Qy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return Z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claude to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return Z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!t())return!1;return Z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=Uy();return k?`Share Claude Code and earn ${G(Py(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=wy();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Xy(),z=k?Zy(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>by()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],JG=[];function QG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function nG(y){let k=r().spinnerTipsOverride,z=QG();if(k?.excludeDefault&&z.length>0)return z;let X=[...IG,...JG],W=await Promise.all(X.map((I)=>I.isRelevant(y)));return[...X.filter((I,K)=>W[K]).filter((I)=>$(I.id)>=I.cooldownSessions),...z]}
4
+ export{bG as hb,wG as ib,HG as jb,$ as kb,nG as lb};
@@ -0,0 +1,18 @@
1
+ import{lH as Q,oH as F}from"./cli-0.6.3-kz9egvgw.mjs";import{tha as b,wha as y}from"./cli-0.6.3-tjykjtxh.mjs";import{Pha as x,Uha as f}from"./cli-0.6.3-2seqm104.mjs";import{Xha as w,iia as R}from"./cli-0.6.3-vp1zy3b1.mjs";import{Nna as K,Sja as $,Vja as j}from"./cli-0.6.3-g7nc10fr.mjs";import{wpa as v}from"./cli-0.6.3-qh59pqrb.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
2
+
3
+ `:"",B=k===G?`
4
+
5
+ ${c}`:"";return`Scheduled loop tick.
6
+
7
+ ${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
8
+
9
+ If .claudin/loop.md exists, read it and follow it.
10
+ Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
11
+ Otherwise:
12
+ - continue any unfinished work from the conversation
13
+ - tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
14
+ - run cleanup passes such as bug hunts or simplification when nothing else is pending
15
+
16
+ Do not start new initiatives outside that scope.
17
+ Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
18
+ export{Y as fh,G as gh,D as hh,g as ih,M as jh,U as kh};
@@ -0,0 +1,2 @@
1
+ import{_ha as q,iia as U}from"./cli-0.6.3-vp1zy3b1.mjs";import{vpa as L,wpa as X}from"./cli-0.6.3-qh59pqrb.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
2
+ export{G as qU,Y as rU,Z as sU,$ as tU,Q as uU,_ as vU,v as wU,E as xU,A as yU,h as zU,u as AU,f as BU,w as CU,S as DU,P as EU,I as FU,l as GU,y as HU,g as IU};
@@ -0,0 +1,2 @@
1
+ import{$na as e8,Ona as _Q,Pna as YJ,Qna as v,Rna as P1,Sna as Y5,Tna as w8,Una as q,Vna as y,Wna as S,Xna as kQ,Yna as L,Zna as a,_na as n5,aoa as R5,boa as _8,coa as E,doa as h8,eoa as P,foa as x1,goa as d,hoa as xQ,ioa as r,joa as UQ,koa as T5,loa as UY}from"./cli-0.6.3-z6sz55zd.mjs";import{vpa as aQ,wpa as X}from"./cli-0.6.3-qh59pqrb.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();DQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=q.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=S?S.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function qJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=qJ});var DJ,w;var M=X(()=>{DJ=Array.isArray,w=DJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{mQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();m();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();m();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,SJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?q.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,SJ=yJ||cQ,A=SJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?mJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var mJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();m();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||D8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var q8,D8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();q8=Object.prototype,D8=q8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{_8();J1();q5=k8});function E8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var S1=X(()=>{x5();F5();D5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var m1;var O5=X(()=>{yQ();bQ();S1();m1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=m1(Q),B=U.length,K=m1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var S8,U1;var L5=X(()=>{x1();y();S8=P(q,"DataView"),U1=S8});var m8,K1;var f5=X(()=>{x1();y();m8=P(q,"Promise"),K1=m8});var A8,G1;var P5=X(()=>{x1();y();A8=P(q,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(q,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,S5;var m5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();S1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();m();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var q1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function qY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var D1;var b1=X(()=>{M();q1();s5();X$();D1=qY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-DY?"-0":J}var DY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();q1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as SY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=SY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,lspRecommendationShownThisSession:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,S$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,S$(Q)}function S$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function q9(){return $.directConnectServerUrl}function D9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){return Date.now()-$.startTime}function I9(){return $.totalAPIDurationWithoutRetries}function C9(){return $.totalToolDuration}function _9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function k9(){return $.turnHookDurationMs}function E9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function v9(){$.turnHookDurationMs=0,$.turnHookCount=0}function d9(){return $.turnHookCount}function g9(){return $.turnToolDurationMs}function p9(){$.turnToolDurationMs=0,$.turnToolCount=0}function y9(){return $.turnToolCount}function S9(){return $.turnClassifierDurationMs}function m9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function A9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function j9(){return $.turnClassifierCount}function h9(){return $.statsStore}function n9(Q){$.statsStore=Q}function b9(Q){if(Q)m$();else s1=!0}function i9(){if(s1)m$()}function m$(){$.lastInteractionTime=Date.now(),s1=!1}function u9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function l9(){return $.totalLinesAdded}function T9(){return $.totalLinesRemoved}function c9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function r9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function o9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function s9(){return b(Object.values($.modelUsage),"webSearchRequests")}function a9(){return A$()-a1}function t9(){return t1}function e9(Q){a1=A$(),t1=Q,f1=0}function QH(){return f1}function $H(){f1++}function JH(){$.hasUnknownModelCost=!0}function YH(){return $.hasUnknownModelCost}function ZH(){return $.lastMainRequestId}function XH(Q){$.lastMainRequestId=Q}function HH(){return $.lastApiCompletionTimestamp}function WH(Q){$.lastApiCompletionTimestamp=Q}function xH(){$.pendingPostCompaction=!0}function UH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function KH(){return $.lastInteractionTime}function GH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function BH(){return M1}async function NH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function wH(){return $.modelUsage}function zH(Q){return $.modelUsage[Q]}function FH(){return $.mainLoopModelOverride}function RH(){return $.initialMainLoopModel}function qH(Q){$.mainLoopModelOverride=Q}function DH(Q){$.initialMainLoopModel=Q}function OH(){return $.sdkBetas}function VH(Q){$.sdkBetas=Q}function MH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function LH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function fH(){throw Error("resetStateForTests can only be called in tests")}function PH(){return $.modelStrings}function IH(Q){$.modelStrings=Q}function CH(){$.modelStrings=null}function _H(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function kH(){return $.meter}function EH(){return $.sessionCounter}function vH(){return $.locCounter}function dH(){return $.prCounter}function gH(){return $.commitCounter}function pH(){return $.costCounter}function yH(){return $.tokenCounter}function SH(){return $.codeEditToolDecisionCounter}function mH(){return $.activeTimeCounter}function AH(){return $.loggerProvider}function jH(Q){$.loggerProvider=Q}function hH(){return $.eventLogger}function nH(Q){$.eventLogger=Q}function bH(){return $.meterProvider}function iH(Q){$.meterProvider=Q}function uH(){return $.tracerProvider}function lH(Q){$.tracerProvider=Q}function mY(){return!$.isInteractive}function TH(){return $.isInteractive}function cH(Q){$.isInteractive=Q}function rH(){return $.clientType}function oH(Q){$.clientType=Q}function sH(){return $.sdkAgentProgressSummariesEnabled}function aH(Q){$.sdkAgentProgressSummariesEnabled=Q}function tH(){return $.kairosActive}function eH(Q){$.kairosActive=Q,L1()}function Q4(){return $.strictToolResultPairing}function $4(Q){$.strictToolResultPairing=Q}function J4(){return $.userMsgOptIn}function Y4(Q){$.userMsgOptIn=Q,L1()}function Z4(){return $.sessionSource}function X4(Q){$.sessionSource=Q}function H4(){return $.questionPreviewFormat}function W4(Q){$.questionPreviewFormat=Q}function x4(){return $.agentColorMap}function U4(){return $.flagSettingsPath}function K4(Q){$.flagSettingsPath=Q}function G4(){return $.flagSettingsInline}function B4(Q){$.flagSettingsInline=Q}function N4(){return $.sessionIngressToken}function w4(Q){$.sessionIngressToken=Q}function z4(){return $.oauthTokenFromFd}function F4(Q){$.oauthTokenFromFd=Q}function R4(){return $.apiKeyFromFd}function q4(Q){$.apiKeyFromFd=Q}function D4(Q){$.lastAPIRequest=Q}function O4(){return $.lastAPIRequest}function V4(Q){$.lastAPIRequestMessages=Q}function M4(){return $.lastAPIRequestMessages}function L4(Q){$.lastClassifierRequests=Q}function f4(){return $.lastClassifierRequests}function P4(Q){$.cachedClaudeMdContent=Q}function I4(){return $.cachedClaudeMdContent}function C4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function _4(){return $.allowedSettingSources}function k4(Q){$.allowedSettingSources=Q}function E4(){return mY()&&$.clientType!=="claude-vscode"}function v4(Q){$.inlinePlugins=Q}function d4(){return $.inlinePlugins}function g4(Q){$.useCoworkPlugins=Q,E$()}function p4(){return $.useCoworkPlugins}function y4(Q){$.sessionBypassPermissionsMode=Q}function S4(){return $.sessionBypassPermissionsMode}function m4(Q){$.scheduledTasksEnabled=Q}function A4(){return $.scheduledTasksEnabled}function j4(){return $.sessionCronTasks}function h4(Q){$.sessionCronTasks.push(Q)}function n4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function b4(){return $.pendingSessionWakeup}function i4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function u4(){$.pendingSessionWakeup=null}function l4(Q){$.sessionTrustAccepted=Q}function T4(){return $.sessionTrustAccepted}function c4(Q){$.sessionPersistenceDisabled=Q}function r4(){return $.sessionPersistenceDisabled}function o4(){return $.hasExitedPlanMode}function s4(Q){$.hasExitedPlanMode=Q}function a4(){return $.needsPlanModeExitAttachment}function t4(Q){$.needsPlanModeExitAttachment=Q}function e4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function Q3(){return $.needsAutoModeExitAttachment}function $3(Q){$.needsAutoModeExitAttachment=Q}function J3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function Y3(){return $.lspRecommendationShownThisSession}function Z3(Q){$.lspRecommendationShownThisSession=Q}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function q3(){return $.invokedSkills}function D3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function S3(Q){$.allowedChannels=Q,L1()}function m3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function r3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function o3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
2
+ export{p as jia,I1 as kia,FQ as lia,RQ as mia,OQ as nia,VQ as oia,_1 as pia,MQ as qia,PQ as ria,IQ as sia,dQ as tia,gQ as uia,w as via,M as wia,pQ as xia,yQ as yia,SQ as zia,mQ as Aia,AQ as Bia,jQ as Cia,nQ as Dia,bQ as Eia,O as Fia,m as Gia,t as Hia,v1 as Iia,A as Jia,d1 as Kia,$1 as Lia,g1 as Mia,$5 as Nia,J5 as Oia,X1 as Pia,X5 as Qia,H1 as Ria,y1 as Sia,W5 as Tia,x5 as Uia,U5 as Via,K5 as Wia,G5 as Xia,B5 as Yia,q5 as Zia,D5 as _ia,W1 as $ia,S1 as aja,m1 as bja,O5 as cja,G1 as dja,P5 as eja,A1 as fja,d5 as gja,w1 as hja,j1 as ija,h as jja,R1 as kja,a5 as lja,t5 as mja,Z$ as nja,X$ as oja,D1 as pja,b1 as qja,I as rja,u as sja,O1 as tja,i1 as uja,F$ as vja,R$ as wja,f$ as xja,P$ as yja,nX as zja,bX as Aja,iX as Bja,uX as Cja,lX as Dja,TX as Eja,E$ as Fja,cX as Gja,rX as Hja,oX as Ija,v$ as Jja,d$ as Kja,g$ as Lja,Z9 as Mja,X9 as Nja,H9 as Oja,W9 as Pja,x9 as Qja,U9 as Rja,K9 as Sja,G9 as Tja,B9 as Uja,N9 as Vja,w9 as Wja,z9 as Xja,F9 as Yja,R9 as Zja,q9 as _ja,D9 as $ja,O9 as aka,V9 as bka,M9 as cka,L9 as dka,f9 as eka,P9 as fka,I9 as gka,C9 as hka,_9 as ika,k9 as jka,E9 as kka,v9 as lka,d9 as mka,g9 as nka,p9 as oka,y9 as pka,S9 as qka,m9 as rka,A9 as ska,j9 as tka,h9 as uka,n9 as vka,b9 as wka,i9 as xka,u9 as yka,l9 as zka,T9 as Aka,c9 as Bka,A$ as Cka,r9 as Dka,o9 as Eka,s9 as Fka,a9 as Gka,t9 as Hka,e9 as Ika,QH as Jka,$H as Kka,JH as Lka,YH as Mka,ZH as Nka,XH as Oka,HH as Pka,WH as Qka,xH as Rka,UH as Ska,KH as Tka,GH as Uka,BH as Vka,NH as Wka,wH as Xka,zH as Yka,FH as Zka,RH as _ka,qH as $ka,DH as ala,OH as bla,VH as cla,MH as dla,LH as ela,fH as fla,PH as gla,IH as hla,CH as ila,_H as jla,kH as kla,EH as lla,vH as mla,dH as nla,gH as ola,pH as pla,yH as qla,SH as rla,mH as sla,AH as tla,jH as ula,hH as vla,nH as wla,bH as xla,iH as yla,uH as zla,lH as Ala,mY as Bla,TH as Cla,cH as Dla,rH as Ela,oH as Fla,sH as Gla,aH as Hla,tH as Ila,eH as Jla,Q4 as Kla,$4 as Lla,J4 as Mla,Y4 as Nla,Z4 as Ola,X4 as Pla,H4 as Qla,W4 as Rla,x4 as Sla,U4 as Tla,K4 as Ula,G4 as Vla,B4 as Wla,N4 as Xla,w4 as Yla,z4 as Zla,F4 as _la,R4 as $la,q4 as ama,D4 as bma,O4 as cma,V4 as dma,M4 as ema,L4 as fma,f4 as gma,P4 as hma,I4 as ima,C4 as jma,_4 as kma,k4 as lma,E4 as mma,v4 as nma,d4 as oma,g4 as pma,p4 as qma,y4 as rma,S4 as sma,m4 as tma,A4 as uma,j4 as vma,h4 as wma,n4 as xma,b4 as yma,i4 as zma,u4 as Ama,l4 as Bma,T4 as Cma,c4 as Dma,r4 as Ema,o4 as Fma,s4 as Gma,a4 as Hma,t4 as Ima,e4 as Jma,Q3 as Kma,$3 as Lma,J3 as Mma,Y3 as Nma,Z3 as Oma,X3 as Pma,H3 as Qma,W3 as Rma,x3 as Sma,U3 as Tma,K3 as Uma,G3 as Vma,B3 as Wma,N3 as Xma,w3 as Yma,z3 as Zma,F3 as _ma,R3 as $ma,q3 as ana,D3 as bna,O3 as cna,V3 as dna,M3 as ena,L3 as fna,f3 as gna,P3 as hna,I3 as ina,C3 as jna,_3 as kna,k3 as lna,E3 as mna,v3 as nna,d3 as ona,g3 as pna,p3 as qna,y3 as rna,S3 as sna,m3 as tna,A3 as una,j3 as vna,h3 as wna,n3 as xna,b3 as yna,i3 as zna,u3 as Ana,l3 as Bna,T3 as Cna,c3 as Dna,r3 as Ena,o3 as Fna,s3 as Gna,jY as Hna,a3 as Ina,t3 as Jna,e3 as Kna,QW as Lna,$W as Mna,hY as Nna};
@@ -0,0 +1,2 @@
1
+ import{JU as M,LU as X}from"./cli-0.6.3-kwnp45kq.mjs";import{Taa as K,Zaa as L,gba as W,j_ as B,s_ as V}from"./cli-0.6.3-cz70v0dc.mjs";import{wpa as Q}from"./cli-0.6.3-qh59pqrb.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
2
+ export{F as Pb,Y as Qb};
@@ -0,0 +1,2 @@
1
+ import{Ah as CJ,zh as B}from"./cli-0.6.3-kfn8srsd.mjs";import{Am as DJ,Au as wJ,Bm as lJ,Cm as PJ,Cu as JQ,Dm as tJ,Em as VJ,Fm as eJ,dq as vq,eq as n,fq as NJ,lu as Bq,mq as TJ,mu as kq,nu as yJ,om as AJ,oq as OJ,pm as rJ,sq as JJ,tq as uq,tx as FJ,uE as BJ,ux as QQ,wE as ZQ,wq as MJ,xq as QJ,zu as Cq}from"./cli-0.6.3-kz9egvgw.mjs";import{kV as RJ,lV as aJ}from"./cli-0.6.3-40mx2zxs.mjs";import{AW as LJ,BW as oJ,JW as jJ,KW as qQ}from"./cli-0.6.3-sxj65pz4.mjs";import{AY as D,CY as nq,DY as EJ,dX as sJ,dZ as hJ,yY as O}from"./cli-0.6.3-sz0yt1ax.mjs";import{C0 as IJ,D0 as H,E0 as j,F0 as zJ}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as nJ}from"./cli-0.6.3-ysazbe18.mjs";import{D3 as dJ,K2 as HJ,N3 as kJ,P2 as pJ,R4 as _J,S3 as GQ,k5 as HQ,l3 as mq,n3 as s,v2 as bq,w2 as GJ,w3 as i,y2 as Eq,z3 as yq}from"./cli-0.6.3-nawttnnp.mjs";import{G5 as K,H5 as xJ}from"./cli-0.6.3-6ax8m5hv.mjs";import{P_ as aq,Q_ as lq,R_ as _q,S_ as tq,T_ as eq,Taa as UJ,U_ as qJ,Vaa as WJ,c$ as $J,gba as iJ}from"./cli-0.6.3-cz70v0dc.mjs";import{rga as KJ,tga as cJ}from"./cli-0.6.3-ywk23cbf.mjs";import{spa as XJ,wpa as Rq}from"./cli-0.6.3-qh59pqrb.mjs";function hq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function mJ(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function z(J,q,Q){if(q.startsWith("ansi:")){let Y=q.slice(5);if(Q==="fg")return J[Y]??J;let X=`bg${Y[0].toUpperCase()}${Y.slice(1)}`;return J[X]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let Y=parseInt(q.slice(8));return Q==="fg"?J.ansi256(Y):J.bgAnsi256(Y)}let Z=bJ.exec(q);if(Z){let[Y,X,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(Y,X,U):J.bgRgb(Y,X,U)}return J}function PQ(J,q,Q,Z,Y){if(!B())return uJ(J,q,Q,Z,Y);let{suggestion:X,messageActionsBackground:U}=Y,G=U==="ansi:white"||U==="ansi:whiteBright"?Y.inactive:U,R=Y.inverseText,I=Y.suggestion,F=z(z(K,X,"bg"),R,"fg").bold,L=z(z(K,X,"fg"),G,"bg"),A=z(z(K,G,"bg"),I,"fg"),T=z(K,G,"fg"),Pq=z(K,X,"fg"),P=F(` ${J} `);if(q){if(P+=L(w),P+=A(` ${sq} ${q}`),Q>0||Z>0){if(P+=A(" ("),Q>0)P+=z(z(K,G,"bg"),Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)P+=A(" ");if(Z>0)P+=z(z(K,G,"bg"),Y.warning,"fg")(`↓${Z}`);P+=A(")")}P+=A(" "),P+=T(w)}else P+=Pq(w);return P}function VQ(J,q,Q){if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J)} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J} `)+U(w)}function jQ(J,q,Q){if(!J)return"";if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J.trim())} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function NQ(J,q,Q){if(!J)return"";if(!B())return`[ ${z(K,q.suggestion,"fg")(J.trim())} ]`;let Z=hq(q),Y=q.suggestion,X=z(z(K,Z,"bg"),Y,"fg"),U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function rq(J,q,Q){if(!J)return"";if(!B())return`[ ${J} ]`;let Z=z(z(K,q,"bg"),Q.inverseText,"fg").bold,Y=z(K,q,"fg");return Z(` ${J} `)+Y(w)}function TQ(J,q,Q,Z,Y){if(!J)return"";if(!B()){let L=z(K,Z.suggestion,"fg")(J);if(q>0||Q>0){if(L+=" (",q>0)L+=z(K,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)L+=" ";if(Q>0)L+=z(K,Z.warning,"fg")(`↓${Q}`);L+=")"}return`[ ${L} ]`}let X=hq(Z),U=Z.suggestion,G=z(z(K,X,"bg"),U,"fg"),R=Y?z(z(K,Y,"bg"),X,"fg"):z(K,X,"fg"),I=G(` ${sq} ${J}`);if(q>0||Q>0){if(I+=G(" ("),q>0)I+=z(z(K,X,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=G(" ");if(Q>0)I+=z(z(K,X,"bg"),Z.warning,"fg")(`↓${Q}`);I+=G(")")}return I+=G(" "),I+=R(w),I}function dq(J,q){if(!q||!nq())return J;return`${Bq}${q}${kq}${J}${Bq}${kq}`}function OQ(J,q,Q,Z="PR",Y){if(!B()){let F=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,L=dq(z(K,F,"fg")(`#${J}`),Y);return`[ ${z(K,Q.inactive,"fg")(Z)} ${L} ]`}let X=mJ(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,G=z(z(K,X,"bg"),Q.inactive,"fg"),R=z(z(K,X,"bg"),U,"fg"),I=z(K,X,"fg");return G(` ${gJ} `)+dq(R(`#${J}`),Y)+G(" ")+I(w)}function uJ(J,q,Q,Z,Y){let X=z(K,Y.suggestion,"fg").bold,U=`[ ${X(J)} ]`;if(q){let R=z(K,Y.suggestion,"fg")(q);if(Q>0||Z>0){if(R+=" (",Q>0)R+=z(K,Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)R+=" ";if(Z>0)R+=z(K,Y.warning,"fg")(`↓${Z}`);R+=")"}U+=` [ ${R} ]`}return U}var w="",sq="",gJ="",bJ;var oq=Rq(()=>{xJ();EJ();yJ();CJ();bJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function fJ(J,q){if(vq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function kQ(J,q,Q){if(!n(q))return;let Z=JJ(q,J),Y=fJ(Z,Q);return{pill:rq(`${Sq(Z)} ${Z}`,Y,Q),bg:Y}}function Sq(J){if(vq(J))return qJ;switch(J){case"low":return aq;case"medium":return lq;case"high":return _q;case"xhigh":return tq;case"max":return eq;default:return _q}}var ZJ=Rq(()=>{$J();QJ();oq()});function rQ(J){let q=$q.c(82),{initial:Q,sessionModel:Z,onSelect:Y,onCancel:X,isStandaloneCommand:U,showFastModeNotice:G,headerText:R,skipSettingsWrite:I}=J,F=wJ(),L=RJ(),A=Q===null?h:Q,[T,Pq]=Dq.useState(A),P=Cq(KQ),[k,vJ]=Dq.useState(!1),_=Cq(XQ),r;if(q[0]!==_)r=_!==void 0?uq(_):void 0,q[0]=_,q[1]=r;else r=q[1];let[v,fq]=Dq.useState(r),Vq=P??!1,o;if(q[2]!==Vq)o=FJ(Vq),q[2]=Vq,q[3]=o;else o=q[3];let p=o,jq;q:{if(Q!==null&&!p.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return s(i(String(W.value)))===s(i(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=yq(Q),q[4]=Q,q[5]=W;else W=q[5];let V;if(q[6]!==Q||q[7]!==W)V={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=V;else V=q[8];let S;if(q[9]!==p||q[10]!==V)S=[...p,V],q[9]=p,q[10]=V,q[11]=S;else S=q[11];jq=S;break q}jq=p}let Nq=jq,a;if(q[12]!==Nq)a=Nq.map(YQ),q[12]=Nq,q[13]=a;else a=q[13];let N=a,l;if(q[14]!==A||q[15]!==N)l=N.find((W)=>{if(W.value===A)return!0;if(A===h||W.value===null)return!1;try{return s(i(String(W.value)))===s(i(String(A)))}catch{return!1}})?.value??N[0]?.value??void 0,q[14]=A,q[15]=N,q[16]=l;else l=q[16];let Tq=l,t=Math.min(10,N.length),e=Math.max(0,N.length-t),qq;if(q[17]!==T||q[18]!==N)qq=N.find((W)=>W.value===T)?.label,q[17]=T,q[18]=N,q[19]=qq;else qq=q[19];let Jq=qq,M,Qq;if(q[20]!==T){let W=gq(T);M=W?n(W):!1,Qq=W?NJ(W):!1,q[20]=T,q[21]=M,q[22]=Qq}else M=q[21],Qq=q[22];let Zq=Qq,zq;if(q[23]!==T)zq=xq(T),q[23]=T,q[24]=zq;else zq=q[24];let x=zq,d=v==="max"&&!Zq?"high":v,Yq;if(q[25]!==_||q[26]!==k)Yq=(W)=>{if(Pq(W),!k&&_===void 0)fq(xq(W))},q[25]=_,q[26]=k,q[27]=Yq;else Yq=q[27];let Oq=Yq,Xq;if(q[28]!==x||q[29]!==M||q[30]!==Zq)Xq=(W)=>{if(!M)return;fq((V)=>UQ(V??x,W,Zq)),vJ(!0)},q[28]=x,q[29]=M,q[30]=Zq,q[31]=Xq;else Xq=q[31];let Kq=Xq,Uq;if(q[32]!==Kq)Uq={"modelPicker:decreaseEffort":()=>Kq("left"),"modelPicker:increaseEffort":()=>Kq("right")},q[32]=Kq,q[33]=Uq;else Uq=q[33];let Wq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Wq={context:"ModelPicker"},q[34]=Wq;else Wq=q[34];LJ(Uq,Wq);let Gq;if(q[35]!==v||q[36]!==k||q[37]!==Y||q[38]!==F||q[39]!==I)Gq=function(V){if(KJ("tengu_model_command_menu_effort",{effort:v}),!I){let iq=OJ(v,xq(V),UJ("userSettings")?.effortLevel,k),pq=TJ(iq);if(pq!==void 0)WJ("userSettings",{effortLevel:pq});F((SJ)=>({...SJ,effortValue:iq}))}let S=gq(V),cq=k&&S&&n(S)?v:void 0;if(V===h){Y(null,cq);return}Y(V,cq)},q[35]=v,q[36]=k,q[37]=Y,q[38]=F,q[39]=I,q[40]=Gq;else Gq=q[40];let Mq=Gq,Hq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Hq=H(D,{color:"remember",bold:!0,children:"Select model"}),q[41]=Hq;else Hq=q[41];let wq=R??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=H(D,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let y;if(q[44]!==Z)y=Z&&j(D,{dimColor:!0,children:["Currently using ",yq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=y;else y=q[45];let C;if(q[46]!==E||q[47]!==y)C=j(O,{marginBottom:1,flexDirection:"column",children:[Hq,E,y]}),q[46]=E,q[47]=y,q[48]=C;else C=q[48];let Fq=X??zQ,g;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==A||q[53]!==N||q[54]!==Fq||q[55]!==t)g=H(O,{flexDirection:"column",children:H(BJ,{defaultValue:A,defaultFocusValue:Tq,options:N,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:t})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=A,q[53]=N,q[54]=Fq,q[55]=t,q[56]=g;else g=q[56];let b;if(q[57]!==e)b=e>0&&H(O,{paddingLeft:3,children:j(D,{dimColor:!0,children:["and ",e," more…"]})}),q[57]=e,q[58]=b;else b=q[58];let m;if(q[59]!==g||q[60]!==b)m=j(O,{flexDirection:"column",marginBottom:1,children:[g,b]}),q[59]=g,q[60]=b,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==x||q[64]!==Jq||q[65]!==M)u=H(O,{marginBottom:1,flexDirection:"column",children:M?j(D,{dimColor:!0,children:[H(YJ,{effort:d})," ",AJ(d)," effort",d===x?" (default)":""," ",H(D,{color:"subtle",children:"← → to adjust"})]}):j(D,{color:"subtle",children:[H(YJ,{effort:void 0})," Effort not supported",Jq?` for ${Jq}`:""]})}),q[62]=d,q[63]=x,q[64]=Jq,q[65]=M,q[66]=u;else u=q[66];let $;if(q[67]!==G)$=bq()?G?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Fast mode is ",H(D,{bold:!0,children:"ON"})," and available with"," ",Eq," only (/fast). Switching to other models turn off fast mode."]})}):GJ()&&!HJ()?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Use ",H(D,{bold:!0,children:"/fast"})," to turn on Fast mode (",Eq," only)."]})}):null:null,q[67]=G,q[68]=$;else $=q[68];let f;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==$)f=j(O,{flexDirection:"column",children:[C,m,u,$]}),q[69]=C,q[70]=m,q[71]=u,q[72]=$,q[73]=f;else f=q[73];let c;if(q[74]!==L||q[75]!==U)c=U&&H(D,{dimColor:!0,italic:!0,children:L.pending?j(IJ,{children:["Press ",L.keyName," again to exit"]}):j(VJ,{children:[H(DJ,{shortcut:"Enter",action:"confirm"}),H(PJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=L,q[75]=U,q[76]=c;else c=q[76];let Iq;if(q[77]!==f||q[78]!==c)Iq=j(O,{flexDirection:"column",children:[f,c]}),q[77]=f,q[78]=c,q[79]=Iq;else Iq=q[79];let Aq=Iq;if(!U)return Aq;let Lq;if(q[80]!==Aq)Lq=H(jJ,{color:"permission",children:Aq}),q[80]=Aq,q[81]=Lq;else Lq=q[81];return Lq}function zQ(){}function YQ(J){return{...J,value:J.value===null?h:J.value}}function XQ(J){return J.effortValue}function KQ(J){return bq()?J.fastMode:!1}function gq(J){if(!J)return;return J===h?mq():i(J)}function YJ(J){let q=$q.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",Y=Q??"low",X;if(q[0]!==Y)X=Sq(Y),q[0]=Y,q[1]=X;else X=q[1];let U;if(q[2]!==Z||q[3]!==X)U=H(D,{color:Z,children:X}),q[2]=Z,q[3]=X,q[4]=U;else U=q[4];return U}function UQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],Y=Z.indexOf(J),X=Y!==-1?Y:Z.indexOf("high");if(q==="right")return Z[(X+1)%Z.length];else return Z[(X-1+Z.length)%Z.length]}function xq(J){let q=gq(J)??mq(),Q=MJ(q);return Q!==void 0?uq(Q):"high"}var $q,Dq,h="__NO_PREFERENCE__";var WQ=Rq(()=>{rJ();aJ();cJ();pJ();hJ();oJ();JQ();QJ();dJ();QQ();iJ();tJ();ZQ();eJ();lJ();qQ();ZJ();zJ();$q=XJ(sJ(),1),Dq=XJ(nJ(),1)});function eQ(J,q,Q){if(!_J())return!1;if(q)return!0;if(J===null||!kJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),Y=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),X=Z==="sonnet"||Z.includes("sonnet-4-6");if(Y&&Q)return!1;return Y||X}var IQ=Rq(()=>{HQ();GQ()});
2
+ export{hq as lg,mJ as mg,PQ as ng,VQ as og,jQ as pg,NQ as qg,TQ as rg,OQ as sg,oq as tg,kQ as ug,Sq as vg,ZJ as wg,rQ as xg,WQ as yg,eQ as zg,IQ as Ag};
@@ -0,0 +1,2 @@
1
+ import{vpa as x,wpa as z}from"./cli-0.6.3-qh59pqrb.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
+ export{A as GV,F as HV,G as IV,H as JV,J as KV};
@@ -0,0 +1,2 @@
1
+ import{wpa as P}from"./cli-0.6.3-qh59pqrb.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
+ export{k as WT,w as XT,H as YT,g as ZT,V as _T,W as $T,L as aU,Y as bU};
@@ -0,0 +1,2 @@
1
+ import{Pda as B,Xda as N,Yba as A,rca as L}from"./cli-0.6.3-cz70v0dc.mjs";import{tha as z,wha as K}from"./cli-0.6.3-tjykjtxh.mjs";import{vpa as I,wpa as J}from"./cli-0.6.3-qh59pqrb.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
+ export{P as zS,Q as AS,R as BS,H as CS,U as DS,V as ES,W as FS};
@@ -0,0 +1,2 @@
1
+ import{wpa as e}from"./cli-0.6.3-qh59pqrb.mjs";function o(){return!0}var t=()=>{};
2
+ export{o as uR,t as vR};
@@ -0,0 +1,15 @@
1
+ import{upa as T,wpa as J5,xpa as M}from"./cli-0.6.3-qh59pqrb.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 mf,X5 as nf};
@@ -0,0 +1,3 @@
1
+ import{Xf as d,Yf as Vq}from"./cli-0.6.3-7g460zkw.mjs";import{UQ as Oq,mP as a,oP as yq,sQ as l}from"./cli-0.6.3-kz9egvgw.mjs";import{AY as R,UY as $,dX as Zq,dZ as Gq,yY as T}from"./cli-0.6.3-sz0yt1ax.mjs";import{$Z as e,WZ as t,YZ as v}from"./cli-0.6.3-z8vc44s1.mjs";import{D0 as P,E0 as N,F0 as S}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as Yq}from"./cli-0.6.3-ysazbe18.mjs";import{b1 as u,c1 as Aq}from"./cli-0.6.3-8qad2cfe.mjs";import{$7 as G,G9 as j,a_ as s,b8 as o}from"./cli-0.6.3-cz70v0dc.mjs";import{Dfa as w,Efa as r}from"./cli-0.6.3-0xzsm005.mjs";import{tha as L,wha as n}from"./cli-0.6.3-tjykjtxh.mjs";import{Nha as c,Uha as Xq}from"./cli-0.6.3-2seqm104.mjs";import{Nna as i,Oja as f}from"./cli-0.6.3-g7nc10fr.mjs";import{spa as I,wpa as h}from"./cli-0.6.3-qh59pqrb.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 Vf,Bq as Wf};
@@ -0,0 +1,2 @@
1
+ import{PY as W,bZ as X,dX as f,dZ as k}from"./cli-0.6.3-sz0yt1ax.mjs";import{C0 as V,D0 as J,F0 as K}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as P}from"./cli-0.6.3-ysazbe18.mjs";import{$da as O,_da as U}from"./cli-0.6.3-p3cb5wr9.mjs";import{spa as Q,wpa as L}from"./cli-0.6.3-qh59pqrb.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as Ed,N as Fd,j as Gd};
@@ -0,0 +1,3 @@
1
+ import{$Z as N,WZ as d,XZ as X}from"./cli-0.6.3-z8vc44s1.mjs";import{Pda as B,Vba as U,Xda as y,Yba as G,rca as p,sba as O,tba as f}from"./cli-0.6.3-cz70v0dc.mjs";import{Mha as x,Uha as b}from"./cli-0.6.3-2seqm104.mjs";import{Xha as H,iia as E}from"./cli-0.6.3-vp1zy3b1.mjs";import{Bla as w,Nna as P}from"./cli-0.6.3-g7nc10fr.mjs";import{Hoa as k,Zoa as S}from"./cli-0.6.3-4zj0d42m.mjs";import{spa as M,wpa as R}from"./cli-0.6.3-qh59pqrb.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();p();E();b();y();f();N();T=M(d(),1)});
3
+ export{zq as of,Jq as pf,C as qf,h as rf,Kq as sf,Qq as tf,g as uf};
@@ -0,0 +1,2 @@
1
+ import{$t as hq,Xt as Pq,ym as Q,zm as aq}from"./cli-0.6.3-kz9egvgw.mjs";import{BV as Uq,CV as Iq,FV as fq}from"./cli-0.6.3-7adzjn5q.mjs";import{AY as L,dX as nq,dZ as Sq,yY as J}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as H,E0 as O,F0 as vq}from"./cli-0.6.3-r0pavcpp.mjs";import{P2 as jq,v2 as bq,w2 as Mq}from"./cli-0.6.3-nawttnnp.mjs";import{G_ as Nq,I_ as _q,Y8 as Xq,Yba as Rq,Z8 as yq,rca as pq}from"./cli-0.6.3-cz70v0dc.mjs";import{Afa as kq}from"./cli-0.6.3-pqq8j8h2.mjs";import{spa as Bq,wpa as Gq}from"./cli-0.6.3-qh59pqrb.mjs";function lq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function mq(V,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return V.length>0&&!/^\s/.test(V)&&!V.startsWith("\x1B")}var Wq=Gq(()=>{fq();pq();_q()});function T(V){return V.replace(/\+/g," + ")}function DD(V){let q=Eq.c(99),{dimColor:D,fixedWidth:Aq,gap:x,paddingX:l}=V,m=Q("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=T(m),q[0]=m,q[1]=p;else p=q[1];let e=p,d=Q("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==d)f=T(d),q[2]=d,q[3]=f;else f=q[3];let s=f,i=Q("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=T(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=Q("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=T($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=Q("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=T(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Dq=Q("chat:modelPicker","Chat","alt+p"),j;if(q[10]!==Dq)j=T(Dq),q[10]=Dq,q[11]=j;else j=q[11];let Hq=j,Jq=Q("chat:fastMode","Chat","alt+o"),n;if(q[12]!==Jq)n=T(Jq),q[12]=Jq,q[13]=n;else n=q[13];let Lq=n,Oq=Q("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Oq)S=T(Oq),q[14]=Oq,q[15]=S;else S=q[15];let Qq=S,Tq=Q("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Tq)a=T(Tq),q[16]=Tq,q[17]=a;else a=q[17];let Fq=a,Vq=Q("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Vq)h=T(Vq),q[18]=Vq,q[19]=h;else h=q[19];let Yq=h,gq=T(Q("chat:increaseEffort","Chat","shift+right")),C;if(q[20]!==D||q[21]!==Fq)C=null,q[20]=D,q[21]=Fq,q[22]=C;else C=q[22];let Zq=C,wq=Aq?24:void 0,Y;if(q[23]!==D)Y=H(J,{children:H(L,{dimColor:D,children:"! for bash mode"})}),q[23]=D,q[24]=Y;else Y=q[24];let Z;if(q[25]!==D)Z=H(J,{children:H(L,{dimColor:D,children:"/ for commands"})}),q[25]=D,q[26]=Z;else Z=q[26];let w;if(q[27]!==D)w=H(J,{children:H(L,{dimColor:D,children:"@ for file paths"})}),q[27]=D,q[28]=w;else w=q[28];let z;if(q[29]!==D)z=H(J,{children:H(L,{dimColor:D,children:"& for background"})}),q[29]=D,q[30]=z;else z=q[30];let A;if(q[31]!==D)A=H(J,{children:H(L,{dimColor:D,children:"/btw for side question"})}),q[31]=D,q[32]=A;else A=q[32];let F;if(q[33]!==wq||q[34]!==Y||q[35]!==Z||q[36]!==w||q[37]!==z||q[38]!==A)F=O(J,{flexDirection:"column",width:wq,children:[Y,Z,w,z,A]}),q[33]=wq,q[34]=Y,q[35]=Z,q[36]=w,q[37]=z,q[38]=A,q[39]=F;else F=q[39];let zq=Aq?35:void 0,G;if(q[40]!==D)G=H(J,{children:H(L,{dimColor:D,children:"double tap esc to clear input"})}),q[40]=D,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==D)N=H(J,{children:O(L,{dimColor:D,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=D,q[44]=N;else N=q[44];let R;if(q[45]!==D||q[46]!==e)R=H(J,{children:O(L,{dimColor:D,children:[e," for verbose output"]})}),q[45]=D,q[46]=e,q[47]=R;else R=q[47];let U;if(q[48]!==D||q[49]!==s)U=H(J,{children:O(L,{dimColor:D,children:[s," to toggle tasks"]})}),q[48]=D,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==D)I=H(J,{children:H(L,{dimColor:D,children:c})}),q[52]=D,q[53]=I;else I=q[53];let K;if(q[54]!==zq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==Zq)K=O(J,{flexDirection:"column",width:zq,children:[G,N,R,U,Zq,I]}),q[54]=zq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=Zq,q[61]=K;else K=q[61];let W;if(q[62]!==D||q[63]!==r)W=H(J,{children:O(L,{dimColor:D,children:[r," to undo"]})}),q[62]=D,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==D)v=Xq()!=="windows"&&H(J,{children:H(L,{dimColor:D,children:"ctrl + z to suspend"})}),q[65]=D,q[66]=v;else v=q[66];let X;if(q[67]!==D||q[68]!==Yq)X=H(J,{children:O(L,{dimColor:D,children:[Yq," to paste images"]})}),q[67]=D,q[68]=Yq,q[69]=X;else X=q[69];let b;if(q[70]!==D||q[71]!==Hq)b=H(J,{children:O(L,{dimColor:D,children:[Hq," to switch model"]})}),q[70]=D,q[71]=Hq,q[72]=b;else b=q[72];let M;if(q[73]!==D||q[74]!==Lq)M=bq()&&Mq()&&H(J,{children:O(L,{dimColor:D,children:[Lq," to toggle fast mode"]})}),q[73]=D,q[74]=Lq,q[75]=M;else M=q[75];let P;if(q[76]!==D||q[77]!==o)P=H(J,{children:O(L,{dimColor:D,children:[o," to stash prompt"]})}),q[76]=D,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==D||q[80]!==Qq)E=H(J,{children:O(L,{dimColor:D,children:[Qq," to edit in $EDITOR"]})}),q[79]=D,q[80]=Qq,q[81]=E;else E=q[81];let g;if(q[82]!==D)g=Pq()&&H(J,{children:H(L,{dimColor:D,children:"/keybindings to customize"})}),q[82]=D,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=O(J,{flexDirection:"column",children:[W,v,X,b,H(J,{children:O(L,{dimColor:D,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=O(J,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var Cq=Gq(()=>{Sq();yq();hq();aq();kq();jq();Wq();vq();Eq=Bq(nq(),1)});
2
+ export{lq as Kf,mq as Lf,Wq as Mf,DD as Nf,Cq as Of};
@@ -0,0 +1,2 @@
1
+ import{G8 as Q,W8 as _}from"./cli-0.6.3-cz70v0dc.mjs";import{Dfa as I,Efa as X}from"./cli-0.6.3-0xzsm005.mjs";import{tha as B,wha as V}from"./cli-0.6.3-tjykjtxh.mjs";import{wpa as T}from"./cli-0.6.3-qh59pqrb.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 v7,P as w7,Y as x7,S as y7,O as z7,D as A7,Z as B7};
@@ -0,0 +1,3 @@
1
+ import{AY as V,dX as t,dZ as o,mX as p,wY as j,xY as s,yY as F}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as w,E0 as g,F0 as y}from"./cli-0.6.3-r0pavcpp.mjs";import{K7 as $,L7 as a,R7 as _,S7 as n}from"./cli-0.6.3-cz70v0dc.mjs";import{spa as i,wpa as v}from"./cli-0.6.3-qh59pqrb.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
+ `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
+ export{Hq as xf,Mq as yf};
@@ -0,0 +1,2 @@
1
+ import{Cu as X,zu as C}from"./cli-0.6.3-kz9egvgw.mjs";import{G0 as W}from"./cli-0.6.3-ysazbe18.mjs";import{D3 as V,k3 as I,w3 as J}from"./cli-0.6.3-nawttnnp.mjs";import{Afa as T,ffa as H}from"./cli-0.6.3-pqq8j8h2.mjs";import{spa as P,wpa as Q}from"./cli-0.6.3-qh59pqrb.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
2
+ export{v as Fc,Y as Gc};
@@ -0,0 +1,2 @@
1
+ import{Am as V,Au as g,Bm as $q,Cu as Wq,Em as p,Fm as zq,Fu as c,Gu as T,Hu as _q,Iu as r,Ju as Vq,mP as a,oP as Uq,uE as h,wE as Fq,ym as S,zm as Zq,zu as u}from"./cli-0.6.3-kz9egvgw.mjs";import{kV as d,lV as Yq}from"./cli-0.6.3-40mx2zxs.mjs";import{BW as Xq,lW as w,mW as Nq,xW as j,yW as Qq,zW as m}from"./cli-0.6.3-sxj65pz4.mjs";import{AY as N,dZ as Lq,mX as v,nX as H,oX as y,yY as J}from"./cli-0.6.3-sz0yt1ax.mjs";import{C0 as _,D0 as q,E0 as G,F0 as B}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as Jq}from"./cli-0.6.3-ysazbe18.mjs";import{Vaa as b,gba as Gq}from"./cli-0.6.3-cz70v0dc.mjs";import{spa as e,wpa as qq}from"./cli-0.6.3-qh59pqrb.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
2
+ export{mq as Bg,Aq as Cg};
@@ -0,0 +1,39 @@
1
+ import{HO as d,gx as B,ix as U,rN as L,sN as w,tO as N}from"./cli-0.6.3-kz9egvgw.mjs";import{l_ as z,s_ as F,waa as P}from"./cli-0.6.3-cz70v0dc.mjs";import{mea as H,sea as v}from"./cli-0.6.3-p3cb5wr9.mjs";import{wpa as j}from"./cli-0.6.3-qh59pqrb.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
2
+
3
+ `;h+=`**Model:** ${Z}
4
+ `,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
5
+ `,h+=`
6
+ `;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
7
+
8
+ `,h+=`| Category | Tokens | Percentage |
9
+ `,h+=`|----------|--------|------------|
10
+ `;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
11
+ `}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
12
+ `}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
13
+ `}h+=`
14
+ `}if(X.length>0){h+=`### MCP Tools
15
+
16
+ `,h+=`| Tool | Server | Tokens |
17
+ `,h+=`|------|--------|--------|
18
+ `;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
19
+ `;h+=`
20
+ `}if(Q.length>0){h+=`### Custom Agents
21
+
22
+ `,h+=`| Agent Type | Source | Tokens |
23
+ `,h+=`|------------|--------|--------|
24
+ `;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
25
+ `}h+=`
26
+ `}if(W.length>0){h+=`### Memory Files
27
+
28
+ `,h+=`| Type | Path | Tokens |
29
+ `,h+=`|------|------|--------|
30
+ `;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
31
+ `;h+=`
32
+ `}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
33
+
34
+ `,h+=`| Skill | Source | Tokens |
35
+ `,h+=`|-------|--------|--------|
36
+ `;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
37
+ `;h+=`
38
+ `}return h}var A=j(()=>{U();w();v();d();F();P()});
39
+ export{V as Og,g as Pg,A as Qg};
@@ -0,0 +1,3 @@
1
+ import{Fea as L,Jea as O}from"./cli-0.6.3-ymhjs7dc.mjs";import{wpa as N}from"./cli-0.6.3-qh59pqrb.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
2
+ `,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
3
+ export{S as eZ,J as fZ,T as gZ,U as hZ,V as iZ,W as jZ,Q as kZ};
@@ -0,0 +1,2 @@
1
+ import{Yba as P,rca as y}from"./cli-0.6.3-cz70v0dc.mjs";import{wpa as U}from"./cli-0.6.3-qh59pqrb.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
+ export{G as MU,M as NU,N as OU,Y as PU,C as QU,_ as RU,R as SU,f as TU,E as UU,I as VU,k as WU,A as XU,b as YU,h as ZU,m as _U,p as $U,u as aV,T as bV,e as cV,W as dV,a as eV,s as fV,r as gV,g as hV};
@@ -0,0 +1,2 @@
1
+ import{$ha as H,_ha as B,iia as V}from"./cli-0.6.3-vp1zy3b1.mjs";import{wpa as Q}from"./cli-0.6.3-qh59pqrb.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
2
+ export{$ as zh,Y as Ah};
@@ -0,0 +1,2 @@
1
+ import{$0 as $,W0 as N}from"./cli-0.6.3-syb9w8h5.mjs";import{M4 as M,W1 as L,Z1 as Y,k5 as Z}from"./cli-0.6.3-nawttnnp.mjs";import{Pda as Q,Xda as X}from"./cli-0.6.3-cz70v0dc.mjs";import{pga as J,qga as V}from"./cli-0.6.3-mwvq805r.mjs";import{Mha as P,Uha as S}from"./cli-0.6.3-2seqm104.mjs";import{Hoa as K,Zoa as W}from"./cli-0.6.3-4zj0d42m.mjs";import{wpa as R}from"./cli-0.6.3-qh59pqrb.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
2
+ export{C as JU,j as KU,b as LU};