@opencode/core 0.0.0-dev-20256 → 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 (795) 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 +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{aisdk-ncnrdk5t.js → tool-01mtfcwf.js} +42 -42
  8. package/dist/chunks/{aisdk-qd6w2snt.js → tool-034466pj.js} +42 -42
  9. package/dist/chunks/{aisdk-7cjd7khd.js → tool-0egx9fcg.js} +12 -12
  10. package/dist/chunks/{aisdk-db5a8hv2.js → tool-0n945rvh.js} +9 -9
  11. package/dist/chunks/{aisdk-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{aisdk-gcb0pgp4.js → tool-0v0g5gxd.js} +7 -7
  13. package/dist/chunks/{aisdk-dfdarkbv.js → tool-0vx053wa.js} +31 -31
  14. package/dist/chunks/{aisdk-182dr9rt.js → tool-0x54nnzp.js} +14 -14
  15. package/dist/chunks/{aisdk-5v50a7xx.js → tool-11tc0n79.js} +4 -4
  16. package/dist/chunks/{aisdk-z312547k.js → tool-175m3jx7.js} +25 -25
  17. package/dist/chunks/{aisdk-pyyn0bp8.js → tool-18eb7gxs.js} +11 -11
  18. package/dist/chunks/{aisdk-wgd50f01.js → tool-194bm8bb.js} +32 -32
  19. package/dist/chunks/{aisdk-6dpq57k2.js → tool-1976gz4t.js} +33 -33
  20. package/dist/chunks/{aisdk-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{aisdk-7yxfz471.js → tool-1dmvbadb.js} +20 -20
  22. package/dist/chunks/{aisdk-1w9ezc4a.js → tool-1msf33w2.js} +10 -10
  23. package/dist/chunks/{aisdk-yr1wc87s.js → tool-1r5rhfpg.js} +13 -13
  24. package/dist/chunks/{aisdk-21r38tys.js → tool-21r38tys.js} +1 -1
  25. package/dist/chunks/{aisdk-tw4w1vk3.js → tool-296y6fm3.js} +23 -23
  26. package/dist/chunks/{aisdk-z63w68vq.js → tool-29x78va6.js} +6 -6
  27. package/dist/chunks/{aisdk-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{aisdk-qfap2v99.js → tool-2c73s09s.js} +13 -13
  29. package/dist/chunks/{aisdk-g808avxm.js → tool-2dw8d83v.js} +32 -32
  30. package/dist/chunks/{aisdk-esafk7q3.js → tool-2k8khapm.js} +5 -5
  31. package/dist/chunks/{aisdk-zvyw4fnc.js → tool-2m1k0ztt.js} +32 -32
  32. package/dist/chunks/{aisdk-3w0fmcng.js → tool-2qp6y8xf.js} +5 -5
  33. package/dist/chunks/{aisdk-gpk600j1.js → tool-2tba787a.js} +10 -10
  34. package/dist/chunks/{aisdk-as4rg0ma.js → tool-2wby3dfy.js} +32 -32
  35. package/dist/chunks/{aisdk-kvcyjew8.js → tool-35zcj8ny.js} +13 -13
  36. package/dist/chunks/{aisdk-btvey9wz.js → tool-36sqq72v.js} +19 -19
  37. package/dist/chunks/{aisdk-3m4atzyv.js → tool-391zmw43.js} +53 -53
  38. package/dist/chunks/{aisdk-394617td.js → tool-3dtz6yx2.js} +3 -3
  39. package/dist/chunks/{aisdk-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{aisdk-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{aisdk-0qze0aqz.js → tool-3r7whzgv.js} +7 -7
  42. package/dist/chunks/{aisdk-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{aisdk-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{aisdk-rb3azzxf.js → tool-3wgsv8e5.js} +3 -3
  45. package/dist/chunks/{aisdk-daex0s89.js → tool-3y576xey.js} +43 -43
  46. package/dist/chunks/{aisdk-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{aisdk-jskknkd1.js → tool-40grcexz.js} +25 -25
  48. package/dist/chunks/{aisdk-ma7v7n5g.js → tool-41ykdtjg.js} +77 -77
  49. package/dist/chunks/{aisdk-dq0v80fr.js → tool-424p9vrf.js} +5 -5
  50. package/dist/chunks/{aisdk-tydak3jd.js → tool-4718644a.js} +18 -18
  51. package/dist/chunks/{aisdk-szzp65n1.js → tool-4acqjqp7.js} +24 -24
  52. package/dist/chunks/{aisdk-7f83tr8w.js → tool-4b636nqp.js} +12 -12
  53. package/dist/chunks/{aisdk-xaewbne5.js → tool-4bbjkqbv.js} +18 -18
  54. package/dist/chunks/{aisdk-hz3pjvd6.js → tool-4bee6ad1.js} +11 -11
  55. package/dist/chunks/{aisdk-r3s520w4.js → tool-4eajfyk1.js} +11 -11
  56. package/dist/chunks/{aisdk-r6htjnjy.js → tool-4khtewc0.js} +43 -43
  57. package/dist/chunks/{aisdk-ckecvw8r.js → tool-54tcyq79.js} +2 -2
  58. package/dist/chunks/{aisdk-1ygqh575.js → tool-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{aisdk-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{aisdk-7kcvsn3b.js → tool-5avn8fxx.js} +18 -18
  61. package/dist/chunks/{aisdk-yfj4tzgq.js → tool-5ck8tfnb.js} +8 -8
  62. package/dist/chunks/{aisdk-5daktx2q.js → tool-5daktx2q.js} +1 -1
  63. package/dist/chunks/{aisdk-676mk4pm.js → tool-5dhv185w.js} +37 -37
  64. package/dist/chunks/{aisdk-h6r3nrb9.js → tool-5mtzsd3b.js} +4 -4
  65. package/dist/chunks/{aisdk-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{aisdk-ppv1xyee.js → tool-5xnnt85z.js} +21 -21
  67. package/dist/chunks/{aisdk-669tq793.js → tool-669tq793.js} +1 -1
  68. package/dist/chunks/{aisdk-w9ah4h24.js → tool-67582959.js} +6 -6
  69. package/dist/chunks/{aisdk-7ccy6710.js → tool-67kbkrjb.js} +15 -15
  70. package/dist/chunks/{aisdk-4wexvyjy.js → tool-6ab7jrdn.js} +13 -13
  71. package/dist/chunks/{aisdk-yvam1hap.js → tool-6ha1y7f7.js} +10 -10
  72. package/dist/chunks/{aisdk-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{aisdk-z73vq4bz.js → tool-6t6ktgh6.js} +22 -22
  74. package/dist/chunks/{aisdk-663rft7j.js → tool-6tb4xv4d.js} +11 -11
  75. package/dist/chunks/{aisdk-qjkv87ee.js → tool-6yf2w8yd.js} +13 -13
  76. package/dist/chunks/{aisdk-ns0x2tka.js → tool-72cm32h1.js} +3 -3
  77. package/dist/chunks/{aisdk-zgf4bnax.js → tool-75hmra9r.js} +12 -12
  78. package/dist/chunks/{aisdk-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{aisdk-w7g7j2er.js → tool-7k1k30bt.js} +1 -1
  80. package/dist/chunks/{aisdk-0tzy42a9.js → tool-7rwqf82v.js} +8 -8
  81. package/dist/chunks/{aisdk-63153s7y.js → tool-7v1rs999.js} +20 -20
  82. package/dist/chunks/{aisdk-57y3gjg2.js → tool-809ngxdw.js} +18 -18
  83. package/dist/chunks/{aisdk-4qabh746.js → tool-80cfmxjf.js} +25 -25
  84. package/dist/chunks/{aisdk-2gzj9kj5.js → tool-8265666q.js} +9 -9
  85. package/dist/chunks/{aisdk-w1eejvng.js → tool-84txncab.js} +5 -5
  86. package/dist/chunks/{aisdk-zfbzdcys.js → tool-8az6wgtc.js} +24 -24
  87. package/dist/chunks/{aisdk-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{aisdk-hn0pq7g1.js → tool-8qx87br5.js} +28 -28
  89. package/dist/chunks/{aisdk-8xvfz31x.js → tool-8rn5fqsk.js} +91 -91
  90. package/dist/chunks/{aisdk-6pc27hjz.js → tool-8sze2n9a.js} +2 -2
  91. package/dist/chunks/{aisdk-6fwq4dqz.js → tool-946c90tq.js} +8 -8
  92. package/dist/chunks/{aisdk-dm7jexpd.js → tool-95yxn8sy.js} +3 -3
  93. package/dist/chunks/{aisdk-99mr7wdx.js → tool-9a22gx4j.js} +24 -24
  94. package/dist/chunks/{aisdk-7nd1169e.js → tool-9a55rck2.js} +22 -22
  95. package/dist/chunks/{aisdk-8svjx7h2.js → tool-9aqmr64f.js} +3 -3
  96. package/dist/chunks/{aisdk-fcd91b3z.js → tool-9dvrwmbd.js} +14 -14
  97. package/dist/chunks/{aisdk-4her2v12.js → tool-9jcc4y49.js} +11 -11
  98. package/dist/chunks/{aisdk-0m4243s0.js → tool-9jk221y9.js} +9 -9
  99. package/dist/chunks/{aisdk-1fmq3znq.js → tool-9y90g72n.js} +25 -25
  100. package/dist/chunks/{aisdk-6hh8tjw2.js → tool-a2ew8a62.js} +4 -4
  101. package/dist/chunks/{aisdk-6bmgfwc8.js → tool-a3j192et.js} +16 -16
  102. package/dist/chunks/{aisdk-8s0e1fjd.js → tool-a7ntt1km.js} +51 -51
  103. package/dist/chunks/{aisdk-1vmmb2v8.js → tool-a9rnddwt.js} +48 -48
  104. package/dist/chunks/{aisdk-aaet6srn.js → tool-aaet6srn.js} +2 -2
  105. package/dist/chunks/{aisdk-0pavs2p4.js → tool-aasthdk7.js} +22 -22
  106. package/dist/chunks/{aisdk-n8dq3ec0.js → tool-afmxnawc.js} +43 -43
  107. package/dist/chunks/{aisdk-349f6n3h.js → tool-amxsn76y.js} +9 -9
  108. package/dist/chunks/{aisdk-zagye02c.js → tool-asmesk1c.js} +51 -51
  109. package/dist/chunks/{aisdk-a3x8dc07.js → tool-aw0zj34j.js} +22 -22
  110. package/dist/chunks/{aisdk-g190xswt.js → tool-axmvebxj.js} +21 -21
  111. package/dist/chunks/{aisdk-ytsgtawk.js → tool-b4awgack.js} +327 -327
  112. package/dist/chunks/{aisdk-52zk98qq.js → tool-b4k87etx.js} +32 -32
  113. package/dist/chunks/{aisdk-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{aisdk-76z31epj.js → tool-bbertzxx.js} +27 -27
  115. package/dist/chunks/{aisdk-j83byb14.js → tool-bct739vz.js} +4 -4
  116. package/dist/chunks/{aisdk-axa5krkd.js → tool-bdqrk2vk.js} +7 -7
  117. package/dist/chunks/{aisdk-my9p806h.js → tool-bhz5rt2a.js} +10 -10
  118. package/dist/chunks/{aisdk-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
  119. package/dist/chunks/{aisdk-mvksx64m.js → tool-bk7jaeqh.js} +4 -4
  120. package/dist/chunks/{aisdk-bk8zh60f.js → tool-bne83k22.js} +19 -19
  121. package/dist/chunks/{aisdk-f05xsng2.js → tool-brbv3dp1.js} +33 -33
  122. package/dist/chunks/{aisdk-ys8gg27d.js → tool-c8c0e7p2.js} +4 -4
  123. package/dist/chunks/tool-cmck6x1v.js +26 -0
  124. package/dist/chunks/{aisdk-t6msp11s.js → tool-cnvcdvk7.js} +6 -6
  125. package/dist/chunks/{aisdk-4j3f3fxy.js → tool-csc4d3td.js} +9 -9
  126. package/dist/chunks/{aisdk-s3mttwrw.js → tool-cxfezmj7.js} +14 -14
  127. package/dist/chunks/{aisdk-hv5re2jg.js → tool-cycpek8a.js} +8 -8
  128. package/dist/chunks/{aisdk-kkzkpgbp.js → tool-d45ca2b9.js} +15 -15
  129. package/dist/chunks/{aisdk-cwa6csj7.js → tool-d4he2qe1.js} +9 -9
  130. package/dist/chunks/{aisdk-pak9h2dr.js → tool-d7hv7zmm.js} +12 -12
  131. package/dist/chunks/{aisdk-yfbzmvpx.js → tool-dbnvakxz.js} +2 -2
  132. package/dist/chunks/{aisdk-crdp3k4d.js → tool-df918xjf.js} +13 -13
  133. package/dist/chunks/{aisdk-xkntkrq7.js → tool-dmqcgk4z.js} +5 -5
  134. package/dist/chunks/{aisdk-ccrnt3wf.js → tool-dsr5k85q.js} +32 -32
  135. package/dist/chunks/{aisdk-02y2a9xg.js → tool-dss8prcv.js} +5 -5
  136. package/dist/chunks/{aisdk-8xgx7xvf.js → tool-dth0kp2g.js} +10 -10
  137. package/dist/chunks/{aisdk-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{aisdk-dgnk288q.js → tool-eacc2dt9.js} +18 -18
  139. package/dist/chunks/{aisdk-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
  140. package/dist/chunks/{aisdk-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{aisdk-x0sz19sa.js → tool-eg546c9f.js} +29 -29
  142. package/dist/chunks/{aisdk-hvmyt62c.js → tool-eg73nz8j.js} +16 -16
  143. package/dist/chunks/{aisdk-4qwdvbmq.js → tool-ehjy287r.js} +3 -3
  144. package/dist/chunks/{aisdk-49dt11pw.js → tool-ek9e68b4.js} +31 -31
  145. package/dist/chunks/{aisdk-7cdat2nm.js → tool-em3h5ktn.js} +4 -4
  146. package/dist/chunks/{aisdk-0br3sbwn.js → tool-espax8zg.js} +4 -4
  147. package/dist/chunks/{aisdk-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{aisdk-czdg5ncj.js → tool-ev6cj1t6.js} +4 -4
  149. package/dist/chunks/{aisdk-7v9mzd9j.js → tool-ewrs59eb.js} +35 -35
  150. package/dist/chunks/{aisdk-kqat4kfa.js → tool-ezfsjjcb.js} +25 -25
  151. package/dist/chunks/{aisdk-nfcr1yw4.js → tool-f32czd11.js} +11 -11
  152. package/dist/chunks/{aisdk-ptb645zh.js → tool-f4stfc8j.js} +18 -18
  153. package/dist/chunks/{aisdk-txc1zf78.js → tool-f5gy8qwh.js} +8 -8
  154. package/dist/chunks/{aisdk-55g7bsvt.js → tool-f5j4h519.js} +31 -31
  155. package/dist/chunks/{aisdk-vsnq8yew.js → tool-f9v45azf.js} +34 -34
  156. package/dist/chunks/{aisdk-hr8by5jr.js → tool-faz569s1.js} +4 -4
  157. package/dist/chunks/{aisdk-ae5xckma.js → tool-fbk6jmjr.js} +8 -8
  158. package/dist/chunks/{aisdk-jqf6twm8.js → tool-fk1tprft.js} +11 -11
  159. package/dist/chunks/{aisdk-xvp1j2dc.js → tool-g5agzp2h.js} +5 -5
  160. package/dist/chunks/{aisdk-2qdztw1g.js → tool-g5mnhhzf.js} +5 -5
  161. package/dist/chunks/{aisdk-fc1g3vk8.js → tool-g6af17tj.js} +15 -15
  162. package/dist/chunks/{aisdk-p1751c20.js → tool-gbny3ebw.js} +5 -5
  163. package/dist/chunks/{aisdk-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{aisdk-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
  165. package/dist/chunks/{aisdk-mfxxky5h.js → tool-gjz1jd2j.js} +15 -15
  166. package/dist/chunks/{aisdk-bfq87az1.js → tool-grfjx99d.js} +37 -37
  167. package/dist/chunks/{aisdk-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{aisdk-q4nr5ctg.js → tool-gy1z56yw.js} +11 -11
  169. package/dist/chunks/{aisdk-x2rw7g36.js → tool-h4z1mxff.js} +5 -5
  170. package/dist/chunks/{aisdk-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{aisdk-4j4tgtq5.js → tool-h9wp8z5w.js} +4 -4
  172. package/dist/chunks/{aisdk-0cv45488.js → tool-hxxwhazt.js} +22 -22
  173. package/dist/chunks/{aisdk-j56e64zr.js → tool-j56e64zr.js} +1 -1
  174. package/dist/chunks/{aisdk-9kmbd9mt.js → tool-jca4demv.js} +2 -2
  175. package/dist/chunks/{aisdk-1r5wma42.js → tool-jj4f2m0r.js} +10 -10
  176. package/dist/chunks/{aisdk-hksdfjn2.js → tool-jjhdrc4d.js} +32 -32
  177. package/dist/chunks/{aisdk-bkxyw0dr.js → tool-jvvc3tfq.js} +9 -9
  178. package/dist/chunks/{aisdk-yfedktg3.js → tool-jyzvwcc3.js} +94 -94
  179. package/dist/chunks/{aisdk-k3c624dm.js → tool-k3c624dm.js} +3 -3
  180. package/dist/chunks/{aisdk-jbm4dns3.js → tool-ka42hk6n.js} +20 -20
  181. package/dist/chunks/{aisdk-55g93apm.js → tool-kf4n8cem.js} +6 -6
  182. package/dist/chunks/{aisdk-n9pha4qt.js → tool-kftnayyw.js} +7 -7
  183. package/dist/chunks/{aisdk-c61j08ve.js → tool-ksz6c1e3.js} +26 -26
  184. package/dist/chunks/{aisdk-800mfp3c.js → tool-ktwybt29.js} +24 -24
  185. package/dist/chunks/{aisdk-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{aisdk-ybaxr0a6.js → tool-m5gtchbr.js} +6 -6
  187. package/dist/chunks/{aisdk-ctcghnt9.js → tool-m82n3tcb.js} +11 -11
  188. package/dist/chunks/{aisdk-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{aisdk-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
  190. package/dist/chunks/{aisdk-5a8h8ctf.js → tool-mxck01x7.js} +35 -35
  191. package/dist/chunks/{aisdk-c27esgm9.js → tool-n0tq777j.js} +8 -8
  192. package/dist/chunks/{aisdk-8fqgctrg.js → tool-n2bwe27v.js} +17 -17
  193. package/dist/chunks/{aisdk-b4h37xk4.js → tool-na3vr06v.js} +12 -12
  194. package/dist/chunks/{aisdk-xpgqa4c9.js → tool-nd981500.js} +31 -31
  195. package/dist/chunks/{aisdk-a8ze81rj.js → tool-ngr3dbwj.js} +9 -9
  196. package/dist/chunks/{aisdk-0996nyz8.js → tool-njhqdk9p.js} +8 -8
  197. package/dist/chunks/{aisdk-n33bf5vn.js → tool-nqhs97wk.js} +11 -11
  198. package/dist/chunks/{aisdk-cmwkp3r5.js → tool-p37cw4rj.js} +8 -8
  199. package/dist/chunks/{aisdk-bs9yp185.js → tool-p7emx7qr.js} +11 -11
  200. package/dist/chunks/{aisdk-ajq3aykw.js → tool-p9njq13k.js} +12 -12
  201. package/dist/chunks/{aisdk-xpc0fge1.js → tool-pa719ayw.js} +6 -6
  202. package/dist/chunks/{aisdk-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{aisdk-pknna89w.js → tool-pknna89w.js} +1 -1
  204. package/dist/chunks/{aisdk-270qpgxf.js → tool-pmjcgjf6.js} +5 -5
  205. package/dist/chunks/{aisdk-qg0jgkcp.js → tool-pnv527nz.js} +9 -9
  206. package/dist/chunks/{aisdk-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
  207. package/dist/chunks/{aisdk-akhznfh4.js → tool-psxwg2jt.js} +58 -58
  208. package/dist/chunks/{aisdk-49svar8j.js → tool-pwk60xzd.js} +26 -26
  209. package/dist/chunks/{aisdk-n3se9ktf.js → tool-pzmgz1kt.js} +22 -22
  210. package/dist/chunks/{aisdk-mf9m2v67.js → tool-q3t37ft6.js} +3 -3
  211. package/dist/chunks/{aisdk-qnp9kb3g.js → tool-q5dgj24k.js} +17 -17
  212. package/dist/chunks/{aisdk-e4vfrr4m.js → tool-q73ax3e3.js} +6 -6
  213. package/dist/chunks/{aisdk-v4vtjwr4.js → tool-q9m41f22.js} +17 -17
  214. package/dist/chunks/{aisdk-eahhehpg.js → tool-qbqbaz6q.js} +4 -4
  215. package/dist/chunks/tool-qjxeh2jn.js +252 -0
  216. package/dist/chunks/{aisdk-5wm7c1zs.js → tool-qnshbhpz.js} +8 -8
  217. package/dist/chunks/{aisdk-56m60q16.js → tool-qpbc7zwf.js} +5 -5
  218. package/dist/chunks/{aisdk-qsdy395h.js → tool-qsdy395h.js} +1 -1
  219. package/dist/chunks/{aisdk-9fe766st.js → tool-qsgng9yw.js} +11 -11
  220. package/dist/chunks/{aisdk-yjptyezs.js → tool-qte5z7bc.js} +5 -5
  221. package/dist/chunks/{aisdk-0mvrhkyt.js → tool-qthggnn3.js} +27 -27
  222. package/dist/chunks/{aisdk-rbrsya93.js → tool-qvyqyy4a.js} +37 -37
  223. package/dist/chunks/{aisdk-3k6sfp50.js → tool-qz49fwgp.js} +6 -6
  224. package/dist/chunks/{aisdk-majyh6z0.js → tool-qzzwmwsb.js} +24 -24
  225. package/dist/chunks/{aisdk-2nq500x2.js → tool-rbedxwk0.js} +10 -10
  226. package/dist/chunks/{aisdk-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{aisdk-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
  228. package/dist/chunks/{aisdk-tdpndm1c.js → tool-rmm45jmv.js} +5 -5
  229. package/dist/chunks/{aisdk-az7dzcjk.js → tool-rsmztf11.js} +21 -21
  230. package/dist/chunks/{aisdk-tnw8k1e5.js → tool-rwt25hr0.js} +11 -11
  231. package/dist/chunks/{aisdk-yrznvahk.js → tool-s4enseaf.js} +2 -2
  232. package/dist/chunks/{aisdk-m2td0v2g.js → tool-s7va8ds3.js} +16 -16
  233. package/dist/chunks/{aisdk-xtk3nah1.js → tool-s81k1a76.js} +25 -25
  234. package/dist/chunks/{aisdk-4z54v0t9.js → tool-sd321mms.js} +16 -16
  235. package/dist/chunks/{aisdk-r6r0fhk9.js → tool-sg7et9cp.js} +16 -16
  236. package/dist/chunks/{aisdk-2dxzzdm9.js → tool-ss1fsgxr.js} +18 -18
  237. package/dist/chunks/{aisdk-hz8vg8zp.js → tool-syg1g1yq.js} +36 -36
  238. package/dist/chunks/{aisdk-wjvtgdma.js → tool-t5eds39s.js} +28 -28
  239. package/dist/chunks/{aisdk-ddt2bs9e.js → tool-t7n9q6bq.js} +4 -4
  240. package/dist/chunks/{aisdk-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{aisdk-d1mtykxg.js → tool-tcay1cqt.js} +6 -6
  242. package/dist/chunks/{aisdk-89znhe33.js → tool-tcezcvh9.js} +4 -4
  243. package/dist/chunks/{aisdk-tdstcens.js → tool-tdstcens.js} +1 -1
  244. package/dist/chunks/{aisdk-0byhtdew.js → tool-tg11ymz8.js} +5 -5
  245. package/dist/chunks/{aisdk-8fm8ppq3.js → tool-tnwevgky.js} +175 -175
  246. package/dist/chunks/{aisdk-exx9rc7s.js → tool-tpgzbb02.js} +22 -22
  247. package/dist/chunks/{aisdk-x88ttkg4.js → tool-ttk3mwgy.js} +11 -11
  248. package/dist/chunks/{aisdk-tvtrv512.js → tool-tvtrv512.js} +1 -1
  249. package/dist/chunks/{aisdk-499m5pkh.js → tool-txmctbw7.js} +5 -5
  250. package/dist/chunks/{aisdk-0w33wecb.js → tool-tz4t78ya.js} +13 -13
  251. package/dist/chunks/{aisdk-046kce9e.js → tool-vbv8dfnm.js} +22 -22
  252. package/dist/chunks/{aisdk-zyn999ja.js → tool-vdtperbh.js} +5 -5
  253. package/dist/chunks/{aisdk-veqvce7d.js → tool-veqvce7d.js} +1 -1
  254. package/dist/chunks/tool-vsdyktar.js +18 -0
  255. package/dist/chunks/{aisdk-dsynjm4b.js → tool-vvaq8bb8.js} +7 -7
  256. package/dist/chunks/{aisdk-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{aisdk-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{aisdk-v4s5p1py.js → tool-w1p328vv.js} +11 -11
  259. package/dist/chunks/{aisdk-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{aisdk-pjj09n0e.js → tool-w5tjdcqf.js} +23 -23
  261. package/dist/chunks/{aisdk-pna5398n.js → tool-w7jh0eam.js} +1 -1
  262. package/dist/chunks/{aisdk-cyp1whvh.js → tool-w8n0e5aw.js} +20 -20
  263. package/dist/chunks/{aisdk-wd87259q.js → tool-wd87259q.js} +1 -1
  264. package/dist/chunks/{aisdk-r8p2vqew.js → tool-wk7hydj3.js} +11 -11
  265. package/dist/chunks/{aisdk-5smv69nk.js → tool-wkt2y4hc.js} +25 -25
  266. package/dist/chunks/{aisdk-fy36m1d4.js → tool-wyr36rym.js} +29 -29
  267. package/dist/chunks/{aisdk-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{aisdk-bencpdpj.js → tool-x749c8ap.js} +24 -24
  269. package/dist/chunks/{aisdk-68nwcgwh.js → tool-xever9ax.js} +39 -39
  270. package/dist/chunks/{aisdk-drwq78ky.js → tool-xfkkasph.js} +4 -4
  271. package/dist/chunks/{aisdk-ms69wjh7.js → tool-xh089592.js} +5 -5
  272. package/dist/chunks/{aisdk-g0a0731h.js → tool-xhs54hgc.js} +33 -33
  273. package/dist/chunks/{aisdk-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{aisdk-we7wvggr.js → tool-y4rjczph.js} +35 -35
  275. package/dist/chunks/{aisdk-y71avatq.js → tool-y71avatq.js} +1 -1
  276. package/dist/chunks/{aisdk-8qh6anns.js → tool-ydgy0jv4.js} +4 -4
  277. package/dist/chunks/{aisdk-045msxws.js → tool-yj0c5cmr.js} +27 -27
  278. package/dist/chunks/{aisdk-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{aisdk-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{aisdk-p44d8wdy.js → tool-yt0fqk68.js} +5 -5
  281. package/dist/chunks/{aisdk-f1mb3w2p.js → tool-yt55jd1w.js} +20 -20
  282. package/dist/chunks/{aisdk-3sye6dmk.js → tool-yv16hj29.js} +19 -19
  283. package/dist/chunks/{aisdk-d9bxpwh9.js → tool-yw7byxdn.js} +14 -14
  284. package/dist/chunks/{aisdk-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{aisdk-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{aisdk-j4r9v230.js → tool-zkx6mb6f.js} +8 -8
  287. package/dist/chunks/{aisdk-hd8vw2pw.js → tool-znsx74x0.js} +1 -1
  288. package/dist/chunks/{aisdk-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{aisdk-wm58vmky.js → tool-zs59ffwg.js} +22 -22
  290. package/dist/chunks/{aisdk-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{aisdk-fhnmn8wf.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 +83 -83
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  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 +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  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 +123 -123
  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 +122 -122
  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 +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +79 -79
  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 +1 -1
  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 +74 -74
  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 +227 -227
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +108 -108
  431. package/dist/form.js +78 -78
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +89 -89
  434. package/dist/generate.js +103 -103
  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 +91 -91
  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 +87 -87
  462. package/dist/instructions/index.js +1 -1
  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 +135 -135
  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 +85 -85
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +108 -108
  476. package/dist/mcp/instructions.js +128 -128
  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 +91 -91
  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 +111 -111
  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 +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +101 -101
  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 +2 -2
  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 +120 -120
  526. package/dist/plugin/provider/openai.js +92 -92
  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 +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  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 +4 -4
  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 +5 -5
  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 +6 -6
  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 +84 -84
  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 +89 -89
  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 +97 -97
  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 +132 -132
  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 +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +224 -224
  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 +86 -86
  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 +75 -75
  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 +3 -3
  619. package/dist/session/title.js +156 -156
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +222 -222
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  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 +6 -6
  630. package/dist/skill/instructions.js +107 -107
  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 +118 -118
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +120 -120
  640. package/dist/tool/plugin/grep.js +124 -124
  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 +122 -122
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +123 -123
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +215 -215
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +112 -112
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +96 -96
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  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 +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  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 +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +84 -84
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +81 -81
  688. package/dist/workspace/driver.js +3 -3
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +78 -78
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +98 -98
  696. package/package.json +8 -8
  697. package/dist/chunks/aisdk-ad2cdf3a.js +0 -252
  698. package/dist/chunks/aisdk-nmamyr0m.js +0 -26
  699. package/dist/chunks/aisdk-vnkjks7b.js +0 -18
  700. /package/dist/chunks/{aisdk-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{aisdk-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{aisdk-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{aisdk-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{aisdk-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{aisdk-24dcb14g.js → tool-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{aisdk-2710q6r3.js → tool-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{aisdk-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{aisdk-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{aisdk-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{aisdk-359p4xyc.js → tool-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{aisdk-3asan66x.js → tool-3asan66x.js} +0 -0
  712. /package/dist/chunks/{aisdk-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{aisdk-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{aisdk-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{aisdk-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{aisdk-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{aisdk-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{aisdk-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{aisdk-53557ph1.js → tool-53557ph1.js} +0 -0
  720. /package/dist/chunks/{aisdk-550bvhaj.js → tool-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{aisdk-6prwharc.js → tool-6prwharc.js} +0 -0
  722. /package/dist/chunks/{aisdk-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{aisdk-7m9af43g.js → tool-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{aisdk-822emrt2.js → tool-822emrt2.js} +0 -0
  725. /package/dist/chunks/{aisdk-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{aisdk-8n3pysct.js → tool-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{aisdk-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{aisdk-922hggd3.js → tool-922hggd3.js} +0 -0
  729. /package/dist/chunks/{aisdk-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{aisdk-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{aisdk-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{aisdk-af5trqkr.js → tool-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{aisdk-afrmfg78.js → tool-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{aisdk-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{aisdk-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{aisdk-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{aisdk-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{aisdk-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{aisdk-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{aisdk-d9fn303g.js → tool-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{aisdk-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{aisdk-dajrwvna.js → tool-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{aisdk-dap0rakb.js → tool-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{aisdk-df08tz66.js → tool-df08tz66.js} +0 -0
  745. /package/dist/chunks/{aisdk-dy18nga0.js → tool-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{aisdk-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{aisdk-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{aisdk-ec1grn59.js → tool-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{aisdk-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{aisdk-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{aisdk-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{aisdk-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{aisdk-faypxj3z.js → tool-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{aisdk-fd410y7t.js → tool-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{aisdk-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{aisdk-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{aisdk-g86h250q.js → tool-g86h250q.js} +0 -0
  758. /package/dist/chunks/{aisdk-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{aisdk-gftt206x.js → tool-gftt206x.js} +0 -0
  760. /package/dist/chunks/{aisdk-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{aisdk-hk9envan.js → tool-hk9envan.js} +0 -0
  762. /package/dist/chunks/{aisdk-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{aisdk-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{aisdk-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{aisdk-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{aisdk-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{aisdk-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{aisdk-mp448xyj.js → tool-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{aisdk-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{aisdk-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{aisdk-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{aisdk-njntx4h6.js → tool-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{aisdk-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{aisdk-q74kybfr.js → tool-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{aisdk-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{aisdk-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{aisdk-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{aisdk-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{aisdk-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{aisdk-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{aisdk-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{aisdk-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{aisdk-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{aisdk-w803qqfp.js → tool-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{aisdk-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{aisdk-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{aisdk-wtztk69x.js → tool-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{aisdk-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{aisdk-x61499pn.js → tool-x61499pn.js} +0 -0
  790. /package/dist/chunks/{aisdk-y44na4kk.js → tool-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{aisdk-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{aisdk-y8f7s663.js → tool-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{aisdk-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{aisdk-ym463w8f.js → tool-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{aisdk-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./aisdk-jqf6twm8.js";
2
+ Service84,
3
+ node88
4
+ } from "./tool-fk1tprft.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./aisdk-ckecvw8r.js";
7
+ } from "./tool-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./aisdk-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info21,
18
- ListInput: () => ListInput3,
16
+ ID: () => ID7,
17
+ Info: () => Info11,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service59,
21
- node: () => node62
20
+ Service: () => Service57,
21
+ node: () => node60
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info21 = PermissionSaved.Info;
30
- var ListInput3 = Schema.Struct({
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info11 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service59 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service57 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service59, Effect.gen(function* () {
42
- const db = (yield* Service83).db;
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
+ const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID8.create(),
60
+ id: ID7.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service59.of({ list, add, remove });
69
+ return Service57.of({ list, add, remove });
70
70
  }));
71
- var node62 = makeGlobalNode({ service: Service59, layer, deps: [node87] });
71
+ var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
72
72
 
73
- export { ID8, Info21, ListInput3, AddInput2, Service59, node62, exports_saved };
73
+ export { ID7, Info11, ListInput4, AddInput2, Service57, node60, exports_saved };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer21,
12
- make: () => make18,
10
+ configured: () => configured6,
11
+ layer: () => layer19,
12
+ make: () => make19,
13
13
  node: () => node53,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make18()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make18(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make18(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node53 = configured7();
31
+ var layer19 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
+ var node53 = configured6();
34
34
 
35
- export { Metadata2, make18, useragent2, layer21, configured7, node53, exports_app };
35
+ export { Metadata2, make19, useragent2, layer19, configured6, node53, exports_app };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./aisdk-s3mttwrw.js";
2
+ Service80,
3
+ node84
4
+ } from "./tool-cxfezmj7.js";
5
5
  import {
6
6
  Key3,
7
7
  make20,
8
8
  combine2
9
- } from "./aisdk-rhjbct0v.js";
9
+ } from "./tool-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./aisdk-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service20,
19
- node: () => node24
18
+ Service: () => Service35,
19
+ node: () => node38
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service20 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service20, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service77;
29
- return Service20.of({
28
+ const location = yield* Service80;
29
+ return Service35.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make20({
32
32
  key: Key3.make("core/environment"),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node24 = makeLocationNode({ service: Service20, layer, deps: [Global.node, node81] });
64
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node84] });
65
65
 
66
- export { Service20, node24, exports_builtins };
66
+ export { Service35, node38, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./aisdk-4z54v0t9.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-sd321mms.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./aisdk-tazgh4e4.js";
9
+ } from "./tool-tazgh4e4.js";
10
10
  import {
11
- Service77,
12
- node81
13
- } from "./aisdk-s3mttwrw.js";
11
+ Service80,
12
+ node84
13
+ } from "./tool-cxfezmj7.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./aisdk-rdw6cm16.js";
17
+ } from "./tool-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./aisdk-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info4,
29
+ Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service16,
31
+ Service: () => Service22,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node19
33
+ node: () => node25
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service16 extends Context.Service()("@opencode/Vcs") {
48
+ class Service22 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service16, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service77;
53
- const bus = yield* Service79;
52
+ const location = yield* Service80;
53
+ const bus = yield* Service83;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service16.of({
121
+ return Service22.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node19 = makeLocationNode({
168
- service: Service16,
167
+ var node25 = makeLocationNode({
168
+ service: Service22,
169
169
  layer,
170
- deps: [FSUtil.node, node81, node83]
170
+ deps: [FSUtil.node, node84, node87]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service16, node19, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service22, node25, exports_vcs };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./aisdk-2axfhc9x.js";
3
+ } from "./tool-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./aisdk-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./aisdk-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
- Service77
6
- } from "./aisdk-s3mttwrw.js";
5
+ Service80
6
+ } from "./tool-cxfezmj7.js";
7
7
  import {
8
- Service33
9
- } from "./aisdk-1vmmb2v8.js";
8
+ Service67
9
+ } from "./tool-a9rnddwt.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./aisdk-fy36m1d4.js";
13
+ } from "./tool-wyr36rym.js";
14
14
  import {
15
15
  observe2
16
- } from "./aisdk-qsdy395h.js";
16
+ } from "./tool-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./aisdk-9rqn6x4v.js";
19
+ } from "./tool-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin42
25
+ Plugin: () => Plugin26
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin42 = define({
31
+ var Plugin26 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service33;
35
- const location = yield* Service77;
34
+ const config = yield* Service67;
35
+ const location = yield* Service80;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin42, exports_reference };
75
+ export { Plugin26, exports_reference };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./aisdk-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
- Service77,
6
- node81
7
- } from "./aisdk-s3mttwrw.js";
5
+ Service80,
6
+ node84
7
+ } from "./tool-cxfezmj7.js";
8
8
  import {
9
- Service65,
10
- node68
11
- } from "./aisdk-2dxzzdm9.js";
9
+ Service29,
10
+ node32
11
+ } from "./tool-ss1fsgxr.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./aisdk-89znhe33.js";
14
+ names3
15
+ } from "./tool-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./aisdk-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options10,
25
- Service: () => Service64,
26
- configured: () => configured10,
24
+ Options: () => Options3,
25
+ Service: () => Service19,
26
+ configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer24,
29
- node: () => node67,
28
+ layer: () => layer9,
29
+ node: () => node21,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options10 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service64 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service64, Effect.gen(function* () {
62
- const location = yield* Service77;
63
- const ripgrep = yield* Service65;
61
+ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service29;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service64, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service64, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service64.of({
108
+ return Service19.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
116
- const location = yield* Service77;
115
+ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
116
+ const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service64.of({
129
+ return Service19.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service64.of({
134
+ return Service19.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service77;
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured10(options) {
186
- return makeLocationNode({ service: Service64, layer: layer24(options), deps: [node81, node68] });
185
+ function configured3(options) {
186
+ return makeLocationNode({ service: Service19, layer: layer9(options), deps: [node84, node32] });
187
187
  }
188
- var node67 = configured10();
188
+ var node21 = configured3();
189
189
 
190
- export { Options10, Service64, ripgrepLayer2, fffLayer2, layer24, configured10, node67, exports_search };
190
+ export { Options3, Service19, ripgrepLayer2, fffLayer2, layer9, configured3, node21, exports_search };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options4,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options4 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options4]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options4, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };