@claudiolabs/claudin 0.6.0 → 0.6.2

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 (852) hide show
  1. package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +1 -0
  2. package/dist/chunks/App-0.6.2-81hq55t1.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +3 -0
  10. package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +1 -0
  11. package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +1 -0
  18. package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +1 -0
  28. package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +1 -0
  29. package/dist/chunks/agents-0.6.2-pwkawpda.mjs +110 -0
  30. package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +3 -0
  31. package/dist/chunks/api-0.6.2-r9z30232.mjs +1 -0
  32. package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +1 -0
  33. package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +1 -0
  34. package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +1 -0
  35. package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +1 -0
  36. package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +1 -0
  39. package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +1 -0
  41. package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +1 -0
  42. package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +3 -0
  43. package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +4 -0
  46. package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +1 -0
  48. package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +1 -0
  49. package/dist/chunks/clear-0.6.2-301n503a.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +1 -0
  51. package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +42 -0
  52. package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +4 -0
  53. package/dist/chunks/cli-0.6.2-0p39svq8.mjs +2 -0
  54. package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +2 -0
  55. package/dist/chunks/cli-0.6.2-1ahapm20.mjs +2 -0
  56. package/dist/chunks/cli-0.6.2-1b9hx344.mjs +2 -0
  57. package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +2 -0
  58. package/dist/chunks/cli-0.6.2-1hrabb68.mjs +3 -0
  59. package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +9 -0
  60. package/dist/chunks/cli-0.6.2-1y907j57.mjs +2 -0
  61. package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +2 -0
  62. package/dist/chunks/cli-0.6.2-26qywcgz.mjs +2 -0
  63. package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +2 -0
  64. package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +3 -0
  65. package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +2 -0
  66. package/dist/chunks/cli-0.6.2-2z19ppek.mjs +15 -0
  67. package/dist/chunks/cli-0.6.2-334vw6ys.mjs +2 -0
  68. package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +2 -0
  69. package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +2 -0
  70. package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +2 -0
  71. package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +2 -0
  72. package/dist/chunks/cli-0.6.2-42d88f3r.mjs +2 -0
  73. package/dist/chunks/cli-0.6.2-43f0sknv.mjs +2 -0
  74. package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +2 -0
  75. package/dist/chunks/cli-0.6.2-4a5t390f.mjs +2 -0
  76. package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +15 -0
  77. package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +2 -0
  78. package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +39 -0
  79. package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +5323 -0
  80. package/dist/chunks/cli-0.6.2-4py7r63v.mjs +2 -0
  81. package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +59 -0
  82. package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +2 -0
  83. package/dist/chunks/cli-0.6.2-5jempndm.mjs +133 -0
  84. package/dist/chunks/cli-0.6.2-657fbmws.mjs +2 -0
  85. package/dist/chunks/cli-0.6.2-6bacgc39.mjs +3 -0
  86. package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +5 -0
  87. package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +2 -0
  88. package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +3 -0
  89. package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +3 -0
  90. package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +4 -0
  91. package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +2 -0
  92. package/dist/chunks/cli-0.6.2-7egesyh9.mjs +4 -0
  93. package/dist/chunks/cli-0.6.2-7rmm482v.mjs +12 -0
  94. package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +2 -0
  95. package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +25 -0
  96. package/dist/chunks/cli-0.6.2-83ennmm8.mjs +21 -0
  97. package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +2 -0
  98. package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +5 -0
  99. package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +10 -0
  100. package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +2 -0
  101. package/dist/chunks/cli-0.6.2-974c5e67.mjs +9 -0
  102. package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +2 -0
  103. package/dist/chunks/cli-0.6.2-9mwrq250.mjs +3 -0
  104. package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +2 -0
  105. package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +2 -0
  106. package/dist/chunks/cli-0.6.2-9qtj477e.mjs +2 -0
  107. package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +2 -0
  108. package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +4 -0
  109. package/dist/chunks/cli-0.6.2-a8atyp18.mjs +2 -0
  110. package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +2 -0
  111. package/dist/chunks/cli-0.6.2-aq30pg47.mjs +2 -0
  112. package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +6 -0
  113. package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +2 -0
  114. package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +2 -0
  115. package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +2 -0
  116. package/dist/chunks/cli-0.6.2-bkff60ff.mjs +2 -0
  117. package/dist/chunks/cli-0.6.2-br678d1b.mjs +8 -0
  118. package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +2 -0
  119. package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +2 -0
  120. package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +2 -0
  121. package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +4 -0
  122. package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +2 -0
  123. package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +2 -0
  124. package/dist/chunks/cli-0.6.2-d3evezft.mjs +1 -0
  125. package/dist/chunks/cli-0.6.2-d3y2w089.mjs +2 -0
  126. package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +2 -0
  127. package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +12 -0
  128. package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +2 -0
  129. package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +2 -0
  130. package/dist/chunks/cli-0.6.2-dv8abe56.mjs +7 -0
  131. package/dist/chunks/cli-0.6.2-dx6qfese.mjs +2 -0
  132. package/dist/chunks/cli-0.6.2-dy4zwces.mjs +2 -0
  133. package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +2 -0
  134. package/dist/chunks/cli-0.6.2-e26khw0m.mjs +6 -0
  135. package/dist/chunks/cli-0.6.2-e66qz53g.mjs +2 -0
  136. package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +16 -0
  137. package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +45 -0
  138. package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +5 -0
  139. package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +2 -0
  140. package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +2 -0
  141. package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +2 -0
  142. package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +2 -0
  143. package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +2 -0
  144. package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +6 -0
  145. package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +2 -0
  146. package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +2 -0
  147. package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +2 -0
  148. package/dist/chunks/cli-0.6.2-grf75vb7.mjs +2 -0
  149. package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +2 -0
  150. package/dist/chunks/cli-0.6.2-h72p44ws.mjs +24 -0
  151. package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +2 -0
  152. package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +193 -0
  153. package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +2 -0
  154. package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +2 -0
  155. package/dist/chunks/cli-0.6.2-hqmcear6.mjs +2 -0
  156. package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +34 -0
  157. package/dist/chunks/cli-0.6.2-j05kmd43.mjs +2 -0
  158. package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +2 -0
  159. package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +2 -0
  160. package/dist/chunks/cli-0.6.2-jrb4f391.mjs +15 -0
  161. package/dist/chunks/cli-0.6.2-jrpted0b.mjs +2 -0
  162. package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +2 -0
  163. package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +2 -0
  164. package/dist/chunks/cli-0.6.2-k9v931hm.mjs +2 -0
  165. package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +2 -0
  166. package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +2 -0
  167. package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +4 -0
  168. package/dist/chunks/cli-0.6.2-ky1drj50.mjs +2 -0
  169. package/dist/chunks/cli-0.6.2-mabejxsw.mjs +4 -0
  170. package/dist/chunks/cli-0.6.2-majp93c4.mjs +2 -0
  171. package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +2 -0
  172. package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +3 -0
  173. package/dist/chunks/cli-0.6.2-n9610c8k.mjs +2 -0
  174. package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +2 -0
  175. package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +2 -0
  176. package/dist/chunks/cli-0.6.2-nwzye174.mjs +2 -0
  177. package/dist/chunks/cli-0.6.2-p0jszyht.mjs +3 -0
  178. package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +58 -0
  179. package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +2 -0
  180. package/dist/chunks/cli-0.6.2-q45wdma3.mjs +3 -0
  181. package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +2 -0
  182. package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +2 -0
  183. package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +2 -0
  184. package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +2 -0
  185. package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +2 -0
  186. package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +2 -0
  187. package/dist/chunks/cli-0.6.2-r4p904h3.mjs +67 -0
  188. package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +2 -0
  189. package/dist/chunks/cli-0.6.2-rde30n8x.mjs +2 -0
  190. package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +2 -0
  191. package/dist/chunks/cli-0.6.2-red287ya.mjs +2 -0
  192. package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +2 -0
  193. package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +2 -0
  194. package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +17 -0
  195. package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +24 -0
  196. package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +2 -0
  197. package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +2 -0
  198. package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +2 -0
  199. package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +2 -0
  200. package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +2 -0
  201. package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +133 -0
  202. package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +2 -0
  203. package/dist/chunks/cli-0.6.2-t038jmme.mjs +3 -0
  204. package/dist/chunks/cli-0.6.2-t3e59m32.mjs +2 -0
  205. package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +2 -0
  206. package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +2 -0
  207. package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +2 -0
  208. package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +2 -0
  209. package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +50 -0
  210. package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +20 -0
  211. package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +2 -0
  212. package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +2 -0
  213. package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +2 -0
  214. package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +2 -0
  215. package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +2 -0
  216. package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +18 -0
  217. package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +2 -0
  218. package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +3 -0
  219. package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +2 -0
  220. package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +2 -0
  221. package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +12 -0
  222. package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +2 -0
  223. package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +2 -0
  224. package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +18 -0
  225. package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +2 -0
  226. package/dist/chunks/cli-0.6.2-yep449sd.mjs +17 -0
  227. package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +2 -0
  228. package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +2 -0
  229. package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +4 -0
  230. package/dist/chunks/cli-0.6.2-yysvdabq.mjs +2 -0
  231. package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +4 -0
  232. package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +3 -0
  233. package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +4 -0
  234. package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +2 -0
  235. package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +18 -0
  236. package/dist/chunks/cli-0.6.2-zaahyems.mjs +2 -0
  237. package/dist/chunks/cli-0.6.2-zftyh47j.mjs +2 -0
  238. package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +2 -0
  239. package/dist/chunks/cli-0.6.2-zs4qp487.mjs +2 -0
  240. package/dist/chunks/client-0.6.2-8b0s065m.mjs +1 -0
  241. package/dist/chunks/color-0.6.2-jza3jez4.mjs +1 -0
  242. package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +3 -0
  243. package/dist/chunks/config-0.6.2-qjwjrd75.mjs +1 -0
  244. package/dist/chunks/config-0.6.2-xac3sjb7.mjs +1 -0
  245. package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +1 -0
  246. package/dist/chunks/context-0.6.2-w965073f.mjs +1 -0
  247. package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +1 -0
  248. package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +1 -0
  249. package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +1 -0
  250. package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +9 -0
  251. package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +1 -0
  252. package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +1 -0
  253. package/dist/chunks/createSession-0.6.2-axgp009k.mjs +1 -0
  254. package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +1 -0
  255. package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +1365 -0
  256. package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +1 -0
  257. package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +1 -0
  258. package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +1 -0
  259. package/dist/chunks/diff-0.6.2-md180qh9.mjs +1 -0
  260. package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +1 -0
  261. package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +1 -0
  262. package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +1 -0
  263. package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +10 -0
  264. package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +1 -0
  265. package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +1 -0
  266. package/dist/chunks/environments-0.6.2-fe197syt.mjs +1 -0
  267. package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +1 -0
  268. package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +1 -0
  269. package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +1 -0
  270. package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +2 -0
  271. package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +1 -0
  272. package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +1 -0
  273. package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +1 -0
  274. package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +14 -0
  275. package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +1 -0
  276. package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +1 -0
  277. package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +1 -0
  278. package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +4 -0
  279. package/dist/chunks/grove-0.6.2-a2wgccag.mjs +1 -0
  280. package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +1 -0
  281. package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +2 -0
  282. package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +6 -0
  283. package/dist/chunks/help-0.6.2-c49svpae.mjs +1 -0
  284. package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +3 -0
  285. package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +1 -0
  286. package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +79 -0
  287. package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +3 -0
  288. package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +1 -0
  289. package/dist/chunks/index-0.6.2-1kk3erm5.mjs +9 -0
  290. package/dist/chunks/index-0.6.2-21nak3ad.mjs +1 -0
  291. package/dist/chunks/index-0.6.2-2vns8v9p.mjs +1 -0
  292. package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +1 -0
  293. package/dist/chunks/index-0.6.2-3g92ew8z.mjs +1 -0
  294. package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +1 -0
  295. package/dist/chunks/index-0.6.2-88m8k4cp.mjs +1 -0
  296. package/dist/chunks/index-0.6.2-93bh3w93.mjs +1 -0
  297. package/dist/chunks/index-0.6.2-9e0qz384.mjs +1 -0
  298. package/dist/chunks/index-0.6.2-emm65q8h.mjs +17 -0
  299. package/dist/chunks/index-0.6.2-ff57yvh3.mjs +1 -0
  300. package/dist/chunks/index-0.6.2-g6xy97jv.mjs +1 -0
  301. package/dist/chunks/index-0.6.2-h37g7n0s.mjs +9 -0
  302. package/dist/chunks/index-0.6.2-h8jkf613.mjs +5 -0
  303. package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +1 -0
  304. package/dist/chunks/index-0.6.2-jw83xhc8.mjs +2 -0
  305. package/dist/chunks/index-0.6.2-mehn31e3.mjs +30 -0
  306. package/dist/chunks/index-0.6.2-naw1d8mg.mjs +2 -0
  307. package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +1 -0
  308. package/dist/chunks/index-0.6.2-qn0re7sj.mjs +1 -0
  309. package/dist/chunks/index-0.6.2-tftj6wdh.mjs +1 -0
  310. package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +1 -0
  311. package/dist/chunks/init-0.6.2-47k2caay.mjs +1 -0
  312. package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +1 -0
  313. package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +1 -0
  314. package/dist/chunks/insights-0.6.2-st861yg4.mjs +870 -0
  315. package/dist/chunks/install-0.6.2-webkhwz9.mjs +1 -0
  316. package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +149 -0
  317. package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +1 -0
  318. package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +1 -0
  319. package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +1 -0
  320. package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +2 -0
  321. package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +2 -0
  322. package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +1 -0
  323. package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +1 -0
  324. package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +1 -0
  326. package/dist/chunks/log-0.6.2-h02k5q0p.mjs +1 -0
  327. package/dist/chunks/main-0.6.2-51xvrsbq.mjs +1 -0
  328. package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +1 -0
  329. package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +17 -0
  330. package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +4 -0
  331. package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +1 -0
  332. package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +1 -0
  333. package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +3 -0
  334. package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +2 -0
  335. package/dist/chunks/model-0.6.2-49f9g2vz.mjs +2 -0
  336. package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +1 -0
  337. package/dist/chunks/node-0.6.2-40bknjza.mjs +12 -0
  338. package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +1 -0
  339. package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +14 -0
  340. package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +1 -0
  341. package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +1 -0
  342. package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +1 -0
  343. package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +1 -0
  344. package/dist/chunks/passes-0.6.2-kadygcw6.mjs +1 -0
  345. package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +3 -0
  346. package/dist/chunks/plan-0.6.2-hzbsezab.mjs +1 -0
  347. package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +1 -0
  348. package/dist/chunks/plugin-0.6.2-pr48413e.mjs +29 -0
  349. package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +1 -0
  350. package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +9 -0
  351. package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +2 -0
  352. package/dist/chunks/print-0.6.2-ng7p0m66.mjs +57 -0
  353. package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +1 -0
  354. package/dist/chunks/process-0.6.2-7k26fk4b.mjs +1 -0
  355. package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +1 -0
  356. package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +9 -0
  357. package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +1 -0
  358. package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +1 -0
  359. package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +1 -0
  360. package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +13 -0
  361. package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +2 -0
  362. package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +1 -0
  363. package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +6 -0
  364. package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +1 -0
  365. package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +34 -0
  366. package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +1 -0
  367. package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +5 -0
  368. package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +2 -0
  369. package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +1 -0
  370. package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +1 -0
  371. package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +1 -0
  372. package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +1 -0
  373. package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +1 -0
  374. package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +1 -0
  375. package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +2 -0
  376. package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +1 -0
  377. package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +1 -0
  378. package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +1 -0
  379. package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +1 -0
  380. package/dist/chunks/session-0.6.2-k41jbqwf.mjs +2 -0
  381. package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +1 -0
  382. package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +1 -0
  383. package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +1 -0
  384. package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +1 -0
  385. package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +5 -0
  386. package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +1 -0
  387. package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +1 -0
  388. package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +1 -0
  389. package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +1 -0
  390. package/dist/chunks/state-0.6.2-nymhw7ey.mjs +1 -0
  391. package/dist/chunks/stats-0.6.2-skm9nakv.mjs +6 -0
  392. package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +1 -0
  393. package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +1 -0
  394. package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +1 -0
  395. package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +1 -0
  396. package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +1 -0
  397. package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +1 -0
  398. package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +1 -0
  399. package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +1 -0
  400. package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +1 -0
  401. package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +1 -0
  402. package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +1 -0
  403. package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +1 -0
  404. package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +1 -0
  405. package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +1 -0
  406. package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +1 -0
  407. package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +69 -0
  408. package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +4 -0
  409. package/dist/chunks/update-0.6.2-p8edrwg4.mjs +86 -0
  410. package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +1 -0
  411. package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +14 -0
  412. package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +1 -0
  413. package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +1 -0
  414. package/dist/chunks/util-0.6.2-yet75ms4.mjs +1 -0
  415. package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +1 -0
  416. package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +1 -0
  417. package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +1 -0
  418. package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +132 -0
  419. package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +1 -0
  420. package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +1 -0
  421. package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +7 -0
  422. package/dist/claudin-vscode.vsix +0 -0
  423. package/dist/cli.mjs +2 -2
  424. package/package.json +1 -1
  425. package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +0 -1
  426. package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +0 -1
  427. package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +0 -1
  428. package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +0 -1
  429. package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +0 -1
  430. package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +0 -1
  431. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +0 -1
  432. package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +0 -1
  433. package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +0 -3
  434. package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +0 -1
  435. package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +0 -1
  436. package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +0 -1
  437. package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +0 -1
  438. package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +0 -1
  439. package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +0 -1
  440. package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +0 -1
  441. package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +0 -1
  442. package/dist/chunks/REPL-0.6.0-z46m261k.mjs +0 -1
  443. package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +0 -1
  444. package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +0 -1
  445. package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +0 -1
  446. package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +0 -1
  447. package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +0 -1
  448. package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +0 -9
  449. package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +0 -1
  450. package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +0 -1
  451. package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +0 -1
  452. package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +0 -1
  453. package/dist/chunks/agents-0.6.0-69xm47ft.mjs +0 -3
  454. package/dist/chunks/agents-0.6.0-8m3ze781.mjs +0 -110
  455. package/dist/chunks/api-0.6.0-3cymw2a4.mjs +0 -1
  456. package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +0 -1
  457. package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +0 -1
  458. package/dist/chunks/auth-0.6.0-6j97pezz.mjs +0 -1
  459. package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +0 -1
  460. package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +0 -48
  461. package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +0 -1
  462. package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +0 -1
  463. package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +0 -4
  464. package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +0 -1
  465. package/dist/chunks/btw-0.6.0-9pm632qb.mjs +0 -1
  466. package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +0 -3
  467. package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +0 -1
  468. package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +0 -21
  469. package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +0 -4
  470. package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +0 -1
  471. package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +0 -1
  472. package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +0 -1
  473. package/dist/chunks/clear-0.6.0-g494jnyj.mjs +0 -1
  474. package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +0 -1
  475. package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +0 -3
  476. package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +0 -2
  477. package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +0 -2
  478. package/dist/chunks/cli-0.6.0-0yb835ch.mjs +0 -2
  479. package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +0 -2
  480. package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +0 -2
  481. package/dist/chunks/cli-0.6.0-1bzempk2.mjs +0 -12
  482. package/dist/chunks/cli-0.6.0-1cfghz45.mjs +0 -20
  483. package/dist/chunks/cli-0.6.0-1d77dayv.mjs +0 -2
  484. package/dist/chunks/cli-0.6.0-1hxw8522.mjs +0 -2
  485. package/dist/chunks/cli-0.6.0-1jem05z7.mjs +0 -45
  486. package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +0 -17
  487. package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +0 -2
  488. package/dist/chunks/cli-0.6.0-295jdx7b.mjs +0 -2
  489. package/dist/chunks/cli-0.6.0-2age3kgh.mjs +0 -2
  490. package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +0 -2
  491. package/dist/chunks/cli-0.6.0-2c7skznf.mjs +0 -2
  492. package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +0 -2
  493. package/dist/chunks/cli-0.6.0-2h139nq7.mjs +0 -2
  494. package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +0 -2
  495. package/dist/chunks/cli-0.6.0-2kvggf16.mjs +0 -2
  496. package/dist/chunks/cli-0.6.0-2m8k6622.mjs +0 -18
  497. package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +0 -2
  498. package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +0 -2
  499. package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +0 -2
  500. package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +0 -2
  501. package/dist/chunks/cli-0.6.0-32mypc03.mjs +0 -4
  502. package/dist/chunks/cli-0.6.0-363zfcx9.mjs +0 -2
  503. package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +0 -2
  504. package/dist/chunks/cli-0.6.0-3kbabt72.mjs +0 -2
  505. package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +0 -2
  506. package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +0 -2
  507. package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +0 -2
  508. package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +0 -16
  509. package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +0 -2
  510. package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +0 -2
  511. package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +0 -2
  512. package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +0 -2
  513. package/dist/chunks/cli-0.6.0-592v9jcz.mjs +0 -2
  514. package/dist/chunks/cli-0.6.0-59hncecf.mjs +0 -17
  515. package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +0 -2
  516. package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +0 -18
  517. package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +0 -2
  518. package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +0 -2
  519. package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +0 -3
  520. package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +0 -2
  521. package/dist/chunks/cli-0.6.0-6w72esaf.mjs +0 -3
  522. package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +0 -2
  523. package/dist/chunks/cli-0.6.0-7m760mbp.mjs +0 -2
  524. package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +0 -2
  525. package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +0 -2
  526. package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +0 -12
  527. package/dist/chunks/cli-0.6.0-7shwamwq.mjs +0 -4
  528. package/dist/chunks/cli-0.6.0-855c2tef.mjs +0 -2
  529. package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +0 -2
  530. package/dist/chunks/cli-0.6.0-8meqksnp.mjs +0 -9
  531. package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +0 -3
  532. package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +0 -2
  533. package/dist/chunks/cli-0.6.0-91exkfnc.mjs +0 -2
  534. package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +0 -2
  535. package/dist/chunks/cli-0.6.0-9faq31pe.mjs +0 -4
  536. package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +0 -133
  537. package/dist/chunks/cli-0.6.0-9qdj830c.mjs +0 -4
  538. package/dist/chunks/cli-0.6.0-9rq760gd.mjs +0 -2
  539. package/dist/chunks/cli-0.6.0-9rxskyst.mjs +0 -5
  540. package/dist/chunks/cli-0.6.0-a21pffqx.mjs +0 -2
  541. package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +0 -2
  542. package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +0 -15
  543. package/dist/chunks/cli-0.6.0-aqestr3c.mjs +0 -193
  544. package/dist/chunks/cli-0.6.0-awtw1t27.mjs +0 -2
  545. package/dist/chunks/cli-0.6.0-b6tgentw.mjs +0 -2
  546. package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +0 -4
  547. package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +0 -2
  548. package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +0 -2
  549. package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +0 -2
  550. package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +0 -2
  551. package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +0 -3
  552. package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +0 -2
  553. package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +0 -2
  554. package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +0 -2
  555. package/dist/chunks/cli-0.6.0-da98vnek.mjs +0 -3
  556. package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +0 -2
  557. package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +0 -2
  558. package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +0 -2
  559. package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +0 -2
  560. package/dist/chunks/cli-0.6.0-e05hymmk.mjs +0 -2
  561. package/dist/chunks/cli-0.6.0-e8a59m32.mjs +0 -2
  562. package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +0 -4
  563. package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +0 -2
  564. package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +0 -3
  565. package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +0 -2
  566. package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +0 -2
  567. package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +0 -2
  568. package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +0 -2
  569. package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +0 -2
  570. package/dist/chunks/cli-0.6.0-g7exm24t.mjs +0 -3
  571. package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +0 -2
  572. package/dist/chunks/cli-0.6.0-gassmthg.mjs +0 -2
  573. package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +0 -2
  574. package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +0 -4
  575. package/dist/chunks/cli-0.6.0-gw1zy408.mjs +0 -2
  576. package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +0 -2
  577. package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +0 -2
  578. package/dist/chunks/cli-0.6.0-hchy51xn.mjs +0 -15
  579. package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +0 -2
  580. package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +0 -2
  581. package/dist/chunks/cli-0.6.0-hraw3dez.mjs +0 -2
  582. package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +0 -6
  583. package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +0 -34
  584. package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +0 -7
  585. package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +0 -50
  586. package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +0 -2
  587. package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +0 -67
  588. package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +0 -9
  589. package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +0 -2
  590. package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +0 -8
  591. package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +0 -6
  592. package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +0 -5
  593. package/dist/chunks/cli-0.6.0-m47zataq.mjs +0 -2
  594. package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +0 -2
  595. package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +0 -2
  596. package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +0 -2
  597. package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +0 -2
  598. package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +0 -2
  599. package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +0 -2
  600. package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +0 -3
  601. package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +0 -2
  602. package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +0 -4
  603. package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +0 -58
  604. package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +0 -42
  605. package/dist/chunks/cli-0.6.0-pbegwent.mjs +0 -2
  606. package/dist/chunks/cli-0.6.0-pk4x582t.mjs +0 -2
  607. package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +0 -2
  608. package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +0 -2
  609. package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +0 -2
  610. package/dist/chunks/cli-0.6.0-qnby905t.mjs +0 -2
  611. package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +0 -6
  612. package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +0 -2
  613. package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +0 -59
  614. package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +0 -4
  615. package/dist/chunks/cli-0.6.0-rrp10514.mjs +0 -2
  616. package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +0 -2
  617. package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +0 -2
  618. package/dist/chunks/cli-0.6.0-rytp9dva.mjs +0 -2
  619. package/dist/chunks/cli-0.6.0-s2w74466.mjs +0 -15
  620. package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +0 -2
  621. package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +0 -2
  622. package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +0 -2
  623. package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +0 -2
  624. package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +0 -2
  625. package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +0 -2
  626. package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +0 -21
  627. package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +0 -2
  628. package/dist/chunks/cli-0.6.0-ssdst17p.mjs +0 -2
  629. package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +0 -2
  630. package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +0 -12
  631. package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +0 -2
  632. package/dist/chunks/cli-0.6.0-t93n2gev.mjs +0 -3
  633. package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +0 -3
  634. package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +0 -2
  635. package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +0 -2
  636. package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +0 -2
  637. package/dist/chunks/cli-0.6.0-tz34279s.mjs +0 -3
  638. package/dist/chunks/cli-0.6.0-v56hqc26.mjs +0 -25
  639. package/dist/chunks/cli-0.6.0-v7kten40.mjs +0 -2
  640. package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +0 -2
  641. package/dist/chunks/cli-0.6.0-vcvchaan.mjs +0 -2
  642. package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +0 -5321
  643. package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +0 -4
  644. package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +0 -18
  645. package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +0 -133
  646. package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +0 -10
  647. package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +0 -2
  648. package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +0 -2
  649. package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +0 -39
  650. package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +0 -2
  651. package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +0 -2
  652. package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +0 -2
  653. package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +0 -1
  654. package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +0 -2
  655. package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +0 -24
  656. package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +0 -2
  657. package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +0 -2
  658. package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +0 -2
  659. package/dist/chunks/cli-0.6.0-zabvyppx.mjs +0 -2
  660. package/dist/chunks/cli-0.6.0-zngss8r1.mjs +0 -2
  661. package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +0 -5
  662. package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +0 -2
  663. package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +0 -24
  664. package/dist/chunks/client-0.6.0-djg9p1rh.mjs +0 -1
  665. package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +0 -1
  666. package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +0 -3
  667. package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +0 -1
  668. package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +0 -1
  669. package/dist/chunks/constants-0.6.0-qe49df42.mjs +0 -1
  670. package/dist/chunks/context-0.6.0-t33461h9.mjs +0 -1
  671. package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +0 -1
  672. package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +0 -1
  673. package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +0 -1
  674. package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +0 -9
  675. package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +0 -1
  676. package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +0 -1
  677. package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +0 -1
  678. package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +0 -1
  679. package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +0 -1365
  680. package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +0 -1
  681. package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +0 -1
  682. package/dist/chunks/detection-0.6.0-8thkktsw.mjs +0 -1
  683. package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +0 -1
  684. package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +0 -1
  685. package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +0 -1
  686. package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +0 -1
  687. package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +0 -10
  688. package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +0 -1
  689. package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +0 -1
  690. package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +0 -1
  691. package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +0 -1
  692. package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +0 -1
  693. package/dist/chunks/exit-0.6.0-xys34kqe.mjs +0 -1
  694. package/dist/chunks/export-0.6.0-135ccc8z.mjs +0 -2
  695. package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +0 -1
  696. package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +0 -1
  697. package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +0 -1
  698. package/dist/chunks/feedback-0.6.0-j898w96j.mjs +0 -14
  699. package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +0 -1
  700. package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +0 -1
  701. package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +0 -1
  702. package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +0 -4
  703. package/dist/chunks/grove-0.6.0-bge298jb.mjs +0 -1
  704. package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +0 -1
  705. package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +0 -2
  706. package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +0 -6
  707. package/dist/chunks/help-0.6.0-krmgwd6p.mjs +0 -1
  708. package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +0 -3
  709. package/dist/chunks/hooks-0.6.0-652920vq.mjs +0 -79
  710. package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +0 -1
  711. package/dist/chunks/ide-0.6.0-j84km85e.mjs +0 -3
  712. package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +0 -1
  713. package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +0 -1
  714. package/dist/chunks/index-0.6.0-33tqx1q0.mjs +0 -1
  715. package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +0 -2
  716. package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +0 -2
  717. package/dist/chunks/index-0.6.0-9br46rw2.mjs +0 -1
  718. package/dist/chunks/index-0.6.0-apr64dfb.mjs +0 -1
  719. package/dist/chunks/index-0.6.0-e79va7fg.mjs +0 -9
  720. package/dist/chunks/index-0.6.0-f35c7dte.mjs +0 -1
  721. package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +0 -1
  722. package/dist/chunks/index-0.6.0-gxd56xhn.mjs +0 -1
  723. package/dist/chunks/index-0.6.0-kbwkgp90.mjs +0 -5
  724. package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +0 -1
  725. package/dist/chunks/index-0.6.0-mxm4er0h.mjs +0 -1
  726. package/dist/chunks/index-0.6.0-nny5a3rt.mjs +0 -30
  727. package/dist/chunks/index-0.6.0-nst006cq.mjs +0 -17
  728. package/dist/chunks/index-0.6.0-rv4pntam.mjs +0 -1
  729. package/dist/chunks/index-0.6.0-scwzrsg7.mjs +0 -1
  730. package/dist/chunks/index-0.6.0-w2djrw2s.mjs +0 -9
  731. package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +0 -1
  732. package/dist/chunks/index-0.6.0-wjesenkh.mjs +0 -1
  733. package/dist/chunks/index-0.6.0-y9ppfz99.mjs +0 -1
  734. package/dist/chunks/index-0.6.0-zem7h5vp.mjs +0 -1
  735. package/dist/chunks/init-0.6.0-1770vy5g.mjs +0 -1
  736. package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +0 -1
  737. package/dist/chunks/ink-0.6.0-qwcph42h.mjs +0 -1
  738. package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +0 -870
  739. package/dist/chunks/install-0.6.0-26gqe0fd.mjs +0 -1
  740. package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +0 -149
  741. package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +0 -1
  742. package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +0 -1
  743. package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +0 -1
  744. package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +0 -2
  745. package/dist/chunks/knowledge-0.6.0-ew766111.mjs +0 -2
  746. package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +0 -1
  747. package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +0 -1
  748. package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +0 -1
  749. package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +0 -1
  750. package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +0 -1
  751. package/dist/chunks/main-0.6.0-rzx5483p.mjs +0 -1
  752. package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +0 -1
  753. package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +0 -4
  754. package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +0 -1
  755. package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +0 -17
  756. package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +0 -1
  757. package/dist/chunks/memory-0.6.0-wzcpareq.mjs +0 -3
  758. package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +0 -2
  759. package/dist/chunks/model-0.6.0-2ncemzh6.mjs +0 -1
  760. package/dist/chunks/model-0.6.0-tefdsge4.mjs +0 -2
  761. package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +0 -12
  762. package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +0 -1
  763. package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +0 -14
  764. package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +0 -1
  765. package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +0 -1
  766. package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +0 -1
  767. package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +0 -1
  768. package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +0 -1
  769. package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +0 -3
  770. package/dist/chunks/plan-0.6.0-v60h02ep.mjs +0 -1
  771. package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +0 -1
  772. package/dist/chunks/plugin-0.6.0-43b045ac.mjs +0 -29
  773. package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +0 -1
  774. package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +0 -9
  775. package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +0 -2
  776. package/dist/chunks/print-0.6.0-09j4e2ec.mjs +0 -57
  777. package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +0 -1
  778. package/dist/chunks/process-0.6.0-194s5ayw.mjs +0 -1
  779. package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +0 -1
  780. package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +0 -9
  781. package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +0 -1
  782. package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +0 -1
  783. package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +0 -1
  784. package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +0 -13
  785. package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +0 -2
  786. package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +0 -1
  787. package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +0 -6
  788. package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +0 -1
  789. package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +0 -34
  790. package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +0 -1
  791. package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +0 -5
  792. package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +0 -2
  793. package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +0 -1
  794. package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +0 -1
  795. package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +0 -1
  796. package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +0 -1
  797. package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +0 -1
  798. package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +0 -1
  799. package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +0 -2
  800. package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +0 -1
  801. package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +0 -1
  802. package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +0 -1
  803. package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +0 -1
  804. package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +0 -2
  805. package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +0 -1
  806. package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +0 -1
  807. package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +0 -1
  808. package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +0 -1
  809. package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +0 -5
  810. package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +0 -1
  811. package/dist/chunks/skills-0.6.0-78btd7cr.mjs +0 -1
  812. package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +0 -1
  813. package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +0 -1
  814. package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +0 -1
  815. package/dist/chunks/stats-0.6.0-w163rgvd.mjs +0 -6
  816. package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +0 -1
  817. package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +0 -1
  818. package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +0 -1
  819. package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +0 -1
  820. package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +0 -1
  821. package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +0 -1
  822. package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +0 -1
  823. package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +0 -1
  824. package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +0 -1
  825. package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +0 -1
  826. package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +0 -1
  827. package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +0 -1
  828. package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +0 -1
  829. package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +0 -1
  830. package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +0 -1
  831. package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +0 -69
  832. package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +0 -4
  833. package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +0 -86
  834. package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +0 -1
  835. package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +0 -14
  836. package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +0 -1
  837. package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +0 -1
  838. package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +0 -1
  839. package/dist/chunks/utils-0.6.0-pf338f8r.mjs +0 -1
  840. package/dist/chunks/vim-0.6.0-xr4692km.mjs +0 -1
  841. package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +0 -1
  842. package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +0 -132
  843. package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +0 -1
  844. package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +0 -1
  845. package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +0 -7
  846. /package/dist/chunks/{cli-0.6.0-ktf52b8k.mjs → cli-0.6.2-1e5p6hw6.mjs} +0 -0
  847. /package/dist/chunks/{cli-0.6.0-td7dsace.mjs → cli-0.6.2-3eaaj6e5.mjs} +0 -0
  848. /package/dist/chunks/{cli-0.6.0-hcx40dgf.mjs → cli-0.6.2-7p1ykg1m.mjs} +0 -0
  849. /package/dist/chunks/{cli-0.6.0-djm9knfa.mjs → cli-0.6.2-adegz2m3.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.6.0-6hak6gny.mjs → cli-0.6.2-hb4fz4pd.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.6.0-9zx9qdaq.mjs → cli-0.6.2-hkgnx8g7.mjs} +0 -0
  852. /package/dist/chunks/{cli-0.6.0-2hnyx7jy.mjs → cli-0.6.2-qk6j042k.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{hpa as t}from"./cli-0.6.2-3rgtxc9f.mjs";var r,i=(s,e)=>function(){return e||(0,s[r(s)[0]])((e={exports:{}}).exports,e),e.exports},n;var a=t(()=>{r=Object.getOwnPropertyNames,n=i({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.25.2",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.16.1",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^9.0.1"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0"}}}}})});
