@opencode/core 0.0.0-dev-20251 → 0.0.0-dev-20257

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-cache-g56bqvsh.js → tool-01mtfcwf.js} +44 -44
  8. package/dist/chunks/{repository-cache-t984fh1y.js → tool-034466pj.js} +33 -33
  9. package/dist/chunks/{repository-cache-m76ak856.js → tool-0egx9fcg.js} +12 -12
  10. package/dist/chunks/{repository-cache-hre11n8q.js → tool-0n945rvh.js} +9 -9
  11. package/dist/chunks/{repository-cache-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{repository-cache-vjjxy6yb.js → tool-0v0g5gxd.js} +9 -9
  13. package/dist/chunks/{repository-cache-mcyyrr5k.js → tool-0vx053wa.js} +23 -23
  14. package/dist/chunks/{repository-cache-676jamrs.js → tool-0x54nnzp.js} +12 -12
  15. package/dist/chunks/{repository-cache-zx6r7hdw.js → tool-11tc0n79.js} +4 -4
  16. package/dist/chunks/{repository-cache-bc1drp7w.js → tool-175m3jx7.js} +18 -18
  17. package/dist/chunks/{repository-cache-7969rh3q.js → tool-18eb7gxs.js} +11 -11
  18. package/dist/chunks/{repository-cache-qmys0th1.js → tool-194bm8bb.js} +28 -28
  19. package/dist/chunks/{repository-cache-38mz08fy.js → tool-1976gz4t.js} +19 -19
  20. package/dist/chunks/{repository-cache-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{repository-cache-783mvqzv.js → tool-1dmvbadb.js} +17 -17
  22. package/dist/chunks/{repository-cache-3kjs2g8p.js → tool-1msf33w2.js} +8 -8
  23. package/dist/chunks/{repository-cache-fzytvzc7.js → tool-1r5rhfpg.js} +9 -9
  24. package/dist/chunks/{repository-cache-21r38tys.js → tool-21r38tys.js} +1 -1
  25. package/dist/chunks/{repository-cache-mmm9tkaz.js → tool-296y6fm3.js} +16 -16
  26. package/dist/chunks/{repository-cache-z63w68vq.js → tool-29x78va6.js} +6 -6
  27. package/dist/chunks/{repository-cache-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{repository-cache-rt54a6x5.js → tool-2c73s09s.js} +11 -11
  29. package/dist/chunks/{repository-cache-6446sh3b.js → tool-2dw8d83v.js} +25 -25
  30. package/dist/chunks/{repository-cache-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
  31. package/dist/chunks/{repository-cache-t2ctsxfp.js → tool-2m1k0ztt.js} +18 -18
  32. package/dist/chunks/{repository-cache-tn0aqsam.js → tool-2qp6y8xf.js} +5 -5
  33. package/dist/chunks/{repository-cache-wsb67xeh.js → tool-2tba787a.js} +11 -11
  34. package/dist/chunks/{repository-cache-q8ha9487.js → tool-2wby3dfy.js} +33 -33
  35. package/dist/chunks/{repository-cache-810dpybx.js → tool-35zcj8ny.js} +10 -10
  36. package/dist/chunks/{repository-cache-56pvw0gc.js → tool-36sqq72v.js} +19 -19
  37. package/dist/chunks/{repository-cache-q5862mkf.js → tool-391zmw43.js} +52 -52
  38. package/dist/chunks/{repository-cache-qy8njgtj.js → tool-3dtz6yx2.js} +3 -3
  39. package/dist/chunks/{repository-cache-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{repository-cache-4bw5k2yb.js → tool-3r7whzgv.js} +7 -7
  42. package/dist/chunks/{repository-cache-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{repository-cache-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{repository-cache-5k1wcgjw.js → tool-3wgsv8e5.js} +3 -3
  45. package/dist/chunks/{repository-cache-k8rhextm.js → tool-3y576xey.js} +46 -46
  46. package/dist/chunks/{repository-cache-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{repository-cache-de0jw3qm.js → tool-40grcexz.js} +23 -23
  48. package/dist/chunks/{repository-cache-ypx6w206.js → tool-41ykdtjg.js} +71 -71
  49. package/dist/chunks/{repository-cache-607q5haz.js → tool-424p9vrf.js} +5 -5
  50. package/dist/chunks/{repository-cache-8dbf0tjh.js → tool-4718644a.js} +17 -17
  51. package/dist/chunks/{repository-cache-fd1wgf4c.js → tool-4acqjqp7.js} +22 -22
  52. package/dist/chunks/{repository-cache-ydybzatt.js → tool-4b636nqp.js} +12 -12
  53. package/dist/chunks/{repository-cache-mae0jmk3.js → tool-4bbjkqbv.js} +15 -15
  54. package/dist/chunks/{repository-cache-0afkxwjn.js → tool-4bee6ad1.js} +11 -11
  55. package/dist/chunks/{repository-cache-9dxvb26p.js → tool-4eajfyk1.js} +11 -11
  56. package/dist/chunks/{repository-cache-8btz10n0.js → tool-4khtewc0.js} +43 -43
  57. package/dist/chunks/{repository-cache-ckecvw8r.js → tool-54tcyq79.js} +2 -2
  58. package/dist/chunks/{repository-cache-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
  59. package/dist/chunks/{repository-cache-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{repository-cache-jjjjkqdk.js → tool-5avn8fxx.js} +15 -15
  61. package/dist/chunks/{repository-cache-gp490jqz.js → tool-5ck8tfnb.js} +8 -8
  62. package/dist/chunks/{repository-cache-5daktx2q.js → tool-5daktx2q.js} +1 -1
  63. package/dist/chunks/{repository-cache-5jkg60m6.js → tool-5dhv185w.js} +26 -26
  64. package/dist/chunks/{repository-cache-h6r3nrb9.js → tool-5mtzsd3b.js} +4 -4
  65. package/dist/chunks/{repository-cache-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{repository-cache-4jrabxkn.js → tool-5xnnt85z.js} +17 -17
  67. package/dist/chunks/{repository-cache-669tq793.js → tool-669tq793.js} +1 -1
  68. package/dist/chunks/{repository-cache-4nzedb29.js → tool-67582959.js} +7 -7
  69. package/dist/chunks/{repository-cache-711hbc5w.js → tool-67kbkrjb.js} +12 -12
  70. package/dist/chunks/{repository-cache-1sjktwpq.js → tool-6ab7jrdn.js} +13 -13
  71. package/dist/chunks/{repository-cache-mmvzmsg4.js → tool-6ha1y7f7.js} +10 -10
  72. package/dist/chunks/{repository-cache-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{repository-cache-mb5ynwt8.js → tool-6t6ktgh6.js} +18 -18
  74. package/dist/chunks/{repository-cache-m0vw8bcc.js → tool-6tb4xv4d.js} +11 -11
  75. package/dist/chunks/{repository-cache-2j284yp4.js → tool-6yf2w8yd.js} +10 -10
  76. package/dist/chunks/{repository-cache-ytvanp1b.js → tool-72cm32h1.js} +6 -6
  77. package/dist/chunks/{repository-cache-0thq5hk7.js → tool-75hmra9r.js} +10 -10
  78. package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{repository-cache-pbn1wd6z.js → tool-7k1k30bt.js} +1 -1
  80. package/dist/chunks/{repository-cache-2hr5nhwa.js → tool-7rwqf82v.js} +8 -8
  81. package/dist/chunks/{repository-cache-zprs8td4.js → tool-7v1rs999.js} +20 -20
  82. package/dist/chunks/{repository-cache-2dfz3822.js → tool-809ngxdw.js} +18 -18
  83. package/dist/chunks/{repository-cache-a2rma4s4.js → tool-80cfmxjf.js} +20 -20
  84. package/dist/chunks/{repository-cache-53nswxx3.js → tool-8265666q.js} +7 -7
  85. package/dist/chunks/{repository-cache-w1eejvng.js → tool-84txncab.js} +5 -5
  86. package/dist/chunks/{repository-cache-9zy2j2cw.js → tool-8az6wgtc.js} +18 -18
  87. package/dist/chunks/{repository-cache-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{repository-cache-ms63ke08.js → tool-8qx87br5.js} +23 -23
  89. package/dist/chunks/{repository-cache-3b681mbx.js → tool-8rn5fqsk.js} +78 -78
  90. package/dist/chunks/{repository-cache-py3kkmfq.js → tool-8sze2n9a.js} +6 -6
  91. package/dist/chunks/{repository-cache-z7nxtzsb.js → tool-946c90tq.js} +8 -8
  92. package/dist/chunks/{repository-cache-wd844a8w.js → tool-95yxn8sy.js} +3 -3
  93. package/dist/chunks/{repository-cache-frqnjdcx.js → tool-9a22gx4j.js} +21 -21
  94. package/dist/chunks/{repository-cache-3s2gfese.js → tool-9a55rck2.js} +16 -16
  95. package/dist/chunks/{repository-cache-tmvara0k.js → tool-9aqmr64f.js} +5 -5
  96. package/dist/chunks/{repository-cache-gqbzbbqn.js → tool-9dvrwmbd.js} +11 -11
  97. package/dist/chunks/{repository-cache-95rsh2yr.js → tool-9jcc4y49.js} +11 -11
  98. package/dist/chunks/{repository-cache-8tkd114c.js → tool-9jk221y9.js} +9 -9
  99. package/dist/chunks/{repository-cache-7gqwc1b4.js → tool-9y90g72n.js} +22 -22
  100. package/dist/chunks/{repository-cache-v5dkyp31.js → tool-a2ew8a62.js} +4 -4
  101. package/dist/chunks/{repository-cache-eh2mspr1.js → tool-a3j192et.js} +15 -15
  102. package/dist/chunks/{repository-cache-a2w1s5qp.js → tool-a7ntt1km.js} +41 -41
  103. package/dist/chunks/{repository-cache-74he466x.js → tool-a9rnddwt.js} +36 -36
  104. package/dist/chunks/{repository-cache-aaet6srn.js → tool-aaet6srn.js} +2 -2
  105. package/dist/chunks/{repository-cache-h4kyasgq.js → tool-aasthdk7.js} +25 -25
  106. package/dist/chunks/{repository-cache-vbdvtmb9.js → tool-afmxnawc.js} +41 -41
  107. package/dist/chunks/{repository-cache-zvxrxhcq.js → tool-amxsn76y.js} +9 -9
  108. package/dist/chunks/{repository-cache-j4jqcffg.js → tool-asmesk1c.js} +43 -43
  109. package/dist/chunks/{repository-cache-dvzrxbsj.js → tool-aw0zj34j.js} +7 -7
  110. package/dist/chunks/{repository-cache-g190xswt.js → tool-axmvebxj.js} +21 -21
  111. package/dist/chunks/tool-b4awgack.js +507 -0
  112. package/dist/chunks/{repository-cache-daxk1szt.js → tool-b4k87etx.js} +29 -29
  113. package/dist/chunks/{repository-cache-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{repository-cache-wqr5pdt5.js → tool-bbertzxx.js} +24 -24
  115. package/dist/chunks/{repository-cache-pmr4s4kc.js → tool-bct739vz.js} +4 -4
  116. package/dist/chunks/{repository-cache-5qkxfyep.js → tool-bdqrk2vk.js} +4 -4
  117. package/dist/chunks/{repository-cache-c80bcpkz.js → tool-bhz5rt2a.js} +3 -3
  118. package/dist/chunks/{repository-cache-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
  119. package/dist/chunks/{repository-cache-5xpznt2d.js → tool-bk7jaeqh.js} +4 -4
  120. package/dist/chunks/{repository-cache-2dxkyvt9.js → tool-bne83k22.js} +16 -16
  121. package/dist/chunks/{repository-cache-cd6bmxb7.js → tool-brbv3dp1.js} +35 -35
  122. package/dist/chunks/{repository-cache-j4mm37g8.js → tool-c8c0e7p2.js} +4 -4
  123. package/dist/chunks/tool-cmck6x1v.js +26 -0
  124. package/dist/chunks/{repository-cache-fdjyeynq.js → tool-cnvcdvk7.js} +6 -6
  125. package/dist/chunks/{repository-cache-33189bft.js → tool-csc4d3td.js} +9 -9
  126. package/dist/chunks/{repository-cache-vbq8pb5b.js → tool-cxfezmj7.js} +2 -2
  127. package/dist/chunks/{repository-cache-04ck8k4k.js → tool-cycpek8a.js} +8 -8
  128. package/dist/chunks/{repository-cache-kzeadhdf.js → tool-d45ca2b9.js} +11 -11
  129. package/dist/chunks/{repository-cache-g6q9qykm.js → tool-d4he2qe1.js} +9 -9
  130. package/dist/chunks/{repository-cache-qc3t3aka.js → tool-d7hv7zmm.js} +10 -10
  131. package/dist/chunks/{repository-cache-qfr8erz8.js → tool-dbnvakxz.js} +2 -2
  132. package/dist/chunks/{repository-cache-8rvetdvw.js → tool-df918xjf.js} +13 -13
  133. package/dist/chunks/{repository-cache-xkntkrq7.js → tool-dmqcgk4z.js} +5 -5
  134. package/dist/chunks/{repository-cache-tpp3t0gy.js → tool-dsr5k85q.js} +26 -26
  135. package/dist/chunks/{repository-cache-nhwg6c1p.js → tool-dss8prcv.js} +5 -5
  136. package/dist/chunks/{repository-cache-ann71p2r.js → tool-dth0kp2g.js} +8 -8
  137. package/dist/chunks/{repository-cache-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{repository-cache-82m37mnf.js → tool-eacc2dt9.js} +11 -11
  139. package/dist/chunks/{repository-cache-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
  140. package/dist/chunks/{repository-cache-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{repository-cache-cenxd33d.js → tool-eg546c9f.js} +30 -30
  142. package/dist/chunks/{repository-cache-qj04qr5m.js → tool-eg73nz8j.js} +16 -16
  143. package/dist/chunks/{repository-cache-d5h09cnz.js → tool-ehjy287r.js} +3 -3
  144. package/dist/chunks/{repository-cache-8fscv17v.js → tool-ek9e68b4.js} +8 -8
  145. package/dist/chunks/{repository-cache-dbv05mm3.js → tool-em3h5ktn.js} +4 -4
  146. package/dist/chunks/{repository-cache-rk7s9xkn.js → tool-espax8zg.js} +4 -4
  147. package/dist/chunks/{repository-cache-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{repository-cache-p9r301nf.js → tool-ev6cj1t6.js} +4 -4
  149. package/dist/chunks/{repository-cache-m6t25yxw.js → tool-ewrs59eb.js} +45 -45
  150. package/dist/chunks/{repository-cache-vtvqn5z4.js → tool-ezfsjjcb.js} +17 -17
  151. package/dist/chunks/{repository-cache-818pfwc9.js → tool-f32czd11.js} +11 -11
  152. package/dist/chunks/{repository-cache-ccd57ky6.js → tool-f4stfc8j.js} +11 -11
  153. package/dist/chunks/{repository-cache-k1qrnqst.js → tool-f5gy8qwh.js} +8 -8
  154. package/dist/chunks/{repository-cache-cssfr7rf.js → tool-f5j4h519.js} +27 -27
  155. package/dist/chunks/{repository-cache-m90fhazv.js → tool-f9v45azf.js} +27 -27
  156. package/dist/chunks/{repository-cache-xs7kd0ff.js → tool-faz569s1.js} +4 -4
  157. package/dist/chunks/{repository-cache-2wq7vqp7.js → tool-fbk6jmjr.js} +11 -11
  158. package/dist/chunks/{repository-cache-4v283kbg.js → tool-fk1tprft.js} +3 -3
  159. package/dist/chunks/{repository-cache-7pr2hkwv.js → tool-g5agzp2h.js} +5 -5
  160. package/dist/chunks/{repository-cache-7sw46hvh.js → tool-g5mnhhzf.js} +5 -5
  161. package/dist/chunks/{repository-cache-pp9kfcev.js → tool-g6af17tj.js} +13 -13
  162. package/dist/chunks/{repository-cache-vkbpj0nk.js → tool-gbny3ebw.js} +5 -5
  163. package/dist/chunks/{repository-cache-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{repository-cache-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
  165. package/dist/chunks/{repository-cache-y98nvmkd.js → tool-gjz1jd2j.js} +17 -17
  166. package/dist/chunks/{repository-cache-wzkj2gsv.js → tool-grfjx99d.js} +31 -31
  167. package/dist/chunks/{repository-cache-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{repository-cache-q68kj198.js → tool-gy1z56yw.js} +15 -15
  169. package/dist/chunks/{repository-cache-b7b4ctej.js → tool-h4z1mxff.js} +5 -5
  170. package/dist/chunks/{repository-cache-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{repository-cache-f29mbr7f.js → tool-h9wp8z5w.js} +4 -4
  172. package/dist/chunks/{repository-cache-mp442rew.js → tool-hxxwhazt.js} +20 -20
  173. package/dist/chunks/{repository-cache-j56e64zr.js → tool-j56e64zr.js} +1 -1
  174. package/dist/chunks/{repository-cache-a3r4dcrj.js → tool-jca4demv.js} +2 -2
  175. package/dist/chunks/{repository-cache-8w20q39n.js → tool-jj4f2m0r.js} +10 -10
  176. package/dist/chunks/{repository-cache-v2907cfy.js → tool-jjhdrc4d.js} +29 -29
  177. package/dist/chunks/{repository-cache-scv7p57g.js → tool-jvvc3tfq.js} +9 -9
  178. package/dist/chunks/{repository-cache-njd2epf3.js → tool-jyzvwcc3.js} +83 -83
  179. package/dist/chunks/{repository-cache-k3c624dm.js → tool-k3c624dm.js} +3 -3
  180. package/dist/chunks/{repository-cache-dsd739fb.js → tool-ka42hk6n.js} +17 -17
  181. package/dist/chunks/{repository-cache-ex6p1v7c.js → tool-kf4n8cem.js} +6 -6
  182. package/dist/chunks/{repository-cache-h4ps4sj8.js → tool-kftnayyw.js} +10 -10
  183. package/dist/chunks/{repository-cache-vsk39x9d.js → tool-ksz6c1e3.js} +22 -22
  184. package/dist/chunks/{repository-cache-jzy4k8ae.js → tool-ktwybt29.js} +20 -20
  185. package/dist/chunks/{repository-cache-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{repository-cache-mksgfzgs.js → tool-m5gtchbr.js} +3 -3
  187. package/dist/chunks/{repository-cache-naa9ps5d.js → tool-m82n3tcb.js} +11 -11
  188. package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{repository-cache-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{repository-cache-0mwb83qr.js → tool-mxck01x7.js} +27 -27
  191. package/dist/chunks/{repository-cache-4e8vs6eh.js → tool-n0tq777j.js} +8 -8
  192. package/dist/chunks/{repository-cache-eypvmx01.js → tool-n2bwe27v.js} +17 -17
  193. package/dist/chunks/{repository-cache-54k930pp.js → tool-na3vr06v.js} +10 -10
  194. package/dist/chunks/{repository-cache-mzppa8ta.js → tool-nd981500.js} +33 -33
  195. package/dist/chunks/{repository-cache-mecya7nw.js → tool-ngr3dbwj.js} +9 -9
  196. package/dist/chunks/{repository-cache-j58c5xyq.js → tool-njhqdk9p.js} +9 -9
  197. package/dist/chunks/{repository-cache-d6tzdhy2.js → tool-nqhs97wk.js} +11 -11
  198. package/dist/chunks/{repository-cache-br0tr5aq.js → tool-p37cw4rj.js} +8 -8
  199. package/dist/chunks/{repository-cache-nb9cp8r9.js → tool-p7emx7qr.js} +14 -14
  200. package/dist/chunks/{repository-cache-5k7m0c6w.js → tool-p9njq13k.js} +23 -23
  201. package/dist/chunks/{repository-cache-engkf0xy.js → tool-pa719ayw.js} +3 -3
  202. package/dist/chunks/{repository-cache-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
  204. package/dist/chunks/{repository-cache-xgacp4m0.js → tool-pmjcgjf6.js} +5 -5
  205. package/dist/chunks/{repository-cache-pnv527nz.js → tool-pnv527nz.js} +2 -2
  206. package/dist/chunks/{repository-cache-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
  207. package/dist/chunks/{repository-cache-7wf5zjhs.js → tool-psxwg2jt.js} +49 -49
  208. package/dist/chunks/{repository-cache-ger7gmny.js → tool-pwk60xzd.js} +29 -29
  209. package/dist/chunks/{repository-cache-21v4w11m.js → tool-pzmgz1kt.js} +20 -20
  210. package/dist/chunks/{repository-cache-jexxy024.js → tool-q3t37ft6.js} +3 -3
  211. package/dist/chunks/{repository-cache-624wfwgz.js → tool-q5dgj24k.js} +15 -15
  212. package/dist/chunks/{repository-cache-00gdp0v0.js → tool-q73ax3e3.js} +6 -6
  213. package/dist/chunks/{repository-cache-9z3rd8yt.js → tool-q9m41f22.js} +15 -15
  214. package/dist/chunks/{repository-cache-8tsdq50x.js → tool-qbqbaz6q.js} +4 -4
  215. package/dist/chunks/tool-qjxeh2jn.js +252 -0
  216. package/dist/chunks/{repository-cache-204cfetq.js → tool-qnshbhpz.js} +8 -8
  217. package/dist/chunks/{repository-cache-ednp5hmx.js → tool-qpbc7zwf.js} +8 -8
  218. package/dist/chunks/{repository-cache-qsdy395h.js → tool-qsdy395h.js} +1 -1
  219. package/dist/chunks/{repository-cache-cdf7n074.js → tool-qsgng9yw.js} +22 -22
  220. package/dist/chunks/{repository-cache-0r7yqxbf.js → tool-qte5z7bc.js} +5 -5
  221. package/dist/chunks/{repository-cache-1zdwmq57.js → tool-qthggnn3.js} +24 -24
  222. package/dist/chunks/{repository-cache-0zjqpmkz.js → tool-qvyqyy4a.js} +32 -32
  223. package/dist/chunks/{repository-cache-nqnxh7mc.js → tool-qz49fwgp.js} +4 -4
  224. package/dist/chunks/{repository-cache-b7evj62n.js → tool-qzzwmwsb.js} +24 -24
  225. package/dist/chunks/{repository-cache-9q2zkxzw.js → tool-rbedxwk0.js} +10 -10
  226. package/dist/chunks/{repository-cache-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{repository-cache-s8d7rejh.js → tool-rhjbct0v.js} +4 -4
  228. package/dist/chunks/{repository-cache-92azg307.js → tool-rmm45jmv.js} +5 -5
  229. package/dist/chunks/{repository-cache-kyabrh60.js → tool-rsmztf11.js} +20 -20
  230. package/dist/chunks/{repository-cache-wvjcvcce.js → tool-rwt25hr0.js} +11 -11
  231. package/dist/chunks/{repository-cache-yrznvahk.js → tool-s4enseaf.js} +2 -2
  232. package/dist/chunks/{repository-cache-4hecv8b8.js → tool-s7va8ds3.js} +15 -15
  233. package/dist/chunks/{repository-cache-hpm09z4s.js → tool-s81k1a76.js} +15 -15
  234. package/dist/chunks/{repository-cache-3nxcgc5r.js → tool-sd321mms.js} +4 -4
  235. package/dist/chunks/{repository-cache-341masja.js → tool-sg7et9cp.js} +9 -9
  236. package/dist/chunks/{repository-cache-hv03xkvj.js → tool-ss1fsgxr.js} +14 -14
  237. package/dist/chunks/{repository-cache-qbf4b4ne.js → tool-syg1g1yq.js} +22 -22
  238. package/dist/chunks/{repository-cache-fbhw4wv7.js → tool-t5eds39s.js} +23 -23
  239. package/dist/chunks/{repository-cache-jvf3yq6v.js → tool-t7n9q6bq.js} +4 -4
  240. package/dist/chunks/{repository-cache-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{repository-cache-mx9vqzsb.js → tool-tcay1cqt.js} +6 -6
  242. package/dist/chunks/{repository-cache-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{repository-cache-tdstcens.js → tool-tdstcens.js} +1 -1
  244. package/dist/chunks/{repository-cache-42qtvhfk.js → tool-tg11ymz8.js} +5 -5
  245. package/dist/chunks/{repository-cache-q8a22tjh.js → tool-tnwevgky.js} +159 -159
  246. package/dist/chunks/{repository-cache-fqnfbc6e.js → tool-tpgzbb02.js} +20 -20
  247. package/dist/chunks/{repository-cache-16612zrn.js → tool-ttk3mwgy.js} +11 -11
  248. package/dist/chunks/{repository-cache-tvtrv512.js → tool-tvtrv512.js} +1 -1
  249. package/dist/chunks/{repository-cache-h4txc3jc.js → tool-txmctbw7.js} +5 -5
  250. package/dist/chunks/{repository-cache-gfj9m061.js → tool-tz4t78ya.js} +13 -13
  251. package/dist/chunks/{repository-cache-de5yg9f9.js → tool-vbv8dfnm.js} +18 -18
  252. package/dist/chunks/{repository-cache-t1ap8zfg.js → tool-vdtperbh.js} +5 -5
  253. package/dist/chunks/{repository-cache-veqvce7d.js → tool-veqvce7d.js} +1 -1
  254. package/dist/chunks/tool-vsdyktar.js +18 -0
  255. package/dist/chunks/{repository-cache-6d5yn9z3.js → tool-vvaq8bb8.js} +7 -7
  256. package/dist/chunks/{repository-cache-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{repository-cache-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{repository-cache-zz56t2w7.js → tool-w1p328vv.js} +11 -11
  259. package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{repository-cache-xsm8rsnb.js → tool-w5tjdcqf.js} +20 -20
  261. package/dist/chunks/{repository-cache-wyy8ccsm.js → tool-w7jh0eam.js} +1 -1
  262. package/dist/chunks/{repository-cache-0hpw93d1.js → tool-w8n0e5aw.js} +9 -9
  263. package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
  264. package/dist/chunks/{repository-cache-3gz738r3.js → tool-wk7hydj3.js} +11 -11
  265. package/dist/chunks/{repository-cache-xyq4pa26.js → tool-wkt2y4hc.js} +23 -23
  266. package/dist/chunks/{repository-cache-94js9ang.js → tool-wyr36rym.js} +26 -26
  267. package/dist/chunks/{repository-cache-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{repository-cache-4vqxrrhv.js → tool-x749c8ap.js} +20 -20
  269. package/dist/chunks/{repository-cache-whb4syhh.js → tool-xever9ax.js} +34 -34
  270. package/dist/chunks/{repository-cache-xfkkasph.js → tool-xfkkasph.js} +1 -1
  271. package/dist/chunks/{repository-cache-7esjthxw.js → tool-xh089592.js} +5 -5
  272. package/dist/chunks/{repository-cache-0s740jay.js → tool-xhs54hgc.js} +30 -30
  273. package/dist/chunks/{repository-cache-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{repository-cache-095hcjf8.js → tool-y4rjczph.js} +33 -33
  275. package/dist/chunks/{repository-cache-dpkg50ah.js → tool-y71avatq.js} +4 -4
  276. package/dist/chunks/{repository-cache-mqzwkyay.js → tool-ydgy0jv4.js} +6 -6
  277. package/dist/chunks/{repository-cache-5heeksrv.js → tool-yj0c5cmr.js} +26 -26
  278. package/dist/chunks/{repository-cache-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{repository-cache-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{repository-cache-cr07tj7n.js → tool-yt0fqk68.js} +5 -5
  281. package/dist/chunks/{repository-cache-avz58b7a.js → tool-yt55jd1w.js} +14 -14
  282. package/dist/chunks/{repository-cache-5y5fcek4.js → tool-yv16hj29.js} +17 -17
  283. package/dist/chunks/{repository-cache-r6ryweq5.js → tool-yw7byxdn.js} +11 -11
  284. package/dist/chunks/{repository-cache-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{repository-cache-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{repository-cache-h62cd3wx.js → tool-zkx6mb6f.js} +6 -6
  287. package/dist/chunks/{repository-cache-rk1r2hx8.js → tool-znsx74x0.js} +1 -1
  288. package/dist/chunks/{repository-cache-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{repository-cache-vj03c95h.js → tool-zs59ffwg.js} +8 -8
  290. package/dist/chunks/{repository-cache-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{repository-cache-08fsgfkc.js → tool-zztd99f7.js} +48 -48
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +223 -223
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +13 -13
  430. package/dist/filesystem.js +100 -100
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +95 -95
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +83 -83
  461. package/dist/instructions/builtins.js +85 -85
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +84 -84
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +102 -102
  476. package/dist/mcp/instructions.js +126 -126
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +76 -76
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +99 -99
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +94 -94
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +94 -94
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +161 -161
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +139 -139
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +352 -352
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +80 -80
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +87 -87
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +152 -152
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +124 -124
  584. package/dist/session/generate.js +151 -151
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +84 -84
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +119 -119
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +130 -130
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +172 -172
  611. package/dist/session/shell.js +138 -138
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +156 -156
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +213 -213
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +140 -140
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +105 -105
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +89 -89
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +127 -127
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +120 -120
  641. package/dist/tool/plugin/mcp-resource.js +116 -116
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +114 -114
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +105 -105
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +104 -104
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +120 -120
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +12 -12
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +91 -91
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +82 -82
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +81 -81
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +80 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +96 -96
  696. package/package.json +8 -8
  697. package/dist/chunks/repository-cache-4jx8qdh8.js +0 -252
  698. package/dist/chunks/repository-cache-f2zhp4xq.js +0 -26
  699. package/dist/chunks/repository-cache-qc068m1q.js +0 -18
  700. package/dist/chunks/repository-cache-te7y3fhr.js +0 -507
  701. /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{repository-cache-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{repository-cache-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{repository-cache-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
  713. /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{repository-cache-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{repository-cache-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
  721. /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
  723. /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
  726. /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{repository-cache-922hggd3.js → tool-922hggd3.js} +0 -0
  730. /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{repository-cache-dajrwvna.js → tool-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
  746. /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{repository-cache-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{repository-cache-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{repository-cache-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
  759. /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
  761. /package/dist/chunks/{repository-cache-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
  763. /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{repository-cache-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
  791. /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{repository-cache-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{repository-cache-ym463w8f.js → tool-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-cache-3nxcgc5r.js";
4
+ } from "./tool-sd321mms.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./repository-cache-vbq8pb5b.js";
8
+ } from "./tool-cxfezmj7.js";
9
9
  import {
10
- Service51,
10
+ Service77,
11
11
  login2,
12
- node54
13
- } from "./repository-cache-56pvw0gc.js";
12
+ node80
13
+ } from "./tool-36sqq72v.js";
14
14
  import {
15
15
  lazy2
16
- } from "./repository-cache-88xbtdfr.js";
16
+ } from "./tool-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput2,
25
- Event: () => Event4,
24
+ CreateInput: () => CreateInput3,
25
+ Event: () => Event7,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID2,
28
- Info: () => Info2,
29
- NotFoundError: () => NotFoundError3,
27
+ ID: () => ID4,
28
+ Info: () => Info5,
29
+ NotFoundError: () => NotFoundError4,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service20,
31
+ Service: () => Service28,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node22
33
+ node: () => node31
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event4 } from "@opencode/schema/pty";
38
+ import { Event as Event7 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID2 = Pty.ID;
43
- var Info2 = Pty.Info;
44
- var CreateInput2 = Pty.CreateInput;
42
+ var ID4 = Pty.ID;
43
+ var Info5 = Pty.Info;
44
+ var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID2
47
+ class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID4
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID2
53
+ ptyID: ID4
54
54
  }) {
55
55
  }
56
56
 
57
- class Service20 extends Context.Service()("@opencode/Pty") {
57
+ class Service28 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service20, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
60
60
  const bus = yield* Service83;
61
61
  const location = yield* Service80;
62
- const shell = yield* Service51;
62
+ const shell = yield* Service77;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError3({ ptyID: id });
99
+ return yield* new NotFoundError4({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID2.ascending();
125
+ const id = ID4.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service20.of({ list, get, create, update, remove, write, attach });
270
+ return Service28.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node22 = makeLocationNode({
273
- service: Service20,
272
+ var node31 = makeLocationNode({
273
+ service: Service28,
274
274
  layer,
275
- deps: [node87, node84, node54]
275
+ deps: [node87, node84, node80]
276
276
  });
277
277
 
278
- export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service20, node22, exports_pty, Event4 };
278
+ export { ID4, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service28, node31, exports_pty, Event7 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-cache-922hggd3.js";
5
+ } from "./tool-922hggd3.js";
6
6
  import {
7
- Service59,
8
- node62
9
- } from "./repository-cache-frqnjdcx.js";
7
+ Service78,
8
+ node81
9
+ } from "./tool-9a22gx4j.js";
10
10
  import {
11
11
  Content2
12
- } from "./repository-cache-t2ctsxfp.js";
12
+ } from "./tool-2m1k0ztt.js";
13
13
  import {
14
14
  detect2
15
- } from "./repository-cache-3smtnn6g.js";
15
+ } from "./tool-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-cache-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service7,
37
37
  TextPage: () => TextPage2,
38
- node: () => node7,
38
+ node: () => node9,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service5, Effect.gen(function* () {
334
- const environment = yield* Service59;
335
- return Service5.of({
333
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
334
+ const environment = yield* Service78;
335
+ return Service7.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node7 = makeLocationNode({ service: Service5, layer, deps: [node62] });
340
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [node81] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./repository-cache-3w5fmr99.js";
3
+ } from "./tool-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin48,
11
+ Plugin: () => Plugin47,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin48 = define({
18
+ var Plugin47 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin48, exports_tool_input_repair };
123
+ export { Plugin47, exports_tool_input_repair };
@@ -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/util/token.ts
6
6
  var exports_token = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info12,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info12 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-cache-3nxcgc5r.js";
4
+ } from "./tool-sd321mms.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-cache-9rqn6x4v.js";
7
+ } from "./tool-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
20
- Info: () => Info31,
19
+ ID: () => ID13,
20
+ Info: () => Info28,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service78,
25
+ Service: () => Service74,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node82,
29
+ node: () => node77,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
39
- var Info31 = Form.Info;
38
+ var ID13 = Form.ID;
39
+ var Info28 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
48
+ id: ID13
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID13
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID13
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID13,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service78 extends Context.Service()("@opencode/Form") {
82
+ class Service74 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service78, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID13.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service78.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service74.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node87] });
164
+ var node77 = makeLocationNode({ service: Service74, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event20 };
316
+ export { ID13, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node77, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -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/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./repository-cache-922hggd3.js";
4
+ } from "./tool-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./repository-cache-jexxy024.js";
7
+ } from "./tool-q3t37ft6.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service40
6
- } from "./repository-cache-a2w1s5qp.js";
5
+ Service38
6
+ } from "./tool-a7ntt1km.js";
7
7
  import {
8
- Service70
9
- } from "./repository-cache-q5862mkf.js";
8
+ Service56
9
+ } from "./tool-391zmw43.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-cache-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin31
18
+ Plugin: () => Plugin6
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin31 = {
22
+ var Plugin6 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service40;
26
- const permission = yield* Service70;
25
+ const mcp = yield* Service38;
26
+ const permission = yield* Service56;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin31 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin31, exports_mcp_resource };
96
+ export { Plugin6, exports_mcp_resource };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service59
3
- } from "./repository-cache-frqnjdcx.js";
2
+ Service78
3
+ } from "./tool-9a22gx4j.js";
4
4
  import {
5
- Service14,
5
+ Service13,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./repository-cache-gfj9m061.js";
8
+ } from "./tool-tz4t78ya.js";
9
9
  import {
10
- Service17
11
- } from "./repository-cache-ccd57ky6.js";
10
+ Service21
11
+ } from "./tool-f4stfc8j.js";
12
12
  import {
13
- Service70
14
- } from "./repository-cache-q5862mkf.js";
13
+ Service56
14
+ } from "./tool-391zmw43.js";
15
15
  import {
16
- Service19
17
- } from "./repository-cache-jjjjkqdk.js";
16
+ Service16
17
+ } from "./tool-5avn8fxx.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./repository-cache-6prwharc.js";
20
+ } from "./tool-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./repository-cache-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input8,
28
+ Input: () => Input5,
29
29
  Output: () => Output5,
30
- Plugin: () => Plugin26,
30
+ Plugin: () => Plugin5,
31
31
  WriteTool: () => exports_write,
32
- name: () => name8,
33
- toModelContent: () => toModelContent5
32
+ name: () => name5,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name8 = "write";
39
- var Input8 = Schema.Struct({
38
+ var name5 = "write";
39
+ var Input5 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
@@ -48,24 +48,24 @@ var Output5 = Schema.Struct({
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin26 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin5 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
56
- const fileMutation = yield* Service14;
57
- const environment = yield* Service59;
58
- const formatter = yield* Service17;
59
- const permission = yield* Service70;
55
+ const access = yield* Service16;
56
+ const fileMutation = yield* Service13;
57
+ const environment = yield* Service78;
58
+ const formatter = yield* Service21;
59
+ const permission = yield* Service56;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name8,
61
+ name: name5,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input8,
68
+ input: Input5,
69
69
  output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name8, Input8, Output5, toModelContent5, Plugin26, exports_write };
101
+ export { name5, Input5, Output5, toModelContent4, Plugin5, exports_write };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./repository-cache-rdw6cm16.js";
3
+ } from "./tool-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service56,
14
+ Service: () => Service63,
15
15
  SizeError: () => SizeError2,
16
- node: () => node59
16
+ node: () => node66
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service56 extends Context.Service()("@opencode/Image") {
45
+ class Service63 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service56, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service56.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service63.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node59 = makeLocationNode({ service: Service56, layer, deps: [] });
79
+ var node66 = makeLocationNode({ service: Service63, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service56, node59, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service63, node66, exports_image2 };