@claudiolabs/claudin 1.1.13 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (902) hide show
  1. package/README.md +7 -0
  2. package/dist/chunks/AgentTool-1.1.14-9q1ggh0e.mjs +1 -0
  3. package/dist/chunks/App-1.1.14-htg9bgyr.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.14-5mvef4qg.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.14-cdhvy1n1.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.14-amx3pan8.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.14-rs6q16rf.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.14-n5yvcvr6.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.14-53gmdkhz.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.14-30hcgbry.mjs +6 -0
  11. package/dist/chunks/Doctor-1.1.14-7sy2g3kq.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.14-e4es88e1.mjs +6 -0
  13. package/dist/chunks/ITermBackend-1.1.14-6h3jm7pr.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.14-chxkapxm.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.14-zpsvdv05.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.14-j9enxt6f.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.14-2b01fwcq.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.14-wbwa9rnr.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.14-04ezket2.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.14-w737z0ya.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.14-vc6rvhd7.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.14-s06dyncs.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.14-8xhjpqb6.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.14-szxvge9a.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.14-pfr2r56w.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.14-y0fr1104.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.14-1hdvwfw0.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.14-mb3f9and.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.14-vtjpr86t.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.14-8f7ye4cx.mjs +1 -0
  31. package/dist/chunks/agents-1.1.14-09h1y56n.mjs +3 -0
  32. package/dist/chunks/agents-1.1.14-0w8wycx4.mjs +110 -0
  33. package/dist/chunks/api-1.1.14-0fbebbzk.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.14-tb149dp4.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.14-z0zfp1et.mjs +1 -0
  36. package/dist/chunks/auth-1.1.14-bap5zejc.mjs +1 -0
  37. package/dist/chunks/auth-1.1.14-f6095j1n.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.14-ez7vz44q.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.14-nh4g2w5c.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.14-85wfz0d2.mjs +1 -0
  41. package/dist/chunks/branch-1.1.14-q182qsp7.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.14-9kv2fqz4.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.14-c73sbxxv.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.14-e8cdsjdy.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.14-v69v0m5y.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.14-a7m65hvd.mjs +1 -0
  47. package/dist/chunks/btw-1.1.14-972yxja7.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.14-j9178h9m.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.14-3ce2pkz1.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.14-qkerj80m.mjs +4 -0
  51. package/dist/chunks/caches-1.1.14-nf8ev61m.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.14-ccv8t2d4.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.14-m5t9ge1t.mjs +1 -0
  54. package/dist/chunks/clear-1.1.14-cfbvvm07.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.14-c99j8gmq.mjs +1 -0
  56. package/dist/chunks/cli-1.1.14-0e209hdd.mjs +2 -0
  57. package/dist/chunks/cli-1.1.14-0f45n8mg.mjs +2 -0
  58. package/dist/chunks/cli-1.1.14-1avercfj.mjs +2 -0
  59. package/dist/chunks/cli-1.1.14-1d5gcev8.mjs +2 -0
  60. package/dist/chunks/cli-1.1.14-1dph8n41.mjs +24 -0
  61. package/dist/chunks/cli-1.1.14-1hghs4qh.mjs +15 -0
  62. package/dist/chunks/cli-1.1.14-1zf42f1b.mjs +2 -0
  63. package/dist/chunks/cli-1.1.14-256a4dam.mjs +21 -0
  64. package/dist/chunks/cli-1.1.14-2gn4jtm1.mjs +3 -0
  65. package/dist/chunks/cli-1.1.14-2ysqsyrs.mjs +4 -0
  66. package/dist/chunks/cli-1.1.14-35sv8v0f.mjs +2 -0
  67. package/dist/chunks/cli-1.1.14-377p51gp.mjs +2 -0
  68. package/dist/chunks/cli-1.1.14-3a1bnf85.mjs +2 -0
  69. package/dist/chunks/cli-1.1.14-3f4fg0jf.mjs +2 -0
  70. package/dist/chunks/cli-1.1.14-3rjxbb1k.mjs +2 -0
  71. package/dist/chunks/cli-1.1.14-42r8tafr.mjs +3 -0
  72. package/dist/chunks/cli-1.1.14-4hs7pyh0.mjs +6 -0
  73. package/dist/chunks/cli-1.1.14-4s9n8yjm.mjs +2 -0
  74. package/dist/chunks/cli-1.1.14-4w3fbvdq.mjs +3 -0
  75. package/dist/chunks/cli-1.1.14-4y2f1s92.mjs +24 -0
  76. package/dist/chunks/cli-1.1.14-53dfe61t.mjs +2 -0
  77. package/dist/chunks/cli-1.1.14-59y1pays.mjs +2 -0
  78. package/dist/chunks/cli-1.1.14-63ezr011.mjs +4 -0
  79. package/dist/chunks/cli-1.1.14-6873seek.mjs +2 -0
  80. package/dist/chunks/cli-1.1.14-6ae3m5qs.mjs +3 -0
  81. package/dist/chunks/cli-1.1.14-6aknzs0q.mjs +3 -0
  82. package/dist/chunks/cli-1.1.14-6ex3vykg.mjs +16 -0
  83. package/dist/chunks/cli-1.1.14-6fa8a7k1.mjs +2 -0
  84. package/dist/chunks/cli-1.1.14-6q6zgmwr.mjs +4 -0
  85. package/dist/chunks/cli-1.1.14-6vr1y1hr.mjs +2 -0
  86. package/dist/chunks/cli-1.1.14-6wh10yar.mjs +2 -0
  87. package/dist/chunks/cli-1.1.14-6ybkavvh.mjs +4 -0
  88. package/dist/chunks/cli-1.1.14-711x17sa.mjs +2 -0
  89. package/dist/chunks/cli-1.1.14-73mqk8g5.mjs +2 -0
  90. package/dist/chunks/cli-1.1.14-73zh23ez.mjs +2 -0
  91. package/dist/chunks/cli-1.1.14-7ccy5ssr.mjs +2 -0
  92. package/dist/chunks/cli-1.1.14-7jt701f6.mjs +2 -0
  93. package/dist/chunks/cli-1.1.14-7pzggsge.mjs +2 -0
  94. package/dist/chunks/cli-1.1.14-83ng5cjk.mjs +2 -0
  95. package/dist/chunks/cli-1.1.14-889fhp26.mjs +3 -0
  96. package/dist/chunks/cli-1.1.14-8d79550c.mjs +2 -0
  97. package/dist/chunks/cli-1.1.14-8eaenjx4.mjs +4 -0
  98. package/dist/chunks/cli-1.1.14-8fx5qjh6.mjs +5440 -0
  99. package/dist/chunks/cli-1.1.14-8g09v1yy.mjs +2 -0
  100. package/dist/chunks/cli-1.1.14-8mn8xn5g.mjs +6 -0
  101. package/dist/chunks/cli-1.1.14-8p0w0geq.mjs +2 -0
  102. package/dist/chunks/cli-1.1.14-8wdw7x7k.mjs +2 -0
  103. package/dist/chunks/cli-1.1.14-8wsrnrk6.mjs +2 -0
  104. package/dist/chunks/cli-1.1.14-8yw87v1w.mjs +2 -0
  105. package/dist/chunks/cli-1.1.14-91ymqn8n.mjs +18 -0
  106. package/dist/chunks/cli-1.1.14-9419wa62.mjs +2 -0
  107. package/dist/chunks/cli-1.1.14-947tpwm7.mjs +2 -0
  108. package/dist/chunks/cli-1.1.14-9cg8tjv3.mjs +3 -0
  109. package/dist/chunks/cli-1.1.14-9gvsxyt7.mjs +2 -0
  110. package/dist/chunks/cli-1.1.14-9nw51dsq.mjs +3 -0
  111. package/dist/chunks/cli-1.1.14-a5v23mcj.mjs +2 -0
  112. package/dist/chunks/cli-1.1.14-ac4030sa.mjs +2 -0
  113. package/dist/chunks/cli-1.1.14-ac5krqkz.mjs +2 -0
  114. package/dist/chunks/cli-1.1.14-acg38ym6.mjs +2 -0
  115. package/dist/chunks/cli-1.1.14-afnxph29.mjs +2 -0
  116. package/dist/chunks/cli-1.1.14-aynsgyjh.mjs +2 -0
  117. package/dist/chunks/cli-1.1.14-az6pbe66.mjs +2 -0
  118. package/dist/chunks/cli-1.1.14-b1sbm8w6.mjs +133 -0
  119. package/dist/chunks/cli-1.1.14-ba8qj93n.mjs +50 -0
  120. package/dist/chunks/cli-1.1.14-bg9cmzcy.mjs +45 -0
  121. package/dist/chunks/cli-1.1.14-bjsx40c2.mjs +2 -0
  122. package/dist/chunks/cli-1.1.14-bjy8bxz1.mjs +2 -0
  123. package/dist/chunks/cli-1.1.14-brw0w20r.mjs +5 -0
  124. package/dist/chunks/cli-1.1.14-bwc8pb1f.mjs +2 -0
  125. package/dist/chunks/cli-1.1.14-byr5dy4k.mjs +4 -0
  126. package/dist/chunks/cli-1.1.14-bz7ts9p7.mjs +2 -0
  127. package/dist/chunks/cli-1.1.14-c30dtxm5.mjs +2 -0
  128. package/dist/chunks/cli-1.1.14-c41jzsx4.mjs +39 -0
  129. package/dist/chunks/cli-1.1.14-cakvdwn3.mjs +2 -0
  130. package/dist/chunks/cli-1.1.14-ce1ghrw0.mjs +2 -0
  131. package/dist/chunks/cli-1.1.14-cfkzk93c.mjs +2 -0
  132. package/dist/chunks/cli-1.1.14-chn2z068.mjs +6 -0
  133. package/dist/chunks/cli-1.1.14-cj411dk7.mjs +2 -0
  134. package/dist/chunks/cli-1.1.14-cnhawbs5.mjs +2 -0
  135. package/dist/chunks/cli-1.1.14-cnkv5cdq.mjs +2 -0
  136. package/dist/chunks/cli-1.1.14-cran8hzr.mjs +2 -0
  137. package/dist/chunks/cli-1.1.14-crdc0nk7.mjs +8 -0
  138. package/dist/chunks/cli-1.1.14-cxm6hsqs.mjs +2 -0
  139. package/dist/chunks/cli-1.1.14-cxqb5hw8.mjs +2 -0
  140. package/dist/chunks/cli-1.1.14-cydkb96c.mjs +2 -0
  141. package/dist/chunks/cli-1.1.14-db3mxak8.mjs +6 -0
  142. package/dist/chunks/cli-1.1.14-e7mfj9cz.mjs +2 -0
  143. package/dist/chunks/cli-1.1.14-ec6d00xg.mjs +66 -0
  144. package/dist/chunks/cli-1.1.14-eccdwm9t.mjs +18 -0
  145. package/dist/chunks/cli-1.1.14-ecnk9fd6.mjs +2 -0
  146. package/dist/chunks/cli-1.1.14-edqga9n4.mjs +2 -0
  147. package/dist/chunks/cli-1.1.14-eh3y4akg.mjs +2 -0
  148. package/dist/chunks/cli-1.1.14-ehnnwt4w.mjs +12 -0
  149. package/dist/chunks/cli-1.1.14-ennnd2wk.mjs +2 -0
  150. package/dist/chunks/cli-1.1.14-esspp1p0.mjs +2 -0
  151. package/dist/chunks/cli-1.1.14-f04bv457.mjs +2 -0
  152. package/dist/chunks/cli-1.1.14-f0686hwn.mjs +2 -0
  153. package/dist/chunks/cli-1.1.14-f0vw7m5f.mjs +2 -0
  154. package/dist/chunks/cli-1.1.14-f2g608st.mjs +2 -0
  155. package/dist/chunks/cli-1.1.14-f2z81veh.mjs +12 -0
  156. package/dist/chunks/cli-1.1.14-f5bvc359.mjs +2 -0
  157. package/dist/chunks/cli-1.1.14-f9dpkjv9.mjs +2 -0
  158. package/dist/chunks/cli-1.1.14-fm5cz88a.mjs +3 -0
  159. package/dist/chunks/cli-1.1.14-fp33ryn9.mjs +2 -0
  160. package/dist/chunks/cli-1.1.14-fq9x6yxc.mjs +2 -0
  161. package/dist/chunks/cli-1.1.14-ftjv2jrz.mjs +2 -0
  162. package/dist/chunks/cli-1.1.14-fwakcyhj.mjs +4 -0
  163. package/dist/chunks/cli-1.1.14-g11hsjv2.mjs +2 -0
  164. package/dist/chunks/cli-1.1.14-g7acy34j.mjs +5 -0
  165. package/dist/chunks/cli-1.1.14-g7ar9cmp.mjs +2 -0
  166. package/dist/chunks/cli-1.1.14-gbf9emxz.mjs +2 -0
  167. package/dist/chunks/cli-1.1.14-gbt4qmxx.mjs +2 -0
  168. package/dist/chunks/cli-1.1.14-gf6m8qz3.mjs +17 -0
  169. package/dist/chunks/cli-1.1.14-gjna0227.mjs +2 -0
  170. package/dist/chunks/cli-1.1.14-gtxhty3d.mjs +2 -0
  171. package/dist/chunks/cli-1.1.14-gv9rt2h8.mjs +2 -0
  172. package/dist/chunks/cli-1.1.14-gvh2m03s.mjs +9 -0
  173. package/dist/chunks/cli-1.1.14-h9swpf99.mjs +3 -0
  174. package/dist/chunks/cli-1.1.14-hcaktmq1.mjs +2 -0
  175. package/dist/chunks/cli-1.1.14-hdkyecme.mjs +59 -0
  176. package/dist/chunks/cli-1.1.14-j9qy5cj8.mjs +6 -0
  177. package/dist/chunks/cli-1.1.14-j9zawab5.mjs +2 -0
  178. package/dist/chunks/cli-1.1.14-je22trqj.mjs +7 -0
  179. package/dist/chunks/cli-1.1.14-jeqhpgat.mjs +4 -0
  180. package/dist/chunks/cli-1.1.14-jgers44a.mjs +2 -0
  181. package/dist/chunks/cli-1.1.14-k4n0pbvf.mjs +2 -0
  182. package/dist/chunks/cli-1.1.14-kkwnpcf6.mjs +2 -0
  183. package/dist/chunks/cli-1.1.14-krd6edee.mjs +2 -0
  184. package/dist/chunks/cli-1.1.14-ks4wsswq.mjs +133 -0
  185. package/dist/chunks/cli-1.1.14-ksk5rch9.mjs +2 -0
  186. package/dist/chunks/cli-1.1.14-ky3mvy9k.mjs +15 -0
  187. package/dist/chunks/cli-1.1.14-kzwx6a7h.mjs +2 -0
  188. package/dist/chunks/cli-1.1.14-mnerhwsv.mjs +25 -0
  189. package/dist/chunks/cli-1.1.14-msb0xfz3.mjs +6 -0
  190. package/dist/chunks/cli-1.1.14-n1hm0gd6.mjs +2 -0
  191. package/dist/chunks/cli-1.1.14-n351xrzx.mjs +2 -0
  192. package/dist/chunks/cli-1.1.14-n9fg59se.mjs +2 -0
  193. package/dist/chunks/cli-1.1.14-nqa3ttq6.mjs +2 -0
  194. package/dist/chunks/cli-1.1.14-nqd6dk6n.mjs +20 -0
  195. package/dist/chunks/cli-1.1.14-p0xhp49n.mjs +58 -0
  196. package/dist/chunks/cli-1.1.14-pa5nsjfc.mjs +24 -0
  197. package/dist/chunks/cli-1.1.14-pce9xpxh.mjs +2 -0
  198. package/dist/chunks/cli-1.1.14-pfsqawey.mjs +2 -0
  199. package/dist/chunks/cli-1.1.14-pgkjn3yw.mjs +2 -0
  200. package/dist/chunks/cli-1.1.14-ph81vme8.mjs +1 -0
  201. package/dist/chunks/cli-1.1.14-prtez07m.mjs +17 -0
  202. package/dist/chunks/cli-1.1.14-q1kc6b8n.mjs +202 -0
  203. package/dist/chunks/cli-1.1.14-q39sm90c.mjs +2 -0
  204. package/dist/chunks/cli-1.1.14-q4njqbhv.mjs +2 -0
  205. package/dist/chunks/cli-1.1.14-q9mpbtcq.mjs +2 -0
  206. package/dist/chunks/cli-1.1.14-qe4ypfya.mjs +2 -0
  207. package/dist/chunks/cli-1.1.14-qfc8zb5d.mjs +2 -0
  208. package/dist/chunks/cli-1.1.14-qm7sjy8p.mjs +2 -0
  209. package/dist/chunks/cli-1.1.14-qr2dkjw6.mjs +2 -0
  210. package/dist/chunks/cli-1.1.14-qs5hpm4s.mjs +2 -0
  211. package/dist/chunks/cli-1.1.14-qyywt37p.mjs +2 -0
  212. package/dist/chunks/cli-1.1.14-r39tb155.mjs +25 -0
  213. package/dist/chunks/cli-1.1.14-rcw8bj2x.mjs +2 -0
  214. package/dist/chunks/cli-1.1.14-rjac9djz.mjs +2 -0
  215. package/dist/chunks/cli-1.1.14-rmjnqb9b.mjs +2 -0
  216. package/dist/chunks/cli-1.1.14-ry5bys5g.mjs +2 -0
  217. package/dist/chunks/cli-1.1.14-ryjw96z2.mjs +2 -0
  218. package/dist/chunks/cli-1.1.14-s2tegwye.mjs +2 -0
  219. package/dist/chunks/cli-1.1.14-s59gy7wr.mjs +2 -0
  220. package/dist/chunks/cli-1.1.14-scaajcvm.mjs +2 -0
  221. package/dist/chunks/cli-1.1.14-srbcxz1e.mjs +34 -0
  222. package/dist/chunks/cli-1.1.14-t32277f6.mjs +4 -0
  223. package/dist/chunks/cli-1.1.14-t5cdgcnh.mjs +2 -0
  224. package/dist/chunks/cli-1.1.14-t82ydhr6.mjs +2 -0
  225. package/dist/chunks/cli-1.1.14-t9xyraqy.mjs +9 -0
  226. package/dist/chunks/cli-1.1.14-tm2g00jj.mjs +2 -0
  227. package/dist/chunks/cli-1.1.14-tv90r87r.mjs +3 -0
  228. package/dist/chunks/cli-1.1.14-v019any3.mjs +2 -0
  229. package/dist/chunks/cli-1.1.14-v4f9098m.mjs +2 -0
  230. package/dist/chunks/cli-1.1.14-v7nnjdwc.mjs +2 -0
  231. package/dist/chunks/cli-1.1.14-vd4v04cf.mjs +2 -0
  232. package/dist/chunks/cli-1.1.14-vdsx0cw7.mjs +15 -0
  233. package/dist/chunks/cli-1.1.14-vefm78w3.mjs +2 -0
  234. package/dist/chunks/cli-1.1.14-vjeh477p.mjs +3 -0
  235. package/dist/chunks/cli-1.1.14-vmwd3gk6.mjs +4 -0
  236. package/dist/chunks/cli-1.1.14-vq47nhnz.mjs +2 -0
  237. package/dist/chunks/cli-1.1.14-vx8jq8gy.mjs +42 -0
  238. package/dist/chunks/cli-1.1.14-vzevhjxk.mjs +2 -0
  239. package/dist/chunks/cli-1.1.14-w0d35qqy.mjs +2 -0
  240. package/dist/chunks/cli-1.1.14-w2wbzv4e.mjs +3 -0
  241. package/dist/chunks/cli-1.1.14-w4fgn8t6.mjs +2 -0
  242. package/dist/chunks/cli-1.1.14-weqr0y1h.mjs +2 -0
  243. package/dist/chunks/cli-1.1.14-x2b13bs6.mjs +2 -0
  244. package/dist/chunks/cli-1.1.14-x6g4zgjh.mjs +3 -0
  245. package/dist/chunks/cli-1.1.14-xcg5hzkp.mjs +2 -0
  246. package/dist/chunks/cli-1.1.14-xejgqxmy.mjs +2 -0
  247. package/dist/chunks/cli-1.1.14-xw8mensa.mjs +4 -0
  248. package/dist/chunks/cli-1.1.14-xwcfnjkf.mjs +24 -0
  249. package/dist/chunks/cli-1.1.14-yfknrxme.mjs +2 -0
  250. package/dist/chunks/cli-1.1.14-ykbz2fee.mjs +2 -0
  251. package/dist/chunks/cli-1.1.14-ypbww0jj.mjs +2 -0
  252. package/dist/chunks/cli-1.1.14-yvw9gv0w.mjs +2 -0
  253. package/dist/chunks/cli-1.1.14-z07q0gwf.mjs +2 -0
  254. package/dist/chunks/cli-1.1.14-z0mjb0vh.mjs +2 -0
  255. package/dist/chunks/cli-1.1.14-z9cc7bb2.mjs +2 -0
  256. package/dist/chunks/cli-1.1.14-zajvkghs.mjs +2 -0
  257. package/dist/chunks/cli-1.1.14-znbm9h8t.mjs +2 -0
  258. package/dist/chunks/client-1.1.14-m2mjhyw6.mjs +1 -0
  259. package/dist/chunks/color-1.1.14-f3q2mzg0.mjs +1 -0
  260. package/dist/chunks/compact-1.1.14-effx3hf9.mjs +3 -0
  261. package/dist/chunks/config-1.1.14-9ydtd85s.mjs +1 -0
  262. package/dist/chunks/config-1.1.14-h96m0d8d.mjs +1 -0
  263. package/dist/chunks/constants-1.1.14-zk22gxph.mjs +1 -0
  264. package/dist/chunks/context-1.1.14-wtr7pmtw.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.1.14-j8y21hht.mjs +1 -0
  266. package/dist/chunks/conversation-1.1.14-rt6z9rds.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.1.14-s922v787.mjs +1 -0
  268. package/dist/chunks/copy-1.1.14-m8bx9df8.mjs +9 -0
  269. package/dist/chunks/cost-1.1.14-whyhrsgg.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.1.14-sdg5dk4r.mjs +1 -0
  271. package/dist/chunks/createSession-1.1.14-vct1c158.mjs +1 -0
  272. package/dist/chunks/debug-1.1.14-nca60a44.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.1.14-7y4dgkxg.mjs +1526 -0
  274. package/dist/chunks/desktop-1.1.14-pe1cgr9z.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.1.14-z6hxtqhd.mjs +1 -0
  276. package/dist/chunks/detection-1.1.14-t5ayyza6.mjs +1 -0
  277. package/dist/chunks/diff-1.1.14-tv62px1c.mjs +1 -0
  278. package/dist/chunks/doctor-1.1.14-qesxnkxx.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.1.14-z63s9mpy.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.1.14-7vfad42b.mjs +1 -0
  281. package/dist/chunks/effort-1.1.14-prkmemjw.mjs +13 -0
  282. package/dist/chunks/engine-1.1.14-4585kjf8.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.1.14-pv9ydcq3.mjs +1 -0
  284. package/dist/chunks/envUtils-1.1.14-chbd1bsr.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.1.14-ckpkv6e3.mjs +1 -0
  286. package/dist/chunks/environments-1.1.14-ma9vprdz.mjs +1 -0
  287. package/dist/chunks/errors-1.1.14-ww80fvtz.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.1.14-x37y2ewm.mjs +1 -0
  289. package/dist/chunks/execFileNoThrow-1.1.14-4xp05pmd.mjs +1 -0
  290. package/dist/chunks/exit-1.1.14-shyzge3a.mjs +1 -0
  291. package/dist/chunks/explorer-1.1.14-12bn9b5s.mjs +1 -0
  292. package/dist/chunks/export-1.1.14-21yjwtry.mjs +2 -0
  293. package/dist/chunks/extra-usage-1.1.14-gr1s0tck.mjs +1 -0
  294. package/dist/chunks/extra-usage-noninteractive-1.1.14-zyk4qh8w.mjs +1 -0
  295. package/dist/chunks/fast-1.1.14-87cn8tqn.mjs +1 -0
  296. package/dist/chunks/feedback-1.1.14-s5ycv1dk.mjs +14 -0
  297. package/dist/chunks/firstPartyEventLogger-1.1.14-e62cbs1c.mjs +1 -0
  298. package/dist/chunks/git-1.1.14-c6rsmdv4.mjs +1 -0
  299. package/dist/chunks/githubModelsCredentials-1.1.14-sbb3wp9c.mjs +1 -0
  300. package/dist/chunks/goal-1.1.14-w7j0vb96.mjs +4 -0
  301. package/dist/chunks/growthbook-1.1.14-65cpy0w1.mjs +1 -0
  302. package/dist/chunks/headless-1.1.14-68gm6f08.mjs +2 -0
  303. package/dist/chunks/heapdump-1.1.14-76kj8s1g.mjs +6 -0
  304. package/dist/chunks/help-1.1.14-zwc1crj5.mjs +1 -0
  305. package/dist/chunks/hookChains-1.1.14-cvazppdb.mjs +3 -0
  306. package/dist/chunks/hooks-1.1.14-2ryqg5gs.mjs +1 -0
  307. package/dist/chunks/hooks-1.1.14-3eveg7t1.mjs +79 -0
  308. package/dist/chunks/ide-1.1.14-dtgjtnqn.mjs +3 -0
  309. package/dist/chunks/image-processor-napi-1.1.14-nehgy1pe.mjs +1 -0
  310. package/dist/chunks/inboundAttachments-1.1.14-90434wfb.mjs +1 -0
  311. package/dist/chunks/index-1.1.14-0q2v4wxh.mjs +1 -0
  312. package/dist/chunks/index-1.1.14-12qn79c7.mjs +1 -0
  313. package/dist/chunks/index-1.1.14-2gtcr49x.mjs +1 -0
  314. package/dist/chunks/index-1.1.14-2tpw5zhr.mjs +1 -0
  315. package/dist/chunks/index-1.1.14-50xwby01.mjs +1 -0
  316. package/dist/chunks/index-1.1.14-73zx1e4s.mjs +1 -0
  317. package/dist/chunks/index-1.1.14-75vz0ehv.mjs +1 -0
  318. package/dist/chunks/index-1.1.14-9yex519n.mjs +1 -0
  319. package/dist/chunks/index-1.1.14-ae1277p4.mjs +2 -0
  320. package/dist/chunks/index-1.1.14-bgjpqq3g.mjs +1 -0
  321. package/dist/chunks/index-1.1.14-dn6sx3hd.mjs +5 -0
  322. package/dist/chunks/index-1.1.14-egsggv62.mjs +9 -0
  323. package/dist/chunks/index-1.1.14-jedc2mm5.mjs +30 -0
  324. package/dist/chunks/index-1.1.14-qf2jnnv2.mjs +1 -0
  325. package/dist/chunks/index-1.1.14-qsepya6f.mjs +23 -0
  326. package/dist/chunks/index-1.1.14-s8w75y4z.mjs +1 -0
  327. package/dist/chunks/index-1.1.14-sjk5njxz.mjs +2 -0
  328. package/dist/chunks/index-1.1.14-spp0ysmf.mjs +9 -0
  329. package/dist/chunks/index-1.1.14-termgazf.mjs +1 -0
  330. package/dist/chunks/index-1.1.14-v0dy155j.mjs +1 -0
  331. package/dist/chunks/index-1.1.14-wtvxy2p5.mjs +1 -0
  332. package/dist/chunks/index-1.1.14-x2qb1aam.mjs +1 -0
  333. package/dist/chunks/index-1.1.14-zxg55r1x.mjs +1 -0
  334. package/dist/chunks/init-1.1.14-60thb3vn.mjs +1 -0
  335. package/dist/chunks/initReplBridge-1.1.14-ptmwhng6.mjs +1 -0
  336. package/dist/chunks/ink-1.1.14-hb9m1tzk.mjs +1 -0
  337. package/dist/chunks/insights-1.1.14-q3gcq8e5.mjs +870 -0
  338. package/dist/chunks/install-1.1.14-yqjcrtpg.mjs +1 -0
  339. package/dist/chunks/install-github-app-1.1.14-b9sx124r.mjs +149 -0
  340. package/dist/chunks/install-slack-app-1.1.14-h4axwer1.mjs +1 -0
  341. package/dist/chunks/instrumentation-1.1.14-3dtmyckq.mjs +1 -0
  342. package/dist/chunks/interactiveHelpers-1.1.14-5ht3cz8m.mjs +1 -0
  343. package/dist/chunks/keybindings-1.1.14-ex18a7fg.mjs +2 -0
  344. package/dist/chunks/knowledge-1.1.14-netk3f6c.mjs +2 -0
  345. package/dist/chunks/latestVersionCache-1.1.14-1ck4skb9.mjs +1 -0
  346. package/dist/chunks/loadAgentsDir-1.1.14-9qfmgcdr.mjs +1 -0
  347. package/dist/chunks/loadPluginHooks-1.1.14-g5te2y4b.mjs +1 -0
  348. package/dist/chunks/log-1.1.14-jrh2w4pj.mjs +1 -0
  349. package/dist/chunks/main-1.1.14-w4z3m51j.mjs +1 -0
  350. package/dist/chunks/managedEnv-1.1.14-hm26y9yh.mjs +1 -0
  351. package/dist/chunks/mcp-1.1.14-jdgt2rjc.mjs +17 -0
  352. package/dist/chunks/mcp-1.1.14-nbqn7e10.mjs +1 -0
  353. package/dist/chunks/mcp-1.1.14-yhg498sq.mjs +4 -0
  354. package/dist/chunks/mcpb-1.1.14-bwrmrz6f.mjs +1 -0
  355. package/dist/chunks/memory-1.1.14-vtzr3td4.mjs +72 -0
  356. package/dist/chunks/model-1.1.14-6atmfgtq.mjs +1 -0
  357. package/dist/chunks/model-1.1.14-k3jz1ch0.mjs +2 -0
  358. package/dist/chunks/node-1.1.14-436c41vg.mjs +12 -0
  359. package/dist/chunks/oauth-1.1.14-1pb8ypjr.mjs +1 -0
  360. package/dist/chunks/openaiShim-1.1.14-63qfbmm4.mjs +14 -0
  361. package/dist/chunks/output-style-1.1.14-km29ad1g.mjs +1 -0
  362. package/dist/chunks/package-L37ZVTF4-1.1.14-fdrhyx6k.mjs +1 -0
  363. package/dist/chunks/parseConnectUrl-1.1.14-vxn84ewm.mjs +1 -0
  364. package/dist/chunks/parser-1.1.14-98bg5gv8.mjs +1 -0
  365. package/dist/chunks/passes-1.1.14-5tdj3y9r.mjs +1 -0
  366. package/dist/chunks/permissions-1.1.14-srvsc3za.mjs +3 -0
  367. package/dist/chunks/permissions-1.1.14-vhhyyr5b.mjs +1 -0
  368. package/dist/chunks/plan-1.1.14-c0xp5pxe.mjs +1 -0
  369. package/dist/chunks/plist-1.1.14-5tba5azr.mjs +1 -0
  370. package/dist/chunks/plugin-1.1.14-3gh6jn53.mjs +29 -0
  371. package/dist/chunks/pluginStartupCheck-1.1.14-16akasw0.mjs +1 -0
  372. package/dist/chunks/plugins-1.1.14-8cr92qaf.mjs +9 -0
  373. package/dist/chunks/preActionHook-1.1.14-jwbb9w2t.mjs +2 -0
  374. package/dist/chunks/print-1.1.14-ce8mrr2j.mjs +57 -0
  375. package/dist/chunks/process-1.1.14-zygrw1jw.mjs +1 -0
  376. package/dist/chunks/processBashCommand-1.1.14-q066hcdv.mjs +1 -0
  377. package/dist/chunks/processSlashCommand-1.1.14-btah3m31.mjs +9 -0
  378. package/dist/chunks/prompt-1.1.14-mmdq8qk2.mjs +1 -0
  379. package/dist/chunks/prompt-1.1.14-xks0rqr5.mjs +1 -0
  380. package/dist/chunks/prompts-1.1.14-9c7xnw4s.mjs +1 -0
  381. package/dist/chunks/protocolHandler-1.1.14-7w5d6b8w.mjs +13 -0
  382. package/dist/chunks/provider-1.1.14-136k178m.mjs +2 -0
  383. package/dist/chunks/providerProfiles-1.1.14-vg25c1wr.mjs +1 -0
  384. package/dist/chunks/providerValidation-1.1.14-w3m1vah7.mjs +6 -0
  385. package/dist/chunks/rate-limit-options-1.1.14-vhkc6pgc.mjs +1 -0
  386. package/dist/chunks/registerSubcommands-1.1.14-v8b09yem.mjs +26 -0
  387. package/dist/chunks/registry-1.1.14-bxbt49ze.mjs +1 -0
  388. package/dist/chunks/release-notes-1.1.14-9xyhbkj1.mjs +5 -0
  389. package/dist/chunks/reload-plugins-1.1.14-9jhhq87x.mjs +2 -0
  390. package/dist/chunks/remote-env-1.1.14-941r054g.mjs +1 -0
  391. package/dist/chunks/remoteBridgeCore-1.1.14-ab02srk9.mjs +1 -0
  392. package/dist/chunks/remoteSession-1.1.14-8x26vncf.mjs +1 -0
  393. package/dist/chunks/rename-1.1.14-46zvyh32.mjs +1 -0
  394. package/dist/chunks/replBridgeHandle-1.1.14-85r3hxws.mjs +1 -0
  395. package/dist/chunks/replLauncher-1.1.14-0jp7aph0.mjs +1 -0
  396. package/dist/chunks/resume-1.1.14-8pepfwmk.mjs +2 -0
  397. package/dist/chunks/rewind-1.1.14-hwgcehgr.mjs +1 -0
  398. package/dist/chunks/rootOptions-1.1.14-evwgp5w2.mjs +1 -0
  399. package/dist/chunks/runWorkflowHeadless-1.1.14-w8erpgvm.mjs +10 -0
  400. package/dist/chunks/sandbox-adapter-1.1.14-kwegx4mz.mjs +1 -0
  401. package/dist/chunks/sandbox-toggle-1.1.14-2htjsxzk.mjs +1 -0
  402. package/dist/chunks/session-1.1.14-hgmnvw7z.mjs +2 -0
  403. package/dist/chunks/sessionDiscovery-1.1.14-anb5ddc9.mjs +1 -0
  404. package/dist/chunks/sessionFileAccessHooks-1.1.14-re6kra5a.mjs +1 -0
  405. package/dist/chunks/sessionStorage-1.1.14-cn65r158.mjs +1 -0
  406. package/dist/chunks/settings-1.1.14-r31qkcwy.mjs +1 -0
  407. package/dist/chunks/setup-1.1.14-115cm91e.mjs +5 -0
  408. package/dist/chunks/sinks-1.1.14-4abzjj1m.mjs +1 -0
  409. package/dist/chunks/skills-1.1.14-k7rcbkx1.mjs +1 -0
  410. package/dist/chunks/startupProfiler-1.1.14-vgaq3kjm.mjs +1 -0
  411. package/dist/chunks/startupUpdateCheck-1.1.14-z50xwm9f.mjs +1 -0
  412. package/dist/chunks/state-1.1.14-thy0hnc6.mjs +1 -0
  413. package/dist/chunks/stats-1.1.14-m6dzpj3a.mjs +6 -0
  414. package/dist/chunks/status-1.1.14-amqe3rdm.mjs +1 -0
  415. package/dist/chunks/stickers-1.1.14-2t1zj000.mjs +1 -0
  416. package/dist/chunks/subprocessEnv-1.1.14-pbf40bta.mjs +1 -0
  417. package/dist/chunks/tasks-1.1.14-exvwanrf.mjs +1 -0
  418. package/dist/chunks/teamHelpers-1.1.14-pscnj4fa.mjs +1 -0
  419. package/dist/chunks/teammateModeSnapshot-1.1.14-p4asr9ej.mjs +1 -0
  420. package/dist/chunks/teleport-1.1.14-m6qw5vnq.mjs +1 -0
  421. package/dist/chunks/terminalSetup-1.1.14-5ahc4rv9.mjs +1 -0
  422. package/dist/chunks/theme-1.1.14-1pn2fsqz.mjs +1 -0
  423. package/dist/chunks/thinkback-1.1.14-jss1meem.mjs +1 -0
  424. package/dist/chunks/thinkback-play-1.1.14-gwr9e1aw.mjs +1 -0
  425. package/dist/chunks/toolPool-1.1.14-dczcmy51.mjs +1 -0
  426. package/dist/chunks/toolSearch-1.1.14-seww0hje.mjs +1 -0
  427. package/dist/chunks/tools-1.1.14-6edkph4d.mjs +1 -0
  428. package/dist/chunks/trustedDevice-1.1.14-fyw61308.mjs +1 -0
  429. package/dist/chunks/turndown.cjs-1.1.14-zz6ad8n2.mjs +69 -0
  430. package/dist/chunks/types-1.1.14-ype8816v.mjs +1 -0
  431. package/dist/chunks/ultrareviewCommand-1.1.14-sr15z0qh.mjs +4 -0
  432. package/dist/chunks/update-1.1.14-114p1f8r.mjs +72 -0
  433. package/dist/chunks/upgrade-1.1.14-9whzt7qa.mjs +1 -0
  434. package/dist/chunks/upload-1.1.14-hpk4spp9.mjs +7 -0
  435. package/dist/chunks/upstreamproxy-1.1.14-26edczqa.mjs +14 -0
  436. package/dist/chunks/url-handler-napi-1.1.14-3e9ramyj.mjs +1 -0
  437. package/dist/chunks/usage-1.1.14-xaegmtg7.mjs +1 -0
  438. package/dist/chunks/util-1.1.14-dtgb1qsg.mjs +1 -0
  439. package/dist/chunks/utils-1.1.14-xcvcp3es.mjs +1 -0
  440. package/dist/chunks/vim-1.1.14-y2x4dg5h.mjs +1 -0
  441. package/dist/chunks/watchLoop-1.1.14-r19ed4xt.mjs +13 -0
  442. package/dist/chunks/watcher-1.1.14-9z5ptaf1.mjs +1 -0
  443. package/dist/chunks/wiki-1.1.14-kyejnvfb.mjs +132 -0
  444. package/dist/chunks/workflows-1.1.14-06jg36tv.mjs +1 -0
  445. package/dist/chunks/worktree-1.1.14-k41xe3b1.mjs +1 -0
  446. package/dist/chunks/worktreeModeEnabled-1.1.14-3mn08sd0.mjs +1 -0
  447. package/dist/chunks/wrapper-1.1.14-tgerest3.mjs +7 -0
  448. package/dist/cli.mjs +2 -2
  449. package/package.json +9 -9
  450. package/dist/chunks/AgentTool-1.1.13-63r89cdz.mjs +0 -1
  451. package/dist/chunks/App-1.1.13-d46t1gxs.mjs +0 -1
  452. package/dist/chunks/ApproveApiKey-1.1.13-ss1skn67.mjs +0 -1
  453. package/dist/chunks/AssistantSessionChooser-1.1.13-akb18zhk.mjs +0 -1
  454. package/dist/chunks/AutoModeOptInDialog-1.1.13-wy2pstpa.mjs +0 -1
  455. package/dist/chunks/BypassPermissionsModeDialog-1.1.13-nrs4ahv7.mjs +0 -1
  456. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.13-p12n7vw3.mjs +0 -1
  457. package/dist/chunks/ConsoleOAuthFlow-1.1.13-tqx20akq.mjs +0 -1
  458. package/dist/chunks/DiffDialog-1.1.13-6nf4k00f.mjs +0 -6
  459. package/dist/chunks/Doctor-1.1.13-sab3pc3m.mjs +0 -1
  460. package/dist/chunks/ExplorerDialog-1.1.13-8j4yph77.mjs +0 -6
  461. package/dist/chunks/ITermBackend-1.1.13-ezctrhfh.mjs +0 -1
  462. package/dist/chunks/InvalidConfigDialog-1.1.13-fn55xkky.mjs +0 -1
  463. package/dist/chunks/InvalidSettingsDialog-1.1.13-v601bm3n.mjs +0 -1
  464. package/dist/chunks/MigrationDialog-1.1.13-m30010yq.mjs +0 -1
  465. package/dist/chunks/Onboarding-1.1.13-r6p8ac38.mjs +0 -1
  466. package/dist/chunks/ProviderManager-1.1.13-2mn20qcd.mjs +0 -1
  467. package/dist/chunks/REPL-1.1.13-mn8t5yw9.mjs +0 -1
  468. package/dist/chunks/ResumeConversation-1.1.13-ayr9p9vf.mjs +0 -1
  469. package/dist/chunks/SnapshotUpdateDialog-1.1.13-wvmmeycx.mjs +0 -1
  470. package/dist/chunks/TeleportProgress-1.1.13-wy75ekbh.mjs +0 -1
  471. package/dist/chunks/TeleportRepoMismatchDialog-1.1.13-mbjqq83z.mjs +0 -1
  472. package/dist/chunks/TeleportResumeWrapper-1.1.13-590kxc7c.mjs +0 -1
  473. package/dist/chunks/TmuxBackend-1.1.13-3z3twxzs.mjs +0 -9
  474. package/dist/chunks/ToolSearchTool-1.1.13-wzknhxkr.mjs +0 -1
  475. package/dist/chunks/TrustDialog-1.1.13-ev0qre9c.mjs +0 -1
  476. package/dist/chunks/activeProvider-1.1.13-mf4z3aws.mjs +0 -1
  477. package/dist/chunks/add-dir-1.1.13-r8re3j87.mjs +0 -1
  478. package/dist/chunks/agentTypes-1.1.13-nxkcga73.mjs +0 -1
  479. package/dist/chunks/agents-1.1.13-86a1wgye.mjs +0 -110
  480. package/dist/chunks/agents-1.1.13-w1pmkekd.mjs +0 -3
  481. package/dist/chunks/api-1.1.13-5ffq20rc.mjs +0 -1
  482. package/dist/chunks/asciicast-1.1.13-633wvh0n.mjs +0 -1
  483. package/dist/chunks/assistant-1.1.13-9q7zxtfz.mjs +0 -1
  484. package/dist/chunks/auth-1.1.13-a50e1ztc.mjs +0 -1
  485. package/dist/chunks/auth-1.1.13-xv576tj3.mjs +0 -1
  486. package/dist/chunks/autoMode-1.1.13-3n3c9p8y.mjs +0 -48
  487. package/dist/chunks/autoUpdater-1.1.13-mb65jkk5.mjs +0 -1
  488. package/dist/chunks/backgroundHousekeeping-1.1.13-avr9z4k0.mjs +0 -1
  489. package/dist/chunks/branch-1.1.13-gmg9we2y.mjs +0 -4
  490. package/dist/chunks/bridge-1.1.13-hvfvhpm1.mjs +0 -2
  491. package/dist/chunks/bridgeConfig-1.1.13-zzxf7mvh.mjs +0 -1
  492. package/dist/chunks/bridgeEnabled-1.1.13-f2fjmfs0.mjs +0 -1
  493. package/dist/chunks/bridgeMain-1.1.13-8tn5vy8z.mjs +0 -88
  494. package/dist/chunks/bridgePointer-1.1.13-97d9ec9y.mjs +0 -1
  495. package/dist/chunks/btw-1.1.13-v2hwppkk.mjs +0 -1
  496. package/dist/chunks/buddy-1.1.13-svfg8x3f.mjs +0 -3
  497. package/dist/chunks/cache-probe-1.1.13-td1bna05.mjs +0 -21
  498. package/dist/chunks/cacheStats-1.1.13-tmmf2k7r.mjs +0 -4
  499. package/dist/chunks/caches-1.1.13-s55yzhpm.mjs +0 -1
  500. package/dist/chunks/claudeDesktop-1.1.13-8d0bp8yb.mjs +0 -1
  501. package/dist/chunks/claudemd-1.1.13-3mc0z25q.mjs +0 -1
  502. package/dist/chunks/clear-1.1.13-1d9yvw3f.mjs +0 -1
  503. package/dist/chunks/clearTerminal-1.1.13-882kpw7s.mjs +0 -1
  504. package/dist/chunks/cli-1.1.13-03rdpsbf.mjs +0 -2
  505. package/dist/chunks/cli-1.1.13-0dha376x.mjs +0 -3
  506. package/dist/chunks/cli-1.1.13-0h48j6a1.mjs +0 -7
  507. package/dist/chunks/cli-1.1.13-0qy978b3.mjs +0 -3
  508. package/dist/chunks/cli-1.1.13-0x1mk1dp.mjs +0 -2
  509. package/dist/chunks/cli-1.1.13-0y4933cs.mjs +0 -2
  510. package/dist/chunks/cli-1.1.13-0yte5zpd.mjs +0 -2
  511. package/dist/chunks/cli-1.1.13-15nbdw38.mjs +0 -2
  512. package/dist/chunks/cli-1.1.13-17xy86gy.mjs +0 -24
  513. package/dist/chunks/cli-1.1.13-1d70jtz7.mjs +0 -6
  514. package/dist/chunks/cli-1.1.13-1frz0zm3.mjs +0 -2
  515. package/dist/chunks/cli-1.1.13-1jf910f2.mjs +0 -2
  516. package/dist/chunks/cli-1.1.13-1qk5qhgt.mjs +0 -2
  517. package/dist/chunks/cli-1.1.13-1rfveg0v.mjs +0 -2
  518. package/dist/chunks/cli-1.1.13-1x4z2mj8.mjs +0 -2
  519. package/dist/chunks/cli-1.1.13-24284zna.mjs +0 -2
  520. package/dist/chunks/cli-1.1.13-284pjmzy.mjs +0 -4
  521. package/dist/chunks/cli-1.1.13-2964cc2e.mjs +0 -2
  522. package/dist/chunks/cli-1.1.13-2a8k8qw7.mjs +0 -2
  523. package/dist/chunks/cli-1.1.13-2f0gzs1e.mjs +0 -2
  524. package/dist/chunks/cli-1.1.13-2m39r998.mjs +0 -2
  525. package/dist/chunks/cli-1.1.13-2mrqqgcm.mjs +0 -202
  526. package/dist/chunks/cli-1.1.13-2sx1bxbt.mjs +0 -2
  527. package/dist/chunks/cli-1.1.13-2txesqy8.mjs +0 -2
  528. package/dist/chunks/cli-1.1.13-3dmbtx8g.mjs +0 -2
  529. package/dist/chunks/cli-1.1.13-3wxfn6t5.mjs +0 -2
  530. package/dist/chunks/cli-1.1.13-46jvx14j.mjs +0 -2
  531. package/dist/chunks/cli-1.1.13-49gvv5kd.mjs +0 -2
  532. package/dist/chunks/cli-1.1.13-4tt8dq0e.mjs +0 -42
  533. package/dist/chunks/cli-1.1.13-4vt96sm8.mjs +0 -2
  534. package/dist/chunks/cli-1.1.13-53ght581.mjs +0 -3
  535. package/dist/chunks/cli-1.1.13-53zq1gs2.mjs +0 -2
  536. package/dist/chunks/cli-1.1.13-5kpppj1f.mjs +0 -6
  537. package/dist/chunks/cli-1.1.13-61mygvzg.mjs +0 -2
  538. package/dist/chunks/cli-1.1.13-64d0d5ye.mjs +0 -2
  539. package/dist/chunks/cli-1.1.13-65c7kxwt.mjs +0 -12
  540. package/dist/chunks/cli-1.1.13-669vhsjj.mjs +0 -2
  541. package/dist/chunks/cli-1.1.13-6727vw4f.mjs +0 -2
  542. package/dist/chunks/cli-1.1.13-6b845car.mjs +0 -2
  543. package/dist/chunks/cli-1.1.13-6c4qxmj3.mjs +0 -4
  544. package/dist/chunks/cli-1.1.13-6dcpjy34.mjs +0 -17
  545. package/dist/chunks/cli-1.1.13-6ebd7gpv.mjs +0 -2
  546. package/dist/chunks/cli-1.1.13-6jy1pnge.mjs +0 -2
  547. package/dist/chunks/cli-1.1.13-6k71beqh.mjs +0 -2
  548. package/dist/chunks/cli-1.1.13-6tf67wfm.mjs +0 -2
  549. package/dist/chunks/cli-1.1.13-74rczf0f.mjs +0 -2
  550. package/dist/chunks/cli-1.1.13-7h18kpv0.mjs +0 -2
  551. package/dist/chunks/cli-1.1.13-7k2bp2pf.mjs +0 -2
  552. package/dist/chunks/cli-1.1.13-7s34jqge.mjs +0 -133
  553. package/dist/chunks/cli-1.1.13-7srn3vy6.mjs +0 -2
  554. package/dist/chunks/cli-1.1.13-7wyfj1qp.mjs +0 -2
  555. package/dist/chunks/cli-1.1.13-82y6dszx.mjs +0 -2
  556. package/dist/chunks/cli-1.1.13-86kjp502.mjs +0 -2
  557. package/dist/chunks/cli-1.1.13-91q67gqp.mjs +0 -2
  558. package/dist/chunks/cli-1.1.13-9609q0ww.mjs +0 -2
  559. package/dist/chunks/cli-1.1.13-9ktdmvzq.mjs +0 -15
  560. package/dist/chunks/cli-1.1.13-9qhgyzkx.mjs +0 -2
  561. package/dist/chunks/cli-1.1.13-9s0arh3g.mjs +0 -25
  562. package/dist/chunks/cli-1.1.13-9v3mg87v.mjs +0 -2
  563. package/dist/chunks/cli-1.1.13-9x53mnyd.mjs +0 -5
  564. package/dist/chunks/cli-1.1.13-a3q7qm6t.mjs +0 -2
  565. package/dist/chunks/cli-1.1.13-a3s5tdea.mjs +0 -2
  566. package/dist/chunks/cli-1.1.13-a3zfe19b.mjs +0 -25
  567. package/dist/chunks/cli-1.1.13-a40ncbc3.mjs +0 -2
  568. package/dist/chunks/cli-1.1.13-a96dm0r5.mjs +0 -4
  569. package/dist/chunks/cli-1.1.13-aac9pss7.mjs +0 -59
  570. package/dist/chunks/cli-1.1.13-aeq919w1.mjs +0 -2
  571. package/dist/chunks/cli-1.1.13-aqph7zr1.mjs +0 -2
  572. package/dist/chunks/cli-1.1.13-ayx92dtj.mjs +0 -6
  573. package/dist/chunks/cli-1.1.13-b47k2p92.mjs +0 -21
  574. package/dist/chunks/cli-1.1.13-b9sg0jsz.mjs +0 -2
  575. package/dist/chunks/cli-1.1.13-baxww5k9.mjs +0 -3
  576. package/dist/chunks/cli-1.1.13-c4zxjf91.mjs +0 -2
  577. package/dist/chunks/cli-1.1.13-cd7jraqe.mjs +0 -2
  578. package/dist/chunks/cli-1.1.13-cey8v1xc.mjs +0 -2
  579. package/dist/chunks/cli-1.1.13-cg1m9a2x.mjs +0 -2
  580. package/dist/chunks/cli-1.1.13-ck2qzqbj.mjs +0 -2
  581. package/dist/chunks/cli-1.1.13-cm4vwx6e.mjs +0 -2
  582. package/dist/chunks/cli-1.1.13-cn9g3704.mjs +0 -12
  583. package/dist/chunks/cli-1.1.13-cqhxyzrd.mjs +0 -2
  584. package/dist/chunks/cli-1.1.13-d4z9sv3g.mjs +0 -2
  585. package/dist/chunks/cli-1.1.13-d54qh52e.mjs +0 -3
  586. package/dist/chunks/cli-1.1.13-d8d30wps.mjs +0 -3
  587. package/dist/chunks/cli-1.1.13-djvyb4s5.mjs +0 -3
  588. package/dist/chunks/cli-1.1.13-dpsjxc84.mjs +0 -2
  589. package/dist/chunks/cli-1.1.13-dthjfxxw.mjs +0 -2
  590. package/dist/chunks/cli-1.1.13-e4k7980n.mjs +0 -2
  591. package/dist/chunks/cli-1.1.13-e68npf24.mjs +0 -2
  592. package/dist/chunks/cli-1.1.13-ehaqachs.mjs +0 -2
  593. package/dist/chunks/cli-1.1.13-epjmphrz.mjs +0 -133
  594. package/dist/chunks/cli-1.1.13-ev08z5ye.mjs +0 -24
  595. package/dist/chunks/cli-1.1.13-ewxej7em.mjs +0 -2
  596. package/dist/chunks/cli-1.1.13-ey931psa.mjs +0 -2
  597. package/dist/chunks/cli-1.1.13-f5s7e6kg.mjs +0 -2
  598. package/dist/chunks/cli-1.1.13-far5gqfj.mjs +0 -2
  599. package/dist/chunks/cli-1.1.13-fccy9c48.mjs +0 -2
  600. package/dist/chunks/cli-1.1.13-fjxx2wgm.mjs +0 -2
  601. package/dist/chunks/cli-1.1.13-fkcaczca.mjs +0 -2
  602. package/dist/chunks/cli-1.1.13-fkvcsg0a.mjs +0 -2
  603. package/dist/chunks/cli-1.1.13-fr4zp0cx.mjs +0 -3
  604. package/dist/chunks/cli-1.1.13-g8k8na90.mjs +0 -2
  605. package/dist/chunks/cli-1.1.13-gaa8s22w.mjs +0 -8
  606. package/dist/chunks/cli-1.1.13-gechs2yp.mjs +0 -4
  607. package/dist/chunks/cli-1.1.13-gfyds6b8.mjs +0 -18
  608. package/dist/chunks/cli-1.1.13-gh95gh19.mjs +0 -2
  609. package/dist/chunks/cli-1.1.13-gmqmzw50.mjs +0 -2
  610. package/dist/chunks/cli-1.1.13-gzfw6n93.mjs +0 -39
  611. package/dist/chunks/cli-1.1.13-gznvgt6g.mjs +0 -16
  612. package/dist/chunks/cli-1.1.13-h1v6cap9.mjs +0 -2
  613. package/dist/chunks/cli-1.1.13-h7n0z0dz.mjs +0 -2
  614. package/dist/chunks/cli-1.1.13-h7xrb6x3.mjs +0 -2
  615. package/dist/chunks/cli-1.1.13-hg8x8693.mjs +0 -6
  616. package/dist/chunks/cli-1.1.13-hzneg4va.mjs +0 -2
  617. package/dist/chunks/cli-1.1.13-j02dcs05.mjs +0 -2
  618. package/dist/chunks/cli-1.1.13-j7dbk8te.mjs +0 -2
  619. package/dist/chunks/cli-1.1.13-j98qjhp9.mjs +0 -15
  620. package/dist/chunks/cli-1.1.13-je6371k7.mjs +0 -2
  621. package/dist/chunks/cli-1.1.13-jevpf9b3.mjs +0 -2
  622. package/dist/chunks/cli-1.1.13-k5sbyjwd.mjs +0 -2
  623. package/dist/chunks/cli-1.1.13-k6ef9cy7.mjs +0 -34
  624. package/dist/chunks/cli-1.1.13-kbf9vss4.mjs +0 -4
  625. package/dist/chunks/cli-1.1.13-kct81ph3.mjs +0 -2
  626. package/dist/chunks/cli-1.1.13-kjdr6edt.mjs +0 -15
  627. package/dist/chunks/cli-1.1.13-kmrz3wh8.mjs +0 -2
  628. package/dist/chunks/cli-1.1.13-kq8spsav.mjs +0 -2
  629. package/dist/chunks/cli-1.1.13-ksvd60yr.mjs +0 -2
  630. package/dist/chunks/cli-1.1.13-kw2fntc3.mjs +0 -3
  631. package/dist/chunks/cli-1.1.13-m5grg33r.mjs +0 -4
  632. package/dist/chunks/cli-1.1.13-mct1fasm.mjs +0 -2
  633. package/dist/chunks/cli-1.1.13-mt0y53s0.mjs +0 -17
  634. package/dist/chunks/cli-1.1.13-mzq23677.mjs +0 -2
  635. package/dist/chunks/cli-1.1.13-n24mxjbh.mjs +0 -2
  636. package/dist/chunks/cli-1.1.13-n8nv58q7.mjs +0 -2
  637. package/dist/chunks/cli-1.1.13-nbdp9ez1.mjs +0 -3
  638. package/dist/chunks/cli-1.1.13-nr09192d.mjs +0 -2
  639. package/dist/chunks/cli-1.1.13-pa4chrcw.mjs +0 -2
  640. package/dist/chunks/cli-1.1.13-pam922jf.mjs +0 -2
  641. package/dist/chunks/cli-1.1.13-pedv9sma.mjs +0 -9
  642. package/dist/chunks/cli-1.1.13-pjxb9g99.mjs +0 -2
  643. package/dist/chunks/cli-1.1.13-pmejqt4x.mjs +0 -2
  644. package/dist/chunks/cli-1.1.13-pscw4dkq.mjs +0 -2
  645. package/dist/chunks/cli-1.1.13-psmq4bkh.mjs +0 -50
  646. package/dist/chunks/cli-1.1.13-q1hx591h.mjs +0 -2
  647. package/dist/chunks/cli-1.1.13-q1yggv9b.mjs +0 -2
  648. package/dist/chunks/cli-1.1.13-qc5bvtyx.mjs +0 -2
  649. package/dist/chunks/cli-1.1.13-qd5r2qba.mjs +0 -2
  650. package/dist/chunks/cli-1.1.13-qhavh0s1.mjs +0 -9
  651. package/dist/chunks/cli-1.1.13-qr4adses.mjs +0 -2
  652. package/dist/chunks/cli-1.1.13-qtzpy08k.mjs +0 -2
  653. package/dist/chunks/cli-1.1.13-qv85wtc7.mjs +0 -2
  654. package/dist/chunks/cli-1.1.13-qxrjvprg.mjs +0 -3
  655. package/dist/chunks/cli-1.1.13-qyjx1fky.mjs +0 -2
  656. package/dist/chunks/cli-1.1.13-r2qnta4s.mjs +0 -2
  657. package/dist/chunks/cli-1.1.13-r4znfhyr.mjs +0 -2
  658. package/dist/chunks/cli-1.1.13-r9tfxszp.mjs +0 -2
  659. package/dist/chunks/cli-1.1.13-rcgr5xjp.mjs +0 -1
  660. package/dist/chunks/cli-1.1.13-rh27w2xj.mjs +0 -24
  661. package/dist/chunks/cli-1.1.13-rhtvcdjb.mjs +0 -3
  662. package/dist/chunks/cli-1.1.13-rmt4z6qm.mjs +0 -2
  663. package/dist/chunks/cli-1.1.13-rnajmfsp.mjs +0 -2
  664. package/dist/chunks/cli-1.1.13-rrp2vm36.mjs +0 -2
  665. package/dist/chunks/cli-1.1.13-segzta4x.mjs +0 -2
  666. package/dist/chunks/cli-1.1.13-shz97pa0.mjs +0 -2
  667. package/dist/chunks/cli-1.1.13-smefk747.mjs +0 -2
  668. package/dist/chunks/cli-1.1.13-snkbv1w2.mjs +0 -2
  669. package/dist/chunks/cli-1.1.13-sqg8rfkh.mjs +0 -2
  670. package/dist/chunks/cli-1.1.13-sycf9s0v.mjs +0 -3
  671. package/dist/chunks/cli-1.1.13-t4z97zfd.mjs +0 -2
  672. package/dist/chunks/cli-1.1.13-t8ypngwg.mjs +0 -4
  673. package/dist/chunks/cli-1.1.13-tma5xwa2.mjs +0 -2
  674. package/dist/chunks/cli-1.1.13-tx4y2gtw.mjs +0 -2
  675. package/dist/chunks/cli-1.1.13-tz8pn7w4.mjs +0 -24
  676. package/dist/chunks/cli-1.1.13-v2synpdg.mjs +0 -2
  677. package/dist/chunks/cli-1.1.13-vm8xs878.mjs +0 -3
  678. package/dist/chunks/cli-1.1.13-vpgfmshm.mjs +0 -4
  679. package/dist/chunks/cli-1.1.13-vx6r9z72.mjs +0 -45
  680. package/dist/chunks/cli-1.1.13-vxpmt3js.mjs +0 -66
  681. package/dist/chunks/cli-1.1.13-wh5smpta.mjs +0 -2
  682. package/dist/chunks/cli-1.1.13-wje228e3.mjs +0 -2
  683. package/dist/chunks/cli-1.1.13-wmpc2gzg.mjs +0 -2
  684. package/dist/chunks/cli-1.1.13-wqteqtr2.mjs +0 -2
  685. package/dist/chunks/cli-1.1.13-ws1mny6h.mjs +0 -58
  686. package/dist/chunks/cli-1.1.13-x663d461.mjs +0 -2
  687. package/dist/chunks/cli-1.1.13-x79qava2.mjs +0 -5413
  688. package/dist/chunks/cli-1.1.13-x83epxhw.mjs +0 -2
  689. package/dist/chunks/cli-1.1.13-x92dpkgj.mjs +0 -6
  690. package/dist/chunks/cli-1.1.13-xbxnp58a.mjs +0 -2
  691. package/dist/chunks/cli-1.1.13-xjr3rwfq.mjs +0 -6
  692. package/dist/chunks/cli-1.1.13-xqqf08vq.mjs +0 -2
  693. package/dist/chunks/cli-1.1.13-y5d299s9.mjs +0 -2
  694. package/dist/chunks/cli-1.1.13-y6pa258f.mjs +0 -4
  695. package/dist/chunks/cli-1.1.13-y6vdh2z1.mjs +0 -2
  696. package/dist/chunks/cli-1.1.13-ykzv8nyq.mjs +0 -2
  697. package/dist/chunks/cli-1.1.13-z39hx0gz.mjs +0 -20
  698. package/dist/chunks/cli-1.1.13-z3t7b0fc.mjs +0 -2
  699. package/dist/chunks/cli-1.1.13-z4p8zcbq.mjs +0 -2
  700. package/dist/chunks/cli-1.1.13-z9471mhs.mjs +0 -4
  701. package/dist/chunks/cli-1.1.13-zb95jpx7.mjs +0 -4
  702. package/dist/chunks/cli-1.1.13-zgnxf8h2.mjs +0 -2
  703. package/dist/chunks/cli-1.1.13-zmb192fn.mjs +0 -18
  704. package/dist/chunks/cli-1.1.13-zq5f89xg.mjs +0 -5
  705. package/dist/chunks/cli-1.1.13-zwkd4wt2.mjs +0 -2
  706. package/dist/chunks/client-1.1.13-6axfwqya.mjs +0 -1
  707. package/dist/chunks/color-1.1.13-g1rjvg86.mjs +0 -1
  708. package/dist/chunks/compact-1.1.13-9k4jts81.mjs +0 -3
  709. package/dist/chunks/config-1.1.13-58bj6t43.mjs +0 -1
  710. package/dist/chunks/config-1.1.13-csmwn3d0.mjs +0 -1
  711. package/dist/chunks/constants-1.1.13-cydjncsk.mjs +0 -1
  712. package/dist/chunks/context-1.1.13-04y3svxc.mjs +0 -1
  713. package/dist/chunks/context-noninteractive-1.1.13-03weyc85.mjs +0 -1
  714. package/dist/chunks/conversation-1.1.13-3e1jc3w3.mjs +0 -1
  715. package/dist/chunks/copilotHeaders-1.1.13-51e32r1x.mjs +0 -1
  716. package/dist/chunks/copy-1.1.13-4zq95frp.mjs +0 -9
  717. package/dist/chunks/cost-1.1.13-fwm0etgk.mjs +0 -1
  718. package/dist/chunks/createSSHSession-1.1.13-j73jx662.mjs +0 -1
  719. package/dist/chunks/createSession-1.1.13-2qt6zyq3.mjs +0 -1
  720. package/dist/chunks/debug-1.1.13-v33s5nkx.mjs +0 -1
  721. package/dist/chunks/defaultActionDeps-1.1.13-jyb9mebt.mjs +0 -1526
  722. package/dist/chunks/desktop-1.1.13-3pyvc57q.mjs +0 -1
  723. package/dist/chunks/detectRepository-1.1.13-c8evf71r.mjs +0 -1
  724. package/dist/chunks/detection-1.1.13-k5td7n26.mjs +0 -1
  725. package/dist/chunks/diff-1.1.13-d31m696z.mjs +0 -1
  726. package/dist/chunks/doctor-1.1.13-59947n3f.mjs +0 -1
  727. package/dist/chunks/doctorDiagnostic-1.1.13-tvrr2smf.mjs +0 -1
  728. package/dist/chunks/earlyInput-1.1.13-yngv0q4n.mjs +0 -1
  729. package/dist/chunks/effort-1.1.13-mknzxvcm.mjs +0 -13
  730. package/dist/chunks/engine-1.1.13-p9g24e16.mjs +0 -1
  731. package/dist/chunks/envLessBridgeConfig-1.1.13-wvdxmeaw.mjs +0 -1
  732. package/dist/chunks/envUtils-1.1.13-v5y7eb11.mjs +0 -1
  733. package/dist/chunks/environmentSelection-1.1.13-5fx84mw2.mjs +0 -1
  734. package/dist/chunks/environments-1.1.13-dkqy0n2f.mjs +0 -1
  735. package/dist/chunks/errors-1.1.13-xf58n7yx.mjs +0 -1
  736. package/dist/chunks/exampleCommands-1.1.13-1mqkdys8.mjs +0 -1
  737. package/dist/chunks/execFileNoThrow-1.1.13-08pbvmpc.mjs +0 -1
  738. package/dist/chunks/exit-1.1.13-n91w8c6v.mjs +0 -1
  739. package/dist/chunks/explorer-1.1.13-zh3tbspv.mjs +0 -1
  740. package/dist/chunks/export-1.1.13-vgfr4wyy.mjs +0 -2
  741. package/dist/chunks/extra-usage-1.1.13-ww6z773x.mjs +0 -1
  742. package/dist/chunks/extra-usage-noninteractive-1.1.13-sfm57e8v.mjs +0 -1
  743. package/dist/chunks/fast-1.1.13-2an1j0he.mjs +0 -1
  744. package/dist/chunks/feedback-1.1.13-dz4kng15.mjs +0 -14
  745. package/dist/chunks/firstPartyEventLogger-1.1.13-zdhe9x8w.mjs +0 -1
  746. package/dist/chunks/git-1.1.13-n4743t7m.mjs +0 -1
  747. package/dist/chunks/githubModelsCredentials-1.1.13-39mkwpe0.mjs +0 -1
  748. package/dist/chunks/goal-1.1.13-kt16xsn7.mjs +0 -4
  749. package/dist/chunks/growthbook-1.1.13-12sbk0rh.mjs +0 -1
  750. package/dist/chunks/headless-1.1.13-me11khs4.mjs +0 -2
  751. package/dist/chunks/heapdump-1.1.13-2m1pfhn8.mjs +0 -6
  752. package/dist/chunks/help-1.1.13-sdyj6mfj.mjs +0 -1
  753. package/dist/chunks/hookChains-1.1.13-kwx32g3b.mjs +0 -3
  754. package/dist/chunks/hooks-1.1.13-cgr9s1yz.mjs +0 -1
  755. package/dist/chunks/hooks-1.1.13-rbvjw5bs.mjs +0 -79
  756. package/dist/chunks/ide-1.1.13-699b7xgf.mjs +0 -3
  757. package/dist/chunks/image-processor-napi-1.1.13-m17yzsrx.mjs +0 -1
  758. package/dist/chunks/inboundAttachments-1.1.13-x1sbkysh.mjs +0 -1
  759. package/dist/chunks/index-1.1.13-1magnv9t.mjs +0 -1
  760. package/dist/chunks/index-1.1.13-20fw0vyg.mjs +0 -1
  761. package/dist/chunks/index-1.1.13-3dw8qr3q.mjs +0 -1
  762. package/dist/chunks/index-1.1.13-5fffrw39.mjs +0 -23
  763. package/dist/chunks/index-1.1.13-7v1v2795.mjs +0 -1
  764. package/dist/chunks/index-1.1.13-89b63y1a.mjs +0 -1
  765. package/dist/chunks/index-1.1.13-9hmkds89.mjs +0 -1
  766. package/dist/chunks/index-1.1.13-gy0jpfpr.mjs +0 -1
  767. package/dist/chunks/index-1.1.13-hvpk64ts.mjs +0 -9
  768. package/dist/chunks/index-1.1.13-pfnaxhas.mjs +0 -9
  769. package/dist/chunks/index-1.1.13-pq81pd76.mjs +0 -2
  770. package/dist/chunks/index-1.1.13-q7xgkez4.mjs +0 -1
  771. package/dist/chunks/index-1.1.13-qed5hqgm.mjs +0 -1
  772. package/dist/chunks/index-1.1.13-qncvk76v.mjs +0 -1
  773. package/dist/chunks/index-1.1.13-qzm5brgp.mjs +0 -2
  774. package/dist/chunks/index-1.1.13-sqz3new4.mjs +0 -1
  775. package/dist/chunks/index-1.1.13-swwn9vsr.mjs +0 -1
  776. package/dist/chunks/index-1.1.13-tseyy72z.mjs +0 -1
  777. package/dist/chunks/index-1.1.13-v219xtkm.mjs +0 -1
  778. package/dist/chunks/index-1.1.13-vbws03kk.mjs +0 -30
  779. package/dist/chunks/index-1.1.13-vpewasbk.mjs +0 -1
  780. package/dist/chunks/index-1.1.13-yncdgpnc.mjs +0 -5
  781. package/dist/chunks/index-1.1.13-zs9h2fe1.mjs +0 -1
  782. package/dist/chunks/init-1.1.13-6m1d58s6.mjs +0 -1
  783. package/dist/chunks/initReplBridge-1.1.13-awvfmbnw.mjs +0 -1
  784. package/dist/chunks/ink-1.1.13-vsh153b4.mjs +0 -1
  785. package/dist/chunks/insights-1.1.13-q1te7p8c.mjs +0 -870
  786. package/dist/chunks/install-1.1.13-4m9h1gcp.mjs +0 -1
  787. package/dist/chunks/install-github-app-1.1.13-6psvvf35.mjs +0 -149
  788. package/dist/chunks/install-slack-app-1.1.13-rav6afh8.mjs +0 -1
  789. package/dist/chunks/instrumentation-1.1.13-8hhppwk0.mjs +0 -1
  790. package/dist/chunks/interactiveHelpers-1.1.13-18fm94xz.mjs +0 -1
  791. package/dist/chunks/keybindings-1.1.13-3k2cx6e8.mjs +0 -2
  792. package/dist/chunks/knowledge-1.1.13-v9293wfr.mjs +0 -2
  793. package/dist/chunks/latestVersionCache-1.1.13-1hy01yw3.mjs +0 -1
  794. package/dist/chunks/loadAgentsDir-1.1.13-gkw0j99z.mjs +0 -1
  795. package/dist/chunks/loadPluginHooks-1.1.13-mh4yata3.mjs +0 -1
  796. package/dist/chunks/log-1.1.13-j05vnw45.mjs +0 -1
  797. package/dist/chunks/main-1.1.13-9eb7dv86.mjs +0 -1
  798. package/dist/chunks/managedEnv-1.1.13-9ded70wd.mjs +0 -1
  799. package/dist/chunks/mcp-1.1.13-kp94f55t.mjs +0 -1
  800. package/dist/chunks/mcp-1.1.13-vyp2stqn.mjs +0 -4
  801. package/dist/chunks/mcp-1.1.13-xwk9expt.mjs +0 -17
  802. package/dist/chunks/mcpb-1.1.13-e4x7a1cq.mjs +0 -1
  803. package/dist/chunks/memory-1.1.13-xq6wwcec.mjs +0 -72
  804. package/dist/chunks/model-1.1.13-e9231b6a.mjs +0 -2
  805. package/dist/chunks/model-1.1.13-qkp6et1j.mjs +0 -1
  806. package/dist/chunks/node-1.1.13-eg9nzfxw.mjs +0 -12
  807. package/dist/chunks/oauth-1.1.13-65c8za8p.mjs +0 -1
  808. package/dist/chunks/openaiShim-1.1.13-9ym9m1mj.mjs +0 -14
  809. package/dist/chunks/output-style-1.1.13-3ew33fvw.mjs +0 -1
  810. package/dist/chunks/package-L37ZVTF4-1.1.13-53j92t2g.mjs +0 -1
  811. package/dist/chunks/parseConnectUrl-1.1.13-1jbm6fkk.mjs +0 -1
  812. package/dist/chunks/parser-1.1.13-5g8tytma.mjs +0 -1
  813. package/dist/chunks/passes-1.1.13-5xeg8jj4.mjs +0 -1
  814. package/dist/chunks/permissions-1.1.13-rtwebb2e.mjs +0 -3
  815. package/dist/chunks/permissions-1.1.13-tzfqtc98.mjs +0 -1
  816. package/dist/chunks/plan-1.1.13-fh6rsd03.mjs +0 -1
  817. package/dist/chunks/plist-1.1.13-4dh5ng03.mjs +0 -1
  818. package/dist/chunks/plugin-1.1.13-s7ah8dsz.mjs +0 -29
  819. package/dist/chunks/pluginStartupCheck-1.1.13-yv5cavjc.mjs +0 -1
  820. package/dist/chunks/plugins-1.1.13-nbh7kt80.mjs +0 -9
  821. package/dist/chunks/preActionHook-1.1.13-364dz1r6.mjs +0 -2
  822. package/dist/chunks/print-1.1.13-cba5ekrx.mjs +0 -57
  823. package/dist/chunks/process-1.1.13-cavp5bw3.mjs +0 -1
  824. package/dist/chunks/processBashCommand-1.1.13-fxe0rhkm.mjs +0 -1
  825. package/dist/chunks/processSlashCommand-1.1.13-r4eqk2r6.mjs +0 -9
  826. package/dist/chunks/prompt-1.1.13-31mpaj7k.mjs +0 -1
  827. package/dist/chunks/prompt-1.1.13-ncxsva6c.mjs +0 -1
  828. package/dist/chunks/prompts-1.1.13-dhrj0hdm.mjs +0 -1
  829. package/dist/chunks/protocolHandler-1.1.13-gvd8r63q.mjs +0 -13
  830. package/dist/chunks/provider-1.1.13-aec8n85t.mjs +0 -2
  831. package/dist/chunks/providerProfiles-1.1.13-zy5qqb30.mjs +0 -1
  832. package/dist/chunks/providerValidation-1.1.13-cxfdm6ma.mjs +0 -6
  833. package/dist/chunks/rate-limit-options-1.1.13-v7dcfp2w.mjs +0 -1
  834. package/dist/chunks/registerSubcommands-1.1.13-w8vyweq5.mjs +0 -26
  835. package/dist/chunks/registry-1.1.13-0gr1a931.mjs +0 -1
  836. package/dist/chunks/release-notes-1.1.13-e00b70ja.mjs +0 -5
  837. package/dist/chunks/reload-plugins-1.1.13-sqy72754.mjs +0 -2
  838. package/dist/chunks/remote-env-1.1.13-xx2p7c0r.mjs +0 -1
  839. package/dist/chunks/remoteBridgeCore-1.1.13-8aq4kysc.mjs +0 -1
  840. package/dist/chunks/remoteSession-1.1.13-pnkdpev8.mjs +0 -1
  841. package/dist/chunks/rename-1.1.13-7mj7635m.mjs +0 -1
  842. package/dist/chunks/replBridgeHandle-1.1.13-1jjw29zv.mjs +0 -1
  843. package/dist/chunks/replLauncher-1.1.13-r9abzwa5.mjs +0 -1
  844. package/dist/chunks/resume-1.1.13-j22aqaqb.mjs +0 -2
  845. package/dist/chunks/rewind-1.1.13-f1jde571.mjs +0 -1
  846. package/dist/chunks/rootOptions-1.1.13-m3dg8wsz.mjs +0 -1
  847. package/dist/chunks/runWorkflowHeadless-1.1.13-g7t752v0.mjs +0 -10
  848. package/dist/chunks/sandbox-adapter-1.1.13-8dyb4jrf.mjs +0 -1
  849. package/dist/chunks/sandbox-toggle-1.1.13-ns6smzfv.mjs +0 -1
  850. package/dist/chunks/session-1.1.13-je6e2q22.mjs +0 -2
  851. package/dist/chunks/sessionDiscovery-1.1.13-75db2930.mjs +0 -1
  852. package/dist/chunks/sessionFileAccessHooks-1.1.13-8251mhbe.mjs +0 -1
  853. package/dist/chunks/sessionStorage-1.1.13-xg7nehyd.mjs +0 -1
  854. package/dist/chunks/settings-1.1.13-tbc6gf4g.mjs +0 -1
  855. package/dist/chunks/setup-1.1.13-pk56d4kg.mjs +0 -5
  856. package/dist/chunks/sinks-1.1.13-vgc4py0g.mjs +0 -1
  857. package/dist/chunks/skills-1.1.13-k0dra3w7.mjs +0 -1
  858. package/dist/chunks/startupProfiler-1.1.13-fvpsbvqy.mjs +0 -1
  859. package/dist/chunks/startupUpdateCheck-1.1.13-v5fdv702.mjs +0 -1
  860. package/dist/chunks/state-1.1.13-m97vrspe.mjs +0 -1
  861. package/dist/chunks/stats-1.1.13-x2ranep4.mjs +0 -6
  862. package/dist/chunks/status-1.1.13-xv9dh6gx.mjs +0 -1
  863. package/dist/chunks/stickers-1.1.13-am6n03pg.mjs +0 -1
  864. package/dist/chunks/subprocessEnv-1.1.13-w3gcpn8h.mjs +0 -1
  865. package/dist/chunks/tasks-1.1.13-y9rjkzvh.mjs +0 -1
  866. package/dist/chunks/teamHelpers-1.1.13-paydek0r.mjs +0 -1
  867. package/dist/chunks/teammateModeSnapshot-1.1.13-w7zznyew.mjs +0 -1
  868. package/dist/chunks/teleport-1.1.13-fm868anx.mjs +0 -1
  869. package/dist/chunks/terminalSetup-1.1.13-nfx648p3.mjs +0 -1
  870. package/dist/chunks/theme-1.1.13-2a11bn8e.mjs +0 -1
  871. package/dist/chunks/thinkback-1.1.13-8a8pxp4f.mjs +0 -1
  872. package/dist/chunks/thinkback-play-1.1.13-0v3gmmaa.mjs +0 -1
  873. package/dist/chunks/toolPool-1.1.13-6pma3gae.mjs +0 -1
  874. package/dist/chunks/toolSearch-1.1.13-gmb9gs2k.mjs +0 -1
  875. package/dist/chunks/tools-1.1.13-pdnr83pg.mjs +0 -1
  876. package/dist/chunks/trustedDevice-1.1.13-82cy5yze.mjs +0 -1
  877. package/dist/chunks/turndown.cjs-1.1.13-bqqaen2x.mjs +0 -69
  878. package/dist/chunks/types-1.1.13-2f1xtenh.mjs +0 -1
  879. package/dist/chunks/ultrareviewCommand-1.1.13-89cvmahe.mjs +0 -4
  880. package/dist/chunks/update-1.1.13-0hd3pst5.mjs +0 -72
  881. package/dist/chunks/upgrade-1.1.13-3yjr0p81.mjs +0 -1
  882. package/dist/chunks/upload-1.1.13-kxah5qjz.mjs +0 -7
  883. package/dist/chunks/upstreamproxy-1.1.13-1jkww0dp.mjs +0 -14
  884. package/dist/chunks/url-handler-napi-1.1.13-xxqesd6p.mjs +0 -1
  885. package/dist/chunks/usage-1.1.13-mwqdp27m.mjs +0 -1
  886. package/dist/chunks/util-1.1.13-vzt92dj7.mjs +0 -1
  887. package/dist/chunks/utils-1.1.13-dw4qnd8d.mjs +0 -1
  888. package/dist/chunks/vim-1.1.13-1d635y0m.mjs +0 -1
  889. package/dist/chunks/watchLoop-1.1.13-dd5a4gny.mjs +0 -13
  890. package/dist/chunks/watcher-1.1.13-s8bc1gyy.mjs +0 -1
  891. package/dist/chunks/wiki-1.1.13-0j3t4xgh.mjs +0 -132
  892. package/dist/chunks/workflows-1.1.13-4jfegd8x.mjs +0 -1
  893. package/dist/chunks/worktree-1.1.13-t2dn2nay.mjs +0 -1
  894. package/dist/chunks/worktreeModeEnabled-1.1.13-sc9g7vcd.mjs +0 -1
  895. package/dist/chunks/wrapper-1.1.13-4tbb5aym.mjs +0 -7
  896. /package/dist/chunks/{cli-1.1.13-v06xvs9s.mjs → cli-1.1.14-3cc8a830.mjs} +0 -0
  897. /package/dist/chunks/{cli-1.1.13-xpwxcmvd.mjs → cli-1.1.14-7nz1bnsz.mjs} +0 -0
  898. /package/dist/chunks/{cli-1.1.13-hb5bb8jk.mjs → cli-1.1.14-835c2y60.mjs} +0 -0
  899. /package/dist/chunks/{cli-1.1.13-8812dqjq.mjs → cli-1.1.14-a39264wz.mjs} +0 -0
  900. /package/dist/chunks/{cli-1.1.13-v32emtk0.mjs → cli-1.1.14-jw4b6h9t.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.1.13-e4hsds4b.mjs → cli-1.1.14-nhbccarx.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.1.13-jdcqc6bd.mjs → cli-1.1.14-r930b2z3.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ import{$J as NG,$m as d,CN as GG,DN as KG,EN as VG,FE as JG,Fk as T,GE as CG,Hk as DG,Hn as ZG,Ik as PG,In as IG,JN as wG,MP as AG,MR as hG,NP as vG,OC as FG,PC as TG,QN as SG,Sm as U,Tm as S,Um as g,Vm as EG,WA as C,Wm as v,XA as bG,Xm as h,YA as WG,Ym as E,ZA as kG,Zm as u,_m as c,an as p,bB as BG,cB as qG,dn as HG,en as n,fn as f,hn as M,in as m,jO as zG,jn as L,kn as i,lO as gG,nn as j,on as l,pn as A,pr as OG,qn as P,rn as r,sn as a,tn as yG,uK as R,un as t,ur as MG,vn as jG,wn as o,xK as RG,xn as s,yn as _G}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import{N6 as xG,n6 as $G}from"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{pga as YG,xga as fG}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import{aia as XG,yia as UG}from"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import{Zja as q,cka as LG}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.mjs";yG();P();jG();EG();P();class I{constructor(G){this._server=G}requestStream(G,K,X){return this._server.requestStream(G,K,X)}createMessageStream(G,K){let X=this._server.getClientCapabilities();if((G.tools||G.toolChoice)&&!X?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if(G.messages.length>0){let Q=G.messages[G.messages.length-1],$=Array.isArray(Q.content)?Q.content:[Q.content],Z=$.some((Y)=>Y.type==="tool_result"),W=G.messages.length>1?G.messages[G.messages.length-2]:void 0,F=W?Array.isArray(W.content)?W.content:[W.content]:[],B=F.some((Y)=>Y.type==="tool_use");if(Z){if($.some((Y)=>Y.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!B)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(B){let Y=new Set(F.filter((H)=>H.type==="tool_use").map((H)=>H.id)),O=new Set($.filter((H)=>H.type==="tool_result").map((H)=>H.toolUseId));if(Y.size!==O.size||![...Y].every((H)=>O.has(H)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:G},L,K)}elicitInputStream(G,K){let X=this._server.getClientCapabilities(),Q=G.mode??"form";switch(Q){case"url":{if(!X?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!X?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let $=Q==="form"&&G.mode===void 0?{...G,mode:"form"}:G;return this.requestStream({method:"elicitation/create",params:$},j,K)}async getTask(G,K){return this._server.getTask({taskId:G},K)}async getTaskResult(G,K,X){return this._server.getTaskResult({taskId:G},K,X)}async listTasks(G,K){return this._server.listTasks(G?{cursor:G}:void 0,K)}async cancelTask(G,K){return this._server.cancelTask({taskId:G},K)}}_G();class b extends r{constructor(G,K){super(K);if(this._serverInfo=G,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(M.options.map((X,Q)=>[X,Q])),this.isMessageIgnored=(X,Q)=>{let $=this._loggingLevels.get(Q);return $?this.LOG_LEVEL_SEVERITY.get(X)<this.LOG_LEVEL_SEVERITY.get($):!1},this._capabilities=K?.capabilities??{},this._instructions=K?.instructions,this._jsonSchemaValidator=K?.jsonSchemaValidator??new t,this.setRequestHandler(c,(X)=>this._oninitialize(X)),this.setNotificationHandler(d,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(m,async(X,Q)=>{let $=Q.sessionId||Q.requestInfo?.headers["mcp-session-id"]||void 0,{level:Z}=X.params,W=M.safeParse(Z);if(W.success)this._loggingLevels.set($,W.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new I(this)};return this._experimental}registerCapabilities(G){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=a(this._capabilities,G)}setRequestHandler(G,K){let Q=S(G)?.method;if(!Q)throw Error("Schema is missing a method literal");let $=g(Q);if(typeof $!=="string")throw Error("Schema method literal must be a string");if($==="tools/call"){let W=async(F,B)=>{let Y=U(f,F);if(!Y.success){let D=Y.error instanceof Error?Y.error.message:String(Y.error);throw new A(E.InvalidParams,`Invalid tools/call request: ${D}`)}let{params:O}=Y.data,H=await Promise.resolve(K(F,B));if(O.task){let D=U(p,H);if(!D.success){let _=D.error instanceof Error?D.error.message:String(D.error);throw new A(E.InvalidParams,`Invalid task creation result: ${_}`)}return D.data}let J=U(n,H);if(!J.success){let D=J.error instanceof Error?J.error.message:String(J.error);throw new A(E.InvalidParams,`Invalid tools/call result: ${D}`)}return J.data};return super.setRequestHandler(G,W)}return super.setRequestHandler(G,K)}assertCapabilityForMethod(G){switch(G){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${G})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${G})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${G})`);break;case"ping":break}}assertNotificationCapability(G){switch(G){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${G})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${G})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${G})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${G})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${G})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(G){if(!this._capabilities)return;switch(G){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${G})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${G})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${G})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${G})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${G})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${G})`);break;case"ping":case"initialize":break}}assertTaskCapability(G){s(this._clientCapabilities?.tasks?.requests,G,"Client")}assertTaskHandlerCapability(G){if(!this._capabilities)return;o(this._capabilities.tasks?.requests,G,"Server")}async _oninitialize(G){let K=G.params.protocolVersion;return this._clientCapabilities=G.params.capabilities,this._clientVersion=G.params.clientInfo,{protocolVersion:h.includes(K)?K:v,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},u)}async createMessage(G,K){if(G.tools||G.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if(G.messages.length>0){let X=G.messages[G.messages.length-1],Q=Array.isArray(X.content)?X.content:[X.content],$=Q.some((B)=>B.type==="tool_result"),Z=G.messages.length>1?G.messages[G.messages.length-2]:void 0,W=Z?Array.isArray(Z.content)?Z.content:[Z.content]:[],F=W.some((B)=>B.type==="tool_use");if($){if(Q.some((B)=>B.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!F)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(F){let B=new Set(W.filter((O)=>O.type==="tool_use").map((O)=>O.id)),Y=new Set(Q.filter((O)=>O.type==="tool_result").map((O)=>O.toolUseId));if(B.size!==Y.size||![...B].every((O)=>Y.has(O)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}if(G.tools)return this.request({method:"sampling/createMessage",params:G},i,K);return this.request({method:"sampling/createMessage",params:G},L,K)}async elicitInput(G,K){switch(G.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let Q=G;return this.request({method:"elicitation/create",params:Q},j,K)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let Q=G.mode==="form"?G:{...G,mode:"form"},$=await this.request({method:"elicitation/create",params:Q},j,K);if($.action==="accept"&&$.content&&Q.requestedSchema)try{let W=this._jsonSchemaValidator.getValidator(Q.requestedSchema)($.content);if(!W.valid)throw new A(E.InvalidParams,`Elicitation response content does not match requested schema: ${W.errorMessage}`)}catch(Z){if(Z instanceof A)throw Z;throw new A(E.InternalError,`Error validating elicitation response: ${Z instanceof Error?Z.message:String(Z)}`)}return $}}}createElicitationCompletionNotifier(G,K){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:G}},K)}async listRoots(G,K){return this.request({method:"roots/list",params:G},l,K)}async sendLoggingMessage(G,K){if(this._capabilities.logging){if(!this.isMessageIgnored(G.level,K))return this.notification({method:"notifications/message",params:G})}}async sendResourceUpdated(G){return this.notification({method:"notifications/resources/updated",params:G})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}VG();import e from"node:process";class k{constructor(G=e.stdin,K=e.stdout,X){this._stdin=G,this._stdout=K,this._started=!1,this._ondata=(Q)=>{try{this._readBuffer.append(Q),this.processReadBuffer()}catch($){this.onerror?.($),this.close().catch(()=>{})}},this._onerror=(Q)=>{this.onerror?.(Q)},this._readBuffer=new GG({maxBufferSize:X?.maxBufferSize})}async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){while(!0)try{let G=this._readBuffer.readMessage();if(G===null)break;this.onmessage?.(G)}catch(G){this.onerror?.(G)}}async close(){if(this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send(G){return new Promise((K)=>{let X=KG(G);if(this._stdout.write(X))K();else this._stdout.once("drain",K)})}}UG();P();CG();vG();SG();PG();RG();IG();MG();fG();hG();xG();gG();TG();LG();qG();kG();bG();process.env.CLAUDIN_DISABLE_EXPERIMENTAL_BETAS??="true";var uG=[AG];function QG(G,K){let X=new Set(K.map(($)=>$.name)),Q=G.filter(($)=>!X.has($.name));return[...K,...Q]}async function cG(){let G=[],K=[];return await wG(({client:X,tools:Q})=>{G.push(X),K.push(...Q)}),{mcpClients:G,mcpTools:K}}async function jK(G,K,X){let $=OG(100);FG(G);let Z=new b({name:"claude/tengu",version:"99.0.0"},{capabilities:{tools:{}}}),{mcpClients:W,mcpTools:F}=await cG();Z.setRequestHandler(HG,async()=>{let Y=T(),O=QG(R(Y),F);return{tools:await Promise.all(O.map(async(H)=>{let J;if(H.outputSchema){let D=C(H.outputSchema);if(typeof D==="object"&&D!==null&&"type"in D&&D.type==="object")J=D}return{...H,description:await H.prompt({getToolPermissionContext:async()=>Y,tools:O,agents:[]}),inputSchema:H.inputJSONSchema??C(H.inputSchema),outputSchema:J}}))}}),Z.setRequestHandler(f,async({params:{name:Y,arguments:O}})=>{let H=T(),J=QG(R(H),F),D=DG(J,Y);if(!D)throw Error(`Tool ${Y} not found`);let _={abortController:ZG(),options:{commands:uG,tools:J,mainLoopModel:$G(),thinkingConfig:{type:"disabled"},mcpClients:W,mcpResources:{},isNonInteractiveSession:!0,debug:K,verbose:X,agentDefinitions:{activeAgents:[],allAgents:[]}},getAppState:()=>JG(),setAppState:()=>{},messages:[],readFileState:$,setInProgressToolUseIDs:()=>{},setResponseLength:()=>{},updateFileHistoryState:()=>{},updateAttributionState:()=>{}};try{if(!D.isEnabled())throw Error(`Tool ${Y} is not enabled`);let N=D.inputSchema.parse(WG(D,O??{})),V=await D.validateInput?.(N??{},_);if(V&&!V.result)throw Error(`Tool ${Y} input is invalid: ${V.message}`);let x=await D.call(N??{},_,zG,NG({content:[]})),z,y=x.data;if(typeof y==="string")z=[{type:"text",text:y}];else if(Array.isArray(y))z=y.map((w)=>{if(w.type==="text")return{type:"text",text:w.text||""};else if(w.type==="image"&&w.source)return{type:"image",data:w.source.data,mimeType:w.source.media_type};else return console.warn(`Unmapped content block type from tool ${Y}: ${w.type||"unknown"}`),{type:"text",text:q(w)}});else z=[{type:"text",text:q(y)}];return{content:z,isError:!!x.isError}}catch(N){if(YG(N),N instanceof XG)return{isError:!0,content:[{type:"text",text:`Tool ${Y} input is invalid:
2
+ ${N.issues.map((z)=>`- ${z.path.join(".")}: ${z.message}`).join(`
3
+ `)}`}]};return{isError:!0,content:[{type:"text",text:(N instanceof Error?BG(N):[String(N)]).filter(Boolean).join(`
4
+ `).trim()||"Error"}]}}});async function B(){let Y=new k;await Z.connect(Y)}return await B()}export{jK as startMCPServer,cG as loadReexposedMcpTools,QG as getCombinedTools};
@@ -0,0 +1 @@
1
+ import{Esa as z}from"./cli-1.1.14-r930b2z3.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};
@@ -0,0 +1,72 @@
1
+ import{xg as LJ,zg as NQ}from"./cli-1.1.14-g7acy34j.mjs";import{$D as gq,$F as Cq,$l as cq,AT as bJ,Hx as bq,Kx as nJ,NT as iq,Xn as VJ,Yn as LQ,aE as mJ,aG as sJ,cm as uJ,dE as dq,eE as lJ,hG as nq,jG as iJ,qT as kq,rT as JJ,sT as QJ,tT as ZJ,vT as HQ,zT as Uq}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import{hY as y,jY as $J,mY as uq,nY as gJ}from"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import{I0 as S,K0 as C,O0 as XJ,jZ as hq,n1 as Aq}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import{L3 as k,M3 as K,N3 as _}from"./cli-1.1.14-az6pbe66.mjs";import{O3 as pq}from"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import{k4 as $q,m4 as dJ}from"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import{S8 as Dq,T8 as yJ}from"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{Fda as hJ,Gda as T,Kda as zq,Nda as fq,R_ as Sq,Tda as Eq,Wda as Fq,Xda as jq,Yda as xJ,aea as WJ,bea as zJ,fea as cJ,gea as yq,laa as Pq,pga as HJ,s$ as wJ,tda as Nq,xga as VQ,zaa as pJ}from"./cli-1.1.14-q1kc6b8n.mjs";import{Qga as _q,Uga as fJ}from"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import{Dia as rq,Fia as UQ}from"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import{rja as Lq,uja as PJ}from"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import{$ka as XQ,Vka as KJ}from"./cli-1.1.14-fwakcyhj.mjs";import{cla as p,nla as Tq}from"./cli-1.1.14-83ng5cjk.mjs";import{Sqa as DJ,Zma as Mq}from"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as Wq,Bsa as _J,Esa as b}from"./cli-1.1.14-r930b2z3.mjs";function vq(J){return Sq(J)!==null}var Oq=b(()=>{wJ()});import{basename as RJ,join as MJ}from"path";function TJ(J){return J.type==="Project"&&J.parent===void 0&&jq(RJ(J.path))}function wq(J,q){let U=new Set(J.filter(TJ).map((Z)=>Z.path));return Fq(q,(Z)=>U.has(Z))??MJ(q,Eq)}var xq=b(()=>{xJ()});import{mkdir as rJ}from"fs/promises";import{basename as aJ,join as oJ}from"path";function lq(J){let q=mq.c(58),{onSelect:U,onCancel:Z}=J,z=H.use(Uq()),V=Mq(),L=oJ(p(),"CLAUDE.md"),A=wq(z,V),h=aJ(A),CJ=z.some((Q)=>Q.path===L),AJ=z.some((Q)=>Q.path===A),IJ=[...z.filter(zQ).map(WQ),...CJ?[]:[{path:L,type:"User",content:"",exists:!1}],...AJ?[]:[{path:A,type:"Project",content:"",exists:!1}]],Iq=new Map,N=IJ.map((Q)=>{let W=Pq(Q.path),Vq=Q.exists?"":" (new)",Qq=Q.parent?(Iq.get(Q.parent)??0)+1:0;Iq.set(Q.path,Qq);let FJ=Qq>0?" ".repeat(Qq-1):"",P;if(Q.type==="User"&&!Q.isNested&&Q.path===L)P="User memory";else if(Q.type==="Project"&&!Q.isNested&&Q.path===A)P="Project memory";else if(Qq>0)P=`${FJ}L ${W}${Vq}`;else P=`${W}`;let M,jJ=vq(V);if(Q.type==="User"&&!Q.isNested)M="Saved in ~/.claudin/CLAUDE.md";else if(Q.type==="Project"&&!Q.isNested&&Q.path===A)M=`${jJ?"Checked in at":"Saved in"} ./${h}`;else if(Q.parent)M="@-imported";else if(Q.isNested)M="dynamically loaded";else M="";return{label:P,value:Q.path,description:M}}),c=[],SJ=bq(ZQ);if(T()){let Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q={label:"Open auto-memory folder",value:`${f}${zq()}`,description:""},q[0]=Q;else Q=q[0];if(c.push(Q),Rq?.isTeamMemoryEnabled()){let W;if(q[1]===Symbol.for("react.memo_cache_sentinel"))W={label:"Open team memory folder",value:`${f}${Rq?.getTeamMemPath()}`,description:""},q[1]=W;else W=q[1];c.push(W)}for(let W of SJ.activeAgents)if(W.memory){let Vq=cq(W.agentType,W.memory);c.push({label:`Open ${Dq.bold(W.agentType)} agent memory`,value:`${f}${Vq}`,description:`${W.memory} scope`})}}N.push(...c);let u;if(q[2]!==N)u=Zq&&N.some(QQ)?Zq:N[0]?.value||"",q[2]=N,q[3]=u;else u=q[3];let Yq=u,[$,vJ]=H.useState(T),[I,OJ]=H.useState(gq),[B]=H.useState(T),X=bq(qQ),[D,EJ]=H.useState(null),g;if(q[4]!==B)g=()=>{if(!B)return;dq().then(EJ)},q[4]=B,q[5]=g;else g=q[5];let d;if(q[6]!==X||q[7]!==B)d=[B,X],q[6]=X,q[7]=B,q[8]=d;else d=q[8];H.useEffect(g,d);let n;if(q[9]!==X||q[10]!==D)n=X?"running":D===null?"":D===0?"never":`last ran ${_q(new Date(D))}`,q[9]=X,q[10]=D,q[11]=n;else n=q[11];let m=n,[G,Bq]=H.useState(null),Y=G!==null,v=B?1:0,l;if(q[12]!==$)l=function(){let W=!$;Nq("userSettings",{autoMemoryEnabled:W}),vJ(W),Lq("",{enabled:W})},q[12]=$,q[13]=l;else l=q[13];let Gq=l,s;if(q[14]!==I)s=function(){let W=!I;Nq("userSettings",{autoDreamEnabled:W}),OJ(W),Lq("",{enabled:W})},q[14]=I,q[15]=s;else s=q[15];let Kq=s;uq();let i;if(q[16]===Symbol.for("react.memo_cache_sentinel"))i={context:"Confirmation"},q[16]=i;else i=q[16];y("confirm:no",Z,i);let r;if(q[17]!==G||q[18]!==Kq||q[19]!==Gq)r=()=>{if(G===0)Gq();else if(G===1)Kq()},q[17]=G,q[18]=Kq,q[19]=Gq,q[20]=r;else r=q[20];let a;if(q[21]!==Y)a={context:"Confirmation",isActive:Y},q[21]=Y,q[22]=a;else a=q[22];y("confirm:yes",r,a);let o;if(q[23]!==v)o=()=>{Bq((Q)=>Q!==null&&Q<v?Q+1:null)},q[23]=v,q[24]=o;else o=q[24];let t;if(q[25]!==Y)t={context:"Select",isActive:Y},q[25]=Y,q[26]=t;else t=q[26];y("select:next",o,t);let e;if(q[27]===Symbol.for("react.memo_cache_sentinel"))e=()=>{Bq(eJ)},q[27]=e;else e=q[27];let qq;if(q[28]!==Y)qq={context:"Select",isActive:Y},q[28]=Y,q[29]=qq;else qq=q[29];y("select:previous",e,qq);let Hq=G===0,Xq=$?"on":"off",O;if(q[30]!==Xq)O=K(C,{children:["Auto-memory: ",Xq]}),q[30]=Xq,q[31]=O;else O=q[31];let E;if(q[32]!==Hq||q[33]!==O)E=k(Cq,{isFocused:Hq,children:O}),q[32]=Hq,q[33]=O,q[34]=E;else E=q[34];let F;if(q[35]!==I||q[36]!==m||q[37]!==G||q[38]!==X||q[39]!==B)F=B&&k(Cq,{isFocused:G===1,styled:!1,children:K(C,{color:G===1?"suggestion":void 0,children:["Auto-dream: ",I?"on":"off",m&&K(C,{dimColor:!0,children:[" · ",m]}),!X&&I&&k(C,{dimColor:!0,children:" · /dream to run"})]})}),q[35]=I,q[36]=m,q[37]=G,q[38]=X,q[39]=B,q[40]=F;else F=q[40];let j;if(q[41]!==E||q[42]!==F)j=K(S,{flexDirection:"column",marginBottom:1,children:[E,F]}),q[41]=E,q[42]=F,q[43]=j;else j=q[43];let w;if(q[44]!==U)w=(Q)=>{if(Q.startsWith(f)){let W=Q.slice(f.length);rJ(W,{recursive:!0}).catch(tJ).then(()=>$q(W));return}Zq=Q,U(Q)},q[44]=U,q[45]=w;else w=q[45];let x;if(q[46]!==v)x=()=>Bq(v),q[46]=v,q[47]=x;else x=q[47];let R;if(q[48]!==Yq||q[49]!==N||q[50]!==Z||q[51]!==w||q[52]!==x||q[53]!==Y)R=k(nq,{defaultFocusValue:Yq,options:N,isDisabled:Y,onChange:w,onCancel:Z,onUpFromFirstItem:x}),q[48]=Yq,q[49]=N,q[50]=Z,q[51]=w,q[52]=x,q[53]=Y,q[54]=R;else R=q[54];let Jq;if(q[55]!==j||q[56]!==R)Jq=K(S,{flexDirection:"column",width:"100%",children:[j,R]}),q[55]=j,q[56]=R,q[57]=Jq;else Jq=q[57];return Jq}function tJ(){}function eJ(J){return J!==null&&J>0?J-1:J}function qQ(J){return Object.values(J.tasks).some(JQ)}function JQ(J){return J.type==="dream"&&J.status==="running"}function QQ(J){return J.value===Zq}function ZQ(J){return J.agentDefinitions}function WQ(J){return{...J,exists:!0}}function zQ(J){return J.type!=="AutoMem"&&J.type!=="TeamMem"}var mq,H,Rq,Zq,f="__open_folder__";var sq=b(()=>{yJ();DJ();gJ();Aq();$J();fq();PJ();mJ();lJ();nJ();uJ();dJ();iq();Tq();pJ();fJ();Oq();hJ();iJ();sJ();xq();_();mq=Wq(hq(),1),H=Wq(pq(),1),Rq=(yq(),_J(cJ))});import{homedir as YQ}from"os";import{relative as BQ}from"path";function aq(J){let q=YQ(),U=rq(),Z=J.startsWith(q)?"~"+J.slice(q.length):null,z=J.startsWith(U)?"./"+BQ(U,J):null;if(Z&&z)return Z.length<=z.length?Z:z;return Z||z||J}var kQ;var oq=b(()=>{Aq();UQ();_();kQ=Wq(hq(),1)});function tq(J){return J.replace(GQ,"")}function eq(J,q){let U=tq(J),Z=q===null?null:tq(q),z=Math.round(QJ/KQ),V=Z!==null?"skip subdirectories other than the team dir handled separately":"skip all subdirectories",L=Z!==null?`
2
+ ## Team memory
3
+
4
+ Also tidy the team memory directory: \`${Z}\`
5
+
6
+ - Apply the exact same orient → identify → merge → update-index steps inside \`${Z}\` (its index is \`${Z}/${kq}\`)
7
+ - The team index may have its own structure beyond bare index lines — a \`# Team Memory\` header, an intro blockquote, \`## Section\` groupings. **Preserve all of it**: only touch the individual index lines for files you deleted or renamed, exactly as in the private index. Never reformat, reorder, or flatten the team index's sections.
8
+ - **Never merge across the boundary**: a private memory and a team memory about the same fact stay separate. Do not move content between \`${U}\` and \`${Z}\`, do not merge a pair that spans the two, and do not "promote" a private memory into team — that is a deliberate user decision, not tidy's job.
9
+ - Files you change or delete here propagate to the team via automatic sync — another reason to stay strictly conservative.
10
+ `:"";return`# Memory Tidy: conservative duplicate merge
11
+
12
+ You are tidying the memory directory — a **conservative** pass that merges duplicate memory files and updates the index. This is NOT a dream/consolidation: do not look at transcripts, do not create new memories, do not reorganize by topic, and do not rewrite the content of files that are not duplicates.
13
+
14
+ Memory directory: \`${U}\`
15
+ ${ZJ}
16
+ ${L}
17
+ ---
18
+
19
+ ## Step 1 — Orient
20
+
21
+ - Read \`${U}/${kq}\` to see the current index
22
+ - Read every \`.md\` file in the directory — full contents, not just frontmatter (there are at most a couple hundred; ${V})
23
+
24
+ ## Step 2 — Identify duplicates
25
+
26
+ Look for pairs or groups of files that record the **same fact**:
27
+
28
+ - Same topic under different names (e.g. \`feedback-build-after-edit.md\` vs \`always-build-after-source-change.md\`)
29
+ - Near-identical \`description\` frontmatter
30
+ - Heavily overlapping body content
31
+
32
+ Two files that merely **partially overlap** are NOT duplicates: if file A covers facts X+Y and file B covers X+Z, each holds a distinct fact — leave both alone. Only files where one is (nearly) fully redundant with the other qualify.
33
+
34
+ If you are not confident two files describe the same fact, they are NOT duplicates — leave both untouched and list them under "ambiguous pairs" in your report.
35
+
36
+ ## Step 3 — Merge (conservatively)
37
+
38
+ For each confirmed duplicate group:
39
+
40
+ 1. Pick the survivor: prefer the file with the more complete frontmatter and richer content; on a tie prefer the older file (check mtime with \`ls -l\` — its name is more likely already referenced elsewhere).
41
+ 2. Fold the redundant file's content into the survivor. When the two files **conflict factually**, keep BOTH facts (union) and note the contradiction in your report — never silently pick one side.
42
+ 3. Keep the survivor's frontmatter \`type\`; refresh its \`description\` only if the merged content demands it. If a file's frontmatter is malformed, skip that file entirely and note it in the report.
43
+ 4. Delete the redundant file with \`rm\`. The user will see a permission prompt for each deletion — that is intentional, it is their chance to veto a merge.
44
+
45
+ Hard rules:
46
+ - Never merge across the private ↔ team boundary.
47
+ - Never delete a file that is merely stale, ambiguous, or low-quality — only confirmed duplicates. Stale or wrong content is reported, not fixed.
48
+ - Never create new memory files, and never touch files outside the memory directories.
49
+
50
+ ## Step 4 — Update the index (minimal edits, NOT a rewrite)
51
+
52
+ Edit \`${U}/${kq}\` (and the team index if applicable) **in place, surgically**:
53
+
54
+ - Remove only the lines pointing at files you deleted
55
+ - Update the survivor's line only if its title/hook changed
56
+ - Do not reorder, regroup, reformat, or rewrite surviving lines — the rest of the index stays byte-for-byte as it was
57
+ - Format for any line you do touch: \`- [Title](file.md) — one-line hook\`, under ~150 chars
58
+ - The index must stay under ${JJ} lines AND under ~${z}KB — it's an index, never write memory content into it
59
+
60
+ ## Step 5 — Report
61
+
62
+ Finish with a brief summary:
63
+
64
+ - **Merged**: which files combined into which survivor (X + Y → Z)
65
+ - **Deleted**: files removed
66
+ - **Ambiguous pairs left alone**: candidates you were not confident about, so the user can decide by hand
67
+ - **Conflicts noted**: factual contradictions you kept as union
68
+ - **Stale or broken observed**: outdated content, malformed frontmatter, or anything else you noticed but deliberately did NOT fix (tidy only merges duplicates)
69
+
70
+ If nothing was duplicated, say so — a tidy run that changes nothing is a correct outcome.`}var GQ,KQ=1024;var qJ=b(()=>{HQ();GQ=/[/\\]+$/});function UJ(){if(WJ())return zJ();return null}var kJ=b(()=>{yq()});function YJ(J){return J.trim()==="tidy"?"tidy":null}function BJ(J){if(!T())return J("Memory tidy unavailable: auto memory is disabled (autoMemoryEnabled is false, or CLAUDIN_DISABLE_AUTO_MEMORY is set).",{display:"system"}),null;return J("Running memory tidy — merging duplicate memories…",{display:"system",shouldQuery:!0,metaMessages:[eq(zq(),UJ())]}),null}var GJ=b(()=>{fq();qJ();kJ()});import{mkdir as bQ,writeFile as CQ}from"fs/promises";function AQ({onDone:J}){let q=async(Z)=>{try{if(Z.includes(p()))await bQ(p(),{recursive:!0});try{await CQ(Z,"",{encoding:"utf8",flag:"wx"})}catch(h){if(KJ(h)!=="EEXIST")throw h}await LJ(Z);let z="default",V="";if(process.env.VISUAL)z="$VISUAL",V=process.env.VISUAL;else if(process.env.EDITOR)z="$EDITOR",V=process.env.EDITOR;let L=z!=="default"?`Using ${z}="${V}".`:"",A=L?`> ${L} To change editor, set $EDITOR or $VISUAL environment variable.`:"> To use a different editor, set the $EDITOR or $VISUAL environment variable.";J(`Opened memory file at ${aq(Z)}
71
+
72
+ ${A}`,{display:"system"})}catch(z){HJ(z),J(`Error opening memory file: ${z}`)}},U=()=>{J("Cancelled memory editing",{display:"system"})};return k(VJ,{title:"Memory",onCancel:U,color:"remember",children:K(S,{flexDirection:"column",children:[k(NJ.Suspense,{fallback:null,children:k(lq,{onSelect:q,onCancel:U})}),k(S,{marginTop:1,children:K(C,{dimColor:!0,children:["Learn more: ",k(XJ,{url:"https://code.claude.com/docs/en/memory"})]})})]})})}var NJ,vZ=async(J,q,U)=>{if(YJ(U)==="tidy")return BJ(J);return bJ(),await Uq(),k(AQ,{onDone:J})};var IQ=b(()=>{LQ();sq();oq();Aq();iq();Tq();XQ();VQ();NQ();GJ();_();NJ=Wq(pq(),1)});IQ();export{vZ as call};
@@ -0,0 +1 @@
1
+ import{A6 as r,B6 as s,C6 as t,D6 as u,E6 as v,F6 as w,G6 as x,H6 as y,I6 as z,J6 as A,K6 as B,L6 as C,M6 as D,N6 as E,j6 as a,k6 as b,l6 as c,m6 as d,n6 as e,o6 as f,p6 as g,q6 as h,r6 as i,s6 as j,t6 as k,u6 as l,v6 as m,w6 as n,x6 as o,y6 as p,z6 as q}from"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import"./cli-1.1.14-r930b2z3.mjs";E();export{y as resolveSkillModelOverride,t as renderModelSetting,v as renderModelName,p as renderDefaultModelSetting,x as parseUserSpecifiedModel,C as normalizeModelStringForAPI,D as modelRejectsSamplingParams,A as modelDisplayString,s as isOpus1mMergeEnabled,b as isNonCustomOpusModel,c as isNative1mModel,z as isLegacyModelRemapEnabled,d as getUserSpecifiedModelSetting,a as getSmallFastModel,j as getRuntimeMainLoopModel,w as getPublicModelName,u as getPublicModelDisplayName,r as getOpus5PricingSuffix,q as getOpus46PricingSuffix,B as getMarketingNameForModel,e as getMainLoopModel,h as getDefaultSonnetModel,g as getDefaultOpusModel,k as getDefaultMainLoopModelSetting,l as getDefaultMainLoopModel,i as getDefaultHaikuModel,o as getClaudeAiUserDefaultModelDescription,n as getCanonicalName,f as getBestModel,m as firstPartyNameToCanonical};
@@ -0,0 +1,2 @@
1
+ import"./cli-1.1.14-73mqk8g5.mjs";import{ah as m,bh as Rb,ch as _,dh as Ub}from"./cli-1.1.14-s59gy7wr.mjs";import"./cli-1.1.14-vefm78w3.mjs";import{Hx as W,Ix as v,Kx as Qb,Nw as i,OP as t,Ow as r,PP as Wb,Pw as Pb}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import{jZ as Nb}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import{L3 as Y,N3 as V}from"./cli-1.1.14-az6pbe66.mjs";import{O3 as Kb}from"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import{B6 as I,D5 as w,E5 as x,J5 as X,N6 as Hb,O5 as A,S6 as p,U6 as Jb,X5 as Bb,f6 as f,g6 as Eb,h6 as $,i6 as Gb,t6 as M,y6 as g}from"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import{S8 as Q,T8 as e}from"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{Cea as u,Rea as bb,Tfa as C,Yea as L,Zfa as qb,kfa as h,lfa as S,nfa as kb}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import{eja as F,fja as D,gja as zb}from"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import{rja as Z,uja as o}from"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as c,Esa as s}from"./cli-1.1.14-r930b2z3.mjs";function Xb(k){let b=a.c(17),{onDone:z}=k,B=W(Ib),q=W(yb),G=W(Zb),J=v(),E;if(b[0]!==B||b[1]!==z)E=function(){Z("",{action:"cancel"});let N=y(B);z(`Kept model as ${Q.bold(N)}`,{display:"system"})},b[0]=B,b[1]=z,b[2]=E;else E=b[2];let R=E,H;if(b[3]!==G||b[4]!==B||b[5]!==z||b[6]!==J)H=function(N,O){Z("",{action:N,from_model:B,to_model:N}),J((n)=>({...n,mainLoopModel:N,mainLoopModelForSession:null}));let P=`Set model to ${Q.bold(y(N))}`;if(O!==void 0)P=P+` with ${Q.bold(O)} effort`;let T=void 0;if(w()){if(A(),!X(N)&&G)J(Yb),T=!1;else if(X(N)&&x()&&G)P=P+" · Fast mode ON",T=!0}if(_(N,T===!0,I()))P=P+" · Billed as extra usage";if(T===!1)P=P+" · Fast mode OFF";z(P)},b[3]=G,b[4]=B,b[5]=z,b[6]=J,b[7]=H;else H=b[7];let U=H,K;if(b[8]!==G||b[9]!==B)K=w()&&G&&X(B)&&x(),b[8]=G,b[9]=B,b[10]=K;else K=b[10];let j;if(b[11]!==R||b[12]!==U||b[13]!==B||b[14]!==q||b[15]!==K)j=Y(m,{initial:B,sessionModel:q,onSelect:U,onCancel:R,isStandaloneCommand:!0,showFastModeNotice:K}),b[11]=R,b[12]=U,b[13]=B,b[14]=q,b[15]=K,b[16]=j;else j=b[16];return j}function Yb(k){return{...k,fastMode:!1}}function Zb(k){return k.fastMode}function yb(k){return k.mainLoopModelForSession}function Ib(k){return k.mainLoopModel}function jb({args:k,onDone:b}){let z=W((G)=>G.fastMode),B=v(),q=k==="default"?null:k;return l.useEffect(()=>{async function G(){if(q&&!$(q)){b(`Model '${q}' is not available. Your organization restricts model selection.`,{display:"system"});return}if(q&&wb(q)){b("Opus with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m",{display:"system"});return}if(q&&xb(q)){b("Sonnet 4.6 with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m",{display:"system"});return}if(!q){J(null);return}if(Tb(q)){J(q);return}try{let{valid:E,error:R}=await t(q);if(E)J(q);else b(R||`Model '${q}' not found`,{display:"system"})}catch(E){b(`Failed to validate model: ${E.message}`,{display:"system"})}}function J(E){B((K)=>({...K,mainLoopModel:E,mainLoopModelForSession:null}));let R=E?Q.dim(" · for this project"):"",H=`Set model to ${Q.bold(y(E))}${R}`,U=void 0;if(w()){if(A(),!X(E)&&z)B((K)=>({...K,fastMode:!1})),U=!1;else if(X(E)&&z)H+=" · Fast mode ON",U=!0}if(_(E,U===!0,I()))H+=" · Billed as extra usage";if(U===!1)H+=" · Fast mode OFF";b(H)}G()},[q,b,B]),null}function Tb(k){return f.includes(k.toLowerCase().trim())}function wb(k){let b=k.toLowerCase();return!i()&&!I()&&b.includes("opus")&&b.includes("[1m]")}function xb(k){let b=k.toLowerCase();return!r()&&!I()&&(b.includes("sonnet[1m]")||b.includes("sonnet-4-6[1m]"))}function Cb(k){let{onDone:b}=k,z=W(_b),B=W(vb),q=W(Ab),G=y(z),J=q!==void 0?` (effort: ${q})`:"",E=u(),H=(E.activeModelForProject?E.activeModelForProjectProfileId===void 0||E.activeModelForProjectProfileId===L()?.id:!1)?Q.dim(" (project)"):"";if(B)b(`Current model: ${Q.bold(y(B))} (session override from plan mode)
2
+ Base model: ${G}${H}${J}`);else b(`Current model: ${G}${H}${J}`);return null}function Ab(k){return k.effortValue}function vb(k){return k.mainLoopModelForSession}function _b(k){return k.mainLoopModel}function Ob(k,b){if(k.length!==b.length)return!1;return k.every((z,B)=>{let q=b[B];return q!==void 0&&z.value===q.value&&z.label===q.label&&z.description===q.description&&z.descriptionForModel===q.descriptionForModel})}async function Vb(){if(!C()?.startsWith("openai:"))return;try{let k=await p();if(k.length===0)return;let b=h();if(Ob(b,k))return;S(k)}catch{}}function y(k){let b=g(k??M());return k===null?`${b} (default)`:b}var a,l,lb=async(k,b,z)=>{if(z=z?.trim()||"",D.includes(z))return Z("",{args:z}),Y(Cb,{onDone:k});if(F.includes(z)){k("Run /model to open the model selection menu, or /model [modelName] to set the model.",{display:"system"});return}if(z)return Z("",{args:z}),Y(jb,{args:z,onDone:k});if(C()?.startsWith("openai:"))Vb();return Y(Xb,{onDone:k})};var cb=s(()=>{e();Rb();zb();o();Qb();bb();Ub();Bb();Eb();Pb();Jb();kb();Hb();Gb();Wb();qb();V();a=c(Nb(),1),l=c(Kb(),1)});cb();export{lb as call};
@@ -0,0 +1,12 @@
1
+ import{Bra as r,Cra as o,Dra as kQ,Era as JQ,Fra as W,Gra as i,Hra as _,Ira as BQ,Lra as WQ,rra as w,sra as C,tra as bQ,ura as A}from"./cli-1.1.14-vx8jq8gy.mjs";import{Esa as b}from"./cli-1.1.14-r930b2z3.mjs";var l=b(()=>{JQ()});function G(z){if(z.inputSchema.type!=="object")throw Error(`JSON schema for tool "${z.name}" must be an object, but got ${z.inputSchema.type}`);return{type:"custom",name:z.name,input_schema:z.inputSchema,description:z.description,run:z.run,parse:(Q)=>Q,...z.close?{close:z.close}:{}}}var n=b(()=>{WQ();l()});import*as R from"node:fs/promises";import*as L from"node:path";import{randomUUID as CQ}from"node:crypto";async function DQ(z){try{return await R.realpath(z)}catch{return z}}async function UQ(z){let Q=[],$=z,V=0;for(;;){let Y;try{Y=await R.realpath($)}catch{let X=!1;try{X=(await R.lstat($)).isSymbolicLink()}catch{}if(X){if(++V>40)throw new W(`path ${JSON.stringify(z)} has too many levels of symbolic links`);$=L.resolve(L.dirname($),await R.readlink($));continue}let q=L.dirname($);if(q===$)return z;Q.push(L.basename($)),$=q;continue}return Q.length?L.join(Y,...Q.reverse()):Y}}async function a(z,Q,$){let V=$?.allowOutside??!1,Y=await DQ(L.resolve(z)),X=L.resolve(Y,Q);if(V)return X;let q=await UQ(X);if(q!==Y&&!q.startsWith(Y+L.sep))throw new W(`path ${JSON.stringify(Q)} escapes workdir`);return q}async function m(z,Q){let $=L.dirname(z),V=L.join($,`.tmp-${process.pid}-${CQ()}`),Y;try{Y=await R.open(V,"wx",NQ),await Y.writeFile(Q,"utf-8"),await Y.sync(),await Y.close(),Y=void 0,await R.rename(V,z)}catch(X){if(Y)await Y.close().catch(()=>{});throw await R.unlink(V).catch(()=>{}),X}}function j(z,Q){switch(z?.code){case"ENOENT":return`${Q}: no such file or directory`;case"EACCES":case"EPERM":return`${Q}: permission denied`;case"ENOTDIR":return`${Q}: not a directory`;case"EISDIR":return`${Q}: is a directory`;case"ELOOP":return`${Q}: too many levels of symbolic links`;case"ENAMETOOLONG":return`${Q}: file name too long`;case"ENOSPC":return`${Q}: no space left on device`;case"EMFILE":case"ENFILE":return`${Q}: too many open files`;default:return`${Q}: ${z instanceof Error?z.message:String(z)}`}}var B=493,NQ=420;var d=b(()=>{i()});import*as O from"node:fs/promises";import*as t from"node:fs";import*as U from"node:path";import{execFile as LQ}from"node:child_process";import{promisify as MQ}from"node:util";import{Readable as OQ}from"node:stream";import{pipeline as wQ}from"node:stream/promises";async function AQ(z){let{client:Q,sessionId:$}=z;if(!Q||!$)return async()=>{};let V=o(Q),Y=await Q.beta.sessions.retrieve($),X=U.resolve(z.workdir,"skills"),q=[];for(let K of Y.agent.skills)try{let Z=await s(Q,K.skill_id,K.version),H=await Q.beta.skills.versions.retrieve(Z,{skill_id:K.skill_id}),J=U.basename(H.name.trim());if(J===""||J==="."||J==="..")J=K.skill_id;let k=U.resolve(X,J);if(k!==X&&!k.startsWith(X+U.sep)){V.warn("skill name escapes the skills dir; skipping",{component:"agent-tool-context",name:H.name});continue}let v=await Q.beta.skills.versions.download(Z,{skill_id:K.skill_id});await O.rm(k,{recursive:!0,force:!0}),await O.mkdir(k,{recursive:!0,mode:B}),q.push(k),await e(v,k),V.info("downloaded skill",{component:"agent-tool-context",skill_id:K.skill_id,version:Z,dest:k})}catch(Z){V.warn("failed to download skill",{component:"agent-tool-context",skill_id:K.skill_id,error:String(Z)})}return async()=>{for(let K of q)await O.rm(K,{recursive:!0,force:!0}).catch((Z)=>{V.warn("failed to clean up skill",{component:"agent-tool-context",dest:K,error:String(Z)})})}}async function s(z,Q,$){if(/^\d+$/.test($))return $;let V;for await(let Y of z.beta.skills.versions.list(Q))if(/^\d+$/.test(Y.version)&&(V===void 0||BigInt(Y.version)>BigInt(V)))V=Y.version;if(V===void 0)throw new A(`skill ${JSON.stringify(Q)} has no concrete version to resolve ${JSON.stringify($)} against`);return V}function RQ(z){for(let Q of z.split(`
2
+ `)){let $=Q.trim();if(!$)continue;if(U.isAbsolute($)||$.split(/[\\/]/).includes(".."))throw new A(`refusing to extract unsafe archive member: ${$}`)}}function IQ(z){for(let Q of z.split(`
3
+ `)){let $=Q.trimStart()[0];if($==="l"||$==="h"||$==="b"||$==="c"||$==="p"||$==="s")throw new A("refusing to extract archive with symlink/hardlink/device member")}}async function h(z,Q){try{let{stdout:$}=await yQ(z,Q);return $}catch($){if($!=null&&typeof $==="object"&&$.code==="ENOENT")throw new A(`skill extraction requires the \`${z}\` command, but it was not found on PATH`);throw $}}function GQ(z){let Q,$=!1;for(let V of z.split(`
4
+ `)){let Y=V.trim().split("/").filter((q)=>q!==""&&q!==".");if(Y.length===0)continue;let X=Y[0];if(Q===void 0)Q=X;else if(X!==Q)return"";if(Y.length>1)$=!0}return Q!==void 0&&$?Q:""}async function e(z,Q){let $=U.join(Q,`.skill-archive-${process.pid}-${Date.now()}`);if(!z.body)throw new A("skill download response had no body");await wQ(OQ.fromWeb(z.body),t.createWriteStream($));let V=U.join(U.dirname(Q),`.skill-stage-${process.pid}-${Date.now()}`);try{let Y=await FQ($,4),X=Y.length>=4&&Y[0]===80&&Y[1]===75&&Y[2]===3&&Y[3]===4,q=X?"unzip":"tar",K=await h(q,X?["-Z1",$]:["-tf",$]);RQ(K),IQ(await h(q,X?["-Z",$]:["-tvf",$]));let Z=GQ(K);await O.mkdir(V,{recursive:!0,mode:B}),await h(q,X?["-oq",$,"-d",V]:["-xf",$,"-C",V]);let H=Z?U.join(V,Z):V;for(let J of await O.readdir(H))await O.rename(U.join(H,J),U.join(Q,J))}finally{await O.rm($,{force:!0}),await O.rm(V,{recursive:!0,force:!0})}}async function FQ(z,Q){let $=await O.open(z,"r");try{let V=Buffer.alloc(Q),{bytesRead:Y}=await $.read(V,0,Q,0);return V.subarray(0,Y)}finally{await $.close()}}var yQ;var QQ=b(()=>{r();kQ();d();yQ=MQ(LQ)});import*as D from"node:fs/promises";import*as g from"node:fs";import*as N from"node:path";import*as c from"node:child_process";import*as VQ from"node:crypto";import*as YQ from"node:readline";function KQ(z){return z===void 0?jQ:z}function O0(z){return[gQ(z),vQ(z),fQ(z),SQ(z),mQ(z),dQ(z)]}function u(z,Q){return a(z.workdir,Q,{allowOutside:z.unrestrictedPaths??!1})}function TQ(){let z={};for(let[Q,$]of Object.entries(process.env)){if(Q.startsWith("ANTHROPIC_"))continue;z[Q]=$}return z}class XQ{constructor(z,Q=TQ()){T.add(this),M.set(this,void 0),y.set(this,""),x.set(this,!1),F.set(this,!1),I.set(this,null),w(this,M,c.spawn("/bin/bash",["--noprofile","--norc"],{cwd:z,env:{...Q,PS1:"",PS2:"",TERM:"dumb"},stdio:["pipe","pipe","pipe"],detached:!0}),"f"),C(this,M,"f").stdout.setEncoding("utf8"),C(this,M,"f").stderr.setEncoding("utf8"),C(this,M,"f").stdout.on("data",($)=>C(this,T,"m",p).call(this,$)),C(this,M,"f").stderr.on("data",($)=>C(this,T,"m",p).call(this,$)),C(this,M,"f").once("close",()=>{w(this,F,!0,"f");let $=C(this,I,"f");w(this,I,null,"f"),$?.resolve()})}get closed(){return C(this,F,"f")}async exec(z,Q={}){if(C(this,F,"f"))throw new A("bash session terminated");let $=Q.timeoutMs??qQ,V=Q.signal;if(V?.aborted)throw new A("bash command aborted");w(this,y,"","f"),w(this,x,!1,"f");let Y=`__ANT_CMD_${VQ.randomUUID()}_DONE__`,X=`${Y.slice(0,8)}''${Y.slice(8)}`,q=`{ ${z}
5
+ } </dev/null 2>&1; printf '\\n${X}%d\\n' $?
6
+ `;if(C(this,M,"f").stdin.write(q),C(this,y,"f").indexOf(Y)<0){let{promise:v,resolve:ZQ}=_();w(this,I,{sentinel:Y,resolve:ZQ},"f");let f,E;try{await Promise.race([v,new Promise((HQ,S)=>{f=setTimeout(()=>S(new A(`bash command timed out after ${$}ms`)),$)}),new Promise((HQ,S)=>{if(!V)return;E=()=>S(new A("bash command aborted")),V.addEventListener("abort",E,{once:!0})})])}finally{if(f)clearTimeout(f);if(E&&V)V.removeEventListener("abort",E);w(this,I,null,"f")}}let K=C(this,y,"f").indexOf(Y);if(K<0)throw new A("bash session terminated");let H=C(this,y,"f").slice(K+Y.length).match(/^(-?\d+)/),J=H?parseInt(H[1],10):-1,k=C(this,y,"f").slice(0,K).replace(uQ,"").replace(/\n+$/,"");if(C(this,x,"f"))k=`[output truncated]
7
+ ${k}`;return{output:k,exitCode:J}}close(){if(C(this,F,"f"))return;w(this,F,!0,"f");let z=C(this,I,"f");w(this,I,null,"f"),z?.resolve(),C(this,M,"f").stdout.destroy(),C(this,M,"f").stderr.destroy(),C(this,M,"f").stdin.destroy();try{process.kill(-C(this,M,"f").pid,"SIGKILL")}catch{C(this,M,"f").kill("SIGKILL")}C(this,M,"f").unref()}}function gQ(z){let Q,$=Promise.resolve();return G({name:"bash",description:"Run a bash command in a persistent shell. State (cwd, env vars) persists across calls.",inputSchema:{type:"object",properties:{command:{type:"string",description:"The command to run"},restart:{type:"boolean",description:"Restart the persistent shell before running"},timeout_ms:{type:"integer",description:"Per-call timeout in milliseconds"}}},run:async({command:V,restart:Y,timeout_ms:X},q)=>{let K=$,Z=_();$=Z.promise;try{await K}catch{}try{if(Y)Q?.close(),Q=void 0;if(!V){if(Y)return"bash session restarted";throw new W("bash: command is required")}Q??(Q=new XQ(z.workdir,z.env));try{let{output:H,exitCode:J}=await Q.exec(V,{timeoutMs:X??qQ,signal:q?.signal});if(J!==0)throw new W(H||`exit ${J}`);return H}catch(H){if(H instanceof W)throw H;throw Q.close(),Q=void 0,new W(`bash: ${H instanceof Error?H.message:String(H)}`)}}finally{Z.resolve()}},close:()=>{Q?.close(),Q=void 0}})}function vQ(z){return G({name:"read",description:"Read a UTF-8 text file relative to the workdir.",inputSchema:{type:"object",properties:{file_path:{type:"string"},view_range:{type:"array",items:{type:"integer"},description:"[start_line, end_line] 1-indexed inclusive"}},required:["file_path"]},run:async({file_path:Q,view_range:$})=>{if(!Q)throw new W("read: file_path is required");let V=await u(z,Q),Y;try{let J=await D.stat(V);if(!J.isFile())throw new W(`read: ${Q} is not a regular file`);let k=KQ(z.maxFileBytes);if(k!==null&&J.size>k)throw new W(`read: ${Q} is ${J.size} bytes, exceeds ${k}-byte limit. Use bash (head/tail/sed) to read a slice.`);Y=await D.readFile(V,"utf8")}catch(J){if(J instanceof W)throw J;throw new W(`read: ${j(J,Q)}`)}if(!$)return Y;if($.length!==2)throw new W("read: view_range must be [start_line, end_line]");let[X,q]=$,K=Y.split(`
8
+ `),Z=Math.max(0,X-1),H=q>0?q:K.length;return K.slice(Z,H).join(`
9
+ `)}})}function fQ(z){return G({name:"write",description:"Write a UTF-8 text file relative to the workdir, creating parent directories as needed.",inputSchema:{type:"object",properties:{file_path:{type:"string"},content:{type:"string"}},required:["file_path","content"]},run:async({file_path:Q,content:$})=>{if(!Q)throw new W("write: file_path is required");let V=await u(z,Q);try{await D.mkdir(N.dirname(V),{recursive:!0,mode:B}),await m(V,$??"")}catch(Y){throw new W(`write: ${j(Y,Q)}`)}return`wrote ${Buffer.byteLength($??"")} bytes to ${Q}`}})}function SQ(z){return G({name:"edit",description:"Replace old_string with new_string in a file. old_string must be unique unless replace_all.",inputSchema:{type:"object",properties:{file_path:{type:"string"},old_string:{type:"string"},new_string:{type:"string"},replace_all:{type:"boolean"}},required:["file_path","old_string","new_string"]},run:async({file_path:Q,old_string:$,new_string:V,replace_all:Y})=>{if(!Q)throw new W("edit: file_path is required");if(!$)throw new W("edit: old_string is required");let X=await u(z,Q),q;try{let H=await D.stat(X);if(!H.isFile())throw new W(`edit: ${Q} is not a regular file`);let J=KQ(z.maxFileBytes);if(J!==null&&H.size>J)throw new W(`edit: ${Q} is ${H.size} bytes, exceeds ${J}-byte limit. Use bash (sed/awk) to edit a large file.`);q=await D.readFile(X,"utf8")}catch(H){if(H instanceof W)throw H;throw new W(`edit: ${j(H,Q)}`)}let K=q.split($).length-1;if(K===0)throw new W(`edit: old_string not found in ${Q}`);let Z;if(Y)Z=q.split($).join(V);else{if(K>1)throw new W(`edit: old_string appears ${K} times in ${Q} (must be unique)`);Z=q.replace($,()=>V)}try{await m(X,Z)}catch(H){throw new W(`edit: write: ${j(H,Q)}`)}return`edited ${Q} (${Y?K:1} replacement(s))`}})}function mQ(z){return G({name:"glob",description:"Match files under the workdir against a glob pattern. Results are mtime-sorted, newest first.",inputSchema:{type:"object",properties:{pattern:{type:"string"},path:{type:"string",description:"Directory to search in. Defaults to the workdir."}},required:["pattern"]},run:async({pattern:Q,path:$})=>{if(!Q)throw new W("glob: pattern is required");let V=N.resolve(z.workdir),Y=Q;if(N.isAbsolute(Q)){if(!z.unrestrictedPaths)throw new W("glob: absolute pattern not permitted");V=N.parse(Q).root,Y=N.relative(V,Q)}else if($)V=await u(z,$);if(!z.unrestrictedPaths&&Y.split(/[\\/]/).includes(".."))throw new W('glob: ".." is not permitted in the pattern');let X=z.unrestrictedPaths?V:await D.realpath(V).catch(()=>V),q=[];try{for await(let K of EQ(Y,{cwd:V,withFileTypes:!0,exclude:(Z)=>Z.name===".git"||Z.name==="node_modules"})){if(!K.isFile())continue;let Z=N.join(K.parentPath,K.name);if(!z.unrestrictedPaths){let J;try{J=await D.realpath(Z)}catch{continue}if(!_Q(X,J))continue}let H=0;try{H=(await D.stat(Z)).mtimeMs}catch{}q.push({path:Z,mtime:H})}}catch(K){throw new W(`glob: ${K instanceof Error?K.message:String(K)}`)}if(q.length===0)return"no matches";return q.sort((K,Z)=>Z.mtime-K.mtime),q.slice(0,PQ).map((K)=>K.path).join(`
10
+ `)}})}function dQ(z){return G({name:"grep",description:"Search file contents for a regex. Uses ripgrep if available, otherwise a built-in walker.",inputSchema:{type:"object",properties:{pattern:{type:"string"},path:{type:"string"}},required:["pattern"]},run:async({pattern:Q,path:$},V)=>{if(!Q)throw new W("grep: pattern is required");let Y=N.resolve(z.workdir);if($)Y=await u(z,$);let X=await iQ();return X?hQ(X,Q,Y,V?.signal):pQ(Q,Y,V?.signal)}})}function hQ(z,Q,$,V){return new Promise((Y,X)=>{let q=c.spawn(z,["-n","--no-heading","-e",Q,"--",$],{...V?{signal:V}:{}}),K="",Z="",H=!1;q.stdout.on("data",(J)=>{if(H)return;if(K+=J,K.length>P)H=!0,K=K.slice(0,P),q.kill("SIGKILL")}),q.stderr.on("data",(J)=>Z+=J),q.on("close",(J)=>{if(V?.aborted)return X(new W("grep: aborted"));if(H)return Y(K+`
11
+ [output truncated at ${P} bytes]`);if(J===0)return Y(K);if(J===1)return Y("no matches");X(new W(`grep: rg failed: ${Z||`exit ${J}`}`))}),q.on("error",(J)=>{if(V?.aborted)return X(new W("grep: aborted"));X(new W(`grep: rg failed: ${J.message}`))})})}async function pQ(z,Q,$){let V;try{V=new RegExp(z)}catch(Z){throw new W(`grep: invalid regex: ${Z instanceof Error?Z.message:String(Z)}`)}let Y=[],X=P,q=(Z)=>{if(X-=Z.length+1,X<0)return Y.push(`[output truncated at ${P} bytes]`),!1;return Y.push(Z),!0};if((await D.stat(Q).catch(()=>null))?.isFile())await zQ(Q,V,q);else await nQ(Q,"",(Z)=>zQ(N.join(Q,Z),V,q),$);if($?.aborted)throw new W("grep: aborted");if(Y.length===0)return"no matches";return Y.join(`
12
+ `)}async function zQ(z,Q,$){let V=g.createReadStream(z,{encoding:"utf8"}),Y=YQ.createInterface({input:V,crlfDelay:1/0}),X=0;try{for await(let q of Y){if(X++,q.length>xQ)continue;if(Q.test(q)&&!$(`${z}:${X}:${q}`))return!1}}catch{}finally{V.destroy()}return!0}function _Q(z,Q){let $=N.relative(z,Q);return $===""||!$.startsWith(".."+N.sep)&&$!==".."&&!N.isAbsolute($)}async function nQ(z,Q,$,V){let Y=lQ;async function X(q,K){if(K>cQ)return!0;if(V?.aborted)return!1;let Z;try{Z=await D.readdir(N.join(z,q),{withFileTypes:!0})}catch{return!0}for(let H of Z){if(H.name===".git"||H.name==="node_modules")continue;if(Y--<=0)return!1;if(V?.aborted)return!1;let J=q?N.join(q,H.name):H.name;if(H.isDirectory()){if(!await X(J,K+1))return!1}else if(H.isFile()){if(await $(J)===!1)return!1}}return!0}await X(Q,0)}async function iQ(){let z=(process.env.PATH??"").split(N.delimiter);for(let Q of z){let $=N.join(Q,"rg");try{return await D.access($,g.constants.X_OK),$}catch{}}return null}var T,M,y,x,F,I,p,$Q=102400,qQ=120000,jQ=262144,P=102400,xQ=2000,PQ=200,uQ,EQ,cQ=40,lQ=50000;var aQ=b(()=>{bQ();r();i();n();BQ();d();QQ();uQ=/\x1b\[[0-9;?]*[ -/]*[@-~]/g,EQ=D.glob;M=new WeakMap,y=new WeakMap,x=new WeakMap,F=new WeakMap,I=new WeakMap,T=new WeakSet,p=function(Q){if(w(this,y,C(this,y,"f")+Q,"f"),C(this,y,"f").length>$Q)w(this,y,C(this,y,"f").slice(C(this,y,"f").length-$Q),"f"),w(this,x,!0,"f");if(C(this,I,"f")&&C(this,y,"f").indexOf(C(this,I,"f").sentinel)>=0){let $=C(this,I,"f");w(this,I,null,"f"),$.resolve()}}});aQ();export{AQ as setupSkills,s as resolveSkillVersion,u as resolvePath,e as extractSkillArchive,fQ as betaWriteTool,vQ as betaReadTool,dQ as betaGrepTool,mQ as betaGlobTool,SQ as betaEditTool,gQ as betaBashTool,O0 as betaAgentToolset20260401,XQ as BashSession};
@@ -0,0 +1 @@
1
+ import{hja as a,ija as b,jja as c,kja as d,lja as e,mja as f,nja as g,oja as h,pja as i,qja as j}from"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-r930b2z3.mjs";j();export{i as getOauthConfig,a as fileSuffixForOauthConfig,d as OAUTH_BETA_HEADER,h as MCP_CLIENT_METADATA_URL,e as CONSOLE_OAUTH_SCOPES,c as CLAUDE_AI_PROFILE_SCOPE,f as CLAUDE_AI_OAUTH_SCOPES,b as CLAUDE_AI_INFERENCE_SCOPE,g as ALL_OAUTH_SCOPES};
@@ -0,0 +1,14 @@
1
+ import{Ai as WZ,yi as QZ,zi as W0}from"./cli-1.1.14-xejgqxmy.mjs";import{Di as l$,Fi as J1}from"./cli-1.1.14-t82ydhr6.mjs";import{$Q as gZ,$q as D0,Bk as _$,Ck as e0,Hr as Y1,Iq as J0,Ir as n$,Jr as z1,Kr as X$,Lr as EZ,Mr as y$,Nr as z0,Or as K0,Pr as a$,Qr as j0,Rr as X0,Sr as o$,Tr as K1,YQ as H0,ZQ as TZ,_Q as r$,fr as D1,gj as U$,gr as Z$,hj as tZ,ij as a,jj as m$,kj as d$,lj as p$,mj as eZ,nj as R$,nr as hZ,oq as Z0,pq as Z1,qq as c$,rq as i$,sq as f$,tq as Q1,yq as e$,yr as Y0,zq as O0}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import{C2 as $1,y2 as $0}from"./cli-1.1.14-yfknrxme.mjs";import{E2 as M$,I2 as SZ}from"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import{Z3 as Q0,_3 as W1}from"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import{F4 as sZ,L4 as t0}from"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import{a9 as aZ,b9 as oZ,c9 as rZ,i9 as u$,j9 as bZ,k9 as kZ}from"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{Cfa as dZ,Ffa as pZ,Gfa as r0,Mfa as k$,Nfa as cZ,Ofa as iZ,Qfa as h$,Rfa as lZ,Vfa as nZ,Zfa as s0,aga as Y$,dga as ZZ,qfa as $Z,rfa as w0}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import{uka as T,xka as O$}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import{fla as e,hla as D$,nla as P$}from"./cli-1.1.14-83ng5cjk.mjs";import{Sqa as a0,Tma as b$}from"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import{Lra as o0,vra as V$}from"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Esa as y}from"./cli-1.1.14-r930b2z3.mjs";function J$($,Z=!0){let Q=e$($);if(Q.type==="object"&&Q.properties){let W=Q.properties,J=Array.isArray(Q.required)?Q.required:[],D={};for(let[z,X]of Object.entries(W))D[z]=J$(X,Z);if(Q.properties=D,Z)Q.required=J.filter((z)=>(z in D)),Q.additionalProperties=!1;else Q.required=J.filter((z)=>(z in D))}if("items"in Q)if(Array.isArray(Q.items))Q.items=Q.items.map((W)=>J$(W,Z));else Q.items=J$(Q.items,Z);for(let W of["anyOf","oneOf","allOf"])if(W in Q&&Array.isArray(Q[W]))Q[W]=Q[W].map((J)=>J$(J,Z));return Q}function A$($){let Q=!a()&&!e(process.env.CLAUDIN_DISABLE_STRICT_TOOLS);return $.filter((W)=>W.name!=="ToolSearchTool").filter((W)=>!W.type||W.type==="function"||W.type==="custom").map((W)=>{let J=W.description??"";if(W.input_schema){let X=t$.get(W.input_schema);if(X&&X.name===W.name&&X.description===J&&X.strict===Q)return X.result}N0.computes++;let D={...W.input_schema??{type:"object",properties:{}}};if(W.name==="Agent"&&D.properties){let X=D.properties;if(!Array.isArray(D.required))D.required=[];let Y=D.required;for(let K of["message","subagent_type"])if(K in X&&!Y.includes(K))Y.push(K)}let z={type:"function",function:{name:W.name,description:J,parameters:J$(D,Q)}};if(W.input_schema)t$.set(W.input_schema,{name:W.name,description:J,strict:Q,result:z});return z})}var t$,N0;var B$=y(()=>{P$();O0();R$();t$=new WeakMap,N0={computes:0}});function L0(){if(D$())return;try{return $Z().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function JZ(){if(Y$()?.transport!=="gemini")return;let $=QZ(process.env);if($&&$!=="access-token")return;if(D$())return;L0()}var DZ=y(()=>{ZZ();P$();WZ();w0()});import{randomUUID as M0}from"crypto";function U0(){return M0()}function YZ($,Z){let Q=U0(),W=Date.now();return T(JSON.stringify({type:"api_call_start",correlationId:Q,provider:$,model:Z,timestamp:W}),{level:"debug"}),{correlationId:Q,startTime:W}}function zZ($,Z,Q,W,J,D,z,X,Y,K){let V=Date.now()-Z,F={type:W==="error"?"api_call_error":"api_call_end",correlationId:$,model:Q,duration_ms:V,status:W,tokens_in:J,tokens_out:D,streaming:z};if(X!==void 0)F.first_token_ms=X;if(Y!==void 0)F.total_chunks=Y;if(K)F.error=K;T(JSON.stringify(F),{level:W==="error"?"error":"debug"})}var KZ=y(()=>{O$()});function jZ($){return $.trim().length===0}function _0($){return/^\s*\{\s*['"]?\w+['"]?\s*:/.test($)}function f0($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function I0($){return VZ[$]??null}function FZ($){return $ in VZ}function XZ($,Z){let Q=I0($);if(!Q)return null;return{[Q]:Z}}function $$($,Z){if(Z===void 0)return{};try{let Q=JSON.parse(Z);if(f0(Q))return Q;if(typeof Q==="string"&&!jZ(Q))return XZ($,Q)??Q;return Q}catch{if(jZ(Z)||_0(Z))return{};return XZ($,Z)??{}}}var VZ;var v$=y(()=>{VZ={Bash:"command",Read:"file_path",Write:"file_path",Edit:"file_path",Glob:"pattern",Grep:"pattern"}});function z$($){if(!$)return{};let Z={};for(let[Q,W]of Object.entries($)){let J=Q.toLowerCase();if(J.startsWith("x-anthropic")||J.startsWith("anthropic-")||J.startsWith("x-claude")||J==="x-app"||J==="x-client-app"||J==="authorization"||J==="x-api-key"||J==="api-key")continue;Z[Q]=W}return Z}function GZ($){let Z=$.headers.get("retry-after");return Z?` (Retry-After: ${Z})`:""}var HZ=()=>{};function PZ($){return new Promise((Z)=>setTimeout(Z,$))}function K$(){return`msg_${crypto.randomUUID().replace(/-/g,"")}`}var q$=()=>{};function R0($){let Z=OZ.get($);if(Z!==void 0)return Z;wZ.toolResultComputes++;let Q=B0($.content,$.is_error);return OZ.set($,Q),Q}function A0($){if(typeof $==="string")return $;if($===null||$===void 0)return"{}";if(typeof $!=="object")return JSON.stringify($);let Z=NZ.get($);if(Z!==void 0)return Z;wZ.toolUseArgumentsComputes++;let Q=JSON.stringify($);return NZ.set($,Q),Q}function S$($){if(!$)return"";if(typeof $==="string")return $;if(Array.isArray($))return $.map((Z)=>Z.type==="text"?Z.text??"":"").join(`
2
+
3
+ `);return String($)}function B0($,Z){if(typeof $==="string")return Z?`Error: ${$}`:$;if(!Array.isArray($)){let J=JSON.stringify($??"");return Z?`Error: ${J}`:J}let Q=[];for(let J of $){if(J?.type==="text"&&typeof J.text==="string"){Q.push({type:"text",text:J.text});continue}if(J?.type==="image"){let D=J.source;if(D?.type==="url"&&D.url)Q.push({type:"image_url",image_url:{url:D.url}});else if(D?.type==="base64"&&D.media_type&&D.data)Q.push({type:"image_url",image_url:{url:`data:${D.media_type};base64,${D.data}`}});continue}if(typeof J?.text==="string")Q.push({type:"text",text:J.text})}if(Q.length===0)return"";if(Q.length===1&&Q[0].type==="text"){let J=Q[0].text??"";return Z?`Error: ${J}`:J}if(Q.every((J)=>J.type==="text")){let J=Q.map((D)=>D.text??"").join(`
4
+
5
+ `);return Z?`Error: ${J}`:J}if(Z&&Q[0]?.type==="text")Q[0]={...Q[0],text:`Error: ${Q[0].text??""}`};else if(Z)Q.unshift({type:"text",text:"Error:"});return Q}function N$($){if(typeof $==="string")return $;if(!Array.isArray($))return String($??"");let Z=[];for(let W of $)switch(W.type){case"text":Z.push({type:"text",text:W.text??""});break;case"image":{let J=W.source;if(J?.type==="base64")Z.push({type:"image_url",image_url:{url:`data:${J.media_type};base64,${J.data}`}});else if(J?.type==="url")Z.push({type:"image_url",image_url:{url:J.url}});break}case"tool_use":break;case"tool_result":break;case"thinking":case"redacted_thinking":break;default:if(W.text)Z.push({type:"text",text:W.text})}if(Z.length===0)return"";if(Z.length===1&&Z[0].type==="text")return Z[0].text??"";if(Z.every((W)=>W.type==="text"))return Z.map((W)=>W.text??"").join(`
6
+
7
+ `);return Z}function LZ($,Z,Q){let W=Q?.preserveReasoningContent===!0,J=[],D=new Set,z=new Set;for(let K of $){let F=(K.message??K).content;if(Array.isArray(F)){for(let w of F)if(w.type==="tool_result"&&w.tool_use_id)z.add(w.tool_use_id)}}let X=S$(Z);if(X)J.push({role:"system",content:X});for(let K=0;K<$.length;K++){let V=$[K],F=K===$.length-1,w=V.message??V,M=w.role??V.role,H=w.content;if(M==="user")if(Array.isArray(H)){let L=H.filter((O)=>O.type==="tool_result"),_=H.filter((O)=>O.type!=="tool_result");for(let O of L){let R=O.tool_use_id??"unknown";if(D.has(R))J.push({role:"tool",tool_call_id:R,content:R0(O)});else T(`Dropping orphan tool_result for ID: ${R} to prevent API error`)}if(_.length>0)J.push({role:"user",content:N$(_)})}else J.push({role:"user",content:N$(H)});else if(M==="assistant")if(Array.isArray(H)){let L=H.filter((P)=>P.type==="tool_use"),_=H.find((P)=>P.type==="thinking"),O=H.filter((P)=>P.type!=="tool_use"&&P.type!=="thinking"),R={role:"assistant",content:(()=>{let P=N$(O);return typeof P==="string"?P:Array.isArray(P)?P.map((f)=>f.text??"").join(""):""})()};if(W){let P=_?.thinking;if(typeof P==="string"&&P.trim().length>0)R.reasoning_content=P;else R.reasoning_content=""}if(L.length>0){let P=L.map((f)=>{let g=f.id??`call_${crypto.randomUUID().replace(/-/g,"")}`;if(!z.has(g)&&!F)return null;D.add(g);let b={id:g,type:"function",function:{name:f.name??"unknown",arguments:A0(f.input)}};if(f.extra_content)b.extra_content={...f.extra_content};if(a()){let l=f.signature??_?.signature,o=b.extra_content?.google??{};b.extra_content={...b.extra_content,google:{...o,thought_signature:l??"skip_thought_signature_validator"}}}return b}).filter((f)=>f!==null);if(P.length>0)R.tool_calls=P}if(R.content||R.tool_calls?.length)J.push(R)}else{let L={role:"assistant",content:(()=>{let _=N$(H);return typeof _==="string"?_:Array.isArray(_)?_.map((O)=>O.text??"").join(""):""})()};if(L.content)J.push(L)}}let Y=[];for(let K of J){let V=Y[Y.length-1];if(V&&V.role==="tool"&&K.role==="user")Y.push({role:"assistant",content:"[Tool execution interrupted by user]"});let F=Y[Y.length-1];if(F&&F.role===K.role&&K.role!=="tool"&&K.role!=="system"){let w=F.content,M=K.content;if(typeof w==="string"&&typeof M==="string")F.content=w+(w&&M?`
8
+ `:"")+M;else{let H=(L)=>{if(!L)return[];if(typeof L==="string")return L?[{type:"text",text:L}]:[];return L};F.content=[...H(w),...H(M)]}if(K.tool_calls?.length)F.tool_calls=[...F.tool_calls??[],...K.tool_calls]}else Y.push(K)}return Y}var OZ,NZ,wZ;var MZ=y(()=>{O$();R$();OZ=new WeakMap,NZ=new WeakMap,wZ={toolResultComputes:0,toolUseArgumentsComputes:0}});function _Z($){for(let Z of UZ){let Q=$[Z];if(typeof Q==="string"&&Q!=="")return Q}return null}function fZ($){for(let Z of UZ){let Q=$[Z];if(typeof Q==="string"&&Q!=="")return Q}return null}var UZ;var E$=y(()=>{UZ=["reasoning_content","reasoning","reasoning_text","thinking"]});function IZ(){return{chunkCount:0,firstTokenTime:null,startTime:Date.now()}}function x$($,Z){if($.firstTokenTime===null)$.firstTokenTime=Date.now();$.chunkCount++}function RZ($){let Z=Date.now(),Q=$.firstTokenTime?Z-$.firstTokenTime:null,W=Z-$.startTime;return{totalChunks:$.chunkCount,firstTokenMs:Q,durationMs:W}}var AZ=()=>{};function j$($){let Z=$.trim();if(Z==="")return"";try{return JSON.parse(Z)}catch{return $}}function m0($,Z){let Q=0,W=!1,J=!1;for(let D=Z;D<$.length;D++){let z=$[D];if(J){J=!1;continue}if(z==="\\"&&W){J=!0;continue}if(z==='"'){W=!W;continue}if(W)continue;if(z==="{")Q++;else if(z==="}"){if(Q--,Q===0)return $.slice(Z,D+1)}}return null}function d0($,Z){let Q=[...Z].sort((D,z)=>D[0]-z[0]),W="",J=0;for(let[D,z]of Q)W+=$.slice(J,D),J=z;return W+$.slice(J)}function w$($){return $.split("?",1)[0]?.toLowerCase()==="tencent/hy3"}function p0($){let Z={},Q=$.trim(),W=Q.split(/[\n<]/,1)[0]?.trim().replace(/[\s`*_]+$/,""),J=!1;for(let D of $.matchAll(b0)){let z=D[1];if(z)J=!0,Z[z]=j$(D[2]??"")}for(let D of $.matchAll(k0)){let z=D[1];if(z)J=!0,Z[z]=j$(D[2]??"")}for(let D of $.matchAll(h0)){let z=D[1]?.trim();if(z)J=!0,Z[z]=j$(D[2]??"")}return{name:W&&u0.test(W)&&(J||Q===W)?W:void 0,args:Z}}function vZ($,Z){let Q=0,W=Z?BZ:[C$];for(let J of W){let D=Math.min($.length,J.length-1);for(let z=D;z>0;z--)if(J.startsWith($.slice($.length-z))){Q=Math.max(Q,z);break}}return Q}function qZ($,Z){return(Z?BZ:[C$]).reduce((W,J)=>{let D=$.indexOf(J);return D===-1?W:W===-1?D:Math.min(W,D)},-1)}function c0($,Z=!1){let Q=[],W=new Set,J=[],D=(Y,K)=>{let V=`${Y}:${JSON.stringify(K)}`;if(W.has(V))return;W.add(V),Q.push({id:`xml_tc_${++v0}`,name:Y,arguments:K})},z=Z?[...$.matchAll(y0)].map((Y)=>({range:[Y.index,Y.index+Y[0].length],parsed:p0(Y[1]??"")})):[],X=Z?[...$.matchAll(x0)].filter((Y)=>{let K=[Y.index,Y.index+Y[0].length];return z.some((V)=>V.parsed.name&&K[0]<=V.range[0]&&V.range[1]<=K[1])}).map((Y)=>[Y.index,Y.index+Y[0].length]):[];for(let Y of z){let{name:K,args:V}=Y.parsed;if(!K)continue;let F=Y.range;if(!X.some((w)=>w[0]<=F[0]&&F[1]<=w[1]))J.push(F);D(K,V)}J.push(...X);for(let Y of $.matchAll(E0)){let K=Y[1]??"",V=[Y.index,Y.index+Y[0].length],F,w={},M=K.match(C0);if(M){F=M[1];for(let H of K.matchAll(T0)){let L=H[1];if(L)w[L]=j$(H[2]??"")}}else{let H=K.trim(),L=[...K.matchAll(g0)];if(L.length>0&&!H.startsWith("{")){let _=H.split(/[\n<]/,1)[0]?.trim();if(_)F=_;for(let O of L){let R=(O[1]??"").trim();if(R)w[R]=j$(O[2]??"")}}else{let _=H.indexOf("{");if(_!==-1){let O=m0(H,_);if(O)try{let R=JSON.parse(O);if(typeof R.name==="string"){F=R.name;let P=R.arguments;if(typeof P==="string")try{Object.assign(w,JSON.parse(P))}catch{}else if(P&&typeof P==="object")Object.assign(w,P)}}catch{}}}}if(!F)continue;J.push(V),D(F,w)}return{calls:Q,toolCallRanges:J}}function L$($,Z={}){let{calls:Q,toolCallRanges:W}=c0($,Z.allowHy3??!1),J=Z.toolNames?Q.filter((z)=>Z.toolNames.has(z.name)):Q;if(J.length===0)return null;return{visibleText:X$(d0($,W).trim()).trim(),calls:J}}var v0=0,C$="<tool_call>",q0="<tool_calls:",S0="<tool_call:",BZ,E0,x0,y0,C0,T0,g0,b0,k0,h0,u0;var T$=y(()=>{y$();BZ=[C$,q0,S0],E0=/<tool_call>([\s\S]*?)(?:<\/tool_call>|$)/g,x0=/<tool_calls:[^>\s]+>([\s\S]*?)(?:<\/tool_calls(?::[^>\s]+)?>|$)/g,y0=/<tool_call:[^>\s]+>([\s\S]*?)(?:<\/tool_call(?::[^>\s]+)?>|$)/g,C0=/<function=([^>\s]+)\s*>/,T0=/<parameter=([^>\s]+)\s*>([\s\S]*?)<\/parameter>/g,g0=/<arg_key>([\s\S]*?)<\/arg_key>\s*<arg_value>([\s\S]*?)<\/arg_value>/g,b0=/<parameter\s+name=["']([^"'>\s]+)["']\s*>([\s\S]*?)<\/parameter>/g,k0=/^\s*([A-Za-z_][\w-]*)\s*:\s*(.+?)\s*$/gm,h0=/<arg_key(?::[^>\s]+)?>([\s\S]*?)<\/arg_key(?::[^>\s]+)?>\s*<arg_value(?::[^>\s]+)?>([\s\S]*?)<\/arg_value(?::[^>\s]+)?>/g,u0=/^[A-Za-z_][\w.-]*$/});function i0($){if(!$)return;return M$($)}function l0($){try{let Z=JSON.parse($);return Z&&typeof Z==="object"&&!Array.isArray(Z)?$:null}catch{for(let Z of xZ)try{let Q=$+Z,W=JSON.parse(Q);if(W&&typeof W==="object"&&!Array.isArray(W))return Q}catch{}return null}}async function*yZ($,Z,Q,W,J){let D=K$(),z=0,X=new Map,Y=!1,K=!1,V=!1,F=EZ(),w=null,M=!1,H=!1,L=0,_=IZ(),O=!!J&&J.size>0&&!e(process.env.CLAUDIN_DISABLE_XML_TOOL_CALLS),R=w$(Z),P=null,f="",g=null;yield{type:"message_start",message:{id:D,type:"message",role:"assistant",content:[],model:Z,stop_reason:null,stop_sequence:null,usage:{input_tokens:0,output_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0}}};let b=$.body?.getReader();if(!b)return;let l=b,o=new TextDecoder,r="",p=120000,k=Date.now();async function F$(){return new Promise((I,B)=>{let S=setTimeout(()=>{let U=Math.round((Date.now()-k)/1000);B(Error(`OpenAI/Gemini SSE stream idle for ${U}s (limit: ${p/1000}s). Connection likely dropped.`))},p),A;if(Q)A=()=>{clearTimeout(S)},Q.addEventListener("abort",A,{once:!0});l.read().then((U)=>{if(clearTimeout(S),Q&&A)Q.removeEventListener("abort",A);if(U.value)k=Date.now();I(U)},(U)=>{if(clearTimeout(S),Q&&A)Q.removeEventListener("abort",A);B(U)})})}let n=async function*(){if(!Y)return;let I=F.flush();if(I)yield{type:"content_block_delta",index:z,delta:{type:"text_delta",text:I}};yield{type:"content_block_stop",index:z},z++,Y=!1},h=async function*(I){if(!I)return;if(K&&!V)yield{type:"content_block_stop",index:z},z++,V=!0;if(!Y)yield{type:"content_block_start",index:z,content_block:{type:"text",text:""}},Y=!0;L+=I.length,yield{type:"content_block_delta",index:z,delta:{type:"text_delta",text:I}}},W$=async function*(I){if(!I)return;if(P!==null){P+=I;return}let B=f+I,S=qZ(B,R);if(S!==-1){let A=B.slice(0,S);if(A)yield*h(A);f="",P=B.slice(S)}else{let A=vZ(B,R),U=A>0?B.slice(0,B.length-A):B;if(f=A>0?B.slice(B.length-A):"",U)yield*h(U)}},G$=async function*(){if(O){let I=F.flush();if(I)yield*W$(I)}if(P!==null){let I=P;P=null;let B=L$(I,{allowHy3:R,toolNames:J});if(B){if(B.visibleText)yield*h(B.visibleText);if(Y)yield*n();for(let S of B.calls){let A=z;yield{type:"content_block_start",index:A,content_block:{type:"tool_use",id:S.id,name:S.name,input:{}}},z++,yield{type:"content_block_delta",index:A,delta:{type:"input_json_delta",partial_json:JSON.stringify($$(S.name,JSON.stringify(S.arguments)))}},yield{type:"content_block_stop",index:A}}g="tool_use"}else yield*h(I)}else if(f)yield*h(f),f=""};try{while(!0){let{done:I,value:B}=await F$();if(I)break;r+=o.decode(B,{stream:!0});let S=r.split(`
9
+ `);r=S.pop()??"";for(let A of S){let U=A.trim();if(!U||U==="data: [DONE]")continue;if(!U.startsWith("data: "))continue;let t;try{t=JSON.parse(U.slice(6))}catch{continue}let c=i0(t.usage);for(let u of t.choices??[]){let d=u.delta,G=_Z(d);if(G!=null){if(!K)yield{type:"content_block_start",index:z,content_block:{type:"thinking",thinking:""}},K=!0;yield{type:"content_block_delta",index:z,delta:{type:"thinking_delta",thinking:G}}}if(d.content!=null&&d.content!==""){let j=F.feed(d.content);if(x$(_,d.content),j)if(O)yield*W$(j);else yield*h(j)}if(d.tool_calls){if(P!==null)yield*h(P),P=null;if(f)yield*h(f),f="";for(let j of d.tool_calls)if(j.id&&j.function?.name){if(K&&!V)yield{type:"content_block_stop",index:z},z++,V=!0;if(Y)yield*n();let N=z,v=j.function.arguments??"",E=FZ(j.function.name);if(x$(_,j.function.arguments??""),X.set(j.index,{id:j.id,name:j.function.name,index:N,jsonBuffer:v,normalizeAtStop:E}),yield{type:"content_block_start",index:N,content_block:{type:"tool_use",id:j.id,name:j.function.name,input:{},...j.extra_content?{extra_content:j.extra_content}:{},...j.extra_content?.google?.thought_signature?{signature:(j.extra_content?.google).thought_signature}:{}}},z++,j.function.arguments&&!E)L+=j.function.arguments.length,yield{type:"content_block_delta",index:N,delta:{type:"input_json_delta",partial_json:j.function.arguments}}}else if(j.function?.arguments){let N=X.get(j.index);if(N){if(j.function.arguments)L+=j.function.arguments.length,N.jsonBuffer+=j.function.arguments;if(N.normalizeAtStop)continue;yield{type:"content_block_delta",index:N.index,delta:{type:"input_json_delta",partial_json:j.function.arguments}}}}}if(u.finish_reason&&!H){if(H=!0,K&&!V)yield{type:"content_block_stop",index:z},z++,V=!0;if(yield*G$(),g)u.finish_reason="tool_calls";if(Y)yield*n();for(let[,N]of X){if(N.normalizeAtStop){let E;if(u.finish_reason==="length")E=N.jsonBuffer;else{let C=l0(N.jsonBuffer);if(C)E=C;else E=JSON.stringify($$(N.name,N.jsonBuffer))}yield{type:"content_block_delta",index:N.index,delta:{type:"input_json_delta",partial_json:E}},yield{type:"content_block_stop",index:N.index};continue}let v="";if(N.jsonBuffer)try{JSON.parse(N.jsonBuffer)}catch{let E=N.jsonBuffer.trimEnd();for(let C of xZ)try{JSON.parse(E+C),v=C;break}catch{}}if(v)yield{type:"content_block_delta",index:N.index,delta:{type:"input_json_delta",partial_json:v}};yield{type:"content_block_stop",index:N.index}}let j=u.finish_reason==="tool_calls"?"tool_use":u.finish_reason==="length"?"max_tokens":"end_turn";if(u.finish_reason==="content_filter"||u.finish_reason==="safety"){if(!Y)yield{type:"content_block_start",index:z,content_block:{type:"text",text:""}},Y=!0;yield{type:"content_block_delta",index:z,delta:{type:"text_delta",text:`
10
+
11
+ [Content blocked by provider safety filter]`}}}if(w=j,yield{type:"message_delta",delta:{stop_reason:j,stop_sequence:null},...c?{usage:c}:{}},c)M=!0}}if(!M&&c&&(t.choices?.length??0)===0&&w!==null)yield{type:"message_delta",delta:{stop_reason:w,stop_sequence:null},usage:c},M=!0}}}finally{l.releaseLock()}if(!H&&(P!==null||f)){if(K&&!V)yield{type:"content_block_stop",index:z},z++,V=!0;if(yield*G$(),Y)yield*n();w=g??"end_turn",yield{type:"message_delta",delta:{stop_reason:w,stop_sequence:null}}}let s=RZ(_);if(s.totalChunks>0)T(JSON.stringify({type:"stream_stats",model:Z,total_chunks:s.totalChunks,first_token_ms:s.firstTokenMs,duration_ms:s.durationMs}),{level:"debug"});if(!M&&w!==null&&(L>0||(W??0)>0)){let I=TZ(Z);yield{type:"message_delta",delta:{stop_reason:w,stop_sequence:null},usage:{input_tokens:W??0,output_tokens:Math.ceil(L/I),cache_creation_input_tokens:0,cache_read_input_tokens:0}}}yield{type:"message_stop"}}var xZ,g$;var CZ=y(()=>{O$();AZ();SZ();y$();v$();gZ();P$();q$();E$();T$();xZ=["}",'"}',"]}",'"]}',"}}",'"}}',"]}}",'"]}}','"]}]}',"}]}"];g$=class g${generator;controller=new AbortController;constructor($){this.generator=$}async*[Symbol.asyncIterator](){yield*this.generator}}});function n0($){let Z=$.toLowerCase();return bZ.some((Q)=>Z.includes(Q))}function Q$($){try{let Z=new URL($);if(Z.username)Z.username="redacted";if(Z.password)Z.password="redacted";for(let W of Z.searchParams.keys())if(n0(W))Z.searchParams.set(W,"redacted");let Q=Z.toString();return Z$(Q,process.env)??Q}catch{return Z$($,process.env)??$}}var uZ=y(()=>{hZ();kZ()});function mZ($){if(!$)return!1;try{let Z=new URL($).host;return Z==="api.openai.com"||Z.endsWith(".api.openai.com")}catch{return!1}}class V0{defaultHeaders;reasoningEffort;constructor($,Z){this.defaultHeaders=z$($),this.reasoningEffort=Z}create($,Z){let Q=this,W,J=(async()=>{let D=D0($.model,$.effortValue),z=D==="low"||D==="medium"||D==="high"||D==="xhigh"||D==="max"?D:Q.reasoningEffort,X=lZ({model:$.model,reasoningEffortOverride:z}),Y=await Q._doRequest(X,$,Z);W=Y;let K=new Set(($.tools??[]).map((M)=>M.name).filter((M)=>typeof M==="string"));if($.stream){let M=Y.url?.includes("/responses"),H=0;for(let L of $.messages){let _=L,O=_.message?_.message.content:_.content;if(O!=null&&typeof O!=="string"&&!Array.isArray(O))continue;H+=r$(O??void 0)}if(typeof $.system==="string")H+=H0($.system);else if(Array.isArray($.system))H+=r$($.system);return new g$(X.transport==="codex_responses"||M?X0(Y,X.resolvedModel,Z?.signal):yZ(Y,X.resolvedModel,Z?.signal,H,K))}if(X.transport==="codex_responses"){let M=await j0(Y,Z?.signal);return o$(M,X.resolvedModel)}if(Y.url?.includes("/responses")||X.transport==="chat_completions"&&U$()){if((Y.headers.get("content-type")??"").includes("application/json")){let H=await Y.json();if(H&&typeof H==="object"&&(("output"in H)||("incomplete_details"in H)))return o$(H,X.resolvedModel);return Q._convertNonStreamingResponse(H,X.resolvedModel,K)}}if((Y.headers.get("content-type")??"").includes("application/json")){let M=await Y.json();return Q._convertNonStreamingResponse(M,X.resolvedModel,K)}let w=await Y.text().catch(()=>"");throw V$.generate(Y.status,void 0,`OpenAI API error ${Y.status}: unexpected response: ${w.slice(0,500)}`,Y.headers)})();return J.withResponse=async()=>{return{data:await J,response:W??new Response,request_id:W?.headers.get("x-request-id")??K$()}},J}async _doRequest($,Z,Q){let W=h$($.baseUrl),J=U$();if(J&&$.transport==="codex_responses"){let z=Y$(),X=z?.extras?.githubToken??z?.apiKey??"";if(!X)throw Error("GitHub Copilot auth is required. Run /provider and choose GitHub Copilot.");return a$({request:$,credentials:{apiKey:X,source:"env"},params:Z,defaultHeaders:{...this.defaultHeaders,...z$(Q?.headers),...u$,...l$(Z.messages)},signal:Q?.signal})}if($.transport==="codex_responses"&&!J){let z=await pZ().catch(async(Y)=>{return T(`[codex] access token refresh failed before request: ${Y instanceof Error?Y.message:String(Y)}`,{level:"warn"}),{refreshed:!1,credentials:await dZ()}}),X=nZ({storedCredentials:z.credentials});if(!X.apiKey){let Y=D$()?"":", choose Codex OAuth in /provider",K=X.authPath?`${Y} or place a Codex auth.json at ${X.authPath}`:Y,V=Z$($.requestedModel,process.env)??"the requested model";throw Error(`Codex auth is required for ${V}. Set CODEX_API_KEY${K}.`)}if(!X.accountId)throw Error("Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth, the Codex CLI, or set CHATGPT_ACCOUNT_ID/CODEX_ACCOUNT_ID.");return a$({request:$,credentials:X,params:Z,defaultHeaders:{...this.defaultHeaders,...z$(Q?.headers)},signal:Q?.signal})}return this._doOpenAIRequest($,Z,Q)}async _doOpenAIRequest($,Z,Q){let W=Y0(Z.messages),J=LZ(W,Z.system,{preserveReasoningContent:m$($.baseUrl)||p$($.baseUrl)||d$($.baseUrl)}),D={model:$.resolvedModel,messages:J,stream:Z.stream??!1,store:!1,...mZ($.baseUrl)&&{prompt_cache_key:b$(),prompt_cache_retention:"24h"}},z=typeof Z.max_tokens==="number"&&Z.max_tokens>0?Z.max_tokens:void 0,X=typeof Z.max_completion_tokens==="number"?Z.max_completion_tokens:void 0;if(z!==void 0)D.max_completion_tokens=z;else if(X!==void 0)D.max_completion_tokens=X;if(Z.stream&&!k$($.baseUrl))D.stream_options={include_usage:!0};let Y=U$(),K=tZ(),V=k$($.baseUrl),F=h$($.baseUrl),w=Y&&F==="copilot",M=Y&&(F==="models"||F==="custom"),H=m$($.baseUrl),L=p$($.baseUrl),_=d$($.baseUrl);if((Y||K||V||H||L||_)&&D.max_completion_tokens!==void 0)D.max_tokens=D.max_completion_tokens,delete D.max_completion_tokens;if(K||a()||H||L||_)delete D.store;if(Z.temperature!==void 0)D.temperature=Z.temperature;if(Z.top_p!==void 0)D.top_p=Z.top_p;if(L){let G=Z.thinking?.type,j=G==="disabled"?"disabled":G==="enabled"||G==="adaptive"?"enabled":void 0;if(j)D.thinking={type:j};if(j==="enabled"){let N=$.reasoning?.effort;if(N)D.reasoning_effort=eZ(N)}}if(H){let G=$.reasoning?.effort;if(G&&J0($.resolvedModel))D.thinking={type:"enabled",effort:G,keep:"all"}}if(Z.tools&&Z.tools.length>0){let G=A$(Z.tools);if(G.length>0){if(D.tools=G,Z.tool_choice){let j=Z.tool_choice;if(j.type==="auto")D.tool_choice="auto";else if(j.type==="tool"&&j.name)D.tool_choice={type:"function",function:{name:j.name}};else if(j.type==="any")D.tool_choice="required";else if(j.type==="none")D.tool_choice="none"}}}let O={"Content-Type":"application/json",...this.defaultHeaders,...z$(Q?.headers),"User-Agent":Q0()},R=a(),P=Y$(),f=await Z0(P),g=P?.apiKey??P?.extras?.githubToken??f.accessToken??"",b=!1;try{let{hostname:G}=new URL($.baseUrl);b=G.endsWith(".azure.com")&&(G.includes("cognitiveservices")||G.includes("openai")||G.includes("services.ai"))}catch{}let l=!1;try{l=$.baseUrl.toLowerCase().includes("bankr")}catch{}if(g){if(b)O["api-key"]=g;else if(l)O["X-API-Key"]=g;else O.Authorization=`Bearer ${g}`;if(f.userAgent)O["User-Agent"]=f.userAgent;if(f.deviceHeaders)Object.assign(O,f.deviceHeaders)}else if(R){let G=await W0(process.env);if(G.kind!=="none"){if(O.Authorization=`Bearer ${G.credential}`,G.kind!=="api-key"&&"projectId"in G&&G.projectId)O["x-goog-user-project"]=G.projectId}}if(w)Object.assign(O,u$,l$(Z.messages));else if(M)O.Accept="application/vnd.github+json",O["X-GitHub-Api-Version"]="2022-11-28";let o=(G)=>{if(b){let j=process.env.AZURE_OPENAI_API_VERSION??"2024-12-01-preview",N=$.resolvedModel??P?.model??"gpt-4o";if(/\/deployments\//i.test(G))return`${G.replace(/\/+$/,"")}/chat/completions?api-version=${j}`;return`${G.replace(/\/(openai\/)?v1\/?$/,"").replace(/\/+$/,"")}/openai/deployments/${N}/chat/completions?api-version=${j}`}return`${G}/chat/completions`},r=V?cZ($.baseUrl):[],p=$.baseUrl,k=o(p),F$=new Set([p]),n=!1,h=(G)=>{for(let j of r){if(F$.has(j))continue;let N=k;return F$.add(j),p=j,k=o(p),T(`[OpenAIShim] self-heal retry reason=${G} method=POST from=${Q$(N)} to=${Q$(k)} model=${$.resolvedModel}`,{level:"warn"}),!0}return!1},W$=_$(D),G$=()=>{W$=_$(D)},s=()=>({method:"POST",headers:O,body:W$,signal:Q?.signal}),I=V?r.length+1:0,B=(Y?aZ:1)+I,S=(G,j,N)=>{if(Q?.signal?.aborted)throw G;let v=N??i$(G,{url:j}),E=Q$(j),C=Z$(v.message,process.env)||"Request failed";throw T(`[OpenAIShim] transport failure category=${v.category} retryable=${v.retryable} code=${v.code??"unknown"} method=POST url=${E} model=${$.resolvedModel} message=${C}`,{level:"warn"}),V$.generate(503,void 0,c$(`OpenAI API transport error: ${C}${v.code?` (code=${v.code})`:""}`,v),new Headers)},A=(G,j,N,v,E,C="",q)=>{let x=q??f$({status:G,body:j}),i=Q$(E);throw T(`[OpenAIShim] request failed category=${x.category} retryable=${x.retryable} status=${G} method=POST url=${i} model=${$.resolvedModel}`,{level:"warn"}),V$.generate(G,N,c$(`OpenAI API error ${G}: ${j}${C}`,x),v)},U,t=$.baseUrl.includes("nvidia")?"nvidia-nim":$.baseUrl.includes("minimax")?"minimax":$.baseUrl.includes("localhost:11434")||$.baseUrl.includes("localhost:11435")?"ollama":$.baseUrl.includes("anthropic")?"anthropic":"openai",c=sZ(),{correlationId:u,startTime:d}=YZ(t,$.resolvedModel);for(let G=0;G<B;G++){try{U=await n$(k,s(),{provider:c})}catch(q){if(Q?.signal?.aborted===!0||typeof DOMException<"u"&&q instanceof DOMException&&q.name==="AbortError"||typeof q==="object"&&q!==null&&"name"in q&&q.name==="AbortError")throw q;let i=i$(q,{url:k});if(V&&i.category==="localhost_resolution_failed"&&h("localhost_resolution_failed"))continue;S(q,k,i)}if(U.ok){let q=0,x=0;if(!Z.stream)try{let m=await U.clone().json();q=m.usage?.prompt_tokens??0,x=m.usage?.completion_tokens??0}catch{}return zZ(u,d,$.resolvedModel,"success",q,x,!1),U}if(Y&&U.status===429&&G<B-1){await U.text().catch(()=>{});let q=Math.min(oZ*2**G,rZ);await PZ(q*1000);continue}let j=await U.text().catch(()=>"unknown error"),N=Y&&U.status===429?GZ(U):"";if(Y&&U.status===400){if(j.includes("/chat/completions")||j.includes("not accessible")){let q=`${$.baseUrl}/responses`,x={model:$.resolvedModel,input:z0(Z.messages),stream:Z.stream??!1,store:!1,...mZ($.baseUrl)&&{prompt_cache_key:b$(),prompt_cache_retention:"24h"}};if(!Array.isArray(x.input)||x.input.length===0)x.input=[{type:"message",role:"user",content:[{type:"input_text",text:""}]}];let i=S$(Z.system);if(i)x.instructions=i;if(D.max_tokens!==void 0)x.max_output_tokens=D.max_tokens;if(Z.tools&&Z.tools.length>0){let H$=K0(Z.tools);if(H$.length>0)x.tools=H$}let m;try{m=await n$(q,{method:"POST",headers:O,body:_$(x),signal:Q?.signal},{provider:c})}catch(H$){S(H$,q)}if(m.ok)return m;let I$=await m.text().catch(()=>"unknown error"),P0=f$({status:m.status,body:I$}),s$;try{s$=JSON.parse(I$)}catch{}A(m.status,I$,s$,m.headers,q,"",P0)}}let v=f$({status:U.status,body:j});if(V&&v.category==="endpoint_not_found"&&h("endpoint_not_found"))continue;let E=Array.isArray(D.tools)&&D.tools.length>0;if(!n&&v.category==="tool_call_incompatible"&&iZ({baseUrl:p,hasTools:E})){n=!0,delete D.tools,delete D.tool_choice,G$(),T(`[OpenAIShim] self-heal retry reason=tool_call_incompatible mode=toolless method=POST url=${Q$(k)} model=${$.resolvedModel}`,{level:"warn"});continue}let C;try{C=JSON.parse(j)}catch{}A(U.status,j,C,U.headers,k,N,v)}throw V$.generate(500,void 0,"OpenAI shim: request loop exited unexpectedly",new Headers)}_convertNonStreamingResponse($,Z,Q){let W=$.choices?.[0],J=[],D=!1,z=fZ(W?.message??{});if(z)J.push({type:"thinking",thinking:z});let X=W?.message?.content!==""&&W?.message?.content!=null?W?.message?.content:null;if(typeof X==="string"&&X){let V=!!Q&&Q.size>0&&!e(process.env.CLAUDIN_DISABLE_XML_TOOL_CALLS)?L$(X,{allowHy3:w$(Z),toolNames:Q}):null;if(V){if(V.visibleText)J.push({type:"text",text:V.visibleText});for(let F of V.calls)J.push({type:"tool_use",id:F.id,name:F.name,input:$$(F.name,JSON.stringify(F.arguments))});D=!0}else J.push({type:"text",text:X$(X)})}else if(Array.isArray(X)&&X.length>0){let K=[];for(let F of X)if(F&&typeof F==="object"&&F.type==="text"&&typeof F.text==="string")K.push(F.text);let V=K.join(`
12
+ `);if(V)J.push({type:"text",text:X$(V)})}if(W?.message?.tool_calls)for(let K of W.message.tool_calls){let V=$$(K.function.name,K.function.arguments);J.push({type:"tool_use",id:K.id,name:K.function.name,input:V,...K.extra_content?{extra_content:K.extra_content}:{},...K.extra_content?.google?.thought_signature?{signature:(K.extra_content?.google).thought_signature}:{}})}let Y=D||W?.finish_reason==="tool_calls"?"tool_use":W?.finish_reason==="length"?"max_tokens":"end_turn";if(W?.finish_reason==="content_filter"||W?.finish_reason==="safety")J.push({type:"text",text:`
13
+
14
+ [Content blocked by provider safety filter]`});return{id:$.id??K$(),type:"message",role:"assistant",content:J,model:$.model??Z,stop_reason:Y,stop_sequence:null,usage:M$($.usage)}}}class F0{messages;reasoningEffort;constructor($,Z){this.messages=new V0($,Z),this.reasoningEffort=Z}}function j1($){JZ(),$0();let Z=new F0({...$.defaultHeaders??{}},$.reasoningEffort);return{beta:Z,messages:Z.messages}}var G0=y(()=>{o0();r0();O$();P$();WZ();DZ();$1();t0();D1();hZ();KZ();e0();gZ();Y1();ZZ();SZ();K1();z1();Q1();s0();Z1();y$();v$();W1();J1();kZ();HZ();q$();MZ();R$();E$();CZ();a0();B$();T$();uZ()});var X1=y(()=>{B$();G0()});X1();export{j1 as createOpenAIShimClient,A$ as convertTools};
@@ -0,0 +1 @@
1
+ import{Esa as t}from"./cli-1.1.14-r930b2z3.mjs";async function o(e){e("/output-style has been deprecated. Use /config to change your output style, or set it in your settings file. Changes take effect on the next session.",{display:"system"})}var n=()=>{};n();export{o as call};
@@ -0,0 +1 @@
1
+ import{ji as e,ki as a}from"./cli-1.1.14-v019any3.mjs";import{Esa as r}from"./cli-1.1.14-r930b2z3.mjs";var t;var o=r(()=>{a();t=e()});o();export{t as default};
@@ -0,0 +1 @@
1
+ import"./cli-1.1.14-r930b2z3.mjs";var o=()=>null,n=o;export{n as default};
@@ -0,0 +1 @@
1
+ import{$8 as e,X8 as a,Y8 as b,Z8 as c,_8 as d}from"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-r930b2z3.mjs";e();export{c as parseCommandRaw,a as parseCommand,d as extractCommandArguments,b as PARSE_ABORTED};
@@ -0,0 +1 @@
1
+ import{BY as g,CY as m,EY as D,hY as y,jY as Qq,mY as S,nY as Uq,vY as O,wY as Xq,xY as b,zY as f}from"./cli-1.1.14-3a1bnf85.mjs";import{I0 as N,K0 as z,O0 as L,c1 as R,dZ as w,iZ as Hq,n1 as Nq}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import{K3 as X,L3 as q,M3 as J,N3 as V}from"./cli-1.1.14-az6pbe66.mjs";import{O3 as Jq}from"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{$$ as qq,Eba as zq,Rea as Yq,Z$ as v,kba as E,pga as P,tea as d,wea as p,xga as Bq}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import{rja as _,uja as k}from"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as s,Esa as h}from"./cli-1.1.14-r930b2z3.mjs";function c({onDone:Y}){let[C,U]=Q.useState(!0),[M,T]=Q.useState([]),[j,W]=Q.useState(!1),[G,x]=Q.useState(null),[A,l]=Q.useState(void 0),Z=S(()=>Y("Guest passes dialog dismissed",{display:"system"})),o=Q.useCallback(()=>{Y("Guest passes dialog dismissed",{display:"system"})},[Y]);if(y("confirm:no",o,{context:"Confirmation"}),R((H,B)=>{if(B.return&&G)w(G).then((K)=>{if(K)process.stdout.write(K);_("",{}),Y("Referral link copied to clipboard!")})}),Q.useEffect(()=>{async function H(){try{let B=await m();if(!B||!B.eligible){W(!1),U(!1);return}if(W(!0),B.referral_code_details?.referral_link)x(B.referral_code_details.referral_link);l(B.referrer_reward);let K=B.referral_code_details?.campaign??"claude_code_guest_pass",I;try{I=await b(K)}catch($){P($),W(!1),U(!1);return}let t=I.redemptions||[],a=I.limit||3,F=[];for(let $=0;$<a;$++){let e=t[$];F.push({passNumber:$+1,isAvailable:!e})}T(F),U(!1)}catch(B){P(B),W(!1),U(!1)}}H()},[]),C)return q(O,{children:J(N,{flexDirection:"column",gap:1,children:[q(z,{dimColor:!0,children:"Loading guest pass information…"}),q(z,{dimColor:!0,italic:!0,children:Z.pending?J(X,{children:["Press ",Z.keyName," again to exit"]}):q(X,{children:"Esc to cancel"})})]})});if(!j)return q(O,{children:J(N,{flexDirection:"column",gap:1,children:[q(z,{children:"Guest passes are not currently available."}),q(z,{dimColor:!0,italic:!0,children:Z.pending?J(X,{children:["Press ",Z.keyName," again to exit"]}):q(X,{children:"Esc to cancel"})})]})});let n=v(M,(H)=>H.isAvailable),r=[...M].sort((H,B)=>+B.isAvailable-+H.isAvailable),i=(H)=>{if(!H.isAvailable)return J(N,{flexDirection:"column",marginRight:1,children:[q(z,{dimColor:!0,children:"┌─────────╱"}),q(z,{dimColor:!0,children:` ) CC ${E} ┊╱`}),q(z,{dimColor:!0,children:"└───────╱"})]},H.passNumber);return J(N,{flexDirection:"column",marginRight:1,children:[q(z,{children:"┌──────────┐"}),J(z,{children:[" ) CC ",q(z,{color:"claude",children:E})," ┊ ( "]}),q(z,{children:"└──────────┘"})]},H.passNumber)};return q(O,{children:J(N,{flexDirection:"column",gap:1,children:[J(z,{color:"permission",children:["Guest passes · ",n," left"]}),q(N,{flexDirection:"row",marginLeft:2,children:r.slice(0,3).map((H)=>i(H))}),G&&q(N,{marginLeft:2,children:q(z,{children:G})}),q(N,{flexDirection:"column",marginLeft:2,children:J(z,{dimColor:!0,children:[A?`Share a free week of Claude Code with friends. If they love it and subscribe, you'll get ${f(A)} of extra usage to keep building. `:"Share a free week of Claude Code with friends. ",q(L,{url:A?"https://support.claude.com/en/articles/13456702-claude-code-guest-passes":"https://support.claude.com/en/articles/12875061-claude-code-guest-passes",children:"Terms apply."})]})}),q(N,{children:q(z,{dimColor:!0,italic:!0,children:Z.pending?J(X,{children:["Press ",Z.keyName," again to exit"]}):q(X,{children:"Enter to copy link · Esc to cancel"})})})]})})}var Q;var u=h(()=>{zq();Uq();Hq();Nq();Qq();k();D();qq();Bq();Xq();V();Q=s(Jq(),1)});async function kq(Y){let U=!p().hasVisitedPasses;if(U){let M=g();d((T)=>({...T,hasVisitedPasses:!0,passesLastSeenRemaining:M??T.passesLastSeenRemaining}))}return _("",{is_first_visit:U}),q(c,{onDone:Y})}var Zq=h(()=>{u();k();D();Yq();V()});Zq();export{kq as call};
@@ -0,0 +1,3 @@
1
+ import{Zd as e0,_d as nN}from"./cli-1.1.14-bjsx40c2.mjs";import{ng as jN,og as vG}from"./cli-1.1.14-x2b13bs6.mjs";import{gh as OG,hh as sG,ih as IG,jh as tG}from"./cli-1.1.14-59y1pays.mjs";import{kh as WG,lh as I0,mh as EG,nh as O0,oh as fN}from"./cli-1.1.14-ce1ghrw0.mjs";import{ph as iN,qh as hG}from"./cli-1.1.14-cxqb5hw8.mjs";import{uh as QG,vh as $G}from"./cli-1.1.14-kkwnpcf6.mjs";import"./cli-1.1.14-cnhawbs5.mjs";import"./cli-1.1.14-q4njqbhv.mjs";import"./cli-1.1.14-v7nnjdwc.mjs";import"./cli-1.1.14-vefm78w3.mjs";import"./cli-1.1.14-ecnk9fd6.mjs";import{Hx as ZG,Im as E0,Ix as zG,Kx as aG,Lm as $0,MR as wJ,Nm as KN,Ro as MN,So as gG,UI as pN,VC as a0,VI as _G,WC as TN,Xn as s0,Yn as DN,ZF as hN,_F as mG,fO as LG,gO as UG,hG as n,hK as KG,hO as kG,iG as V0,iO as wG,kO as qG,lO as oG}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import{VX as SN,WX as SG,hY as P0,jY as mN,mY as T0,nY as _N,vY as YG,wY as rG}from"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import{I0 as v,K0 as H,S0 as RN,c1 as uN,jZ as G0,m0 as XG,n1 as J0}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import{K3 as a,L3 as Y,M3 as T,N3 as x}from"./cli-1.1.14-az6pbe66.mjs";import{O3 as t0}from"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import{S8 as s,T8 as lG}from"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import{Fda as CG,Jca as yN,Kca as u,Lca as HN,Oca as FN,Raa as ON,Saa as DG,Wca as jG,d_ as X0,e_ as BN,qda as IN}from"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import{Zja as b0,cka as nG}from"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import{Sqa as dG,Zma as tN}from"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as i,Esa as e}from"./cli-1.1.14-r930b2z3.mjs";function o0(U){let N=bN.c(9),{ruleValue:J}=U;switch(J.toolName){case a0.name:if(J.ruleContent)if(J.ruleContent.endsWith(":*")){let z;if(N[0]!==J.ruleContent)z=J.ruleContent.slice(0,-2),N[0]=J.ruleContent,N[1]=z;else z=N[1];let G;if(N[2]!==z)G=T(H,{dimColor:!0,children:["Any Bash command starting with"," ",Y(H,{bold:!0,children:z})]}),N[2]=z,N[3]=G;else G=N[3];return G}else{let z;if(N[4]!==J.ruleContent)z=T(H,{dimColor:!0,children:["The Bash command ",Y(H,{bold:!0,children:J.ruleContent})]}),N[4]=J.ruleContent,N[5]=z;else z=N[5];return z}else{let z;if(N[6]===Symbol.for("react.memo_cache_sentinel"))z=Y(H,{dimColor:!0,children:"Any Bash command"}),N[6]=z;else z=N[6];return z}default:if(!J.ruleContent){let z;if(N[7]!==J.toolName)z=T(H,{dimColor:!0,children:["Any use of the ",Y(H,{bold:!0,children:J.toolName})," tool"]}),N[7]=J.toolName,N[8]=z;else z=N[8];return z}else return null}}var bN;var EN=e(()=>{J0();TN();x();bN=i(G0(),1)});function yG(U){switch(U){case"localSettings":return{label:"Project settings (local)",description:`Saved in ${IN("localSettings")}`,value:U};case"projectSettings":return{label:"Project settings",description:`Checked in at ${IN("projectSettings")}`,value:U};case"userSettings":return{label:"User settings",description:"Saved in ~/.claudin/settings.json",value:U}}}function gN(U){let N=CN.c(26),{onAddRules:J,onCancel:z,ruleValues:G,ruleBehavior:w,initialContext:B,setToolPermissionContext:q}=U,E;if(N[0]===Symbol.for("react.memo_cache_sentinel"))E=ON.map(yG),N[0]=E;else E=N[0];let k=E,W;if(N[1]!==B||N[2]!==J||N[3]!==z||N[4]!==w||N[5]!==G||N[6]!==q)W=(j)=>{if(j==="cancel"){z();return}else if(ON.includes(j)){let A=j,D=E0(B,{type:"addRules",rules:G,behavior:w,destination:A});$0({type:"addRules",rules:G,behavior:w,destination:A}),q(D);let C=G.map((m)=>({ruleValue:m,ruleBehavior:w,source:A})),S=MN.isSandboxingEnabled()&&MN.isAutoAllowBashIfSandboxedEnabled(),l=jN(D,{sandboxAutoAllowEnabled:S}).filter((m)=>G.some((R)=>R.toolName===m.rule.ruleValue.toolName&&R.ruleContent===m.rule.ruleValue.ruleContent));J(C,l.length>0?l:void 0)}},N[1]=B,N[2]=J,N[3]=z,N[4]=w,N[5]=G,N[6]=q,N[7]=W;else W=N[7];let Z=W,L;if(N[8]!==G.length)L=FN(G.length,"rule"),N[8]=G.length,N[9]=L;else L=N[9];let I=`Add ${w} permission ${L}`,M;if(N[10]!==G)M=G.map(RG),N[10]=G,N[11]=M;else M=N[11];let O;if(N[12]!==M)O=Y(v,{flexDirection:"column",paddingX:2,children:M}),N[12]=M,N[13]=O;else O=N[13];let K=G.length===1?"Where should this rule be saved?":"Where should these rules be saved?",b;if(N[14]!==K)b=Y(H,{children:K}),N[14]=K,N[15]=b;else b=N[15];let Q;if(N[16]!==Z)Q=Y(n,{options:k,onChange:Z}),N[16]=Z,N[17]=Q;else Q=N[17];let f;if(N[18]!==b||N[19]!==Q)f=T(v,{flexDirection:"column",marginY:1,children:[b,Q]}),N[18]=b,N[19]=Q,N[20]=f;else f=N[20];let F;if(N[21]!==z||N[22]!==O||N[23]!==f||N[24]!==I)F=T(s0,{title:I,onCancel:z,color:"permission",children:[O,f]}),N[21]=z,N[22]=O,N[23]=f,N[24]=I,N[25]=F;else F=N[25];return F}function RG(U){return T(v,{flexDirection:"column",children:[Y(H,{bold:!0,children:u(U)}),Y(o0,{ruleValue:U})]},u(U))}var CN;var vN=e(()=>{V0();J0();KN();HN();vG();gG();DG();CG();jG();DN();EN();x();CN=i(G0(),1)});function cN(U){let N=xN.c(24),{onCancel:J,onSubmit:z,ruleBehavior:G}=U,[w,B]=AN.useState(""),[q,E]=AN.useState(0),k=T0(),W;if(N[0]===Symbol.for("react.memo_cache_sentinel"))W={context:"Settings"},N[0]=W;else W=N[0];P0("confirm:no",J,W);let{columns:Z}=SN(),L=Z-6,I;if(N[1]!==z||N[2]!==G)I=(C)=>{let S=C.trim();if(S.length===0)return;let p=yN(S);z(p,G)},N[1]=z,N[2]=G,N[3]=I;else I=N[3];let M=I,O;if(N[4]!==G)O=T(H,{bold:!0,color:"permission",children:["Add ",G," permission rule"]}),N[4]=G,N[5]=O;else O=N[5];let K;if(N[6]===Symbol.for("react.memo_cache_sentinel"))K=Y(RN,{}),N[6]=K;else K=N[6];let b,Q;if(N[7]===Symbol.for("react.memo_cache_sentinel"))b=Y(H,{bold:!0,children:u({toolName:pN.name})}),Q=Y(H,{bold:!1,children:" or "}),N[7]=b,N[8]=Q;else b=N[7],Q=N[8];let f;if(N[9]===Symbol.for("react.memo_cache_sentinel"))f=T(H,{children:["Permission rules are a tool name, optionally followed by a specifier in parentheses.",K,"e.g.,"," ",b,Q,Y(H,{bold:!0,children:u({toolName:a0.name,ruleContent:"ls:*"})})]}),N[9]=f;else f=N[9];let F;if(N[10]!==q||N[11]!==M||N[12]!==w||N[13]!==L)F=T(v,{flexDirection:"column",children:[f,Y(v,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:Y(hN,{showCursor:!0,value:w,onChange:B,onSubmit:M,placeholder:`Enter permission rule${X0.ellipsis}`,columns:L,cursorOffset:q,onChangeCursorOffset:E})})]}),N[10]=q,N[11]=M,N[12]=w,N[13]=L,N[14]=F;else F=N[14];let j;if(N[15]!==O||N[16]!==F)j=T(v,{flexDirection:"column",gap:1,borderStyle:"round",paddingLeft:1,paddingRight:1,borderColor:"permission",children:[O,F]}),N[15]=O,N[16]=F,N[17]=j;else j=N[17];let A;if(N[18]!==k.keyName||N[19]!==k.pending)A=Y(v,{marginLeft:3,children:k.pending?T(H,{dimColor:!0,children:["Press ",k.keyName," again to exit"]}):Y(H,{dimColor:!0,children:"Enter to submit · Esc to cancel"})}),N[18]=k.keyName,N[19]=k.pending,N[20]=A;else A=N[20];let D;if(N[21]!==A||N[22]!==j)D=T(a,{children:[j,A]}),N[21]=A,N[22]=j,N[23]=D;else D=N[23];return D}var xN,AN;var dN=e(()=>{BN();mG();_N();SG();J0();mN();TN();_G();HN();x();xN=i(G0(),1),AN=i(t0(),1)});function rN(U){let N=lN.c(30),{onHeaderFocusChange:J,onStateChange:z}=U,{headerFocused:G,focusHeader:w}=O0(),B,q;if(N[0]!==G||N[1]!==J)B=()=>{J?.(G)},q=[G,J],N[0]=G,N[1]=J,N[2]=B,N[3]=q;else B=N[2],q=N[3];N0.useEffect(B,q);let[E]=N0.useState(cG),[k,W]=N0.useState(xG),[Z,L]=N0.useState(pG),[I,M]=N0.useState(0),O,K;if(N[4]!==k||N[5]!==E||N[6]!==z||N[7]!==Z)O=()=>{z({approved:k,retry:Z,denials:E})},K=[k,Z,E,z],N[4]=k,N[5]=E,N[6]=z,N[7]=Z,N[8]=O,N[9]=K;else O=N[8],K=N[9];N0.useEffect(O,K);let b;if(N[10]===Symbol.for("react.memo_cache_sentinel"))b=(R)=>{let _=Number(R);W((c)=>{let h=new Set(c);if(h.has(_))h.delete(_);else h.add(_);return h})},N[10]=b;else b=N[10];let Q=b,f;if(N[11]===Symbol.for("react.memo_cache_sentinel"))f=(R)=>{M(Number(R))},N[11]=f;else f=N[11];let F=f,j;if(N[12]!==I)j=(R,_)=>{if(R==="r")L((c)=>{let h=new Set(c);if(h.has(I))h.delete(I);else h.add(I);return h}),W((c)=>{if(c.has(I))return c;let h=new Set(c);return h.add(I),h})},N[12]=I,N[13]=j;else j=N[13];let A=E.length>0,D;if(N[14]!==A)D={isActive:A},N[14]=A,N[15]=D;else D=N[15];if(uN(j,D),E.length===0){let R;if(N[16]===Symbol.for("react.memo_cache_sentinel"))R=Y(H,{dimColor:!0,children:"No recent denials. Commands denied by the auto mode classifier will appear here."}),N[16]=R;else R=N[16];return R}let C;if(N[17]!==k||N[18]!==E||N[19]!==Z){let R;if(N[21]!==k||N[22]!==Z)R=(_,c)=>{let h=k.has(c),NN=Z.has(c)?" (retry)":"";return{label:T(H,{children:[Y(iN,{status:h?"success":"error",withSpace:!0}),_.display,Y(H,{dimColor:!0,children:NN})]}),value:String(c)}},N[21]=k,N[22]=Z,N[23]=R;else R=N[23];C=E.map(R),N[17]=k,N[18]=E,N[19]=Z,N[20]=C}else C=N[20];let S=C,p;if(N[24]===Symbol.for("react.memo_cache_sentinel"))p=Y(H,{children:"Commands recently denied by the auto mode classifier."}),N[24]=p;else p=N[24];let l=Math.min(10,S.length),m;if(N[25]!==w||N[26]!==G||N[27]!==S||N[28]!==l)m=T(v,{flexDirection:"column",children:[p,Y(v,{marginTop:1,children:Y(n,{options:S,onChange:Q,onFocus:F,visibleOptionCount:l,isDisabled:G,onUpFromFirstItem:w})})]}),N[25]=w,N[26]=G,N[27]=S,N[28]=l,N[29]=m;else m=N[29];return m}function pG(){return new Set}function xG(){return new Set}function cG(){return e0()}var lN,N0;var aN=e(()=>{J0();nN();V0();hG();fN();x();lN=i(G0(),1),N0=i(t0(),1)});function $N(U){let N=oN.c(19),{directoryPath:J,onRemove:z,onCancel:G,permissionContext:w,setPermissionContext:B}=U,q;if(N[0]!==J||N[1]!==z||N[2]!==w||N[3]!==B)q=()=>{let K=E0(w,{type:"removeDirectories",directories:[J],destination:"session"});B(K),z()},N[0]=J,N[1]=z,N[2]=w,N[3]=B,N[4]=q;else q=N[4];let E=q,k;if(N[5]!==E||N[6]!==G)k=(K)=>{if(K==="yes")E();else G()},N[5]=E,N[6]=G,N[7]=k;else k=N[7];let W=k,Z;if(N[8]!==J)Z=Y(v,{marginX:2,flexDirection:"column",children:Y(H,{bold:!0,children:J})}),N[8]=J,N[9]=Z;else Z=N[9];let L;if(N[10]===Symbol.for("react.memo_cache_sentinel"))L=Y(H,{children:"Claude Code will no longer have access to files in this directory."}),N[10]=L;else L=N[10];let I;if(N[11]===Symbol.for("react.memo_cache_sentinel"))I=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],N[11]=I;else I=N[11];let M;if(N[12]!==W||N[13]!==G)M=Y(n,{onChange:W,onCancel:G,options:I}),N[12]=W,N[13]=G,N[14]=M;else M=N[14];let O;if(N[15]!==G||N[16]!==Z||N[17]!==M)O=T(s0,{title:"Remove directory from workspace?",onCancel:G,color:"error",children:[Z,L,M]}),N[15]=G,N[16]=Z,N[17]=M,N[18]=O;else O=N[18];return O}var oN;var sN=e(()=>{V0();J0();KN();DN();x();oN=i(G0(),1)});function GG(U){let N=eN.c(23),{onExit:J,toolPermissionContext:z,onRequestAddDirectory:G,onRequestRemoveDirectory:w,onHeaderFocusChange:B}=U,{headerFocused:q,focusHeader:E}=O0(),k,W;if(N[0]!==q||N[1]!==B)k=()=>{B?.(q)},W=[q,B],N[0]=q,N[1]=B,N[2]=k,N[3]=W;else k=N[2],W=N[3];NG.useEffect(k,W);let Z;if(N[4]!==z.additionalWorkingDirectories)Z=Array.from(z.additionalWorkingDirectories.keys()).map(iG),N[4]=z.additionalWorkingDirectories,N[5]=Z;else Z=N[5];let L=Z,I;if(N[6]!==L||N[7]!==G||N[8]!==w)I=(A)=>{if(A==="add-directory"){G();return}let D=L.find((C)=>C.path===A);if(D&&D.isDeletable)w(D.path)},N[6]=L,N[7]=G,N[8]=w,N[9]=I;else I=N[9];let M=I,O;if(N[10]!==J)O=()=>J("Workspace dialog dismissed",{display:"system"}),N[10]=J,N[11]=O;else O=N[11];let K=O,b;if(N[12]!==L){b=L.map(uG);let A;if(N[14]===Symbol.for("react.memo_cache_sentinel"))A={label:`Add directory${X0.ellipsis}`,value:"add-directory"},N[14]=A;else A=N[14];b.push(A),N[12]=L,N[13]=b}else b=N[13];let Q=b,f;if(N[15]===Symbol.for("react.memo_cache_sentinel"))f=T(v,{flexDirection:"row",marginTop:1,marginLeft:2,gap:1,children:[Y(H,{children:`- ${tN()}`}),Y(H,{dimColor:!0,children:"(Original working directory)"})]}),N[15]=f;else f=N[15];let F=Math.min(10,Q.length),j;if(N[16]!==E||N[17]!==K||N[18]!==M||N[19]!==q||N[20]!==Q||N[21]!==F)j=T(v,{flexDirection:"column",marginBottom:1,children:[f,Y(n,{options:Q,onChange:M,onCancel:K,visibleOptionCount:F,onUpFromFirstItem:E,isDisabled:q})]}),N[16]=E,N[17]=K,N[18]=M,N[19]=q,N[20]=Q,N[21]=F,N[22]=j;else j=N[22];return j}function uG(U){return{label:U.path,value:U.path}}function iG(U){return{path:U,isCurrent:!1,isDeletable:!0}}var eN,NG;var JG=e(()=>{BN();dG();V0();J0();fN();x();eN=i(G0(),1),NG=i(t0(),1)});function eG(U){let N=M0.c(4),{rule:J}=U,z;if(N[0]!==J.source)z=LG(J.source),N[0]=J.source,N[1]=z;else z=N[1];let G=`From ${z}`,w;if(N[2]!==G)w=Y(H,{dimColor:!0,children:G}),N[2]=G,N[3]=w;else w=N[3];return w}function NJ(U){switch(U){case"allow":return"allowed";case"deny":return"denied";case"ask":return"ask"}}function GJ(U){let N=M0.c(42),{rule:J,onDelete:z,onCancel:G}=U,w=T0(),B;if(N[0]===Symbol.for("react.memo_cache_sentinel"))B={context:"Confirmation"},N[0]=B;else B=N[0];P0("confirm:no",G,B);let q;if(N[1]!==J.ruleValue)q=u(J.ruleValue),N[1]=J.ruleValue,N[2]=q;else q=N[2];let E;if(N[3]!==q)E=Y(H,{bold:!0,children:q}),N[3]=q,N[4]=E;else E=N[4];let k;if(N[5]!==J.ruleValue)k=Y(o0,{ruleValue:J.ruleValue}),N[5]=J.ruleValue,N[6]=k;else k=N[6];let W;if(N[7]!==J)W=Y(eG,{rule:J}),N[7]=J,N[8]=W;else W=N[8];let Z;if(N[9]!==E||N[10]!==k||N[11]!==W)Z=T(v,{flexDirection:"column",marginX:2,children:[E,k,W]}),N[9]=E,N[10]=k,N[11]=W,N[12]=Z;else Z=N[12];let L=Z,I;if(N[13]!==w.keyName||N[14]!==w.pending)I=Y(v,{marginLeft:3,children:w.pending?T(H,{dimColor:!0,children:["Press ",w.keyName," again to exit"]}):Y(H,{dimColor:!0,children:"Esc to cancel"})}),N[13]=w.keyName,N[14]=w.pending,N[15]=I;else I=N[15];let M=I;if(J.source==="policySettings"){let D;if(N[16]===Symbol.for("react.memo_cache_sentinel"))D=Y(H,{bold:!0,color:"permission",children:"Rule details"}),N[16]=D;else D=N[16];let C;if(N[17]===Symbol.for("react.memo_cache_sentinel"))C=T(H,{italic:!0,children:["This rule is configured by managed settings and cannot be modified.",`
2
+ `,"Contact your system administrator for more information."]}),N[17]=C;else C=N[17];let S;if(N[18]!==L)S=T(v,{flexDirection:"column",gap:1,borderStyle:"round",paddingLeft:1,paddingRight:1,borderColor:"permission",children:[D,L,C]}),N[18]=L,N[19]=S;else S=N[19];let p;if(N[20]!==M||N[21]!==S)p=T(a,{children:[S,M]}),N[20]=M,N[21]=S,N[22]=p;else p=N[22];return p}let O;if(N[23]!==J.ruleBehavior)O=NJ(J.ruleBehavior),N[23]=J.ruleBehavior,N[24]=O;else O=N[24];let K;if(N[25]!==O)K=T(H,{bold:!0,color:"error",children:["Delete ",O," tool?"]}),N[25]=O,N[26]=K;else K=N[26];let b;if(N[27]===Symbol.for("react.memo_cache_sentinel"))b=Y(H,{children:"Are you sure you want to delete this permission rule?"}),N[27]=b;else b=N[27];let Q;if(N[28]!==G||N[29]!==z)Q=(D)=>D==="yes"?z():G(),N[28]=G,N[29]=z,N[30]=Q;else Q=N[30];let f;if(N[31]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],N[31]=f;else f=N[31];let F;if(N[32]!==G||N[33]!==Q)F=Y(n,{onChange:Q,onCancel:G,options:f}),N[32]=G,N[33]=Q,N[34]=F;else F=N[34];let j;if(N[35]!==L||N[36]!==F||N[37]!==K)j=T(v,{flexDirection:"column",gap:1,borderStyle:"round",paddingLeft:1,paddingRight:1,borderColor:"error",children:[K,L,b,F]}),N[35]=L,N[36]=F,N[37]=K,N[38]=j;else j=N[38];let A;if(N[39]!==M||N[40]!==j)A=T(a,{children:[j,M]}),N[39]=M,N[40]=j,N[41]=A;else A=N[41];return A}function JJ(U){let N=M0.c(26),{options:J,searchQuery:z,isSearchMode:G,isFocused:w,onSelect:B,onCancel:q,lastFocusedRuleKey:E,cursorOffset:k,onHeaderFocusChange:W}=U,Z=EG(),{headerFocused:L,focusHeader:I,blurHeader:M}=O0(),O,K;if(N[0]!==M||N[1]!==L||N[2]!==G)O=()=>{if(G&&L)M()},K=[G,L,M],N[0]=M,N[1]=L,N[2]=G,N[3]=O,N[4]=K;else O=N[3],K=N[4];d.useEffect(O,K);let b,Q;if(N[5]!==L||N[6]!==W)b=()=>{W?.(L)},Q=[L,W],N[5]=L,N[6]=W,N[7]=b,N[8]=Q;else b=N[7],Q=N[8];d.useEffect(b,Q);let f=G&&!L,F;if(N[9]!==k||N[10]!==w||N[11]!==z||N[12]!==f||N[13]!==Z)F=Y(v,{marginBottom:1,flexDirection:"column",children:Y(OG,{query:z,isFocused:f,isTerminalFocused:w,width:Z,cursorOffset:k})}),N[9]=k,N[10]=w,N[11]=z,N[12]=f,N[13]=Z,N[14]=F;else F=N[14];let j=Math.min(10,J.length),A=G||L,D;if(N[15]!==I||N[16]!==E||N[17]!==q||N[18]!==B||N[19]!==J||N[20]!==j||N[21]!==A)D=Y(n,{options:J,onChange:B,onCancel:q,visibleOptionCount:j,isDisabled:A,defaultFocusValue:E,onUpFromFirstItem:I}),N[15]=I,N[16]=E,N[17]=q,N[18]=B,N[19]=J,N[20]=j,N[21]=A,N[22]=D;else D=N[22];let C;if(N[23]!==F||N[24]!==D)C=T(v,{flexDirection:"column",children:[F,D]}),N[23]=F,N[24]=D,N[25]=C;else C=N[25];return C}function VN(U){let N=M0.c(27),J,z,G,w,B,q,E,k,W;if(N[0]!==U){let{tab:M,getRulesOptions:O,handleToolSelect:K,...b}=U;W=M,G=K,w=b,z=v,q="column",E=W==="allow"?0:void 0;let Q;if(N[10]===Symbol.for("react.memo_cache_sentinel"))Q={allow:"Claude Code won't ask before using allowed tools.",ask:"Claude Code will always ask for confirmation before using these tools.",deny:"Claude Code will always reject requests to use denied tools."},N[10]=Q;else Q=N[10];let f=Q[W];if(N[11]!==f)k=Y(H,{children:f}),N[11]=f,N[12]=k;else k=N[12];J=JJ,B=O(W,w.searchQuery),N[0]=U,N[1]=J,N[2]=z,N[3]=G,N[4]=w,N[5]=B,N[6]=q,N[7]=E,N[8]=k,N[9]=W}else J=N[1],z=N[2],G=N[3],w=N[4],B=N[5],q=N[6],E=N[7],k=N[8],W=N[9];let Z;if(N[13]!==G||N[14]!==W)Z=(M)=>G(M,W),N[13]=G,N[14]=W,N[15]=Z;else Z=N[15];let L;if(N[16]!==J||N[17]!==w||N[18]!==B.options||N[19]!==Z)L=Y(J,{options:B.options,onSelect:Z,...w}),N[16]=J,N[17]=w,N[18]=B.options,N[19]=Z,N[20]=L;else L=N[20];let I;if(N[21]!==z||N[22]!==q||N[23]!==E||N[24]!==k||N[25]!==L)I=T(z,{flexDirection:q,flexShrink:E,children:[k,L]}),N[21]=z,N[22]=q,N[23]=E,N[24]=k,N[25]=L,N[26]=I;else I=N[26];return I}function MG(U){let N=M0.c(113),{onExit:J,initialTab:z,onRetryDenials:G}=U,w;if(N[0]===Symbol.for("react.memo_cache_sentinel"))w=e0(),N[0]=w;else w=N[0];let B=w.length>0,q=z??(B?"recent":"allow"),E;if(N[1]===Symbol.for("react.memo_cache_sentinel"))E=[],N[1]=E;else E=N[1];let[k,W]=d.useState(E),Z=ZG(UJ),L=zG(),I=XG(),M;if(N[2]===Symbol.for("react.memo_cache_sentinel"))M={approved:new Set,retry:new Set,denials:[]},N[2]=M;else M=N[2];let O=d.useRef(M),K;if(N[3]===Symbol.for("react.memo_cache_sentinel"))K=(X)=>{O.current=X},N[3]=K;else K=N[3];let b=K,[Q,f]=d.useState(),[F,j]=d.useState(),[A,D]=d.useState(null),[C,S]=d.useState(null),[p,l]=d.useState(!1),[m,R]=d.useState(null),[_,c]=d.useState(!1),[h,NN]=d.useState(!0),F0;if(N[4]===Symbol.for("react.memo_cache_sentinel"))F0=(X)=>{NN(X)},N[4]=F0;else F0=N[4];let GN=F0,H0;if(N[5]!==Z)H0=new Map,UG(Z).forEach((X)=>{H0.set(b0(X),X)}),N[5]=Z,N[6]=H0;else H0=N[6];let JN=H0,K0;if(N[7]!==Z)K0=new Map,kG(Z).forEach((X)=>{K0.set(b0(X),X)}),N[7]=Z,N[8]=K0;else K0=N[8];let XN=K0,A0;if(N[9]!==Z)A0=new Map,wG(Z).forEach((X)=>{A0.set(b0(X),X)}),N[9]=Z,N[10]=A0;else A0=N[10];let YN=A0,D0;if(N[11]!==JN||N[12]!==YN||N[13]!==XN)D0=(X,V)=>{let P=V===void 0?"":V,g=(()=>{switch(X){case"allow":return JN;case"deny":return XN;case"ask":return YN;case"workspace":case"recent":return new Map}})(),y=[];if(X!=="workspace"&&X!=="recent"&&!P)y.push({label:`Add a new rule${X0.ellipsis}`,value:"add-new-rule"});let r=Array.from(g.keys()).sort((W0,t)=>{let f0=g.get(W0),PN=g.get(t);if(f0&&PN){let bG=u(f0.ruleValue).toLowerCase(),FG=u(PN.ruleValue).toLowerCase();return bG.localeCompare(FG)}return 0}),Q0=P.toLowerCase();for(let W0 of r){let t=g.get(W0);if(t){let f0=u(t.ruleValue);if(P&&!f0.toLowerCase().includes(Q0))continue;y.push({label:f0,value:W0})}}return{options:y,rulesByKey:g}},N[11]=JN,N[12]=YN,N[13]=XN,N[14]=D0;else D0=N[14];let o=D0,Y0=T0(),B0=!Q&&!A&&!C&&!p&&!m,ZN=B0&&_,j0;if(N[15]===Symbol.for("react.memo_cache_sentinel"))j0=()=>{c(!1)},N[15]=j0;else j0=N[15];let C0;if(N[16]!==ZN)C0={isActive:ZN,onExit:j0},N[16]=ZN,N[17]=C0;else C0=N[17];let{query:zN,setQuery:g0,cursorOffset:LN}=IG(C0),v0;if(N[18]!==_||N[19]!==B0||N[20]!==g0)v0=(X)=>{if(!B0)return;if(_)return;if(X.ctrl||X.meta)return;if(X.key==="/")X.preventDefault(),c(!0),g0("");else if(X.key.length===1&&X.key!=="j"&&X.key!=="k"&&X.key!=="m"&&X.key!=="i"&&X.key!=="r"&&X.key!==" ")X.preventDefault(),c(!0),g0(X.key)},N[18]=_,N[19]=B0,N[20]=g0,N[21]=v0;else v0=N[21];let UN=v0,y0;if(N[22]!==o)y0=(X,V)=>{let{rulesByKey:P}=o(V);if(X==="add-new-rule"){D(V);return}else{f(P.get(X));return}},N[22]=o,N[23]=y0;else y0=N[23];let kN=y0,R0;if(N[24]===Symbol.for("react.memo_cache_sentinel"))R0=()=>{D(null)},N[24]=R0;else R0=N[24];let AG=R0,S0;if(N[25]===Symbol.for("react.memo_cache_sentinel"))S0=(X,V)=>{S({ruleValue:X,ruleBehavior:V}),D(null)},N[25]=S0;else S0=N[25];let BG=S0,m0;if(N[26]===Symbol.for("react.memo_cache_sentinel"))m0=(X,V)=>{S(null);for(let P of X)W((g)=>[...g,`Added ${P.ruleBehavior} rule ${s.bold(u(P.ruleValue))}`]);if(V&&V.length>0)for(let P of V){let g=P.shadowType==="deny"?"blocked":"shadowed";W((y)=>[...y,s.yellow(`${X0.warning} Warning: ${u(P.rule.ruleValue)} is ${g}`),s.dim(` ${P.reason}`),s.dim(` Fix: ${P.fix}`)])}},N[26]=m0;else m0=N[26];let fG=m0,_0;if(N[27]===Symbol.for("react.memo_cache_sentinel"))_0=()=>{S(null)},N[27]=_0;else _0=N[27];let VG=_0,h0;if(N[28]===Symbol.for("react.memo_cache_sentinel"))h0=()=>l(!0),N[28]=h0;else h0=N[28];let PG=h0,p0;if(N[29]===Symbol.for("react.memo_cache_sentinel"))p0=(X)=>R(X),N[29]=p0;else p0=N[29];let TG=p0,x0;if(N[30]!==k||N[31]!==J||N[32]!==G)x0=()=>{let X=O.current,V=(y)=>Array.from(y).map((r)=>X.denials[r]).filter(LJ),P=V(X.retry);if(P.length>0){let y=P.map(zJ);G?.(y),J(void 0,{shouldQuery:!0,metaMessages:[`Permission granted for: ${y.join(", ")}. You may now retry ${y.length===1?"this command":"these commands"} if you would like.`]});return}let g=V(X.approved);if(g.length>0||k.length>0){let y=g.length>0?[`Approved ${g.map(ZJ).join(", ")}`]:[];J([...y,...k].join(`
3
+ `))}else J("Permissions dialog dismissed",{display:"system"})},N[30]=k,N[31]=J,N[32]=G,N[33]=x0;else x0=N[33];let c0=x0,wN=B0&&!_,d0;if(N[34]!==wN)d0={context:"Settings",isActive:wN},N[34]=wN,N[35]=d0;else d0=N[35];P0("confirm:no",c0,d0);let u0;if(N[36]!==o||N[37]!==Q||N[38]!==L||N[39]!==Z)u0=()=>{if(!Q)return;let{options:X}=o(Q.ruleBehavior),V=b0(Q),P=X.filter(YJ).map(XJ),g=P.indexOf(V),y;if(g!==-1){if(g<P.length-1)y=P[g+1];else if(g>0)y=P[g-1]}j(y),qG({rule:Q,initialContext:Z,setToolPermissionContext(r){L((Q0)=>({...Q0,toolPermissionContext:r}))}}),W((r)=>[...r,`Deleted ${Q.ruleBehavior} rule ${s.bold(u(Q.ruleValue))}`]),f(void 0)},N[36]=o,N[37]=Q,N[38]=L,N[39]=Z,N[40]=u0;else u0=N[40];let qN=u0;if(Q){let X;if(N[41]===Symbol.for("react.memo_cache_sentinel"))X=()=>f(void 0),N[41]=X;else X=N[41];let V;if(N[42]!==qN||N[43]!==Q)V=Y(GJ,{rule:Q,onDelete:qN,onCancel:X}),N[42]=qN,N[43]=Q,N[44]=V;else V=N[44];return V}if(A&&A!=="workspace"&&A!=="recent"){let X;if(N[45]!==A)X=Y(cN,{onCancel:AG,onSubmit:BG,ruleBehavior:A}),N[45]=A,N[46]=X;else X=N[46];return X}if(C){let X;if(N[47]!==C.ruleValue)X=[C.ruleValue],N[47]=C.ruleValue,N[48]=X;else X=N[48];let V;if(N[49]!==L)V=(g)=>{L((y)=>({...y,toolPermissionContext:g}))},N[49]=L,N[50]=V;else V=N[50];let P;if(N[51]!==X||N[52]!==V||N[53]!==Z||N[54]!==C.ruleBehavior)P=Y(gN,{onAddRules:fG,onCancel:VG,ruleValues:X,ruleBehavior:C.ruleBehavior,initialContext:Z,setToolPermissionContext:V}),N[51]=X,N[52]=V,N[53]=Z,N[54]=C.ruleBehavior,N[55]=P;else P=N[55];return P}if(p){let X;if(N[56]!==L||N[57]!==Z)X=(g,y)=>{let Q0={type:"addDirectories",directories:[g],destination:y?"localSettings":"session"},W0=E0(Z,Q0);if(L((t)=>({...t,toolPermissionContext:W0})),y)$0(Q0);W((t)=>[...t,`Added directory ${s.bold(g)} to workspace${y?" and saved to local settings":" for this session"}`]),l(!1)},N[56]=L,N[57]=Z,N[58]=X;else X=N[58];let V;if(N[59]===Symbol.for("react.memo_cache_sentinel"))V=()=>l(!1),N[59]=V;else V=N[59];let P;if(N[60]!==X||N[61]!==Z)P=Y(QG,{onAddDirectory:X,onCancel:V,permissionContext:Z}),N[60]=X,N[61]=Z,N[62]=P;else P=N[62];return P}if(m){let X;if(N[63]!==m)X=()=>{W((y)=>[...y,`Removed directory ${s.bold(m)} from workspace`]),R(null)},N[63]=m,N[64]=X;else X=N[64];let V;if(N[65]===Symbol.for("react.memo_cache_sentinel"))V=()=>R(null),N[65]=V;else V=N[65];let P;if(N[66]!==L)P=(y)=>{L((r)=>({...r,toolPermissionContext:y}))},N[66]=L,N[67]=P;else P=N[67];let g;if(N[68]!==m||N[69]!==X||N[70]!==P||N[71]!==Z)g=Y($N,{directoryPath:m,onRemove:X,onCancel:V,permissionContext:Z,setPermissionContext:P}),N[68]=m,N[69]=X,N[70]=P,N[71]=Z,N[72]=g;else g=N[72];return g}let i0;if(N[73]!==o||N[74]!==c0||N[75]!==kN||N[76]!==_||N[77]!==I||N[78]!==F||N[79]!==LN||N[80]!==zN)i0={searchQuery:zN,isSearchMode:_,isFocused:I,onCancel:c0,lastFocusedRuleKey:F,cursorOffset:LN,getRulesOptions:o,handleToolSelect:kN,onHeaderFocusChange:GN},N[73]=o,N[74]=c0,N[75]=kN,N[76]=_,N[77]=I,N[78]=F,N[79]=LN,N[80]=zN,N[81]=i0;else i0=N[81];let $=i0,QN=!!Q||!!A||!!C||p||!!m,WN=!_,n0;if(N[82]===Symbol.for("react.memo_cache_sentinel"))n0=Y(I0,{id:"recent",title:"Recently denied",children:Y(rN,{onHeaderFocusChange:GN,onStateChange:b})}),N[82]=n0;else n0=N[82];let Z0;if(N[83]!==$)Z0=Y(I0,{id:"allow",title:"Allow",children:Y(VN,{tab:"allow",...$})}),N[83]=$,N[84]=Z0;else Z0=N[84];let z0;if(N[85]!==$)z0=Y(I0,{id:"ask",title:"Ask",children:Y(VN,{tab:"ask",...$})}),N[85]=$,N[86]=z0;else z0=N[86];let L0;if(N[87]!==$)L0=Y(I0,{id:"deny",title:"Deny",children:Y(VN,{tab:"deny",...$})}),N[87]=$,N[88]=L0;else L0=N[88];let l0;if(N[89]===Symbol.for("react.memo_cache_sentinel"))l0=Y(H,{children:"Claude Code can read files in the workspace, and make edits when auto-accept edits is on."}),N[89]=l0;else l0=N[89];let U0;if(N[90]!==J||N[91]!==Z)U0=Y(I0,{id:"workspace",title:"Workspace",children:T(v,{flexDirection:"column",children:[l0,Y(GG,{onExit:J,toolPermissionContext:Z,onRequestAddDirectory:PG,onRequestRemoveDirectory:TG,onHeaderFocusChange:GN})]})}),N[90]=J,N[91]=Z,N[92]=U0;else U0=N[92];let k0;if(N[93]!==q||N[94]!==QN||N[95]!==WN||N[96]!==Z0||N[97]!==z0||N[98]!==L0||N[99]!==U0)k0=T(WG,{title:"Permissions:",color:"permission",defaultTab:q,hidden:QN,initialHeaderFocused:!B,navFromContent:WN,children:[n0,Z0,z0,L0,U0]}),N[93]=q,N[94]=QN,N[95]=WN,N[96]=Z0,N[97]=z0,N[98]=L0,N[99]=U0,N[100]=k0;else k0=N[100];let w0;if(N[101]!==q||N[102]!==Y0.keyName||N[103]!==Y0.pending||N[104]!==h||N[105]!==_)w0=Y(v,{marginTop:1,paddingLeft:1,children:Y(H,{dimColor:!0,children:Y0.pending?T(a,{children:["Press ",Y0.keyName," again to exit"]}):h?Y(a,{children:"←/→ tab switch · ↓ return · Esc cancel"}):_?Y(a,{children:"Type to filter · Enter/↓ select · ↑ tabs · Esc clear"}):B&&q==="recent"?Y(a,{children:"Enter approve · r retry · ↑↓ navigate · ←/→ switch · Esc cancel"}):Y(a,{children:"↑↓ navigate · Enter select · Type to search · ←/→ switch · Esc cancel"})})}),N[101]=q,N[102]=Y0.keyName,N[103]=Y0.pending,N[104]=h,N[105]=_,N[106]=w0;else w0=N[106];let q0;if(N[107]!==k0||N[108]!==w0)q0=T(YG,{color:"permission",children:[k0,w0]}),N[107]=k0,N[108]=w0,N[109]=q0;else q0=N[109];let r0;if(N[110]!==UN||N[111]!==q0)r0=Y(v,{flexDirection:"column",onKeyDown:UN,children:q0}),N[110]=UN,N[111]=q0,N[112]=r0;else r0=N[112];return r0}function XJ(U){return U.value}function YJ(U){return U.value!=="add-new-rule"}function ZJ(U){return s.bold(U.display)}function zJ(U){return U.display}function LJ(U){return U!==void 0}function UJ(U){return U.toolPermissionContext}var M0,d;var HG=e(()=>{lG();BN();aG();KN();V0();_N();tG();J0();mN();nN();HN();oG();nG();rG();fN();sG();vN();$G();EN();dN();aN();sN();JG();x();M0=i(G0(),1),d=i(t0(),1)});var mX=async(U,N)=>{return Y(MG,{onExit:U,onRetryDenials:(J)=>{N.setMessages((z)=>[...z,KG(J)])}})};var kJ=e(()=>{HG();wJ();x()});kJ();export{mX as call};
@@ -0,0 +1 @@
1
+ import{jha as a,kha as b,lha as c}from"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-r930b2z3.mjs";c();export{b as PERMISSION_MODES,a as EXTERNAL_PERMISSION_MODES};
@@ -0,0 +1 @@
1
+ import{ae as S,be as d}from"./cli-1.1.14-cj411dk7.mjs";import{vg as B,wg as P,xg as F,zg as D}from"./cli-1.1.14-g7acy34j.mjs";import{Im as A,Nm as m,SK as y,UK as j,km as U,lm as _,no as I,om as g,ro as c}from"./cli-1.1.14-8fx5qjh6.mjs";import"./cli-1.1.14-gv9rt2h8.mjs";import"./cli-1.1.14-hcaktmq1.mjs";import"./cli-1.1.14-vdsx0cw7.mjs";import"./cli-1.1.14-8p0w0geq.mjs";import"./cli-1.1.14-qfc8zb5d.mjs";import"./cli-1.1.14-gf6m8qz3.mjs";import"./cli-1.1.14-jgers44a.mjs";import"./cli-1.1.14-8wdw7x7k.mjs";import"./cli-1.1.14-pce9xpxh.mjs";import"./cli-1.1.14-a5v23mcj.mjs";import"./cli-1.1.14-6ae3m5qs.mjs";import"./cli-1.1.14-nqa3ttq6.mjs";import"./cli-1.1.14-8yw87v1w.mjs";import"./cli-1.1.14-4w3fbvdq.mjs";import"./cli-1.1.14-9gvsxyt7.mjs";import"./cli-1.1.14-pfsqawey.mjs";import"./cli-1.1.14-53dfe61t.mjs";import"./cli-1.1.14-1dph8n41.mjs";import"./cli-1.1.14-rmjnqb9b.mjs";import"./cli-1.1.14-3a1bnf85.mjs";import"./cli-1.1.14-srbcxz1e.mjs";import{I0 as V,K0 as G,jZ as h,n1 as T}from"./cli-1.1.14-hdkyecme.mjs";import"./cli-1.1.14-9nw51dsq.mjs";import"./cli-1.1.14-73zh23ez.mjs";import"./cli-1.1.14-qm7sjy8p.mjs";import"./cli-1.1.14-3f4fg0jf.mjs";import"./cli-1.1.14-yfknrxme.mjs";import"./cli-1.1.14-ftjv2jrz.mjs";import"./cli-1.1.14-4hs7pyh0.mjs";import"./cli-1.1.14-bwc8pb1f.mjs";import"./cli-1.1.14-1d5gcev8.mjs";import"./cli-1.1.14-chn2z068.mjs";import{L3 as w,M3 as W,N3 as Z}from"./cli-1.1.14-az6pbe66.mjs";import"./cli-1.1.14-pgkjn3yw.mjs";import"./cli-1.1.14-ykbz2fee.mjs";import"./cli-1.1.14-377p51gp.mjs";import"./cli-1.1.14-1zf42f1b.mjs";import"./cli-1.1.14-42r8tafr.mjs";import"./cli-1.1.14-6ex3vykg.mjs";import"./cli-1.1.14-ehnnwt4w.mjs";import"./cli-1.1.14-msb0xfz3.mjs";import"./cli-1.1.14-b1sbm8w6.mjs";import"./cli-1.1.14-eh3y4akg.mjs";import"./cli-1.1.14-cran8hzr.mjs";import"./cli-1.1.14-n1hm0gd6.mjs";import"./cli-1.1.14-q1kc6b8n.mjs";import"./cli-1.1.14-byr5dy4k.mjs";import"./cli-1.1.14-0e209hdd.mjs";import"./cli-1.1.14-947tpwm7.mjs";import"./cli-1.1.14-qe4ypfya.mjs";import"./cli-1.1.14-ec6d00xg.mjs";import"./cli-1.1.14-xcg5hzkp.mjs";import"./cli-1.1.14-ry5bys5g.mjs";import"./cli-1.1.14-f5bvc359.mjs";import"./cli-1.1.14-db3mxak8.mjs";import"./cli-1.1.14-cakvdwn3.mjs";import"./cli-1.1.14-fwakcyhj.mjs";import"./cli-1.1.14-83ng5cjk.mjs";import{Qpa as R,Sqa as u}from"./cli-1.1.14-f9dpkjv9.mjs";import"./cli-1.1.14-znbm9h8t.mjs";import"./cli-1.1.14-vx8jq8gy.mjs";import"./cli-1.1.14-pa5nsjfc.mjs";import"./cli-1.1.14-j9qy5cj8.mjs";import"./cli-1.1.14-n351xrzx.mjs";import{Asa as C,Esa as N}from"./cli-1.1.14-r930b2z3.mjs";function $(z){let b=v.c(11),{planContent:H,planPath:K,editorName:J}=z,L;if(b[0]===Symbol.for("react.memo_cache_sentinel"))L=w(G,{bold:!0,children:"Current Plan"}),b[0]=L;else L=b[0];let k;if(b[1]!==K)k=w(G,{dimColor:!0,children:K}),b[1]=K,b[2]=k;else k=b[2];let q;if(b[3]!==H)q=w(V,{marginTop:1,children:w(G,{children:H})}),b[3]=H,b[4]=q;else q=b[4];let f;if(b[5]!==J)f=J&&W(V,{marginTop:1,children:[w(G,{dimColor:!0,children:'"/plan open"'}),w(G,{dimColor:!0,children:" to edit this plan in "}),w(G,{bold:!0,dimColor:!0,children:J})]}),b[5]=J,b[6]=f;else f=b[6];let O;if(b[7]!==k||b[8]!==q||b[9]!==f)O=W(V,{flexDirection:"column",children:[L,k,q,f]}),b[7]=k,b[8]=q,b[9]=f,b[10]=O;else O=b[10];return O}async function bb(z,b,H){let{getAppState:K,setAppState:J}=b,k=K().toolPermissionContext.mode;if(k!=="plan"){R(k,"plan"),J((Y)=>({...Y,toolPermissionContext:A(y(Y.toolPermissionContext),{type:"setMode",mode:"plan",destination:"session"})}));let Q=H.trim();if(Q&&Q!=="open")z("Enabled plan mode",{shouldQuery:!0});else z("Enabled plan mode");return null}let q=_(),f=U();if(!q)return z("Already in plan mode. No plan written yet."),null;if(H.trim().split(/\s+/)[0]==="open"){let Q=await F(f);if(Q.error)z(`Failed to open plan in editor: ${Q.error}`);else z(`Opened plan in editor: ${f}`);return null}let X=B(),E=X?I(X):void 0,M=await S(w($,{planContent:q,planPath:f,editorName:E}));return z(M),null}var v;var x=N(()=>{u();T();P();c();m();j();g();D();d();Z();v=C(h(),1)});x();export{bb as call};
@@ -0,0 +1 @@
1
+ import{Esa as z}from"./cli-1.1.14-r930b2z3.mjs";var g=()=>null,c=class{},q,A,a,D=!0,E=null,F,G,H,I,J=null,K=null,L,M,P,Q,R,S,U,V,W,X,Y,Z,_,$,b,i,k,u,w,y,N,O="service.name",T="service.version",h="service.name",x="service.version",d,f,m,t,e;var B=z(()=>{q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},A=new Proxy(g,q),a=A,F=new Proxy({},{get:()=>g}),G={parse:()=>({})},H=[],I=g,L=g,M=g,P={SUCCESS:0,FAILED:1},Q=g,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k=c,u=c,w={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},y={active:g,with:(v,j)=>j()},N={OK:0,ERROR:1,UNSET:2},d={CUMULATIVE:0,DELTA:1},f={HISTOGRAM:0,SUM:1,GAUGE:2},m={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},t=c,e={}});B();export{w as trace,Q as resourceFromAttributes,M as plot,L as getSyntaxTheme,I as getMcpConfigForManifest,a as default,y as context,D as __stub,N as SpanStatusCode,S as SimpleSpanProcessor,b as SimpleLogRecordProcessor,e as SeverityNumber,E as SandboxViolationStore,G as SandboxRuntimeConfigSchema,F as SandboxManager,x as SEMRESATTRS_SERVICE_VERSION,h as SEMRESATTRS_SERVICE_NAME,R as Resource,t as PushMetricExporter,_ as PrometheusExporter,u as PeriodicExportingMetricReader,X as OTLPTraceExporter,Z as OTLPMetricExporter,Y as OTLPLogExporter,V as NodeTracerProvider,k as MeterProvider,$ as LoggerProvider,m as InstrumentType,P as ExportResultCode,f as DataPointType,K as ColorFile,J as ColorDiff,U as BatchSpanProcessor,i as BatchLogRecordProcessor,W as BasicTracerProvider,H as BROWSER_TOOLS,d as AggregationTemporality,T as ATTR_SERVICE_VERSION,O as ATTR_SERVICE_NAME};