@claudiolabs/claudin 0.5.13 → 0.5.14

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 (851) hide show
  1. package/bin/claudin +26 -0
  2. package/dist/chunks/AgentTool-0.5.14-ka5wbadf.mjs +1 -0
  3. package/dist/chunks/App-0.5.14-x714qge6.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.5.14-6nm0jbxj.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.5.14-7hhwh7yd.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.5.14-pb4xjhhm.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.5.14-8a3gxq1p.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.14-jsf36abf.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.5.14-gb4tkybg.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.5.14-mzjz3dmq.mjs +3 -0
  11. package/dist/chunks/Doctor-0.5.14-deqdqs2y.mjs +1 -0
  12. package/dist/chunks/Grove-0.5.14-zj5vsq17.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.5.14-vc2v0d30.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.5.14-99drb087.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.5.14-cx07mwzh.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.5.14-2n9dg022.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.5.14-peymefv5.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.5.14-00vppy63.mjs +1 -0
  19. package/dist/chunks/REPL-0.5.14-bewb9pnz.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.5.14-j7hzavxp.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.5.14-bz9qwn3m.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.5.14-5k9g7jnn.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.5.14-v04nvw78.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.5.14-91kfwccd.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.5.14-egq2w642.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.5.14-nt5waewd.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.5.14-x3ns8q41.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.5.14-zmyztc9d.mjs +1 -0
  29. package/dist/chunks/add-dir-0.5.14-m1bgsa5k.mjs +1 -0
  30. package/dist/chunks/agents-0.5.14-7493pd9j.mjs +3 -0
  31. package/dist/chunks/agents-0.5.14-g33swkvh.mjs +110 -0
  32. package/dist/chunks/api-0.5.14-n9d664hq.mjs +1 -0
  33. package/dist/chunks/asciicast-0.5.14-cdw29gxq.mjs +1 -0
  34. package/dist/chunks/assistant-0.5.14-5ttn63vc.mjs +1 -0
  35. package/dist/chunks/auth-0.5.14-cn5sbpmt.mjs +1 -0
  36. package/dist/chunks/auth-0.5.14-daysvmja.mjs +1 -0
  37. package/dist/chunks/autoMode-0.5.14-6w3n0461.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.5.14-w6ksev5d.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.5.14-v09b9v3d.mjs +1 -0
  40. package/dist/chunks/branch-0.5.14-mk8vbtcd.mjs +4 -0
  41. package/dist/chunks/bridgePointer-0.5.14-qm9kdp95.mjs +1 -0
  42. package/dist/chunks/btw-0.5.14-fnbs5xz3.mjs +1 -0
  43. package/dist/chunks/buddy-0.5.14-m0fpeg6d.mjs +3 -0
  44. package/dist/chunks/cacache-0.5.14-sxk12nzn.mjs +1 -0
  45. package/dist/chunks/cache-probe-0.5.14-wnnzjne3.mjs +21 -0
  46. package/dist/chunks/cacheStats-0.5.14-w0h102n4.mjs +4 -0
  47. package/dist/chunks/caches-0.5.14-37cvhfpr.mjs +1 -0
  48. package/dist/chunks/claudeDesktop-0.5.14-vsxz691t.mjs +1 -0
  49. package/dist/chunks/claudemd-0.5.14-tp1vgk3z.mjs +1 -0
  50. package/dist/chunks/clear-0.5.14-y27axrbf.mjs +1 -0
  51. package/dist/chunks/clearTerminal-0.5.14-5x5qjbpr.mjs +1 -0
  52. package/dist/chunks/cli-0.5.14-091bzaxj.mjs +2 -0
  53. package/dist/chunks/cli-0.5.14-0q3cgg09.mjs +2 -0
  54. package/dist/chunks/cli-0.5.14-0xpjxnvf.mjs +3 -0
  55. package/dist/chunks/cli-0.5.14-0yttjd5j.mjs +2 -0
  56. package/dist/chunks/cli-0.5.14-143vggzh.mjs +45 -0
  57. package/dist/chunks/cli-0.5.14-16ak6yfx.mjs +1 -0
  58. package/dist/chunks/cli-0.5.14-1d34ehpy.mjs +16 -0
  59. package/dist/chunks/cli-0.5.14-1dm5x2bp.mjs +2 -0
  60. package/dist/chunks/cli-0.5.14-1gr6bex0.mjs +2 -0
  61. package/dist/chunks/cli-0.5.14-1hazt8y4.mjs +50 -0
  62. package/dist/chunks/cli-0.5.14-1n5t7fhh.mjs +6 -0
  63. package/dist/chunks/cli-0.5.14-1ttqdawg.mjs +2 -0
  64. package/dist/chunks/cli-0.5.14-1ysbyz3f.mjs +21 -0
  65. package/dist/chunks/cli-0.5.14-20jyzpyr.mjs +2 -0
  66. package/dist/chunks/cli-0.5.14-20vxp61q.mjs +2 -0
  67. package/dist/chunks/cli-0.5.14-21qmk948.mjs +3 -0
  68. package/dist/chunks/cli-0.5.14-26qxsgry.mjs +2 -0
  69. package/dist/chunks/cli-0.5.14-2get61vb.mjs +15 -0
  70. package/dist/chunks/cli-0.5.14-2m40h4kp.mjs +5 -0
  71. package/dist/chunks/cli-0.5.14-2nfr4a2g.mjs +2 -0
  72. package/dist/chunks/cli-0.5.14-2pafgvs4.mjs +2 -0
  73. package/dist/chunks/cli-0.5.14-3f5mbe3a.mjs +2 -0
  74. package/dist/chunks/cli-0.5.14-3pq7th32.mjs +2 -0
  75. package/dist/chunks/cli-0.5.14-3rsvr6t8.mjs +2 -0
  76. package/dist/chunks/cli-0.5.14-41jtw8ac.mjs +2 -0
  77. package/dist/chunks/cli-0.5.14-4367p06d.mjs +9 -0
  78. package/dist/chunks/cli-0.5.14-45c9ydpj.mjs +2 -0
  79. package/dist/chunks/cli-0.5.14-493n054v.mjs +3 -0
  80. package/dist/chunks/cli-0.5.14-4d1vgx1q.mjs +2 -0
  81. package/dist/chunks/cli-0.5.14-4h0hxm6g.mjs +2 -0
  82. package/dist/chunks/cli-0.5.14-4khekra9.mjs +2 -0
  83. package/dist/chunks/cli-0.5.14-4swh9njd.mjs +2 -0
  84. package/dist/chunks/cli-0.5.14-5008zpga.mjs +2 -0
  85. package/dist/chunks/cli-0.5.14-50yq8sa4.mjs +2 -0
  86. package/dist/chunks/cli-0.5.14-5gkrj1ak.mjs +2 -0
  87. package/dist/chunks/cli-0.5.14-5tjkdtp9.mjs +2 -0
  88. package/dist/chunks/cli-0.5.14-60yczvwy.mjs +133 -0
  89. package/dist/chunks/cli-0.5.14-63x4db8w.mjs +133 -0
  90. package/dist/chunks/cli-0.5.14-64rpppf8.mjs +18 -0
  91. package/dist/chunks/cli-0.5.14-685647jf.mjs +7 -0
  92. package/dist/chunks/cli-0.5.14-6937x3w3.mjs +2 -0
  93. package/dist/chunks/cli-0.5.14-6eea9ezs.mjs +4 -0
  94. package/dist/chunks/cli-0.5.14-6fk534v0.mjs +17 -0
  95. package/dist/chunks/cli-0.5.14-6kksfjy8.mjs +2 -0
  96. package/dist/chunks/cli-0.5.14-6raawc34.mjs +6 -0
  97. package/dist/chunks/cli-0.5.14-6yty6gqs.mjs +20 -0
  98. package/dist/chunks/cli-0.5.14-73ackmw7.mjs +2 -0
  99. package/dist/chunks/cli-0.5.14-7m77sfxk.mjs +58 -0
  100. package/dist/chunks/cli-0.5.14-7pgk96hh.mjs +2 -0
  101. package/dist/chunks/cli-0.5.14-7rnbh7ne.mjs +2 -0
  102. package/dist/chunks/cli-0.5.14-8azez85y.mjs +2 -0
  103. package/dist/chunks/cli-0.5.14-8f89rfzv.mjs +2 -0
  104. package/dist/chunks/cli-0.5.14-8kb1432a.mjs +2 -0
  105. package/dist/chunks/cli-0.5.14-8qymm509.mjs +2 -0
  106. package/dist/chunks/cli-0.5.14-9d7p6385.mjs +2 -0
  107. package/dist/chunks/cli-0.5.14-9h71xtmr.mjs +2 -0
  108. package/dist/chunks/cli-0.5.14-9j1dsrh1.mjs +2 -0
  109. package/dist/chunks/cli-0.5.14-9wya0d3v.mjs +2 -0
  110. package/dist/chunks/cli-0.5.14-9xvhzhkm.mjs +3 -0
  111. package/dist/chunks/cli-0.5.14-ahpdwf0v.mjs +2 -0
  112. package/dist/chunks/cli-0.5.14-an5qgv3a.mjs +2 -0
  113. package/dist/chunks/cli-0.5.14-anv6260e.mjs +2 -0
  114. package/dist/chunks/cli-0.5.14-aqeeb0f5.mjs +2 -0
  115. package/dist/chunks/cli-0.5.14-avm7rqss.mjs +3 -0
  116. package/dist/chunks/cli-0.5.14-aw48m66c.mjs +2 -0
  117. package/dist/chunks/cli-0.5.14-axshc74p.mjs +2 -0
  118. package/dist/chunks/cli-0.5.14-b0d1cwrx.mjs +2 -0
  119. package/dist/chunks/cli-0.5.14-b2pmvy9z.mjs +2 -0
  120. package/dist/chunks/cli-0.5.14-b2y4c4qz.mjs +2 -0
  121. package/dist/chunks/cli-0.5.14-bfcf75rz.mjs +2 -0
  122. package/dist/chunks/cli-0.5.14-bwk8tz6z.mjs +2 -0
  123. package/dist/chunks/cli-0.5.14-c4t8gdgj.mjs +2 -0
  124. package/dist/chunks/cli-0.5.14-c5w3y4bc.mjs +2 -0
  125. package/dist/chunks/cli-0.5.14-c9j9jsmz.mjs +3 -0
  126. package/dist/chunks/cli-0.5.14-cegh4n4e.mjs +2 -0
  127. package/dist/chunks/cli-0.5.14-ckv99ms5.mjs +2 -0
  128. package/dist/chunks/cli-0.5.14-cw6v5vt0.mjs +18 -0
  129. package/dist/chunks/cli-0.5.14-d1dqcsvv.mjs +18 -0
  130. package/dist/chunks/cli-0.5.14-d26aykc0.mjs +2 -0
  131. package/dist/chunks/cli-0.5.14-d46mhdrz.mjs +2 -0
  132. package/dist/chunks/cli-0.5.14-d4frp6k6.mjs +2 -0
  133. package/dist/chunks/cli-0.5.14-d5t0sr9t.mjs +2 -0
  134. package/dist/chunks/cli-0.5.14-dmbyd0sa.mjs +2 -0
  135. package/dist/chunks/cli-0.5.14-dpcawxem.mjs +2 -0
  136. package/dist/chunks/cli-0.5.14-dpys58zb.mjs +12 -0
  137. package/dist/chunks/cli-0.5.14-dqhxbxb7.mjs +2 -0
  138. package/dist/chunks/cli-0.5.14-e0f671ax.mjs +2 -0
  139. package/dist/chunks/cli-0.5.14-e3gxn67m.mjs +4 -0
  140. package/dist/chunks/cli-0.5.14-e9wbczy7.mjs +2 -0
  141. package/dist/chunks/cli-0.5.14-easqaf33.mjs +2 -0
  142. package/dist/chunks/cli-0.5.14-ef8ctc2m.mjs +4 -0
  143. package/dist/chunks/cli-0.5.14-efp8wjg1.mjs +2 -0
  144. package/dist/chunks/cli-0.5.14-en3hbpe6.mjs +2 -0
  145. package/dist/chunks/cli-0.5.14-fbvy5zb9.mjs +2 -0
  146. package/dist/chunks/cli-0.5.14-g3h8xpqj.mjs +2 -0
  147. package/dist/chunks/cli-0.5.14-g91kxyj3.mjs +17 -0
  148. package/dist/chunks/cli-0.5.14-gdb0dvne.mjs +2 -0
  149. package/dist/chunks/cli-0.5.14-gjegk0er.mjs +2 -0
  150. package/dist/chunks/cli-0.5.14-gm5kmg2w.mjs +2 -0
  151. package/dist/chunks/cli-0.5.14-gscd2x4f.mjs +4 -0
  152. package/dist/chunks/cli-0.5.14-gxtw8dhr.mjs +15 -0
  153. package/dist/chunks/cli-0.5.14-h5pkzt2b.mjs +2 -0
  154. package/dist/chunks/cli-0.5.14-h61trenx.mjs +2 -0
  155. package/dist/chunks/cli-0.5.14-h72zd06s.mjs +2 -0
  156. package/dist/chunks/cli-0.5.14-hanfd2pz.mjs +2 -0
  157. package/dist/chunks/cli-0.5.14-jad7e0eg.mjs +2 -0
  158. package/dist/chunks/cli-0.5.14-jdvea9zv.mjs +10 -0
  159. package/dist/chunks/cli-0.5.14-jf3et57a.mjs +5316 -0
  160. package/dist/chunks/cli-0.5.14-jff31gdc.mjs +2 -0
  161. package/dist/chunks/cli-0.5.14-jm5cqnt7.mjs +2 -0
  162. package/dist/chunks/cli-0.5.14-jrcr7y5a.mjs +2 -0
  163. package/dist/chunks/cli-0.5.14-k4pqcfd4.mjs +2 -0
  164. package/dist/chunks/cli-0.5.14-k8g7xd1q.mjs +2 -0
  165. package/dist/chunks/cli-0.5.14-k9xvwt73.mjs +2 -0
  166. package/dist/chunks/cli-0.5.14-kbqdxnzh.mjs +2 -0
  167. package/dist/chunks/cli-0.5.14-kt358a3h.mjs +2 -0
  168. package/dist/chunks/cli-0.5.14-m7skqd4q.mjs +2 -0
  169. package/dist/chunks/cli-0.5.14-m9p42h1g.mjs +2 -0
  170. package/dist/chunks/cli-0.5.14-mdmz1bw1.mjs +2 -0
  171. package/dist/chunks/cli-0.5.14-mkr2nerd.mjs +2 -0
  172. package/dist/chunks/cli-0.5.14-mqepr6k4.mjs +2 -0
  173. package/dist/chunks/cli-0.5.14-mqp3fc5k.mjs +2 -0
  174. package/dist/chunks/cli-0.5.14-mt7egvs8.mjs +2 -0
  175. package/dist/chunks/cli-0.5.14-mys2py3s.mjs +2 -0
  176. package/dist/chunks/cli-0.5.14-n1wzvy0k.mjs +2 -0
  177. package/dist/chunks/cli-0.5.14-n5069ej6.mjs +2 -0
  178. package/dist/chunks/cli-0.5.14-nd1cyqtv.mjs +2 -0
  179. package/dist/chunks/cli-0.5.14-ndq9rhn7.mjs +193 -0
  180. package/dist/chunks/cli-0.5.14-nef9j9x3.mjs +67 -0
  181. package/dist/chunks/cli-0.5.14-nhz1s6yj.mjs +24 -0
  182. package/dist/chunks/cli-0.5.14-nkmxan04.mjs +2 -0
  183. package/dist/chunks/cli-0.5.14-np80e4h0.mjs +2 -0
  184. package/dist/chunks/cli-0.5.14-nx2k2fc6.mjs +2 -0
  185. package/dist/chunks/cli-0.5.14-p8gq7nq3.mjs +2 -0
  186. package/dist/chunks/cli-0.5.14-pd7b7t5h.mjs +3 -0
  187. package/dist/chunks/cli-0.5.14-pdz4gbap.mjs +2 -0
  188. package/dist/chunks/cli-0.5.14-pftvwkk8.mjs +4 -0
  189. package/dist/chunks/cli-0.5.14-pr6tse5d.mjs +2 -0
  190. package/dist/chunks/cli-0.5.14-pvx7sqsj.mjs +2 -0
  191. package/dist/chunks/cli-0.5.14-q8y3c8ja.mjs +3 -0
  192. package/dist/chunks/cli-0.5.14-qa02d35p.mjs +3 -0
  193. package/dist/chunks/cli-0.5.14-qb0wcr18.mjs +24 -0
  194. package/dist/chunks/cli-0.5.14-qc6a2vcb.mjs +2 -0
  195. package/dist/chunks/cli-0.5.14-qcmh02jt.mjs +4 -0
  196. package/dist/chunks/cli-0.5.14-qcrttwqb.mjs +2 -0
  197. package/dist/chunks/cli-0.5.14-qhgp0jp4.mjs +4 -0
  198. package/dist/chunks/cli-0.5.14-qwa1c8w2.mjs +34 -0
  199. package/dist/chunks/cli-0.5.14-r38faawy.mjs +2 -0
  200. package/dist/chunks/cli-0.5.14-r61p0n6x.mjs +2 -0
  201. package/dist/chunks/cli-0.5.14-r66bevxp.mjs +2 -0
  202. package/dist/chunks/cli-0.5.14-r8f2hssc.mjs +59 -0
  203. package/dist/chunks/cli-0.5.14-rfbqq3z1.mjs +2 -0
  204. package/dist/chunks/cli-0.5.14-rj1nh8jm.mjs +2 -0
  205. package/dist/chunks/cli-0.5.14-s5wgj31r.mjs +15 -0
  206. package/dist/chunks/cli-0.5.14-s6vd2h5w.mjs +2 -0
  207. package/dist/chunks/cli-0.5.14-sg9wjwba.mjs +5 -0
  208. package/dist/chunks/cli-0.5.14-svdmqpzs.mjs +12 -0
  209. package/dist/chunks/cli-0.5.14-sx666s0x.mjs +2 -0
  210. package/dist/chunks/cli-0.5.14-t32fswzp.mjs +2 -0
  211. package/dist/chunks/cli-0.5.14-t3d6ycsp.mjs +2 -0
  212. package/dist/chunks/cli-0.5.14-t72p44x7.mjs +2 -0
  213. package/dist/chunks/cli-0.5.14-tdaq69ga.mjs +4 -0
  214. package/dist/chunks/cli-0.5.14-tgeskqzs.mjs +2 -0
  215. package/dist/chunks/cli-0.5.14-tmc3jcgf.mjs +5 -0
  216. package/dist/chunks/cli-0.5.14-tqnsct7g.mjs +39 -0
  217. package/dist/chunks/cli-0.5.14-v6kjcfbm.mjs +2 -0
  218. package/dist/chunks/cli-0.5.14-vbnr7r6e.mjs +2 -0
  219. package/dist/chunks/cli-0.5.14-vf6t34v8.mjs +2 -0
  220. package/dist/chunks/cli-0.5.14-vhj1gfhf.mjs +2 -0
  221. package/dist/chunks/cli-0.5.14-vq78tz92.mjs +2 -0
  222. package/dist/chunks/cli-0.5.14-vqk0h33w.mjs +4 -0
  223. package/dist/chunks/cli-0.5.14-wbj99kyq.mjs +2 -0
  224. package/dist/chunks/cli-0.5.14-wnmt9qkk.mjs +2 -0
  225. package/dist/chunks/cli-0.5.14-wq0qfb4r.mjs +2 -0
  226. package/dist/chunks/cli-0.5.14-xad83fbb.mjs +2 -0
  227. package/dist/chunks/cli-0.5.14-xc847091.mjs +2 -0
  228. package/dist/chunks/cli-0.5.14-xeawxepw.mjs +2 -0
  229. package/dist/chunks/cli-0.5.14-xevr51kc.mjs +3 -0
  230. package/dist/chunks/cli-0.5.14-xjdw6amg.mjs +9 -0
  231. package/dist/chunks/cli-0.5.14-y22mbspw.mjs +3 -0
  232. package/dist/chunks/cli-0.5.14-y3kkm5vp.mjs +2 -0
  233. package/dist/chunks/cli-0.5.14-ya2ykcd6.mjs +2 -0
  234. package/dist/chunks/cli-0.5.14-yafpkp67.mjs +3 -0
  235. package/dist/chunks/cli-0.5.14-yfh9te0f.mjs +2 -0
  236. package/dist/chunks/cli-0.5.14-yms71vy8.mjs +4 -0
  237. package/dist/chunks/cli-0.5.14-ytt72j1r.mjs +2 -0
  238. package/dist/chunks/cli-0.5.14-z1wt52vd.mjs +2 -0
  239. package/dist/chunks/cli-0.5.14-z1zfnf2j.mjs +25 -0
  240. package/dist/chunks/cli-0.5.14-z2kvxbjn.mjs +8 -0
  241. package/dist/chunks/cli-0.5.14-z55jz0h2.mjs +12 -0
  242. package/dist/chunks/cli-0.5.14-ze38m3e0.mjs +42 -0
  243. package/dist/chunks/cli-0.5.14-zm1c93pa.mjs +6 -0
  244. package/dist/chunks/cli-0.5.14-zpggrnj1.mjs +2 -0
  245. package/dist/chunks/client-0.5.14-7m64ax0b.mjs +1 -0
  246. package/dist/chunks/color-0.5.14-gsm9gxpa.mjs +1 -0
  247. package/dist/chunks/compact-0.5.14-pqfy772p.mjs +3 -0
  248. package/dist/chunks/config-0.5.14-hdw0yb76.mjs +1 -0
  249. package/dist/chunks/config-0.5.14-k01b10a5.mjs +1 -0
  250. package/dist/chunks/constants-0.5.14-g7s59vvv.mjs +1 -0
  251. package/dist/chunks/context-0.5.14-0y16jvz3.mjs +1 -0
  252. package/dist/chunks/context-noninteractive-0.5.14-bsa0wjaf.mjs +1 -0
  253. package/dist/chunks/conversation-0.5.14-sm5xssg2.mjs +1 -0
  254. package/dist/chunks/copilotHeaders-0.5.14-s8z7mree.mjs +1 -0
  255. package/dist/chunks/copy-0.5.14-sxqyn9qc.mjs +9 -0
  256. package/dist/chunks/cost-0.5.14-p252pkws.mjs +1 -0
  257. package/dist/chunks/createSSHSession-0.5.14-kvm8kq1c.mjs +1 -0
  258. package/dist/chunks/createSession-0.5.14-h945q3v2.mjs +1 -0
  259. package/dist/chunks/debug-0.5.14-6s6x2x5y.mjs +1 -0
  260. package/dist/chunks/defaultActionDeps-0.5.14-pm2kkmmd.mjs +1169 -0
  261. package/dist/chunks/desktop-0.5.14-b0c0mf4t.mjs +1 -0
  262. package/dist/chunks/detectRepository-0.5.14-v7wq8791.mjs +1 -0
  263. package/dist/chunks/detection-0.5.14-y386aphh.mjs +1 -0
  264. package/dist/chunks/diff-0.5.14-hyggfx76.mjs +1 -0
  265. package/dist/chunks/doctor-0.5.14-q3fn5hpz.mjs +1 -0
  266. package/dist/chunks/doctorDiagnostic-0.5.14-tq9nej4a.mjs +1 -0
  267. package/dist/chunks/earlyInput-0.5.14-f9vhdypy.mjs +1 -0
  268. package/dist/chunks/effort-0.5.14-2smy583n.mjs +10 -0
  269. package/dist/chunks/envUtils-0.5.14-xbzyg758.mjs +1 -0
  270. package/dist/chunks/environmentSelection-0.5.14-emmy6rr3.mjs +1 -0
  271. package/dist/chunks/environments-0.5.14-ecp8qdny.mjs +1 -0
  272. package/dist/chunks/errors-0.5.14-8y2a0e4y.mjs +1 -0
  273. package/dist/chunks/exampleCommands-0.5.14-kngvnqsk.mjs +1 -0
  274. package/dist/chunks/exit-0.5.14-5kstn07d.mjs +1 -0
  275. package/dist/chunks/export-0.5.14-4xtsrx1s.mjs +2 -0
  276. package/dist/chunks/extra-usage-0.5.14-c359cbqm.mjs +1 -0
  277. package/dist/chunks/extra-usage-noninteractive-0.5.14-nd846d7b.mjs +1 -0
  278. package/dist/chunks/fast-0.5.14-ph4h5w66.mjs +1 -0
  279. package/dist/chunks/feedback-0.5.14-4s0gwfzz.mjs +14 -0
  280. package/dist/chunks/firstPartyEventLogger-0.5.14-c9xcj3z5.mjs +1 -0
  281. package/dist/chunks/git-0.5.14-5evnfaj9.mjs +1 -0
  282. package/dist/chunks/githubModelsCredentials-0.5.14-fkz7b722.mjs +1 -0
  283. package/dist/chunks/goal-0.5.14-ey3n29t8.mjs +4 -0
  284. package/dist/chunks/grove-0.5.14-dtm2qt3a.mjs +1 -0
  285. package/dist/chunks/growthbook-0.5.14-p52b1fpn.mjs +1 -0
  286. package/dist/chunks/headless-0.5.14-szhcws9m.mjs +2 -0
  287. package/dist/chunks/heapdump-0.5.14-eb1hjsjx.mjs +6 -0
  288. package/dist/chunks/help-0.5.14-mzc8t22x.mjs +1 -0
  289. package/dist/chunks/hookChains-0.5.14-g97q30xx.mjs +3 -0
  290. package/dist/chunks/hooks-0.5.14-88bm5h5k.mjs +1 -0
  291. package/dist/chunks/hooks-0.5.14-ys5d015m.mjs +79 -0
  292. package/dist/chunks/ide-0.5.14-2krrg1a9.mjs +3 -0
  293. package/dist/chunks/image-processor-napi-0.5.14-xkhg31fm.mjs +1 -0
  294. package/dist/chunks/index-0.5.14-0vbethc3.mjs +9 -0
  295. package/dist/chunks/index-0.5.14-0xy3pmj6.mjs +1 -0
  296. package/dist/chunks/index-0.5.14-2xwm9tzw.mjs +1 -0
  297. package/dist/chunks/index-0.5.14-4f2sts9v.mjs +1 -0
  298. package/dist/chunks/index-0.5.14-6abmnxq5.mjs +1 -0
  299. package/dist/chunks/index-0.5.14-7f15ecf5.mjs +1 -0
  300. package/dist/chunks/index-0.5.14-9xk2eb5e.mjs +2 -0
  301. package/dist/chunks/index-0.5.14-ac62kk33.mjs +1 -0
  302. package/dist/chunks/index-0.5.14-b22bcys9.mjs +1 -0
  303. package/dist/chunks/index-0.5.14-cpq99fc2.mjs +1 -0
  304. package/dist/chunks/index-0.5.14-f0fcdhmh.mjs +1 -0
  305. package/dist/chunks/index-0.5.14-h1dnxskr.mjs +9 -0
  306. package/dist/chunks/index-0.5.14-hnv3hqb4.mjs +2 -0
  307. package/dist/chunks/index-0.5.14-hx6n2t98.mjs +17 -0
  308. package/dist/chunks/index-0.5.14-j5gnx1h5.mjs +1 -0
  309. package/dist/chunks/index-0.5.14-jedeztfh.mjs +1 -0
  310. package/dist/chunks/index-0.5.14-n4ak9ayt.mjs +5 -0
  311. package/dist/chunks/index-0.5.14-pnvmm51v.mjs +1 -0
  312. package/dist/chunks/index-0.5.14-qt3rsghk.mjs +30 -0
  313. package/dist/chunks/index-0.5.14-w09z3j2p.mjs +1 -0
  314. package/dist/chunks/index-0.5.14-wegrd5ws.mjs +1 -0
  315. package/dist/chunks/index-0.5.14-y52vxjk8.mjs +1 -0
  316. package/dist/chunks/init-0.5.14-r84vn66h.mjs +1 -0
  317. package/dist/chunks/initReplBridge-0.5.14-93w4t2bk.mjs +1 -0
  318. package/dist/chunks/ink-0.5.14-dtjvx2bw.mjs +1 -0
  319. package/dist/chunks/insights-0.5.14-ee7wh6rp.mjs +870 -0
  320. package/dist/chunks/install-0.5.14-0pkv3rx9.mjs +1 -0
  321. package/dist/chunks/install-github-app-0.5.14-jwgnppse.mjs +149 -0
  322. package/dist/chunks/install-slack-app-0.5.14-xg6pdyqv.mjs +1 -0
  323. package/dist/chunks/instrumentation-0.5.14-40pdqy02.mjs +1 -0
  324. package/dist/chunks/interactiveHelpers-0.5.14-0vxxrbcv.mjs +1 -0
  325. package/dist/chunks/keybindings-0.5.14-yrj9hktn.mjs +2 -0
  326. package/dist/chunks/knowledge-0.5.14-wmfeb8sj.mjs +2 -0
  327. package/dist/chunks/latestVersionCache-0.5.14-btshynjc.mjs +1 -0
  328. package/dist/chunks/loadAgentsDir-0.5.14-bgwtbfkw.mjs +1 -0
  329. package/dist/chunks/loadPluginHooks-0.5.14-7arkwrx5.mjs +1 -0
  330. package/dist/chunks/loadPluginHooks-0.5.14-ft2aw53h.mjs +1 -0
  331. package/dist/chunks/log-0.5.14-zc88rz5g.mjs +1 -0
  332. package/dist/chunks/main-0.5.14-dtm7rx0y.mjs +1 -0
  333. package/dist/chunks/managedEnv-0.5.14-t0mfftrg.mjs +1 -0
  334. package/dist/chunks/mcp-0.5.14-afsrv7xy.mjs +4 -0
  335. package/dist/chunks/mcp-0.5.14-m5xjst8y.mjs +17 -0
  336. package/dist/chunks/mcp-0.5.14-qs8y9tyg.mjs +1 -0
  337. package/dist/chunks/mcpb-0.5.14-hqf00wdg.mjs +1 -0
  338. package/dist/chunks/memory-0.5.14-deqz5wf4.mjs +3 -0
  339. package/dist/chunks/mobile-0.5.14-nav99g5f.mjs +2 -0
  340. package/dist/chunks/model-0.5.14-4m2ak31n.mjs +1 -0
  341. package/dist/chunks/model-0.5.14-8908s4h1.mjs +2 -0
  342. package/dist/chunks/node-0.5.14-y28vz58a.mjs +12 -0
  343. package/dist/chunks/oauth-0.5.14-cqg2kcsy.mjs +1 -0
  344. package/dist/chunks/openaiShim-0.5.14-zqbrf5p3.mjs +14 -0
  345. package/dist/chunks/output-style-0.5.14-rhdxpb2v.mjs +1 -0
  346. package/dist/chunks/package-D6422PQU-0.5.14-rcttc4yp.mjs +1 -0
  347. package/dist/chunks/parseConnectUrl-0.5.14-wj5c5dp3.mjs +1 -0
  348. package/dist/chunks/parser-0.5.14-thy6xbb8.mjs +1 -0
  349. package/dist/chunks/passes-0.5.14-vta3tpqh.mjs +1 -0
  350. package/dist/chunks/permissions-0.5.14-668n4zqr.mjs +3 -0
  351. package/dist/chunks/plan-0.5.14-fd25354c.mjs +1 -0
  352. package/dist/chunks/plist-0.5.14-3dqnn8w2.mjs +1 -0
  353. package/dist/chunks/plugin-0.5.14-tzhch29w.mjs +29 -0
  354. package/dist/chunks/pluginStartupCheck-0.5.14-yp54tttb.mjs +1 -0
  355. package/dist/chunks/plugins-0.5.14-4n79y0tg.mjs +9 -0
  356. package/dist/chunks/preActionHook-0.5.14-7xyg62a5.mjs +2 -0
  357. package/dist/chunks/print-0.5.14-jkb0vbrw.mjs +57 -0
  358. package/dist/chunks/privacy-settings-0.5.14-5gz91bcv.mjs +1 -0
  359. package/dist/chunks/process-0.5.14-5ven8sh9.mjs +1 -0
  360. package/dist/chunks/processBashCommand-0.5.14-w72vmsa3.mjs +1 -0
  361. package/dist/chunks/processSlashCommand-0.5.14-1pq0axg8.mjs +9 -0
  362. package/dist/chunks/prompt-0.5.14-e3te1m4f.mjs +1 -0
  363. package/dist/chunks/prompt-0.5.14-prgmwqyn.mjs +1 -0
  364. package/dist/chunks/prompts-0.5.14-cdwagfnj.mjs +1 -0
  365. package/dist/chunks/protocolHandler-0.5.14-s73ezrw9.mjs +13 -0
  366. package/dist/chunks/provider-0.5.14-v7s7j76x.mjs +2 -0
  367. package/dist/chunks/providerProfiles-0.5.14-5n5txt96.mjs +1 -0
  368. package/dist/chunks/providerValidation-0.5.14-b6jb7n1p.mjs +6 -0
  369. package/dist/chunks/rate-limit-options-0.5.14-r9005cw2.mjs +1 -0
  370. package/dist/chunks/registerSubcommands-0.5.14-n1ax913t.mjs +34 -0
  371. package/dist/chunks/registry-0.5.14-fh1m7gth.mjs +1 -0
  372. package/dist/chunks/release-notes-0.5.14-n6nnpd4k.mjs +5 -0
  373. package/dist/chunks/reload-plugins-0.5.14-1askmda7.mjs +2 -0
  374. package/dist/chunks/remote-env-0.5.14-zp4b9t21.mjs +1 -0
  375. package/dist/chunks/remoteBridgeCore-0.5.14-vwrkzyqk.mjs +1 -0
  376. package/dist/chunks/remoteSession-0.5.14-95tfvwa6.mjs +1 -0
  377. package/dist/chunks/rename-0.5.14-nejym9bj.mjs +1 -0
  378. package/dist/chunks/replBridgeHandle-0.5.14-qqvggm22.mjs +1 -0
  379. package/dist/chunks/replLauncher-0.5.14-fefkewc5.mjs +1 -0
  380. package/dist/chunks/resume-0.5.14-4m6xat30.mjs +2 -0
  381. package/dist/chunks/rewind-0.5.14-r58b720w.mjs +1 -0
  382. package/dist/chunks/rootOptions-0.5.14-a5vv29e3.mjs +1 -0
  383. package/dist/chunks/sandbox-adapter-0.5.14-zb3t1137.mjs +1 -0
  384. package/dist/chunks/sandbox-toggle-0.5.14-xsv41nq3.mjs +1 -0
  385. package/dist/chunks/session-0.5.14-wyrxa25a.mjs +2 -0
  386. package/dist/chunks/sessionDiscovery-0.5.14-28vpj06b.mjs +1 -0
  387. package/dist/chunks/sessionFileAccessHooks-0.5.14-z2qpn0tn.mjs +1 -0
  388. package/dist/chunks/sessionStorage-0.5.14-kwv9d6vs.mjs +1 -0
  389. package/dist/chunks/settings-0.5.14-p0zs5fdt.mjs +1 -0
  390. package/dist/chunks/setup-0.5.14-qg611r9j.mjs +5 -0
  391. package/dist/chunks/sinks-0.5.14-kk1z8jn1.mjs +1 -0
  392. package/dist/chunks/skills-0.5.14-jks9y478.mjs +1 -0
  393. package/dist/chunks/startupProfiler-0.5.14-jaxmn568.mjs +1 -0
  394. package/dist/chunks/startupUpdateCheck-0.5.14-1yfdaz7t.mjs +1 -0
  395. package/dist/chunks/state-0.5.14-kf06ggyz.mjs +1 -0
  396. package/dist/chunks/stats-0.5.14-8f11qq7g.mjs +6 -0
  397. package/dist/chunks/status-0.5.14-yx768tmg.mjs +1 -0
  398. package/dist/chunks/stickers-0.5.14-8nb2bx0d.mjs +1 -0
  399. package/dist/chunks/subprocessEnv-0.5.14-hhz4z80t.mjs +1 -0
  400. package/dist/chunks/tasks-0.5.14-mgjvgj3q.mjs +1 -0
  401. package/dist/chunks/teamHelpers-0.5.14-zn6sdp9e.mjs +1 -0
  402. package/dist/chunks/teammateModeSnapshot-0.5.14-mr3qdh44.mjs +1 -0
  403. package/dist/chunks/teleport-0.5.14-jg3r903g.mjs +1 -0
  404. package/dist/chunks/terminalSetup-0.5.14-ys9stqfy.mjs +1 -0
  405. package/dist/chunks/theme-0.5.14-vwqjdywj.mjs +1 -0
  406. package/dist/chunks/thinkback-0.5.14-rnqvt431.mjs +1 -0
  407. package/dist/chunks/thinkback-play-0.5.14-gh24t0mc.mjs +1 -0
  408. package/dist/chunks/toolPool-0.5.14-6bzfbnf4.mjs +1 -0
  409. package/dist/chunks/toolSearch-0.5.14-6em6kvm8.mjs +1 -0
  410. package/dist/chunks/tools-0.5.14-3zfad976.mjs +1 -0
  411. package/dist/chunks/trustedDevice-0.5.14-csn78406.mjs +1 -0
  412. package/dist/chunks/turndown.cjs-0.5.14-fg9tbzhn.mjs +69 -0
  413. package/dist/chunks/ultrareviewCommand-0.5.14-d4hjcjxs.mjs +4 -0
  414. package/dist/chunks/update-0.5.14-c55smch2.mjs +86 -0
  415. package/dist/chunks/upgrade-0.5.14-hgzg25f4.mjs +1 -0
  416. package/dist/chunks/upstreamproxy-0.5.14-ss7ej555.mjs +14 -0
  417. package/dist/chunks/url-handler-napi-0.5.14-qbb087da.mjs +1 -0
  418. package/dist/chunks/usage-0.5.14-pghv9g49.mjs +1 -0
  419. package/dist/chunks/util-0.5.14-z79t0g8n.mjs +1 -0
  420. package/dist/chunks/utils-0.5.14-rc3e5m8r.mjs +1 -0
  421. package/dist/chunks/vim-0.5.14-hfvzh87q.mjs +1 -0
  422. package/dist/chunks/watcher-0.5.14-eh1f1h28.mjs +1 -0
  423. package/dist/chunks/wiki-0.5.14-kpp6v5tp.mjs +132 -0
  424. package/dist/chunks/worktree-0.5.14-czpr7pcg.mjs +1 -0
  425. package/dist/chunks/worktreeModeEnabled-0.5.14-07wp1qe2.mjs +1 -0
  426. package/dist/chunks/wrapper-0.5.14-9z68ky7a.mjs +7 -0
  427. package/dist/claudin-vscode.vsix +0 -0
  428. package/dist/cli.mjs +2 -2
  429. package/package.json +1 -1
  430. package/dist/chunks/AgentTool-0.5.13-6dz2gvzt.mjs +0 -1
  431. package/dist/chunks/App-0.5.13-h8h37pzk.mjs +0 -1
  432. package/dist/chunks/ApproveApiKey-0.5.13-r1fte24k.mjs +0 -1
  433. package/dist/chunks/AssistantSessionChooser-0.5.13-8r9am3rj.mjs +0 -1
  434. package/dist/chunks/AutoModeOptInDialog-0.5.13-kmhmmjcg.mjs +0 -1
  435. package/dist/chunks/BypassPermissionsModeDialog-0.5.13-2bsqjr5d.mjs +0 -1
  436. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.13-qcb3r450.mjs +0 -1
  437. package/dist/chunks/ConsoleOAuthFlow-0.5.13-pg65frv4.mjs +0 -1
  438. package/dist/chunks/DiffDialog-0.5.13-hwy08wq9.mjs +0 -3
  439. package/dist/chunks/Doctor-0.5.13-335trspw.mjs +0 -1
  440. package/dist/chunks/Grove-0.5.13-hg0k8g49.mjs +0 -1
  441. package/dist/chunks/ITermBackend-0.5.13-jj7kn9vx.mjs +0 -1
  442. package/dist/chunks/InvalidConfigDialog-0.5.13-9azv44xk.mjs +0 -1
  443. package/dist/chunks/InvalidSettingsDialog-0.5.13-byp7h5gk.mjs +0 -1
  444. package/dist/chunks/MigrationDialog-0.5.13-zxyqfrbq.mjs +0 -1
  445. package/dist/chunks/Onboarding-0.5.13-qa2yk18p.mjs +0 -1
  446. package/dist/chunks/ProviderManager-0.5.13-c1vawvvp.mjs +0 -1
  447. package/dist/chunks/REPL-0.5.13-4rss5cn8.mjs +0 -1
  448. package/dist/chunks/ResumeConversation-0.5.13-8yg9t110.mjs +0 -1
  449. package/dist/chunks/SnapshotUpdateDialog-0.5.13-egpytwfz.mjs +0 -1
  450. package/dist/chunks/TeleportProgress-0.5.13-mqff8prx.mjs +0 -1
  451. package/dist/chunks/TeleportRepoMismatchDialog-0.5.13-vvjjc0e0.mjs +0 -1
  452. package/dist/chunks/TeleportResumeWrapper-0.5.13-hr5qx564.mjs +0 -1
  453. package/dist/chunks/TmuxBackend-0.5.13-3rqrqy3v.mjs +0 -9
  454. package/dist/chunks/ToolSearchTool-0.5.13-pc0xw8bq.mjs +0 -1
  455. package/dist/chunks/TrustDialog-0.5.13-fc0205ss.mjs +0 -1
  456. package/dist/chunks/activeProvider-0.5.13-50732cyn.mjs +0 -1
  457. package/dist/chunks/add-dir-0.5.13-sq7m6erc.mjs +0 -1
  458. package/dist/chunks/agents-0.5.13-manb7tcq.mjs +0 -3
  459. package/dist/chunks/agents-0.5.13-xvmk9xvk.mjs +0 -110
  460. package/dist/chunks/api-0.5.13-q2anppzf.mjs +0 -1
  461. package/dist/chunks/asciicast-0.5.13-qdn1gh3y.mjs +0 -1
  462. package/dist/chunks/assistant-0.5.13-2hfvn0kh.mjs +0 -1
  463. package/dist/chunks/auth-0.5.13-05zhnpsy.mjs +0 -1
  464. package/dist/chunks/auth-0.5.13-jn53extx.mjs +0 -1
  465. package/dist/chunks/autoMode-0.5.13-ejwtdvs2.mjs +0 -48
  466. package/dist/chunks/autoUpdater-0.5.13-j6cngyr7.mjs +0 -1
  467. package/dist/chunks/backgroundHousekeeping-0.5.13-rrvzf922.mjs +0 -1
  468. package/dist/chunks/branch-0.5.13-qmyekghp.mjs +0 -4
  469. package/dist/chunks/bridgePointer-0.5.13-8r4x6rgv.mjs +0 -1
  470. package/dist/chunks/btw-0.5.13-0pa7vfhq.mjs +0 -1
  471. package/dist/chunks/buddy-0.5.13-k3ac5jxx.mjs +0 -3
  472. package/dist/chunks/cacache-0.5.13-ze1bqfm6.mjs +0 -1
  473. package/dist/chunks/cache-probe-0.5.13-yc3ra4vk.mjs +0 -21
  474. package/dist/chunks/cacheStats-0.5.13-e1eg5g4e.mjs +0 -4
  475. package/dist/chunks/caches-0.5.13-75dr0q42.mjs +0 -1
  476. package/dist/chunks/claudeDesktop-0.5.13-5nptd5hj.mjs +0 -1
  477. package/dist/chunks/claudemd-0.5.13-ce8fx7gc.mjs +0 -1
  478. package/dist/chunks/clear-0.5.13-k8q15yen.mjs +0 -1
  479. package/dist/chunks/clearTerminal-0.5.13-veyek376.mjs +0 -1
  480. package/dist/chunks/cli-0.5.13-03jqbfbp.mjs +0 -2
  481. package/dist/chunks/cli-0.5.13-055v20cs.mjs +0 -2
  482. package/dist/chunks/cli-0.5.13-061m60f2.mjs +0 -2
  483. package/dist/chunks/cli-0.5.13-0fhxw4ng.mjs +0 -3
  484. package/dist/chunks/cli-0.5.13-0zgpx8rh.mjs +0 -2
  485. package/dist/chunks/cli-0.5.13-15kmd08p.mjs +0 -2
  486. package/dist/chunks/cli-0.5.13-16khcs2m.mjs +0 -3
  487. package/dist/chunks/cli-0.5.13-1eedz5bc.mjs +0 -2
  488. package/dist/chunks/cli-0.5.13-1qt91z42.mjs +0 -2
  489. package/dist/chunks/cli-0.5.13-29nzbrwv.mjs +0 -45
  490. package/dist/chunks/cli-0.5.13-2m4fm0hh.mjs +0 -2
  491. package/dist/chunks/cli-0.5.13-2v1zpnvh.mjs +0 -2
  492. package/dist/chunks/cli-0.5.13-2vy5qjm5.mjs +0 -5276
  493. package/dist/chunks/cli-0.5.13-36s1k9x2.mjs +0 -2
  494. package/dist/chunks/cli-0.5.13-3e1p9n7x.mjs +0 -2
  495. package/dist/chunks/cli-0.5.13-3ys2sjjd.mjs +0 -2
  496. package/dist/chunks/cli-0.5.13-3zrq5ggt.mjs +0 -2
  497. package/dist/chunks/cli-0.5.13-426cpksk.mjs +0 -4
  498. package/dist/chunks/cli-0.5.13-4at49cv9.mjs +0 -2
  499. package/dist/chunks/cli-0.5.13-4s4vnhj8.mjs +0 -2
  500. package/dist/chunks/cli-0.5.13-4yqsxc90.mjs +0 -2
  501. package/dist/chunks/cli-0.5.13-50cwkg00.mjs +0 -2
  502. package/dist/chunks/cli-0.5.13-5n0sdsbk.mjs +0 -2
  503. package/dist/chunks/cli-0.5.13-5tva2fr1.mjs +0 -6
  504. package/dist/chunks/cli-0.5.13-5wc80m6b.mjs +0 -2
  505. package/dist/chunks/cli-0.5.13-5x7qbneh.mjs +0 -2
  506. package/dist/chunks/cli-0.5.13-62qasgve.mjs +0 -2
  507. package/dist/chunks/cli-0.5.13-667jxcab.mjs +0 -18
  508. package/dist/chunks/cli-0.5.13-69m6gq4m.mjs +0 -2
  509. package/dist/chunks/cli-0.5.13-6c2mgdby.mjs +0 -2
  510. package/dist/chunks/cli-0.5.13-6hvwtg4n.mjs +0 -2
  511. package/dist/chunks/cli-0.5.13-6qz4fn68.mjs +0 -2
  512. package/dist/chunks/cli-0.5.13-6yehabyw.mjs +0 -2
  513. package/dist/chunks/cli-0.5.13-70f6zf2z.mjs +0 -4
  514. package/dist/chunks/cli-0.5.13-73fyz4ct.mjs +0 -2
  515. package/dist/chunks/cli-0.5.13-73hy7ka5.mjs +0 -2
  516. package/dist/chunks/cli-0.5.13-77mqds6w.mjs +0 -2
  517. package/dist/chunks/cli-0.5.13-7b4c61sf.mjs +0 -2
  518. package/dist/chunks/cli-0.5.13-7fzk2679.mjs +0 -2
  519. package/dist/chunks/cli-0.5.13-7gkctjmj.mjs +0 -2
  520. package/dist/chunks/cli-0.5.13-7je48sax.mjs +0 -15
  521. package/dist/chunks/cli-0.5.13-898bb5x7.mjs +0 -2
  522. package/dist/chunks/cli-0.5.13-89h7zw2x.mjs +0 -2
  523. package/dist/chunks/cli-0.5.13-8wrj5aqm.mjs +0 -2
  524. package/dist/chunks/cli-0.5.13-8yj2mydb.mjs +0 -2
  525. package/dist/chunks/cli-0.5.13-9r26f53q.mjs +0 -8
  526. package/dist/chunks/cli-0.5.13-a86qe2vz.mjs +0 -2
  527. package/dist/chunks/cli-0.5.13-a8k2grq1.mjs +0 -3
  528. package/dist/chunks/cli-0.5.13-a9gqqmjh.mjs +0 -6
  529. package/dist/chunks/cli-0.5.13-acgafbm9.mjs +0 -2
  530. package/dist/chunks/cli-0.5.13-adphma77.mjs +0 -2
  531. package/dist/chunks/cli-0.5.13-atfk3e81.mjs +0 -2
  532. package/dist/chunks/cli-0.5.13-athb0q85.mjs +0 -2
  533. package/dist/chunks/cli-0.5.13-b2593ngv.mjs +0 -4
  534. package/dist/chunks/cli-0.5.13-b5tqhsx5.mjs +0 -2
  535. package/dist/chunks/cli-0.5.13-b6aefc28.mjs +0 -1
  536. package/dist/chunks/cli-0.5.13-bkv5hf1d.mjs +0 -2
  537. package/dist/chunks/cli-0.5.13-bv7ax1n3.mjs +0 -2
  538. package/dist/chunks/cli-0.5.13-cf35yzvq.mjs +0 -3
  539. package/dist/chunks/cli-0.5.13-chdvhgrk.mjs +0 -2
  540. package/dist/chunks/cli-0.5.13-chgxtj5w.mjs +0 -4
  541. package/dist/chunks/cli-0.5.13-cjd4zkx5.mjs +0 -2
  542. package/dist/chunks/cli-0.5.13-cm18xc7a.mjs +0 -4
  543. package/dist/chunks/cli-0.5.13-cnzars85.mjs +0 -5
  544. package/dist/chunks/cli-0.5.13-cs4r7txx.mjs +0 -2
  545. package/dist/chunks/cli-0.5.13-cvy5zs8w.mjs +0 -39
  546. package/dist/chunks/cli-0.5.13-cwy43qr2.mjs +0 -2
  547. package/dist/chunks/cli-0.5.13-d0pk4caa.mjs +0 -24
  548. package/dist/chunks/cli-0.5.13-d1xn4v80.mjs +0 -2
  549. package/dist/chunks/cli-0.5.13-d4g5sa6y.mjs +0 -2
  550. package/dist/chunks/cli-0.5.13-d6bw823x.mjs +0 -2
  551. package/dist/chunks/cli-0.5.13-dd5wmg26.mjs +0 -15
  552. package/dist/chunks/cli-0.5.13-ddpterr2.mjs +0 -2
  553. package/dist/chunks/cli-0.5.13-dxs15ka8.mjs +0 -24
  554. package/dist/chunks/cli-0.5.13-dzq8ey2j.mjs +0 -2
  555. package/dist/chunks/cli-0.5.13-efbkgz8j.mjs +0 -2
  556. package/dist/chunks/cli-0.5.13-ejy68mbm.mjs +0 -34
  557. package/dist/chunks/cli-0.5.13-epjykaww.mjs +0 -17
  558. package/dist/chunks/cli-0.5.13-evjnfa9k.mjs +0 -10
  559. package/dist/chunks/cli-0.5.13-f1akqq6k.mjs +0 -2
  560. package/dist/chunks/cli-0.5.13-f1e673b2.mjs +0 -2
  561. package/dist/chunks/cli-0.5.13-f6tattxs.mjs +0 -4
  562. package/dist/chunks/cli-0.5.13-fcrp5w0b.mjs +0 -3
  563. package/dist/chunks/cli-0.5.13-fdyfmbdw.mjs +0 -2
  564. package/dist/chunks/cli-0.5.13-fgckevv1.mjs +0 -2
  565. package/dist/chunks/cli-0.5.13-fjs5qecq.mjs +0 -2
  566. package/dist/chunks/cli-0.5.13-frerk7s6.mjs +0 -2
  567. package/dist/chunks/cli-0.5.13-g76ge0hv.mjs +0 -2
  568. package/dist/chunks/cli-0.5.13-ga5kmq1w.mjs +0 -2
  569. package/dist/chunks/cli-0.5.13-gb0363rs.mjs +0 -2
  570. package/dist/chunks/cli-0.5.13-gd8h6ejm.mjs +0 -15
  571. package/dist/chunks/cli-0.5.13-gpnjdq6k.mjs +0 -12
  572. package/dist/chunks/cli-0.5.13-gtn64dxk.mjs +0 -12
  573. package/dist/chunks/cli-0.5.13-gw433gw1.mjs +0 -9
  574. package/dist/chunks/cli-0.5.13-h04mqqtv.mjs +0 -17
  575. package/dist/chunks/cli-0.5.13-h1jy4w92.mjs +0 -2
  576. package/dist/chunks/cli-0.5.13-h9wt4xcx.mjs +0 -25
  577. package/dist/chunks/cli-0.5.13-hgrj8csf.mjs +0 -4
  578. package/dist/chunks/cli-0.5.13-hwcqeqbn.mjs +0 -2
  579. package/dist/chunks/cli-0.5.13-hxsc43y5.mjs +0 -2
  580. package/dist/chunks/cli-0.5.13-j2wbmw1t.mjs +0 -2
  581. package/dist/chunks/cli-0.5.13-j7mzv9r7.mjs +0 -2
  582. package/dist/chunks/cli-0.5.13-j97wk70q.mjs +0 -2
  583. package/dist/chunks/cli-0.5.13-jc4m6d2k.mjs +0 -3
  584. package/dist/chunks/cli-0.5.13-jqns71dy.mjs +0 -2
  585. package/dist/chunks/cli-0.5.13-k0a2tvhb.mjs +0 -2
  586. package/dist/chunks/cli-0.5.13-k18wsy2t.mjs +0 -2
  587. package/dist/chunks/cli-0.5.13-k8vf1rgk.mjs +0 -2
  588. package/dist/chunks/cli-0.5.13-khtf0a93.mjs +0 -9
  589. package/dist/chunks/cli-0.5.13-kry2fk76.mjs +0 -2
  590. package/dist/chunks/cli-0.5.13-kt5d0qv4.mjs +0 -2
  591. package/dist/chunks/cli-0.5.13-ktrr6zcr.mjs +0 -2
  592. package/dist/chunks/cli-0.5.13-kz59bkh7.mjs +0 -6
  593. package/dist/chunks/cli-0.5.13-mpqhbtwc.mjs +0 -2
  594. package/dist/chunks/cli-0.5.13-mrtzh5nm.mjs +0 -2
  595. package/dist/chunks/cli-0.5.13-mwrgy706.mjs +0 -2
  596. package/dist/chunks/cli-0.5.13-n30tm5c8.mjs +0 -2
  597. package/dist/chunks/cli-0.5.13-n3xnwgn1.mjs +0 -2
  598. package/dist/chunks/cli-0.5.13-nc37z94b.mjs +0 -2
  599. package/dist/chunks/cli-0.5.13-nkaxbfpd.mjs +0 -2
  600. package/dist/chunks/cli-0.5.13-nqkxsn2m.mjs +0 -133
  601. package/dist/chunks/cli-0.5.13-p4f4h0g7.mjs +0 -16
  602. package/dist/chunks/cli-0.5.13-p6q4xbrv.mjs +0 -2
  603. package/dist/chunks/cli-0.5.13-p70x9j1v.mjs +0 -193
  604. package/dist/chunks/cli-0.5.13-p7q9grjp.mjs +0 -2
  605. package/dist/chunks/cli-0.5.13-p9fwmgwy.mjs +0 -2
  606. package/dist/chunks/cli-0.5.13-q2mxeckt.mjs +0 -2
  607. package/dist/chunks/cli-0.5.13-qdtebkgs.mjs +0 -2
  608. package/dist/chunks/cli-0.5.13-qfxggvke.mjs +0 -18
  609. package/dist/chunks/cli-0.5.13-qkjyj942.mjs +0 -2
  610. package/dist/chunks/cli-0.5.13-qrn019we.mjs +0 -2
  611. package/dist/chunks/cli-0.5.13-qs5d8j4d.mjs +0 -2
  612. package/dist/chunks/cli-0.5.13-qv3v2ydv.mjs +0 -3
  613. package/dist/chunks/cli-0.5.13-r0m7bt05.mjs +0 -2
  614. package/dist/chunks/cli-0.5.13-r442vgxt.mjs +0 -2
  615. package/dist/chunks/cli-0.5.13-rd990xfy.mjs +0 -2
  616. package/dist/chunks/cli-0.5.13-rfsjgvne.mjs +0 -2
  617. package/dist/chunks/cli-0.5.13-rmc7f4b8.mjs +0 -2
  618. package/dist/chunks/cli-0.5.13-rppjxrmy.mjs +0 -2
  619. package/dist/chunks/cli-0.5.13-rqjp9raj.mjs +0 -58
  620. package/dist/chunks/cli-0.5.13-rrqv533k.mjs +0 -2
  621. package/dist/chunks/cli-0.5.13-s005ka5h.mjs +0 -2
  622. package/dist/chunks/cli-0.5.13-s1wx3grp.mjs +0 -2
  623. package/dist/chunks/cli-0.5.13-s58vke8w.mjs +0 -2
  624. package/dist/chunks/cli-0.5.13-s719y89z.mjs +0 -2
  625. package/dist/chunks/cli-0.5.13-sfjdg8y7.mjs +0 -4
  626. package/dist/chunks/cli-0.5.13-sww17qtj.mjs +0 -42
  627. package/dist/chunks/cli-0.5.13-t0zrxwck.mjs +0 -3
  628. package/dist/chunks/cli-0.5.13-t6q9ebdp.mjs +0 -2
  629. package/dist/chunks/cli-0.5.13-teedketa.mjs +0 -2
  630. package/dist/chunks/cli-0.5.13-tg8xt9zq.mjs +0 -3
  631. package/dist/chunks/cli-0.5.13-thgp6asf.mjs +0 -21
  632. package/dist/chunks/cli-0.5.13-tqs67xcg.mjs +0 -2
  633. package/dist/chunks/cli-0.5.13-tr9s34te.mjs +0 -59
  634. package/dist/chunks/cli-0.5.13-tvfs784w.mjs +0 -2
  635. package/dist/chunks/cli-0.5.13-tyh63jx3.mjs +0 -2
  636. package/dist/chunks/cli-0.5.13-ve50w85d.mjs +0 -2
  637. package/dist/chunks/cli-0.5.13-vee98ybt.mjs +0 -2
  638. package/dist/chunks/cli-0.5.13-vfkw26ed.mjs +0 -3
  639. package/dist/chunks/cli-0.5.13-vhjxq97s.mjs +0 -2
  640. package/dist/chunks/cli-0.5.13-vhvwgvqz.mjs +0 -2
  641. package/dist/chunks/cli-0.5.13-vqrqsmg4.mjs +0 -3
  642. package/dist/chunks/cli-0.5.13-vt1mnr9f.mjs +0 -2
  643. package/dist/chunks/cli-0.5.13-w20nxjkz.mjs +0 -5
  644. package/dist/chunks/cli-0.5.13-wbq0xatn.mjs +0 -2
  645. package/dist/chunks/cli-0.5.13-wfyf1thm.mjs +0 -2
  646. package/dist/chunks/cli-0.5.13-wyr6xtxm.mjs +0 -2
  647. package/dist/chunks/cli-0.5.13-x3f97qaq.mjs +0 -2
  648. package/dist/chunks/cli-0.5.13-x3t2vpfh.mjs +0 -2
  649. package/dist/chunks/cli-0.5.13-x8dtpekr.mjs +0 -2
  650. package/dist/chunks/cli-0.5.13-xgcr3a63.mjs +0 -2
  651. package/dist/chunks/cli-0.5.13-xnxmkmta.mjs +0 -5
  652. package/dist/chunks/cli-0.5.13-xvg417w8.mjs +0 -7
  653. package/dist/chunks/cli-0.5.13-xxa4mzdx.mjs +0 -2
  654. package/dist/chunks/cli-0.5.13-xxpqtp1x.mjs +0 -2
  655. package/dist/chunks/cli-0.5.13-xzeqt5b9.mjs +0 -2
  656. package/dist/chunks/cli-0.5.13-y3hmh09p.mjs +0 -2
  657. package/dist/chunks/cli-0.5.13-y9wywv5c.mjs +0 -2
  658. package/dist/chunks/cli-0.5.13-yc6wyazy.mjs +0 -67
  659. package/dist/chunks/cli-0.5.13-yf4tqq6c.mjs +0 -20
  660. package/dist/chunks/cli-0.5.13-yk8r9pqr.mjs +0 -2
  661. package/dist/chunks/cli-0.5.13-yskavx3s.mjs +0 -12
  662. package/dist/chunks/cli-0.5.13-ytqyx6qh.mjs +0 -2
  663. package/dist/chunks/cli-0.5.13-ywwd10c0.mjs +0 -4
  664. package/dist/chunks/cli-0.5.13-z0f17269.mjs +0 -2
  665. package/dist/chunks/cli-0.5.13-z1aye5ce.mjs +0 -2
  666. package/dist/chunks/cli-0.5.13-zk96c5kc.mjs +0 -3
  667. package/dist/chunks/cli-0.5.13-zkqc4zsj.mjs +0 -4
  668. package/dist/chunks/cli-0.5.13-zms1a287.mjs +0 -50
  669. package/dist/chunks/cli-0.5.13-znj1x5bb.mjs +0 -133
  670. package/dist/chunks/client-0.5.13-wkzv25nn.mjs +0 -1
  671. package/dist/chunks/color-0.5.13-yd46yzt2.mjs +0 -1
  672. package/dist/chunks/compact-0.5.13-3bw7kt91.mjs +0 -3
  673. package/dist/chunks/config-0.5.13-mwq6ejza.mjs +0 -1
  674. package/dist/chunks/config-0.5.13-t1bvsttc.mjs +0 -1
  675. package/dist/chunks/context-0.5.13-zffaf66t.mjs +0 -1
  676. package/dist/chunks/context-noninteractive-0.5.13-r7fhc6wz.mjs +0 -1
  677. package/dist/chunks/conversation-0.5.13-3vvb99cj.mjs +0 -1
  678. package/dist/chunks/copy-0.5.13-zh3ctvbe.mjs +0 -9
  679. package/dist/chunks/cost-0.5.13-kaah7wjm.mjs +0 -1
  680. package/dist/chunks/createSSHSession-0.5.13-gn1tyhwh.mjs +0 -1
  681. package/dist/chunks/createSession-0.5.13-q4atr39q.mjs +0 -1
  682. package/dist/chunks/debug-0.5.13-tsk3c3gg.mjs +0 -1
  683. package/dist/chunks/defaultActionDeps-0.5.13-eep8ghf6.mjs +0 -1177
  684. package/dist/chunks/desktop-0.5.13-wahg3gbx.mjs +0 -1
  685. package/dist/chunks/detectRepository-0.5.13-xek1s6f7.mjs +0 -1
  686. package/dist/chunks/detection-0.5.13-f8b6t5he.mjs +0 -1
  687. package/dist/chunks/diff-0.5.13-515a1hs6.mjs +0 -1
  688. package/dist/chunks/doctor-0.5.13-zafz1vsm.mjs +0 -1
  689. package/dist/chunks/doctorDiagnostic-0.5.13-fd90ctm0.mjs +0 -1
  690. package/dist/chunks/earlyInput-0.5.13-b58bf771.mjs +0 -1
  691. package/dist/chunks/effort-0.5.13-0yah2d2h.mjs +0 -10
  692. package/dist/chunks/envUtils-0.5.13-g4pw1v3n.mjs +0 -1
  693. package/dist/chunks/environmentSelection-0.5.13-9qw5cb9h.mjs +0 -1
  694. package/dist/chunks/environments-0.5.13-2a6akk4c.mjs +0 -1
  695. package/dist/chunks/errors-0.5.13-7p8kdhe8.mjs +0 -1
  696. package/dist/chunks/exampleCommands-0.5.13-fxpyc0yh.mjs +0 -1
  697. package/dist/chunks/exit-0.5.13-gs0h7d0d.mjs +0 -1
  698. package/dist/chunks/export-0.5.13-d2yz4k76.mjs +0 -2
  699. package/dist/chunks/extra-usage-0.5.13-571qzpk6.mjs +0 -1
  700. package/dist/chunks/extra-usage-noninteractive-0.5.13-ky55gxd6.mjs +0 -1
  701. package/dist/chunks/fast-0.5.13-2g61p9d0.mjs +0 -1
  702. package/dist/chunks/feedback-0.5.13-2mk1kd03.mjs +0 -14
  703. package/dist/chunks/firstPartyEventLogger-0.5.13-2t54ma0f.mjs +0 -1
  704. package/dist/chunks/git-0.5.13-rd7xcgr3.mjs +0 -1
  705. package/dist/chunks/githubModelsCredentials-0.5.13-skfy40r3.mjs +0 -1
  706. package/dist/chunks/grove-0.5.13-g8qwzetx.mjs +0 -1
  707. package/dist/chunks/growthbook-0.5.13-hnyag67m.mjs +0 -1
  708. package/dist/chunks/headless-0.5.13-05rns8kj.mjs +0 -2
  709. package/dist/chunks/heapdump-0.5.13-4eq6h79m.mjs +0 -6
  710. package/dist/chunks/help-0.5.13-8pfrra9q.mjs +0 -1
  711. package/dist/chunks/hookChains-0.5.13-vvmpgx47.mjs +0 -3
  712. package/dist/chunks/hooks-0.5.13-c2ksw8k4.mjs +0 -1
  713. package/dist/chunks/hooks-0.5.13-zer0dcqm.mjs +0 -79
  714. package/dist/chunks/ide-0.5.13-r40xcg67.mjs +0 -3
  715. package/dist/chunks/image-processor-napi-0.5.13-gf9xnpk4.mjs +0 -1
  716. package/dist/chunks/index-0.5.13-06mj6naw.mjs +0 -1
  717. package/dist/chunks/index-0.5.13-12hemzfc.mjs +0 -1
  718. package/dist/chunks/index-0.5.13-4559xg8z.mjs +0 -17
  719. package/dist/chunks/index-0.5.13-5gmbch0k.mjs +0 -9
  720. package/dist/chunks/index-0.5.13-5qstd1y9.mjs +0 -1
  721. package/dist/chunks/index-0.5.13-5zhr2qys.mjs +0 -1
  722. package/dist/chunks/index-0.5.13-7t4ww1cj.mjs +0 -1
  723. package/dist/chunks/index-0.5.13-9zz559q7.mjs +0 -1
  724. package/dist/chunks/index-0.5.13-ap2xd7mn.mjs +0 -1
  725. package/dist/chunks/index-0.5.13-c9pk5nd1.mjs +0 -2
  726. package/dist/chunks/index-0.5.13-d9sdxhsy.mjs +0 -1
  727. package/dist/chunks/index-0.5.13-ej6cywk8.mjs +0 -30
  728. package/dist/chunks/index-0.5.13-fbjdwyd8.mjs +0 -1
  729. package/dist/chunks/index-0.5.13-fertw6vb.mjs +0 -1
  730. package/dist/chunks/index-0.5.13-jwf634zt.mjs +0 -1
  731. package/dist/chunks/index-0.5.13-nny2e7sx.mjs +0 -5
  732. package/dist/chunks/index-0.5.13-np7s1rcw.mjs +0 -1
  733. package/dist/chunks/index-0.5.13-qkvpat3t.mjs +0 -9
  734. package/dist/chunks/index-0.5.13-qq60ettc.mjs +0 -1
  735. package/dist/chunks/index-0.5.13-rty9gaxf.mjs +0 -2
  736. package/dist/chunks/index-0.5.13-yqdcztr9.mjs +0 -1
  737. package/dist/chunks/index-0.5.13-zhze2z09.mjs +0 -1
  738. package/dist/chunks/init-0.5.13-yn5gjx3n.mjs +0 -1
  739. package/dist/chunks/initReplBridge-0.5.13-3q7t27y6.mjs +0 -1
  740. package/dist/chunks/ink-0.5.13-hp9a2nw1.mjs +0 -1
  741. package/dist/chunks/insights-0.5.13-k7b8vcre.mjs +0 -870
  742. package/dist/chunks/install-0.5.13-bfn6wvkn.mjs +0 -1
  743. package/dist/chunks/install-github-app-0.5.13-jgte5vf5.mjs +0 -149
  744. package/dist/chunks/install-slack-app-0.5.13-6jhm4499.mjs +0 -1
  745. package/dist/chunks/instrumentation-0.5.13-qe85v218.mjs +0 -1
  746. package/dist/chunks/interactiveHelpers-0.5.13-pzrtv38g.mjs +0 -1
  747. package/dist/chunks/keybindings-0.5.13-nekhy7ew.mjs +0 -2
  748. package/dist/chunks/knowledge-0.5.13-gzztvqej.mjs +0 -2
  749. package/dist/chunks/latestVersionCache-0.5.13-68b2ccpy.mjs +0 -1
  750. package/dist/chunks/loadAgentsDir-0.5.13-0dsj5wv6.mjs +0 -1
  751. package/dist/chunks/loadPluginHooks-0.5.13-0z0wcvtq.mjs +0 -1
  752. package/dist/chunks/loadPluginHooks-0.5.13-fzcfd312.mjs +0 -1
  753. package/dist/chunks/log-0.5.13-gdx6qzh8.mjs +0 -1
  754. package/dist/chunks/main-0.5.13-n87gjwzq.mjs +0 -1
  755. package/dist/chunks/managedEnv-0.5.13-53yr3zwe.mjs +0 -1
  756. package/dist/chunks/mcp-0.5.13-nmspb2zq.mjs +0 -4
  757. package/dist/chunks/mcp-0.5.13-rw2g8qaa.mjs +0 -17
  758. package/dist/chunks/mcp-0.5.13-th2ze7ya.mjs +0 -1
  759. package/dist/chunks/mcpb-0.5.13-m2r7m7gz.mjs +0 -1
  760. package/dist/chunks/memory-0.5.13-exfd915f.mjs +0 -3
  761. package/dist/chunks/mobile-0.5.13-chn8dbj3.mjs +0 -2
  762. package/dist/chunks/model-0.5.13-02rcx381.mjs +0 -1
  763. package/dist/chunks/model-0.5.13-nn224m13.mjs +0 -2
  764. package/dist/chunks/node-0.5.13-qaeqsj1w.mjs +0 -12
  765. package/dist/chunks/oauth-0.5.13-9kyat49f.mjs +0 -1
  766. package/dist/chunks/openaiShim-0.5.13-h22myqt0.mjs +0 -14
  767. package/dist/chunks/output-style-0.5.13-6fyp1e9p.mjs +0 -1
  768. package/dist/chunks/package-D6422PQU-0.5.13-qhrrn6zr.mjs +0 -1
  769. package/dist/chunks/parseConnectUrl-0.5.13-1qc35s39.mjs +0 -1
  770. package/dist/chunks/parser-0.5.13-pat6pqc3.mjs +0 -1
  771. package/dist/chunks/passes-0.5.13-e04rjkwz.mjs +0 -1
  772. package/dist/chunks/permissions-0.5.13-hayn4a0z.mjs +0 -3
  773. package/dist/chunks/plan-0.5.13-837bdxnq.mjs +0 -1
  774. package/dist/chunks/plist-0.5.13-wbmvsbtw.mjs +0 -1
  775. package/dist/chunks/plugin-0.5.13-wfbqn2r6.mjs +0 -29
  776. package/dist/chunks/pluginStartupCheck-0.5.13-6kztma6y.mjs +0 -1
  777. package/dist/chunks/plugins-0.5.13-661zwqh0.mjs +0 -9
  778. package/dist/chunks/preActionHook-0.5.13-jnvd55h3.mjs +0 -2
  779. package/dist/chunks/print-0.5.13-tp9qh9m9.mjs +0 -57
  780. package/dist/chunks/privacy-settings-0.5.13-kd3r9h57.mjs +0 -1
  781. package/dist/chunks/process-0.5.13-kkfgtfp6.mjs +0 -1
  782. package/dist/chunks/processBashCommand-0.5.13-9yggekvh.mjs +0 -1
  783. package/dist/chunks/processSlashCommand-0.5.13-q15qa3ee.mjs +0 -9
  784. package/dist/chunks/prompt-0.5.13-h2tvhh01.mjs +0 -1
  785. package/dist/chunks/prompt-0.5.13-x601wxwy.mjs +0 -1
  786. package/dist/chunks/prompts-0.5.13-76a9ns5g.mjs +0 -1
  787. package/dist/chunks/protocolHandler-0.5.13-kvfdrr12.mjs +0 -13
  788. package/dist/chunks/provider-0.5.13-tgwe2fwj.mjs +0 -2
  789. package/dist/chunks/providerProfiles-0.5.13-hyx6zffe.mjs +0 -1
  790. package/dist/chunks/providerValidation-0.5.13-8z62br8d.mjs +0 -6
  791. package/dist/chunks/rate-limit-options-0.5.13-wz5ew5he.mjs +0 -1
  792. package/dist/chunks/registerSubcommands-0.5.13-xgwprw2n.mjs +0 -34
  793. package/dist/chunks/registry-0.5.13-cx3vtv28.mjs +0 -1
  794. package/dist/chunks/release-notes-0.5.13-pcbc1edt.mjs +0 -5
  795. package/dist/chunks/reload-plugins-0.5.13-pvwtgp6y.mjs +0 -2
  796. package/dist/chunks/remote-env-0.5.13-mj63srey.mjs +0 -1
  797. package/dist/chunks/remoteBridgeCore-0.5.13-vmb8vyd9.mjs +0 -1
  798. package/dist/chunks/remoteSession-0.5.13-ext2r1fs.mjs +0 -1
  799. package/dist/chunks/rename-0.5.13-c388bb34.mjs +0 -1
  800. package/dist/chunks/replBridgeHandle-0.5.13-d9e8m6a4.mjs +0 -1
  801. package/dist/chunks/replLauncher-0.5.13-q4xjb3n7.mjs +0 -1
  802. package/dist/chunks/resume-0.5.13-zwms595g.mjs +0 -2
  803. package/dist/chunks/rewind-0.5.13-nf9en5kj.mjs +0 -1
  804. package/dist/chunks/rootOptions-0.5.13-ys6f60ez.mjs +0 -1
  805. package/dist/chunks/sandbox-adapter-0.5.13-0kn0krrs.mjs +0 -1
  806. package/dist/chunks/sandbox-toggle-0.5.13-mbhkfqtx.mjs +0 -1
  807. package/dist/chunks/session-0.5.13-ef059m1s.mjs +0 -2
  808. package/dist/chunks/sessionDiscovery-0.5.13-rqf5h984.mjs +0 -1
  809. package/dist/chunks/sessionFileAccessHooks-0.5.13-skb8p6b9.mjs +0 -1
  810. package/dist/chunks/sessionStorage-0.5.13-hfsdsdg8.mjs +0 -1
  811. package/dist/chunks/settings-0.5.13-dvj3rntg.mjs +0 -1
  812. package/dist/chunks/setup-0.5.13-0qy4tjwk.mjs +0 -5
  813. package/dist/chunks/sinks-0.5.13-r38g34n1.mjs +0 -1
  814. package/dist/chunks/skills-0.5.13-zd2n7d2t.mjs +0 -1
  815. package/dist/chunks/startupProfiler-0.5.13-rvngf74z.mjs +0 -1
  816. package/dist/chunks/startupUpdateCheck-0.5.13-kepbkbnb.mjs +0 -1
  817. package/dist/chunks/state-0.5.13-9j8t0pbx.mjs +0 -1
  818. package/dist/chunks/stats-0.5.13-6083a1n1.mjs +0 -6
  819. package/dist/chunks/status-0.5.13-043z2z1k.mjs +0 -1
  820. package/dist/chunks/stickers-0.5.13-haw56t8e.mjs +0 -1
  821. package/dist/chunks/subprocessEnv-0.5.13-6fym13ah.mjs +0 -1
  822. package/dist/chunks/tasks-0.5.13-prxqgrk6.mjs +0 -1
  823. package/dist/chunks/teamHelpers-0.5.13-ea9wnqk5.mjs +0 -1
  824. package/dist/chunks/teammateModeSnapshot-0.5.13-fzz13a9m.mjs +0 -1
  825. package/dist/chunks/teleport-0.5.13-cwvgxg78.mjs +0 -1
  826. package/dist/chunks/terminalSetup-0.5.13-cswcvej0.mjs +0 -1
  827. package/dist/chunks/theme-0.5.13-yq4dm16b.mjs +0 -1
  828. package/dist/chunks/thinkback-0.5.13-gf1n5td1.mjs +0 -1
  829. package/dist/chunks/thinkback-play-0.5.13-fjwrqzd7.mjs +0 -1
  830. package/dist/chunks/toolPool-0.5.13-kt2xjpf7.mjs +0 -1
  831. package/dist/chunks/toolSearch-0.5.13-p0zpbh8d.mjs +0 -1
  832. package/dist/chunks/tools-0.5.13-jd6408d0.mjs +0 -1
  833. package/dist/chunks/trustedDevice-0.5.13-8vncqgx8.mjs +0 -1
  834. package/dist/chunks/turndown.cjs-0.5.13-0pxd6ddw.mjs +0 -69
  835. package/dist/chunks/ultrareviewCommand-0.5.13-5w0fawcq.mjs +0 -4
  836. package/dist/chunks/update-0.5.13-r5daertf.mjs +0 -86
  837. package/dist/chunks/upgrade-0.5.13-02ypar0z.mjs +0 -1
  838. package/dist/chunks/upstreamproxy-0.5.13-qxsd8pz8.mjs +0 -14
  839. package/dist/chunks/url-handler-napi-0.5.13-fvyp50k0.mjs +0 -1
  840. package/dist/chunks/usage-0.5.13-qzx2m9s9.mjs +0 -1
  841. package/dist/chunks/util-0.5.13-f4gpmja3.mjs +0 -1
  842. package/dist/chunks/utils-0.5.13-3qpq89q5.mjs +0 -1
  843. package/dist/chunks/vim-0.5.13-mg62q0nt.mjs +0 -1
  844. package/dist/chunks/watcher-0.5.13-q568pd2n.mjs +0 -1
  845. package/dist/chunks/wiki-0.5.13-yzex4wbz.mjs +0 -132
  846. package/dist/chunks/worktree-0.5.13-7q98jvfb.mjs +0 -1
  847. package/dist/chunks/worktreeModeEnabled-0.5.13-rhsc6esa.mjs +0 -1
  848. package/dist/chunks/wrapper-0.5.13-7xwpyrgq.mjs +0 -7
  849. /package/dist/chunks/{cli-0.5.13-c4q1pthh.mjs → cli-0.5.14-0603yw8e.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.5.13-07hv5jdz.mjs → cli-0.5.14-erhk4f70.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.5.13-epw9z05w.mjs → cli-0.5.14-jayg77dr.mjs} +0 -0
