@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,24 @@
1
+ import{La as DY}from"./cli-0.5.14-sx666s0x.mjs";import{nc as LY,qc as iQ}from"./cli-0.5.14-pr6tse5d.mjs";import{Zg as V0,_g as p6}from"./cli-0.5.14-64rpppf8.mjs";import{rh as pY,sh as A6}from"./cli-0.5.14-vf6t34v8.mjs";import{AM as lY,Aj as u6,BB as z6,BN as s,Bj as z9,Cj as q9,Cy as uY,DI as M9,DO as iY,Di as KZ,Dj as bZ,EM as w6,Ej as Y0,Ey as v6,FB as n,Fj as D9,Fv as h0,Gi as E0,Gj as XZ,Gv as uZ,HB as U6,HF as T0,HN as aY,HO as zY,Hj as Q0,Hv as k0,IF as s9,Ij as v9,Iv as x0,Iz as cY,Jj as A9,Jv as u0,Jz as _6,KI as o6,KO as qY,Kj as sY,Kv as p0,Ky as CY,Li as hY,Lv as pZ,Ly as TY,Mv as cZ,My as L6,NN as nY,Nv as c0,Nz as mY,ON as kZ,Ov as m0,Oz as O6,PH as PY,Pv as g0,Qv as d0,Rv as l0,SH as J6,SN as xZ,Sn as j9,Sv as a0,Tn as i6,Tv as n0,Uv as r0,Vv as i0,WD as C0,Wv as GQ,XD as o9,_x as xY,bu as I0,by as D6,el as yZ,eu as i9,fr as M0,hO as wZ,hl as $Z,hs as ZY,il as e0,ir as b0,is as xQ,jr as fZ,js as JY,ks as lQ,lB as HY,ls as kY,mB as aQ,nr as r9,pL as BY,pM as gY,rL as rQ,uO as rY,vo as iZ,wo as AY,xB as NY,xI as P9,xo as FZ,yB as nQ,yM as dY,yo as _Y,zB as RY,zI as F9,zj as L9}from"./cli-0.5.14-jf3et57a.mjs";import{ET as Q9,IT as R6}from"./cli-0.5.14-qb0wcr18.mjs";import{MU as P0,NU as a9}from"./cli-0.5.14-3pq7th32.mjs";import{$V as $0,NV as y0,OV as d9,aW as j0,bW as l9,hW as F0,iW as n9}from"./cli-0.5.14-ya2ykcd6.mjs";import{DY as g9,FW as m9,YX as p,_X as M}from"./cli-0.5.14-r8f2hssc.mjs";import{a0 as a,b0 as E,c0 as b,d0 as J0}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as c9}from"./cli-0.5.14-anv6260e.mjs";import{K4 as G6,N3 as jY,j2 as $Y,n2 as K6}from"./cli-0.5.14-1d34ehpy.mjs";import{$8 as TZ,A$ as V6,A9 as n6,D9 as Y9,Faa as W6,I9 as T6,X7 as E9,b9 as x9,dda as U0,e9 as y9,f$ as $9,gda as p9,i7 as _Z,j7 as k9,kda as e,m$ as r6,sda as w0,u8 as a6,v7 as GY,waa as yY,x$ as wY,x7 as dQ,y$ as EY}from"./cli-0.5.14-ndq9rhn7.mjs";import{Dda as B0,Lda as L0,Pda as h9}from"./cli-0.5.14-yms71vy8.mjs";import{Aea as q,Bea as EZ,xea as Y,yea as h,zea as JZ}from"./cli-0.5.14-nef9j9x3.mjs";import{Mea as oY,Xea as $6}from"./cli-0.5.14-pvx7sqsj.mjs";import{$ea as X6,Dfa as u9,_ea as UY,bfa as RZ,efa as z0,ffa as q0,gfa as D0,hfa as v0,kfa as A0,lfa as _0,xfa as O0}from"./cli-0.5.14-rj1nh8jm.mjs";import{Ofa as g,Qfa as UZ}from"./cli-0.5.14-easqaf33.mjs";import{Qga as I,Tfa as Z9,Tga as HZ,Vfa as C6,tga as ZZ,uga as WY,yga as PZ}from"./cli-0.5.14-6raawc34.mjs";import{Vga as KY,Zga as gQ}from"./cli-0.5.14-efp8wjg1.mjs";import{aha as VY,iha as w9,jha as tZ,pha as lZ}from"./cli-0.5.14-ef8ctc2m.mjs";import{Qla as J9,Rla as DZ,Sla as H9,Ula as N9,Vla as X0,Xla as B9,ana as IY,dna as BZ,jja as NZ,pja as W0,qja as eY,yka as OY}from"./cli-0.5.14-gm5kmg2w.mjs";import{Koa as N0,Noa as hZ,Ooa as OZ,Poa as rZ}from"./cli-0.5.14-hanfd2pz.mjs";var WQ={};hZ(WQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function SZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:V,onSummarize:W,onClose:H,preselectedMessage:G}){let K=I0((U)=>U.fileHistory),[B,z]=T.useState(void 0),J=M0(),L=T.useMemo(t9,[]),_=T.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[w,v]=T.useState(_.length-1),P=Math.max(0,Math.min(w-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[D,F]=T.useState(G),[y,S]=T.useState(void 0);T.useEffect(()=>{if(!G||!J)return;let U=!1;return fZ(K,G.uuid).then((R)=>{if(!U)S(R)}),()=>{U=!0}},[G,J,K]);let[O,$]=T.useState(!1),[d,i]=T.useState(null),[o,C]=T.useState("both"),[k,x]=T.useState(""),[A,j]=T.useState("");function N(U){let R=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],c={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return R.push({value:"summarize",label:"Summarize from here",...c,onChange:x}),R.push({value:"nevermind",label:"Never mind"}),R}T.useEffect(()=>{g("tengu_message_selector_opened",{})},[]);async function u(U){Z(),$(!0);try{await X(U),$(!1),H()}catch(R){e(R),$(!1),z(`Failed to restore the conversation:
2
+ ${R}`)}}async function l(U){let R=Q.indexOf(U),c=Q.length-1-R;if(g("tengu_message_selector_selected",{index_from_end:c,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){H();return}if(!J){await u(U);return}let m=await fZ(K,U.uuid);F(U),S(m)}async function VZ(U){if(g("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(G)H();else F(void 0);return}if(SZ(U)){Z(),$(!0),i(U),z(void 0);try{let m=U==="summarize_up_to"?"up_to":"from",YZ=(m==="up_to"?A:k).trim()||void 0;await W(D,YZ,m),$(!1),i(null),F(void 0),H()}catch(m){e(m),$(!1),i(null),F(void 0),z(`Failed to summarize:
3
+ ${m}`)}return}Z(),$(!0),z(void 0);let R=null,c=null;if(U==="code"||U==="both")try{await V(D)}catch(m){R=m,e(R)}if(U==="conversation"||U==="both")try{await X(D)}catch(m){c=m,e(c)}if($(!1),F(void 0),c&&R)z(`Failed to restore the conversation and code:
4
+ ${c}
5
+ ${R}`);else if(c)z(`Failed to restore the conversation:
6
+ ${c}`);else if(R)z(`Failed to restore the code:
7
+ ${R}`);else H()}let WZ=P0(),t=T.useCallback(()=>{if(D&&!G){F(void 0);return}g("tengu_message_selector_cancelled",{}),H()},[H,D,G]),I9=T.useCallback(()=>v((U)=>Math.max(0,U-1)),[]),C9=T.useCallback(()=>v((U)=>Math.min(_.length-1,U+1)),[_.length]),T9=T.useCallback(()=>v(0),[]),R9=T.useCallback(()=>v(_.length-1),[_.length]),f9=T.useCallback(()=>{let U=_[w];if(U)l(U)},[_,w,l]);$0("confirm:no",t,{context:"Confirmation",isActive:!D}),j0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":T9,"messageSelector:bottom":R9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!O&&!B&&!D&&f});let[K0,G0]=T.useState({});T.useEffect(()=>{async function U(){if(!J)return;Promise.all(_.map(async(R,c)=>{if(R.uuid!==L){let m=b0(K,R.uuid),YZ=_.at(c+1),AZ=m?XQ(Q,R.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)G0((r)=>({...r,[c]:AZ}));else G0((r)=>({...r,[c]:void 0}))}}))}U()},[_,Q,L,K,J]);let vZ=J&&y?.filesChanged&&y.filesChanged.length>0,S9=!B&&!D&&!G&&f;return b(p,{flexDirection:"column",width:"100%",children:[E(F0,{color:"suggestion"}),b(p,{flexDirection:"column",marginX:1,gap:1,children:[E(M,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:b(M,{color:"error",children:["Error: ",B]})}),!f&&E(a,{children:E(M,{children:"Nothing to rewind to yet."})}),!B&&D&&f&&b(a,{children:[b(M,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),b(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(H0,{userMessage:D,color:"text",isCurrent:!1}),b(M,{dimColor:!0,children:["(",L0(new Date(D.timestamp)),")"]})]}),E(YQ,{selectedRestoreOption:o,canRestoreCode:!!vZ,diffStatsForRestore:y}),O&&SZ(d)?b(p,{flexDirection:"row",gap:1,children:[E(T0,{}),E(M,{children:"Summarizing…"})]}):E(C0,{isDisabled:O,options:N(!!vZ),defaultFocusValue:vZ?"both":"conversation",onFocus:(U)=>C(U),onChange:(U)=>VZ(U),onCancel:()=>G?H():F(void 0)}),vZ&&E(p,{marginBottom:1,children:b(M,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),S9&&b(a,{children:[J?E(M,{children:"Restore the code and/or conversation to the point before…"}):E(M,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((U,R)=>{let c=P+R,m=c===w,YZ=U.uuid===L,AZ=c in K0,r=K0[c],IZ=r?.filesChanged&&r.filesChanged.length;return b(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:m?b(M,{color:"permission",bold:!0,children:[_Z.pointer," "]}):E(M,{children:" "})}),b(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(H0,{userMessage:U,color:m?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&E(p,{height:1,flexDirection:"row",children:r?E(a,{children:E(M,{dimColor:!m,color:"inactive",children:IZ?b(a,{children:[IZ===1&&r.filesChanged[0]?`${QZ.basename(r.filesChanged[0])} `:`${IZ} files changed `,E(f0,{diffStats:r})]}):E(a,{children:"No code changes"})})}):b(M,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(M,{dimColor:!0,italic:!0,children:WZ.pending?b(a,{children:["Press ",WZ.keyName," again to exit"]}):b(a,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function ZQ(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function YQ(Q){let Z=GZ.c(11),{selectedRestoreOption:X,canRestoreCode:V,diffStatsForRestore:W}=Q,H=V&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=ZQ(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=E(M,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==W||Z[5]!==X||Z[6]!==H)B=!SZ(X)&&(H?E(QQ,{diffStatsForRestore:W}):E(M,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=W,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=b(p,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function QQ(Q){let Z=GZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=E(M,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let V=X.filesChanged.length,W;if(V===1){let K;if(Z[1]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];W=K}else if(V===2){let K;if(Z[3]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=QZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];W=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];W=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=E(f0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==W||Z[12]!==H)G=E(a,{children:b(M,{dimColor:!0,children:["The code will be restored"," ",H," in ",W,"."]})}),Z[11]=W,Z[12]=H,Z[13]=G;else G=Z[13];return G}function f0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let V;if(Z[0]!==X.insertions)V=b(M,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=V;else V=Z[1];let W;if(Z[2]!==X.deletions)W=b(M,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=W;else W=Z[3];let H;if(Z[4]!==V||Z[5]!==W)H=b(a,{children:[V,W]}),Z[4]=V,Z[5]=W,Z[6]=H;else H=Z[6];return H}function H0(Q){let Z=GZ.c(31),{userMessage:X,color:V,dimColor:W,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let S;if(Z[0]!==V||Z[1]!==W)S=E(p,{width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"(current)"})}),Z[0]=V,Z[1]=W,Z[2]=S;else S=Z[2];return S}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,w,v,P,f,D;if(Z[3]!==V||Z[4]!==K||Z[5]!==B||Z[6]!==W||Z[7]!==z||Z[8]!==G){D=Symbol.for("react.early_return_sentinel");Z:{let S=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",O=U0(S);if(E0(O)){let $;if(Z[17]!==V||Z[18]!==W)$=E(p,{flexDirection:"row",width:"100%",children:E(M,{italic:!0,color:V,dimColor:W,children:"((empty message))"})}),Z[17]=V,Z[18]=W,Z[19]=$;else $=Z[19];D=$;break Z}if(O.includes("<bash-input>")){let $=KZ(O,"bash-input");if($){let d;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))d=E(M,{color:"bashBorder",children:"!"}),Z[20]=d;else d=Z[20];D=b(p,{flexDirection:"row",width:"100%",children:[d,b(M,{color:V,dimColor:W,children:[" ",$]})]});break Z}}if(O.includes(`<${RZ}>`)){let $=KZ(O,RZ),d=KZ(O,"command-args"),i=KZ(O,"skill-format")==="true";if($)if(i){D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["Skill(",$,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:b(M,{color:V,dimColor:W,children:["/",$," ",d]})});break Z}}L=p,P="row",f="100%",J=M,_=V,w=W,v=G?B0(O,K-G,!0):O.slice(0,500).split(`
8
+ `).slice(0,4).join(`
9
+ `)}Z[3]=V,Z[4]=K,Z[5]=B,Z[6]=W,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=w,Z[13]=v,Z[14]=P,Z[15]=f,Z[16]=D}else J=Z[9],L=Z[10],_=Z[11],w=Z[12],v=Z[13],P=Z[14],f=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==w||Z[24]!==v)F=E(J,{color:_,dimColor:w,children:v}),Z[21]=J,Z[22]=_,Z[23]=w,Z[24]=v,Z[25]=F;else F=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)y=E(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=y;else y=Z[30];return y}function XQ(Q,Z,X){let V=Q.findIndex((B)=>B.uuid===Z);if(V===-1)return;let W=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(W===-1)W=Q.length;let H=[],G=0,K=0;for(let B=V+1;B<W;B++){let z=Q[B];if(!z||!xZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=TZ(L.lines,(v)=>v.startsWith("+")),w=TZ(L.lines,(v)=>v.startsWith("-"));G+=_,K+=w}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(kZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],V=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(V.indexOf(`<${D0}>`)!==-1||V.indexOf(`<${v0}>`)!==-1||V.indexOf(`<${z0}>`)!==-1||V.indexOf(`<${q0}>`)!==-1||V.indexOf(`<${_0}>`)!==-1||V.indexOf(`<${A0}>`)!==-1||V.indexOf(`<${O0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let V=Q[X];if(!V)continue;if(kZ(V))continue;if(xZ(V))continue;if(V.type==="progress")continue;if(V.type==="system")continue;if(V.type==="attachment")continue;if(V.type==="user"&&V.isMeta)continue;if(V.type==="assistant"){let W=V.message.content;if(Array.isArray(W)){if(W.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(V.type==="user")return!1}return!0}var GZ,T,CZ=7;var KQ=OZ(()=>{k9();UZ();i9();r9();w0();a9();g9();l9();p9();wZ();o9();s9();d9();u9();x9();h9();n9();J0();GZ=N0(m9(),1),T=N0(c9(),1)});var b6={};hZ(b6,{getCronJitterConfig:()=>M6});function M6(){let Q=oY("tengu_kairos_cron_config",XZ,j6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var j6=60000,oZ=1800000,P6=2592000000,F6;var I6=OZ(()=>{JZ();$6();sY();EZ();F6=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(oZ),oneShotMaxMs:Y.number().int().min(0).max(oZ),oneShotFloorMs:Y.number().int().min(0).max(oZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(P6).default(XZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as f6,readFile as S6,unlink as X9,writeFile as eZ}from"fs/promises";import{dirname as h6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await S6(zZ(Q),"utf8")}catch{return}let X=x6().safeParse(Y9(Z,!1));return X.success?X.data:void 0}async function tY(Q,Z){let X=zZ(Z),V=ZZ(Q);try{return await eZ(X,V,{flag:"wx"}),!0}catch(W){let H=tZ(W);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(h6(X),{recursive:!0});try{return await eZ(X,V,{flag:"wx"}),!0}catch(G){if(tZ(G)==="EEXIST")return!1;throw G}}throw W}}function sZ(Q){MZ?.(),MZ=Z9(async()=>{await qZ(Q)})}async function Z0(Q){let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(V,Z))return LZ=void 0,sZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let W=await W9(Z);if(W?.sessionId===X){if(W.pid!==process.pid)await eZ(zZ(Z),ZZ(V)),sZ(Q);return!0}if(W&&Q9(W.pid)){if(LZ!==W.sessionId)LZ=W.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${W.sessionId} (PID ${W.pid})`);return!1}if(W)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${W.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(V,Z))return LZ=void 0,sZ(Q),!0;return!1}async function qZ(Q){MZ?.(),MZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??NZ(),V=await W9(Z);if(!V||V.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,MZ,LZ;var K9=OZ(()=>{JZ();BZ();C6();HZ();lZ();R6();T6();EZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var d6={};hZ(d6,{takeDueSessionWakeup:()=>O9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>g6,buildMissedTaskNotification:()=>U9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function O9(Q){let Z=X0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:V0(Z.prompt),reason:Z.reason}}function g6(Q){let{onFire:Z,isLoading:X,assistantMode:V=!1,onFireTask:W,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,w=[],v=new Map,P=new Set,f=new Set,D=null,F=null,y=null,S=null,O=!1,$=!1;async function d(C){let k=await q9(K);if(O)return;if(w=k,!C)return;let x=Date.now(),A=A9(k,x).filter((j)=>!j.recurring&&!P.has(j.id)&&(!L||L(j)));if(A.length>0){for(let j of A)P.add(j.id),v.set(j.id,1/0);if(g("tengu_scheduled_task_missed",{count:A.length,taskIds:A.map((j)=>j.id).join(",")}),H)H(A);else Z(U9(A));Y0(A.map((j)=>j.id),K).catch((j)=>I(`[ScheduledTasks] failed to remove missed tasks: ${j}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function i(){if(J?.())return;if(X()&&!V)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function j(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=v.get(N.id);if(l===void 0)l=N.recurring?Q0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:v9(N.cron,N.createdAt,N.id,A)??1/0,v.set(N.id,l),I(`[ScheduledTasks] scheduled ${N.id} for ${l===1/0?"never":new Date(l).toISOString()}`);if(C<l)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),g("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?V0(N.prompt,void 0,N.agentId):N.prompt;if(W)W(VZ===N.prompt?N:{...N,prompt:VZ});else Z(VZ);let WZ=_9(N,C,A.recurringMaxAgeMs);if(WZ){let t=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),g("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Q0(N.cron,C,N.id,A)??1/0;if(v.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),v.delete(N.id);else f.add(N.id),Y0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),v.delete(N.id)}if($){for(let N of w)j(N,!1);if(x.length>0){for(let N of x)f.add(N);D9(x,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of x)f.delete(N)})}}if(K===void 0){for(let u of H9())j(u,!0);let N=O9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("tengu_schedule_wakeup_fire",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){v.clear();return}for(let N of v.keys())if(!k.has(N))v.delete(N)}async function o(){if(O)return;if(D)clearInterval(D),D=null;let{default:C}=await import("./index-0.5.14-w09z3j2p.mjs");if(O)return;if($=await Z0(_).catch(()=>!1),O){if($)$=!1,qZ(_);return}if(!$)y=setInterval(()=>{Z0(_).then((x)=>{if(O){if(x)qZ(_);return}if(x){if($=!0,y)clearInterval(y),y=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),y.unref?.();d(!0);let k=z9(K);S=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),S.on("add",()=>void d(!1)),S.on("change",()=>void d(!1)),S.on("unlink",()=>{if(!O)w=[],v.clear()}),F=setInterval(i,G9),F.unref?.()}return{start(){if(O=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${bZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${DZ()}, hasTasks=${bZ()}`),!DZ()&&(V||bZ()))J9(!0);if(DZ()){o();return}D=setInterval((C)=>{if(DZ())C()},G9,o),D.unref?.()},stop(){if(O=!0,D)clearInterval(D),D=null;if(F)clearInterval(F),F=null;if(y)clearInterval(y),y=null;if(S?.close(),S=null,$)$=!1,qZ(_)},getNextFireTime(){let C=1/0;for(let k of v.values())if(k<C)C=k;if(K===void 0){let k=X0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function U9(Q){let Z=Q.length>1,X=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
10
+
11
+ Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,V=Q.map((W)=>{let H=`[${L9(W.cron)}, created ${new Date(W.createdAt).toLocaleString()}]`,G=(W.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
12
+ ${K}
13
+ ${W.prompt}
14
+ ${K}`});return`${X}
15
+
16
+ ${V.join(`
17
+
18
+ `)}`}var G9=1000,c6=300,m6=5000;var l6=OZ(()=>{BZ();UZ();u6();sY();K9();HZ();p6()});import{randomUUID as dZ}from"crypto";JZ();EZ();GQ();var JQ=q(()=>Y.unknown()),HQ=q(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),NQ=q(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(u0(),Y.array(HQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),g0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),EX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(c0()),account:m0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:i0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),BQ=q(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),LQ=q(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(k0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),zQ=q(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:x0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),qQ=q(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),DQ=q(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),vQ=q(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),yX=q(()=>Y.object({mcpServers:Y.array(uZ())}).describe("Response containing the current status of all MCP server connections.")),AQ=q(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),_Q=q(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),OQ=q(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),$X=q(()=>Y.object({categories:Y.array(_Q()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(OQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),UQ=q(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),jX=q(()=>Y.object({canRewind:Y.boolean(),error:Y.string().optional(),filesChanged:Y.array(Y.string()).optional(),insertions:Y.number().optional(),deletions:Y.number().optional()}).describe("Result of a rewindFiles operation.")),wQ=q(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),PX=q(()=>Y.object({cancelled:Y.boolean()}).describe("Result of a cancel_async_message operation. cancelled=false means the message was not in the queue (already dequeued or never enqueued).")),EQ=q(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),yQ=q(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:p0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),$Q=q(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:JQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),jQ=q(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),h0())}).describe("Replaces the set of dynamically managed MCP servers.")),FX=q(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),PQ=q(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),MX=q(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(uZ()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),FQ=q(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),MQ=q(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),bQ=q(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),IQ=q(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),CQ=q(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),bX=q(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),TQ=q(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),o0=q(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),RQ=q(()=>Y.union([BQ(),LQ(),NQ(),zQ(),qQ(),DQ(),vQ(),AQ(),yQ(),$Q(),UQ(),wQ(),EQ(),jQ(),PQ(),FQ(),MQ(),bQ(),IQ(),CQ(),TQ()])),mZ=q(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:RQ()})),fQ=q(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),SQ=q(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),s0=q(()=>Y.object({type:Y.literal("control_response"),response:Y.union([fQ(),SQ()])})),hQ=q(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),t0=q(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),kQ=q(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),IX=q(()=>Y.union([r0(),l0(),a0(),n0(),s0(),mZ(),hQ(),t0()])),CX=q(()=>Y.union([d0(),mZ(),s0(),t0(),kQ()]));lQ();HZ();dQ();lZ();JZ();HZ();EZ();e0();xQ();var xX=q(()=>h.object({tool_name:h.string().describe("The name of the tool requesting permission"),input:h.record(h.string(),h.unknown()).describe("The input for the tool"),tool_use_id:h.string().optional().describe("The unique tool use request ID")})),YY=q(()=>h.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),uQ=q(()=>h.object({behavior:h.literal("allow"),updatedInput:h.record(h.string(),h.unknown()),updatedPermissions:h.array(ZY()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:h.string().optional(),decisionClassification:YY()})),pQ=q(()=>h.object({behavior:h.literal("deny"),message:h.string(),interrupt:h.boolean().optional(),toolUseID:h.string().optional(),decisionClassification:YY()})),gZ=q(()=>h.union([uQ(),pQ()]));function jZ(Q,Z,X,V){let W={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)V.setAppState((K)=>({...K,toolPermissionContext:yZ(K.toolPermissionContext,H)})),$Z(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:W}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),V.abortController.abort();return{...Q,decisionReason:W}}rQ();gQ();PZ();JZ();aQ();qY();e0();iQ();PZ();nQ();PZ();var cQ=/\u2028|\u2029/g;function mQ(Q){return Q.replace(cQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function QY(Q){return mQ(ZZ(Q))}var oQ="SandboxNetworkAccess";function sQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function tQ(Q,Z,X,V){let W;try{W=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{W=Q.name}return{tool_name:Q.name,action_description:W,tool_use_id:X,request_id:V,input:Z}}var eQ=1000;class Z6{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new NY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>eQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(ZZ({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
19
+ `)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let X=Q.indexOf(`
20
+ `);if(X===-1)break;let V=Q.slice(0,X);Q=Q.slice(X+1);let W=await this.processLine(V);if(W)GY("info","cli_stdin_message_parsed",{type:W.type}),yield W}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let V=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(W){X.reject(W)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=DY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let X=Object.keys(Z.variables);for(let[V,W]of Object.entries(Z.variables))process.env[V]=W;I(`[structuredIO] applied update_environment_variables: ${X.join(", ")}`);return}if(Z.type==="control_response"){let X="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(X)HY(X,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let G=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof G==="string"&&this.resolvedToolUseIds.has(G)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${G} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let W=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(W))}catch(H){V.reject(H)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)XY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")XY(`Error: Expected message role 'user', got '${Z.message.role}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){KY(QY(Q)+`
21
+ `)}async sendRequest(Q,Z,X,V=dZ()){let W={type:"control_request",request_id:V,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(W),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(W);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:V});let G=this.pendingRequests.get(V);if(G)this.trackResolvedToolUseId(G.request),G.reject(new VY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(V,{request:{type:"control_request",request_id:V,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(V)}}createCanUseTool(Q){return async(Z,X,V,W,H,G)=>{let K=G??await BY(Z,X,V,W,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=V.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,V,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let w=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:sQ(K.decisionReason),tool_use_id:H,agent_id:V.agentId},gZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),v=await Promise.race([L,w]);if(v.source==="hook"){if(v.decision)return w.catch(()=>{}),B.abort(),v.decision;let P=await w;return jZ(P.result,Z,X,V)}return jZ(v.result,Z,X,V)}catch(L){return jZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,V)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,V,W)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:V||void 0},JY(),W)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,V,W,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:W,url:H,elicitation_id:G,requested_schema:X},o0(),V)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:oQ,input:{host:Q.host},tool_use_id:dZ(),description:`Allow network connection to ${Q.host}?`},gZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function XY(Q){console.error(Q),process.exit(1)}async function Y6(Q,Z,X,V,W){let G=V.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,V,G,W,V.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){$Z(L);let _=V.getAppState(),w=yZ(_.toolPermissionContext,L);V.setAppState((v)=>{if(v.toolPermissionContext===w)return v;return{...v,toolPermissionContext:w}})}return{behavior:"allow",updatedInput:J,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}_Y();function HV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?Q6(Z):Z,uuid:X}}function Q6(Q){if(!Q.some(vY))return Q;return Q.map((Z)=>{if(!vY(Z))return Z;let X=Z.source,V=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:AY(Z.source.data);return{...Z,source:{type:"base64",media_type:V,data:Z.source.data}}})}function vY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}BZ();J6();V6();G6();X6();K6();W6();import{randomUUID as H6}from"crypto";function N6(Q){return Q===wY?EY:Q}function OV(Q){let X=yY()?.outputStyle??PY,V={type:"system",subtype:"init",cwd:UY(),session_id:NZ(),tools:Q.tools.map((W)=>N6(W.name)),mcp_servers:Q.mcpClients.map((W)=>({name:W.name,status:W.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),apiKeySource:jY().source,betas:OY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((W)=>W.agentType),skills:Q.skills.filter((W)=>W.userInvocable!==!1).map((W)=>W.name),plugins:Q.plugins.map((W)=>({name:W.name,path:W.path,source:W.source})),uuid:H6()};return V.fast_mode_state=$Y(Q.model,Q.fastMode),V}var FY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function B6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let V=[],W=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(W){if(W==="["&&L==="["){H=J;continue}if(L!==FY[W])continue;if(W==="'"&&G(Q[J+1]))continue;V.push({start:H,end:J+1}),W=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in FY)W=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(V.some((P)=>L>=P.start&&L<P.end))continue;let w=Q[L-1],v=Q[_];if(w==="/"||w==="\\"||w==="-")continue;if(v==="/"||v==="\\"||v==="-"||v==="?")continue;if(v==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function wV(Q){return B6(Q,"ultrareview")}UZ();wZ();w6();_6();O6();v6();qY();_Y();D6();wZ();U6();A6();import{randomUUID as E6}from"crypto";BZ();UZ();wZ();L6();z6();import{randomUUID as q6}from"crypto";function MY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function bY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function fY(Q,Z,X,V,W,H,G){let K=q6();IY(K);let B=typeof Q==="string"?Q:Q.find((w)=>w.type==="text")?.text||"";RY(B);let z=typeof Q==="string"?Q:Q.findLast((w)=>w.type==="text")?.text||"";if(z)TY("user_prompt",{prompt_length:String(z.length),prompt:CY(z),"prompt.id":K});let J=MY(B),L=bY(B);if(g("tengu_input_prompt",{is_negative:J,is_keep_going:L}),Z.length>0){let w=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...w,...Z],uuid:W,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}return{messages:[s({content:Q,uuid:W,permissionMode:H,isMeta:G||void 0}),...V],shouldQuery:!0}}async function iV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:V,context:W,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:w,bridgeOrigin:v,isMeta:P,skipAttachments:f}){let D=typeof Q==="string"?Q:null;if(X==="prompt"&&D!==null&&!P)B?.(D);n("query_process_user_input_base_start");let F=W.getAppState(),y=await y6(Q,X,V,W,H,G,K,z,J,L,_,F.toolPermissionContext.mode,w,v,P,f,Z);if(n("query_process_user_input_base_end"),!y.shouldQuery)return y;n("query_hooks_start");let S=hY(Q)||"";for await(let O of iY(S,F.toolPermissionContext.mode,W,W.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let $=rY(O.blockingError);return{messages:[aY(`${$}
22
+
23
+ Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let $=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:$})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(kY({type:"hook_additional_context",content:O.additionalContexts.map(SY),hookName:"UserPromptSubmit",toolUseID:`hook-${E6()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:SY(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return n("query_hooks_end"),y}var aZ=1e4;function SY(Q){if(Q.length>aZ)return`${Q.substring(0,aZ)}… [output truncated - exceeded ${aZ} characters]`;return Q}async function y6(Q,Z,X,V,W,H,G,K,B,z,J,L,_,w,v,P,f){let D=null,F=[],y=[],S=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){n("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let u=await iZ(N);if(u.dimensions){let l=FZ(u.dimensions);if(l)y.push(l)}A.push(u.block)}else A.push(N);S=A,n("query_image_processing_end");let j=A[A.length-1];if(j?.type==="text")D=j.text,F=A.slice(0,-1);else F=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=W?Object.values(W).filter(cY):[],$=O.map((A)=>A.id),d=W?await xY(W):new Map;n("query_pasted_image_processing_start");let i=await Promise.all(O.map(async(A)=>{let j={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await iZ(j),originalDimensions:A.dimensions,sourcePath:A.sourcePath??d.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:j,sourcePath:N}of i){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)y.push(u)}else if(j){let u=FZ(j,N);if(u)y.push(u)}else if(N)y.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(w&&D!==null&&D.startsWith("/")){let A=pY(D),j=A?lY(A.commandName,V.options.commands):void 0;if(j)if(dY(j))C=!1;else{let N=`/${gY(j)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:K}),nY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&D!==null&&(Z!=="prompt"||C||!D.startsWith("/"));n("query_attachment_loading_start");let x=k?await uY(mY(D,V,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.5.14-w72vmsa3.mjs");return nZ(await A(D,F,x,V,X),y)}if(D!==null&&!C&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.5.14-1pq0axg8.mjs"),j=await A(D,F,o,x,V,X,K,B,J);return nZ(j,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),j=x.find((N)=>N.attachment.type==="agent_mention");if(j){let N=`@agent-${j.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("tengu_subagent_at_mention",{is_subagent_only:u,is_prefix:l})}}return nZ(fY(S,o,$,x,K,L,v),y)}function nZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}i6();BZ();HZ();lZ();n6();a6();w0();o6();r6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let V=[],W=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=b9(K.source,X?.projectRoot);if(!B)V.push(G);else if(K.sourceIsFallback)H.push(G);else if(!j9(z,B.source))W.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:V,sourceChanged:W,upToDate:H}}async function IW(Q){let Z=P9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await F9()}catch(J){e(J),X={}}let V=e6(Z,X,{projectRoot:W0()}),W=[...V.missing.map((J)=>({name:J,source:b9(Z[J].source),action:"install"})),...V.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of W){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&$9(J.source)&&!await y9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:V.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:w}=G[J];Q?.onProgress?.({type:"installing",name:L,action:w,index:J+1,total:G.length});try{let v=await M9(_);if(w==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:v.alreadyMaterialized})}catch(v){let P=w9(v);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(v)}}return{installed:K,updated:B,failed:z,upToDate:V.upToDate,skipped:H}}function b9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??W0(),V=E9(X);return{...Q,path:t6(V??X,Q.path)}}return Q}
24
+ export{HV as pa,N6 as qa,OV as ra,e9 as sa,S0 as ta,VQ as ua,WQ as va,KQ as wa,wV as xa,iV as ya,gZ as za,jZ as Aa,QY as Ba,Z6 as Ca,e6 as Da,IW as Ea,M6 as Fa,b6 as Ga,I6 as Ha,g6 as Ia,d6 as Ja,l6 as Ka};
@@ -0,0 +1,2 @@
1
+ import{GJ as N,PJ as $,QJ as k,WJ as V,wJ as C}from"./cli-0.5.14-jf3et57a.mjs";import{DY as D,FW as P,YX as f,_X as t,cY as v}from"./cli-0.5.14-r8f2hssc.mjs";import{b0 as n,c0 as i,d0 as M}from"./cli-0.5.14-tgeskqzs.mjs";import{Koa as w,Ooa as L}from"./cli-0.5.14-hanfd2pz.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as Ff,z as Gf};
@@ -0,0 +1,2 @@
1
+ import{Pba as y,vba as P}from"./cli-0.5.14-ndq9rhn7.mjs";import{Ooa as U}from"./cli-0.5.14-hanfd2pz.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
+ export{G as mU,M as nU,N as oU,Y as pU,C as qU,_ as rU,R as sU,f as tU,E as uU,I as vU,k as wU,A as xU,b as yU,h as zU,m as AU,p as BU,u as CU,T as DU,e as EU,W as FU,a as GU,s as HU,r as IU,g as JU};
@@ -0,0 +1,2 @@
1
+ import{Ooa as M}from"./cli-0.5.14-hanfd2pz.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as l6,W as m6,X as n6,Z as o6,Y as p6};
@@ -0,0 +1,2 @@
1
+ import{Cna as M,Dna as Y}from"./cli-0.5.14-y3kkm5vp.mjs";import{Ooa as W}from"./cli-0.5.14-hanfd2pz.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
+ export{$ as qha,N as rha,X as sha,_ as tha,j as uha,U as vha,I as wha,S as xha,T as yha,c as zha,L as Aha,w as Bha,z as Cha,O as Dha,x as Eha,k as Fha};
@@ -0,0 +1,3 @@
1
+ import{Doa as x,Foa as y,Joa as C}from"./cli-0.5.14-g91kxyj3.mjs";import{Moa as k}from"./cli-0.5.14-hanfd2pz.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
+ `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
+ export{MF as T6};
@@ -0,0 +1,2 @@
1
+ import{DY as f,FW as s,_X as t}from"./cli-0.5.14-r8f2hssc.mjs";import{b0 as n,c0 as c,d0 as r}from"./cli-0.5.14-tgeskqzs.mjs";import{Koa as m,Ooa as l}from"./cli-0.5.14-hanfd2pz.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
+ export{T as wf,p as xf};
@@ -0,0 +1,4 @@
1
+ import{Sf as g,Tf as My}from"./cli-0.5.14-493n054v.mjs";import{fg as by,hg as GG}from"./cli-0.5.14-t3d6ycsp.mjs";import{Dh as Xy,Fh as Zy,Gh as oy}from"./cli-0.5.14-mys2py3s.mjs";import{$D as i,$P as Hy,AI as Ny,Bm as Gy,Em as ky,Fm as qy,Gm as zy,Ht as U,Im as Iy,It as _y,KI as ey,KP as jy,Mj as t,Np as Jy,Om as $y,Qj as gy,RI as Oy,VI as yG,WD as d,XD as ry,Xp as Qy,aE as Ly,cq as xy,fr as v,nr as ly,rI as j,sI as ty,uQ as qG,wv as Wy,xm as e,zm as yy,zv as ay}from"./cli-0.5.14-jf3et57a.mjs";import{MT as Ry,NT as cy}from"./cli-0.5.14-qb0wcr18.mjs";import{PU as wy,QU as Py,RU as Uy,VU as kG}from"./cli-0.5.14-3pq7th32.mjs";import{$U as Ky,fV as ny}from"./cli-0.5.14-qwa1c8w2.mjs";import{DY as hy,FW as Yy,WX as Q,XX as sy,YX as L,_X as E}from"./cli-0.5.14-r8f2hssc.mjs";import{b0 as N,c0 as u,d0 as C}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as Fy}from"./cli-0.5.14-anv6260e.mjs";import{D2 as n,E2 as c,K4 as iy,b3 as dy,r4 as h}from"./cli-0.5.14-1d34ehpy.mjs";import{e5 as _,f5 as Dy}from"./cli-0.5.14-1n5t7fhh.mjs";import{Faa as Ey,Pba as M,e_ as J,g_ as uy,n8 as a,qaa as o,sba as w,u8 as fy,vaa as r,vba as q,w8 as P,waa as T,x8 as Ay}from"./cli-0.5.14-ndq9rhn7.mjs";import{Lea as Z,Wea as f,Xea as A}from"./cli-0.5.14-pvx7sqsj.mjs";import{Ofa as D,Qfa as By}from"./cli-0.5.14-easqaf33.mjs";import{Qga as l,Tga as py}from"./cli-0.5.14-6raawc34.mjs";import{Koa as p}from"./cli-0.5.14-hanfd2pz.mjs";hy();A();By();M();ry();My();Ly();C();var s=p(Yy(),1),F=p(Fy(),1),Sy={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return f("tengu_desktop_upsell",Sy)}function Ty(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function bG(){if(!Ty())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function wG(y){let G=s.c(14),{onDone:k}=y,[z,X]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(Cy,W),z){let b;if(G[1]!==k)b=N(g,{onDone:()=>k()}),G[1]=k,G[2]=b;else b=G[2];return b}let O;if(G[3]!==k)O=function(my){switch(my){case"try":{X(!0);return}case"never":{w(vy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=O;else O=G[4];let I=O,K;if(G[5]===Symbol.for("react.memo_cache_sentinel"))K={label:"Open in Claude Code Desktop",value:"try"},G[5]=K;else K=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[K,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let Vy=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=N(L,{marginBottom:1,children:N(E,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let R;if(G[9]!==I)R=()=>I("not-now"),G[9]=I,G[10]=R;else R=G[10];let B;if(G[11]!==I||G[12]!==R)B=N(i,{title:"Try Claude Code Desktop",children:u(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,N(d,{options:Vy,onChange:I,onCancel:R})]})}),G[11]=I,G[12]=R,G[13]=B;else B=G[13];return B}function vy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function Cy(){let y=(q().desktopUpsellSeenCount??0)+1;w((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),D("tengu_desktop_upsell_shown",{seen_count:y})}M();function HG(y){let G=q().numStartups;w((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function $(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}Dy();py();ly();Ey();ny();sy();GG();_y();gy();iy();cy();M();xy();uy();ay();fy();$y();dy();Ay();yG();ey();ty();qG();A();oy();kG();var Y;async function zG(){if(Y!==void 0)return Y;let y=await Ny();return Y=j in y,Y}async function x(y,G,k){if(!await zG())return!1;if(Oy(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((X)=>z.has(X)))return!0}if(k.filePath&&G?.readFileState){if(Wy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var IG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=T(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return l(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claude sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await a()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(jy())return!1;return await Ry()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ky())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claude memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&_.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>P()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>T().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claude is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claude while it works to steer Claude in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claude to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!e())return!1;if(P()!=="macos")return!1;switch(J.terminal){case"vscode":return!await zy();case"cursor":return!await ky();case"windsurf":return!await qy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claude to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(yy())return!1;if((await Gy()).length!==0)return!1;return(await Iy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claude Code using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>P()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!v()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>v()},{id:"continue",content:async()=>"Run claude --continue or claude --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Hy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${U("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${U("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>P()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=n()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return Z("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claude thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Jy(c()))return!1;if(o("policySettings")?.effortLevel!==void 0)return!1;if(Qy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return Z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claude to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return Z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!t())return!1;return Z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=Uy();return k?`Share Claude Code and earn ${G(Py(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=wy();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Xy(),z=k?Zy(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>by()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],JG=[];function QG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function nG(y){let k=r().spinnerTipsOverride,z=QG();if(k?.excludeDefault&&z.length>0)return z;let X=[...IG,...JG],W=await Promise.all(X.map((I)=>I.isRelevant(y)));return[...X.filter((I,K)=>W[K]).filter((I)=>$(I.id)>=I.cooldownSessions),...z]}
4
+ export{bG as hb,wG as ib,HG as jb,$ as kb,nG as lb};
@@ -0,0 +1,2 @@
1
+ import{Eq as I,Hq as X}from"./cli-0.5.14-jf3et57a.mjs";import{Fha as W,vha as H}from"./cli-0.5.14-p8gq7nq3.mjs";import{Ooa as V}from"./cli-0.5.14-hanfd2pz.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
2
+ export{q as jc,F as kc,K as lc,Q as mc,R as nc,_ as oc,j as pc,Y as qc};
@@ -0,0 +1,2 @@
1
+ import{Ooa as C}from"./cli-0.5.14-hanfd2pz.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15}});
2
+ export{O as Cea,Q as Dea,R as Eea,S as Fea,T as Gea,U as Hea,W as Iea,X as Jea,Y as Kea,Z as Lea,$ as Mea,v as Nea,w as Oea,P as Pea,B as Qea,D as Rea,h as Sea,N as Tea,m as Uea,c as Vea,F as Wea,J as Xea};
@@ -0,0 +1,3 @@
1
+ import{L as A}from"./cli-0.5.14-jayg77dr.mjs";import{bda as $,cda as F,ida as z,jda as H,sda as P}from"./cli-0.5.14-ndq9rhn7.mjs";import{Cga as V,Gga as C,Qga as X,Rfa as _,Sfa as N,Tfa as B,Tga as E,Vfa as W,tga as O,yga as w}from"./cli-0.5.14-6raawc34.mjs";import{dna as L,jja as Z}from"./cli-0.5.14-gm5kmg2w.mjs";import{Zna as q,poa as y}from"./cli-0.5.14-cw6v5vt0.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
+ export{e as J};
@@ -0,0 +1,3 @@
1
+ import{gc as m,hc as v,ic as wk}from"./cli-0.5.14-5tjkdtp9.mjs";import{BL as Dk,FC as g,FL as e,GC as a,GL as Uk,Iy as s,Jy as Gk,LC as Lk,LO as r,MO as kk,QO as jk,em as p,fE as n,fm as zk,gE as V,hE as i,jt as l,kE as Tk,kt as Vk,wL as o,yL as t}from"./cli-0.5.14-jf3et57a.mjs";import{V0 as T,_0 as Jk,v1 as d,x1 as Ok}from"./cli-0.5.14-1d34ehpy.mjs";import{$4 as c,Q4 as f,R4 as Ik,c5 as Mk}from"./cli-0.5.14-4367p06d.mjs";import{$6 as _k,W6 as S}from"./cli-0.5.14-yfh9te0f.mjs";import{C8 as $k,Faa as Kk,Iba as u,Pba as $,Xca as _,_ca as Hk,qaa as j,v7 as K,vba as x,x7 as Zk,y8 as P,zba as b}from"./cli-0.5.14-ndq9rhn7.mjs";import{Uda as J,Zda as Yk}from"./cli-0.5.14-yms71vy8.mjs";import{Mfa as L,Nfa as Bk}from"./cli-0.5.14-xad83fbb.mjs";import{Qga as B,Tfa as O,Tga as U,Vfa as Rk}from"./cli-0.5.14-6raawc34.mjs";import{cha as h,iha as Y,pha as Xk}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as Wk,vha as E}from"./cli-0.5.14-p8gq7nq3.mjs";import{Gka as F,Ika as y,Yka as w,dna as z}from"./cli-0.5.14-gm5kmg2w.mjs";import{Cna as A,Dna as Qk}from"./cli-0.5.14-y3kkm5vp.mjs";import{Poa as W}from"./cli-0.5.14-hanfd2pz.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.5.14-c9xcj3z5.mjs"),import("./growthbook-0.5.14-p52b1fpn.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.5.14-ss7ej555.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.5.14-hhz4z80t.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.5.14-zn6sdp9e.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-0.5.14-99drb087.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.5.14-40pdqy02.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
+ export{Yq as ba,Zq as ca};
@@ -0,0 +1,24 @@
1
+ import{ZT as T,iU as c}from"./cli-0.5.14-1gr6bex0.mjs";import{hV as w,kV as n}from"./cli-0.5.14-091bzaxj.mjs";import{A7 as X,B7 as f,w8 as y,x8 as g,y7 as M}from"./cli-0.5.14-ndq9rhn7.mjs";import{Qga as Z,Tfa as R,Tga as h,Vfa as F,tga as K,uga as v,yga as m}from"./cli-0.5.14-6raawc34.mjs";import{iha as Y,nha as W,pha as D}from"./cli-0.5.14-ef8ctc2m.mjs";import{Fha as S,sha as E}from"./cli-0.5.14-p8gq7nq3.mjs";import{dna as j,jja as k,nja as A,pja as N}from"./cli-0.5.14-gm5kmg2w.mjs";import{Ooa as H}from"./cli-0.5.14-hanfd2pz.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
2
+ $pid = ${String(q)}
3
+ $ancestors = @()
4
+ for ($i = 0; $i -lt ${J}; $i++) {
5
+ $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
6
+ if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
7
+ $pid = $proc.ParentProcessId
8
+ $ancestors += $pid
9
+ }
10
+ $ancestors -join ','
11
+ `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
12
+ `).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
13
+ $currentPid = ${String(q)}
14
+ $commands = @()
15
+ for ($i = 0; $i -lt ${J}; $i++) {
16
+ $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
17
+ if (-not $proc) { break }
18
+ if ($proc.CommandLine) { $commands += $proc.CommandLine }
19
+ if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
20
+ $currentPid = $proc.ParentProcessId
21
+ }
22
+ $commands -join [char]0
23
+ `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
24
+ export{O as ET,i as FT,e as GT,qq as HT,_ as IT,Uq as JT,Bq as KT,C as LT,Mq as MT,I as NT,Aq as OT,d as PT,r as QT,t as RT};
@@ -0,0 +1,2 @@
1
+ import{K4 as D,k4 as q}from"./cli-0.5.14-1d34ehpy.mjs";import{Mfa as m,Nfa as z}from"./cli-0.5.14-xad83fbb.mjs";import{Ooa as x}from"./cli-0.5.14-hanfd2pz.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
2
+ export{E as re,F as se,K as te,M as ue,G as ve};
@@ -0,0 +1,4 @@
1
+ import{uf as LJ,vf as WQ}from"./cli-0.5.14-xevr51kc.mjs";import{wf as hJ,xf as RQ}from"./cli-0.5.14-pdz4gbap.mjs";import{yf as PJ,zf as hQ}from"./cli-0.5.14-8qymm509.mjs";import{Af as aq,Bf as lJ}from"./cli-0.5.14-z1wt52vd.mjs";import{Cf as Fq,Df as iq,Ef as $J}from"./cli-0.5.14-fbvy5zb9.mjs";import{Ff as WJ,Gf as HQ}from"./cli-0.5.14-nkmxan04.mjs";import{AE as UJ,Ar as XQ,BE as FJ,BQ as sq,CE as wJ,Ct as uq,DE as FQ,Dt as mq,EQ as tq,Ft as pq,Gt as fJ,QQ as nJ,Rm as GJ,Sm as KQ,TG as HJ,UG as RJ,UM as eq,VG as wQ,WM as iJ,bu as g,eu as yQ,gN as Aq,jN as oJ,mn as P,nn as Tq,wr as KJ,xQ as wq,xr as VQ,yE as vq,yr as VJ,zE as BQ,zr as XJ}from"./cli-0.5.14-jf3et57a.mjs";import{qR as yJ,sR as NJ,vR as NQ}from"./cli-0.5.14-gxtw8dhr.mjs";import{AT as UQ,wT as BJ}from"./cli-0.5.14-d26aykc0.mjs";import{MU as YJ,NU as YQ}from"./cli-0.5.14-3pq7th32.mjs";import{aW as zJ,bW as zQ,jW as Mq,kW as GQ}from"./cli-0.5.14-ya2ykcd6.mjs";import{DY as Oq,FW as Pq,YX as y,_X as Q}from"./cli-0.5.14-r8f2hssc.mjs";import{a0 as h,b0 as Y,c0 as Z,d0 as c}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as ZQ}from"./cli-0.5.14-anv6260e.mjs";import{E2 as rq,b3 as cJ,p3 as ZJ,q3 as QQ}from"./cli-0.5.14-1d34ehpy.mjs";import{A9 as qQ,Faa as JQ,J$ as gq,K$ as dJ,N$ as xq,V$ as TJ,e9 as Iq,i7 as $,j7 as tJ,vaa as QJ}from"./cli-0.5.14-ndq9rhn7.mjs";import{Fha as sJ,sha as JJ}from"./cli-0.5.14-p8gq7nq3.mjs";import{dna as eJ,pja as qJ}from"./cli-0.5.14-gm5kmg2w.mjs";import{Koa as Bq,Ooa as Uq}from"./cli-0.5.14-hanfd2pz.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
+ `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
+ `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
4
+ export{pZ as sf,cQ as tf};
@@ -0,0 +1,2 @@
1
+ function e(){return null}function i(){}function o(){return[]}async function t(){}async function n(){}function r(){}
2
+ export{e as Bb,i as Cb,o as Db,t as Eb,n as Fb,r as Gb};
@@ -0,0 +1,4 @@
1
+ import{ZR as W,_R as P}from"./cli-0.5.14-8azez85y.mjs";import{A7 as K,B7 as I,Bba as B,Cba as G,Pba as S,Y7 as M,Z7 as R,e_ as A,g_ as y,kda as O,sda as F,u8 as _}from"./cli-0.5.14-ndq9rhn7.mjs";import{$ea as x,_ea as D}from"./cli-0.5.14-rj1nh8jm.mjs";import{Cna as $,Dna as z}from"./cli-0.5.14-y3kkm5vp.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
2
+ `)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
3
+ `)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
4
+ export{d as Ya,E as Za,p as _a,c as $a,r as ab};
@@ -0,0 +1,34 @@
1
+ import{DY as IT,WX as X,aY as JT,bY as ST}from"./cli-0.5.14-r8f2hssc.mjs";import{e5 as K,f5 as VT}from"./cli-0.5.14-1n5t7fhh.mjs";import{A9 as XT,B7 as o,Bba as l,Cba as d,E9 as FT,H9 as qT,I9 as OT,Pba as D,Waa as f,Yaa as YT,e_ as Q,g_ as UT,kda as H,sba as z,sda as n,u9 as s,vba as V,w8 as BT,x8 as _T,z7 as Y}from"./cli-0.5.14-ndq9rhn7.mjs";import{$ea as QT,_ea as E}from"./cli-0.5.14-rj1nh8jm.mjs";import{Cga as P,Gga as KT,tga as GT,uga as $T,yga as zT}from"./cli-0.5.14-6raawc34.mjs";import{nha as u,pha as LT}from"./cli-0.5.14-ef8ctc2m.mjs";import{Cna as r,Dna as ZT}from"./cli-0.5.14-y3kkm5vp.mjs";import{Ooa as I}from"./cli-0.5.14-hanfd2pz.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
2
+
3
+ No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
4
+ `;else if(B==="windows")J=` • Windows: Windows Terminal
5
+ `;let F=`Terminal setup cannot be run from ${$}.
6
+
7
+ This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
+ ${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
+
10
+ To set up the shortcut (optional):
11
+ 1. Exit tmux/screen temporarily
12
+ 2. Run /terminal-setup directly in one of these terminals:
13
+ ${J} • IDE: VSCode, Cursor, Windsurf, Zed
14
+ • Other: Alacritty
15
+ 3. Return to tmux/screen - settings will persist
16
+
17
+ ${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
18
+ {
19
+ "key": "shift+enter",
20
+ "command": "workbench.action.terminal.sendSequence",
21
+ "args": { "text": "\\u001b\\r" },
22
+ "when": "terminalFocus"
23
+ }
24
+ ]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
25
+ `))F+=`
26
+ `;return F+=`
27
+ [[keyboard.bindings]]
28
+ key = "Return"
29
+ mods = "Shift"
30
+ chars = "\\u001B\\r"
31
+ `,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
32
+ `,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
33
+ `,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
+ export{a as WU,h as XU,e as YU,TT as ZU,Ww as _U,uT as $U,ET as aV,Lw as bV,zw as cV,Vw as dV,_w as eV,bT as fV};
@@ -0,0 +1,2 @@
1
+ import{$6 as w,W6 as Z,_6 as _}from"./cli-0.5.14-yfh9te0f.mjs";import{A9 as D,K7 as Y,L7 as U,Pba as j,W7 as $,e9 as k,sba as W,u8 as T,vba as V}from"./cli-0.5.14-ndq9rhn7.mjs";import{Qga as N,Tga as M}from"./cli-0.5.14-6raawc34.mjs";import{dna as O,pja as X}from"./cli-0.5.14-gm5kmg2w.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
+ export{b as sb,y as tb,P as ub,d as vb,c as wb};
@@ -0,0 +1,2 @@
1
+ import{Ooa as s}from"./cli-0.5.14-hanfd2pz.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/0.5.14 (${e}${n}${t})`}var r=()=>{};
2
+ export{c as l0,i as m0,r as n0};
@@ -0,0 +1,2 @@
1
+ import{gh as e,jh as fq}from"./cli-0.5.14-m7skqd4q.mjs";import{kh as t,mh as Hq}from"./cli-0.5.14-s6vd2h5w.mjs";import{CL as o,DL as s,EL as Oq,MD as r,ND as kq,WD as n,XD as Mq,km as S,lm as Nq,mm as g,nm as Vq,om as $,pm as Wq,sm as i,tm as Yq}from"./cli-0.5.14-jf3et57a.mjs";import{$V as u,bW as Zq}from"./cli-0.5.14-ya2ykcd6.mjs";import{DY as Xq,FW as Qq,YX as M,_X as F,qY as c,rY as Uq}from"./cli-0.5.14-r8f2hssc.mjs";import{b0 as L,c0 as R,d0 as l}from"./cli-0.5.14-tgeskqzs.mjs";import{e0 as Lq}from"./cli-0.5.14-anv6260e.mjs";import{i7 as d,j7 as Jq}from"./cli-0.5.14-ndq9rhn7.mjs";import{Koa as a,Ooa as Gq}from"./cli-0.5.14-hanfd2pz.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as eh,Fq as fh};