@claudiolabs/claudin 1.1.17 → 1.1.19

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 (910) hide show
  1. package/dist/chunks/AgentTool-1.1.19-ap09svyk.mjs +1 -0
  2. package/dist/chunks/App-1.1.19-k77n3357.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.19-tcembk4t.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.19-m4nrahdt.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.19-taks8xn7.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.19-yme7vhwa.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.19-tfvmz7pe.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.19-zkq642rw.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.19-2d75g9t9.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.19-0h26y250.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.19-664kb4w5.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.19-yebbvfbc.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.19-69vb23j7.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.19-xd8y62c2.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.19-1629rwte.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.19-jpbdr4ek.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.19-gsjnpy2f.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.19-pqppw8hp.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.19-gvqa5kzm.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.19-jqd47gb8.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.19-m9xykegt.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.19-4x4m771g.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.19-4ywpbgq0.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.19-znn3cy0j.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.19-z4htsqk6.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.19-fqjjhqxh.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.19-sgb7b5wy.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.19-y55kbgfe.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.19-cfvc6wt9.mjs +1 -0
  30. package/dist/chunks/agents-1.1.19-hc4xvq4r.mjs +110 -0
  31. package/dist/chunks/agents-1.1.19-k8kx3pej.mjs +3 -0
  32. package/dist/chunks/api-1.1.19-gbh2sz3k.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.19-6mnps2vx.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.19-vmkknmbc.mjs +1 -0
  35. package/dist/chunks/auth-1.1.19-h46w2e1a.mjs +1 -0
  36. package/dist/chunks/auth-1.1.19-s68ybx6f.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.19-qpevvt9x.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.19-63yyncht.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.19-vxn3t7f7.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.19-tg6rqb4x.mjs +1 -0
  41. package/dist/chunks/branch-1.1.19-e4gkb2sb.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.19-zwf5vbc6.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.19-wc27ha2s.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.19-6gq8j1d7.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.19-yzzr33jg.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.19-xdqatsm3.mjs +1 -0
  47. package/dist/chunks/btw-1.1.19-qkfvd0ms.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.19-08xe7ppf.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.19-w4a9xacm.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.19-exn70h4b.mjs +4 -0
  51. package/dist/chunks/caches-1.1.19-d4jfvwhp.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.19-kxx2an1b.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.19-xsbhz7tg.mjs +1 -0
  54. package/dist/chunks/clear-1.1.19-a1znba6q.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.19-ahv4wsvx.mjs +1 -0
  56. package/dist/chunks/cli-1.1.19-00q9c51a.mjs +2 -0
  57. package/dist/chunks/cli-1.1.19-00zv4s06.mjs +2 -0
  58. package/dist/chunks/cli-1.1.19-0cyysv3s.mjs +2 -0
  59. package/dist/chunks/cli-1.1.19-0m8cwm30.mjs +2 -0
  60. package/dist/chunks/cli-1.1.19-0n5vcvqz.mjs +2 -0
  61. package/dist/chunks/cli-1.1.19-0s56yqjm.mjs +2 -0
  62. package/dist/chunks/cli-1.1.19-0zq6911y.mjs +2 -0
  63. package/dist/chunks/cli-1.1.19-10jx9qt3.mjs +2 -0
  64. package/dist/chunks/cli-1.1.19-126eyddd.mjs +2 -0
  65. package/dist/chunks/cli-1.1.19-1mqhgz4n.mjs +2 -0
  66. package/dist/chunks/cli-1.1.19-25szxvwt.mjs +2 -0
  67. package/dist/chunks/cli-1.1.19-29wgse8t.mjs +2 -0
  68. package/dist/chunks/cli-1.1.19-2cb4p1hk.mjs +2 -0
  69. package/dist/chunks/cli-1.1.19-2jkn8w89.mjs +2 -0
  70. package/dist/chunks/cli-1.1.19-2rbw0277.mjs +2 -0
  71. package/dist/chunks/cli-1.1.19-2rnpr99c.mjs +1 -0
  72. package/dist/chunks/cli-1.1.19-2xxxjdpp.mjs +2 -0
  73. package/dist/chunks/cli-1.1.19-35evt5gy.mjs +2 -0
  74. package/dist/chunks/cli-1.1.19-38ya9kd8.mjs +2 -0
  75. package/dist/chunks/cli-1.1.19-3e9krkhy.mjs +2 -0
  76. package/dist/chunks/cli-1.1.19-3ep6p0sf.mjs +2 -0
  77. package/dist/chunks/cli-1.1.19-3jjgtf8t.mjs +2 -0
  78. package/dist/chunks/cli-1.1.19-3q0sj4zp.mjs +3 -0
  79. package/dist/chunks/cli-1.1.19-3tzh16np.mjs +4 -0
  80. package/dist/chunks/cli-1.1.19-3wwc3q32.mjs +2 -0
  81. package/dist/chunks/cli-1.1.19-3xpqyp64.mjs +7 -0
  82. package/dist/chunks/cli-1.1.19-48a6gxnh.mjs +2 -0
  83. package/dist/chunks/cli-1.1.19-4ba4a8jg.mjs +9 -0
  84. package/dist/chunks/cli-1.1.19-4dp1vkze.mjs +2 -0
  85. package/dist/chunks/cli-1.1.19-4hek4kyb.mjs +2 -0
  86. package/dist/chunks/cli-1.1.19-4n6cth1a.mjs +2 -0
  87. package/dist/chunks/cli-1.1.19-53hanqff.mjs +2 -0
  88. package/dist/chunks/cli-1.1.19-5a8wm97m.mjs +2 -0
  89. package/dist/chunks/cli-1.1.19-5eb8a4wn.mjs +2 -0
  90. package/dist/chunks/cli-1.1.19-5kaw3aa5.mjs +2 -0
  91. package/dist/chunks/cli-1.1.19-5xy2q2yt.mjs +2 -0
  92. package/dist/chunks/cli-1.1.19-5z5xyy4e.mjs +34 -0
  93. package/dist/chunks/cli-1.1.19-61nar796.mjs +4 -0
  94. package/dist/chunks/cli-1.1.19-61tem8qm.mjs +2 -0
  95. package/dist/chunks/cli-1.1.19-6jvzyjts.mjs +3 -0
  96. package/dist/chunks/cli-1.1.19-6mq64vhw.mjs +3 -0
  97. package/dist/chunks/cli-1.1.19-6pp1614z.mjs +4 -0
  98. package/dist/chunks/cli-1.1.19-6smqyzzn.mjs +50 -0
  99. package/dist/chunks/cli-1.1.19-779zeaga.mjs +2 -0
  100. package/dist/chunks/cli-1.1.19-7djbq218.mjs +3 -0
  101. package/dist/chunks/cli-1.1.19-7rmk4fz4.mjs +2 -0
  102. package/dist/chunks/cli-1.1.19-7s1yy832.mjs +2 -0
  103. package/dist/chunks/cli-1.1.19-7sfdatrg.mjs +12 -0
  104. package/dist/chunks/cli-1.1.19-7v3pjgvw.mjs +5 -0
  105. package/dist/chunks/cli-1.1.19-7zdwszrb.mjs +2 -0
  106. package/dist/chunks/cli-1.1.19-82vfm05a.mjs +2 -0
  107. package/dist/chunks/cli-1.1.19-89n0ppp5.mjs +2 -0
  108. package/dist/chunks/cli-1.1.19-8dpft679.mjs +2 -0
  109. package/dist/chunks/cli-1.1.19-8zwh2ky5.mjs +2 -0
  110. package/dist/chunks/cli-1.1.19-93bb0mpz.mjs +2 -0
  111. package/dist/chunks/cli-1.1.19-946kz0h0.mjs +2 -0
  112. package/dist/chunks/cli-1.1.19-96rdwb5m.mjs +2 -0
  113. package/dist/chunks/cli-1.1.19-99dfxebe.mjs +2 -0
  114. package/dist/chunks/cli-1.1.19-9a8d2pxp.mjs +2 -0
  115. package/dist/chunks/cli-1.1.19-9dkavmxz.mjs +2 -0
  116. package/dist/chunks/cli-1.1.19-9kbnb3tc.mjs +2 -0
  117. package/dist/chunks/cli-1.1.19-9nfxc159.mjs +3 -0
  118. package/dist/chunks/cli-1.1.19-9vf7tt9g.mjs +2 -0
  119. package/dist/chunks/cli-1.1.19-a26wdy1v.mjs +24 -0
  120. package/dist/chunks/cli-1.1.19-a32dnq28.mjs +2 -0
  121. package/dist/chunks/cli-1.1.19-a5hfs685.mjs +45 -0
  122. package/dist/chunks/cli-1.1.19-a6e1antc.mjs +15 -0
  123. package/dist/chunks/cli-1.1.19-a75p9zey.mjs +2 -0
  124. package/dist/chunks/cli-1.1.19-ac73knxp.mjs +2 -0
  125. package/dist/chunks/cli-1.1.19-acez5n0m.mjs +24 -0
  126. package/dist/chunks/cli-1.1.19-aj7yfbb6.mjs +2 -0
  127. package/dist/chunks/cli-1.1.19-awkva6qc.mjs +24 -0
  128. package/dist/chunks/cli-1.1.19-b7fbqawk.mjs +2 -0
  129. package/dist/chunks/cli-1.1.19-bg1d8zv9.mjs +2 -0
  130. package/dist/chunks/cli-1.1.19-bmy2183w.mjs +2 -0
  131. package/dist/chunks/cli-1.1.19-bxvvef3z.mjs +2 -0
  132. package/dist/chunks/cli-1.1.19-c8xs9vjb.mjs +2 -0
  133. package/dist/chunks/cli-1.1.19-cb7496nq.mjs +5 -0
  134. package/dist/chunks/cli-1.1.19-cc266ybe.mjs +2 -0
  135. package/dist/chunks/cli-1.1.19-cfgdvk8n.mjs +12 -0
  136. package/dist/chunks/cli-1.1.19-cjq368e9.mjs +24 -0
  137. package/dist/chunks/cli-1.1.19-cma77m08.mjs +2 -0
  138. package/dist/chunks/cli-1.1.19-cq5hegwz.mjs +6 -0
  139. package/dist/chunks/cli-1.1.19-csfx7v0e.mjs +2 -0
  140. package/dist/chunks/cli-1.1.19-d00hzr89.mjs +2 -0
  141. package/dist/chunks/cli-1.1.19-d1qdwt16.mjs +2 -0
  142. package/dist/chunks/cli-1.1.19-d2x1fpvn.mjs +3 -0
  143. package/dist/chunks/cli-1.1.19-d7wb13f8.mjs +2 -0
  144. package/dist/chunks/cli-1.1.19-dq0a7g9x.mjs +2 -0
  145. package/dist/chunks/cli-1.1.19-dt84yfk2.mjs +206 -0
  146. package/dist/chunks/cli-1.1.19-dw8jwdzq.mjs +3 -0
  147. package/dist/chunks/cli-1.1.19-dzbss10b.mjs +3 -0
  148. package/dist/chunks/cli-1.1.19-e4krk6kp.mjs +2 -0
  149. package/dist/chunks/cli-1.1.19-e5k83shq.mjs +17 -0
  150. package/dist/chunks/cli-1.1.19-ec5kkxdm.mjs +2 -0
  151. package/dist/chunks/cli-1.1.19-edv500a7.mjs +25 -0
  152. package/dist/chunks/cli-1.1.19-esk8qemt.mjs +3 -0
  153. package/dist/chunks/cli-1.1.19-eyhpgp73.mjs +4 -0
  154. package/dist/chunks/cli-1.1.19-f1g12hnb.mjs +2 -0
  155. package/dist/chunks/cli-1.1.19-f1vb0eyp.mjs +2 -0
  156. package/dist/chunks/cli-1.1.19-f6m8mqsf.mjs +2 -0
  157. package/dist/chunks/cli-1.1.19-fgfwa8xc.mjs +2 -0
  158. package/dist/chunks/cli-1.1.19-fqwvhznj.mjs +2 -0
  159. package/dist/chunks/cli-1.1.19-ftnf2s7k.mjs +6 -0
  160. package/dist/chunks/cli-1.1.19-g1bp4mfb.mjs +2 -0
  161. package/dist/chunks/cli-1.1.19-g70qb326.mjs +2 -0
  162. package/dist/chunks/cli-1.1.19-grvgykf5.mjs +58 -0
  163. package/dist/chunks/cli-1.1.19-gvdrxej7.mjs +6 -0
  164. package/dist/chunks/cli-1.1.19-gw9jb8fv.mjs +2 -0
  165. package/dist/chunks/cli-1.1.19-h5psdt4j.mjs +2 -0
  166. package/dist/chunks/cli-1.1.19-h6a1zywh.mjs +2 -0
  167. package/dist/chunks/cli-1.1.19-h6nqzwdx.mjs +8 -0
  168. package/dist/chunks/cli-1.1.19-hdmxb06r.mjs +2 -0
  169. package/dist/chunks/cli-1.1.19-hph7gbkv.mjs +42 -0
  170. package/dist/chunks/cli-1.1.19-hqbspnvc.mjs +5419 -0
  171. package/dist/chunks/cli-1.1.19-hr45csak.mjs +3 -0
  172. package/dist/chunks/cli-1.1.19-j9kyrhvv.mjs +3 -0
  173. package/dist/chunks/cli-1.1.19-jn7xm69z.mjs +2 -0
  174. package/dist/chunks/cli-1.1.19-k4gwmyp2.mjs +17 -0
  175. package/dist/chunks/cli-1.1.19-k5svbvzd.mjs +2 -0
  176. package/dist/chunks/cli-1.1.19-kc4rvbe3.mjs +18 -0
  177. package/dist/chunks/cli-1.1.19-kjbxevhz.mjs +2 -0
  178. package/dist/chunks/cli-1.1.19-kjhw0mpy.mjs +6 -0
  179. package/dist/chunks/cli-1.1.19-kxz28gf8.mjs +21 -0
  180. package/dist/chunks/cli-1.1.19-m8w4as34.mjs +16 -0
  181. package/dist/chunks/cli-1.1.19-m9vwd2bt.mjs +2 -0
  182. package/dist/chunks/cli-1.1.19-mam509fm.mjs +2 -0
  183. package/dist/chunks/cli-1.1.19-mn9sb0en.mjs +2 -0
  184. package/dist/chunks/cli-1.1.19-mqs96k5w.mjs +4 -0
  185. package/dist/chunks/cli-1.1.19-mrft54r6.mjs +2 -0
  186. package/dist/chunks/cli-1.1.19-n24w651m.mjs +3 -0
  187. package/dist/chunks/cli-1.1.19-n5xxe310.mjs +133 -0
  188. package/dist/chunks/cli-1.1.19-nb1256fg.mjs +4 -0
  189. package/dist/chunks/cli-1.1.19-nqznsj8y.mjs +2 -0
  190. package/dist/chunks/cli-1.1.19-nrpwj6d0.mjs +3 -0
  191. package/dist/chunks/cli-1.1.19-p1nzrjj5.mjs +25 -0
  192. package/dist/chunks/cli-1.1.19-p8pd4mmb.mjs +2 -0
  193. package/dist/chunks/cli-1.1.19-pdmgnq2h.mjs +39 -0
  194. package/dist/chunks/cli-1.1.19-pn1pyg9c.mjs +2 -0
  195. package/dist/chunks/cli-1.1.19-q2b2zy0e.mjs +2 -0
  196. package/dist/chunks/cli-1.1.19-q5kbe656.mjs +2 -0
  197. package/dist/chunks/cli-1.1.19-q7cjyz1z.mjs +2 -0
  198. package/dist/chunks/cli-1.1.19-qb3sg611.mjs +2 -0
  199. package/dist/chunks/cli-1.1.19-qvzf4mzn.mjs +2 -0
  200. package/dist/chunks/cli-1.1.19-qw2a73hz.mjs +2 -0
  201. package/dist/chunks/cli-1.1.19-r3km7nzk.mjs +2 -0
  202. package/dist/chunks/cli-1.1.19-r4qc48rf.mjs +2 -0
  203. package/dist/chunks/cli-1.1.19-rk4mqvc5.mjs +2 -0
  204. package/dist/chunks/cli-1.1.19-rkxy1dsw.mjs +2 -0
  205. package/dist/chunks/cli-1.1.19-ry92fd54.mjs +7 -0
  206. package/dist/chunks/cli-1.1.19-s3zhxkk4.mjs +2 -0
  207. package/dist/chunks/cli-1.1.19-sbrpsrtp.mjs +4 -0
  208. package/dist/chunks/cli-1.1.19-shgmqysk.mjs +2 -0
  209. package/dist/chunks/cli-1.1.19-shgqfcam.mjs +2 -0
  210. package/dist/chunks/cli-1.1.19-snq43w01.mjs +6 -0
  211. package/dist/chunks/cli-1.1.19-swfswrx1.mjs +2 -0
  212. package/dist/chunks/cli-1.1.19-t7yahhjv.mjs +4 -0
  213. package/dist/chunks/cli-1.1.19-t87ew64x.mjs +2 -0
  214. package/dist/chunks/cli-1.1.19-t9xz3682.mjs +20 -0
  215. package/dist/chunks/cli-1.1.19-tar53fbc.mjs +15 -0
  216. package/dist/chunks/cli-1.1.19-tefbgf43.mjs +2 -0
  217. package/dist/chunks/cli-1.1.19-tm3821yd.mjs +2 -0
  218. package/dist/chunks/cli-1.1.19-tqv8yds0.mjs +2 -0
  219. package/dist/chunks/cli-1.1.19-tw6zn01k.mjs +2 -0
  220. package/dist/chunks/cli-1.1.19-v35x8svk.mjs +15 -0
  221. package/dist/chunks/cli-1.1.19-v619rbr5.mjs +59 -0
  222. package/dist/chunks/cli-1.1.19-vbq3h0rr.mjs +2 -0
  223. package/dist/chunks/cli-1.1.19-vfed8ert.mjs +2 -0
  224. package/dist/chunks/cli-1.1.19-vgfqexte.mjs +4 -0
  225. package/dist/chunks/cli-1.1.19-vpabfve5.mjs +6 -0
  226. package/dist/chunks/cli-1.1.19-vr8jf7k6.mjs +2 -0
  227. package/dist/chunks/cli-1.1.19-vv09y4gs.mjs +2 -0
  228. package/dist/chunks/cli-1.1.19-vx87jjbs.mjs +18 -0
  229. package/dist/chunks/cli-1.1.19-vyqgdds6.mjs +2 -0
  230. package/dist/chunks/cli-1.1.19-w9tb5j4s.mjs +2 -0
  231. package/dist/chunks/cli-1.1.19-wrgbrnhw.mjs +9 -0
  232. package/dist/chunks/cli-1.1.19-wtkads83.mjs +2 -0
  233. package/dist/chunks/cli-1.1.19-wzm0j7nd.mjs +133 -0
  234. package/dist/chunks/cli-1.1.19-x1grwt9b.mjs +2 -0
  235. package/dist/chunks/cli-1.1.19-x522f12c.mjs +2 -0
  236. package/dist/chunks/cli-1.1.19-x6xnsxay.mjs +2 -0
  237. package/dist/chunks/cli-1.1.19-x86k1gy8.mjs +2 -0
  238. package/dist/chunks/cli-1.1.19-x8set46s.mjs +2 -0
  239. package/dist/chunks/cli-1.1.19-x9jccx03.mjs +4 -0
  240. package/dist/chunks/cli-1.1.19-xnas5w2g.mjs +2 -0
  241. package/dist/chunks/cli-1.1.19-xst2kbax.mjs +2 -0
  242. package/dist/chunks/cli-1.1.19-xvrj0zyj.mjs +2 -0
  243. package/dist/chunks/cli-1.1.19-y6p80wj3.mjs +3 -0
  244. package/dist/chunks/cli-1.1.19-ybe27dz9.mjs +66 -0
  245. package/dist/chunks/cli-1.1.19-ykspd2ax.mjs +2 -0
  246. package/dist/chunks/cli-1.1.19-ykvwaeht.mjs +2 -0
  247. package/dist/chunks/cli-1.1.19-yrjfmdg0.mjs +2 -0
  248. package/dist/chunks/cli-1.1.19-ys9280nx.mjs +2 -0
  249. package/dist/chunks/cli-1.1.19-yw33djbn.mjs +2 -0
  250. package/dist/chunks/cli-1.1.19-z9t89h8r.mjs +2 -0
  251. package/dist/chunks/cli-1.1.19-zcbfxmsm.mjs +2 -0
  252. package/dist/chunks/cli-1.1.19-zdb14mt2.mjs +2 -0
  253. package/dist/chunks/cli-1.1.19-zebz0x46.mjs +2 -0
  254. package/dist/chunks/cli-1.1.19-zg8m3n8n.mjs +2 -0
  255. package/dist/chunks/cli-1.1.19-zm9nhjfe.mjs +2 -0
  256. package/dist/chunks/cli-1.1.19-ztvzhgye.mjs +2 -0
  257. package/dist/chunks/cli-1.1.19-ztxdhvw3.mjs +2 -0
  258. package/dist/chunks/cli-1.1.19-zv4hb0hf.mjs +2 -0
  259. package/dist/chunks/client-1.1.19-rydegw5h.mjs +1 -0
  260. package/dist/chunks/color-1.1.19-p5265vaz.mjs +1 -0
  261. package/dist/chunks/compact-1.1.19-7c9mxrm8.mjs +3 -0
  262. package/dist/chunks/config-1.1.19-2wsgrxvp.mjs +1 -0
  263. package/dist/chunks/config-1.1.19-d62j9tgx.mjs +1 -0
  264. package/dist/chunks/constants-1.1.19-cyxrtszj.mjs +1 -0
  265. package/dist/chunks/context-1.1.19-mtt1t5p4.mjs +1 -0
  266. package/dist/chunks/context-noninteractive-1.1.19-xry25hh6.mjs +1 -0
  267. package/dist/chunks/conversation-1.1.19-y6cahyhg.mjs +1 -0
  268. package/dist/chunks/copilotHeaders-1.1.19-esh8mxyx.mjs +1 -0
  269. package/dist/chunks/copy-1.1.19-tyf8daxj.mjs +9 -0
  270. package/dist/chunks/cost-1.1.19-pvrac5v6.mjs +1 -0
  271. package/dist/chunks/createSSHSession-1.1.19-8jd28zhc.mjs +1 -0
  272. package/dist/chunks/createSession-1.1.19-88gw4fqs.mjs +1 -0
  273. package/dist/chunks/debug-1.1.19-xz3040cz.mjs +1 -0
  274. package/dist/chunks/defaultActionDeps-1.1.19-x39zq6wr.mjs +1534 -0
  275. package/dist/chunks/desktop-1.1.19-a40h3fh1.mjs +1 -0
  276. package/dist/chunks/detectRepository-1.1.19-g0rbffr6.mjs +1 -0
  277. package/dist/chunks/detection-1.1.19-kzpx83pk.mjs +1 -0
  278. package/dist/chunks/diff-1.1.19-g76zmzb1.mjs +1 -0
  279. package/dist/chunks/doctor-1.1.19-03zspk7d.mjs +1 -0
  280. package/dist/chunks/doctorDiagnostic-1.1.19-df18kr26.mjs +1 -0
  281. package/dist/chunks/earlyInput-1.1.19-n9y2y9sm.mjs +1 -0
  282. package/dist/chunks/effort-1.1.19-503r3dqe.mjs +13 -0
  283. package/dist/chunks/engine-1.1.19-0ad61bvx.mjs +1 -0
  284. package/dist/chunks/envLessBridgeConfig-1.1.19-qf1fj44h.mjs +1 -0
  285. package/dist/chunks/envUtils-1.1.19-8en4zy66.mjs +1 -0
  286. package/dist/chunks/environmentSelection-1.1.19-91hc6n75.mjs +1 -0
  287. package/dist/chunks/environments-1.1.19-tfjfkh09.mjs +1 -0
  288. package/dist/chunks/errors-1.1.19-fs48fz9y.mjs +1 -0
  289. package/dist/chunks/exampleCommands-1.1.19-pbb6kk50.mjs +1 -0
  290. package/dist/chunks/execFileNoThrow-1.1.19-m6am19yr.mjs +1 -0
  291. package/dist/chunks/exit-1.1.19-mqpwd363.mjs +1 -0
  292. package/dist/chunks/explorer-1.1.19-epqv5k1e.mjs +1 -0
  293. package/dist/chunks/export-1.1.19-t8tpvak9.mjs +2 -0
  294. package/dist/chunks/extra-usage-1.1.19-r9kte59s.mjs +1 -0
  295. package/dist/chunks/extra-usage-noninteractive-1.1.19-xnxm4sqt.mjs +1 -0
  296. package/dist/chunks/fast-1.1.19-c4n0rr8a.mjs +1 -0
  297. package/dist/chunks/feedback-1.1.19-7k5rya63.mjs +14 -0
  298. package/dist/chunks/firstPartyEventLogger-1.1.19-5bjmyd6a.mjs +1 -0
  299. package/dist/chunks/git-1.1.19-1njw7gwq.mjs +1 -0
  300. package/dist/chunks/githubModelsCredentials-1.1.19-k4csmysh.mjs +1 -0
  301. package/dist/chunks/goal-1.1.19-e08g4net.mjs +4 -0
  302. package/dist/chunks/growthbook-1.1.19-gw9m906y.mjs +1 -0
  303. package/dist/chunks/headless-1.1.19-gckc9qf1.mjs +2 -0
  304. package/dist/chunks/heapdump-1.1.19-cy0bczwr.mjs +6 -0
  305. package/dist/chunks/help-1.1.19-bbfsbt36.mjs +1 -0
  306. package/dist/chunks/hookChains-1.1.19-n01ssw8c.mjs +3 -0
  307. package/dist/chunks/hooks-1.1.19-488gkyjk.mjs +1 -0
  308. package/dist/chunks/hooks-1.1.19-b2x6yc66.mjs +79 -0
  309. package/dist/chunks/ide-1.1.19-zf9hpj81.mjs +3 -0
  310. package/dist/chunks/image-processor-napi-1.1.19-1m270wr0.mjs +1 -0
  311. package/dist/chunks/inboundAttachments-1.1.19-h4bsnn75.mjs +1 -0
  312. package/dist/chunks/index-1.1.19-06ccpd87.mjs +1 -0
  313. package/dist/chunks/index-1.1.19-263v6qeb.mjs +1 -0
  314. package/dist/chunks/index-1.1.19-2d944pv5.mjs +1 -0
  315. package/dist/chunks/index-1.1.19-7ngy3yfc.mjs +9 -0
  316. package/dist/chunks/index-1.1.19-apzfwtnm.mjs +1 -0
  317. package/dist/chunks/index-1.1.19-efdm8cp5.mjs +30 -0
  318. package/dist/chunks/index-1.1.19-exbss9tj.mjs +1 -0
  319. package/dist/chunks/index-1.1.19-f53qyqj8.mjs +2 -0
  320. package/dist/chunks/index-1.1.19-fae0sgd8.mjs +5 -0
  321. package/dist/chunks/index-1.1.19-g4rv8gvj.mjs +2 -0
  322. package/dist/chunks/index-1.1.19-ha3e4f70.mjs +1 -0
  323. package/dist/chunks/index-1.1.19-ht9s8yra.mjs +9 -0
  324. package/dist/chunks/index-1.1.19-j9awq55c.mjs +1 -0
  325. package/dist/chunks/index-1.1.19-jdvmsx9x.mjs +1 -0
  326. package/dist/chunks/index-1.1.19-ks262nbe.mjs +1 -0
  327. package/dist/chunks/index-1.1.19-mppepmze.mjs +23 -0
  328. package/dist/chunks/index-1.1.19-nthw1gda.mjs +1 -0
  329. package/dist/chunks/index-1.1.19-rs8fazy9.mjs +1 -0
  330. package/dist/chunks/index-1.1.19-sze2q9g5.mjs +1 -0
  331. package/dist/chunks/index-1.1.19-vkfm4msr.mjs +1 -0
  332. package/dist/chunks/index-1.1.19-vs2nyqte.mjs +1 -0
  333. package/dist/chunks/index-1.1.19-z8fcr2ec.mjs +1 -0
  334. package/dist/chunks/index-1.1.19-zy7mntdp.mjs +1 -0
  335. package/dist/chunks/init-1.1.19-8d53tmw6.mjs +1 -0
  336. package/dist/chunks/initReplBridge-1.1.19-p00njb6f.mjs +1 -0
  337. package/dist/chunks/ink-1.1.19-vr4g8jdg.mjs +1 -0
  338. package/dist/chunks/insights-1.1.19-6ag4d7qh.mjs +870 -0
  339. package/dist/chunks/install-1.1.19-74g8qyvc.mjs +1 -0
  340. package/dist/chunks/install-github-app-1.1.19-3nj645m2.mjs +149 -0
  341. package/dist/chunks/install-slack-app-1.1.19-sw02tcfh.mjs +1 -0
  342. package/dist/chunks/instrumentation-1.1.19-fshq5kr2.mjs +1 -0
  343. package/dist/chunks/interactiveHelpers-1.1.19-npmh2sbc.mjs +1 -0
  344. package/dist/chunks/keybindings-1.1.19-xy665r7j.mjs +2 -0
  345. package/dist/chunks/knowledge-1.1.19-e4pdfkhx.mjs +2 -0
  346. package/dist/chunks/latestVersionCache-1.1.19-fktnyx5h.mjs +1 -0
  347. package/dist/chunks/loadAgentsDir-1.1.19-j4732ykz.mjs +1 -0
  348. package/dist/chunks/loadPluginHooks-1.1.19-99a4nfjq.mjs +1 -0
  349. package/dist/chunks/log-1.1.19-y3spcye6.mjs +1 -0
  350. package/dist/chunks/main-1.1.19-06jy3aye.mjs +1 -0
  351. package/dist/chunks/managedEnv-1.1.19-19k3jdqh.mjs +1 -0
  352. package/dist/chunks/mcp-1.1.19-833sdc7d.mjs +17 -0
  353. package/dist/chunks/mcp-1.1.19-x0sfjzjt.mjs +1 -0
  354. package/dist/chunks/mcp-1.1.19-z5x59bca.mjs +4 -0
  355. package/dist/chunks/mcpb-1.1.19-bbswp853.mjs +1 -0
  356. package/dist/chunks/memory-1.1.19-d1ke4kha.mjs +72 -0
  357. package/dist/chunks/model-1.1.19-sm0ftpna.mjs +1 -0
  358. package/dist/chunks/model-1.1.19-v68fjcdh.mjs +2 -0
  359. package/dist/chunks/node-1.1.19-nj9qe6mk.mjs +12 -0
  360. package/dist/chunks/oauth-1.1.19-y016e4dk.mjs +1 -0
  361. package/dist/chunks/openaiShim-1.1.19-njr80kze.mjs +14 -0
  362. package/dist/chunks/output-style-1.1.19-rj9tfcg1.mjs +1 -0
  363. package/dist/chunks/package-KQCMZM5L-1.1.19-4f1z2hmg.mjs +1 -0
  364. package/dist/chunks/parseConnectUrl-1.1.19-qtk1xf04.mjs +1 -0
  365. package/dist/chunks/parser-1.1.19-sfrfy1dm.mjs +1 -0
  366. package/dist/chunks/passes-1.1.19-nhfrcsrb.mjs +1 -0
  367. package/dist/chunks/permissions-1.1.19-bfjnq5mz.mjs +1 -0
  368. package/dist/chunks/permissions-1.1.19-vzcjg874.mjs +3 -0
  369. package/dist/chunks/plan-1.1.19-qzr3m454.mjs +1 -0
  370. package/dist/chunks/plist-1.1.19-19wsvxjw.mjs +1 -0
  371. package/dist/chunks/plugin-1.1.19-p0h9mbar.mjs +29 -0
  372. package/dist/chunks/pluginStartupCheck-1.1.19-7pvtzbb1.mjs +1 -0
  373. package/dist/chunks/plugins-1.1.19-xrbe4y5a.mjs +9 -0
  374. package/dist/chunks/preActionHook-1.1.19-wfp4vavy.mjs +2 -0
  375. package/dist/chunks/print-1.1.19-rzw2njmz.mjs +57 -0
  376. package/dist/chunks/process-1.1.19-k7h4qsz0.mjs +1 -0
  377. package/dist/chunks/processBashCommand-1.1.19-p1ffejkb.mjs +1 -0
  378. package/dist/chunks/processSlashCommand-1.1.19-gy6nfdzs.mjs +9 -0
  379. package/dist/chunks/prompt-1.1.19-9aq4jr0c.mjs +1 -0
  380. package/dist/chunks/prompt-1.1.19-kkwb835d.mjs +1 -0
  381. package/dist/chunks/prompts-1.1.19-qq19kp1k.mjs +1 -0
  382. package/dist/chunks/protocolHandler-1.1.19-6n3sh10m.mjs +13 -0
  383. package/dist/chunks/provider-1.1.19-46f6x4wt.mjs +2 -0
  384. package/dist/chunks/providerProfiles-1.1.19-xxzvjngj.mjs +1 -0
  385. package/dist/chunks/providerValidation-1.1.19-t3qsn8f5.mjs +6 -0
  386. package/dist/chunks/rate-limit-options-1.1.19-j7xrp805.mjs +1 -0
  387. package/dist/chunks/registerSubcommands-1.1.19-v2jjs3tt.mjs +26 -0
  388. package/dist/chunks/registry-1.1.19-7chtcyjj.mjs +1 -0
  389. package/dist/chunks/release-notes-1.1.19-pbbxph7n.mjs +5 -0
  390. package/dist/chunks/reload-plugins-1.1.19-qgvazhrx.mjs +2 -0
  391. package/dist/chunks/remote-env-1.1.19-4ftd6zk8.mjs +1 -0
  392. package/dist/chunks/remoteBridgeCore-1.1.19-w92h77yd.mjs +1 -0
  393. package/dist/chunks/remoteSession-1.1.19-e5nd7ypy.mjs +1 -0
  394. package/dist/chunks/rename-1.1.19-zmextayk.mjs +1 -0
  395. package/dist/chunks/replBridgeHandle-1.1.19-4vqnj6br.mjs +1 -0
  396. package/dist/chunks/replLauncher-1.1.19-s2btrsvw.mjs +1 -0
  397. package/dist/chunks/resume-1.1.19-jn7pe69d.mjs +2 -0
  398. package/dist/chunks/rewind-1.1.19-rahxdd24.mjs +1 -0
  399. package/dist/chunks/rootOptions-1.1.19-hjwkw6vt.mjs +1 -0
  400. package/dist/chunks/runWorkflowHeadless-1.1.19-hjwsqxd5.mjs +10 -0
  401. package/dist/chunks/sandbox-adapter-1.1.19-4aqxxq3m.mjs +1 -0
  402. package/dist/chunks/sandbox-toggle-1.1.19-x2n1fkv0.mjs +1 -0
  403. package/dist/chunks/session-1.1.19-je5j810m.mjs +2 -0
  404. package/dist/chunks/sessionDiscovery-1.1.19-t595d3pg.mjs +1 -0
  405. package/dist/chunks/sessionFileAccessHooks-1.1.19-bng1xsd6.mjs +1 -0
  406. package/dist/chunks/sessionStorage-1.1.19-6agd7cfq.mjs +1 -0
  407. package/dist/chunks/settings-1.1.19-cpxbjwr6.mjs +1 -0
  408. package/dist/chunks/setup-1.1.19-11b5cjgj.mjs +12 -0
  409. package/dist/chunks/sinks-1.1.19-m4ce6s8b.mjs +1 -0
  410. package/dist/chunks/skills-1.1.19-scwgh73s.mjs +1 -0
  411. package/dist/chunks/startupProfiler-1.1.19-j0kpxw4n.mjs +1 -0
  412. package/dist/chunks/startupUpdateCheck-1.1.19-k05gx3h1.mjs +1 -0
  413. package/dist/chunks/state-1.1.19-r1dtdp9g.mjs +1 -0
  414. package/dist/chunks/stats-1.1.19-zwc97973.mjs +6 -0
  415. package/dist/chunks/status-1.1.19-8m7tf3e1.mjs +1 -0
  416. package/dist/chunks/stickers-1.1.19-51p3tyxv.mjs +1 -0
  417. package/dist/chunks/subprocessEnv-1.1.19-bq634ryk.mjs +1 -0
  418. package/dist/chunks/tasks-1.1.19-xtpcttgb.mjs +1 -0
  419. package/dist/chunks/teamHelpers-1.1.19-37de1g3x.mjs +1 -0
  420. package/dist/chunks/teammateModeSnapshot-1.1.19-0zaw34nq.mjs +1 -0
  421. package/dist/chunks/teleport-1.1.19-1yrce0fg.mjs +1 -0
  422. package/dist/chunks/terminalSetup-1.1.19-n3qgcbse.mjs +1 -0
  423. package/dist/chunks/theme-1.1.19-qfd87sgp.mjs +1 -0
  424. package/dist/chunks/thinkback-1.1.19-gss5am06.mjs +1 -0
  425. package/dist/chunks/thinkback-play-1.1.19-7j20scs3.mjs +1 -0
  426. package/dist/chunks/toolPool-1.1.19-tmtwkgcj.mjs +1 -0
  427. package/dist/chunks/toolSearch-1.1.19-01pt7axx.mjs +1 -0
  428. package/dist/chunks/tools-1.1.19-1y8gx9m2.mjs +1 -0
  429. package/dist/chunks/trustedDevice-1.1.19-d1avnq7v.mjs +1 -0
  430. package/dist/chunks/turndown.cjs-1.1.19-q8rxrnz3.mjs +69 -0
  431. package/dist/chunks/types-1.1.19-3n28bh66.mjs +1 -0
  432. package/dist/chunks/ultrareviewCommand-1.1.19-vhhfbsfg.mjs +4 -0
  433. package/dist/chunks/update-1.1.19-xzwgsapn.mjs +72 -0
  434. package/dist/chunks/upgrade-1.1.19-5ydc5rb9.mjs +1 -0
  435. package/dist/chunks/upload-1.1.19-evxky0ry.mjs +7 -0
  436. package/dist/chunks/upstreamproxy-1.1.19-6t7vnxjf.mjs +14 -0
  437. package/dist/chunks/url-handler-napi-1.1.19-zgpfdrf1.mjs +1 -0
  438. package/dist/chunks/usage-1.1.19-f61vnt3h.mjs +1 -0
  439. package/dist/chunks/util-1.1.19-yqzpdqqe.mjs +1 -0
  440. package/dist/chunks/utils-1.1.19-hhq6836h.mjs +1 -0
  441. package/dist/chunks/vim-1.1.19-k2aqex53.mjs +1 -0
  442. package/dist/chunks/watchLoop-1.1.19-e3ar1gjj.mjs +13 -0
  443. package/dist/chunks/watcher-1.1.19-09ahtfef.mjs +1 -0
  444. package/dist/chunks/wiki-1.1.19-h6tfdmnw.mjs +132 -0
  445. package/dist/chunks/workflows-1.1.19-kgd61yya.mjs +1 -0
  446. package/dist/chunks/worktree-1.1.19-8vn5pmy9.mjs +1 -0
  447. package/dist/chunks/worktreeModeEnabled-1.1.19-je6hz46c.mjs +1 -0
  448. package/dist/chunks/wrapper-1.1.19-dn4wk1mg.mjs +7 -0
  449. package/dist/cli.mjs +2 -2
  450. package/dist/help-doctor.txt +3 -3
  451. package/dist/help-install.txt +2 -2
  452. package/dist/help-mcp.txt +2 -2
  453. package/dist/help-plugin.txt +2 -2
  454. package/dist/help-plugins.txt +2 -2
  455. package/dist/help.txt +3 -3
  456. package/package.json +9 -9
  457. package/dist/chunks/AgentTool-1.1.17-c0szwp8n.mjs +0 -1
  458. package/dist/chunks/App-1.1.17-02e9gv69.mjs +0 -1
  459. package/dist/chunks/ApproveApiKey-1.1.17-jxfbym1r.mjs +0 -1
  460. package/dist/chunks/AssistantSessionChooser-1.1.17-6yp2beyh.mjs +0 -1
  461. package/dist/chunks/AutoModeOptInDialog-1.1.17-w9xsetq9.mjs +0 -1
  462. package/dist/chunks/BypassPermissionsModeDialog-1.1.17-84z0pr68.mjs +0 -1
  463. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.17-q46af0nw.mjs +0 -1
  464. package/dist/chunks/ConsoleOAuthFlow-1.1.17-ew4a8tt8.mjs +0 -1
  465. package/dist/chunks/DiffDialog-1.1.17-rmqcdxg8.mjs +0 -6
  466. package/dist/chunks/Doctor-1.1.17-hg2xast7.mjs +0 -1
  467. package/dist/chunks/ExplorerDialog-1.1.17-9bpc3q6s.mjs +0 -6
  468. package/dist/chunks/ITermBackend-1.1.17-k5e62crs.mjs +0 -1
  469. package/dist/chunks/InvalidConfigDialog-1.1.17-dsnkhped.mjs +0 -1
  470. package/dist/chunks/InvalidSettingsDialog-1.1.17-kvhxeef5.mjs +0 -1
  471. package/dist/chunks/MigrationDialog-1.1.17-a4rrxzp6.mjs +0 -1
  472. package/dist/chunks/Onboarding-1.1.17-4rfmem0t.mjs +0 -1
  473. package/dist/chunks/ProviderManager-1.1.17-e9mp9qde.mjs +0 -1
  474. package/dist/chunks/REPL-1.1.17-4wy9nbxj.mjs +0 -1
  475. package/dist/chunks/ResumeConversation-1.1.17-yqrt4v79.mjs +0 -1
  476. package/dist/chunks/SnapshotUpdateDialog-1.1.17-3sr5b9tz.mjs +0 -1
  477. package/dist/chunks/TeleportProgress-1.1.17-dkwbndzq.mjs +0 -1
  478. package/dist/chunks/TeleportRepoMismatchDialog-1.1.17-f8qa4fjm.mjs +0 -1
  479. package/dist/chunks/TeleportResumeWrapper-1.1.17-21kb50xj.mjs +0 -1
  480. package/dist/chunks/TmuxBackend-1.1.17-0kmr0pvg.mjs +0 -9
  481. package/dist/chunks/ToolSearchTool-1.1.17-8beq3avk.mjs +0 -1
  482. package/dist/chunks/TrustDialog-1.1.17-z786dzeg.mjs +0 -1
  483. package/dist/chunks/activeProvider-1.1.17-x2aq5sx0.mjs +0 -1
  484. package/dist/chunks/add-dir-1.1.17-2s13eqzw.mjs +0 -1
  485. package/dist/chunks/agentTypes-1.1.17-ct1sy6xb.mjs +0 -1
  486. package/dist/chunks/agents-1.1.17-550b7p8x.mjs +0 -110
  487. package/dist/chunks/agents-1.1.17-r5c8tpkr.mjs +0 -3
  488. package/dist/chunks/api-1.1.17-75x5tmes.mjs +0 -1
  489. package/dist/chunks/asciicast-1.1.17-79trcjfv.mjs +0 -1
  490. package/dist/chunks/assistant-1.1.17-dbbtqfan.mjs +0 -1
  491. package/dist/chunks/auth-1.1.17-8f3fach8.mjs +0 -1
  492. package/dist/chunks/auth-1.1.17-m8h26316.mjs +0 -1
  493. package/dist/chunks/autoMode-1.1.17-qc59qrkd.mjs +0 -52
  494. package/dist/chunks/autoModeSetup-1.1.17-eget172p.mjs +0 -44
  495. package/dist/chunks/autoUpdater-1.1.17-hn3tt3zt.mjs +0 -1
  496. package/dist/chunks/backgroundHousekeeping-1.1.17-v11kpga8.mjs +0 -1
  497. package/dist/chunks/branch-1.1.17-w3zktkvs.mjs +0 -4
  498. package/dist/chunks/bridge-1.1.17-x5r3w789.mjs +0 -2
  499. package/dist/chunks/bridgeConfig-1.1.17-kce97mnv.mjs +0 -1
  500. package/dist/chunks/bridgeEnabled-1.1.17-75j54src.mjs +0 -1
  501. package/dist/chunks/bridgeMain-1.1.17-4mqk6cqv.mjs +0 -88
  502. package/dist/chunks/bridgePointer-1.1.17-tnq9hpp2.mjs +0 -1
  503. package/dist/chunks/btw-1.1.17-45g5jhjr.mjs +0 -1
  504. package/dist/chunks/buddy-1.1.17-axejc0a1.mjs +0 -3
  505. package/dist/chunks/cache-probe-1.1.17-x0n3bj9h.mjs +0 -21
  506. package/dist/chunks/cacheStats-1.1.17-54ab6ndm.mjs +0 -4
  507. package/dist/chunks/caches-1.1.17-tqxvw7fb.mjs +0 -1
  508. package/dist/chunks/claudeDesktop-1.1.17-rrzswj35.mjs +0 -1
  509. package/dist/chunks/claudemd-1.1.17-y5mkq5gq.mjs +0 -1
  510. package/dist/chunks/clear-1.1.17-6eyrsqrw.mjs +0 -1
  511. package/dist/chunks/clearTerminal-1.1.17-22ezdweq.mjs +0 -1
  512. package/dist/chunks/cli-1.1.17-0511dy9y.mjs +0 -2
  513. package/dist/chunks/cli-1.1.17-06mdd80y.mjs +0 -2
  514. package/dist/chunks/cli-1.1.17-09c1vkqx.mjs +0 -2
  515. package/dist/chunks/cli-1.1.17-0d7fthp5.mjs +0 -58
  516. package/dist/chunks/cli-1.1.17-0p0ak3zs.mjs +0 -2
  517. package/dist/chunks/cli-1.1.17-18k7783y.mjs +0 -20
  518. package/dist/chunks/cli-1.1.17-1fvh83yv.mjs +0 -7
  519. package/dist/chunks/cli-1.1.17-1nxc4dk2.mjs +0 -12
  520. package/dist/chunks/cli-1.1.17-1v8knfbw.mjs +0 -2
  521. package/dist/chunks/cli-1.1.17-1w1dgmsf.mjs +0 -5
  522. package/dist/chunks/cli-1.1.17-2b4keqra.mjs +0 -4
  523. package/dist/chunks/cli-1.1.17-2bc3gqw5.mjs +0 -6
  524. package/dist/chunks/cli-1.1.17-2jv9761d.mjs +0 -2
  525. package/dist/chunks/cli-1.1.17-2pvpn49s.mjs +0 -3
  526. package/dist/chunks/cli-1.1.17-2spbpwrx.mjs +0 -2
  527. package/dist/chunks/cli-1.1.17-2szs1chw.mjs +0 -2
  528. package/dist/chunks/cli-1.1.17-2z1g2hjb.mjs +0 -4
  529. package/dist/chunks/cli-1.1.17-3bkjnp3z.mjs +0 -25
  530. package/dist/chunks/cli-1.1.17-3jqe0rga.mjs +0 -3
  531. package/dist/chunks/cli-1.1.17-3mtgr9ch.mjs +0 -3
  532. package/dist/chunks/cli-1.1.17-3r1p3ddm.mjs +0 -2
  533. package/dist/chunks/cli-1.1.17-3sy6b0hb.mjs +0 -4
  534. package/dist/chunks/cli-1.1.17-3v5m3zqf.mjs +0 -2
  535. package/dist/chunks/cli-1.1.17-3z8hnad1.mjs +0 -2
  536. package/dist/chunks/cli-1.1.17-40gj2tc0.mjs +0 -2
  537. package/dist/chunks/cli-1.1.17-40w0wha0.mjs +0 -2
  538. package/dist/chunks/cli-1.1.17-44fk8h9v.mjs +0 -6
  539. package/dist/chunks/cli-1.1.17-4cxy3tsf.mjs +0 -2
  540. package/dist/chunks/cli-1.1.17-4egkrc4y.mjs +0 -2
  541. package/dist/chunks/cli-1.1.17-4yvz970v.mjs +0 -2
  542. package/dist/chunks/cli-1.1.17-545688c0.mjs +0 -2
  543. package/dist/chunks/cli-1.1.17-5bbnw0z1.mjs +0 -2
  544. package/dist/chunks/cli-1.1.17-5ckk64dj.mjs +0 -3
  545. package/dist/chunks/cli-1.1.17-5eapymd7.mjs +0 -25
  546. package/dist/chunks/cli-1.1.17-5h6k67gj.mjs +0 -39
  547. package/dist/chunks/cli-1.1.17-5rfxkg0q.mjs +0 -2
  548. package/dist/chunks/cli-1.1.17-5ytk3hr5.mjs +0 -2
  549. package/dist/chunks/cli-1.1.17-60mezybh.mjs +0 -2
  550. package/dist/chunks/cli-1.1.17-62yjss1h.mjs +0 -2
  551. package/dist/chunks/cli-1.1.17-66c4sw6g.mjs +0 -2
  552. package/dist/chunks/cli-1.1.17-6e7rvf1a.mjs +0 -2
  553. package/dist/chunks/cli-1.1.17-6ee0nqae.mjs +0 -2
  554. package/dist/chunks/cli-1.1.17-6gfvdt7y.mjs +0 -8
  555. package/dist/chunks/cli-1.1.17-6jzph4h7.mjs +0 -3
  556. package/dist/chunks/cli-1.1.17-6rx20w90.mjs +0 -2
  557. package/dist/chunks/cli-1.1.17-6wdwjtdj.mjs +0 -7
  558. package/dist/chunks/cli-1.1.17-6xnsg3vj.mjs +0 -2
  559. package/dist/chunks/cli-1.1.17-6yqbrqsj.mjs +0 -4
  560. package/dist/chunks/cli-1.1.17-787fk73v.mjs +0 -3
  561. package/dist/chunks/cli-1.1.17-7n4s8n50.mjs +0 -6
  562. package/dist/chunks/cli-1.1.17-848t1b19.mjs +0 -2
  563. package/dist/chunks/cli-1.1.17-85fga8dq.mjs +0 -2
  564. package/dist/chunks/cli-1.1.17-85mcc9n7.mjs +0 -2
  565. package/dist/chunks/cli-1.1.17-86a50dqm.mjs +0 -2
  566. package/dist/chunks/cli-1.1.17-8ae45qsd.mjs +0 -6
  567. package/dist/chunks/cli-1.1.17-8pkspqzx.mjs +0 -2
  568. package/dist/chunks/cli-1.1.17-8yryp8zt.mjs +0 -2
  569. package/dist/chunks/cli-1.1.17-91shm790.mjs +0 -2
  570. package/dist/chunks/cli-1.1.17-937ws80k.mjs +0 -2
  571. package/dist/chunks/cli-1.1.17-95kegjhq.mjs +0 -2
  572. package/dist/chunks/cli-1.1.17-9bq6vj3x.mjs +0 -2
  573. package/dist/chunks/cli-1.1.17-9dv8cb2e.mjs +0 -2
  574. package/dist/chunks/cli-1.1.17-9nvn8chy.mjs +0 -21
  575. package/dist/chunks/cli-1.1.17-9pb21bzq.mjs +0 -2
  576. package/dist/chunks/cli-1.1.17-9pv5wym1.mjs +0 -2
  577. package/dist/chunks/cli-1.1.17-9q30wadt.mjs +0 -17
  578. package/dist/chunks/cli-1.1.17-9rtpxyk6.mjs +0 -2
  579. package/dist/chunks/cli-1.1.17-9wgw338h.mjs +0 -2
  580. package/dist/chunks/cli-1.1.17-adz6qec3.mjs +0 -2
  581. package/dist/chunks/cli-1.1.17-amta49a1.mjs +0 -2
  582. package/dist/chunks/cli-1.1.17-amvnbvkb.mjs +0 -66
  583. package/dist/chunks/cli-1.1.17-arwr4e36.mjs +0 -2
  584. package/dist/chunks/cli-1.1.17-av45k1a0.mjs +0 -15
  585. package/dist/chunks/cli-1.1.17-avc9ck1v.mjs +0 -2
  586. package/dist/chunks/cli-1.1.17-b1g8n716.mjs +0 -2
  587. package/dist/chunks/cli-1.1.17-b5btm8nn.mjs +0 -5
  588. package/dist/chunks/cli-1.1.17-b6178p3e.mjs +0 -2
  589. package/dist/chunks/cli-1.1.17-bg6qdrwm.mjs +0 -2
  590. package/dist/chunks/cli-1.1.17-bj81ampw.mjs +0 -3
  591. package/dist/chunks/cli-1.1.17-brvf3613.mjs +0 -3
  592. package/dist/chunks/cli-1.1.17-bw27qnmm.mjs +0 -2
  593. package/dist/chunks/cli-1.1.17-bw4gf7se.mjs +0 -2
  594. package/dist/chunks/cli-1.1.17-bzw849yw.mjs +0 -2
  595. package/dist/chunks/cli-1.1.17-c4wdrmzx.mjs +0 -3
  596. package/dist/chunks/cli-1.1.17-c858dzpc.mjs +0 -2
  597. package/dist/chunks/cli-1.1.17-cddbmrdk.mjs +0 -2
  598. package/dist/chunks/cli-1.1.17-cek6be4z.mjs +0 -15
  599. package/dist/chunks/cli-1.1.17-chsbt03k.mjs +0 -2
  600. package/dist/chunks/cli-1.1.17-cnp784zh.mjs +0 -2
  601. package/dist/chunks/cli-1.1.17-ct0r352g.mjs +0 -2
  602. package/dist/chunks/cli-1.1.17-cvtpmgr1.mjs +0 -16
  603. package/dist/chunks/cli-1.1.17-d24yw7cv.mjs +0 -50
  604. package/dist/chunks/cli-1.1.17-d8zh7smn.mjs +0 -3
  605. package/dist/chunks/cli-1.1.17-d9y6k8vc.mjs +0 -2
  606. package/dist/chunks/cli-1.1.17-db7epgkw.mjs +0 -2
  607. package/dist/chunks/cli-1.1.17-dhbj7k9k.mjs +0 -2
  608. package/dist/chunks/cli-1.1.17-dp5q3hgg.mjs +0 -2
  609. package/dist/chunks/cli-1.1.17-e8bd5mhc.mjs +0 -2
  610. package/dist/chunks/cli-1.1.17-egp0jwn1.mjs +0 -6
  611. package/dist/chunks/cli-1.1.17-ete62cd3.mjs +0 -2
  612. package/dist/chunks/cli-1.1.17-evytxpaj.mjs +0 -4
  613. package/dist/chunks/cli-1.1.17-f0f3ww1e.mjs +0 -2
  614. package/dist/chunks/cli-1.1.17-f29ngxbd.mjs +0 -2
  615. package/dist/chunks/cli-1.1.17-f4eghwer.mjs +0 -2
  616. package/dist/chunks/cli-1.1.17-fc8raa73.mjs +0 -2
  617. package/dist/chunks/cli-1.1.17-fc9ah2rx.mjs +0 -2
  618. package/dist/chunks/cli-1.1.17-fn3aawry.mjs +0 -2
  619. package/dist/chunks/cli-1.1.17-fpt9fhj3.mjs +0 -2
  620. package/dist/chunks/cli-1.1.17-frwjbpkz.mjs +0 -12
  621. package/dist/chunks/cli-1.1.17-fzsavwtg.mjs +0 -133
  622. package/dist/chunks/cli-1.1.17-g02c88z9.mjs +0 -2
  623. package/dist/chunks/cli-1.1.17-g0r7knn3.mjs +0 -9
  624. package/dist/chunks/cli-1.1.17-g8x1ae0n.mjs +0 -2
  625. package/dist/chunks/cli-1.1.17-gbx2evhw.mjs +0 -2
  626. package/dist/chunks/cli-1.1.17-gjjv9pf2.mjs +0 -2
  627. package/dist/chunks/cli-1.1.17-grwds6h6.mjs +0 -2
  628. package/dist/chunks/cli-1.1.17-gy86radb.mjs +0 -6
  629. package/dist/chunks/cli-1.1.17-gz7gazer.mjs +0 -2
  630. package/dist/chunks/cli-1.1.17-h68j8yr4.mjs +0 -2
  631. package/dist/chunks/cli-1.1.17-h899gx3g.mjs +0 -59
  632. package/dist/chunks/cli-1.1.17-hk50rvfx.mjs +0 -2
  633. package/dist/chunks/cli-1.1.17-hv7vtr92.mjs +0 -2
  634. package/dist/chunks/cli-1.1.17-j0rsgbr3.mjs +0 -2
  635. package/dist/chunks/cli-1.1.17-j7w7vk9q.mjs +0 -4
  636. package/dist/chunks/cli-1.1.17-ja7d18ym.mjs +0 -2
  637. package/dist/chunks/cli-1.1.17-jbmze4s1.mjs +0 -3
  638. package/dist/chunks/cli-1.1.17-jd6hwz1t.mjs +0 -18
  639. package/dist/chunks/cli-1.1.17-jfrmnvzh.mjs +0 -42
  640. package/dist/chunks/cli-1.1.17-jmhry9pe.mjs +0 -2
  641. package/dist/chunks/cli-1.1.17-jyzpxwq4.mjs +0 -2
  642. package/dist/chunks/cli-1.1.17-k2ygh79g.mjs +0 -24
  643. package/dist/chunks/cli-1.1.17-k4cv7tcx.mjs +0 -2
  644. package/dist/chunks/cli-1.1.17-k6xg5a3t.mjs +0 -2
  645. package/dist/chunks/cli-1.1.17-kasvn1wv.mjs +0 -2
  646. package/dist/chunks/cli-1.1.17-kdycyp8n.mjs +0 -4
  647. package/dist/chunks/cli-1.1.17-kjk1ddpc.mjs +0 -2
  648. package/dist/chunks/cli-1.1.17-kk19mmhc.mjs +0 -17
  649. package/dist/chunks/cli-1.1.17-krb62aen.mjs +0 -2
  650. package/dist/chunks/cli-1.1.17-mc6hgzsa.mjs +0 -4
  651. package/dist/chunks/cli-1.1.17-mvgrc9gx.mjs +0 -2
  652. package/dist/chunks/cli-1.1.17-n2dct122.mjs +0 -2
  653. package/dist/chunks/cli-1.1.17-n4xn5c5m.mjs +0 -34
  654. package/dist/chunks/cli-1.1.17-nes161na.mjs +0 -2
  655. package/dist/chunks/cli-1.1.17-nhn5qa9g.mjs +0 -45
  656. package/dist/chunks/cli-1.1.17-nr1fn5ws.mjs +0 -2
  657. package/dist/chunks/cli-1.1.17-p7mq618q.mjs +0 -2
  658. package/dist/chunks/cli-1.1.17-phaqkjy5.mjs +0 -3
  659. package/dist/chunks/cli-1.1.17-pmner0m4.mjs +0 -206
  660. package/dist/chunks/cli-1.1.17-q6fve29k.mjs +0 -2
  661. package/dist/chunks/cli-1.1.17-q7f9amqd.mjs +0 -2
  662. package/dist/chunks/cli-1.1.17-qr727b7j.mjs +0 -18
  663. package/dist/chunks/cli-1.1.17-qwkbwe37.mjs +0 -2
  664. package/dist/chunks/cli-1.1.17-r47egjp3.mjs +0 -2
  665. package/dist/chunks/cli-1.1.17-rak849bn.mjs +0 -3
  666. package/dist/chunks/cli-1.1.17-rgzfxape.mjs +0 -2
  667. package/dist/chunks/cli-1.1.17-rpac3qey.mjs +0 -2
  668. package/dist/chunks/cli-1.1.17-rv9n4f0j.mjs +0 -2
  669. package/dist/chunks/cli-1.1.17-ry9v8zr7.mjs +0 -2
  670. package/dist/chunks/cli-1.1.17-s0w3hc9t.mjs +0 -4
  671. package/dist/chunks/cli-1.1.17-s6rzrasx.mjs +0 -2
  672. package/dist/chunks/cli-1.1.17-s9617g9k.mjs +0 -2
  673. package/dist/chunks/cli-1.1.17-sa6xwtgz.mjs +0 -1
  674. package/dist/chunks/cli-1.1.17-sekbxc10.mjs +0 -24
  675. package/dist/chunks/cli-1.1.17-sf4te5vd.mjs +0 -2
  676. package/dist/chunks/cli-1.1.17-sh93pnws.mjs +0 -2
  677. package/dist/chunks/cli-1.1.17-spygywkr.mjs +0 -2
  678. package/dist/chunks/cli-1.1.17-sqnbm5cb.mjs +0 -2
  679. package/dist/chunks/cli-1.1.17-ss5f6ezq.mjs +0 -2
  680. package/dist/chunks/cli-1.1.17-ssjqqbnv.mjs +0 -2
  681. package/dist/chunks/cli-1.1.17-sx4yg7br.mjs +0 -2
  682. package/dist/chunks/cli-1.1.17-sxvjn3ne.mjs +0 -2
  683. package/dist/chunks/cli-1.1.17-t059h154.mjs +0 -2
  684. package/dist/chunks/cli-1.1.17-tcxq0ah8.mjs +0 -2
  685. package/dist/chunks/cli-1.1.17-tjtarhk9.mjs +0 -5408
  686. package/dist/chunks/cli-1.1.17-tkz7x0rj.mjs +0 -2
  687. package/dist/chunks/cli-1.1.17-vewrwcsz.mjs +0 -2
  688. package/dist/chunks/cli-1.1.17-vj9h10jw.mjs +0 -2
  689. package/dist/chunks/cli-1.1.17-vpgxna04.mjs +0 -2
  690. package/dist/chunks/cli-1.1.17-vya6g1gj.mjs +0 -2
  691. package/dist/chunks/cli-1.1.17-vzhs0tcz.mjs +0 -2
  692. package/dist/chunks/cli-1.1.17-w70hp8av.mjs +0 -2
  693. package/dist/chunks/cli-1.1.17-w8ycz611.mjs +0 -4
  694. package/dist/chunks/cli-1.1.17-w9jr2baa.mjs +0 -2
  695. package/dist/chunks/cli-1.1.17-wmy7x7p1.mjs +0 -3
  696. package/dist/chunks/cli-1.1.17-wpw25vs3.mjs +0 -2
  697. package/dist/chunks/cli-1.1.17-xmwmqrg5.mjs +0 -2
  698. package/dist/chunks/cli-1.1.17-xpxk1a24.mjs +0 -2
  699. package/dist/chunks/cli-1.1.17-xqsq5e1g.mjs +0 -2
  700. package/dist/chunks/cli-1.1.17-xr6d85ak.mjs +0 -24
  701. package/dist/chunks/cli-1.1.17-xyvhfz5c.mjs +0 -133
  702. package/dist/chunks/cli-1.1.17-y590316j.mjs +0 -2
  703. package/dist/chunks/cli-1.1.17-y9v9t43m.mjs +0 -2
  704. package/dist/chunks/cli-1.1.17-yc5h2t8c.mjs +0 -2
  705. package/dist/chunks/cli-1.1.17-yexr9jg1.mjs +0 -2
  706. package/dist/chunks/cli-1.1.17-ymeaeqf8.mjs +0 -15
  707. package/dist/chunks/cli-1.1.17-ys4xrvjv.mjs +0 -2
  708. package/dist/chunks/cli-1.1.17-yzm3tm0n.mjs +0 -2
  709. package/dist/chunks/cli-1.1.17-z3nzbxwq.mjs +0 -24
  710. package/dist/chunks/cli-1.1.17-z8hph2r6.mjs +0 -2
  711. package/dist/chunks/cli-1.1.17-zeqbjpg8.mjs +0 -2
  712. package/dist/chunks/cli-1.1.17-znjf3r1w.mjs +0 -2
  713. package/dist/chunks/cli-1.1.17-zs8ffrtz.mjs +0 -9
  714. package/dist/chunks/cli-1.1.17-zsygz35e.mjs +0 -2
  715. package/dist/chunks/client-1.1.17-nagqj7bf.mjs +0 -1
  716. package/dist/chunks/color-1.1.17-p6y05fhc.mjs +0 -1
  717. package/dist/chunks/compact-1.1.17-pzzrynbb.mjs +0 -3
  718. package/dist/chunks/config-1.1.17-m2ajzt0e.mjs +0 -1
  719. package/dist/chunks/config-1.1.17-wmdy8158.mjs +0 -1
  720. package/dist/chunks/constants-1.1.17-v8sj602z.mjs +0 -1
  721. package/dist/chunks/context-1.1.17-7e2bk0as.mjs +0 -1
  722. package/dist/chunks/context-noninteractive-1.1.17-e84cts6x.mjs +0 -1
  723. package/dist/chunks/conversation-1.1.17-9xvxk3r2.mjs +0 -1
  724. package/dist/chunks/copilotHeaders-1.1.17-fqvd03w0.mjs +0 -1
  725. package/dist/chunks/copy-1.1.17-easn9kr0.mjs +0 -9
  726. package/dist/chunks/cost-1.1.17-nxtewzxf.mjs +0 -1
  727. package/dist/chunks/createSSHSession-1.1.17-6ewgn22a.mjs +0 -1
  728. package/dist/chunks/createSession-1.1.17-86r1zzgv.mjs +0 -1
  729. package/dist/chunks/debug-1.1.17-z47bgb2r.mjs +0 -1
  730. package/dist/chunks/defaultActionDeps-1.1.17-jf0axhv5.mjs +0 -1534
  731. package/dist/chunks/desktop-1.1.17-a995qrj4.mjs +0 -1
  732. package/dist/chunks/detectRepository-1.1.17-a8w7dp77.mjs +0 -1
  733. package/dist/chunks/detection-1.1.17-rm57w2ve.mjs +0 -1
  734. package/dist/chunks/diff-1.1.17-nhrc58mf.mjs +0 -1
  735. package/dist/chunks/doctor-1.1.17-fbcrp14n.mjs +0 -1
  736. package/dist/chunks/doctorDiagnostic-1.1.17-e8d49da2.mjs +0 -1
  737. package/dist/chunks/earlyInput-1.1.17-tb2wa4gd.mjs +0 -1
  738. package/dist/chunks/effort-1.1.17-exyt2hn8.mjs +0 -13
  739. package/dist/chunks/engine-1.1.17-amrae3h8.mjs +0 -1
  740. package/dist/chunks/envLessBridgeConfig-1.1.17-cxcxqyr2.mjs +0 -1
  741. package/dist/chunks/envUtils-1.1.17-74s3e3r7.mjs +0 -1
  742. package/dist/chunks/environmentSelection-1.1.17-r6fm53e4.mjs +0 -1
  743. package/dist/chunks/environments-1.1.17-eefk71xc.mjs +0 -1
  744. package/dist/chunks/errors-1.1.17-f3hxdv36.mjs +0 -1
  745. package/dist/chunks/exampleCommands-1.1.17-fq7g2dra.mjs +0 -1
  746. package/dist/chunks/execFileNoThrow-1.1.17-b5j6ewkj.mjs +0 -1
  747. package/dist/chunks/exit-1.1.17-69eys61s.mjs +0 -1
  748. package/dist/chunks/explorer-1.1.17-9rnyanfh.mjs +0 -1
  749. package/dist/chunks/export-1.1.17-ftdkrgt6.mjs +0 -2
  750. package/dist/chunks/extra-usage-1.1.17-4d5r749p.mjs +0 -1
  751. package/dist/chunks/extra-usage-noninteractive-1.1.17-pfnqg70z.mjs +0 -1
  752. package/dist/chunks/fast-1.1.17-6fhr21cx.mjs +0 -1
  753. package/dist/chunks/feedback-1.1.17-xsv4a0hk.mjs +0 -14
  754. package/dist/chunks/firstPartyEventLogger-1.1.17-ysw58c2m.mjs +0 -1
  755. package/dist/chunks/git-1.1.17-1t4mvmwy.mjs +0 -1
  756. package/dist/chunks/githubModelsCredentials-1.1.17-em3pctn6.mjs +0 -1
  757. package/dist/chunks/goal-1.1.17-b6r6rv34.mjs +0 -4
  758. package/dist/chunks/growthbook-1.1.17-d41p6v8e.mjs +0 -1
  759. package/dist/chunks/headless-1.1.17-3gds2arn.mjs +0 -2
  760. package/dist/chunks/heapdump-1.1.17-42928w6t.mjs +0 -6
  761. package/dist/chunks/help-1.1.17-1ex6d9m1.mjs +0 -1
  762. package/dist/chunks/hookChains-1.1.17-4trtr6n3.mjs +0 -3
  763. package/dist/chunks/hooks-1.1.17-brmzj93f.mjs +0 -1
  764. package/dist/chunks/hooks-1.1.17-tmmp968z.mjs +0 -79
  765. package/dist/chunks/ide-1.1.17-7bswgmqh.mjs +0 -3
  766. package/dist/chunks/image-processor-napi-1.1.17-f4q4ze0f.mjs +0 -1
  767. package/dist/chunks/inboundAttachments-1.1.17-bqseg6s7.mjs +0 -1
  768. package/dist/chunks/index-1.1.17-1cxekw2k.mjs +0 -2
  769. package/dist/chunks/index-1.1.17-3bhv85t6.mjs +0 -2
  770. package/dist/chunks/index-1.1.17-3kw30gq5.mjs +0 -1
  771. package/dist/chunks/index-1.1.17-41dwzfym.mjs +0 -1
  772. package/dist/chunks/index-1.1.17-58sa6nbn.mjs +0 -1
  773. package/dist/chunks/index-1.1.17-5vmgm515.mjs +0 -9
  774. package/dist/chunks/index-1.1.17-72ghmm5v.mjs +0 -1
  775. package/dist/chunks/index-1.1.17-9zas5tn3.mjs +0 -23
  776. package/dist/chunks/index-1.1.17-c7n4hj5n.mjs +0 -1
  777. package/dist/chunks/index-1.1.17-dg0mbe1h.mjs +0 -1
  778. package/dist/chunks/index-1.1.17-dzt8xwy0.mjs +0 -1
  779. package/dist/chunks/index-1.1.17-gwp2t0ev.mjs +0 -5
  780. package/dist/chunks/index-1.1.17-j516ern1.mjs +0 -1
  781. package/dist/chunks/index-1.1.17-j5qnmjd0.mjs +0 -30
  782. package/dist/chunks/index-1.1.17-m909k4gz.mjs +0 -1
  783. package/dist/chunks/index-1.1.17-mvtaa82m.mjs +0 -1
  784. package/dist/chunks/index-1.1.17-nntqe0vr.mjs +0 -1
  785. package/dist/chunks/index-1.1.17-nq9tejwj.mjs +0 -1
  786. package/dist/chunks/index-1.1.17-pfzch1bc.mjs +0 -1
  787. package/dist/chunks/index-1.1.17-q2g4m637.mjs +0 -9
  788. package/dist/chunks/index-1.1.17-s5nfh7xr.mjs +0 -1
  789. package/dist/chunks/index-1.1.17-tq1x9mdy.mjs +0 -1
  790. package/dist/chunks/index-1.1.17-vjbktr0m.mjs +0 -1
  791. package/dist/chunks/init-1.1.17-ezhe261a.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.1.17-bsr4ggsa.mjs +0 -1
  793. package/dist/chunks/ink-1.1.17-hnhzzxr4.mjs +0 -1
  794. package/dist/chunks/insights-1.1.17-8rkjk3qx.mjs +0 -870
  795. package/dist/chunks/install-1.1.17-bveeekwq.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.1.17-s7qpq92h.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.1.17-6p1tq8es.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.1.17-2n85eb8r.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.1.17-2qdgnemg.mjs +0 -1
  800. package/dist/chunks/keybindings-1.1.17-e93j288w.mjs +0 -2
  801. package/dist/chunks/knowledge-1.1.17-wzqw3mat.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.1.17-kpebzzy5.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.1.17-rwrehzjk.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.1.17-z6xentgs.mjs +0 -1
  805. package/dist/chunks/log-1.1.17-teh0b8bj.mjs +0 -1
  806. package/dist/chunks/main-1.1.17-4drs7spn.mjs +0 -1
  807. package/dist/chunks/managedEnv-1.1.17-01msjcq4.mjs +0 -1
  808. package/dist/chunks/mcp-1.1.17-c212g273.mjs +0 -17
  809. package/dist/chunks/mcp-1.1.17-fmad2143.mjs +0 -4
  810. package/dist/chunks/mcp-1.1.17-vkg3yyj4.mjs +0 -1
  811. package/dist/chunks/mcpb-1.1.17-2qj85kf9.mjs +0 -1
  812. package/dist/chunks/memory-1.1.17-xxzfp6m3.mjs +0 -72
  813. package/dist/chunks/model-1.1.17-6wangfaf.mjs +0 -1
  814. package/dist/chunks/model-1.1.17-phx3mpre.mjs +0 -2
  815. package/dist/chunks/node-1.1.17-vwaj3hha.mjs +0 -12
  816. package/dist/chunks/oauth-1.1.17-2h7zc57g.mjs +0 -1
  817. package/dist/chunks/openaiShim-1.1.17-x7d7rtnw.mjs +0 -14
  818. package/dist/chunks/output-style-1.1.17-4dwyxd9d.mjs +0 -1
  819. package/dist/chunks/package-KQCMZM5L-1.1.17-hz04t8ab.mjs +0 -1
  820. package/dist/chunks/parseConnectUrl-1.1.17-47ed65x0.mjs +0 -1
  821. package/dist/chunks/parser-1.1.17-tsm4t6zj.mjs +0 -1
  822. package/dist/chunks/passes-1.1.17-kvh566r0.mjs +0 -1
  823. package/dist/chunks/permissions-1.1.17-2s1jj12g.mjs +0 -1
  824. package/dist/chunks/permissions-1.1.17-b96tjxsb.mjs +0 -3
  825. package/dist/chunks/plan-1.1.17-fphg1taz.mjs +0 -1
  826. package/dist/chunks/plist-1.1.17-be3b59s7.mjs +0 -1
  827. package/dist/chunks/plugin-1.1.17-wjwcjxt0.mjs +0 -29
  828. package/dist/chunks/pluginStartupCheck-1.1.17-y7rehbdx.mjs +0 -1
  829. package/dist/chunks/plugins-1.1.17-pvbs8x2d.mjs +0 -9
  830. package/dist/chunks/preActionHook-1.1.17-sz5peb61.mjs +0 -2
  831. package/dist/chunks/print-1.1.17-2tqpqffd.mjs +0 -57
  832. package/dist/chunks/process-1.1.17-edae57bn.mjs +0 -1
  833. package/dist/chunks/processBashCommand-1.1.17-8x8av07q.mjs +0 -1
  834. package/dist/chunks/processSlashCommand-1.1.17-p2hph3mq.mjs +0 -9
  835. package/dist/chunks/prompt-1.1.17-33ecsyvx.mjs +0 -1
  836. package/dist/chunks/prompt-1.1.17-pcxqswhq.mjs +0 -1
  837. package/dist/chunks/prompts-1.1.17-9s5a4vj5.mjs +0 -1
  838. package/dist/chunks/protocolHandler-1.1.17-eypg73tv.mjs +0 -13
  839. package/dist/chunks/provider-1.1.17-cq38y5y0.mjs +0 -2
  840. package/dist/chunks/providerProfiles-1.1.17-3mapa580.mjs +0 -1
  841. package/dist/chunks/providerValidation-1.1.17-v4be9pkn.mjs +0 -6
  842. package/dist/chunks/rate-limit-options-1.1.17-7akz78zn.mjs +0 -1
  843. package/dist/chunks/registerSubcommands-1.1.17-d8515h81.mjs +0 -26
  844. package/dist/chunks/registry-1.1.17-vmxj31fp.mjs +0 -1
  845. package/dist/chunks/release-notes-1.1.17-qfx2ydx0.mjs +0 -5
  846. package/dist/chunks/reload-plugins-1.1.17-bxmeccet.mjs +0 -2
  847. package/dist/chunks/remote-env-1.1.17-5zk7dhta.mjs +0 -1
  848. package/dist/chunks/remoteBridgeCore-1.1.17-dyyd9gpp.mjs +0 -1
  849. package/dist/chunks/remoteSession-1.1.17-2w7c374e.mjs +0 -1
  850. package/dist/chunks/rename-1.1.17-m9npwq9e.mjs +0 -1
  851. package/dist/chunks/replBridgeHandle-1.1.17-f73jbyc4.mjs +0 -1
  852. package/dist/chunks/replLauncher-1.1.17-89bw7egj.mjs +0 -1
  853. package/dist/chunks/resume-1.1.17-zcepac5h.mjs +0 -2
  854. package/dist/chunks/rewind-1.1.17-sz9gnvjb.mjs +0 -1
  855. package/dist/chunks/rootOptions-1.1.17-cz7wggw6.mjs +0 -1
  856. package/dist/chunks/runWorkflowHeadless-1.1.17-mv4m2dgh.mjs +0 -10
  857. package/dist/chunks/sandbox-adapter-1.1.17-mzhxrhy6.mjs +0 -1
  858. package/dist/chunks/sandbox-toggle-1.1.17-0055tx31.mjs +0 -1
  859. package/dist/chunks/session-1.1.17-58155tdb.mjs +0 -2
  860. package/dist/chunks/sessionDiscovery-1.1.17-jesa43e4.mjs +0 -1
  861. package/dist/chunks/sessionFileAccessHooks-1.1.17-v63nh4eq.mjs +0 -1
  862. package/dist/chunks/sessionStorage-1.1.17-db6eb6a0.mjs +0 -1
  863. package/dist/chunks/settings-1.1.17-r420yrj6.mjs +0 -1
  864. package/dist/chunks/setup-1.1.17-2c169kta.mjs +0 -12
  865. package/dist/chunks/sinks-1.1.17-qy1xy52h.mjs +0 -1
  866. package/dist/chunks/skills-1.1.17-179vy7j6.mjs +0 -1
  867. package/dist/chunks/startupProfiler-1.1.17-2jre48fe.mjs +0 -1
  868. package/dist/chunks/startupUpdateCheck-1.1.17-18vwb94e.mjs +0 -1
  869. package/dist/chunks/state-1.1.17-jj648yt9.mjs +0 -1
  870. package/dist/chunks/stats-1.1.17-87688vm6.mjs +0 -6
  871. package/dist/chunks/status-1.1.17-qfgx5stw.mjs +0 -1
  872. package/dist/chunks/stickers-1.1.17-6qwzrjbk.mjs +0 -1
  873. package/dist/chunks/subprocessEnv-1.1.17-agk55s1k.mjs +0 -1
  874. package/dist/chunks/tasks-1.1.17-kbw9ds53.mjs +0 -1
  875. package/dist/chunks/teamHelpers-1.1.17-4adaqsmb.mjs +0 -1
  876. package/dist/chunks/teammateModeSnapshot-1.1.17-9ts2pfkc.mjs +0 -1
  877. package/dist/chunks/teleport-1.1.17-bzmdxawh.mjs +0 -1
  878. package/dist/chunks/terminalSetup-1.1.17-dqhqjty9.mjs +0 -1
  879. package/dist/chunks/theme-1.1.17-85pv1732.mjs +0 -1
  880. package/dist/chunks/thinkback-1.1.17-hepbvmjv.mjs +0 -1
  881. package/dist/chunks/thinkback-play-1.1.17-v9aftsq7.mjs +0 -1
  882. package/dist/chunks/toolPool-1.1.17-9czwnxh0.mjs +0 -1
  883. package/dist/chunks/toolSearch-1.1.17-16zef2se.mjs +0 -1
  884. package/dist/chunks/tools-1.1.17-k9mnpc70.mjs +0 -1
  885. package/dist/chunks/trustedDevice-1.1.17-jh3tsws1.mjs +0 -1
  886. package/dist/chunks/turndown.cjs-1.1.17-nccrmbyj.mjs +0 -69
  887. package/dist/chunks/types-1.1.17-h1a2dqs3.mjs +0 -1
  888. package/dist/chunks/ultrareviewCommand-1.1.17-qcn2523f.mjs +0 -4
  889. package/dist/chunks/update-1.1.17-qrbvhrw3.mjs +0 -72
  890. package/dist/chunks/upgrade-1.1.17-5r2kvcht.mjs +0 -1
  891. package/dist/chunks/upload-1.1.17-9wg0zeh8.mjs +0 -7
  892. package/dist/chunks/upstreamproxy-1.1.17-g55vw948.mjs +0 -14
  893. package/dist/chunks/url-handler-napi-1.1.17-3z57zpg6.mjs +0 -1
  894. package/dist/chunks/usage-1.1.17-fpqbestm.mjs +0 -1
  895. package/dist/chunks/util-1.1.17-afkkcjd2.mjs +0 -1
  896. package/dist/chunks/utils-1.1.17-pmry0sgf.mjs +0 -1
  897. package/dist/chunks/vim-1.1.17-favcd60m.mjs +0 -1
  898. package/dist/chunks/watchLoop-1.1.17-8xwhaj6s.mjs +0 -13
  899. package/dist/chunks/watcher-1.1.17-1jrrt63m.mjs +0 -1
  900. package/dist/chunks/wiki-1.1.17-gsgtzkbe.mjs +0 -132
  901. package/dist/chunks/workflows-1.1.17-d88y5b3p.mjs +0 -1
  902. package/dist/chunks/worktree-1.1.17-aym2veht.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-1.1.17-e80q0zp5.mjs +0 -1
  904. package/dist/chunks/wrapper-1.1.17-mqzzgw84.mjs +0 -7
  905. /package/dist/chunks/{cli-1.1.17-wraax29e.mjs → cli-1.1.19-4tssw0qf.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.1.17-zhbqhsnh.mjs → cli-1.1.19-caqq41md.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.1.17-vecw37vp.mjs → cli-1.1.19-er0hdy0x.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.17-jbg9ze8v.mjs → cli-1.1.19-j2p355hg.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.17-83bggr64.mjs → cli-1.1.19-jepkkjbh.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.17-v5nv0awt.mjs → cli-1.1.19-mnfgg84d.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{C4 as Z}from"./cli-1.1.17-q7f9amqd.mjs";import{P8 as Y,x8 as F}from"./cli-1.1.17-cvtpmgr1.mjs";import{Zea as N,afa as B,bha as X,vfa as W,wea as V}from"./cli-1.1.17-pmner0m4.mjs";import{Xja as Q}from"./cli-1.1.17-zeqbjpg8.mjs";import{jta as P}from"./cli-1.1.17-6ee0nqae.mjs";function E(){let w=F()?.organizationUuid;if(!w)return null;let z=B().overageCreditGrantCache?.[w];if(!z)return null;if(Date.now()-z.timestamp>$)return null;return z.info}function U(){let w=F()?.organizationUuid;if(!w)return;let z=B().overageCreditGrantCache;if(!z||!(w in z))return;N((J)=>{let K={...J.overageCreditGrantCache};return delete K[w],{...J,overageCreditGrantCache:K}})}function _(w){if(w.amount_minor_units==null||!w.currency)return null;if(w.currency.toUpperCase()==="USD"){let z=w.amount_minor_units/100;return Number.isInteger(z)?`$${z}`:`$${z.toFixed(2)}`}return null}var $=3600000;var k=P(()=>{Q();Y();W();X();V();Z()});
2
- export{E as Zi,U as _i,_ as $i,k as aj};
@@ -1,2 +0,0 @@
1
- import{jta as r}from"./cli-1.1.17-6ee0nqae.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},n;var p=r(()=>{i=Object.getOwnPropertyNames,n=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.32.1",description:"JavaScript SDK for the Firecrawl API: web scraping, crawling, web search, and scientific literature search over a research paper index of PubMed, bioRxiv, medRxiv and arXiv abstracts",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.30.1","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk","web-search","literature-search","research","scientific-papers","academic-search","biomedical","life-sciences","pubmed","biorxiv","medrxiv","arxiv","preprints","citations","bioinformatics"],engines:{node:">=22.0.0"}}}})});
2
- export{n as vi,p as wi};
@@ -1,2 +0,0 @@
1
- import{CZ as O}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as X,e4 as Q}from"./cli-1.1.17-545688c0.mjs";import{f4 as b}from"./cli-1.1.17-40gj2tc0.mjs";import{hfa as W,vfa as P}from"./cli-1.1.17-pmner0m4.mjs";import{fta as U}from"./cli-1.1.17-6ee0nqae.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
- export{V as kb,C as lb};
@@ -1,2 +0,0 @@
1
- import{bta as n}from"./cli-1.1.17-9q30wadt.mjs";import{hta as r}from"./cli-1.1.17-6ee0nqae.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
- export{i as g_};
@@ -1,2 +0,0 @@
1
- import{AG as Y,CG as p,jo as X,ko as h}from"./cli-1.1.17-tjtarhk9.mjs";import{CZ as v,G1 as D,b1 as B}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as I,d4 as J,e4 as W}from"./cli-1.1.17-545688c0.mjs";import{Zea as U,vfa as b}from"./cli-1.1.17-pmner0m4.mjs";import{fta as G}from"./cli-1.1.17-6ee0nqae.mjs";D();b();p();h();W();var Z=G(v(),1);function C(S){let k=Z.c(17),{customApiKeyTruncated:q,onDone:L}=S,M;if(k[0]!==q||k[1]!==L)M=function(f){k:switch(f){case"yes":{U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,approved:[...z.customApiKeyResponses?.approved??[],q]}})),L(!0);break k}case"no":U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,rejected:[...z.customApiKeyResponses?.rejected??[],q]}})),L(!1)}},k[0]=q,k[1]=L,k[2]=M;else M=k[2];let w=M,E;if(k[3]!==w)E=()=>w("no"),k[3]=w,k[4]=E;else E=k[4];let N;if(k[5]===Symbol.for("react.memo_cache_sentinel"))N=I(B,{bold:!0,children:"ANTHROPIC_API_KEY"}),k[5]=N;else N=k[5];let F;if(k[6]!==q)F=J(B,{children:[N,J(B,{children:[": sk-ant-...",q]})]}),k[6]=q,k[7]=F;else F=k[7];let O;if(k[8]===Symbol.for("react.memo_cache_sentinel"))O=I(B,{children:"Do you want to use this API key?"}),k[8]=O;else O=k[8];let P;if(k[9]===Symbol.for("react.memo_cache_sentinel"))P={label:"Yes",value:"yes"},k[9]=P;else P=k[9];let Q;if(k[10]===Symbol.for("react.memo_cache_sentinel"))Q=[P,{label:J(B,{children:["No (",I(B,{bold:!0,children:"recommended"}),")"]}),value:"no"}],k[10]=Q;else Q=k[10];let H;if(k[11]!==w)H=I(Y,{defaultValue:"no",defaultFocusValue:"no",options:Q,onChange:(V)=>w(V),onCancel:()=>w("no")}),k[11]=w,k[12]=H;else H=k[12];let R;if(k[13]!==E||k[14]!==F||k[15]!==H)R=J(X,{title:"Detected a custom API key in your environment",color:"warning",onCancel:E,children:[F,O,H]}),k[13]=E,k[14]=F,k[15]=H,k[16]=R;else R=k[16];return R}
2
- export{C as aa};
@@ -1,2 +0,0 @@
1
- import{Ai as v,Bi as T,zi as W}from"./cli-1.1.17-s6rzrasx.mjs";import{bja as X,dja as C,eja as $,fja as F}from"./cli-1.1.17-amvnbvkb.mjs";import{$ka as L,cla as B}from"./cli-1.1.17-2bc3gqw5.mjs";import{Jla as H,Ula as y}from"./cli-1.1.17-db7epgkw.mjs";import{xra as j,yna as E}from"./cli-1.1.17-d9y6k8vc.mjs";import{Jsa as N,rsa as R}from"./cli-1.1.17-sekbxc10.mjs";N();C();j();B();y();F();T();import{randomUUID as O}from"crypto";import{mkdir as U,writeFile as A}from"fs/promises";import{basename as I,join as M}from"path";var P=30000;function Q(q){L(`[bridge:inbound-attach] ${q}`)}var k=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),D=$(()=>X.array(k()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=D().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return I(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function l(){return M(H(),"uploads",E())}async function x(q){let G=W();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${v()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await R.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:P,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),_=(q.file_uuid.slice(0,8)||O().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),w=l(),Y=M(w,`${_}-${K}`);try{await U(w,{recursive:!0}),await A(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(x))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function u(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function o(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return u(G,K)}
2
- export{S as ca,f as da,u as ea,o as fa};
@@ -1,2 +0,0 @@
1
- import{c4 as w,e4 as F}from"./cli-1.1.17-545688c0.mjs";import{kta as D}from"./cli-1.1.17-6ee0nqae.mjs";F();var z,B;function O(q,v){z=q,B=v}async function Q(q,v,G,H){let J=z??import("./App-1.1.17-02e9gv69.mjs"),K=B??import("./REPL-1.1.17-4wy9nbxj.mjs");z=void 0,B=void 0;let[{App:M},{REPL:N}]=await Promise.all([J,K]);await H(q,w(M,{...v,children:w(N,{...G})}))}
2
- export{O as bb,Q as cb};
@@ -1,4 +0,0 @@
1
- import{asa as Q,bsa as V,csa as W,dsa as X,esa as Y,fsa as Z,qsa as w}from"./cli-1.1.17-jfrmnvzh.mjs";import{jta as v}from"./cli-1.1.17-6ee0nqae.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
- `),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
3
- `)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
- export{B as jla,L as kla,_ as lla,S as mla,k as nla,F as ola,D as pla,P as qla,x as rla,y as sla,T as tla,O as ula,R as vla,U as wla,f as xla,N as yla,I as zla,$ as Ala,A as Bla,p as Cla,C as Dla,h as Ela,E as Fla,b as Gla};
@@ -1,2 +0,0 @@
1
- import{CZ as s,G1 as f,b1 as t}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as n,d4 as c,e4 as r}from"./cli-1.1.17-545688c0.mjs";import{fta as m,jta as l}from"./cli-1.1.17-6ee0nqae.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 vg,p as wg};
@@ -1,3 +0,0 @@
1
- import{L as k}from"./cli-1.1.17-v5nv0awt.mjs";import{Mga as $,Nga as F,Tga as z,Uga as H,bha as P}from"./cli-1.1.17-pmner0m4.mjs";import{$ka as X,Eka as O,Jka as N,Nka as V,Rka as C,aka as _,bka as A,cka as B,cla as E,eka as L}from"./cli-1.1.17-2bc3gqw5.mjs";import{xra as w,yna as Z}from"./cli-1.1.17-d9y6k8vc.mjs";import{Jsa as y,rsa as q}from"./cli-1.1.17-sekbxc10.mjs";y();w();A();F();L();E();C();P();N();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 W(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 v(G,K){}function f(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=f(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),v(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()};W(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()};W(Q).write(U)}function M(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){M(),k()}
3
- export{e as J};
@@ -1,2 +0,0 @@
1
- import{$i as K,Zi as J,aj as M}from"./cli-1.1.17-tkz7x0rj.mjs";import{CZ as P,G1 as X}from"./cli-1.1.17-h899gx3g.mjs";import{e4 as q}from"./cli-1.1.17-545688c0.mjs";import{f4 as N}from"./cli-1.1.17-40gj2tc0.mjs";import{afa as H,vfa as Z}from"./cli-1.1.17-pmner0m4.mjs";import{yha as Y}from"./cli-1.1.17-6yqbrqsj.mjs";import{$ja as V}from"./cli-1.1.17-h68j8yr4.mjs";import{fta as z,jta as Q}from"./cli-1.1.17-6ee0nqae.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function E(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
2
- export{E as Zg,D as _g};
@@ -1,2 +0,0 @@
1
- import{Ck as Q,Dk as I,dS as R,sK as Y,vm as W,ym as P}from"./cli-1.1.17-tjtarhk9.mjs";import{eha as B,fha as f}from"./cli-1.1.17-6yqbrqsj.mjs";import{Nja as F,rja as H,sja as J}from"./cli-1.1.17-gbx2evhw.mjs";import{xra as $,yna as x}from"./cli-1.1.17-d9y6k8vc.mjs";import{jta as Z}from"./cli-1.1.17-6ee0nqae.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:{...z(h),stop_details:null},session_id:x(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:x(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:x(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let v=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:{...Y({content:v}).message,stop_details:null},parent_tool_use_id:null,session_id:x(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let v=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:v}}var G=Z(()=>{$();F();I();f();R();P()});
2
- export{S as Se,V as Te,X as Ue,r as Ve,w as We,T as Xe,G as Ye};
@@ -1,2 +0,0 @@
1
- import{Td as j,Ud as E}from"./cli-1.1.17-mc6hgzsa.mjs";import{$L as Y,Cp as v,ZL as X,iM as Z,kM as w,oM as _,qM as $,vM as f,zp as W}from"./cli-1.1.17-tjtarhk9.mjs";import{Cca as Q,Pca as T,Vga as V,bha as N,jfa as S,vfa as A}from"./cli-1.1.17-pmner0m4.mjs";import{$ka as B,cla as R}from"./cli-1.1.17-2bc3gqw5.mjs";import{Gla as K,zla as L}from"./cli-1.1.17-w8ycz611.mjs";import{jta as y}from"./cli-1.1.17-6ee0nqae.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
- export{d as qd,P as rd,t as sd,U as td};
@@ -1,2 +0,0 @@
1
- import{YM as L,gN as h,pN as y,qN as S,wN as w}from"./cli-1.1.17-tjtarhk9.mjs";import{$0 as U,CZ as l,G1 as B,b1 as D,f1 as v}from"./cli-1.1.17-h899gx3g.mjs";import{c4 as G,d4 as H,e4 as W}from"./cli-1.1.17-545688c0.mjs";import{fta as C,jta as M}from"./cli-1.1.17-6ee0nqae.mjs";function T(z){let q=u.c(26),{scope:A,parsingErrors:Q,warnings:R}=z,K=Q.length>0,X=R.length>0;if(!K&&!X)return null;let V;if(q[0]!==K||q[1]!==X)V=(K||X)&&H(D,{color:K?"error":"warning",children:["[",K?"Failed to parse":"Contains warnings","]"," "]}),q[0]=K,q[1]=X,q[2]=V;else V=q[2];let I;if(q[3]!==A)I=S(A),q[3]=A,q[4]=I;else I=q[4];let J;if(q[5]!==I)J=G(D,{children:I}),q[5]=I,q[6]=J;else J=q[6];let Y;if(q[7]!==V||q[8]!==J)Y=H(U,{children:[V,J]}),q[7]=V,q[8]=J,q[9]=Y;else Y=q[9];let P;if(q[10]===Symbol.for("react.memo_cache_sentinel"))P=G(D,{dimColor:!0,children:"Location: "}),q[10]=P;else P=q[10];let Z;if(q[11]!==A)Z=y(A),q[11]=A,q[12]=Z;else Z=q[12];let F;if(q[13]!==Z)F=H(U,{children:[P,G(D,{dimColor:!0,children:Z})]}),q[13]=Z,q[14]=F;else F=q[14];let O;if(q[15]!==Q)O=Q.map(E),q[15]=Q,q[16]=O;else O=q[16];let b;if(q[17]!==R)b=R.map(m),q[17]=R,q[18]=b;else b=q[18];let k;if(q[19]!==O||q[20]!==b)k=H(U,{marginLeft:1,flexDirection:"column",children:[O,b]}),q[19]=O,q[20]=b,q[21]=k;else k=q[21];let d;if(q[22]!==k||q[23]!==Y||q[24]!==F)d=H(U,{flexDirection:"column",marginTop:1,children:[Y,F,k]}),q[22]=k,q[23]=Y,q[24]=F,q[25]=d;else d=q[25];return d}function m(z,q){let A=z.mcpErrorMetadata?.serverName;return G(U,{children:H(D,{children:[G(D,{dimColor:!0,children:"└ "}),G(D,{color:"warning",children:"[Warning]"}),H(D,{dimColor:!0,children:[" ",A&&`[${A}] `,z.path&&z.path!==""?`${z.path}: `:"",z.message]})]})},`warning-${q}`)}function E(z,q){let A=z.mcpErrorMetadata?.serverName;return G(U,{children:H(D,{children:[G(D,{dimColor:!0,children:"└ "}),G(D,{color:"error",children:"[Error]"}),H(D,{dimColor:!0,children:[" ",A&&`[${A}] `,z.path&&z.path!==""?`${z.path}: `:"",z.message]})]})},`error-${q}`)}function x(){let z=u.c(6),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q={scope:"user",config:L("user")},z[0]=q;else q=z[0];let A;if(z[1]===Symbol.for("react.memo_cache_sentinel"))A={scope:"project",config:L("project")},z[1]=A;else A=z[1];let Q;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Q={scope:"local",config:L("local")},z[2]=Q;else Q=z[2];let R;if(z[3]===Symbol.for("react.memo_cache_sentinel"))R=[q,A,Q,{scope:"enterprise",config:L("enterprise")}],z[3]=R;else R=z[3];let K=R,X=K.some(j),V=K.some(_);if(!X&&!V)return null;let I;if(z[4]===Symbol.for("react.memo_cache_sentinel"))I=G(D,{bold:!0,children:"MCP Config Diagnostics"}),z[4]=I;else I=z[4];let J;if(z[5]===Symbol.for("react.memo_cache_sentinel"))J=H(U,{flexDirection:"column",marginTop:1,marginBottom:1,children:[I,G(U,{marginTop:1,children:H(D,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",G(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),K.map(f)]}),z[5]=J;else J=z[5];return J}function f(z){let{scope:q,config:A}=z;return G(T,{scope:q,parsingErrors:N(A.errors,"fatal"),warnings:N(A.errors,"warning")},q)}function _(z){let{config:q}=z;return N(q.errors,"warning").length>0}function j(z){let{config:q}=z;return N(q.errors,"fatal").length>0}function N(z,q){return z.filter((A)=>A.mcpErrorMetadata?.severity===q)}var u;var p=M(()=>{h();w();B();W();u=C(l(),1)});
2
- export{x as Eg,p as Fg};
@@ -1,24 +0,0 @@
1
- import{Wb as qY}from"./cli-1.1.17-vecw37vp.mjs";import{Nc as LY,Qc as rQ}from"./cli-1.1.17-g02c88z9.mjs";import{gi as X0,hi as p6}from"./cli-1.1.17-qr727b7j.mjs";import{Ii as IY,Ji as J6}from"./cli-1.1.17-09c1vkqx.mjs";import{$A as OY,$L as F9,$m as h0,$v as cZ,AG as I0,Au as S0,BG as o9,Bu as GQ,CO as BY,CQ as L6,Cu as JY,DS as zY,Du as lQ,EO as iQ,Eu as FY,FB as MY,GC as RY,GK as fY,GS as vY,HB as G6,HC as N6,Ht as F0,Iq as iZ,Jp as $9,Jq as cY,KR as kZ,Kp as r6,Kq as FZ,Kt as b0,Lq as PY,Lt as fZ,OR as xZ,Pt as i9,Uv as x0,Vv as u0,Wv as p0,Xm as UZ,Xv as c0,Yv as m0,ZL as P9,Zv as d0,_A as jY,_m as EZ,_v as pZ,_x as M0,aB as X6,aw as g0,bw as l0,by as r9,cw as a0,dM as b9,dS as OZ,dw as n0,eE as NY,ew as i0,fE as nQ,fw as r0,gl as L9,gw as o0,hl as u6,hw as s0,il as z9,iw as t0,jk as KZ,jl as v9,jw as NQ,kM as o6,kl as MZ,lB as HY,ll as Z0,lz as bY,mB as aQ,mk as O0,ml as q9,nI as C0,nQ as hY,nl as XZ,oI as s9,ol as Y0,oz as K6,pE as n,pL as rY,pl as D9,qS as xY,ql as A9,rB as yY,rE as B6,rk as $Y,rl as sY,sL as O6,tB as V6,tK as s,wQ as SY,yC as CY,yQ as kY,zC as H6,zK as TY,zS as uY}from"./cli-1.1.17-tjtarhk9.mjs";import{HX as Q9,LX as T6}from"./cli-1.1.17-k2ygh79g.mjs";import{AY as U0,BY as E0,CY as l9,FY as $0,GY as a9,MY as P0,NY as n9,mY as y0,nY as g9}from"./cli-1.1.17-yexr9jg1.mjs";import{$0 as p,CZ as m9,G1 as d9,b1 as b}from"./cli-1.1.17-h899gx3g.mjs";import{b4 as a,c4 as y,d4 as M,e4 as G0}from"./cli-1.1.17-545688c0.mjs";import{f4 as c9}from"./cli-1.1.17-40gj2tc0.mjs";import{P8 as j6,S7 as iY,k6 as nY,o6 as w6}from"./cli-1.1.17-cvtpmgr1.mjs";import{$aa as R6,$ca as lY,I_ as GY,Ica as E9,K_ as gQ,L$ as a6,Oga as w0,Pca as i6,Rga as p9,Saa as n6,Vga as e,Waa as Y9,Yda as aY,_ca as gY,bda as A6,bha as j0,j$ as y9,jea as _6,qaa as RZ,saa as x9,vaa as U9,w_ as _Z,x_ as k9}from"./cli-1.1.17-pmner0m4.mjs";import{mha as N0,uha as B0,yha as S9}from"./cli-1.1.17-6yqbrqsj.mjs";import{aia as oY,lia as E6}from"./cli-1.1.17-gz7gazer.mjs";import{bja as Y,cja as S,dja as HZ,eja as D,fja as yZ}from"./cli-1.1.17-amvnbvkb.mjs";import{Hja as _0,Nja as u9,ija as dY,kja as D6,mja as TZ,pja as L0,qja as z0,rja as v0,sja as q0,uja as D0,vja as A0}from"./cli-1.1.17-gbx2evhw.mjs";import{$ja as jZ,Yja as g}from"./cli-1.1.17-h68j8yr4.mjs";import{$ka as I,Eka as ZZ,Fka as WY,Jka as PZ,cka as Z9,cla as JZ,eka as C6}from"./cli-1.1.17-2bc3gqw5.mjs";import{ela as KY,ila as dQ}from"./cli-1.1.17-f0f3ww1e.mjs";import{Ala as sZ,Gla as gZ,lla as VY,zla as O9}from"./cli-1.1.17-w8ycz611.mjs";import{Ena as V0,Fna as eY,Poa as mY,fqa as J9,gqa as qZ,hqa as H9,jqa as N9,kqa as Q0,mqa as B9,ura as wY,xra as NZ,yna as BZ}from"./cli-1.1.17-d9y6k8vc.mjs";import{fta as H0,ita as SZ,jta as wZ,kta as nZ}from"./cli-1.1.17-6ee0nqae.mjs";var WQ={};SZ(WQ,{selectableUserMessagesFilter:()=>f0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function hZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:W,onSummarize:V,onClose:H,preselectedMessage:G}){let K=M0((j)=>j.fileHistory),[B,z]=R.useState(void 0),J=F0(),L=R.useMemo(t9,[]),_=R.useMemo(()=>[...Q.filter(f0),{...s({content:""}),uuid:L}],[Q,L]),[O,q]=R.useState(_.length-1),P=Math.max(0,Math.min(O-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[v,F]=R.useState(G),[U,h]=R.useState(void 0);R.useEffect(()=>{if(!G||!J)return;let j=!1;return fZ(K,G.uuid).then((T)=>{if(!j)h(T)}),()=>{j=!0}},[G,J,K]);let[E,w]=R.useState(!1),[c,r]=R.useState(null),[o,C]=R.useState("both"),[k,x]=R.useState(""),[A,$]=R.useState("");function N(j){let T=j?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],m={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return T.push({value:"summarize",label:"Summarize from here",...m,onChange:x}),T.push({value:"nevermind",label:"Never mind"}),T}R.useEffect(()=>{g("",{})},[]);async function u(j){Z(),w(!0);try{await X(j),w(!1),H()}catch(T){e(T),w(!1),z(`Failed to restore the conversation:
2
- ${T}`)}}async function l(j){let T=Q.indexOf(j),m=Q.length-1-T;if(g("",{index_from_end:m,message_type:j.type,is_current_prompt:!1}),!Q.includes(j)){H();return}if(!J){await u(j);return}let d=await fZ(K,j.uuid);F(j),h(d)}async function VZ(j){if(g("",{option:j}),!v){z("Message not found.");return}if(j==="nevermind"){if(G)H();else F(void 0);return}if(hZ(j)){Z(),w(!0),r(j),z(void 0);try{let d=j==="summarize_up_to"?"up_to":"from",YZ=(d==="up_to"?A:k).trim()||void 0;await V(v,YZ,d),w(!1),r(null),F(void 0),H()}catch(d){e(d),w(!1),r(null),F(void 0),z(`Failed to summarize:
3
- ${d}`)}return}Z(),w(!0),z(void 0);let T=null,m=null;if(j==="code"||j==="both")try{await W(v)}catch(d){T=d,e(T)}if(j==="conversation"||j==="both")try{await X(v)}catch(d){m=d,e(m)}if(w(!1),F(void 0),m&&T)z(`Failed to restore the conversation and code:
4
- ${m}
5
- ${T}`);else if(m)z(`Failed to restore the conversation:
6
- ${m}`);else if(T)z(`Failed to restore the code:
7
- ${T}`);else H()}let WZ=$0(),t=R.useCallback(()=>{if(v&&!G){F(void 0);return}g("",{}),H()},[H,v,G]),I9=R.useCallback(()=>q((j)=>Math.max(0,j-1)),[]),C9=R.useCallback(()=>q((j)=>Math.min(_.length-1,j+1)),[_.length]),R9=R.useCallback(()=>q(0),[]),T9=R.useCallback(()=>q(_.length-1),[_.length]),f9=R.useCallback(()=>{let j=_[O];if(j)l(j)},[_,O,l]);U0("confirm:no",t,{context:"Confirmation",isActive:!v}),E0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":R9,"messageSelector:bottom":T9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!E&&!B&&!v&&f});let[W0,K0]=R.useState({});R.useEffect(()=>{async function j(){if(!J)return;Promise.all(_.map(async(T,m)=>{if(T.uuid!==L){let d=b0(K,T.uuid),YZ=_.at(m+1),AZ=d?XQ(Q,T.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)K0((i)=>({...i,[m]:AZ}));else K0((i)=>({...i,[m]:void 0}))}}))}j()},[_,Q,L,K,J]);let DZ=J&&U?.filesChanged&&U.filesChanged.length>0,h9=!B&&!v&&!G&&f;return M(p,{flexDirection:"column",width:"100%",children:[y(P0,{color:"suggestion"}),M(p,{flexDirection:"column",marginX:1,gap:1,children:[y(b,{bold:!0,color:"suggestion",children:"Rewind"}),B&&y(a,{children:M(b,{color:"error",children:["Error: ",B]})}),!f&&y(a,{children:y(b,{children:"Nothing to rewind to yet."})}),!B&&v&&f&&M(a,{children:[M(b,{children:["Confirm you want to restore"," ",!U&&"the conversation ","to the point before you sent this message:"]}),M(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[y(J0,{userMessage:v,color:"text",isCurrent:!1}),M(b,{dimColor:!0,children:["(",B0(new Date(v.timestamp)),")"]})]}),y(YQ,{selectedRestoreOption:o,canRestoreCode:!!DZ,diffStatsForRestore:U}),E&&hZ(c)?M(p,{flexDirection:"row",gap:1,children:[y(C0,{}),y(b,{children:"Summarizing…"})]}):y(I0,{isDisabled:E,options:N(!!DZ),defaultFocusValue:DZ?"both":"conversation",onFocus:(j)=>C(j),onChange:(j)=>VZ(j),onCancel:()=>G?H():F(void 0)}),DZ&&y(p,{marginBottom:1,children:M(b,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),h9&&M(a,{children:[J?y(b,{children:"Restore the code and/or conversation to the point before…"}):y(b,{children:"Restore and fork the conversation to the point before…"}),y(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((j,T)=>{let m=P+T,d=m===O,YZ=j.uuid===L,AZ=m in W0,i=W0[m],IZ=i?.filesChanged&&i.filesChanged.length;return M(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[y(p,{width:2,minWidth:2,children:d?M(b,{color:"permission",bold:!0,children:[_Z.pointer," "]}):y(b,{children:" "})}),M(p,{flexDirection:"column",children:[y(p,{flexShrink:1,height:1,overflow:"hidden",children:y(J0,{userMessage:j,color:d?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&y(p,{height:1,flexDirection:"row",children:i?y(a,{children:y(b,{dimColor:!d,color:"inactive",children:IZ?M(a,{children:[IZ===1&&i.filesChanged[0]?`${QZ.basename(i.filesChanged[0])} `:`${IZ} files changed `,y(T0,{diffStats:i})]}):y(a,{children:"No code changes"})})}):M(b,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},j.uuid)})})]}),!v&&y(b,{dimColor:!0,italic:!0,children:WZ.pending?M(a,{children:["Press ",WZ.keyName," again to exit"]}):M(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:W,diffStatsForRestore:V}=Q,H=W&&(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=y(b,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==V||Z[5]!==X||Z[6]!==H)B=!hZ(X)&&(H?y(QQ,{diffStatsForRestore:V}):y(b,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=V,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=M(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=y(b,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let W=X.filesChanged.length,V;if(W===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];V=K}else if(W===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];V=`${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];V=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=y(T0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==V||Z[12]!==H)G=y(a,{children:M(b,{dimColor:!0,children:["The code will be restored"," ",H," in ",V,"."]})}),Z[11]=V,Z[12]=H,Z[13]=G;else G=Z[13];return G}function T0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let W;if(Z[0]!==X.insertions)W=M(b,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=W;else W=Z[1];let V;if(Z[2]!==X.deletions)V=M(b,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=V;else V=Z[3];let H;if(Z[4]!==W||Z[5]!==V)H=M(a,{children:[W,V]}),Z[4]=W,Z[5]=V,Z[6]=H;else H=Z[6];return H}function J0(Q){let Z=GZ.c(31),{userMessage:X,color:W,dimColor:V,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let h;if(Z[0]!==W||Z[1]!==V)h=y(p,{width:"100%",children:y(b,{italic:!0,color:W,dimColor:V,children:"(current)"})}),Z[0]=W,Z[1]=V,Z[2]=h;else h=Z[2];return h}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,O,q,P,f,v;if(Z[3]!==W||Z[4]!==K||Z[5]!==B||Z[6]!==V||Z[7]!==z||Z[8]!==G){v=Symbol.for("react.early_return_sentinel");Z:{let h=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",E=w0(h);if(O0(E)){let w;if(Z[17]!==W||Z[18]!==V)w=y(p,{flexDirection:"row",width:"100%",children:y(b,{italic:!0,color:W,dimColor:V,children:"((empty message))"})}),Z[17]=W,Z[18]=V,Z[19]=w;else w=Z[19];v=w;break Z}if(E.includes("<bash-input>")){let w=KZ(E,"bash-input");if(w){let c;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))c=y(b,{color:"bashBorder",children:"!"}),Z[20]=c;else c=Z[20];v=M(p,{flexDirection:"row",width:"100%",children:[c,M(b,{color:W,dimColor:V,children:[" ",w]})]});break Z}}if(E.includes(`<${TZ}>`)){let w=KZ(E,TZ),c=KZ(E,"command-args"),r=KZ(E,"skill-format")==="true";if(w)if(r){v=y(p,{flexDirection:"row",width:"100%",children:M(b,{color:W,dimColor:V,children:["Skill(",w,")"]})});break Z}else{v=y(p,{flexDirection:"row",width:"100%",children:M(b,{color:W,dimColor:V,children:["/",w," ",c]})});break Z}}L=p,P="row",f="100%",J=b,_=W,O=V,q=G?N0(E,K-G,!0):E.slice(0,500).split(`
8
- `).slice(0,4).join(`
9
- `)}Z[3]=W,Z[4]=K,Z[5]=B,Z[6]=V,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=O,Z[13]=q,Z[14]=P,Z[15]=f,Z[16]=v}else J=Z[9],L=Z[10],_=Z[11],O=Z[12],q=Z[13],P=Z[14],f=Z[15],v=Z[16];if(v!==Symbol.for("react.early_return_sentinel"))return v;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==O||Z[24]!==q)F=y(J,{color:_,dimColor:O,children:q}),Z[21]=J,Z[22]=_,Z[23]=O,Z[24]=q,Z[25]=F;else F=Z[25];let U;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)U=y(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=U;else U=Z[30];return U}function XQ(Q,Z,X){let W=Q.findIndex((B)=>B.uuid===Z);if(W===-1)return;let V=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(V===-1)V=Q.length;let H=[],G=0,K=0;for(let B=W+1;B<V;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 _=RZ(L.lines,(q)=>q.startsWith("+")),O=RZ(L.lines,(q)=>q.startsWith("-"));G+=_,K+=O}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function f0(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],W=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(W.indexOf(`<${v0}>`)!==-1||W.indexOf(`<${q0}>`)!==-1||W.indexOf(`<${L0}>`)!==-1||W.indexOf(`<${z0}>`)!==-1||W.indexOf(`<${A0}>`)!==-1||W.indexOf(`<${D0}>`)!==-1||W.indexOf(`<${_0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let W=Q[X];if(!W)continue;if(kZ(W))continue;if(xZ(W))continue;if(W.type==="progress")continue;if(W.type==="system")continue;if(W.type==="attachment")continue;if(W.type==="user"&&W.isMeta)continue;if(W.type==="assistant"){let V=W.message.content;if(Array.isArray(V)){if(V.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(W.type==="user")return!1}return!0}var GZ,R,CZ=7;var KQ=wZ(()=>{k9();jZ();r9();i9();j0();a9();d9();l9();p9();OZ();o9();s9();g9();u9();x9();S9();n9();G0();GZ=H0(m9(),1),R=H0(c9(),1)});var M6={};SZ(M6,{getCronJitterConfig:()=>b6});function b6(){let Q=oY("tengu_kairos_cron_config",XZ,$6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var $6=60000,rZ=1800000,P6=2592000000,F6;var I6=wZ(()=>{HZ();E6();sY();yZ();F6=D(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(rZ),oneShotMaxMs:Y.number().int().min(0).max(rZ),oneShotFloorMs:Y.number().int().min(0).max(rZ),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 h6,unlink as X9,writeFile as tZ}from"fs/promises";import{dirname as S6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await h6(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),W=ZZ(Q);try{return await tZ(X,W,{flag:"wx"}),!0}catch(V){let H=sZ(V);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(S6(X),{recursive:!0});try{return await tZ(X,W,{flag:"wx"}),!0}catch(G){if(sZ(G)==="EEXIST")return!1;throw G}}throw V}}function oZ(Q){bZ?.(),bZ=Z9(async()=>{await vZ(Q)})}async function eZ(Q){let Z=Q?.dir,X=Q?.lockIdentity??BZ(),W={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(W,Z))return LZ=void 0,oZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let V=await W9(Z);if(V?.sessionId===X){if(V.pid!==process.pid)await tZ(zZ(Z),ZZ(W)),oZ(Q);return!0}if(V&&Q9(V.pid)){if(LZ!==V.sessionId)LZ=V.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${V.sessionId} (PID ${V.pid})`);return!1}if(V)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${V.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(W,Z))return LZ=void 0,oZ(Q),!0;return!1}async function vZ(Q){bZ?.(),bZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??BZ(),W=await W9(Z);if(!W||W.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,bZ,LZ;var K9=wZ(()=>{HZ();NZ();C6();JZ();gZ();T6();R6();yZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=D(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var g6={};SZ(g6,{takeDueSessionWakeup:()=>w9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>d6,buildMissedTaskNotification:()=>j9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function w9(Q){let Z=Q0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:X0(Z.prompt),reason:Z.reason}}function d6(Q){let{onFire:Z,isLoading:X,assistantMode:W=!1,onFireTask:V,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,O=[],q=new Map,P=new Set,f=new Set,v=null,F=null,U=null,h=null,E=!1,w=!1;async function c(C){let k=await v9(K);if(E)return;if(O=k,!C)return;let x=Date.now(),A=A9(k,x).filter(($)=>!$.recurring&&!P.has($.id)&&(!L||L($)));if(A.length>0){for(let $ of A)P.add($.id),q.set($.id,1/0);if(g("",{count:A.length,taskIds:A.map(($)=>$.id).join(",")}),H)H(A);else Z(j9(A));Z0(A.map(($)=>$.id),K).catch(($)=>I(`[ScheduledTasks] failed to remove missed tasks: ${$}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function r(){if(J?.())return;if(X()&&!W)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function $(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=q.get(N.id);if(l===void 0)l=N.recurring?Y0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:D9(N.cron,N.createdAt,N.id,A)??1/0,q.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("",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?X0(N.prompt,void 0,N.agentId):N.prompt;if(V)V(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("",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Y0(N.cron,C,N.id,A)??1/0;if(q.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),q.delete(N.id);else f.add(N.id),Z0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),q.delete(N.id)}if(w){for(let N of O)$(N,!1);if(x.length>0){for(let N of x)f.add(N);q9(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())$(u,!0);let N=w9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){q.clear();return}for(let N of q.keys())if(!k.has(N))q.delete(N)}async function o(){if(E)return;if(v)clearInterval(v),v=null;let{default:C}=await import("./index-1.1.17-mvtaa82m.mjs");if(E)return;if(w=await eZ(_).catch(()=>!1),E){if(w)w=!1,vZ(_);return}if(!w)U=setInterval(()=>{eZ(_).then((x)=>{if(E){if(x)vZ(_);return}if(x){if(w=!0,U)clearInterval(U),U=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),U.unref?.();c(!0);let k=z9(K);h=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),h.on("add",()=>void c(!1)),h.on("change",()=>void c(!1)),h.on("unlink",()=>{if(!E)O=[],q.clear()}),F=setInterval(r,G9),F.unref?.()}return{start(){if(E=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${MZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${qZ()}, hasTasks=${MZ()}`),!qZ()&&(W||MZ()))J9(!0);if(qZ()){o();return}v=setInterval((C)=>{if(qZ())C()},G9,o),v.unref?.()},stop(){if(E=!0,v)clearInterval(v),v=null;if(F)clearInterval(F),F=null;if(U)clearInterval(U),U=null;if(h?.close(),h=null,w)w=!1,vZ(_)},getNextFireTime(){let C=1/0;for(let k of q.values())if(k<C)C=k;if(K===void 0){let k=Q0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function j9(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.`,W=Q.map((V)=>{let H=`[${L9(V.cron)}, created ${new Date(V.createdAt).toLocaleString()}]`,G=(V.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
12
- ${K}
13
- ${V.prompt}
14
- ${K}`});return`${X}
15
-
16
- ${W.join(`
17
-
18
- `)}`}var G9=1000,c6=300,m6=5000;var l6=wZ(()=>{NZ();jZ();u6();sY();K9();JZ();p6()});HZ();JZ();yZ();h0();GQ();var EX=D(()=>S.object({tool_name:S.string().describe("The name of the tool requesting permission"),input:S.record(S.string(),S.unknown()).describe("The input for the tool"),tool_use_id:S.string().optional().describe("The unique tool use request ID")})),k0=D(()=>S.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),JQ=D(()=>S.object({behavior:S.literal("allow"),updatedInput:S.record(S.string(),S.unknown()),updatedPermissions:S.array(S0()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:S.string().optional(),decisionClassification:k0()})),HQ=D(()=>S.object({behavior:S.literal("deny"),message:S.string(),interrupt:S.boolean().optional(),toolUseID:S.string().optional(),decisionClassification:k0()})),uZ=D(()=>S.union([JQ(),HQ()]));function $Z(Q,Z,X,W){let V={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)W.setAppState((K)=>({...K,toolPermissionContext:UZ(K.toolPermissionContext,H)})),EZ(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:V}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),W.abortController.abort();return{...Q,decisionReason:V}}import{randomUUID as dZ}from"crypto";HZ();yZ();NQ();var BQ=D(()=>Y.unknown()),LQ=D(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),zQ=D(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(m0(),Y.array(LQ())).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(),a0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),MX=D(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(g0()),account:l0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:t0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),vQ=D(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),qQ=D(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(p0()).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.")),DQ=D(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:c0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),AQ=D(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),_Q=D(()=>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.")),wQ=D(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),jQ=D(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),OQ=D(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),yQ=D(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),IX=D(()=>Y.object({categories:Y.array(OQ()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(yQ())),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=D(()=>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.")),EQ=D(()=>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.")),$Q=D(()=>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.")),PQ=D(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:d0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),FQ=D(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:BQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),bQ=D(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),x0())}).describe("Replaces the set of dynamically managed MCP servers.")),CX=D(()=>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.")),MQ=D(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),RX=D(()=>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(u0()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),IQ=D(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),CQ=D(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),RQ=D(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),TQ=D(()=>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.")),fQ=D(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),TX=D(()=>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.")),hQ=D(()=>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).")),e0=D(()=>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.")),SQ=D(()=>Y.union([vQ(),qQ(),zQ(),DQ(),AQ(),_Q(),wQ(),jQ(),PQ(),FQ(),UQ(),EQ(),$Q(),bQ(),MQ(),IQ(),CQ(),RQ(),TQ(),fQ(),hQ()])),mZ=D(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:SQ()})),kQ=D(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),xQ=D(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),ZY=D(()=>Y.object({type:Y.literal("control_response"),response:Y.union([kQ(),xQ()])})),uQ=D(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),YY=D(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),pQ=D(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),fX=D(()=>Y.union([s0(),i0(),r0(),o0(),ZY(),mZ(),uQ(),YY()])),hX=D(()=>Y.union([n0(),mZ(),ZY(),YY(),pQ()]));lQ();JZ();gQ();gZ();iQ();dQ();PZ();HZ();nQ();vY();h0();rQ();PZ();aQ();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,W){let V;try{V=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{V=Q.name}return{tool_name:Q.name,action_description:V,tool_use_id:X,request_id:W,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 HY;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 W=Q.slice(0,X);Q=Q.slice(X+1);let V=await this.processLine(W);if(V)GY("info","cli_stdin_message_parsed",{type:V.type}),yield V}}.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 W=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(W))}catch(V){X.reject(V)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=qY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let W=Object.keys(Z.variables);for(let[V,H]of Object.entries(Z.variables))process.env[V]=H;I(`[structuredIO] applied update_environment_variables: ${W.join(", ")}`);return}if(Z.type==="control_response"){let W="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(W)NY(W,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let K=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof K==="string"&&this.resolvedToolUseIds.has(K)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${K} 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 H=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(H))}catch(G){V.reject(G)}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;let X=Z.message;if(X.role!=="user")XY(`Error: Expected message role 'user', got '${String(X.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,W=dZ()){let V={type:"control_request",request_id:W,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(V),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(V);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:W});let G=this.pendingRequests.get(W);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(W,{request:{type:"control_request",request_id:W,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(W)}}createCanUseTool(Q){return async(Z,X,W,V,H,G)=>{let K=G??await BY(Z,X,W,V,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=W.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,W,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let O=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:W.agentId},uZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),q=await Promise.race([L,O]);if(q.source==="hook"){if(q.decision)return O.catch(()=>{}),B.abort(),q.decision;let P=await O;return $Z(P.result,Z,X,W)}return $Z(q.result,Z,X,W)}catch(L){return $Z({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,W)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,W,V)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:W||void 0},JY(),V)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,W,V,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:V,url:H,elicitation_id:G,requested_schema:X},e0(),W)}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}?`},uZ())).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,W,V){let G=W.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,W,G,V,W.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){EZ(L);let _=W.getAppState(),O=UZ(_.toolPermissionContext,L);W.setAppState((q)=>{if(q.toolPermissionContext===O)return q;return{...q,toolPermissionContext:O}})}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}var DY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function Q6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let W=[],V=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(V){if(V==="["&&L==="["){H=J;continue}if(L!==DY[V])continue;if(V==="'"&&G(Q[J+1]))continue;W.push({start:H,end:J+1}),V=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in DY)V=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(W.some((P)=>L>=P.start&&L<P.end))continue;let O=Q[L-1],q=Q[_];if(O==="/"||O==="\\"||O==="-")continue;if(q==="/"||q==="\\"||q==="-"||q==="?")continue;if(q==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function WV(Q){return Q6(Q,"ultrareview")}jZ();OZ();L6();H6();N6();G6();vY();PY();K6();OZ();B6();J6();import{randomUUID as z6}from"crypto";NZ();jZ();OZ();X6();V6();import{randomUUID as W6}from"crypto";function AY(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 _Y(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function UY(Q,Z,X,W,V,H,G){let K=W6();wY(K);let B=typeof Q==="string"?Q:Q.find((O)=>O.type==="text")?.text||"";yY(B);let z=typeof Q==="string"?Q:Q.findLast((O)=>O.type==="text")?.text||"";if(z)OY("user_prompt",{prompt_length:String(z.length),prompt:jY(z),"prompt.id":K});let J=AY(B),L=_Y(B);if(g("",{is_negative:J,is_keep_going:L}),Z.length>0){let O=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...O,...Z],uuid:V,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...W],shouldQuery:!0}}return{messages:[s({content:Q,uuid:V,permissionMode:H,isMeta:G||void 0}),...W],shouldQuery:!0}}async function TV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:W,context:V,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:O,bridgeOrigin:q,isMeta:P,skipAttachments:f}){let v=typeof Q==="string"?Q:null;if(X==="prompt"&&v!==null&&!P)B?.(v);n("query_process_user_input_base_start");let F=V.getAppState(),U=await v6(Q,X,W,V,H,G,K,z,J,L,_,F.toolPermissionContext.mode,O,q,P,f,Z);if(n("query_process_user_input_base_end"),!U.shouldQuery)return U;n("query_hooks_start");let h=$Y(Q)||"";for await(let E of uY(h,F.toolPermissionContext.mode,V,V.requestPrompt)){if(E.message?.type==="progress")continue;if(E.blockingError){let c=xY(E.blockingError);return{messages:[TY(`${c}
22
-
23
- Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:U.allowedTools}}if(E.preventContinuation){let c=E.stopReason?`Operation stopped by hook: ${E.stopReason}`:"Operation stopped by hook";return U.messages.push(s({content:c})),U.shouldQuery=!1,U}if(E.additionalContexts&&E.additionalContexts.length>0)U.messages.push(FY({type:"hook_additional_context",content:E.additionalContexts.map(EY),hookName:"UserPromptSubmit",toolUseID:`hook-${z6()}`,hookEvent:"UserPromptSubmit"}));let w=E.message;if(w&&w.type==="attachment")switch(w.attachment.type){case"hook_success":if(!w.attachment.content)break;U.messages.push({...w,attachment:{...w.attachment,content:EY(w.attachment.content)}});break;default:U.messages.push(w);break}else if(w)U.messages.push(w)}return n("query_hooks_end"),U}var lZ=1e4;function EY(Q){if(Q.length>lZ)return`${Q.substring(0,lZ)}… [output truncated - exceeded ${lZ} characters]`;return Q}async function v6(Q,Z,X,W,V,H,G,K,B,z,J,L,_,O,q,P,f){let v=null,F=[],U=[],h=Q;if(typeof Q==="string")v=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)U.push(l)}A.push(u.block)}else A.push(N);h=A,n("query_image_processing_end");let $=A[A.length-1];if($?.type==="text")v=$.text,F=A.slice(0,-1);else F=A}if(v===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let E=V?Object.values(V).filter(CY):[],w=E.map((A)=>A.id),c=V?await bY(V):new Map;n("query_pasted_image_processing_start");let r=await Promise.all(E.map(async(A)=>{let $={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("",{original_size_bytes:A.content.length}),{resized:await iZ($),originalDimensions:A.dimensions,sourcePath:A.sourcePath??c.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:$,sourcePath:N}of r){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)U.push(u)}else if($){let u=FZ($,N);if(u)U.push(u)}else if(N)U.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(O&&v!==null&&v.startsWith("/")){let A=IY(v),$=A?kY(A.commandName,W.options.commands):void 0;if($)if(SY($))C=!1;else{let N=`/${hY($)} isn't available over Remote Control.`;return{messages:[s({content:v,uuid:K}),fY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&v!==null&&(Z!=="prompt"||C||!v.startsWith("/"));n("query_attachment_loading_start");let x=k?await MY(RY(v,W,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),v!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-1.1.17-8x8av07q.mjs");return aZ(await A(v,F,x,W,X),U)}if(v!==null&&!C&&v.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-1.1.17-p2hph3mq.mjs"),$=await A(v,F,o,x,W,X,K,B,J);return aZ($,U)}if(v!==null&&Z==="prompt"){let A=v.trim(),$=x.find((N)=>N.attachment.type==="agent_mention");if($){let N=`@agent-${$.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("",{is_subagent_only:u,is_prefix:l})}}return aZ(UY(h,o,w,x,K,L,q),U)}function aZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}PY();function SV(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(pY))return Q;return Q.map((Z)=>{if(!pY(Z))return Z;let X=Z.source,W=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:cY(Z.source.data);return{...Z,source:{type:"base64",media_type:W,data:Z.source.data}}})}function pY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}NZ();O6();A6();j6();D6();w6();_6();import{randomUUID as y6}from"crypto";function U6(Q){return Q===gY?lY:Q}function aV(Q){let X=aY()?.outputStyle??rY,W={type:"system",subtype:"init",cwd:dY(),session_id:BZ(),tools:Q.tools.map((V)=>U6(V.name)),mcp_servers:Q.mcpClients.map((V)=>({name:V.name,status:V.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),apiKeySource:iY().source,betas:mY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((V)=>V.agentType),skills:Q.skills.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),plugins:Q.plugins.map((V)=>({name:V.name,path:V.path,source:V.source})),uuid:y6()};return W.fast_mode_state=nY(Q.model,Q.fastMode),W}r6();NZ();JZ();gZ();n6();a6();j0();o6();i6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let W=[],V=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=M9(K.source,X?.projectRoot);if(!B)W.push(G);else if(K.sourceIsFallback)H.push(G);else if(!$9(z,B.source))V.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:W,sourceChanged:V,upToDate:H}}async function FW(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 W=e6(Z,X,{projectRoot:V0()}),V=[...W.missing.map((J)=>({name:J,source:M9(Z[J].source),action:"install"})),...W.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of V){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&E9(J.source)&&!await U9(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:W.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:O}=G[J];Q?.onProgress?.({type:"installing",name:L,action:O,index:J+1,total:G.length});try{let q=await b9(_);if(O==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:q.alreadyMaterialized})}catch(q){let P=O9(q);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(q)}}return{installed:K,updated:B,failed:z,upToDate:W.upToDate,skipped:H}}function M9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??V0(),W=y9(X);return{...Q,path:t6(W??X,Q.path)}}return Q}
24
- export{uZ as ka,$Z as la,QY as ma,oQ as na,Z6 as oa,e9 as pa,f0 as qa,VQ as ra,WQ as sa,KQ as ta,WV as ua,TV as va,SV as wa,U6 as xa,aV as ya,e6 as za,FW as Aa,b6 as Ba,M6 as Ca,I6 as Da,d6 as Ea,g6 as Fa,l6 as Ga};