@opencode/core 0.0.0-dev-442 → 0.0.0-dev-445

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 (918) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +240 -240
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{repository-cache-034tev2y.js → tool-034tev2y.js} +2 -2
  9. package/dist/chunks/{repository-cache-zqbv3gar.js → tool-04hrbnke.js} +22 -22
  10. package/dist/chunks/{repository-cache-cawz4cxe.js → tool-058p9g98.js} +19 -19
  11. package/dist/chunks/{repository-cache-0j7gp832.js → tool-0j7gp832.js} +1 -1
  12. package/dist/chunks/{repository-cache-4pw98qd4.js → tool-0m9q59s6.js} +4 -4
  13. package/dist/chunks/{repository-cache-0ma9gw4f.js → tool-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{repository-cache-4dg124c5.js → tool-0nde5ztd.js} +5 -5
  15. package/dist/chunks/{repository-cache-yav33qdh.js → tool-0qzsd7h4.js} +14 -14
  16. package/dist/chunks/{repository-cache-3g08hg2f.js → tool-0r9rxd8b.js} +25 -25
  17. package/dist/chunks/{repository-cache-prdpr5kc.js → tool-0ybp4qnq.js} +12 -12
  18. package/dist/chunks/{repository-cache-hy8c1z76.js → tool-160yv0cs.js} +8 -8
  19. package/dist/chunks/{repository-cache-1aqsckx4.js → tool-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{repository-cache-mvb2pkyv.js → tool-1e5yc0yj.js} +11 -11
  21. package/dist/chunks/{repository-cache-1ep2p91f.js → tool-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{repository-cache-xh3hzwmr.js → tool-1q4j3vt9.js} +20 -20
  23. package/dist/chunks/{repository-cache-3fsaky9c.js → tool-1scpnkam.js} +12 -12
  24. package/dist/chunks/{repository-cache-cxz2fhw5.js → tool-1vcr586d.js} +10 -10
  25. package/dist/chunks/{repository-cache-zz1fbq3g.js → tool-1wyzen4g.js} +48 -48
  26. package/dist/chunks/{repository-cache-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{repository-cache-k7j4356s.js → tool-1yrt9mfc.js} +6 -6
  28. package/dist/chunks/{repository-cache-qxga34ac.js → tool-1z80j9s6.js} +24 -24
  29. package/dist/chunks/{repository-cache-vpwbrwqk.js → tool-290jyxrn.js} +39 -39
  30. package/dist/chunks/{repository-cache-52gwzjjv.js → tool-29smdr3c.js} +21 -21
  31. package/dist/chunks/{repository-cache-68hqcxr6.js → tool-2b08w8wg.js} +15 -15
  32. package/dist/chunks/{repository-cache-0gyzmnp3.js → tool-2b7p4jrd.js} +5 -5
  33. package/dist/chunks/{repository-cache-0hgar71m.js → tool-2j56ds13.js} +18 -18
  34. package/dist/chunks/{repository-cache-xmx7xj34.js → tool-2kj7f5bg.js} +7 -7
  35. package/dist/chunks/{repository-cache-zez9874q.js → tool-2m3wp1kk.js} +5 -5
  36. package/dist/chunks/{repository-cache-ad21tgm2.js → tool-2p60zmnr.js} +4 -4
  37. package/dist/chunks/tool-2t0varmf.js +26 -0
  38. package/dist/chunks/{repository-cache-vwj0z6sg.js → tool-2y7n45nv.js} +20 -20
  39. package/dist/chunks/{repository-cache-nbvtxs6e.js → tool-37hg9b8g.js} +59 -59
  40. package/dist/chunks/{repository-cache-0x0dw6ca.js → tool-3etgmwdh.js} +18 -18
  41. package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{repository-cache-jh6r09h5.js → tool-3n0w1hcj.js} +8 -8
  43. package/dist/chunks/{repository-cache-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{repository-cache-bbn0gsv3.js → tool-3scsgznq.js} +26 -26
  45. package/dist/chunks/{repository-cache-e049sp69.js → tool-3smz2ab8.js} +32 -32
  46. package/dist/chunks/{repository-cache-vb8z5b0v.js → tool-3wz7pzfc.js} +6 -6
  47. package/dist/chunks/{repository-cache-40y6dtc2.js → tool-40y6dtc2.js} +1 -1
  48. package/dist/chunks/tool-447e52ps.js +555 -0
  49. package/dist/chunks/{repository-cache-twhtcdx9.js → tool-44pmzq9c.js} +4 -4
  50. package/dist/chunks/{repository-cache-qk4mrd8m.js → tool-4cdp6f63.js} +4 -4
  51. package/dist/chunks/{repository-cache-hjab8tmw.js → tool-4dtk0t2m.js} +13 -13
  52. package/dist/chunks/{repository-cache-4dx1dgte.js → tool-4dx1dgte.js} +1 -1
  53. package/dist/chunks/{repository-cache-4f25tdd0.js → tool-4f25tdd0.js} +1 -1
  54. package/dist/chunks/{repository-cache-7rrfv9s3.js → tool-4jd043gh.js} +15 -15
  55. package/dist/chunks/{repository-cache-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
  56. package/dist/chunks/{repository-cache-wtr3736h.js → tool-4smfr4z1.js} +17 -17
  57. package/dist/chunks/{repository-cache-4v008n1t.js → tool-4v008n1t.js} +1 -1
  58. package/dist/chunks/{repository-cache-qt2z3a0z.js → tool-4wsaayw1.js} +7 -7
  59. package/dist/chunks/{repository-cache-2jf9w73g.js → tool-4z3kjcpx.js} +12 -12
  60. package/dist/chunks/{repository-cache-h060p2hk.js → tool-52nze26m.js} +46 -46
  61. package/dist/chunks/{repository-cache-9y98b3v5.js → tool-53qxhngr.js} +4 -4
  62. package/dist/chunks/{repository-cache-xy38xmvm.js → tool-555cqe3y.js} +9 -9
  63. package/dist/chunks/{repository-cache-rx1f5s7v.js → tool-57fs3qve.js} +31 -31
  64. package/dist/chunks/{repository-cache-3dempbt2.js → tool-5j89vnby.js} +8 -8
  65. package/dist/chunks/{repository-cache-c3drhxjj.js → tool-5kexb1yv.js} +60 -60
  66. package/dist/chunks/{repository-cache-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  67. package/dist/chunks/{repository-cache-3s9d6j15.js → tool-5nzp4atq.js} +12 -12
  68. package/dist/chunks/{repository-cache-zcnch7vt.js → tool-62b0mtf4.js} +11 -11
  69. package/dist/chunks/{repository-cache-jkjd442p.js → tool-65531gnt.js} +18 -18
  70. package/dist/chunks/{repository-cache-67xca3db.js → tool-67xca3db.js} +3 -3
  71. package/dist/chunks/{repository-cache-q4m8323c.js → tool-68yz8wc5.js} +3 -3
  72. package/dist/chunks/{repository-cache-mavfbhde.js → tool-6cda7skz.js} +1 -1
  73. package/dist/chunks/{repository-cache-est5w5t7.js → tool-6d0d1q6g.js} +4 -4
  74. package/dist/chunks/{repository-cache-wwy9zr36.js → tool-6m7kkc6m.js} +12 -12
  75. package/dist/chunks/{repository-cache-2c6sxtb9.js → tool-6sg7v011.js} +2 -2
  76. package/dist/chunks/{repository-cache-9987b4hv.js → tool-6t99sjh8.js} +31 -31
  77. package/dist/chunks/{repository-cache-rwf8drt1.js → tool-6xvz3m61.js} +19 -19
  78. package/dist/chunks/{repository-cache-96137s5q.js → tool-6ybchgnd.js} +3 -3
  79. package/dist/chunks/{repository-cache-289tt5w7.js → tool-737qxf4j.js} +10 -10
  80. package/dist/chunks/{repository-cache-s42kcc5g.js → tool-73aa81yw.js} +15 -15
  81. package/dist/chunks/{repository-cache-pfv09rma.js → tool-78xkbf55.js} +15 -15
  82. package/dist/chunks/{repository-cache-4rx7jpwk.js → tool-79sfw1xt.js} +22 -22
  83. package/dist/chunks/{repository-cache-sr4yt9k3.js → tool-7bfv676c.js} +91 -91
  84. package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{repository-cache-1sg5dvqw.js → tool-7cs3xdpe.js} +5 -5
  86. package/dist/chunks/{repository-cache-z75nd8wb.js → tool-7gba69t1.js} +10 -10
  87. package/dist/chunks/{repository-cache-jm6whcwz.js → tool-7hk62ckt.js} +35 -35
  88. package/dist/chunks/{repository-cache-7kr66rt3.js → tool-7kr66rt3.js} +1 -1
  89. package/dist/chunks/{repository-cache-1ap8nk4y.js → tool-7mv4edyq.js} +27 -27
  90. package/dist/chunks/{repository-cache-0j3vgrzm.js → tool-7n98e5dz.js} +3 -3
  91. package/dist/chunks/{repository-cache-7amawddc.js → tool-7t3apcn0.js} +12 -12
  92. package/dist/chunks/{repository-cache-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
  93. package/dist/chunks/{repository-cache-7weczvnd.js → tool-7weczvnd.js} +1 -1
  94. package/dist/chunks/{repository-cache-3e73c9p6.js → tool-7wx6r3ca.js} +10 -10
  95. package/dist/chunks/{repository-cache-ydwj82v4.js → tool-7zev22rg.js} +1 -1
  96. package/dist/chunks/{repository-cache-775hqbnd.js → tool-80mg3ag8.js} +3 -3
  97. package/dist/chunks/{repository-cache-pjexw8hq.js → tool-825z9ch3.js} +13 -13
  98. package/dist/chunks/{repository-cache-pd4m7bts.js → tool-832bdyzy.js} +11 -11
  99. package/dist/chunks/{repository-cache-8azmfwdk.js → tool-83qakqap.js} +35 -35
  100. package/dist/chunks/{repository-cache-89287pr7.js → tool-89287pr7.js} +1 -1
  101. package/dist/chunks/{repository-cache-8b3vzgkx.js → tool-8b3vzgkx.js} +1 -1
  102. package/dist/chunks/{repository-cache-b2armg7w.js → tool-8cg7mtm3.js} +4 -4
  103. package/dist/chunks/{repository-cache-p9j2z5m0.js → tool-8dfptpqb.js} +4 -4
  104. package/dist/chunks/{repository-cache-pwpvfwx2.js → tool-8etydfns.js} +23 -23
  105. package/dist/chunks/{repository-cache-ega415az.js → tool-8hfqzg5m.js} +9 -9
  106. package/dist/chunks/{repository-cache-a52zaz86.js → tool-8jkte0s5.js} +29 -29
  107. package/dist/chunks/{repository-cache-crfddmzc.js → tool-8n09hdvs.js} +8 -8
  108. package/dist/chunks/{repository-cache-rmv7fhs4.js → tool-8wjgamp7.js} +3 -3
  109. package/dist/chunks/{repository-cache-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
  110. package/dist/chunks/{repository-cache-6cbzbqkd.js → tool-8zzaerw3.js} +11 -11
  111. package/dist/chunks/{repository-cache-90zstvax.js → tool-90zstvax.js} +1 -1
  112. package/dist/chunks/{repository-cache-94s5f2xb.js → tool-94s5f2xb.js} +1 -1
  113. package/dist/chunks/{repository-cache-a0fq0pbv.js → tool-963hk181.js} +9 -9
  114. package/dist/chunks/{repository-cache-ag06drps.js → tool-9e82rw41.js} +8 -8
  115. package/dist/chunks/{repository-cache-49rfwdh8.js → tool-9gf1atxf.js} +43 -43
  116. package/dist/chunks/{repository-cache-2p2ngww5.js → tool-9pfjt3e4.js} +14 -14
  117. package/dist/chunks/{repository-cache-rnsjpp0v.js → tool-9wy3h6q7.js} +15 -15
  118. package/dist/chunks/{repository-cache-fn5v6rn7.js → tool-9x0zyyhc.js} +56 -56
  119. package/dist/chunks/{repository-cache-pfwm222d.js → tool-a1qh0yc6.js} +21 -21
  120. package/dist/chunks/{repository-cache-4w17k448.js → tool-a237czk6.js} +9 -9
  121. package/dist/chunks/{repository-cache-q85rya1m.js → tool-a4ww6fpm.js} +6 -6
  122. package/dist/chunks/{repository-cache-7nqkf5r1.js → tool-a5fx33f2.js} +6 -6
  123. package/dist/chunks/{repository-cache-wpfagg7q.js → tool-a784801j.js} +30 -30
  124. package/dist/chunks/{repository-cache-anaenpns.js → tool-amcjzf78.js} +17 -17
  125. package/dist/chunks/{repository-cache-ayjs7tqn.js → tool-ayjs7tqn.js} +2 -2
  126. package/dist/chunks/{repository-cache-d5rganww.js → tool-ayrp2r0n.js} +17 -17
  127. package/dist/chunks/{repository-cache-gbkhbwft.js → tool-b1wr2abc.js} +23 -23
  128. package/dist/chunks/{repository-cache-gkkfeabc.js → tool-b4st0wny.js} +49 -49
  129. package/dist/chunks/{repository-cache-v1evv7rr.js → tool-b64wsfyg.js} +8 -8
  130. package/dist/chunks/{repository-cache-5nnwax6m.js → tool-b6vsg801.js} +5 -5
  131. package/dist/chunks/{repository-cache-zewg1mz5.js → tool-b7tb94b1.js} +30 -29
  132. package/dist/chunks/{repository-cache-wjbv9knt.js → tool-bcqqg7ry.js} +11 -11
  133. package/dist/chunks/{repository-cache-cb6pr36r.js → tool-bgd4zz6g.js} +23 -23
  134. package/dist/chunks/{repository-cache-bhfd478d.js → tool-bhfd478d.js} +1 -1
  135. package/dist/chunks/{repository-cache-1xj78a1d.js → tool-bs9sdagx.js} +40 -40
  136. package/dist/chunks/{repository-cache-jqsw4n81.js → tool-bsek2bbw.js} +5 -5
  137. package/dist/chunks/{repository-cache-82q75xp6.js → tool-bsfkzme1.js} +9 -9
  138. package/dist/chunks/{repository-cache-bstexjd6.js → tool-bstexjd6.js} +1 -1
  139. package/dist/chunks/{repository-cache-89hwzfe6.js → tool-c291rzpy.js} +23 -23
  140. package/dist/chunks/{repository-cache-6x9fp5f4.js → tool-c32zfq3f.js} +8 -8
  141. package/dist/chunks/{repository-cache-35edbg34.js → tool-cbs4h58g.js} +31 -31
  142. package/dist/chunks/{repository-cache-0mfja933.js → tool-ckykdpc8.js} +58 -58
  143. package/dist/chunks/{repository-cache-xq55bs10.js → tool-cr2zpvyx.js} +82 -82
  144. package/dist/chunks/{repository-cache-0bx5gdyx.js → tool-cv5az1t0.js} +21 -21
  145. package/dist/chunks/{repository-cache-xkgrgrva.js → tool-cvtbhvpz.js} +45 -45
  146. package/dist/chunks/{repository-cache-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
  147. package/dist/chunks/{repository-cache-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
  148. package/dist/chunks/{repository-cache-e1bmcdag.js → tool-d80yaymc.js} +4 -4
  149. package/dist/chunks/{repository-cache-ybvsasn0.js → tool-db7wnpf4.js} +18 -18
  150. package/dist/chunks/{repository-cache-dgvyj81v.js → tool-dbfaamx1.js} +23 -23
  151. package/dist/chunks/{repository-cache-7stb81gk.js → tool-dbht28n9.js} +10 -13
  152. package/dist/chunks/{repository-cache-gtwncx8g.js → tool-dbvhy92c.js} +29 -29
  153. package/dist/chunks/{repository-cache-f59g66b7.js → tool-dcwp1qph.js} +28 -28
  154. package/dist/chunks/{repository-cache-q42sg809.js → tool-dkwky0e9.js} +1 -1
  155. package/dist/chunks/{repository-cache-qtwp1x96.js → tool-ds7k7p4f.js} +53 -53
  156. package/dist/chunks/{repository-cache-dt77769w.js → tool-dt77769w.js} +1 -1
  157. package/dist/chunks/{repository-cache-dv96216k.js → tool-dxsywhez.js} +6 -5
  158. package/dist/chunks/{repository-cache-bz6hdee9.js → tool-e354rcns.js} +12 -12
  159. package/dist/chunks/{repository-cache-epxy24xv.js → tool-e6dhz8k8.js} +2 -2
  160. package/dist/chunks/{repository-cache-e834z07m.js → tool-e834z07m.js} +1 -1
  161. package/dist/chunks/{repository-cache-e5jpawtk.js → tool-eavck919.js} +6 -6
  162. package/dist/chunks/{repository-cache-dqhrmf7j.js → tool-ejk6sxm0.js} +13 -13
  163. package/dist/chunks/{repository-cache-eqw4pqj1.js → tool-eqw4pqj1.js} +2 -2
  164. package/dist/chunks/{repository-cache-5ajs5fv3.js → tool-erqa4ym4.js} +17 -17
  165. package/dist/chunks/{repository-cache-w3r8pvyd.js → tool-eyjfkt33.js} +22 -22
  166. package/dist/chunks/tool-ezna1kdx.js +18 -0
  167. package/dist/chunks/{repository-cache-49fetqk2.js → tool-fb609nat.js} +31 -31
  168. package/dist/chunks/{repository-cache-vt801hez.js → tool-fbywdd3x.js} +18 -18
  169. package/dist/chunks/{repository-cache-fg0mp2nh.js → tool-fdjq7h4v.js} +9 -9
  170. package/dist/chunks/{repository-cache-n4de5rt9.js → tool-ff0yba6y.js} +12 -12
  171. package/dist/chunks/{repository-cache-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
  172. package/dist/chunks/{repository-cache-e2pvbaw5.js → tool-ffmpd7vv.js} +5 -5
  173. package/dist/chunks/{repository-cache-fg9p65nk.js → tool-fg9p65nk.js} +2 -2
  174. package/dist/chunks/{repository-cache-jvkzgxpb.js → tool-fmrn1hft.js} +5 -5
  175. package/dist/chunks/{repository-cache-vsnnaxjq.js → tool-fwp9mfc9.js} +4 -4
  176. package/dist/chunks/{repository-cache-ax1ejevv.js → tool-g1j6mga3.js} +26 -26
  177. package/dist/chunks/{repository-cache-x3h2bqkh.js → tool-g2b8th34.js} +26 -26
  178. package/dist/chunks/{repository-cache-6f6jm3cp.js → tool-g6axq7c8.js} +8 -8
  179. package/dist/chunks/{repository-cache-jmg7y0j6.js → tool-g8088phe.js} +11 -11
  180. package/dist/chunks/{repository-cache-vn5mpp1y.js → tool-g8v7jdav.js} +4 -4
  181. package/dist/chunks/{repository-cache-gbjdnr5j.js → tool-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{repository-cache-11zs7ceg.js → tool-gp2v4fwm.js} +50 -50
  183. package/dist/chunks/{repository-cache-vk84a1qz.js → tool-gt5pd5rr.js} +12 -12
  184. package/dist/chunks/{repository-cache-9010571t.js → tool-h0sr4r5j.js} +9 -9
  185. package/dist/chunks/{repository-cache-pzqn12hg.js → tool-h34azzt3.js} +17 -17
  186. package/dist/chunks/{repository-cache-yrsk760m.js → tool-h4ydtgpm.js} +32 -32
  187. package/dist/chunks/{repository-cache-mwh0kypr.js → tool-h6p8j4j4.js} +27 -27
  188. package/dist/chunks/{repository-cache-031xjkpy.js → tool-h7ggae4k.js} +7 -7
  189. package/dist/chunks/{repository-cache-n83rrxve.js → tool-hdssvm4n.js} +11 -11
  190. package/dist/chunks/{repository-cache-pzx81v4b.js → tool-hhfn9b2w.js} +14 -14
  191. package/dist/chunks/{repository-cache-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
  192. package/dist/chunks/{repository-cache-tp6jxtjv.js → tool-htk595z3.js} +22 -22
  193. package/dist/chunks/{repository-cache-1atc1ew8.js → tool-jpb17t0e.js} +32 -32
  194. package/dist/chunks/{repository-cache-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
  195. package/dist/chunks/{repository-cache-g8tbqp6f.js → tool-jzx7em37.js} +22 -22
  196. package/dist/chunks/{repository-cache-zqbe7jzz.js → tool-k0epm85s.js} +7 -7
  197. package/dist/chunks/{repository-cache-9mm8k45w.js → tool-k3mdht1r.js} +16 -16
  198. package/dist/chunks/{repository-cache-cf3f13z6.js → tool-k5027ak4.js} +8 -8
  199. package/dist/chunks/{repository-cache-2gw5j43h.js → tool-kenm8tf1.js} +7 -7
  200. package/dist/chunks/{repository-cache-6wjqvx4f.js → tool-kfs9y5dj.js} +15 -15
  201. package/dist/chunks/{repository-cache-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
  202. package/dist/chunks/{repository-cache-ke9ajvg5.js → tool-kynaxm5r.js} +81 -81
  203. package/dist/chunks/{repository-cache-kzczzf4v.js → tool-kzczzf4v.js} +1 -1
  204. package/dist/chunks/{repository-cache-m1714858.js → tool-m1714858.js} +1 -1
  205. package/dist/chunks/{repository-cache-5wzzagzn.js → tool-m45z9njj.js} +43 -43
  206. package/dist/chunks/{repository-cache-c3ce7cxf.js → tool-m4h69yn9.js} +6 -6
  207. package/dist/chunks/{repository-cache-vgt9qsck.js → tool-m58h2mss.js} +26 -26
  208. package/dist/chunks/{repository-cache-8nf6shhp.js → tool-m5db3969.js} +8 -8
  209. package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  210. package/dist/chunks/{repository-cache-mb7mbhnz.js → tool-mb7mbhnz.js} +3 -3
  211. package/dist/chunks/{repository-cache-fttgx5bx.js → tool-mfmx1eew.js} +1 -1
  212. package/dist/chunks/{repository-cache-bcwyzmh3.js → tool-mn5c993e.js} +11 -11
  213. package/dist/chunks/{repository-cache-4tnarq1t.js → tool-msd2a3qm.js} +6 -6
  214. package/dist/chunks/{repository-cache-xyxz2bdy.js → tool-mtbbaj7x.js} +3 -3
  215. package/dist/chunks/{repository-cache-3xwqryxq.js → tool-mxqsamga.js} +23 -23
  216. package/dist/chunks/{repository-cache-bjnwfd5d.js → tool-n0jb8c2e.js} +43 -43
  217. package/dist/chunks/{repository-cache-xhtv64v8.js → tool-n6dz78md.js} +6 -6
  218. package/dist/chunks/{repository-cache-pefks0an.js → tool-n9y93s8c.js} +11 -11
  219. package/dist/chunks/{repository-cache-a5e3yv5v.js → tool-nn1wv3tr.js} +32 -32
  220. package/dist/chunks/{repository-cache-kj9n5bvh.js → tool-nr915jn7.js} +4 -4
  221. package/dist/chunks/{repository-cache-hsnq1va6.js → tool-p55ejza0.js} +5 -5
  222. package/dist/chunks/{repository-cache-1yq9hg58.js → tool-p7vhpwh8.js} +5 -5
  223. package/dist/chunks/{repository-cache-hdcneay5.js → tool-pdjdgfy6.js} +36 -36
  224. package/dist/chunks/{repository-cache-sm3wp3c9.js → tool-pe5efk4e.js} +24 -24
  225. package/dist/chunks/{repository-cache-v5bt1qpq.js → tool-pehkm274.js} +17 -17
  226. package/dist/chunks/{repository-cache-fxq8aqd2.js → tool-pgdk3wa7.js} +8 -8
  227. package/dist/chunks/{repository-cache-rz8thg42.js → tool-pjgv8mag.js} +14 -14
  228. package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
  229. package/dist/chunks/{repository-cache-hnqwc8w0.js → tool-pqg96c18.js} +48 -48
  230. package/dist/chunks/{repository-cache-zqjd7nbm.js → tool-psae579h.js} +6 -6
  231. package/dist/chunks/{repository-cache-fhczekzs.js → tool-q23ydmn6.js} +21 -21
  232. package/dist/chunks/{repository-cache-2sqajb4m.js → tool-q5kjt1w2.js} +45 -45
  233. package/dist/chunks/{repository-cache-xbnjv5gq.js → tool-q8f5p1vv.js} +20 -20
  234. package/dist/chunks/{repository-cache-602q2zhr.js → tool-q9v326zp.js} +7 -7
  235. package/dist/chunks/{repository-cache-j3qkssg1.js → tool-qbcc8k40.js} +27 -27
  236. package/dist/chunks/{repository-cache-x9v0acas.js → tool-qgv65c24.js} +14 -14
  237. package/dist/chunks/{repository-cache-awzfe97c.js → tool-qhnnvwnt.js} +5 -5
  238. package/dist/chunks/{repository-cache-c32j6rj9.js → tool-qj97zj8m.js} +11 -11
  239. package/dist/chunks/{repository-cache-qk5sk9d1.js → tool-qk5sk9d1.js} +2 -2
  240. package/dist/chunks/{repository-cache-b9tgh6dx.js → tool-qmre421v.js} +43 -43
  241. package/dist/chunks/{repository-cache-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
  242. package/dist/chunks/{repository-cache-qqvy8y24.js → tool-qqvy8y24.js} +1 -1
  243. package/dist/chunks/{repository-cache-eyx805n4.js → tool-qrct5xj0.js} +5 -5
  244. package/dist/chunks/{repository-cache-qsdghx1p.js → tool-qsdghx1p.js} +1 -1
  245. package/dist/chunks/{repository-cache-8et7qpna.js → tool-r0dnx8s7.js} +9 -9
  246. package/dist/chunks/{repository-cache-w2eysc6j.js → tool-r41sfy63.js} +6 -6
  247. package/dist/chunks/{repository-cache-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
  248. package/dist/chunks/{repository-cache-be5kz4xp.js → tool-rbt3gx7m.js} +27 -27
  249. package/dist/chunks/{repository-cache-qz95d27t.js → tool-rc7cmy01.js} +9 -9
  250. package/dist/chunks/{repository-cache-e32ybkv4.js → tool-re139r5f.js} +24 -24
  251. package/dist/chunks/{repository-cache-men5760m.js → tool-rhtjkvex.js} +6 -6
  252. package/dist/chunks/{repository-cache-px7qpgcn.js → tool-rj7j5fvs.js} +4 -4
  253. package/dist/chunks/tool-rks6qm78.js +261 -0
  254. package/dist/chunks/{repository-cache-t31x65z6.js → tool-rn9y9nwd.js} +28 -28
  255. package/dist/chunks/{repository-cache-6qk1bgz2.js → tool-rsb624gb.js} +11 -11
  256. package/dist/chunks/{repository-cache-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
  257. package/dist/chunks/{repository-cache-12fg3f5q.js → tool-s780xm4q.js} +11 -11
  258. package/dist/chunks/{repository-cache-zdnc43b0.js → tool-s79dcpfj.js} +31 -31
  259. package/dist/chunks/{repository-cache-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
  260. package/dist/chunks/{repository-cache-sbya78hr.js → tool-sbya78hr.js} +1 -1
  261. package/dist/chunks/{repository-cache-sbz71ybr.js → tool-sbz71ybr.js} +1 -1
  262. package/dist/chunks/{repository-cache-ghs03ebf.js → tool-sg3kcgds.js} +31 -31
  263. package/dist/chunks/{repository-cache-nt907s04.js → tool-sv909n4y.js} +3 -3
  264. package/dist/chunks/{repository-cache-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
  265. package/dist/chunks/{repository-cache-21evxy92.js → tool-sxbmj56q.js} +9 -9
  266. package/dist/chunks/{repository-cache-n4z1q12f.js → tool-szwm4crx.js} +7 -7
  267. package/dist/chunks/{repository-cache-eccy49gq.js → tool-t5fyb1pe.js} +19 -19
  268. package/dist/chunks/{repository-cache-mza2f58d.js → tool-t7ymes5c.js} +27 -27
  269. package/dist/chunks/{repository-cache-a8vh61nm.js → tool-t885gawg.js} +3 -3
  270. package/dist/chunks/{repository-cache-78p2h4ex.js → tool-t8erkws8.js} +5 -5
  271. package/dist/chunks/{repository-cache-msw5c1mm.js → tool-t8ndxv1j.js} +15 -15
  272. package/dist/chunks/{repository-cache-tb2mrvc9.js → tool-tb2mrvc9.js} +1 -1
  273. package/dist/chunks/{repository-cache-p7xbj0p1.js → tool-tbw8x9kh.js} +37 -37
  274. package/dist/chunks/{repository-cache-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
  275. package/dist/chunks/{repository-cache-t4r86xne.js → tool-te79g26x.js} +16 -16
  276. package/dist/chunks/{repository-cache-tg7s7b5t.js → tool-tg7s7b5t.js} +1 -1
  277. package/dist/chunks/{repository-cache-cx61cqrc.js → tool-tkq69f88.js} +9 -9
  278. package/dist/chunks/{repository-cache-h4681ke1.js → tool-tp9ny8ts.js} +17 -17
  279. package/dist/chunks/{repository-cache-jht64jd1.js → tool-tr8x705m.js} +4 -4
  280. package/dist/chunks/{repository-cache-ekyq4vzh.js → tool-tv3k6abg.js} +25 -25
  281. package/dist/chunks/{repository-cache-twssxy5n.js → tool-twssxy5n.js} +2 -2
  282. package/dist/chunks/{repository-cache-w79nt68w.js → tool-v0t96s7a.js} +4 -4
  283. package/dist/chunks/{repository-cache-7vgs2abw.js → tool-v15137jy.js} +19 -19
  284. package/dist/chunks/{repository-cache-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
  285. package/dist/chunks/{repository-cache-3beq3wdw.js → tool-v37bc009.js} +3 -3
  286. package/dist/chunks/{repository-cache-qf05fjbm.js → tool-v4ecg2k6.js} +9 -9
  287. package/dist/chunks/{repository-cache-rbsynrdk.js → tool-v7cge4gd.js} +12 -12
  288. package/dist/chunks/{repository-cache-vjf35v1f.js → tool-vjf35v1f.js} +1 -1
  289. package/dist/chunks/{repository-cache-pc7cxy0a.js → tool-vkh42pcj.js} +21 -21
  290. package/dist/chunks/{repository-cache-vrcsa8qx.js → tool-vrcsa8qx.js} +2 -2
  291. package/dist/chunks/{repository-cache-vt4r9rmy.js → tool-vt4r9rmy.js} +2 -2
  292. package/dist/chunks/{repository-cache-58jqnd8c.js → tool-vv55e3d6.js} +10 -10
  293. package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  294. package/dist/chunks/{repository-cache-hv10taw4.js → tool-w5v2pv5a.js} +6 -6
  295. package/dist/chunks/{repository-cache-76cb1hcw.js → tool-w8qtt4th.js} +4 -4
  296. package/dist/chunks/{repository-cache-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
  297. package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
  298. package/dist/chunks/{repository-cache-wegkxhrn.js → tool-wegkxhrn.js} +2 -2
  299. package/dist/chunks/{repository-cache-zernnfch.js → tool-wfd7zevv.js} +15 -15
  300. package/dist/chunks/{repository-cache-8t99kr38.js → tool-wfs84ra6.js} +4 -4
  301. package/dist/chunks/{repository-cache-qsv15wez.js → tool-wgbdfxvd.js} +2 -2
  302. package/dist/chunks/{repository-cache-0jk5z70p.js → tool-wjet1gt7.js} +21 -21
  303. package/dist/chunks/{repository-cache-ve6517wg.js → tool-wjmtt3sa.js} +12 -12
  304. package/dist/chunks/{repository-cache-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
  305. package/dist/chunks/{repository-cache-wr3re1en.js → tool-wr3re1en.js} +1 -1
  306. package/dist/chunks/{repository-cache-wvr8xscb.js → tool-wvr8xscb.js} +1 -1
  307. package/dist/chunks/{repository-cache-xk2zn0cv.js → tool-wws03c5r.js} +4 -4
  308. package/dist/chunks/{repository-cache-jfphy7h7.js → tool-x7z34gyb.js} +15 -15
  309. package/dist/chunks/{repository-cache-m15ha2ry.js → tool-xbc6qp68.js} +6 -6
  310. package/dist/chunks/{repository-cache-n5aej1f0.js → tool-xct3fz6j.js} +25 -25
  311. package/dist/chunks/{repository-cache-mfp0246b.js → tool-xhhsv7mw.js} +16 -16
  312. package/dist/chunks/{repository-cache-0fn91hv4.js → tool-xkgdstsx.js} +17 -17
  313. package/dist/chunks/{repository-cache-8xz27cp9.js → tool-xksw6ev0.js} +4 -4
  314. package/dist/chunks/{repository-cache-g1kn1j67.js → tool-xy2adanr.js} +11 -11
  315. package/dist/chunks/{repository-cache-kwzdg89x.js → tool-xywpwjrw.js} +20 -20
  316. package/dist/chunks/{repository-cache-4fhmhmr6.js → tool-y5dj6wdq.js} +35 -35
  317. package/dist/chunks/{repository-cache-175211nj.js → tool-y6vvtwtt.js} +25 -25
  318. package/dist/chunks/{repository-cache-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
  319. package/dist/chunks/{repository-cache-6x15x9ww.js → tool-yh6977xb.js} +5 -5
  320. package/dist/chunks/{repository-cache-9ha9v93m.js → tool-yn59mty3.js} +21 -21
  321. package/dist/chunks/{repository-cache-ad76pa0e.js → tool-yp73enjn.js} +5 -5
  322. package/dist/chunks/{repository-cache-t3zzabwd.js → tool-ypsgcf07.js} +33 -33
  323. package/dist/chunks/{repository-cache-yr705xyq.js → tool-yr705xyq.js} +1 -1
  324. package/dist/chunks/{repository-cache-yvtc2x31.js → tool-yvtc2x31.js} +1 -1
  325. package/dist/chunks/{repository-cache-gyg1jafw.js → tool-ywh3xphk.js} +4 -4
  326. package/dist/chunks/{repository-cache-paq6k2z6.js → tool-yx0pjcef.js} +35 -35
  327. package/dist/chunks/{repository-cache-nwadgmv1.js → tool-z075a5s0.js} +34 -34
  328. package/dist/chunks/{repository-cache-90ct6wq4.js → tool-z080rjh6.js} +4 -4
  329. package/dist/chunks/{repository-cache-1pk9kqsa.js → tool-z4jb0rsa.js} +16 -16
  330. package/dist/chunks/{repository-cache-22hcmjv3.js → tool-z5rxwr3j.js} +5 -5
  331. package/dist/chunks/{repository-cache-jd51mnhp.js → tool-z88rdk3t.js} +9 -9
  332. package/dist/chunks/{repository-cache-nzd0ryw2.js → tool-zb6s5z6p.js} +12 -12
  333. package/dist/chunks/{repository-cache-nbc9912s.js → tool-zc0xxg4w.js} +21 -21
  334. package/dist/chunks/{repository-cache-p8x08v0y.js → tool-zcacabc5.js} +31 -31
  335. package/dist/chunks/{repository-cache-j9nxzz3g.js → tool-ze75qvmd.js} +3 -3
  336. package/dist/chunks/{repository-cache-3dbnmnyb.js → tool-zf1j68yb.js} +204 -204
  337. package/dist/chunks/{repository-cache-zm27gg57.js → tool-zm27gg57.js} +2 -2
  338. package/dist/chunks/{repository-cache-zzht5m2h.js → tool-zp1akbf2.js} +29 -29
  339. package/dist/chunks/{repository-cache-3hns5yw3.js → tool-zr0ks51n.js} +38 -38
  340. package/dist/chunks/{repository-cache-hfksw2yx.js → tool-zzm7r7mg.js} +9 -9
  341. package/dist/chunks/{repository-cache-4x5tmy1n.js → tool-zztbgrz9.js} +9 -9
  342. package/dist/codemode/catalog.js +1 -1
  343. package/dist/codemode/execution.js +3 -3
  344. package/dist/codemode/fetch.js +145 -145
  345. package/dist/codemode/instructions.js +7 -7
  346. package/dist/codemode/tool.js +151 -151
  347. package/dist/command.js +96 -96
  348. package/dist/config/discovery.js +97 -97
  349. package/dist/config/integration.js +3 -3
  350. package/dist/config/managed.js +1 -1
  351. package/dist/config/markdown.js +1 -1
  352. package/dist/config/normalize.js +112 -112
  353. package/dist/config/plugin/agent.js +132 -132
  354. package/dist/config/plugin/command.js +231 -231
  355. package/dist/config/plugin/compaction.js +171 -171
  356. package/dist/config/plugin/compatibility.js +150 -150
  357. package/dist/config/plugin/entry-observer.js +1 -1
  358. package/dist/config/plugin/formatter.js +131 -131
  359. package/dist/config/plugin/image.js +130 -130
  360. package/dist/config/plugin/instruction.js +130 -130
  361. package/dist/config/plugin/location-watcher.js +130 -130
  362. package/dist/config/plugin/mcp.js +141 -141
  363. package/dist/config/plugin/policy.js +130 -130
  364. package/dist/config/plugin/provider.js +130 -130
  365. package/dist/config/plugin/reference.js +132 -132
  366. package/dist/config/plugin/shell.js +132 -132
  367. package/dist/config/plugin/skill-file.js +146 -146
  368. package/dist/config/plugin/skill-scan.js +1 -1
  369. package/dist/config/plugin/skill.js +153 -153
  370. package/dist/config/plugin/snapshot.js +130 -130
  371. package/dist/config/plugin/source.js +133 -133
  372. package/dist/config/plugin/tool-output.js +131 -131
  373. package/dist/config/plugin/websearch.js +131 -131
  374. package/dist/config/plugin/worktree.js +132 -132
  375. package/dist/config/variable.js +1 -1
  376. package/dist/config/watch.js +1 -1
  377. package/dist/config.js +135 -135
  378. package/dist/console-access.js +1 -1
  379. package/dist/credential/sql.js +2 -2
  380. package/dist/credential.js +94 -94
  381. package/dist/database/database.js +77 -77
  382. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  383. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  384. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  385. package/dist/database/drizzle/index.js +15 -15
  386. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  387. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  388. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  389. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  391. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  392. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  397. package/dist/database/drizzle.js +16 -16
  398. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  399. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  400. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  401. package/dist/database/migration/20260225215848_workspace.js +1 -1
  402. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  403. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  404. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  405. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  406. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  407. package/dist/database/migration/20260323234822_events.js +1 -1
  408. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  409. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  410. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  411. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  412. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  413. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  414. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  415. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  416. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  417. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  418. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  419. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  420. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  421. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  422. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  423. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  424. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  425. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  426. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  427. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  428. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  429. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  430. package/dist/database/migration/20260611035744_credential.js +1 -1
  431. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  432. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  433. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  434. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  435. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  436. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  437. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  438. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  439. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  440. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  441. package/dist/database/migration/20260812213948_worktree.js +1 -1
  442. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  443. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  444. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  445. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  446. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  447. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  448. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  449. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  450. package/dist/database/migration/20261025123711_blob.js +1 -1
  451. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  452. package/dist/database/migration/20261026223005_schedule.js +1 -1
  453. package/dist/database/migration/20261029002625_session_part.js +1 -1
  454. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  455. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  456. package/dist/database/migration/20261030054400_job.js +1 -1
  457. package/dist/database/migration.gen.js +60 -60
  458. package/dist/database/migration.js +62 -62
  459. package/dist/database/path.js +2 -2
  460. package/dist/database/schema.gen.js +1 -1
  461. package/dist/database/schema.sql.js +1 -1
  462. package/dist/database/sqlite.bun.js +1 -1
  463. package/dist/database/sqlite.js +1 -1
  464. package/dist/database/sqlite.node.js +1 -1
  465. package/dist/database/sqlite.workerd.js +1 -1
  466. package/dist/database/v1-migration.bun.js +105 -105
  467. package/dist/database/v1-migration.js +1 -1
  468. package/dist/effect/app-node-builder.js +430 -430
  469. package/dist/effect/app-node-platform.js +2 -2
  470. package/dist/effect/keyed-mutex.js +3 -3
  471. package/dist/effect/websocket-constructor.js +1 -1
  472. package/dist/environment/driver.js +1 -1
  473. package/dist/environment/environment.js +106 -106
  474. package/dist/environment/exec-defaults.js +2 -2
  475. package/dist/environment/files.js +1 -1
  476. package/dist/environment/index.js +106 -106
  477. package/dist/environment/local.js +2 -2
  478. package/dist/environment/memory.js +2 -2
  479. package/dist/environment/unavailable.js +1 -1
  480. package/dist/event/sql.js +1 -1
  481. package/dist/event-logger.js +85 -85
  482. package/dist/file-access.js +156 -156
  483. package/dist/file-mutation.js +107 -107
  484. package/dist/file-retention.js +1 -1
  485. package/dist/filesystem/fff.bun.js +2 -2
  486. package/dist/filesystem/fff.js +1 -1
  487. package/dist/filesystem/fff.node.js +2 -2
  488. package/dist/filesystem/fff.workerd.js +2 -2
  489. package/dist/filesystem/file-watch.js +91 -91
  490. package/dist/filesystem/location-watcher-policy.js +2 -2
  491. package/dist/filesystem/location-watcher.js +239 -239
  492. package/dist/filesystem/protected.js +3 -3
  493. package/dist/filesystem/search.js +112 -112
  494. package/dist/filesystem/watcher-binding.js +1 -1
  495. package/dist/filesystem/watcher.js +11 -11
  496. package/dist/filesystem.js +117 -117
  497. package/dist/form.js +89 -89
  498. package/dist/formatter/builtins.js +2 -2
  499. package/dist/formatter.js +100 -100
  500. package/dist/generate.js +122 -122
  501. package/dist/git.js +11 -11
  502. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  503. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  504. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  506. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  508. package/dist/github-copilot/copilot-provider.js +17 -17
  509. package/dist/github-copilot/models.js +106 -106
  510. package/dist/github-copilot/openai-compatible-error.js +1 -1
  511. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  512. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  513. package/dist/github-copilot/responses/openai-error.js +1 -1
  514. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  515. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  516. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  517. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  518. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  520. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  521. package/dist/image/notice.js +1 -1
  522. package/dist/image/photon-normalize.js +1 -1
  523. package/dist/image/photon-worker.js +1 -1
  524. package/dist/image/photon.js +4 -4
  525. package/dist/image.js +6 -6
  526. package/dist/instance/service.js +5 -5
  527. package/dist/instance.js +421 -421
  528. package/dist/instruction-discovery.js +95 -95
  529. package/dist/instructions/builtins.js +96 -96
  530. package/dist/instructions/index.js +3 -3
  531. package/dist/integration/connection.js +3 -3
  532. package/dist/integration.js +100 -100
  533. package/dist/job/sql.js +2 -2
  534. package/dist/job.js +88 -88
  535. package/dist/kv/sql.js +2 -2
  536. package/dist/kv.js +84 -84
  537. package/dist/location-activity.js +179 -179
  538. package/dist/location-lifecycle.js +150 -150
  539. package/dist/location-service-map.js +99 -99
  540. package/dist/location-services.js +418 -418
  541. package/dist/location.js +102 -102
  542. package/dist/managed-policy.js +3 -3
  543. package/dist/mcp/client.js +104 -104
  544. package/dist/mcp/index.js +122 -122
  545. package/dist/mcp/instructions.js +181 -181
  546. package/dist/mcp/oauth.js +89 -89
  547. package/dist/mcp/socket-client.js +1 -1
  548. package/dist/mcp/stdio.js +103 -103
  549. package/dist/mime.js +1 -1
  550. package/dist/modal/models.js +104 -104
  551. package/dist/model-resolver.js +112 -112
  552. package/dist/model-retry.js +1 -1
  553. package/dist/model.js +111 -111
  554. package/dist/models-dev/v1.js +1 -1
  555. package/dist/models-dev.js +121 -121
  556. package/dist/oauth/page.js +1 -1
  557. package/dist/permission/saved.js +93 -93
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +153 -153
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +99 -99
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +87 -87
  566. package/dist/plugin/command.js +115 -115
  567. package/dist/plugin/goal.js +3 -3
  568. package/dist/plugin/hooks.js +5 -5
  569. package/dist/plugin/host.js +236 -236
  570. package/dist/plugin/identity.js +5 -5
  571. package/dist/plugin/instance.js +5 -5
  572. package/dist/plugin/internal.js +397 -397
  573. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  574. package/dist/plugin/models-dev.js +110 -110
  575. package/dist/plugin/module.js +129 -129
  576. package/dist/plugin/optimize.js +4 -4
  577. package/dist/plugin/plan.js +146 -146
  578. package/dist/plugin/promise.js +1 -1
  579. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  580. package/dist/plugin/provider/azure.js +130 -130
  581. package/dist/plugin/provider/cerebras.js +1 -1
  582. package/dist/plugin/provider/chatgpt.js +130 -130
  583. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  584. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  587. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  589. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  590. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  591. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  592. package/dist/plugin/provider/claude-agent/index.js +143 -143
  593. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  594. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  597. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  598. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  602. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  603. package/dist/plugin/provider/claude-agent/session.js +112 -112
  604. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  605. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  608. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  611. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  614. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  615. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  616. package/dist/plugin/provider/configured.js +126 -126
  617. package/dist/plugin/provider/credential-settings.js +85 -85
  618. package/dist/plugin/provider/databricks.js +1 -1
  619. package/dist/plugin/provider/digitalocean.js +108 -108
  620. package/dist/plugin/provider/dynamic.js +2 -2
  621. package/dist/plugin/provider/github-copilot.js +110 -110
  622. package/dist/plugin/provider/gitlab.js +107 -107
  623. package/dist/plugin/provider/google-vertex.js +127 -127
  624. package/dist/plugin/provider/kilo.js +1 -1
  625. package/dist/plugin/provider/llmgateway.js +89 -89
  626. package/dist/plugin/provider/lmstudio.js +137 -137
  627. package/dist/plugin/provider/local.js +136 -136
  628. package/dist/plugin/provider/modal.js +107 -107
  629. package/dist/plugin/provider/neon.js +1 -1
  630. package/dist/plugin/provider/nvidia.js +1 -1
  631. package/dist/plugin/provider/ollama.js +137 -137
  632. package/dist/plugin/provider/openai-context-caps.js +103 -103
  633. package/dist/plugin/provider/openai.js +132 -132
  634. package/dist/plugin/provider/opencode.js +132 -132
  635. package/dist/plugin/provider/openrouter.js +104 -104
  636. package/dist/plugin/provider/poe.js +90 -90
  637. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  638. package/dist/plugin/provider/refresh.js +87 -87
  639. package/dist/plugin/provider/sap-ai-core.js +104 -104
  640. package/dist/plugin/provider/sdk-factory.js +1 -1
  641. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  642. package/dist/plugin/provider/vllm.js +137 -137
  643. package/dist/plugin/provider/xai.js +104 -104
  644. package/dist/plugin/provider/zenmux.js +1 -1
  645. package/dist/plugin/provider.js +212 -212
  646. package/dist/plugin/sdk.js +85 -85
  647. package/dist/plugin/service.js +3 -3
  648. package/dist/plugin/skill.js +149 -149
  649. package/dist/plugin/source-directory.js +1 -1
  650. package/dist/plugin/supervisor.js +409 -409
  651. package/dist/plugin/tool-input-repair.js +4 -4
  652. package/dist/plugin/update.js +6 -6
  653. package/dist/plugin/vcs/git.js +99 -99
  654. package/dist/plugin/vcs/hg.js +99 -99
  655. package/dist/plugin/verbosity.js +106 -106
  656. package/dist/plugin/warming.js +128 -128
  657. package/dist/plugin/websearch/exa.js +7 -7
  658. package/dist/plugin/websearch/firecrawl.js +8 -8
  659. package/dist/plugin/websearch/index.js +9 -9
  660. package/dist/plugin/websearch/mcp.js +4 -4
  661. package/dist/plugin/websearch/parallel.js +8 -8
  662. package/dist/plugin/websearch/tavily.js +6 -6
  663. package/dist/plugin/websearch/tinyfish.js +8 -8
  664. package/dist/plugin.js +247 -247
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +103 -103
  669. package/dist/provider.js +110 -110
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +99 -99
  674. package/dist/reference.js +101 -101
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +1 -1
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +110 -110
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +241 -241
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +255 -255
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +1 -1
  686. package/dist/session/blob.js +129 -129
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +173 -173
  689. package/dist/session/context.js +198 -198
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +241 -241
  695. package/dist/session/execution.js +163 -163
  696. package/dist/session/generate.js +200 -200
  697. package/dist/session/history.js +136 -136
  698. package/dist/session/inbox.js +149 -149
  699. package/dist/session/info.js +3 -3
  700. package/dist/session/instruction-entry.js +90 -90
  701. package/dist/session/instruction-state.js +8 -8
  702. package/dist/session/instructions.js +143 -143
  703. package/dist/session/message-updater.js +4 -4
  704. package/dist/session/message.js +1 -1
  705. package/dist/session/model-request.js +168 -168
  706. package/dist/session/model-transport.js +9 -9
  707. package/dist/session/move.js +165 -165
  708. package/dist/session/projector.js +143 -143
  709. package/dist/session/prompt.js +148 -148
  710. package/dist/session/recent-text.js +1 -1
  711. package/dist/session/revert.js +139 -139
  712. package/dist/session/run-coordinator.js +1 -1
  713. package/dist/session/runner/index.js +3 -3
  714. package/dist/session/runner/llm.js +250 -250
  715. package/dist/session/runner/max-steps.js +1 -1
  716. package/dist/session/runner/model.js +113 -113
  717. package/dist/session/runner/publish-llm-event.js +149 -149
  718. package/dist/session/runner/retry.js +3 -3
  719. package/dist/session/runner/step.js +163 -163
  720. package/dist/session/runner/to-llm-message.js +137 -137
  721. package/dist/session/schema.js +5 -5
  722. package/dist/session/session.js +179 -179
  723. package/dist/session/shell.js +144 -144
  724. package/dist/session/skill.js +147 -147
  725. package/dist/session/sql.js +5 -5
  726. package/dist/session/stats.js +84 -84
  727. package/dist/session/store.js +142 -142
  728. package/dist/session/stored.js +2 -2
  729. package/dist/session/subagent-completion.js +1 -1
  730. package/dist/session/subagent-job.js +229 -229
  731. package/dist/session/system-prompt.js +1 -1
  732. package/dist/session/title.js +202 -202
  733. package/dist/session/to-session-error.js +148 -148
  734. package/dist/session/transfer.js +240 -240
  735. package/dist/session/usage.js +1 -1
  736. package/dist/session.js +235 -235
  737. package/dist/shared-cache.js +5 -5
  738. package/dist/shell/parse.js +6 -6
  739. package/dist/shell/result.js +1 -1
  740. package/dist/shell/scan.js +1 -1
  741. package/dist/shell/select.js +13 -13
  742. package/dist/shell.js +146 -146
  743. package/dist/skill/discovery.js +2 -2
  744. package/dist/skill/instructions.js +149 -149
  745. package/dist/skill.js +154 -154
  746. package/dist/snapshot.js +104 -104
  747. package/dist/state.js +1 -1
  748. package/dist/tool/html-markdown.js +1 -1
  749. package/dist/tool/http-body.js +1 -1
  750. package/dist/tool/mcp.js +178 -178
  751. package/dist/tool/plugin/artifact.js +228 -228
  752. package/dist/tool/plugin/edit.js +164 -164
  753. package/dist/tool/plugin/file-diff.js +1 -1
  754. package/dist/tool/plugin/glob.js +168 -168
  755. package/dist/tool/plugin/grep.js +168 -168
  756. package/dist/tool/plugin/image-generate.js +231 -231
  757. package/dist/tool/plugin/mcp-resource.js +162 -162
  758. package/dist/tool/plugin/opencode.js +161 -161
  759. package/dist/tool/plugin/patch.js +162 -162
  760. package/dist/tool/plugin/question.js +144 -144
  761. package/dist/tool/plugin/read.js +163 -163
  762. package/dist/tool/plugin/schedule.js +247 -247
  763. package/dist/tool/plugin/shell.js +235 -235
  764. package/dist/tool/plugin/skill.js +153 -153
  765. package/dist/tool/plugin/subagent.js +236 -236
  766. package/dist/tool/plugin/todo.js +153 -153
  767. package/dist/tool/plugin/webfetch.js +155 -155
  768. package/dist/tool/plugin/websearch.js +153 -153
  769. package/dist/tool/plugin/write.js +162 -162
  770. package/dist/tool/read-filesystem.js +113 -113
  771. package/dist/tool/runtime.js +1 -1
  772. package/dist/tool-output.js +7 -7
  773. package/dist/tool.js +161 -161
  774. package/dist/types/instructions/index.d.ts +1 -1
  775. package/dist/usage-limits.js +100 -100
  776. package/dist/util/error-summary.js +1 -1
  777. package/dist/util/git-executable.js +3 -3
  778. package/dist/util/lazy.js +1 -1
  779. package/dist/util/slug.js +1 -1
  780. package/dist/util/token.js +1 -1
  781. package/dist/util/which.js +1 -1
  782. package/dist/util/wildcard.js +1 -1
  783. package/dist/v1/config/agent.js +5 -5
  784. package/dist/v1/config/command.js +5 -5
  785. package/dist/v1/config/mcp.js +4 -4
  786. package/dist/v1/config/migrate.js +105 -105
  787. package/dist/v1/config/permission.js +3 -3
  788. package/dist/v1/config/plugin.js +3 -3
  789. package/dist/v1/config/provider-options.js +1 -1
  790. package/dist/v1/config/provider.js +4 -4
  791. package/dist/variant.js +106 -106
  792. package/dist/vcs/patch.js +1 -1
  793. package/dist/vcs.js +102 -102
  794. package/dist/voice.js +101 -101
  795. package/dist/websearch.js +93 -93
  796. package/dist/wellknown/plugin.js +87 -87
  797. package/dist/wellknown.js +92 -92
  798. package/dist/workspace/driver.js +5 -5
  799. package/dist/workspace/sql.js +1 -1
  800. package/dist/workspace.js +91 -91
  801. package/dist/worktree/directory.js +2 -2
  802. package/dist/worktree/git.js +9 -9
  803. package/dist/worktree/sql.js +5 -5
  804. package/dist/worktree/strategies.js +102 -102
  805. package/dist/worktree.js +111 -111
  806. package/package.json +8 -8
  807. package/dist/chunks/repository-cache-awcrk201.js +0 -261
  808. package/dist/chunks/repository-cache-f8ma18fn.js +0 -18
  809. package/dist/chunks/repository-cache-h2qmm28k.js +0 -555
  810. package/dist/chunks/repository-cache-yk088mje.js +0 -26
  811. /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  812. /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  813. /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  814. /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  815. /package/dist/chunks/{repository-cache-1kah00gy.js → tool-1kah00gy.js} +0 -0
  816. /package/dist/chunks/{repository-cache-1pevy3nx.js → tool-1pevy3nx.js} +0 -0
  817. /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
  818. /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
  819. /package/dist/chunks/{repository-cache-2bv980vf.js → tool-2bv980vf.js} +0 -0
  820. /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  821. /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
  822. /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
  823. /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  824. /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  825. /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{repository-cache-4qk9sjk2.js → tool-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{repository-cache-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  829. /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  830. /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
  831. /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
  832. /package/dist/chunks/{repository-cache-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
  833. /package/dist/chunks/{repository-cache-6agm2x70.js → tool-6agm2x70.js} +0 -0
  834. /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
  835. /package/dist/chunks/{repository-cache-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
  839. /package/dist/chunks/{repository-cache-84wd9syh.js → tool-84wd9syh.js} +0 -0
  840. /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  841. /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
  842. /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  843. /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  844. /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  845. /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  846. /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
  847. /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
  848. /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  849. /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  850. /package/dist/chunks/{repository-cache-beh6qq61.js → tool-beh6qq61.js} +0 -0
  851. /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  852. /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  853. /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  854. /package/dist/chunks/{repository-cache-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
  855. /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  856. /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
  857. /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  858. /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
  859. /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
  860. /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
  861. /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  862. /package/dist/chunks/{repository-cache-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  863. /package/dist/chunks/{repository-cache-ean2d8b5.js → tool-ean2d8b5.js} +0 -0
  864. /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
  865. /package/dist/chunks/{repository-cache-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  866. /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  867. /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  868. /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  869. /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
  870. /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
  871. /package/dist/chunks/{repository-cache-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
  872. /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  873. /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
  874. /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  875. /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
  876. /package/dist/chunks/{repository-cache-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  877. /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
  878. /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  879. /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  880. /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  881. /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  882. /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  883. /package/dist/chunks/{repository-cache-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
  884. /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  885. /package/dist/chunks/{repository-cache-m18g726c.js → tool-m18g726c.js} +0 -0
  886. /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
  887. /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  888. /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  889. /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  890. /package/dist/chunks/{repository-cache-nh4v3znn.js → tool-nh4v3znn.js} +0 -0
  891. /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
  892. /package/dist/chunks/{repository-cache-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
  893. /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  894. /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
  895. /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  896. /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  897. /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  898. /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  899. /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  900. /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  901. /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  902. /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  903. /package/dist/chunks/{repository-cache-syrav9an.js → tool-syrav9an.js} +0 -0
  904. /package/dist/chunks/{repository-cache-t03h4f5z.js → tool-t03h4f5z.js} +0 -0
  905. /package/dist/chunks/{repository-cache-ty7weeps.js → tool-ty7weeps.js} +0 -0
  906. /package/dist/chunks/{repository-cache-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  907. /package/dist/chunks/{repository-cache-vtarvj67.js → tool-vtarvj67.js} +0 -0
  908. /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
  909. /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  910. /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  911. /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
  912. /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  913. /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
  914. /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
  915. /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
  916. /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  917. /package/dist/chunks/{repository-cache-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  918. /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-c32j6rj9.js";
3
+ } from "./tool-qj97zj8m.js";
4
4
  import {
5
- Service88
6
- } from "./repository-cache-n4de5rt9.js";
5
+ Service89
6
+ } from "./tool-ff0yba6y.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./repository-cache-rx1f5s7v.js";
9
+ Event19
10
+ } from "./tool-57fs3qve.js";
11
11
  import {
12
- ID19,
12
+ ID18,
13
13
  MethodID2
14
- } from "./repository-cache-zdnc43b0.js";
14
+ } from "./tool-s79dcpfj.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./repository-cache-yb20nhc3.js";
18
+ } from "./tool-yb20nhc3.js";
19
19
  import {
20
- ID16,
20
+ ID17,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./repository-cache-49fetqk2.js";
23
+ } from "./tool-fb609nat.js";
24
24
  import {
25
25
  get5
26
- } from "./repository-cache-3nnrz6f6.js";
26
+ } from "./tool-3nnrz6f6.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./repository-cache-k7j4356s.js";
29
+ } from "./tool-1yrt9mfc.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID19.make("openai"),
53
+ integrationID: ID18.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID19.make("openai"),
126
+ integrationID: ID18.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -165,10 +165,10 @@ var headless = (app) => ({
165
165
  }),
166
166
  refresh: (value) => refresh(headlessMethodID, value, app)
167
167
  });
168
- var OpenAIPlugin2 = define({
168
+ var OpenAIPlugin3 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const bus = yield* Service88;
171
+ const bus = yield* Service89;
172
172
  const loading = Semaphore.makeUnsafe(1);
173
173
  let chatgpt;
174
174
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -185,9 +185,9 @@ var OpenAIPlugin2 = define({
185
185
  editor.method.update(headless(ctx.app));
186
186
  });
187
187
  yield* load();
188
- const configured = yield* configuredSettings2(ID16.openai);
188
+ const configured = yield* configuredSettings2(ID17.openai);
189
189
  yield* ctx.provider.transform((providers) => {
190
- const item = providers.get(ID16.openai);
190
+ const item = providers.get(ID17.openai);
191
191
  if (!item)
192
192
  return;
193
193
  const account = chatgpt?.metadata?.accountID;
@@ -207,7 +207,7 @@ var OpenAIPlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- for (const model of models.list(ID16.openai)) {
210
+ for (const model of models.list(ID17.openai)) {
211
211
  models.update(model.providerID, model.id, (draft) => {
212
212
  if (!chatgpt)
213
213
  return;
@@ -244,14 +244,14 @@ var OpenAIPlugin2 = define({
244
244
  }));
245
245
  evt.headers.originator = "opencode";
246
246
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
247
- }), { providerID: ID16.openai });
247
+ }), { providerID: ID17.openai });
248
248
  const omitOutputLimit = (evt) => Effect.sync(() => {
249
249
  delete evt.options.maxTokens;
250
250
  });
251
251
  for (const name of ["context", "compaction"])
252
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID16.openai });
252
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
253
253
  const refresh = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
254
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID19.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
254
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
255
255
  })
256
256
  });
257
257
  function headers(contentType, app) {
@@ -342,4 +342,4 @@ function claim(token) {
342
342
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
343
343
  }
344
344
 
345
- export { OpenAIPlugin2 };
345
+ export { OpenAIPlugin3 };
@@ -2,20 +2,17 @@
2
2
  import { emptyInputJsonSchema } from "@opencode/ai/effect";
3
3
  import { isRecord } from "@opencode/util/record";
4
4
  import { Tool } from "@opencode/schema/tool";
5
- import { Cache, Effect, JsonPointer, JsonSchema, Schema, SchemaIssue, SchemaRepresentation } from "effect";
5
+ import { Effect, JsonPointer, JsonSchema, Result, Schema, SchemaIssue, SchemaRepresentation } from "effect";
6
6
  import { $ZodType, toJSONSchema } from "zod/v4/core";
7
7
  var formatEffectIssues = SchemaIssue.makeFormatterStandardSchemaV1();
8
- var jsonSchemas = Effect.runSync(Cache.make({
9
- capacity: 100,
10
- lookup: (schema) => Effect.try({
11
- try: () => jsonSchema(schema),
12
- catch: () => {
13
- return;
14
- }
15
- }).pipe(Effect.orElseSucceed(() => {
16
- return;
17
- }))
18
- }));
8
+ var jsonSchemas = new WeakMap;
9
+ var codecFor = (schema) => {
10
+ if (jsonSchemas.has(schema))
11
+ return jsonSchemas.get(schema);
12
+ const codec = Result.try(() => jsonSchema(schema)).pipe(Result.getOrUndefined);
13
+ jsonSchemas.set(schema, codec);
14
+ return codec;
15
+ };
19
16
  var definition2 = (tool) => ({
20
17
  type: "tool",
21
18
  name: effectiveName2(tool),
@@ -56,7 +53,7 @@ var validateInput = (schema, value) => {
56
53
  if (isStandardSchema(schema))
57
54
  return validateStandard(schema, value);
58
55
  return Effect.gen(function* () {
59
- const codec = Schema.isSchema(schema) ? schema : yield* Cache.get(jsonSchemas, schema);
56
+ const codec = Schema.isSchema(schema) ? schema : codecFor(schema);
60
57
  if (codec === undefined)
61
58
  return { value };
62
59
  return yield* Schema.decodeUnknownEffect(codec)(value, { errors: "all" }).pipe(Effect.match({
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  create4
3
- } from "./repository-cache-40y6dtc2.js";
3
+ } from "./tool-40y6dtc2.js";
4
4
  import {
5
5
  match3
6
- } from "./repository-cache-1aqsckx4.js";
6
+ } from "./tool-1aqsckx4.js";
7
7
  import {
8
- Service75,
9
- node78
10
- } from "./repository-cache-cf3f13z6.js";
8
+ Service66,
9
+ node67
10
+ } from "./tool-k5027ak4.js";
11
11
  import {
12
- Service71,
13
- node74
14
- } from "./repository-cache-zz1fbq3g.js";
12
+ Service62,
13
+ node63
14
+ } from "./tool-1wyzen4g.js";
15
15
  import {
16
16
  definition2,
17
17
  execute3,
18
18
  normalizeContent2,
19
19
  normalizedName2,
20
20
  effectiveName2
21
- } from "./repository-cache-7stb81gk.js";
21
+ } from "./tool-dbht28n9.js";
22
22
  import {
23
23
  create3,
24
24
  catalog2,
25
25
  check2,
26
26
  qualifiedName2
27
- } from "./repository-cache-21evxy92.js";
27
+ } from "./tool-sxbmj56q.js";
28
28
  import {
29
- Service62,
30
- node64
31
- } from "./repository-cache-82q75xp6.js";
29
+ Service61,
30
+ node62
31
+ } from "./tool-bsfkzme1.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./tool-9rqn6x4v.js";
35
35
 
36
36
  // src/tool.ts
37
37
  var exports_tool = {};
38
38
  __export(exports_tool, {
39
39
  CallID: () => CallID2,
40
- Content: () => Content4,
41
- Error: () => Error4,
40
+ Content: () => Content3,
41
+ Error: () => Error3,
42
42
  FileContent: () => FileContent3,
43
43
  RegistrationError: () => RegistrationError2,
44
- Service: () => Service60,
44
+ Service: () => Service58,
45
45
  TextContent: () => TextContent2,
46
46
  Tool: () => exports_tool,
47
- node: () => node63
47
+ node: () => node60
48
48
  });
49
- import { CallID as CallID2, Content as Content4, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
49
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
50
50
  import { ToolDefinition } from "@opencode/ai/effect";
51
51
  import { Tool } from "@opencode/schema/tool";
52
52
  import { Context, Effect, Layer, Ref, Result, Schema, SchemaIssue } from "effect";
@@ -57,12 +57,12 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
57
57
  }) {
58
58
  }
59
59
 
60
- class Service60 extends Context.Service()("@opencode/Tool") {
60
+ class Service58 extends Context.Service()("@opencode/Tool") {
61
61
  }
62
- var layer = Layer.effect(Service60, Effect.gen(function* () {
63
- const hooks = yield* Service75;
64
- const image = yield* Service62;
65
- const permission = yield* Service71;
62
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
63
+ const hooks = yield* Service66;
64
+ const image = yield* Service61;
65
+ const permission = yield* Service62;
66
66
  const normalizeImages = Effect.fnUntraced(function* (content) {
67
67
  const normalized = yield* Effect.forEach(content, (item) => {
68
68
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
205
205
  }), { discard: true });
206
206
  }
207
207
  });
208
- return Service60.of({
208
+ return Service58.of({
209
209
  transform: state.transform,
210
210
  reload: state.reload,
211
211
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -322,10 +322,10 @@ function namespaceError(name) {
322
322
  return;
323
323
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
324
324
  }
325
- var node63 = makeLocationNode({
326
- service: Service60,
325
+ var node60 = makeLocationNode({
326
+ service: Service58,
327
327
  layer,
328
- deps: [node78, node64, node74]
328
+ deps: [node67, node62, node63]
329
329
  });
330
330
 
331
- export { RegistrationError2, Service60, node63, exports_tool, CallID2, Content4, Error4, FileContent3, TextContent2 };
331
+ export { RegistrationError2, Service58, node60, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID14,
3
- Service74
4
- } from "./repository-cache-w3r8pvyd.js";
2
+ ID13,
3
+ Service65
4
+ } from "./tool-eyjfkt33.js";
5
5
  import {
6
- Service81
7
- } from "./repository-cache-h4681ke1.js";
6
+ Service86
7
+ } from "./tool-tp9ny8ts.js";
8
8
  import {
9
- Service76
10
- } from "./repository-cache-0mfja933.js";
9
+ Service67
10
+ } from "./tool-ckykdpc8.js";
11
11
  import {
12
- Service52,
12
+ Service54,
13
13
  args2
14
- } from "./repository-cache-nbc9912s.js";
14
+ } from "./tool-zc0xxg4w.js";
15
15
  import {
16
- Service22
17
- } from "./repository-cache-sr4yt9k3.js";
16
+ Service26
17
+ } from "./tool-7bfv676c.js";
18
18
  import {
19
- Service6
20
- } from "./repository-cache-cawz4cxe.js";
19
+ Service9
20
+ } from "./tool-058p9g98.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./repository-cache-e834z07m.js";
23
+ } from "./tool-e834z07m.js";
24
24
  import {
25
25
  __export
26
- } from "./repository-cache-9rqn6x4v.js";
26
+ } from "./tool-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin11
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin52
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
39
39
  import { ChildProcess } from "effect/process";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
42
- var Plugin11 = define({
42
+ var Plugin52 = define({
43
43
  id: "opencode.config.command",
44
44
  effect: Effect.fn(function* (ctx) {
45
- const config = yield* Service76;
45
+ const config = yield* Service67;
46
46
  const fs = yield* FSUtil.Service;
47
47
  const loadEntry = Effect.fnUntraced(function* (entry) {
48
48
  if (entry.type === "document")
@@ -52,12 +52,12 @@ var Plugin11 = define({
52
52
  const commands = yield* loadDirectory(fs, entry.path);
53
53
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
54
54
  });
55
- const location = yield* Service81;
55
+ const location = yield* Service86;
56
56
  const processes = yield* AppProcess.Service;
57
- const shell = yield* Service52;
58
- const sessions = yield* Service22;
59
- const agents = yield* Service74;
60
- const subagents = yield* Service6;
57
+ const shell = yield* Service54;
58
+ const sessions = yield* Service26;
59
+ const agents = yield* Service65;
60
+ const subagents = yield* Service9;
61
61
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
62
62
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
63
63
  });
@@ -78,7 +78,7 @@ var Plugin11 = define({
78
78
  name,
79
79
  description: command.description,
80
80
  execute: (input) => Effect.gen(function* () {
81
- const agent = command.agent === undefined ? undefined : ID14.make(command.agent);
81
+ const agent = command.agent === undefined ? undefined : ID13.make(command.agent);
82
82
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
83
83
  const model = command.model === undefined ? commandAgent?.model : {
84
84
  id: command.model.model,
@@ -204,4 +204,4 @@ var argumentRegex = /\$(?:ARGUMENTS|([1-9]\d*))/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin11, exports_command };
207
+ export { Plugin52, exports_command2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./repository-cache-qsv15wez.js";
5
+ } from "./tool-wgbdfxvd.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-cache-b2armg7w.js";
3
+ } from "./tool-8cg7mtm3.js";
4
4
  import {
5
- Service88,
6
- node91
7
- } from "./repository-cache-n4de5rt9.js";
5
+ Service89,
6
+ node92
7
+ } from "./tool-ff0yba6y.js";
8
8
  import {
9
- Event21,
10
- Service87,
11
- node90
12
- } from "./repository-cache-rx1f5s7v.js";
9
+ Event19,
10
+ Service84,
11
+ node87
12
+ } from "./tool-57fs3qve.js";
13
13
  import {
14
- Service81,
15
- node84
16
- } from "./repository-cache-h4681ke1.js";
14
+ Service86,
15
+ node89
16
+ } from "./tool-tp9ny8ts.js";
17
17
  import {
18
- Service49,
19
- node53
20
- } from "./repository-cache-qxga34ac.js";
18
+ Service74,
19
+ node75
20
+ } from "./tool-1z80j9s6.js";
21
21
  import {
22
22
  ID20,
23
- Service86,
24
- node89
25
- } from "./repository-cache-5ajs5fv3.js";
23
+ Service85,
24
+ node88
25
+ } from "./tool-erqa4ym4.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./repository-cache-40y6dtc2.js";
29
+ } from "./tool-40y6dtc2.js";
30
30
  import {
31
- ID19,
31
+ ID18,
32
32
  MethodID2,
33
- Service85,
34
- node88
35
- } from "./repository-cache-zdnc43b0.js";
33
+ Service83,
34
+ node86
35
+ } from "./tool-s79dcpfj.js";
36
36
  import {
37
37
  __export
38
- } from "./repository-cache-9rqn6x4v.js";
38
+ } from "./tool-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError6,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service28,
52
+ Service: () => Service39,
53
53
  Status: () => Status3,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer12,
57
- node: () => node31
55
+ configured: () => configured3,
56
+ layer: () => layer16,
57
+ node: () => node42
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -85,7 +85,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
85
85
  var ResourceCatalog2 = Mcp.ResourceCatalog;
86
86
  var ResourceContent2 = Mcp.ResourceContent;
87
87
 
88
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
88
+ class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
89
89
  server: ServerName2
90
90
  }) {
91
91
  get message() {
@@ -118,21 +118,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
118
118
  var endpointLoads = makeUnsafe2();
119
119
  var cloneConfig = (config) => structuredClone(config);
120
120
 
121
- class Service28 extends Context.Service()("@opencode/MCP") {
121
+ class Service39 extends Context.Service()("@opencode/MCP") {
122
122
  }
123
- var Options2 = Schema.Struct({
123
+ var Options3 = Schema.Struct({
124
124
  clientInfo: Schema.optional(Schema.Struct({
125
125
  name: Schema.String,
126
126
  version: Schema.String
127
127
  }))
128
128
  });
129
- var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
130
- const location = yield* Service81;
131
- const environment = yield* Service49;
132
- const bus = yield* Service88;
133
- const forms = yield* Service86;
134
- const integration = yield* Service85;
135
- const credentials = yield* Service87;
129
+ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
130
+ const location = yield* Service86;
131
+ const environment = yield* Service74;
132
+ const bus = yield* Service89;
133
+ const forms = yield* Service85;
134
+ const integration = yield* Service83;
135
+ const credentials = yield* Service84;
136
136
  const root = yield* Effect.scope;
137
137
  const fork = yield* FiberSet.makeRuntime();
138
138
  const servers = yield* Scope.fork(root, "parallel");
@@ -148,7 +148,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
148
148
  return;
149
149
  const remote = entry.config;
150
150
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
151
- const integrationID = ID19.make(suffix);
151
+ const integrationID = ID18.make(suffix);
152
152
  entry.integrationID = integrationID;
153
153
  owned.add(integrationID);
154
154
  const methodID = MethodID2.make(suffix);
@@ -164,7 +164,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
164
164
  method: { id: methodID, type: "oauth", label: name },
165
165
  authorize: () => Effect.gen(function* () {
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service87, credentials));
167
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service84, credentials));
168
168
  })
169
169
  });
170
170
  }).pipe(Scope.provide(scope));
@@ -172,14 +172,14 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
172
172
  const requireServer = Effect.fnUntraced(function* (name) {
173
173
  const entry = entries.get(name);
174
174
  if (!entry)
175
- return yield* new NotFoundError4({ server: name });
175
+ return yield* new NotFoundError6({ server: name });
176
176
  return { name, entry };
177
177
  });
178
178
  const connectProvider = Effect.fnUntraced(function* (entry) {
179
179
  if (entry.config.type !== "remote" || !entry.integrationID)
180
180
  return;
181
181
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
182
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service87, credentials));
182
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service84, credentials));
183
183
  });
184
184
  const elicitation = {
185
185
  create: (input) => Effect.gen(function* () {
@@ -289,7 +289,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
289
289
  entry.scope = scope;
290
290
  const authProvider = yield* connectProvider(entry);
291
291
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
292
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope));
292
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope));
293
293
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
294
294
  if (Exit.isSuccess(result)) {
295
295
  entry.client = result.value.connection;
@@ -395,7 +395,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
395
395
  let closed = false;
396
396
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
397
397
  closed = true;
398
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
398
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
399
399
  const register = Effect.gen(function* () {
400
400
  if (closed) {
401
401
  yield* Scope.close(scope, Exit.void);
@@ -476,7 +476,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
476
476
  yield* startServer(name, entry);
477
477
  }).pipe(locks.withLock(name));
478
478
  });
479
- fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
479
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
480
480
  const state = create4({
481
481
  name: "mcp",
482
482
  initial: () => ({
@@ -502,7 +502,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
502
502
  }),
503
503
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
504
504
  });
505
- return Service28.of({
505
+ return Service39.of({
506
506
  transform: state.transform,
507
507
  reload: state.reload,
508
508
  servers: Effect.fn("MCP.servers")(function* () {
@@ -644,14 +644,14 @@ function mergeCatalogs(catalogs) {
644
644
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
645
645
  });
646
646
  }
647
- function configured2(options) {
647
+ function configured3(options) {
648
648
  return makeLocationNode({
649
- service: Service28,
650
- layer: layer12(options),
651
- deps: [node84, node53, node91, node89, node88, node90]
649
+ service: Service39,
650
+ layer: layer16(options),
651
+ deps: [node89, node75, node92, node88, node86, node87]
652
652
  });
653
653
  }
654
- var node31 = configured2();
654
+ var node42 = configured3();
655
655
  function toElicitationField(key, property, required) {
656
656
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
657
657
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -702,4 +702,4 @@ function toElicitationField(key, property, required) {
702
702
  }
703
703
  }
704
704
 
705
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service28, Options2, layer12, configured2, node31, exports_mcp4 };
705
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service39, Options3, layer16, configured3, node42, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions7 = {};
@@ -19,7 +19,7 @@ __export(exports_instructions7, {
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
21
  join: () => join2,
22
- make: () => make30,
22
+ make: () => make29,
23
23
  read: () => read4,
24
24
  removed: () => removed2,
25
25
  renderInitial: () => renderInitial2,
@@ -51,7 +51,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
51
51
  }
52
52
  }
53
53
  var empty3 = [];
54
- function make30(source) {
54
+ function make29(source) {
55
55
  const decode = Schema.decodeUnknownOption(source.codec);
56
56
  const encode = Schema.encodeSync(source.codec);
57
57
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -77,7 +77,8 @@ function make30(source) {
77
77
  return;
78
78
  if (before === undefined)
79
79
  return initial(after);
80
- return requireText(source.key, "changed", source.render.changed(before, after));
80
+ const text = source.render.changed(before, after);
81
+ return text === undefined ? undefined : requireText(source.key, "changed", text);
81
82
  },
82
83
  removed: (previous) => {
83
84
  const decoded = decodeValue(previous);
@@ -197,4 +198,4 @@ function requireText(key, kind, text) {
197
198
  return text;
198
199
  }
199
200
 
200
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make30, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions7 };
201
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make29, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions7 };