@@ -0,0 +1,58 @@
1
+ import{BN as F,LA as A,MA as p,QN as L,Sh as $,Vh as m,Wy as k,Xy as I,hO as a,xv as U,zv as h}from"./cli-0.5.14-jf3et57a.mjs";import{G0 as O,H0 as f}from"./cli-0.5.14-1d34ehpy.mjs";import{Cga as S,Gga as E}from"./cli-0.5.14-6raawc34.mjs";import{nha as b,pha as T}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as C,sha as y}from"./cli-0.5.14-p8gq7nq3.mjs";import{Ooa as N}from"./cli-0.5.14-hanfd2pz.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 $g,Zw as ah,s as bh};
@@ -0,0 +1,2 @@
1
+ import{Tc as Z,Uc as _,Vc as $,Yc as O}from"./cli-0.5.14-e9wbczy7.mjs";import{nd as Y,sd as x}from"./cli-0.5.14-vqk0h33w.mjs";import{AI as U,FI as W,KI as S,LI as X,VI as V}from"./cli-0.5.14-jf3et57a.mjs";import{Qga as R,Tga as K}from"./cli-0.5.14-6raawc34.mjs";import{iha as Q,pha as C}from"./cli-0.5.14-ef8ctc2m.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
2
+ export{F as eb};
@@ -0,0 +1,2 @@
1
+ import{Mg as v,Ng as jf}from"./cli-0.5.14-vbnr7r6e.mjs";import{Yg as c,_g as bf}from"./cli-0.5.14-64rpppf8.mjs";import{EC as $f,KO as Uf,Lk as N,MP as S,Rk as Gf,TP as l,Tq as h,Uq as Vf,Vk as L,Xs as C,Ys as Xf,Zj as ff,Zz as T,_A as u,_j as zf,_k as Jf,bB as _f,ek as y,iO as A,iq as E,jq as P,kq as Qf,kv as m,li as W,lv as Yf,mA as M,nA as Zf,tQ as qf,uQ as p,xC as I,yi as w,zP as g,zi as e,zk as Bf}from"./cli-0.5.14-jf3et57a.mjs";import{kda as R,sda as s}from"./cli-0.5.14-ndq9rhn7.mjs";import{Ofa as O,Qfa as t}from"./cli-0.5.14-easqaf33.mjs";import{Xla as H,dna as a,ika as F,jja as U,kja as q,pja as x}from"./cli-0.5.14-gm5kmg2w.mjs";import{Loa as K,Ooa as o}from"./cli-0.5.14-hanfd2pz.mjs";import{randomUUID as Df}from"crypto";async function cf({setMessages:V,readFileState:k,discoveredSkillNames:d,loadedNestedMemoryPaths:i,getAppState:G,setAppState:J,setConversationId:X}){let Y=A();await T("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(I(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(Df());if(v(Q),M(x()),k.clear(),d?.clear(),i?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(r){R(r)}E(D)}return{...f,tasks:B,attribution:C(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),S(),H(),c();let n=U();q({setCurrentAsParent:!0}),L(n),await g();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(p(),K(qf)),{isCoordinatorMode:B}=(zf(),K(ff));f(B()?"coordinator":"normal")}let b=y();if(b)l(b);let j=await u("clear");if(j.length>0)V(()=>j)}var Kf=o(()=>{a();t();Yf();$f();Vf();e();Xf();Uf();s();bf();Gf();Zf();_f();p();Qf();Jf();Bf();jf()});
2
+ export{cf as Kg,Kf as Lg};
@@ -0,0 +1,2 @@
1
+ import{B4 as f,K4 as WB,s4 as Z,v4 as T}from"./cli-0.5.14-1d34ehpy.mjs";import{Hba as v,Pba as QB,f_ as _,g_ as KB,n7 as O,o7 as BB,vba as A}from"./cli-0.5.14-ndq9rhn7.mjs";import{$ea as JB,_ea as w}from"./cli-0.5.14-rj1nh8jm.mjs";import{Fha as e,vha as F}from"./cli-0.5.14-p8gq7nq3.mjs";import{Iia as M,Jia as m,Sha as S,Tha as s,dna as a,jja as R,wia as I,xia as c}from"./cli-0.5.14-gm5kmg2w.mjs";import{Cna as q,Dna as t}from"./cli-0.5.14-y3kkm5vp.mjs";import{Ooa as K}from"./cli-0.5.14-hanfd2pz.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 VR,r as WR,vB as XR,TB as YR,g as ZR,ZB as _R};
@@ -0,0 +1,2 @@
1
+ import{Qfa as f}from"./cli-0.5.14-easqaf33.mjs";import{Tga as h}from"./cli-0.5.14-6raawc34.mjs";import{Ooa as Z}from"./cli-0.5.14-hanfd2pz.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
2
+ export{K as CZ,w as DZ,kz as EZ,oz as FZ,pz as GZ,dz as HZ,nz as IZ,L as JZ};
@@ -0,0 +1,2 @@
1
+ import{Aoa as p,Boa as a}from"./cli-0.5.14-xjdw6amg.mjs";import{Moa as i}from"./cli-0.5.14-hanfd2pz.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
2
+ export{u as q6};
@@ -0,0 +1,2 @@
1
+ import{$C as h,ME as z,NE as M,Wt as J,Xt as Z,_C as L}from"./cli-0.5.14-jf3et57a.mjs";import{FW as X}from"./cli-0.5.14-r8f2hssc.mjs";import{e0 as W}from"./cli-0.5.14-anv6260e.mjs";import{Fma as H,dna as V}from"./cli-0.5.14-gm5kmg2w.mjs";import{Koa as D,Ooa as U}from"./cli-0.5.14-hanfd2pz.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 yf,A as zf};
@@ -0,0 +1,2 @@
1
+ import{Ooa as b}from"./cli-0.5.14-hanfd2pz.mjs";var j="Remote Control is only available with claude.ai subscriptions. Please use `/login` to sign in with your claude.ai account.",k="Remote Control disconnected.";var g=()=>{};
2
+ export{j as Yd,k as Zd,g as _d};
@@ -0,0 +1,2 @@
1
+ import{bf as bG,cf as iG,if as nG}from"./cli-0.5.14-gscd2x4f.mjs";import{$C as pG,CJ as kG,CK as $G,Dl as VG,Dq as dG,EJ as R,FJ as o,FK as cG,GJ as aG,IJ as _G,JK as f,KK as c,LK as r,MK as v,NJ as UG,NK as i,Nl as vG,QK as u,UK as rG,WJ as oG,_C as KG,bu as l,cu as jG,du as HG,eK as s,eq as uG,eu as mG,fK as sG,nJ as LG,oJ as WG,qJ as lG,sJ as qG,tJ as DG,yJ as a,yl as FG,zl as OG}from"./cli-0.5.14-jf3et57a.mjs";import{FW as QJ}from"./cli-0.5.14-r8f2hssc.mjs";import{b0 as wG,d0 as PG}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as BG}from"./cli-0.5.14-anv6260e.mjs";import{oda as I,pda as k,r$ as YG,sda as fG,w$ as gG}from"./cli-0.5.14-ndq9rhn7.mjs";import{Xea as TG}from"./cli-0.5.14-pvx7sqsj.mjs";import{Ofa as w,Qfa as MG}from"./cli-0.5.14-easqaf33.mjs";import{Qga as zG,Tga as CG,yga as NG}from"./cli-0.5.14-6raawc34.mjs";import{iha as x,pha as SG}from"./cli-0.5.14-ef8ctc2m.mjs";import{dna as ZG,jja as XG}from"./cli-0.5.14-gm5kmg2w.mjs";import{Koa as n,Ooa as p}from"./cli-0.5.14-hanfd2pz.mjs";var GG=p(()=>{NG();TG()});function JG(F){let B="plugin"in F?F.plugin:"no-plugin";return`${F.type}:${F.source}:${B}`}function QG(F,B){if(B.length===0)return;F((D)=>{let h=new Set(D.plugins.errors.map((H)=>JG(H))),P=B.filter((H)=>!h.has(JG(H)));if(P.length===0)return D;return{...D,plugins:{...D.plugins,errors:[...D.plugins.errors,...P]}}})}function EG(F,B=!1){let D=HG(),h=l((G)=>G.authVersion),P=l((G)=>G.mcp.pluginReconnectKey),H=jG(),K=q.useRef(new Map),N=q.useRef(new Set),S=q.useRef(null);q.useEffect(()=>{},[H]);let{addNotification:T}=KG(),RG=16,d=q.useRef([]),y=q.useRef(null),C=q.useCallback(()=>{y.current=null;let G=d.current;if(G.length===0)return;d.current=[],H((Y)=>{let z=Y.mcp;for(let L of G){let{tools:Q,commands:O,resources:W,...J}=L,V=J.type==="disabled"||J.type==="failed"?Q??[]:Q,X=J.type==="disabled"||J.type==="failed"?O??[]:O,Z=J.type==="disabled"||J.type==="failed"?W??[]:W,j=YG(J.name),g=z.clients.findIndex((E)=>E.name===J.name)===-1?[...z.clients,J]:z.clients.map((E)=>E.name===J.name?J:E),b=V===void 0?z.tools:[...s(z.tools,(E)=>E.name?.startsWith(j)),...V],m=X===void 0?z.commands:[...s(z.commands,(E)=>_G(E,J.name)),...X],hG=Z===void 0?z.resources:{...z.resources,...Z.length>0?{[J.name]:Z}:bG(z.resources,J.name)};z={...z,clients:g,tools:b,commands:m,resources:hG}}return{...Y,mcp:z}})},[H]),_=q.useCallback((G)=>{if(d.current.push(G),y.current===null)y.current=setTimeout(C,RG)},[C]),U=q.useCallback(({client:G,tools:Y,commands:z,resources:L})=>{switch(_({...G,tools:Y,commands:z,resources:L}),G.type){case"connected":{if($G(G.client,G.name,H),G.client.onclose=()=>{let Q=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{zG(`Failed to invalidate the server cache: ${G.name}`)}),R(G.name)){k(G.name,"Server is disabled, skipping automatic reconnection");return}if(Q!=="stdio"&&Q!=="sdk"){let O=JJ(Q);k(G.name,`${O} transport closed/disconnected, attempting automatic reconnection`);let W=K.current.get(G.name);if(W)clearTimeout(W),K.current.delete(G.name);(async()=>{for(let V=1;V<=A;V++){if(R(G.name)){k(G.name,"Server disabled during reconnection, stopping retry"),K.current.delete(G.name);return}_({...G,type:"pending",reconnectAttempt:V,maxReconnectAttempts:A});let X=Date.now();try{let j=await v(G.name,G.config),$=Date.now()-X;if(j.client.type==="connected"){k(G.name,`${O} reconnection successful after ${$}ms (attempt ${V})`),K.current.delete(G.name),U(j);return}if(k(G.name,`${O} reconnection attempt ${V} completed with status: ${j.client.type}`),V===A){k(G.name,`Max reconnection attempts (${A}) reached, giving up`),K.current.delete(G.name),U(j);return}}catch(j){let $=Date.now()-X;if(I(G.name,`${O} reconnection attempt ${V} failed after ${$}ms: ${j}`),V===A){k(G.name,`Max reconnection attempts (${A}) reached, giving up`),K.current.delete(G.name),_({...G,type:"failed"});return}}let Z=Math.min(eG*Math.pow(2,V-1),GJ);k(G.name,`Scheduling reconnection attempt ${V+1} in ${Z}ms`),await new Promise((j)=>{let $=setTimeout(j,Z);K.current.set(G.name,$)})}})()}else _({...G,type:"failed"})},!1)switch(Q.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{k(G.name,"Received tools/list_changed notification, refreshing tools");try{let Q=f.cache.get(G.name);f.cache.delete(G.name);let O=await f(G),W=O.length;if(Q)Q.then((J)=>{w("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:W})},()=>{w("tengu_mcp_list_changed",{type:"tools",newCount:W})});else w("tengu_mcp_list_changed",{type:"tools",newCount:W});_({...G,tools:O})}catch(Q){I(G.name,`Failed to refresh tools after list_changed notification: ${x(Q)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{k(G.name,"Received prompts/list_changed notification, refreshing prompts"),w("tengu_mcp_list_changed",{type:"prompts"});try{r.cache.delete(G.name);let[Q,O]=await Promise.all([r(G),Promise.resolve([])]);_({...G,commands:[...Q,...O]}),tG?.()}catch(Q){I(G.name,`Failed to refresh prompts after list_changed notification: ${x(Q)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{k(G.name,"Received resources/list_changed notification, refreshing resources"),w("tengu_mcp_list_changed",{type:"resources"});try{c.cache.delete(G.name);{let Q=await c(G);_({...G,resources:Q})}}catch(Q){I(G.name,`Failed to refresh resources after list_changed notification: ${x(Q)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[_]),e=XG();q.useEffect(()=>{async function G(){let{servers:Y,errors:z}=B?{servers:{},errors:[]}:await a(F),L={...Y,...F};QG(H,z),H((Q)=>{let{stale:O,...W}=UG(Q.mcp,L);for(let X of O){let Z=K.current.get(X.name);if(Z)clearTimeout(Z),K.current.delete(X.name);if(X.type==="connected")X.client.onclose=void 0,u(X.name,X.config).catch(()=>{})}let J=new Set(W.clients.map((X)=>X.name)),V=Object.entries(L).filter(([X])=>!J.has(X)).map(([X,Z])=>({name:X,type:R(X)?"disabled":"pending",config:Z}));if(V.length===0&&O.length===0)return Q;return{...Q,mcp:{...Q.mcp,...W,clients:[...W.clients,...V]}}})}G().catch((Y)=>{I("useManageMCPConnections",`Failed to initialize servers as pending: ${x(Y)}`)})},[B,F,H,e,P]),q.useEffect(()=>{let G=!1;async function Y(){let z;if(B||kG())z=Promise.resolve({});else WG(),z=LG();let{servers:L,errors:Q}=B?{servers:{},errors:[]}:await a(F,z);if(G)return;QG(H,Q);let O={...L,...F},W=Object.fromEntries(Object.entries(O).filter(([Z])=>!R(Z)));i(U,W).catch((Z)=>{I("useManageMcpConnections",`Failed to get MCP resources: ${x(Z)}`)});let J={};if(!B){if(J=DG(await z).allowed,G)return;if(Object.keys(J).length>0){let{servers:Z}=qG(J,O);J=Z}if(Object.keys(J).length>0){H((j)=>{let $=new Set(j.mcp.clients.map((b)=>b.name)),g=Object.entries(J).filter(([b])=>!$.has(b)).map(([b,m])=>({name:b,type:R(b)?"disabled":"pending",config:m}));if(g.length===0)return j;return{...j,mcp:{...j.mcp,clients:[...j.mcp.clients,...g]}}});let Z=Object.fromEntries(Object.entries(J).filter(([j])=>!R(j)));i(U,Z).catch((j)=>{I("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${x(j)}`)})}}let V={...O,...J},X={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let Z of Object.values(V))if(Z.scope==="enterprise")X.enterprise++;else if(Z.scope==="user")X.global++;else if(Z.scope==="project")X.project++;else if(Z.scope==="local")X.user++;else if(Z.scope==="dynamic")X.plugin++;else if(Z.scope==="claudeai")X.claudeai++;w("tengu_mcp_servers",{...X})}return Y(),()=>{G=!0}},[B,F,U,H,h,e,P]),q.useEffect(()=>{let G=K.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),y.current!==null)clearTimeout(y.current),y.current=null,C()}},[C]);let yG=q.useCallback(async(G)=>{let Y=D.getState().mcp.clients.find((Q)=>Q.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let z=K.current.get(G);if(z)clearTimeout(z),K.current.delete(G);let L=await v(G,Y.config);return U(L),L},[D,U]),AG=q.useCallback(async(G)=>{let Y=D.getState().mcp.clients.find((L)=>L.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let L=K.current.get(G);if(L)clearTimeout(L),K.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);_({name:G,type:"disabled",config:Y.config})}else{o(G,!0),_({name:G,type:"pending",config:Y.config});let L=await v(G,Y.config);U(L)}},[D,_,U]);return{reconnectMcpServer:yG,toggleMcpServer:AG}}function JJ(F){switch(F){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var q,tG=null,A=5,eG=1000,GJ=30000;var IG=p(()=>{ZG();rG();vG();iG();sG();MG();aG();CG();ZG();pG();mG();SG();fG();dG();nG();GG();lG();cG();gG();oG();uG();q=n(BG(),1)});function aJ(){let F=M.useContext(t);if(!F)throw Error("useMcpReconnect must be used within MCPConnectionManager");return F.reconnectMcpServer}function oJ(){let F=M.useContext(t);if(!F)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return F.toggleMcpServer}function sJ(F){let B=xG.c(6),{children:D,dynamicMcpConfig:h,isStrictMcpConfig:P}=F,{reconnectMcpServer:H,toggleMcpServer:K}=EG(h,P),N;if(B[0]!==H||B[1]!==K)N={reconnectMcpServer:H,toggleMcpServer:K},B[0]=H,B[1]=K,B[2]=N;else N=B[2];let S=N,T;if(B[3]!==D||B[4]!==S)T=wG(t.Provider,{value:S,children:D}),B[3]=D,B[4]=S,B[5]=T;else T=B[5];return T}var xG,M,t;var XJ=p(()=>{IG();PG();xG=n(QJ(),1),M=n(BG(),1),t=M.createContext(null)});
2
+ export{GG as Ye,aJ as Ze,oJ as _e,sJ as $e,XJ as af};
@@ -0,0 +1,2 @@
1
+ import{$l as jJ,Mp as Eq,Np as v,Op as zJ,Up as XJ,Vw as kJ,WD as KJ,Wp as GJ,Ww as _J,YD as vJ,Zp as cq,_l as oq,_p as Vq,bq as YJ,bu as Cq,cq as pq,cu as wJ,eu as MJ,km as qJ,lm as hJ,mm as JJ,nm as OJ,om as QJ,pm as FJ}from"./cli-0.5.14-jf3et57a.mjs";import{MU as tq,NU as VJ}from"./cli-0.5.14-3pq7th32.mjs";import{aW as eq,bW as mJ,jW as ZJ,kW as gJ}from"./cli-0.5.14-ya2ykcd6.mjs";import{DY as TJ,FW as CJ,YX as H,_X as Y}from"./cli-0.5.14-r8f2hssc.mjs";import{a0 as lq,b0 as X,c0 as K,d0 as rq}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as DJ}from"./cli-0.5.14-anv6260e.mjs";import{K4 as uJ,L2 as mq,N2 as S,V1 as jq,W1 as fq,W2 as g,Y1 as yq,Z2 as Dq,b3 as yJ,i2 as sq,l3 as UJ,n2 as NJ,p4 as HJ,q3 as rJ}from"./cli-0.5.14-1d34ehpy.mjs";import{B_ as RJ,Faa as LJ,n_ as _q,o_ as vq,p_ as Rq,q_ as Sq,qaa as aq,r_ as xq,saa as iq}from"./cli-0.5.14-ndq9rhn7.mjs";import{Ofa as $q,Qfa as bJ}from"./cli-0.5.14-easqaf33.mjs";import{Koa as dq,Ooa as bq}from"./cli-0.5.14-hanfd2pz.mjs";function iJ(J,q){if(!v(q))return;let Z=cq(q,J);return`${Lq(Z)} ${Z} · /effort`}function Lq(J){if(Eq(J))return xq;switch(J){case"low":return _q;case"medium":return vq;case"high":return Rq;case"max":return Sq;default:return Rq}}var nq=bq(()=>{RJ();pq()});function BQ(J){let q=hq.c(82),{initial:Z,sessionModel:z,onSelect:G,onCancel:w,isStandaloneCommand:W,showFastModeNotice:Yq,headerText:WJ,skipSettingsWrite:wq}=J,kq=wJ(),E=tq(),B=Z===null?x:Z,[A,BJ]=Gq.useState(B),AJ=Cq(cJ),[P,IJ]=Gq.useState(!1),R=Cq(EJ),c;if(q[0]!==R)c=R!==void 0?Vq(R):void 0,q[0]=R,q[1]=c;else c=q[1];let[b,Oq]=Gq.useState(c),Kq=AJ??!1,p;if(q[2]!==Kq)p=kJ(Kq),q[2]=Kq,q[3]=p;else p=q[3];let M=p,Uq;q:{if(Z!==null&&!M.some((Q)=>{if(Q.value===Z)return!0;if(Q.value===null)return!1;try{return S(g(String(Q.value)))===S(g(Z))}catch{return!1}})){let Q;if(q[4]!==Z)Q=Dq(Z),q[4]=Z,q[5]=Q;else Q=q[5];let k;if(q[6]!==Z||q[7]!==Q)k={value:Z,label:Q,description:"Current model"},q[6]=Z,q[7]=Q,q[8]=k;else k=q[8];let L;if(q[9]!==M||q[10]!==k)L=[...M,k],q[9]=M,q[10]=k,q[11]=L;else L=q[11];Uq=L;break q}Uq=M}let Hq=Uq,n;if(q[12]!==Hq)n=Hq.map(xJ),q[12]=Hq,q[13]=n;else n=q[13];let U=n,r;if(q[14]!==B||q[15]!==U)r=U.find((Q)=>{if(Q.value===B)return!0;if(B===x||Q.value===null)return!1;try{return S(g(String(Q.value)))===S(g(String(B)))}catch{return!1}})?.value??U[0]?.value??void 0,q[14]=B,q[15]=U,q[16]=r;else r=q[16];let Wq=r,u=Math.min(10,U.length),d=Math.max(0,U.length-u),$;if(q[17]!==A||q[18]!==U)$=U.find((Q)=>Q.value===A)?.label,q[17]=A,q[18]=U,q[19]=$;else $=q[19];let a=$,I,i;if(q[20]!==A){let Q=Tq(A);I=Q?v(Q):!1,i=Q?zJ(Q):!1,q[20]=A,q[21]=I,q[22]=i}else I=q[21],i=q[22];let f=i,s;if(q[23]!==A)s=Nq(A),q[23]=A,q[24]=s;else s=q[24];let N=s,_=b==="max"&&!f?"high":b,l;if(q[25]!==R||q[26]!==P)l=(Q)=>{if(BJ(Q),!P&&R===void 0)Oq(Nq(Q))},q[25]=R,q[26]=P,q[27]=l;else l=q[27];let Bq=l,o;if(q[28]!==N||q[29]!==I||q[30]!==f)o=(Q)=>{if(!I)return;Oq((k)=>pJ(k??N,Q,f)),IJ(!0)},q[28]=N,q[29]=I,q[30]=f,q[31]=o;else o=q[31];let e=o,t;if(q[32]!==e)t={"modelPicker:decreaseEffort":()=>e("left"),"modelPicker:increaseEffort":()=>e("right")},q[32]=e,q[33]=t;else t=q[33];let qq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))qq={context:"ModelPicker"},q[34]=qq;else qq=q[34];eq(t,qq);let Jq;if(q[35]!==b||q[36]!==P||q[37]!==G||q[38]!==kq||q[39]!==wq)Jq=function(k){if($q("tengu_model_command_menu_effort",{effort:b}),!wq){let gq=GJ(b,Nq(k),aq("userSettings")?.effortLevel,P),Mq=XJ(gq);if(Mq!==void 0)iq("userSettings",{effortLevel:Mq});kq((PJ)=>({...PJ,effortValue:gq}))}let L=Tq(k),Fq=P&&L&&v(L)?b:void 0;if(k===x){G(null,Fq);return}G(k,Fq)},q[35]=b,q[36]=P,q[37]=G,q[38]=kq,q[39]=wq,q[40]=Jq;else Jq=q[40];let Aq=Jq,Qq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Qq=X(Y,{color:"remember",bold:!0,children:"Select model"}),q[41]=Qq;else Qq=q[41];let Iq=WJ??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",y;if(q[42]!==Iq)y=X(Y,{dimColor:!0,children:Iq}),q[42]=Iq,q[43]=y;else y=q[43];let D;if(q[44]!==z)D=z&&K(Y,{dimColor:!0,children:["Currently using ",Dq(z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=z,q[45]=D;else D=q[45];let C;if(q[46]!==y||q[47]!==D)C=K(H,{marginBottom:1,flexDirection:"column",children:[Qq,y,D]}),q[46]=y,q[47]=D,q[48]=C;else C=q[48];let Pq=w??SJ,T;if(q[49]!==Bq||q[50]!==Aq||q[51]!==Wq||q[52]!==B||q[53]!==U||q[54]!==Pq||q[55]!==u)T=X(H,{flexDirection:"column",children:X(KJ,{defaultValue:B,defaultFocusValue:Wq,options:U,onChange:Aq,onFocus:Bq,onCancel:Pq,visibleOptionCount:u})}),q[49]=Bq,q[50]=Aq,q[51]=Wq,q[52]=B,q[53]=U,q[54]=Pq,q[55]=u,q[56]=T;else T=q[56];let j;if(q[57]!==d)j=d>0&&X(H,{paddingLeft:3,children:K(Y,{dimColor:!0,children:["and ",d," more…"]})}),q[57]=d,q[58]=j;else j=q[58];let m;if(q[59]!==T||q[60]!==j)m=K(H,{flexDirection:"column",marginBottom:1,children:[T,j]}),q[59]=T,q[60]=j,q[61]=m;else m=q[61];let V;if(q[62]!==_||q[63]!==N||q[64]!==a||q[65]!==I)V=X(H,{marginBottom:1,flexDirection:"column",children:I?K(Y,{dimColor:!0,children:[X(uq,{effort:_})," ",oq(_)," effort",_===N?" (default)":""," ",X(Y,{color:"subtle",children:"← → to adjust"})]}):K(Y,{color:"subtle",children:[X(uq,{effort:void 0})," Effort not supported",a?` for ${a}`:""]})}),q[62]=_,q[63]=N,q[64]=a,q[65]=I,q[66]=V;else V=q[66];let h;if(q[67]!==Yq)h=jq()?Yq?X(H,{marginBottom:1,children:K(Y,{dimColor:!0,children:["Fast mode is ",X(Y,{bold:!0,children:"ON"})," and available with"," ",yq," only (/fast). Switching to other models turn off fast mode."]})}):fq()&&!sq()?X(H,{marginBottom:1,children:K(Y,{dimColor:!0,children:["Use ",X(Y,{bold:!0,children:"/fast"})," to turn on Fast mode (",yq," only)."]})}):null:null,q[67]=Yq,q[68]=h;else h=q[68];let O;if(q[69]!==C||q[70]!==m||q[71]!==V||q[72]!==h)O=K(H,{flexDirection:"column",children:[C,m,V,h]}),q[69]=C,q[70]=m,q[71]=V,q[72]=h,q[73]=O;else O=q[73];let F;if(q[74]!==E||q[75]!==W)F=W&&X(Y,{dimColor:!0,italic:!0,children:E.pending?K(lq,{children:["Press ",E.keyName," again to exit"]}):K(QJ,{children:[X(qJ,{shortcut:"Enter",action:"confirm"}),X(JJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=E,q[75]=W,q[76]=F;else F=q[76];let Zq;if(q[77]!==O||q[78]!==F)Zq=K(H,{flexDirection:"column",children:[O,F]}),q[77]=O,q[78]=F,q[79]=Zq;else Zq=q[79];let zq=Zq;if(!W)return zq;let Xq;if(q[80]!==zq)Xq=X(ZJ,{color:"permission",children:zq}),q[80]=zq,q[81]=Xq;else Xq=q[81];return Xq}function SJ(){}function xJ(J){return{...J,value:J.value===null?x:J.value}}function EJ(J){return J.effortValue}function cJ(J){return jq()?J.fastMode:!1}function Tq(J){if(!J)return;return J===x?mq():g(J)}function uq(J){let q=hq.c(5),{effort:Z}=J,z=Z?"claude":"subtle",G=Z??"low",w;if(q[0]!==G)w=Lq(G),q[0]=G,q[1]=w;else w=q[1];let W;if(q[2]!==z||q[3]!==w)W=X(Y,{color:z,children:w}),q[2]=z,q[3]=w,q[4]=W;else W=q[4];return W}function pJ(J,q,Z){let z=Z?["low","medium","high","max"]:["low","medium","high"],G=z.indexOf(J),w=G!==-1?G:z.indexOf("high");if(q==="right")return z[(w+1)%z.length];else return z[(w-1+z.length)%z.length]}function Nq(J){let q=Tq(J)??mq(),Z=YJ(q);return Z!==void 0?Vq(Z):"high"}var hq,Gq,x="__NO_PREFERENCE__";var nJ=bq(()=>{jJ();VJ();bJ();NJ();TJ();mJ();MJ();pq();yJ();_J();LJ();OJ();vJ();FJ();hJ();gJ();nq();rq();hq=dq(CJ(),1),Gq=dq(DJ(),1)});function bQ(J,q,Z){if(!HJ())return!1;if(q)return!0;if(J===null||!UJ(J))return!1;let z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),G=z==="opus"||z.includes("opus-4-6")||z.includes("opus-4-7"),w=z==="sonnet"||z.includes("sonnet-4-6");if(G&&Z)return!1;return G||w}var dJ=bq(()=>{uJ();rJ()});
2
+ export{iJ as ig,Lq as jg,nq as kg,BQ as lg,nJ as mg,bQ as ng,dJ as og};
@@ -0,0 +1,2 @@
1
+ import{Tm as E,Um as m,Un as l,Vm as Xq,Vn as Rq,Wn as i,Xn as Aq,on as S,tn as Zq}from"./cli-0.5.14-jf3et57a.mjs";import{b$ as u,d$ as g,g$ as h,h$ as n,kda as D,m$ as vq,sda as Qq}from"./cli-0.5.14-ndq9rhn7.mjs";import{xea as d,zea as Uq}from"./cli-0.5.14-nef9j9x3.mjs";import{Cga as M,Gga as y,Qga as V,Tga as e,tga as P,uga as v,yga as f}from"./cli-0.5.14-6raawc34.mjs";import{iha as W,jha as O,kha as C,pha as _}from"./cli-0.5.14-ef8ctc2m.mjs";import{Zna as p,poa as qq}from"./cli-0.5.14-cw6v5vt0.mjs";import{Ooa as N}from"./cli-0.5.14-hanfd2pz.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
+ export{Fq as Hc,r as Ic,nq as Jc,lq as Kc,Oq as Lc,QQ as Mc,XQ as Nc,Dq as Oc};
@@ -0,0 +1,3 @@
1
+ import{uZ as d,vZ as X,zZ as N}from"./cli-0.5.14-k8g7xd1q.mjs";import{Pba as p,Raa as O,Saa as f,kda as B,sba as U,sda as y,vba as G}from"./cli-0.5.14-ndq9rhn7.mjs";import{hha as x,pha as b}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as E,sha as H}from"./cli-0.5.14-p8gq7nq3.mjs";import{Yka as w,dna as P}from"./cli-0.5.14-gm5kmg2w.mjs";import{Zna as k,poa as S}from"./cli-0.5.14-cw6v5vt0.mjs";import{Koa as M,Ooa as R}from"./cli-0.5.14-hanfd2pz.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();p();E();b();y();f();N();T=M(d(),1)});
3
+ export{zq as lf,Jq as mf,C as nf,h as of,Kq as pf,Qq as qf,g as rf};
@@ -0,0 +1,2 @@
1
+ import{Ah as B,zh as W}from"./cli-0.5.14-bfcf75rz.mjs";import{b0 as U,d0 as J}from"./cli-0.5.14-tgeskqzs.mjs";import{B0 as V,C0 as v}from"./cli-0.5.14-avm7rqss.mjs";import{K4 as $,j1 as N,k1 as _,k4 as Q,p4 as R}from"./cli-0.5.14-1d34ehpy.mjs";import{kda as K,sda as Z}from"./cli-0.5.14-ndq9rhn7.mjs";import{Ooa as Y}from"./cli-0.5.14-hanfd2pz.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
2
+ export{w as Hb,E as Ib};
@@ -0,0 +1,2 @@
1
+ import{BY as X,DY as k,FW as f,nY as W}from"./cli-0.5.14-r8f2hssc.mjs";import{a0 as V,b0 as J,d0 as K}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as P}from"./cli-0.5.14-anv6260e.mjs";import{vda as U,wda as O}from"./cli-0.5.14-yms71vy8.mjs";import{Koa as Q,Ooa as L}from"./cli-0.5.14-hanfd2pz.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as Ed,N as Fd,j as Gd};
@@ -0,0 +1,2 @@
1
+ import{Moa as j}from"./cli-0.5.14-hanfd2pz.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
2
+ export{Lt as e0};
@@ -0,0 +1,2 @@
1
+ import{QQ as z,yp as _}from"./cli-0.5.14-jf3et57a.mjs";import{n0 as f}from"./cli-0.5.14-r61p0n6x.mjs";import{F3 as k,K4 as A,_0 as K}from"./cli-0.5.14-1d34ehpy.mjs";import{Faa as v,Pba as x,V9 as W,u8 as T,x7 as L}from"./cli-0.5.14-ndq9rhn7.mjs";import{Aea as q,Bea as V,xea as b,zea as Q}from"./cli-0.5.14-nef9j9x3.mjs";import{Xea as H}from"./cli-0.5.14-pvx7sqsj.mjs";import{Nfa as w}from"./cli-0.5.14-xad83fbb.mjs";import{Qfa as O}from"./cli-0.5.14-easqaf33.mjs";import{pha as U}from"./cli-0.5.14-ef8ctc2m.mjs";import{dna as B,eja as X}from"./cli-0.5.14-gm5kmg2w.mjs";import{Ooa as G}from"./cli-0.5.14-hanfd2pz.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var Y=G(()=>{B();w();A();z();x();L();U();T();K();W();v();X();k();f();H();O();_();J()});
2
+ export{Y as Zc};
@@ -0,0 +1,3 @@
1
+ import{B7 as M,Pba as R,vba as P,z7 as Q}from"./cli-0.5.14-ndq9rhn7.mjs";import{Qga as G,Tga as C}from"./cli-0.5.14-6raawc34.mjs";import{Ooa as j}from"./cli-0.5.14-hanfd2pz.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
2
+ `),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
3
+ export{g as A0,w as B0,f as C0};
@@ -0,0 +1,2 @@
1
+ import{H7 as X,L7 as k,_7 as Y,u8 as x}from"./cli-0.5.14-ndq9rhn7.mjs";import{Pda as $}from"./cli-0.5.14-yms71vy8.mjs";import{Ooa as Z}from"./cli-0.5.14-hanfd2pz.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
2
+ export{H as qb,M as rb};
@@ -0,0 +1,2 @@
1
+ import{Ooa as $}from"./cli-0.5.14-hanfd2pz.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function E(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function y(z=1){return z===0?"":J(z,"S")}function a(z=1){return z===0?"":J(z,"T")}function n(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,o,c,t,r,i,e,s,zz,Jz,Qz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u"),F=J(2,"K"),K=J(2,"J"),o=J(3,"J");c=J("r"),t=J("200~"),r=J("201~"),i=J("I"),e=J("O"),s=J(">1u"),zz=J("<u"),Jz=J(">4;2m"),Qz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,$z;var f=$(()=>{v();P=J(0,"f");$z=T()});
2
+ export{d as LY,Y as MY,h as NY,j as OY,H as PY,w as QY,L as RY,x as SY,A as TY,N as UY,J as VY,g as WY,I as XY,_ as YY,u as ZY,R as _Y,C as $Y,q as aZ,S as bZ,K as cZ,E as dZ,y as eZ,a as fZ,n as gZ,c as hZ,t as iZ,r as jZ,i as kZ,e as lZ,s as mZ,zz as nZ,Jz as oZ,Qz as pZ,v as qZ,T as rZ,$z as sZ,f as tZ};
@@ -0,0 +1,2 @@
1
+ import{FW as O}from"./cli-0.5.14-r8f2hssc.mjs";import{b0 as X,d0 as Q}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as b}from"./cli-0.5.14-anv6260e.mjs";import{Cba as W,Pba as P}from"./cli-0.5.14-ndq9rhn7.mjs";import{Koa as U}from"./cli-0.5.14-hanfd2pz.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as xb,C as yb};
@@ -0,0 +1,2 @@
1
+ import{Ooa as f}from"./cli-0.5.14-hanfd2pz.mjs";function j(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function V(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function k(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(x);if(K){let W=Number(K[1]),$=Number(K[2]);if(W===10)return!0;if(W===172&&$>=16&&$<=31)return!0;if(W===192&&$===168)return!0;if(W===127)return!0;if(W===169&&$===254)return!0;if(W===100&&$>=64&&$<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||L.test(B)||Y.test(B))return!0;return!1}function C(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(k(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function A(q){if(!q||typeof q!=="object")return 0;let z=q,B=j(z.cache_read_input_tokens);if(B>0)return B;let K=j(V(q,["input_tokens_details","cached_tokens"]))||j(V(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=j(z.cached_tokens);if(W>0)return W;let $=j(z.prompt_cache_hit_tokens);if($>0)return $;let Q=j(z.cached_content_token_count);if(Q>0)return Q;return 0}function M(q){let z=A(q),B=q??{},K=j(B.input_tokens)||j(B.prompt_tokens),W=K>=z?K-z:K,$=j(B.output_tokens)||j(B.completion_tokens);return{input_tokens:W,output_tokens:$,cache_creation_input_tokens:0,cache_read_input_tokens:z}}function U(q,z){if(!q||typeof q!=="object")return G;let B=q,K=j(B.cache_read_input_tokens),W=j(B.cache_creation_input_tokens),$=j(B.input_tokens);if(z==="copilot"||z==="ollama")return G;if(z==="self-hosted"&&K===0&&W===0)return G;let Q=K+W+$;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function w(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${H(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${H(q.read)}`,`created=${H(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function H(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(F,"")}k`;return`${(q/1e6).toFixed(1).replace(F,"")}m`}function Z(q,z){if(!q.supported&&!z.supported)return G;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var G,x,L,Y,F;var y=f(()=>{G={read:0,created:0,total:0,hitRate:null,supported:!1};x=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,L=/^fc[0-9a-f]{0,2}:/,Y=/^fd[0-9a-f]{0,2}:/,F=/\.0$/});function O(q){return{currentTurn:X,session:X,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function _(q,z){J.currentTurn=Z(J.currentTurn,q),J.session=Z(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function E(){J.currentTurn=X}function g(){J.currentTurn=X,J.session=X,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function N(){return J.currentTurn}function R(){return J.session}function b(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var D=500,X,J;var S=f(()=>{y();X={read:0,created:0,total:0,hitRate:null,supported:!1};J=O(D)});
2
+ export{C as AV,M as BV,U as CV,w as DV,I as EV,y as FV,_ as GV,E as HV,g as IV,N as JV,R as KV,b as LV,S as MV};
@@ -0,0 +1,2 @@
1
+ import{A1 as Y,B1 as y,y1 as H,z1 as _}from"./cli-0.5.14-1d34ehpy.mjs";import{v7 as M,x7 as f}from"./cli-0.5.14-ndq9rhn7.mjs";import{Cga as P,Gga as p,Qga as x,Tfa as F,Tga as S,Vfa as b}from"./cli-0.5.14-6raawc34.mjs";import{iha as V,pha as R}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as g,vha as U}from"./cli-0.5.14-p8gq7nq3.mjs";import{dna as A,sla as D,tla as W}from"./cli-0.5.14-gm5kmg2w.mjs";import{Ooa as L}from"./cli-0.5.14-hanfd2pz.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var h=L(()=>{b();f();g();Z=new Map});var $q;var m=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
2
+ export{k as wR,s as xR,o as yR,u as zR,e as AR,qq as BR,Gq as CR,Jq as DR,Kq as ER,Qq as FR,h as GR,$q as HR,m as IR};
@@ -0,0 +1,2 @@
1
+ import{Ooa as o}from"./cli-0.5.14-hanfd2pz.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
+ export{e as zh,t as Ah};
@@ -0,0 +1,2 @@
1
+ import{Ooa as e}from"./cli-0.5.14-hanfd2pz.mjs";function o(){return!0}var t=()=>{};
2
+ export{o as WQ,t as XQ};
@@ -0,0 +1,2 @@
1
+ import{oe as R,qe as d}from"./cli-0.5.14-n1wzvy0k.mjs";import{hV as j,kV as c}from"./cli-0.5.14-091bzaxj.mjs";import{Qga as K,Tga as D}from"./cli-0.5.14-6raawc34.mjs";import{iha as C,pha as h}from"./cli-0.5.14-ef8ctc2m.mjs";import{Ooa as I,Poa as J}from"./cli-0.5.14-hanfd2pz.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.5.14-cn5sbpmt.mjs"),{getOrganizationUUID:Z}=await import("./client-0.5.14-7m64ax0b.mjs"),{getOauthConfig:V}=await import("./oauth-0.5.14-cqg2kcsy.mjs"),{getOAuthHeaders:P}=await import("./api-0.5.14-n9d664hq.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.5.14-v7wq8791.mjs"),{getDefaultBranch:_}=await import("./git-0.5.14-5evnfaj9.mjs"),{getMainLoopModel:M}=await import("./model-0.5.14-4m2ak31n.mjs"),{default:T}=await import("./index-0.5.14-ac62kk33.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.5.14-v7wq8791.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.5.14-cn5sbpmt.mjs"),{getOrganizationUUID:$}=await import("./client-0.5.14-7m64ax0b.mjs"),{getOauthConfig:Y}=await import("./oauth-0.5.14-cqg2kcsy.mjs"),{getOAuthHeaders:z}=await import("./api-0.5.14-n9d664hq.mjs"),{default:G}=await import("./index-0.5.14-ac62kk33.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.5.14-cn5sbpmt.mjs"),{getOrganizationUUID:$}=await import("./client-0.5.14-7m64ax0b.mjs"),{getOauthConfig:Y}=await import("./oauth-0.5.14-cqg2kcsy.mjs"),{getOAuthHeaders:z}=await import("./api-0.5.14-n9d664hq.mjs"),{default:G}=await import("./index-0.5.14-ac62kk33.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.5.14-cn5sbpmt.mjs"),{getOrganizationUUID:Y}=await import("./client-0.5.14-7m64ax0b.mjs"),{getOauthConfig:z}=await import("./oauth-0.5.14-cqg2kcsy.mjs"),{getOAuthHeaders:G}=await import("./api-0.5.14-n9d664hq.mjs"),{default:L}=await import("./index-0.5.14-ac62kk33.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
+ export{i as ge,r as he,t as ie,o as je,p as ke};
@@ -0,0 +1,2 @@
1
+ import{hc as L,ic as m}from"./cli-0.5.14-5tjkdtp9.mjs";import{oc as O,pc as G,qc as u}from"./cli-0.5.14-pr6tse5d.mjs";import{K4 as E,V3 as U,Z3 as k,c4 as A}from"./cli-0.5.14-1d34ehpy.mjs";import{Cba as Q,Faa as g,H_ as K,I_ as Z,O_ as P,Pba as h,Xba as R,bca as _,cca as $,kca as x,kda as y,saa as N,sba as F,sda as C,vba as D}from"./cli-0.5.14-ndq9rhn7.mjs";import{hha as Y,pha as f}from"./cli-0.5.14-ef8ctc2m.mjs";import{dna as b,wka as J}from"./cli-0.5.14-gm5kmg2w.mjs";import{Ooa as T}from"./cli-0.5.14-hanfd2pz.mjs";function n(){V=!0}function M(){if(!V)return!1;return V=!1,!0}function a(j){return(z)=>({...z,...typeof j.permission_mode==="string"?{toolPermissionContext:{...z.toolPermissionContext,mode:Z(j.permission_mode)}}:{},...typeof j.is_ultraplan_mode==="boolean"?{isUltraplanMode:j.is_ultraplan_mode}:{}})}function t({newState:j,oldState:z}){let W=M(),X=z.toolPermissionContext.mode,H=j.toolPermissionContext.mode;if(X!==H){let q=K(X),B=K(H);if(q!==B){let I=B==="plan"&&j.isUltraplanMode&&!z.isUltraplanMode?!0:null;O({permission_mode:B,is_ultraplan_mode:I})}G(H)}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel===null){if(J(null),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:void 0}));else N("userSettings",{model:void 0}),$()}if(j.mainLoopModel!==z.mainLoopModel&&j.mainLoopModel!==null){if(J(j.mainLoopModel),!W)if(R()!==void 0)Q((q)=>({...q,activeModelForProject:j.mainLoopModel??void 0}));else N("userSettings",{model:j.mainLoopModel}),_(j.mainLoopModel)}if(j.expandedView!==z.expandedView){let q=j.expandedView==="tasks",B=j.expandedView==="teammates";if(D().showExpandedTodos!==q||D().showSpinnerTree!==B)F((I)=>({...I,showExpandedTodos:q,showSpinnerTree:B}))}if(j.verbose!==z.verbose&&D().verbose!==j.verbose){let q=j.verbose;F((B)=>({...B,verbose:q}))}if(j.collapseSubagentProgress!==z.collapseSubagentProgress&&D().collapseSubagentProgress!==j.collapseSubagentProgress){let q=j.collapseSubagentProgress;F((B)=>({...B,collapseSubagentProgress:q}))}if(j.settings!==z.settings)try{if(U(),k(),A(),j.settings.env!==z.settings.env)L()}catch(q){y(Y(q))}}var V=!1;var c=T(()=>{b();E();h();f();C();m();x();P();u();g()});
2
+ export{n as cc,a as dc,t as ec,c as fc};
@@ -0,0 +1,3 @@
1
+ import{aea as L,eea as O}from"./cli-0.5.14-mqp3fc5k.mjs";import{Ooa as N}from"./cli-0.5.14-hanfd2pz.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 EY,J as FY,T as GY,U as HY,V as IY,W as JY,Q as KY};
@@ -0,0 +1,2 @@
1
+ import{Ooa as t}from"./cli-0.5.14-hanfd2pz.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 ch,a as dh};
@@ -0,0 +1,2 @@
1
+ import{La as Y}from"./cli-0.5.14-sx666s0x.mjs";import{HR as N,IR as C}from"./cli-0.5.14-b2y4c4qz.mjs";import{eda as A,gda as w}from"./cli-0.5.14-ndq9rhn7.mjs";import{Ofa as B,Qfa as k}from"./cli-0.5.14-easqaf33.mjs";import{Qga as W,Tga as j,uga as L,yga as E}from"./cli-0.5.14-6raawc34.mjs";import{iha as G,pha as K}from"./cli-0.5.14-ef8ctc2m.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
+ export{v as ja,q as ka,p as la,g as ma,d as na,R as oa};