2
+ export{n as fh,a as gh};
@@ -0,0 +1,2 @@
1
+ import{MN as Y,Rk as W,Uk as P,Zi as Q,_i as I,tO as R}from"./cli-0.6.2-4p9wa0p6.mjs";import{Lda as B,Mda as f}from"./cli-0.6.2-73vnf2t2.mjs";import{Tfa as F,wfa as H,xfa as J}from"./cli-0.6.2-d3ykxc81.mjs";import{yna as $,zja as v}from"./cli-0.6.2-42d88f3r.mjs";import{hpa as Z}from"./cli-0.6.2-3rgtxc9f.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
2
+ export{S as $d,V as ae,X as be,r as ce,w as de,T as ee,G as fe};
@@ -0,0 +1,2 @@
1
+ import{GJ as C,QJ as N,ZJ as $,_J as k,eK as V}from"./cli-0.6.2-4p9wa0p6.mjs";import{RW as P,RY as D,kY as f,mY as t,qY as v}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as n,q0 as i,r0 as M}from"./cli-0.6.2-jrpted0b.mjs";import{dpa as w,hpa as L}from"./cli-0.6.2-3rgtxc9f.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as If,z as Jf};
@@ -0,0 +1,34 @@
1
+ import{RY as IT,iY as X,oY as JT,pY as ST}from"./cli-0.6.2-4r69ge5f.mjs";import{s5 as K,t5 as VT}from"./cli-0.6.2-aqxemf9h.mjs";import{Ada as H,Gba as z,I9 as s,Ida as n,Jba as V,K8 as BT,L8 as _T,N7 as Y,O9 as XT,P7 as o,Pba as l,Qba as d,S9 as FT,V9 as qT,W9 as OT,cca as D,iba as f,kba as YT,s_ as Q,u_ as UT}from"./cli-0.6.2-hhjx89cr.mjs";import{ofa as E,pfa as QT}from"./cli-0.6.2-d3ykxc81.mjs";import{Jga as GT,Kga as $T,Oga as zT,Sga as P,Wga as KT}from"./cli-0.6.2-g6c6hjc6.mjs";import{Dha as u,Fha as LT}from"./cli-0.6.2-0f9sh5z8.mjs";import{Xna as r,Yna as ZT}from"./cli-0.6.2-wryj4wnr.mjs";import{hpa as I}from"./cli-0.6.2-3rgtxc9f.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
2
+
3
+ No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
4
+ `;else if(B==="windows")J=` • Windows: Windows Terminal
5
+ `;let F=`Terminal setup cannot be run from ${$}.
6
+
7
+ This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
+ ${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
+
10
+ To set up the shortcut (optional):
11
+ 1. Exit tmux/screen temporarily
12
+ 2. Run /terminal-setup directly in one of these terminals:
13
+ ${J} • IDE: VSCode, Cursor, Windsurf, Zed
14
+ • Other: Alacritty
15
+ 3. Return to tmux/screen - settings will persist
16
+
17
+ ${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
18
+ {
19
+ "key": "shift+enter",
20
+ "command": "workbench.action.terminal.sendSequence",
21
+ "args": { "text": "\\u001b\\r" },
22
+ "when": "terminalFocus"
23
+ }
24
+ ]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
25
+ `))F+=`
26
+ `;return F+=`
27
+ [[keyboard.bindings]]
28
+ key = "Return"
29
+ mods = "Shift"
30
+ chars = "\\u001B\\r"
31
+ `,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
32
+ `,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
33
+ `,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
+ export{a as gV,h as hV,e as iV,TT as jV,Ww as kV,uT as lV,ET as mV,Lw as nV,zw as oV,Vw as pV,_w as qV,bT as rV};
@@ -0,0 +1,2 @@
1
+ import{CX as T,DX as X,EX as I,GX as Y,HX as p,UX as v,VX as Z,WX as D}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as P,r0 as V}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as H}from"./cli-0.6.2-d3y2w089.mjs";import{Fka as W,yna as F}from"./cli-0.6.2-42d88f3r.mjs";import{dpa as A,hpa as C}from"./cli-0.6.2-3rgtxc9f.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
2
+ export{u as Lg,M as Mg};
@@ -0,0 +1,2 @@
1
+ import{Rc as t,Sc as pJ}from"./cli-0.6.2-c9adbzc9.mjs";import{dh as r,eh as DJ}from"./cli-0.6.2-p6w7n0bx.mjs";import{Ck as _J,GB as VJ,GQ as OJ,TE as T,WB as PJ,XB as jJ,XE as i,Xk as c,YE as n,ZE as RJ,aC as o,bC as yJ,bl as MJ,ii as u,im as h,my as a,nj as zJ,nx as x,ny as AJ,oL as I,sD as l,tD as HJ,tO as P,zk as g}from"./cli-0.6.2-4p9wa0p6.mjs";import{p3 as YJ}from"./cli-0.6.2-ea8z1e2e.mjs";import{Ada as B,Ida as H,Kaa as m,Saa as f,Taa as wJ,cba as UJ,p9 as QJ,rda as O,sda as NJ}from"./cli-0.6.2-hhjx89cr.mjs";import{lfa as ZJ}from"./cli-0.6.2-9w9nmx9s.mjs";import{pfa as qJ}from"./cli-0.6.2-d3ykxc81.mjs";import{cga as R,ega as y}from"./cli-0.6.2-vqt5hqzr.mjs";import{Oga as KJ,Sga as V,Wga as BJ,eha as d,hha as LJ}from"./cli-0.6.2-g6c6hjc6.mjs";import{Fha as C}from"./cli-0.6.2-0f9sh5z8.mjs";import{Iha as U,Vha as WJ}from"./cli-0.6.2-gqbd9ax6.mjs";import{Eka as F,nla as b,yna as j}from"./cli-0.6.2-42d88f3r.mjs";import{epa as IJ}from"./cli-0.6.2-3rgtxc9f.mjs";yJ();DJ();j();ZJ();y();I();zJ();h();QJ();qJ();C();H();P();YJ();KJ();x();I();h();H();C();P();x();VJ();function D(){}j();y();NJ();LJ();WJ();BJ();AJ();UJ();H();i();HJ();OJ();RJ();wJ();MJ();_J();import{join as Q}from"path";var TJ=30;function L(){let q=((m()||{}).cleanupPeriodDays??TJ)*24*60*60*1000;return new Date(Date.now()-q)}function vJ(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function FJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,q){let $={messages:0,errors:0};try{let G=await V().readdir(X);for(let K of G)try{if(FJ(K.name)<J)if(await V().unlink(Q(X,K.name)),q)$.messages++;else $.errors++}catch(Y){B(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")B(G)}return $}async function bJ(){let X=V(),J=L(),q=O.errors(),$=O.baseLogs(),G=await p(q,J,!1);try{let K;try{K=await X.readdir($)}catch{return G}let Y=K.filter((Z)=>Z.isDirectory()&&Z.name.startsWith("mcp-logs-")).map((Z)=>Q($,Z.name));for(let Z of Y)G=vJ(G,await p(Z,J,!0)),await z(Z,X)}catch(K){if(K instanceof Error&&"code"in K&&K.code!=="ENOENT")B(K)}return G}async function w(X,J,q){if((await q.stat(X)).mtime<J)return await q.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function SJ(){let X=L(),J={messages:0,errors:0},q=u(),$=V(),G;try{G=await $.readdir(q)}catch{return J}for(let K of G){if(!K.isDirectory())continue;let Y=Q(q,K.name),Z;try{Z=await $.readdir(Y)}catch{J.errors++;continue}for(let W of Z)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await w(Q(Y,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Q(Y,W.name),N=Q(M,c),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await w(Q(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Q(N,_.name),k;try{k=await $.readdir(A)}catch{continue}for(let E of k){if(!E.isFile())continue;try{if(await w(Q(A,E.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Y,$)}return J}async function kJ(X,J,q=!0){let $=L(),G={messages:0,errors:0},K=V(),Y;try{Y=await K.readdir(X)}catch{return G}for(let Z of Y){if(!Z.isFile()||!Z.name.endsWith(J))continue;try{if(await w(Q(X,Z.name),$,K))G.messages++}catch{G.errors++}}if(q)await z(X,K);return G}function EJ(){let X=Q(U(),"plans");return kJ(X,".md")}async function CJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"file-history"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));await Promise.all(Y.map(async(Z)=>{try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(G,q)}catch($){B($)}return J}async function hJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"session-env"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));for(let Z of Y)try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(G,q)}catch($){B($)}return J}async function xJ(){let X=L(),J={messages:0,errors:0},q=V(),$=Q(U(),"debug"),G;try{G=await q.readdir($)}catch{return J}for(let K of G){if(!K.isFile()||!K.name.endsWith(".txt")||K.name==="latest")continue;try{if(await w(Q($,K.name),X,q))J.messages++}catch{J.errors++}}return J}async function s(){let{errors:X}=n();if(X.length>0&&f("cleanupPeriodDays")){d("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await bJ(),await SJ(),await EJ(),await CJ(),await hJ(),await xJ(),await a(),await l(L());let J=await g(L());if(J>0)R("tengu_worktree_cleanup",{removed:J})}i();pJ();var dJ=(jJ(),IJ(PJ));var v=600000;function iX(){r(),D(),dJ.initExtractMemories(),o(),t();let X=!0;async function J(){if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await s();if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await T()}setTimeout(J,v).unref()}
2
+ export{iX as Xa};
@@ -0,0 +1,2 @@
1
+ import{i7 as Z,m7 as _,n7 as w}from"./cli-0.6.2-wbg54yyk.mjs";import{Gba as W,I8 as T,Jba as V,O9 as D,Y7 as Y,Z7 as U,cca as j,i8 as $,s9 as k}from"./cli-0.6.2-hhjx89cr.mjs";import{eha as N,hha as M}from"./cli-0.6.2-g6c6hjc6.mjs";import{Fja as X,yna as O}from"./cli-0.6.2-42d88f3r.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
+ export{b as sb,y as tb,P as ub,d as vb,c as wb};
@@ -0,0 +1,15 @@
1
+ import{KZ as o,NZ as OJ}from"./cli-0.6.2-3mpd0wjn.mjs";import{Ada as q,Gba as v,Ida as E,Jaa as i,O7 as K,P7 as I,Taa as HJ,cca as D,s_ as G,u_ as BJ}from"./cli-0.6.2-hhjx89cr.mjs";import{cga as A,ega as XJ}from"./cli-0.6.2-vqt5hqzr.mjs";import{Jga as k,Kga as j,Oga as C,Sga as y,Wga as F,eha as W,hha as zJ}from"./cli-0.6.2-g6c6hjc6.mjs";import{Aha as w,Dha as p,Fha as R,oha as l,zha as O}from"./cli-0.6.2-0f9sh5z8.mjs";import{Iha as H,Vha as b}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as M}from"./cli-0.6.2-3rgtxc9f.mjs";import{access as P,chmod as JJ,writeFile as QJ}from"fs/promises";import{homedir as f}from"os";import{join as B}from"path";function S(){return B(H(),"local")}function YJ(J=f()){return B(J,".claude","local")}function m(J){let Q=J?.homeDir??f(),Y=J?.configHomeDir??H();return Array.from(new Set([B(Y,"local"),YJ(Q)]))}function d(J){return[B(J,"node_modules",".bin","claudin"),B(J,"node_modules",".bin","claude")]}function ZJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function T(){return B(S(),"claudin")}function DJ(){return ZJ(process.argv[1]||"")}async function L(J,Q,Y){try{return await QJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(O(Z)==="EEXIST")return!1;throw Z}}async function $J(){try{let J=S();await y().mkdir(J),await L(B(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=T();if(await L(Q,`#!/bin/sh
2
+ exec "${J}/node_modules/.bin/claudin" "$@"`,493))await JJ(Q,493);return!0}catch(J){return q(J),!1}}async function EJ(J,Q){try{if(!await $J())return"install_failed";let Z=await K("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:S(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return v(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function PJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),!0}catch{}return!1}async function fJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),J}catch{}return null}function mJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var u=M(()=>{D();b();R();I();F();E();C()});import{open as qJ,readFile as WJ,stat as KJ}from"fs/promises";import{homedir as h}from"os";import{join as U}from"path";function V(J){let Q=J?.homedir??h(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:U(Z,".zshrc"),bash:U(Q,".bashrc"),fish:U(Q,".config/fish/config.fish")}}function g(J){let Q=!1;return{filtered:J.filter((Z)=>{if(c.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===T())return Q=!0,!1}}return!0}),hadAlias:Q}}async function x(J){try{return(await WJ(J,{encoding:"utf8"})).split(`
3
+ `)}catch(Q){if(p(Q))return null;throw Q}}async function n(J,Q){let Y=await qJ(J,"w");try{await Y.writeFile(Q.join(`
4
+ `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function NJ(J){let Q=V(J);for(let Y of Object.values(Q)){let Z=await x(Y);if(!Z)continue;for(let $ of Z)if(c.test($)){let N=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(N&&N[1])return N[1]}}return null}async function nJ(J){let Q=await NJ(J);if(!Q)return null;let Y=J?.homedir??h(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await KJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var c;var s=M(()=>{R();u();c=/^\s*alias\s+claude\s*=/});import{constants as yJ}from"fs";import{access as GJ,writeFile as a}from"fs/promises";import{homedir as X}from"os";import{join as _J}from"path";function r(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function vJ(){let J=await K("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}async function zQ(){}async function BQ(){return}async function HQ(){return}function OQ(J){let Y=i()?.minimumVersion;if(!Y)return!1;let Z=!o(J,Y);if(Z)W(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function e(){return _J(H(),".update.lock")}async function wJ(){let J=y(),Q=e();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<t)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<t)return!1;await J.unlink(Q)}catch($){if(!w($))return q($),!1}}catch(Y){if(!w(Y))return q(Y),!1}try{return await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=O(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(H()),await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(O($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function MJ(){let J=y(),Q=e();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(w(Y))return;q(Y)}}async function RJ(){let J=G.isRunningWithBun()||r(),Q=null;if(J)Q=await K("bun",["pm","bin","-g"],{cwd:X()});else Q=await K("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function SJ(){try{let J=await RJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await GJ(J,yJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new _("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function yQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await K("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(W(`npm view failed with code ${$.code}`),$.stderr)W(`npm stderr: ${$.stderr.trim()}`);else W("npm stderr: (empty)");if($.stdout)W(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function GQ(){let J=await K("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return W(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=j(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return W(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function _Q(J){return null}async function vQ(){return{latest:null,stable:null}}async function wQ(J){let Y=await K("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(W(`npm view versions failed with code ${Y.code}`),Y.stderr)W(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return j(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return W(`Failed to parse version history: ${Z}`),[]}}async function MQ(J){if(!await wJ())return q(new _("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await TJ(),!G.isRunningWithBun()&&G.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
5
+ Error: Windows NPM detected in WSL
6
+
7
+ You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
8
+ This configuration is not supported for updates.
9
+
10
+ To fix this issue:
11
+ 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
+ 2. Make sure Linux NPM is in your PATH before the Windows version
13
+ 3. Try updating again with 'claude update'
14
+ `),"install_failed";let{hasPermissions:Q}=await SJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=G.isRunningWithBun()||r()?"bun":"npm",N=await K(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(N.code!==0){let z=new _(`Failed to install new version of claude: ${N.stdout} ${N.stderr}`);return q(z),"install_failed"}if(Z==="npm"&&await vJ()){let z=await K("bun",["install","-g",Y],{cwd:X()});if(z.code!==0)q(new _(`Failed to update bun global install: ${z.stdout} ${z.stderr}`))}return v((z)=>({...z,installMethod:"global"})),"success"}finally{await MJ()}}async function TJ(){let J=V();for(let[,Q]of Object.entries(J))try{let Y=await x(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=g(Y);if($)await n(Q,Z),W(`Removed claude alias from ${Q}`)}catch(Y){W(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var _,t=300000;var UJ=M(()=>{XJ();D();zJ();BJ();b();R();I();F();E();OJ();HJ();s();C();_=class _ extends l{}});
15
+ export{DJ as iR,EJ as jR,PJ as kR,fJ as lR,mJ as mR,u as nR,V as oR,g as pR,x as qR,n as rR,NJ as sR,nJ as tR,s as uR,zQ as vR,BQ as wR,HQ as xR,OQ as yR,e as zR,SJ as AR,yQ as BR,GQ as CR,_Q as DR,vQ as ER,wQ as FR,MQ as GR,UJ as HR};
@@ -0,0 +1,2 @@
1
+ import{hpa as l}from"./cli-0.6.2-3rgtxc9f.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
2
+ export{u as o0,E as p0,a as q0,c as r0};
@@ -0,0 +1,2 @@
1
+ import{hpa as C}from"./cli-0.6.2-3rgtxc9f.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
2
+ export{L as qh,M as rh,N as sh,H as th};
@@ -0,0 +1,2 @@
1
+ import{G4 as Z,J4 as T,P4 as f,Y4 as WB}from"./cli-0.6.2-ea8z1e2e.mjs";import{B7 as O,C7 as BB,Jba as A,Vba as v,cca as QB,t_ as _,u_ as KB}from"./cli-0.6.2-hhjx89cr.mjs";import{ofa as w,pfa as JB}from"./cli-0.6.2-d3ykxc81.mjs";import{Lha as F,Vha as e}from"./cli-0.6.2-gqbd9ax6.mjs";import{Mia as I,Nia as c,Yia as M,Zia as m,gia as S,hia as s,yna as a,zja as R}from"./cli-0.6.2-42d88f3r.mjs";import{Xna as q,Yna as t}from"./cli-0.6.2-wryj4wnr.mjs";import{hpa as K}from"./cli-0.6.2-3rgtxc9f.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
2
+ export{kB as fS,r as gS,vB as hS,TB as iS,g as jS,ZB as kS};
@@ -0,0 +1,2 @@
1
+ import{hpa as cH}from"./cli-0.6.2-3rgtxc9f.mjs";import{createRequire as lH}from"module";function NC(H,C){if(typeof H=="function")C=H,H={};return this.ondata=C,H}function HJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC],function(K){return YC(cC(K.data[0],K.data[1]))},0,J)}function cC(H,C){return RC(H,C||{},0,0)}function rH(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC],function(K){return YC(vC(K.data[0],YH(K.data[1])))},1,J)}function vC(H,C){return zC(H,{i:2},C&&C.out,C&&C.dictionary)}function EJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,vH,function(){return[LH]}],function(K){return YC(LH(K.data[0],K.data[1]))},2,J)}function LH(H,C){if(!C)C={};var J=TC(),K=H.length;J.p(H);var Q=RC(H,C,NH(C),8),V=Q.length;return $H(Q,C),g(Q,V-8,J.d()),g(Q,V-4,K),Q}function KJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,kH,function(){return[JH]}],function(K){return YC(JH(K.data[0],K.data[1]))},3,J)}function JH(H,C){var J=RH(H);if(J+8>H.length)B(6,"invalid gzip data");return zC(H.subarray(J,-8),{i:2},C&&C.out||new Z(mH(H)),C&&C.dictionary)}function BJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[IC,hH,function(){return[PH]}],function(K){return YC(PH(K.data[0],K.data[1]))},4,J)}function PH(H,C){if(!C)C={};var J=aC();J.p(H);var K=RC(H,C,C.dictionary?6:2,4);return EH(K,C),g(K,K.length-4,J.d()),K}function VJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return UC(H,C,[ZC,_H,function(){return[QH]}],function(K){return YC(QH(K.data[0],YH(K.data[1])))},5,J)}function QH(H,C){return zC(H.subarray(WH(H,C&&C.dictionary),-4),{i:2},C&&C.out,C&&C.dictionary)}function qJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);return H[0]==31&&H[1]==139&&H[2]==8?KJ(H,C,J):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?rH(H,C,J):VJ(H,C,J)}function OJ(H,C){return H[0]==31&&H[1]==139&&H[2]==8?JH(H,C):(H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31?vC(H,C):QH(H,C)}function $C(H,C){if(C){var J=new Z(H.length);for(var K=0;K<H.length;++K)J[K]=H.charCodeAt(K);return J}if(GH)return GH.encode(H);var Q=H.length,V=new Z(H.length+(H.length>>1)),X=0,Y=function(R){V[X++]=R};for(var K=0;K<Q;++K){if(X+5>V.length){var E=new Z(X+8+(Q-K<<1));E.set(V),V=E}var $=H.charCodeAt(K);if($<128||C)Y($);else if($<2048)Y(192|$>>6),Y(128|$&63);else if($>55295&&$<57344)$=65536+($&1047552)|H.charCodeAt(++K)&1023,Y(240|$>>18),Y(128|$>>12&63),Y(128|$>>6&63),Y(128|$&63);else Y(224|$>>12),Y(128|$>>6&63),Y(128|$&63)}return d(V,0,X)}function nH(H,C){if(C){var J="";for(var K=0;K<H.length;K+=16384)J+=String.fromCharCode.apply(null,H.subarray(K,K+16384));return J}else if(VH)return VH.decode(H);else{var Q=oH(H),V=Q.s,J=Q.r;if(J.length)B(8);return V}}function TJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K={};BH(H,"",K,C);var Q=Object.keys(K),V=Q.length,X=0,Y=0,E=V,$=Array(V),R=[],N=function(){for(var F=0;F<R.length;++F)R[F]()},W=function(F,P){eC(function(){J(F,P)})};eC(function(){W=J});var T=function(){var F=new Z(Y+22),P=X,U=Y-X;Y=0;for(var j=0;j<E;++j){var O=$[j];try{var x=O.c.length;MC(F,Y,O,O.f,O.u,x);var z=30+O.f.length+XC(O.extra),A=Y+z;F.set(O.c,A),MC(F,X,O,O.f,O.u,x,Y,O.m),X+=16+z+(O.m?O.m.length:0),Y=A+x}catch(L){return W(L,null)}}FH(F,X,$.length,U,P),W(null,F)};if(!V)T();var M=function(F){var P=Q[F],U=K[P],j=U[0],O=U[1],x=TC(),z=j.length;x.p(j);var A=$C(P),L=A.length,q=O.comment,y=q&&$C(q),S=y&&y.length,v=XC(O.extra),r=O.level==0?0:8,h=function(m,w){if(m)N(),W(m,null);else{var D=w.length;if($[F]=yC(O,{size:z,crc:x.d(),c:w,f:A,m:y,u:L!=P.length||y&&q.length!=S,compression:r}),X+=30+L+v+D,Y+=76+2*(L+v)+(S||0)+D,!--V)T()}};if(L>65535)h(B(11,0,1),null);if(!r)h(null,j);else if(z<160000)try{h(null,cC(j,O))}catch(m){h(m,null)}else R.push(HJ(j,O,h))};for(var G=0;G<E;++G)M(G);return N}function ZJ(H,C){if(!C)C={};var J={},K=[];BH(H,"",J,C);var Q=0,V=0;for(var X in J){var Y=J[X],E=Y[0],$=Y[1],R=$.level==0?0:8,N=$C(X),W=N.length,T=$.comment,M=T&&$C(T),G=M&&M.length,F=XC($.extra);if(W>65535)B(11);var P=R?cC(E,$):E,U=P.length,j=TC();j.p(E),K.push(yC($,{size:E.length,crc:j.d(),c:P,f:N,m:M,u:W!=X.length||M&&T.length!=G,o:Q,compression:R})),Q+=30+W+F+U,V+=76+2*(W+F)+(G||0)+U}var O=new Z(V+22),x=Q,z=V-Q;for(var A=0;A<K.length;++A){var N=K[A];MC(O,N.o,N,N.f,N.u,N.c.length);var L=30+N.f.length+XC(N.extra);O.set(N.c,N.o+L),MC(O,Q,N,N.f,N.u,N.c.length,N.o,N.m),Q+=16+L+(N.m?N.m.length:0)}return FH(O,Q,K.length,z,x),O}function DJ(H,C,J){if(!J)J=C,C={};if(typeof J!="function")B(7);var K=[],Q=function(){for(var F=0;F<K.length;++F)K[F]()},V={},X=function(F,P){eC(function(){J(F,P)})};eC(function(){X=J});var Y=H.length-22;for(;k(H,Y)!=101010256;--Y)if(!Y||H.length-Y>65558)return X(B(13,0,1),null),Q;var E=b(H,Y+8);if(E){var $=E,R=k(H,Y+16),N=k(H,Y-20)==117853008;if(N){var W=k(H,Y-12);if(N=k(H,W)==101075792,N)$=E=k(H,W+32),R=k(H,W+48)}var T=C&&C.filter,M=function(F){var P=fH(H,R,N),U=P[0],j=P[1],O=P[2],x=P[3],z=P[4],A=P[5],L=eH(H,A);R=z;var q=function(S,v){if(S)Q(),X(S,null);else{if(v)V[x]=v;if(!--E)X(null,V)}};if(!T||T({name:x,size:j,originalSize:O,compression:U}))if(!U)q(null,d(H,L,L+j));else if(U==8){var y=H.subarray(L,L+j);if(O<524288||j>0.8*O)try{q(null,vC(y,{out:new Z(O)}))}catch(S){q(S,null)}else K.push(rH(y,{size:O},q))}else q(B(14,"unknown compression type "+U,1),null);else q(null,null)};for(var G=0;G<$;++G)M(G)}else X(null,{});return Q}function SJ(H,C){var J={},K=H.length-22;for(;k(H,K)!=101010256;--K)if(!K||H.length-K>65558)B(13);var Q=b(H,K+8);if(!Q)return{};var V=k(H,K+16),X=k(H,K-20)==117853008;if(X){var Y=k(H,K-12);if(X=k(H,Y)==101075792,X)Q=k(H,Y+32),V=k(H,Y+48)}var E=C&&C.filter;for(var $=0;$<Q;++$){var R=fH(H,V,X),N=R[0],W=R[1],T=R[2],M=R[3],G=R[4],F=R[5],P=eH(H,F);if(V=G,!E||E({name:M,size:W,originalSize:T,compression:N}))if(!N)J[M]=d(H,P,P+W);else if(N==8)J[M]=vC(H.subarray(P,P+W),{out:new Z(T)});else B(14,"unknown compression type "+N)}return J}var dH,OC,mC,iC,iH=";var __w=require('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global",sH,Z,e,wC,PC,jC,gC,TH=function(H,C){var J=new e(31);for(var K=0;K<31;++K)J[K]=C+=1<<H[K-1];var Q=new wC(J[30]);for(var K=1;K<30;++K)for(var V=J[K];V<J[K+1];++V)Q[V]=V-J[K]<<5|K;return{b:J,r:Q}},OC,XH,oC,ZH,IH,sC,xC,HC,I,l=function(H,C,J){var K=H.length,Q=0,V=new e(C);for(;Q<K;++Q)if(H[Q])++V[H[Q]-1];var X=new e(C);for(Q=1;Q<C;++Q)X[Q]=X[Q-1]+V[Q-1]<<1;var Y;if(J){Y=new e(1<<C);var E=15-C;for(Q=0;Q<K;++Q)if(H[Q]){var $=Q<<4|H[Q],R=C-H[Q],N=X[H[Q]-1]++<<R;for(var W=N|(1<<R)-1;N<=W;++N)Y[xC[N]>>E]=$}}else{Y=new e(K);for(Q=0;Q<K;++Q)if(H[Q])Y[Q]=xC[X[H[Q]-1]++]>>15-H[Q]}return Y},QC,I,I,I,I,LC,I,UH,AH,DH,SH,uC=function(H){var C=H[0];for(var J=1;J<H.length;++J)if(H[J]>C)C=H[J];return C},c=function(H,C,J){var K=C/8|0;return(H[K]|H[K+1]<<8)>>(C&7)&J},rC=function(H,C){var J=C/8|0;return(H[J]|H[J+1]<<8|H[J+2]<<16)>>(C&7)},GC=function(H){return(H+7)/8|0},d=function(H,C,J){if(C==null||C<0)C=0;if(J==null||J>H.length)J=H.length;return new Z(H.subarray(C,J))},RJ,gH,B=function(H,C,J){var K=Error(C||gH[H]);if(K.code=H,Error.captureStackTrace)Error.captureStackTrace(K,B);if(!J)throw K;return K},zC=function(H,C,J,K){var Q=H.length,V=K?K.length:0;if(!Q||C.f&&!C.l)return J||new Z(0);var X=!J,Y=X||C.i!=2,E=C.i;if(X)J=new Z(Q*3);var $=function(DC){var SC=J.length;if(DC>SC){var BC=new Z(Math.max(SC*2,DC));BC.set(J),J=BC}},R=C.f||0,N=C.p||0,W=C.b||0,T=C.l,M=C.d,G=C.m,F=C.n,P=Q*8;do{if(!T){R=c(H,N,1);var U=c(H,N+1,3);if(N+=3,!U){var j=GC(N)+4,O=H[j-4]|H[j-3]<<8,x=j+O;if(x>Q){if(E)B(0);break}if(Y)$(W+O);J.set(H.subarray(j,x),W),C.b=W+=O,C.p=N=x*8,C.f=R;continue}else if(U==1)T=AH,M=SH,G=9,F=5;else if(U==2){var z=c(H,N,31)+257,A=c(H,N+10,15)+4,L=z+c(H,N+5,31)+1;N+=14;var q=new Z(L),y=new Z(19);for(var S=0;S<A;++S)y[gC[S]]=c(H,N+S*3,7);N+=A*3;var v=uC(y),r=(1<<v)-1,h=l(y,v,1);for(var S=0;S<L;){var m=h[c(H,N,r)];N+=m&15;var j=m>>4;if(j<16)q[S++]=j;else{var w=0,D=0;if(j==16)D=3+c(H,N,3),N+=2,w=q[S-1];else if(j==17)D=3+c(H,N,7),N+=3;else if(j==18)D=11+c(H,N,127),N+=7;while(D--)q[S++]=w}}var p=q.subarray(0,z),u=q.subarray(z);G=uC(p),F=uC(u),T=l(p,G,1),M=l(u,F,1)}else B(1);if(N>P){if(E)B(0);break}}if(Y)$(W+131072);var VC=(1<<G)-1,f=(1<<F)-1,s=N;for(;;s=N){var w=T[rC(H,N)&VC],o=w>>4;if(N+=w&15,N>P){if(E)B(0);break}if(!w)B(2);if(o<256)J[W++]=o;else if(o==256){s=N,T=null;break}else{var n=o-254;if(o>264){var S=o-257,_=PC[S];n=c(H,N,(1<<_)-1)+XH[S],N+=_}var CC=M[rC(H,N)&f],EC=CC>>4;if(!CC)B(3);N+=CC&15;var u=IH[EC];if(EC>3){var _=jC[EC];u+=rC(H,N)&(1<<_)-1,N+=_}if(N>P){if(E)B(0);break}if(Y)$(W+131072);var WC=W+n;if(W<u){var kC=V-u,hC=Math.min(u,WC);if(kC+W<0)B(3);for(;W<hC;++W)J[W]=K[kC+W]}for(;W<WC;++W)J[W]=J[W-u]}}if(C.l=T,C.p=s,C.b=W,C.f=R,T)R=1,C.m=G,C.d=M,C.n=F}while(!R);return W!=J.length&&X?d(J,0,W):J.subarray(0,W)},JC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8},FC=function(H,C,J){J<<=C&7;var K=C/8|0;H[K]|=J,H[K+1]|=J>>8,H[K+2]|=J>>16},pC=function(H,C){var J=[];for(var K=0;K<H.length;++K)if(H[K])J.push({s:K,f:H[K]});var Q=J.length,V=J.slice();if(!Q)return{t:KC,l:0};if(Q==1){var X=new Z(J[0].s+1);return X[J[0].s]=1,{t:X,l:1}}J.sort(function(x,z){return x.f-z.f}),J.push({s:-1,f:25001});var Y=J[0],E=J[1],$=0,R=1,N=2;J[0]={s:-1,f:Y.f+E.f,l:Y,r:E};while(R!=Q-1)Y=J[J[$].f<J[N].f?$++:N++],E=J[$!=R&&J[$].f<J[N].f?$++:N++],J[R++]={s:-1,f:Y.f+E.f,l:Y,r:E};var W=V[0].s;for(var K=1;K<Q;++K)if(V[K].s>W)W=V[K].s;var T=new e(W+1),M=nC(J[R-1],T,0);if(M>C){var K=0,G=0,F=M-C,P=1<<F;V.sort(function(z,A){return T[A.s]-T[z.s]||z.f-A.f});for(;K<Q;++K){var U=V[K].s;if(T[U]>C)G+=P-(1<<M-T[U]),T[U]=C;else break}G>>=F;while(G>0){var j=V[K].s;if(T[j]<C)G-=1<<C-T[j]++-1;else++K}for(;K>=0&&G;--K){var O=V[K].s;if(T[O]==C)--T[O],++G}M=C}return{t:new Z(T),l:M}},nC=function(H,C,J){return H.s==-1?Math.max(nC(H.l,C,J+1),nC(H.r,C,J+1)):C[H.s]=J},tC=function(H){var C=H.length;while(C&&!H[--C]);var J=new e(++C),K=0,Q=H[0],V=1,X=function(E){J[K++]=E};for(var Y=1;Y<=C;++Y)if(H[Y]==Q&&Y!=C)++V;else{if(!Q&&V>2){for(;V>138;V-=138)X(32754);if(V>2)X(V>10?V-11<<5|28690:V-3<<5|12305),V=0}else if(V>3){X(Q),--V;for(;V>6;V-=6)X(8304);if(V>2)X(V-3<<5|8208),V=0}while(V--)X(Q);V=1,Q=H[Y]}return{c:J.subarray(0,K),n:C}},qC=function(H,C){var J=0;for(var K=0;K<C.length;++K)J+=H[K]*C[K];return J},fC=function(H,C,J){var K=J.length,Q=GC(C+2);H[Q]=K&255,H[Q+1]=K>>8,H[Q+2]=H[Q]^255,H[Q+3]=H[Q+1]^255;for(var V=0;V<K;++V)H[Q+V+4]=J[V];return(Q+4+K)*8},CH=function(H,C,J,K,Q,V,X,Y,E,$,R){JC(C,R++,J),++Q[256];var N=pC(Q,15),W=N.t,T=N.l,M=pC(V,15),G=M.t,F=M.l,P=tC(W),U=P.c,j=P.n,O=tC(G),x=O.c,z=O.n,A=new e(19);for(var L=0;L<U.length;++L)++A[U[L]&31];for(var L=0;L<x.length;++L)++A[x[L]&31];var q=pC(A,7),y=q.t,S=q.l,v=19;for(;v>4&&!y[gC[v-1]];--v);var r=$+5<<3,h=qC(Q,QC)+qC(V,LC)+X,m=qC(Q,W)+qC(V,G)+X+14+3*v+qC(A,y)+2*A[16]+3*A[17]+7*A[18];if(E>=0&&r<=h&&r<=m)return fC(C,R,H.subarray(E,E+$));var w,D,p,u;if(JC(C,R,1+(m<h)),R+=2,m<h){w=l(W,T,0),D=W,p=l(G,F,0),u=G;var VC=l(y,S,0);JC(C,R,j-257),JC(C,R+5,z-1),JC(C,R+10,v-4),R+=14;for(var L=0;L<v;++L)JC(C,R+3*L,y[gC[L]]);R+=3*v;var f=[U,x];for(var s=0;s<2;++s){var o=f[s];for(var L=0;L<o.length;++L){var n=o[L]&31;if(JC(C,R,VC[n]),R+=y[n],n>15)JC(C,R,o[L]>>5&127),R+=o[L]>>12}}}else w=UH,D=QC,p=DH,u=LC;for(var L=0;L<Y;++L){var _=K[L];if(_>255){var n=_>>18&31;if(FC(C,R,w[n+257]),R+=D[n+257],n>7)JC(C,R,_>>23&31),R+=PC[n];var CC=_&31;if(FC(C,R,p[CC]),R+=u[CC],CC>3)FC(C,R,_>>5&8191),R+=jC[CC]}else FC(C,R,w[_]),R+=D[_]}return FC(C,R,w[256]),R+D[256]},xH,KC,wH=function(H,C,J,K,Q,V){var X=V.z||H.length,Y=new Z(K+X+5*(1+Math.ceil(X/7000))+Q),E=Y.subarray(K,Y.length-Q),$=V.l,R=(V.r||0)&7;if(C){if(R)E[0]=V.r>>3;var N=xH[C-1],W=N>>13,T=N&8191,M=(1<<J)-1,G=V.p||new e(32768),F=V.h||new e(M+1),P=Math.ceil(J/3),U=2*P,j=function(lC){return(H[lC]^H[lC+1]<<P^H[lC+2]<<U)&M},O=new wC(25000),x=new e(288),z=new e(32),A=0,L=0,q=V.i||0,y=0,S=V.w||0,v=0;for(;q+2<X;++q){var r=j(q),h=q&32767,m=F[r];if(G[h]=m,F[r]=h,S<=q){var w=X-q;if((A>7000||y>24576)&&(w>423||!$)){R=CH(H,E,0,O,x,z,L,y,v,q-v,R),y=A=L=0,v=q;for(var D=0;D<286;++D)x[D]=0;for(var D=0;D<30;++D)z[D]=0}var p=2,u=0,VC=T,f=h-m&32767;if(w>2&&r==j(q-f)){var s=Math.min(W,w)-1,o=Math.min(32767,q),n=Math.min(258,w);while(f<=o&&--VC&&h!=m){if(H[q+p]==H[q+p-f]){var _=0;for(;_<n&&H[q+_]==H[q+_-f];++_);if(_>p){if(p=_,u=f,_>s)break;var CC=Math.min(f,_-2),EC=0;for(var D=0;D<CC;++D){var WC=q-f+D&32767,kC=G[WC],hC=WC-kC&32767;if(hC>EC)EC=hC,m=WC}}}h=m,m=G[h],f+=h-m&32767}}if(u){O[y++]=268435456|oC[p]<<18|sC[u];var DC=oC[p]&31,SC=sC[u]&31;L+=PC[DC]+jC[SC],++x[257+DC],++z[SC],S=q+p,++A}else O[y++]=H[q],++x[H[q]]}}for(q=Math.max(q,S);q<X;++q)O[y++]=H[q],++x[H[q]];if(R=CH(H,E,$,O,x,z,L,y,v,q-v,R),!$)V.r=R&7|E[R/8|0]<<3,R-=7,V.h=F,V.p=G,V.i=q,V.w=S}else{for(var q=V.w||0;q<X+$;q+=65535){var BC=q+65535;if(BC>=X)E[R/8|0]=$,BC=X;R=fC(E,R+1,H.subarray(q,BC))}V.i=X}return d(Y,0,K+GC(R)+Q)},zH,TC=function(){var H=-1;return{p:function(C){var J=H;for(var K=0;K<C.length;++K)J=zH[J&255^C[K]]^J>>>8;H=J},d:function(){return~H}}},aC=function(){var H=1,C=0;return{p:function(J){var K=H,Q=C,V=J.length|0;for(var X=0;X!=V;){var Y=Math.min(X+2655,V);for(;X<Y;++X)Q+=K+=J[X];K=(K&65535)+15*(K>>16),Q=(Q&65535)+15*(Q>>16)}H=K,C=Q},d:function(){return H%=65521,C%=65521,(H&255)<<24|(H&65280)<<8|(C&255)<<8|C>>8}}},RC=function(H,C,J,K,Q){if(!Q){if(Q={l:1},C.dictionary){var V=C.dictionary.subarray(-32768),X=new Z(V.length+H.length);X.set(V),X.set(H,V.length),H=X,Q.w=V.length}}return wH(H,C.level==null?6:C.level,C.mem==null?Q.l?Math.ceil(Math.max(8,Math.min(13,Math.log(H.length)))*1.5):20:12+C.mem,J,K,Q)},yC=function(H,C){var J={};for(var K in H)J[K]=H[K];for(var K in C)J[K]=C[K];return J},qH=function(H,C,J){var K=H(),Q=H.toString(),V=Q.slice(Q.indexOf("[")+1,Q.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var X=0;X<K.length;++X){var Y=K[X],E=V[X];if(typeof Y=="function"){C+=";"+E+"=";var $=Y.toString();if(Y.prototype)if($.indexOf("[native code]")!=-1){var R=$.indexOf(" ",8)+1;C+=$.slice(R,$.indexOf("(",R))}else{C+=$;for(var N in Y.prototype)C+=";"+E+".prototype."+N+"="+Y.prototype[N].toString()}else C+=$}else J[E]=Y}return C},_C,tH=function(H){var C=[];for(var J in H)if(H[J].buffer)C.push((H[J]=new H[J].constructor(H[J])).buffer);return C},yH=function(H,C,J,K){if(!_C[J]){var Q="",V={},X=H.length-1;for(var Y=0;Y<X;++Y)Q=qH(H[Y],Q,V);_C[J]={c:qH(H[X],Q,V),e:V}}var E=yC({},_C[J].e);return sH(_C[J].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+C.toString()+"}",J,E,tH(E),K)},ZC=function(){return[Z,e,wC,PC,jC,gC,XH,IH,AH,SH,xC,gH,l,uC,c,rC,GC,d,B,zC,vC,YC,YH]},IC=function(){return[Z,e,wC,PC,jC,gC,oC,sC,UH,QC,DH,LC,xC,xH,KC,l,JC,FC,pC,nC,tC,qC,fC,CH,GC,d,wH,RC,cC,YC]},vH=function(){return[$H,NH,g,TC,zH]},kH=function(){return[RH,mH]},hH=function(){return[EH,g,aC]},_H=function(){return[WH]},YC=function(H){return postMessage(H,[H.buffer])},YH=function(H){return H&&{out:H.size&&new Z(H.size),dictionary:H.dictionary}},UC=function(H,C,J,K,Q,V){var X=yH(J,K,Q,function(Y,E){X.terminate(),V(Y,E)});return X.postMessage([H,C],C.consume?[H.buffer]:[]),function(){X.terminate()}},i=function(H){return H.ondata=function(C,J){return postMessage([C,J],[C.buffer])},function(C){if(C.data[0])H.push(C.data[0],C.data[1]),postMessage([C.data[0].length]);else H.flush(C.data[1])}},AC=function(H,C,J,K,Q,V,X){var Y,E=yH(H,K,Q,function($,R){if($)E.terminate(),C.ondata.call(C,$);else if(!Array.isArray(R))X(R);else if(R.length==1){if(C.queuedSize-=R[0],C.ondrain)C.ondrain(R[0])}else{if(R[1])E.terminate();C.ondata.call(C,$,R[0],R[1])}});if(E.postMessage(J),C.queuedSize=0,C.push=function($,R){if(!C.ondata)B(5);if(Y)C.ondata(B(4,0,1),null,!!R);C.queuedSize+=$.length,E.postMessage([$,Y=R],$.buffer instanceof ArrayBuffer?[$.buffer]:[])},C.terminate=function(){E.terminate()},V)C.flush=function($){E.postMessage([0,$])}},b=function(H,C){return H[C]|H[C+1]<<8},k=function(H,C){return(H[C]|H[C+1]<<8|H[C+2]<<16|H[C+3]<<24)>>>0},dC=function(H,C){return k(H,C)+k(H,C+4)*4294967296},g=function(H,C,J){for(;J;++C)H[C]=J,J>>>=8},$H=function(H,C){var J=C.filename;if(H[0]=31,H[1]=139,H[2]=8,H[8]=C.level<2?4:C.level==9?2:0,H[9]=3,C.mtime!=0)g(H,4,Math.floor(new Date(C.mtime||Date.now())/1000));if(J){H[3]=8;for(var K=0;K<=J.length;++K)H[K+10]=J.charCodeAt(K)}},RH=function(H){if(H[0]!=31||H[1]!=139||H[2]!=8)B(6,"invalid gzip data");var C=H[3],J=10;if(C&4)J+=(H[10]|H[11]<<8)+2;for(var K=(C>>3&1)+(C>>4&1);K>0;K-=!H[J++]);return J+(C&2)},mH=function(H){var C=H.length;return(H[C-4]|H[C-3]<<8|H[C-2]<<16|H[C-1]<<24)>>>0},NH=function(H){return 10+(H.filename?H.filename.length+1:0)},EH=function(H,C){var J=C.level,K=J==0?0:J<6?1:J==9?3:2;if(H[0]=120,H[1]=K<<6|(C.dictionary&&32),H[1]|=31-(H[0]<<8|H[1])%31,C.dictionary){var Q=aC();Q.p(C.dictionary),g(H,2,Q.d())}},WH=function(H,C){if((H[0]&15)!=8||H[0]>>4>7||(H[0]<<8|H[1])%31)B(6,"invalid zlib data");if((H[1]>>5&1)==+!C)B(6,"invalid zlib data: "+(H[1]&32?"need":"unexpected")+" dictionary");return(H[1]>>3&4)+2},t,CJ,a,uH,OH,NJ,HH,JJ,MH,WJ,KH,QJ,jH,FJ,BH=function(H,C,J,K){for(var Q in H){var V=H[Q],X=C+Q,Y=K;if(Array.isArray(V))Y=yC(K,V[1]),V=V[0];if(ArrayBuffer.isView(V))J[X]=[V,Y];else J[X+="/"]=[new Z(0),Y],BH(V,X,J,K)}},GH,VH,pH=0,oH=function(H){for(var C="",J=0;;){var K=H[J++],Q=(K>127)+(K>223)+(K>239);if(J+Q>H.length)return{s:C,r:d(H,J-1)};if(!Q)C+=String.fromCharCode(K);else if(Q==3)K=((K&15)<<18|(H[J++]&63)<<12|(H[J++]&63)<<6|H[J++]&63)-65536,C+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Q&1)C+=String.fromCharCode((K&31)<<6|H[J++]&63);else C+=String.fromCharCode((K&15)<<12|(H[J++]&63)<<6|H[J++]&63)}},LJ,MJ,bH=function(H){return H==1?3:H<6?2:H==9?1:0},eH=function(H,C){return C+30+b(H,C+26)+b(H,C+28)},fH=function(H,C,J){var K=b(H,C+28),Q=b(H,C+30),V=nH(H.subarray(C+46,C+46+K),!(b(H,C+8)&2048)),X=C+46+K,Y=aH(H,X,Q,J,k(H,C+20),k(H,C+24),k(H,C+42)),E=Y[0],$=Y[1],R=Y[2];return[b(H,C+10),E,$,V,X+Q+b(H,C+32),R]},aH=function(H,C,J,K,Q,V,X){var Y=Q==4294967295,E=V==4294967295,$=X==4294967295,R=C+J,N=Y+E+$;if(K&&N){for(;C+4<R;C+=4+b(H,C+2))if(b(H,C)==1)return[Y?dC(H,C+4+8*E):Q,E?dC(H,C+4):V,$?dC(H,C+4+8*(E+Y)):X,1];if(K<2)B(13)}return[Q,V,X,0]},XC=function(H){var C=0;if(H)for(var J in H){var K=H[J].length;if(K>65535)B(9);C+=K+4}return C},MC=function(H,C,J,K,Q,V,X,Y){var E=K.length,$=J.extra,R=Y&&Y.length,N=XC($);if(g(H,C,X!=null?33639248:67324752),C+=4,X!=null)H[C++]=20,H[C++]=J.os;H[C]=20,C+=2,H[C++]=J.flag<<1|(V<0&&8),H[C++]=Q&&8,H[C++]=J.compression&255,H[C++]=J.compression>>8;var W=new Date(J.mtime==null?Date.now():J.mtime),T=W.getFullYear()-1980;if(T<0||T>119)B(10);if(g(H,C,T<<25|W.getMonth()+1<<21|W.getDate()<<16|W.getHours()<<11|W.getMinutes()<<5|W.getSeconds()>>1),C+=4,V!=-1)g(H,C,J.crc),g(H,C+4,V<0?-V-2:V),g(H,C+8,J.size);if(g(H,C+12,E),g(H,C+14,N),C+=16,X!=null)g(H,C,R),g(H,C+6,J.attrs),g(H,C+10,X),C+=14;if(H.set(K,C),C+=E,N)for(var M in $){var G=$[M],F=G.length;g(H,C,+M),g(H,C+2,F),H.set(G,C+4),C+=4+F}if(R)H.set(Y,C),C+=R;return C},FH=function(H,C,J,K,Q){g(H,C,101010256),g(H,C+8,J),g(H,C+10,J),g(H,C+12,K),g(H,C+16,Q)},bC,PJ,jJ,GJ,XJ,IJ,UJ,AJ,eC;var YJ=cH(()=>{dH=lH("/");try{OC=dH("worker_threads"),mC=OC.Worker,iC=OC.isMarkedAsUntransferable}catch(H){}sH=mC?function(H,C,J,K,Q){var V=!1,X=new mC(H+iH,{eval:!0}).on("error",function(Y){return Q(Y,null)}).on("message",function(Y){return Q(null,Y)}).on("exit",function(Y){if(Y&&!V)Q(Error("exited with code "+Y),null)});if(iC)K=K.filter(function(Y){return!iC(Y)});return X.postMessage(J,K),X.terminate=function(){return V=!0,mC.prototype.terminate.call(X)},X}:function(H,C,J,K,Q){setImmediate(function(){return Q(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)});var V=function(){};return{terminate:V,postMessage:V}},Z=Uint8Array,e=Uint16Array,wC=Int32Array,PC=new Z([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),jC=new Z([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),gC=new Z([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),OC=TH(PC,2),XH=OC.b,oC=OC.r;XH[28]=258,oC[258]=28;ZH=TH(jC,0),IH=ZH.b,sC=ZH.r,xC=new e(32768);for(I=0;I<32768;++I)HC=(I&43690)>>1|(I&21845)<<1,HC=(HC&52428)>>2|(HC&13107)<<2,HC=(HC&61680)>>4|(HC&3855)<<4,xC[I]=((HC&65280)>>8|(HC&255)<<8)>>1;QC=new Z(288);for(I=0;I<144;++I)QC[I]=8;for(I=144;I<256;++I)QC[I]=9;for(I=256;I<280;++I)QC[I]=7;for(I=280;I<288;++I)QC[I]=8;LC=new Z(32);for(I=0;I<32;++I)LC[I]=5;UH=l(QC,9,0),AH=l(QC,9,1),DH=l(LC,5,0),SH=l(LC,5,1),RJ={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},gH=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],xH=new wC([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),KC=new Z(0),zH=function(){var H=new Int32Array(256);for(var C=0;C<256;++C){var J=C,K=9;while(--K)J=(J&1&&-306674912)^J>>>1;H[C]=J}return H}(),_C=[];t=function(){function H(C,J){if(typeof C=="function")J=C,C={};if(this.ondata=J,this.o=C||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new Z(98304),this.o.dictionary){var K=this.o.dictionary.subarray(-32768);this.b.set(K,32768-K.length),this.s.i=32768-K.length}}return H.prototype.p=function(C,J){this.ondata(RC(C,this.o,0,0,this.s),J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.s.l)B(4);var K=C.length+this.s.z;if(K>this.b.length){if(K>2*this.b.length-32768){var Q=new Z(K&-32768);Q.set(this.b.subarray(0,this.s.z)),this.b=Q}var V=this.b.length-this.s.z;this.b.set(C.subarray(0,V),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(C.subarray(V),32768),this.s.z=C.length-V+32768,this.s.i=32766,this.s.w=32768}else this.b.set(C,this.s.z),this.s.z+=C.length;if(this.s.l=J&1,this.s.z>this.s.w+8191||J)this.p(this.b,J||!1),this.s.w=this.s.i,this.s.i-=2;if(J)this.s=this.o={},this.b=KC},H.prototype.flush=function(C){if(!this.ondata)B(5);if(this.s.l)B(4);if(this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2,C){var J=new Z(6);J[0]=this.s.r>>3;var K=fC(J,this.s.r,KC);this.s.r=0,this.ondata(J.subarray(0,K>>3),!1)}},H}(),CJ=function(){function H(C,J){AC([IC,function(){return[i,t]}],this,NC.call(this,C,J),function(K){var Q=new t(K.data);onmessage=i(Q)},6,1)}return H}();a=function(){function H(C,J){if(typeof C=="function")J=C,C={};this.ondata=J;var K=C&&C.dictionary&&C.dictionary.subarray(-32768);if(this.s={i:0,b:K?K.length:0},this.o=new Z(32768),this.p=new Z(0),K)this.o.set(K)}return H.prototype.e=function(C){if(!this.ondata)B(5);if(this.d)B(4);if(!this.p.length)this.p=C;else if(C.length){var J=new Z(this.p.length+C.length);J.set(this.p),J.set(C,this.p.length),this.p=J}},H.prototype.c=function(C){this.s.i=+(this.d=C||!1);var J=this.s.b,K=zC(this.p,this.s,this.o);this.ondata(d(K,J,this.s.b),this.d),this.o=d(K,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},H.prototype.push=function(C,J){this.e(C),this.c(J)},H}(),uH=function(){function H(C,J){AC([ZC,function(){return[i,a]}],this,NC.call(this,C,J),function(K){var Q=new a(K.data);onmessage=i(Q)},7,0)}return H}();OH=function(){function H(C,J){this.c=TC(),this.l=0,this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),this.l+=C.length,t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&NH(this.o),J&&8,this.s);if(this.v)$H(K,this.o),this.v=0;if(J)g(K,K.length-8,this.c.d()),g(K,K.length-4,this.l);this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),NJ=function(){function H(C,J){AC([IC,vH,function(){return[i,t,OH]}],this,NC.call(this,C,J),function(K){var Q=new OH(K.data);onmessage=i(Q)},8,1)}return H}();HH=function(){function H(C,J){this.v=1,this.r=0,a.call(this,C,J)}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.r+=C.length,this.v){var K=this.p.subarray(this.v-1),Q=K.length>3?RH(K):4;if(Q>K.length){if(!J)return}else if(this.v>1&&this.onmember)this.onmember(this.r-K.length);this.p=K.subarray(Q),this.v=0}if(a.prototype.c.call(this,0),this.s.f&&!this.s.l)this.v=GC(this.s.p)+9,this.s={i:0},this.o=new Z(0),this.push(new Z(0),J);else if(J)a.prototype.c.call(this,J)},H}(),JJ=function(){function H(C,J){var K=this;AC([ZC,kH,function(){return[i,a,HH]}],this,NC.call(this,C,J),function(Q){var V=new HH(Q.data);V.onmember=function(X){return postMessage(X)},onmessage=i(V)},9,0,function(Q){return K.onmember&&K.onmember(Q)})}return H}();MH=function(){function H(C,J){this.c=aC(),this.v=1,t.call(this,C,J)}return H.prototype.push=function(C,J){this.c.p(C),t.prototype.push.call(this,C,J)},H.prototype.p=function(C,J){var K=RC(C,this.o,this.v&&(this.o.dictionary?6:2),J&&4,this.s);if(this.v)EH(K,this.o),this.v=0;if(J)g(K,K.length-4,this.c.d());this.ondata(K,J)},H.prototype.flush=function(C){t.prototype.flush.call(this,C)},H}(),WJ=function(){function H(C,J){AC([IC,hH,function(){return[i,t,MH]}],this,NC.call(this,C,J),function(K){var Q=new MH(K.data);onmessage=i(Q)},10,1)}return H}();KH=function(){function H(C,J){a.call(this,C,J),this.v=C&&C.dictionary?2:1}return H.prototype.push=function(C,J){if(a.prototype.e.call(this,C),this.v){if(this.p.length<6&&!J)return;this.p=this.p.subarray(WH(this.p,this.v-1)),this.v=0}if(J){if(this.p.length<4)B(6,"invalid zlib data");this.p=this.p.subarray(0,-4)}a.prototype.c.call(this,J)},H}(),QJ=function(){function H(C,J){AC([ZC,_H,function(){return[i,a,KH]}],this,NC.call(this,C,J),function(K){var Q=new KH(K.data);onmessage=i(Q)},11,0)}return H}();jH=function(){function H(C,J){this.o=NC.call(this,C,J)||{},this.G=HH,this.I=a,this.Z=KH}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K){C.ondata(J,K)}},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(!this.s){if(this.p&&this.p.length){var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length)}else this.p=C;if(this.p.length>2)this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(this.o):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(this.o):new this.Z(this.o),this.i(),this.s.push(this.p,J),this.p=null}else this.s.push(C,J)},H}(),FJ=function(){function H(C,J){jH.call(this,C,J),this.queuedSize=0,this.G=JJ,this.I=uH,this.Z=QJ}return H.prototype.i=function(){var C=this;this.s.ondata=function(J,K,Q){C.ondata(J,K,Q)},this.s.ondrain=function(J){if(C.queuedSize-=J,C.ondrain)C.ondrain(J)}},H.prototype.push=function(C,J){this.queuedSize+=C.length,jH.prototype.push.call(this,C,J)},H}();GH=typeof TextEncoder<"u"&&new TextEncoder,VH=typeof TextDecoder<"u"&&new TextDecoder;try{VH.decode(KC,{stream:!0}),pH=1}catch(H){}LJ=function(){function H(C){if(this.ondata=C,pH)this.t=new TextDecoder;else this.p=KC}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(J=!!J,this.t){if(this.ondata(this.t.decode(C,{stream:!0}),J),J){if(this.t.decode().length)B(8);this.t=null}return}if(!this.p)B(4);var K=new Z(this.p.length+C.length);K.set(this.p),K.set(C,this.p.length);var Q=oH(K),V=Q.s,X=Q.r;if(J){if(X.length)B(8);this.p=null}else this.p=X;this.ondata(V,J)},H}(),MJ=function(){function H(C){this.ondata=C}return H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.d)B(4);this.ondata($C(C),this.d=J||!1)},H}();bC=function(){function H(C){this.filename=C,this.c=TC(),this.size=0,this.compression=0}return H.prototype.process=function(C,J){this.ondata(null,C,J)},H.prototype.push=function(C,J){if(!this.ondata)B(5);if(this.c.p(C),this.size+=C.length,J)this.crc=this.c.d();this.process(C,J||!1)},H}(),PJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new t(J,function(Q,V){K.ondata(null,Q,V)}),this.compression=8,this.flag=bH(J.level)}return H.prototype.process=function(C,J){try{this.d.push(C,J)}catch(K){this.ondata(K,null,J)}},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),jJ=function(){function H(C,J){var K=this;if(!J)J={};bC.call(this,C),this.d=new CJ(J,function(Q,V,X){K.ondata(Q,V,X)}),this.compression=8,this.flag=bH(J.level),this.terminate=this.d.terminate}return H.prototype.process=function(C,J){this.d.push(C,J)},H.prototype.push=function(C,J){bC.prototype.push.call(this,C,J)},H}(),GJ=function(){function H(C){this.ondata=C,this.u=[],this.d=1}return H.prototype.add=function(C){var J=this;if(!this.ondata)B(5);if(this.d&2)this.ondata(B(4+(this.d&1)*8,0,1),null,!1);else{var K=$C(C.filename),Q=K.length,V=C.comment,X=V&&$C(V),Y=Q!=C.filename.length||X&&V.length!=X.length,E=Q+XC(C.extra)+30;if(Q>65535)this.ondata(B(11,0,1),null,!1);var $=new Z(E);MC($,0,C,K,Y,-1);var R=[$],N=function(){for(var F=0,P=R;F<P.length;F++){var U=P[F];J.ondata(null,U,!1)}R=[]},W=this.d;this.d=0;var T=this.u.length,M=yC(C,{f:K,u:Y,o:X,t:function(){if(C.terminate)C.terminate()},r:function(){if(N(),W){var F=J.u[T+1];if(F)F.r();else J.d=1}W=1}}),G=0;C.ondata=function(F,P,U){if(F)J.ondata(F,P,U),J.terminate();else if(G+=P.length,R.push(P),U){var j=new Z(16);if(g(j,0,134695760),g(j,4,C.crc),g(j,8,G),g(j,12,C.size),R.push(j),M.c=G,M.b=E+G+16,M.crc=C.crc,M.size=C.size,W)M.r();W=1}else if(W)N()},this.u.push(M)}},H.prototype.end=function(){var C=this;if(this.d&2){this.ondata(B(4+(this.d&1)*8,0,1),null,!0);return}if(this.d)this.e();else this.u.push({r:function(){if(!(C.d&1))return;C.u.splice(-1,1),C.e()},t:function(){}});this.d=3},H.prototype.e=function(){var C=0,J=0,K=0;for(var Q=0,V=this.u;Q<V.length;Q++){var X=V[Q];K+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0)}var Y=new Z(K+22);for(var E=0,$=this.u;E<$.length;E++){var X=$[E];MC(Y,C,X,X.f,X.u,-X.c-2,J,X.o),C+=46+X.f.length+XC(X.extra)+(X.o?X.o.length:0),J+=X.b}FH(Y,C,this.u.length,K,J),this.ondata(null,Y,!0),this.d=2},H.prototype.terminate=function(){for(var C=0,J=this.u;C<J.length;C++){var K=J[C];K.t()}this.d=2},H}();XJ=function(){function H(){}return H.prototype.push=function(C,J){this.ondata(null,C,J)},H.compression=0,H}(),IJ=function(){function H(){var C=this;this.i=new a(function(J,K){C.ondata(null,J,K)})}return H.prototype.push=function(C,J){try{this.i.push(C,J)}catch(K){this.ondata(K,null,J)}},H.compression=8,H}(),UJ=function(){function H(C,J){var K=this;if(J<320000)this.i=new a(function(Q,V){K.ondata(null,Q,V)});else this.i=new uH(function(Q,V,X){K.ondata(Q,V,X)}),this.terminate=this.i.terminate}return H.prototype.push=function(C,J){if(this.i.terminate)C=d(C,0);this.i.push(C,J)},H.compression=8,H}(),AJ=function(){function H(C){this.onfile=C,this.k=[],this.o={0:XJ},this.p=KC}return H.prototype.push=function(C,J){var K=this;if(!this.onfile)B(5);if(!this.p)B(4);if(this.c>0){var Q=Math.min(this.c,C.length),V=C.subarray(0,Q);if(this.c-=Q,this.d)this.d.push(V,!this.c);else this.k[0].push(V);if(C=C.subarray(Q),C.length)return this.push(C,J)}else{var X=0,Y=0,E=void 0,$=void 0;if(!this.p.length)$=C;else if(!C.length)$=this.p;else $=new Z(this.p.length+C.length),$.set(this.p),$.set(C,this.p.length);var R=$.length,N=this.c,W=N&&this.d,T=function(){var P=k($,Y);if(P==67324752){X=1,E=Y,M.d=null,M.c=0;var U=b($,Y+6),j=b($,Y+8),O=U&2048,x=U&8,z=b($,Y+26),A=b($,Y+28);if(R>Y+30+z+A){var L=[];M.k.unshift(L),X=2;var q=k($,Y+18),y=k($,Y+22),S=nH($.subarray(Y+30,Y+=30+z),!O),v=aH($,Y,A,2,q,y,0),r=v[0],h=v[1],m=v[3];if(x)r=-1-m;Y+=A,M.c=r;var w,D={name:S,compression:j,start:function(){if(!D.ondata)B(5);if(!r)D.ondata(null,KC,!0);else{var p=K.o[j];if(!p)D.ondata(B(14,"unknown compression type "+j,1),null,!1);w=r<0?new p(S):new p(S,r,h),w.ondata=function(s,o,n){D.ondata(s,o,n)};for(var u=0,VC=L;u<VC.length;u++){var f=VC[u];w.push(f,!1)}if(K.k[0]==L&&K.c)K.d=w;else w.push(KC,!0)}},terminate:function(){if(w&&w.terminate)w.terminate()}};if(r>=0)D.size=r,D.originalSize=h;M.onfile(D)}return"break"}else if(N){if(P==134695760)return E=Y+=12+(N==-2&&8),X=3,M.c=0,"break";else if(P==33639248)return E=Y-=4,X=3,M.c=0,"break"}},M=this;for(;Y<R-4;++Y){var G=T();if(G==="break")break}if(this.p=KC,N<0){var F=X?$.subarray(0,E-12-(N==-2&&8)-(k($,E-16)==134695760&&4)):$.subarray(0,Y);if(W)W.push(F,!!X);else this.k[+(X==2)].push(F)}if(X&2)return this.push($.subarray(Y),J);this.p=$.subarray(Y)}if(J){if(this.c)B(13);this.p=null}},H.prototype.register=function(C){this.o[C.compression]=C},H}(),eC=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(H){H()}});
2
+ export{RJ as v5,t as w5,CJ as x5,HJ as y5,cC as z5,a as A5,uH as B5,rH as C5,vC as D5,OH as E5,NJ as F5,EJ as G5,LH as H5,HH as I5,JJ as J5,KJ as K5,JH as L5,MH as M5,WJ as N5,BJ as O5,PH as P5,KH as Q5,QJ as R5,VJ as S5,QH as T5,jH as U5,FJ as V5,qJ as W5,OJ as X5,LJ as Y5,MJ as Z5,$C as _5,nH as $5,bC as a6,PJ as b6,jJ as c6,GJ as d6,TJ as e6,ZJ as f6,XJ as g6,IJ as h6,UJ as i6,AJ as j6,DJ as k6,SJ as l6,YJ as m6};
@@ -0,0 +1,2 @@
1
+ import{Eb as p}from"./cli-0.6.2-hb4fz4pd.mjs";import{$r as jj,Ai as T,Ci as u,Ck as n,GQ as Kj,KP as f,LP as m,MP as S,OQ as I,Pk as R,TN as x,Uk as r,Vr as h,Wr as k,XP as A,Xs as w,_s as V,aR as Qj,cQ as c,cl as y,dQ as X,dl as s,dv as C,et as qj,ev as Bj,gt as zj,hk as $,ik as P,pj as O,qj as o,tO as Jj,vr as W,xr as e,yA as E,zA as Gj}from"./cli-0.6.2-4p9wa0p6.mjs";import{GS as v,US as t}from"./cli-0.6.2-40pc2aj2.mjs";import{WT as D,ZT as Hj}from"./cli-0.6.2-h72p44ws.mjs";import{i3 as b,p3 as i}from"./cli-0.6.2-ea8z1e2e.mjs";import{ofa as Z,pfa as l}from"./cli-0.6.2-d3ykxc81.mjs";import{eha as N,hha as g}from"./cli-0.6.2-g6c6hjc6.mjs";import{Cja as U,Hja as Y,Kka as _,Mka as M,Uma as K,yna as a,zja as L}from"./cli-0.6.2-42d88f3r.mjs";a();s();jj();qj();o();u();import{dirname as Vj}from"path";Qj();zj();Hj();l();g();e();Jj();i();r();Gj();Kj();t();Bj();n();function Xj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===O);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=C().safeParse(G.todos);return H.success?H.data:[]}return[]}function cj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)W(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!v()&&j.messages&&j.messages.length>0){let B=Xj(j.messages);if(B.length>0){let z=L();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function Yj(j){return}function Zj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function $j(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return N(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!_()&&z.model&&z.model!=="inherit")M(b(z.model));return{agentDefinition:z,agentType:z.agentType}}async function Pj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:w(H)}}function Rj(j){let q=$();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}E(j.worktreePath),Y(Z()),P(j),I(),y(),R.cache.clear?.()}function pj(){let j=$();if(!j)return;P(null),I(),y(),R.cache.clear?.();try{process.chdir(j.originalCwd)}catch{return}E(j.originalCwd),Y(Z())}async function dj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(x(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(U(T(Q),q.transcriptPath?Vj(q.transcriptPath):null),await p(),await m(),!h(Q))k(j.messages)}}else if(j.contentReplacements?.length)await f(j.contentReplacements);if(A(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Rj(j.worktreeSession),S();let{agentDefinition:G,agentType:H}=$j(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);c(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?Yj(j):void 0,F=Zj(j.agentName,j.agentColor);D(j.agentName);let d=await Pj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...F&&{standaloneAgentContext:F},agentDefinitions:d}}}
2
+ export{cj as Ra,Zj as Sa,$j as Ta,Rj as Ua,pj as Va,dj as Wa};
@@ -0,0 +1,2 @@
1
+ import{BL as X,Rh as M,Sh as W,vL as O,wL as P,xL as Q,yL as U}from"./cli-0.6.2-4p9wa0p6.mjs";import{hpa as V}from"./cli-0.6.2-3rgtxc9f.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as Df,$ as Ef};
@@ -0,0 +1,4 @@
1
+ import{cpa as Z}from"./cli-0.6.2-yep449sd.mjs";import{fpa as Y,ipa as O}from"./cli-0.6.2-3rgtxc9f.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
+ export{ye as Xoa};
@@ -0,0 +1,2 @@
1
+ import{RW as Z,RY as k,mY as K}from"./cli-0.6.2-4r69ge5f.mjs";import{q0 as J,r0 as H}from"./cli-0.6.2-jrpted0b.mjs";import{w7 as v,x7 as Y}from"./cli-0.6.2-hhjx89cr.mjs";import{dpa as V,hpa as X}from"./cli-0.6.2-3rgtxc9f.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
+ export{N as Dg,C as Eg};
@@ -0,0 +1,4 @@
1
+ import{Ad as Eq,ud as c}from"./cli-0.6.2-drm9vdbc.mjs";import{Bn as t,Dn as Mq,Hn as i,JI as n,Jn as Rq,Nn as A,PI as e,Pn as D,QI as P,Qn as Aq,Rn as h,Sn as S,Tn as Fq,UI as jq,VI as O,WI as qq,YI as I,ZI as Gq,dJ as Cq,gJ as b,hJ as Lq,kJ as Hq,lJ as Jq,nI as v,nJ as vq,oI as m,oJ as y,pJ as Qq,qI as Oq,qJ as Xq,rJ as Yq,sJ as $q,tJ as d,wJ as Dq,xn as s,yn as Tq,yr as l,zr as wq}from"./cli-0.6.2-4p9wa0p6.mjs";import{$$ as V,Ada as a,Eaa as F,Gaa as L,Ida as Bq,Taa as _q,haa as Kq}from"./cli-0.6.2-hhjx89cr.mjs";import{Sga as p,Wga as Wq}from"./cli-0.6.2-g6c6hjc6.mjs";import{Aha as N,Fha as Uq,xha as o}from"./cli-0.6.2-0f9sh5z8.mjs";import{Fja as f,yna as xq}from"./cli-0.6.2-42d88f3r.mjs";import{hpa as Zq}from"./cli-0.6.2-3rgtxc9f.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
+ ${G.join(`
3
+ `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
+ export{k as hd,HG as id,JG as jd,QG as kd,kq as ld,XG as md,YG as nd,$G as od,zG as pd,ZG as qd,xG as rd,hq as sd};
@@ -0,0 +1,2 @@
1
+ import{Mt as Pq,Qt as hq,nm as Q,om as aq}from"./cli-0.6.2-4p9wa0p6.mjs";import{nV as Uq,oV as Iq,rV as fq}from"./cli-0.6.2-hs0y8na1.mjs";import{RW as nq,RY as Sq,kY as J,mY as L}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as H,q0 as O,r0 as vq}from"./cli-0.6.2-jrpted0b.mjs";import{B2 as jq,h2 as bq,i2 as Mq}from"./cli-0.6.2-ea8z1e2e.mjs";import{Jba as Rq,K8 as Xq,L8 as yq,cca as pq,s_ as Nq,u_ as _q}from"./cli-0.6.2-hhjx89cr.mjs";import{lfa as kq}from"./cli-0.6.2-9w9nmx9s.mjs";import{dpa as Bq,hpa as Gq}from"./cli-0.6.2-3rgtxc9f.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{$oa as n}from"./cli-0.6.2-yep449sd.mjs";import{fpa as r}from"./cli-0.6.2-3rgtxc9f.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as g7};
@@ -0,0 +1,3 @@
1
+ import{Yoa as x,_oa as y,cpa as C}from"./cli-0.6.2-yep449sd.mjs";import{fpa as k}from"./cli-0.6.2-3rgtxc9f.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
+ `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
+ export{MF as f7};
@@ -0,0 +1,2 @@
1
+ import{$3 as M,Y4 as f,h1 as G,l1 as W,m1 as V,y4 as j}from"./cli-0.6.2-ea8z1e2e.mjs";import{dba as x,eba as B,h9 as w,i9 as z,l9 as Y}from"./cli-0.6.2-hhjx89cr.mjs";import{Vfa as J,bga as F}from"./cli-0.6.2-qec7nrgw.mjs";import{hpa as Z}from"./cli-0.6.2-3rgtxc9f.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
2
+ export{g as VR,p as WR,X as XR,S as YR,y as ZR,I as _R,b as $R};
@@ -0,0 +1,2 @@
1
+ import{YE as z,ZE as M,eu as J,fu as Z,kD as L,lD as h}from"./cli-0.6.2-4p9wa0p6.mjs";import{RW as X}from"./cli-0.6.2-4r69ge5f.mjs";import{s0 as W}from"./cli-0.6.2-d3y2w089.mjs";import{Vma as H,yna as V}from"./cli-0.6.2-42d88f3r.mjs";import{dpa as D,hpa as U}from"./cli-0.6.2-3rgtxc9f.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
+ export{v as Bf,A as Cf};
@@ -0,0 +1,2 @@
1
+ import{Yb as l,Zb as m,ac as u,bc as y}from"./cli-0.6.2-rjqa4vcn.mjs";import{gE as p,iE as b}from"./cli-0.6.2-4p9wa0p6.mjs";import{RY as C,kY as s,mY as e}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as i,q0 as r,r0 as g}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as M}from"./cli-0.6.2-d3y2w089.mjs";import{dpa as h,hpa as f}from"./cli-0.6.2-3rgtxc9f.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
+ export{T as Wb,w as Xb};
@@ -0,0 +1,2 @@
1
+ import{RW as u2,RY as e2,_W as Z,kY as Y,mY as u}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as t,q0 as o,r0 as U}from"./cli-0.6.2-jrpted0b.mjs";import{s_ as X,u_ as j}from"./cli-0.6.2-hhjx89cr.mjs";import{dpa as s}from"./cli-0.6.2-3rgtxc9f.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.2"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.2"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.6.2"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.6.2"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
+ export{c2 as ea};
@@ -0,0 +1,3 @@
1
+ import{qea as L,uea as O}from"./cli-0.6.2-zs4qp487.mjs";import{hpa as N}from"./cli-0.6.2-3rgtxc9f.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 SY,J as TY,T as UY,U as VY,V as WY,W as XY,Q as YY};
@@ -0,0 +1,58 @@
1
+ import{Hv as U,Jv as h,NN as F,Vh as $,XA as A,YA as p,Yh as m,aO as L,gz as k,hz as I,tO as a}from"./cli-0.6.2-4p9wa0p6.mjs";import{U0 as O,V0 as f}from"./cli-0.6.2-ea8z1e2e.mjs";import{Sga as S,Wga as E}from"./cli-0.6.2-g6c6hjc6.mjs";import{Dha as b,Fha as T}from"./cli-0.6.2-0f9sh5z8.mjs";import{Iha as y,Vha as C}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as N}from"./cli-0.6.2-3rgtxc9f.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
2
+
3
+ Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
4
+
5
+ The file {{docPath}} has already been read for you. Here are its current contents:
6
+ <current_doc_content>
7
+ {{docContents}}
8
+ </current_doc_content>
9
+
10
+ Document title: {{docTitle}}
11
+ {{customInstructions}}
12
+
13
+ Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
14
+
15
+ CRITICAL RULES FOR EDITING:
16
+ - Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
17
+ - If there's an italicized line immediately after the header, preserve it exactly as-is
18
+ - Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
19
+ - Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
20
+ - Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
21
+ - Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
22
+ - Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
23
+ - Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
24
+
25
+ DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
26
+ - BE TERSE. High signal only. No filler words or unnecessary elaboration.
27
+ - Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
28
+ - Do NOT duplicate information that's already obvious from reading the source code
29
+ - Do NOT document every function, parameter, or line number reference
30
+ - Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
31
+ - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
32
+
33
+ What TO document:
34
+ - High-level architecture and system design
35
+ - Non-obvious patterns, conventions, or gotchas
36
+ - Key entry points and where to start reading code
37
+ - Important design decisions and their rationale
38
+ - Critical dependencies or integration points
39
+ - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
40
+
41
+ What NOT to document:
42
+ - Anything obvious from reading the code itself
43
+ - Exhaustive lists of files, functions, or parameters
44
+ - Step-by-step implementation details
45
+ - Low-level code mechanics
46
+ - Information already in CLAUDE.md or other project docs
47
+
48
+ Use the Edit tool with file_path: {{docPath}}
49
+
50
+ REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
51
+
52
+ DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
53
+ The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
54
+
55
+ "${J}"
56
+
57
+ These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
58
+ export{Xw as ch,Zw as dh,s as eh};
@@ -0,0 +1,2 @@
1
+ import{ef as EG,ff as iG,lf as rG}from"./cli-0.6.2-z2ftrcke.mjs";import{AJ as pG,CJ as WG,DJ as qG,Dl as FG,El as OG,IJ as a,Il as VG,MJ as DG,MK as bG,Nq as uG,OJ as y,PJ as o,PK as sG,QJ as lG,SJ as kG,Sl as fG,TK as f,UK as s,VK as c,WK as v,XJ as _G,XK as i,_K as u,cL as cG,eK as aG,kD as KG,lD as mG,lu as l,mu as jG,nu as HG,oK as $G,oq as vG,ou as dG,pK as oG,xJ as LG,yJ as BG}from"./cli-0.6.2-4p9wa0p6.mjs";import{RW as QJ}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as wG,r0 as PG}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as YG}from"./cli-0.6.2-d3y2w089.mjs";import{Eda as R,F$ as zG,Fda as _,Ida as gG,K$ as CG}from"./cli-0.6.2-hhjx89cr.mjs";import{lfa as NG}from"./cli-0.6.2-9w9nmx9s.mjs";import{cga as A,ega as MG}from"./cli-0.6.2-vqt5hqzr.mjs";import{Oga as yG,eha as ZG,hha as SG}from"./cli-0.6.2-g6c6hjc6.mjs";import{Fha as TG,yha as h}from"./cli-0.6.2-0f9sh5z8.mjs";import{yna as XG,zja as QG}from"./cli-0.6.2-42d88f3r.mjs";import{dpa as r,hpa as p}from"./cli-0.6.2-3rgtxc9f.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
2
+ export{e as $e,aJ as af,oJ as bf,sJ as cf,XJ as df};