@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,125 +1,125 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./tool-fk1tprft.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./aisdk-jqf6twm8.js";
5
- import {
6
- Service79,
7
- node83
8
- } from "./aisdk-4z54v0t9.js";
8
+ } from "./tool-sd321mms.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./aisdk-gftt206x.js";
11
+ } from "./tool-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./aisdk-gcb0pgp4.js";
14
+ } from "./tool-0v0g5gxd.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./aisdk-ec1grn59.js";
17
+ } from "./tool-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./aisdk-z07pqspn.js";
20
+ } from "./tool-bjtzbw4r.js";
21
21
  import {
22
22
  prepare4
23
- } from "./aisdk-mvksx64m.js";
23
+ } from "./tool-bk7jaeqh.js";
24
24
  import {
25
25
  provenance2
26
- } from "./aisdk-4j4tgtq5.js";
26
+ } from "./tool-h9wp8z5w.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./aisdk-ctcghnt9.js";
30
+ } from "./tool-m82n3tcb.js";
31
31
  import {
32
- Service60,
33
- node63
34
- } from "./aisdk-bk8zh60f.js";
32
+ Service58,
33
+ node61
34
+ } from "./tool-bne83k22.js";
35
35
  import {
36
- Service13,
37
- node15
38
- } from "./aisdk-5a8h8ctf.js";
36
+ Service17,
37
+ node19
38
+ } from "./tool-mxck01x7.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./aisdk-5t3nmthw.js";
41
+ } from "./tool-5t3nmthw.js";
42
42
  import {
43
- Service25,
44
- node28
45
- } from "./aisdk-663rft7j.js";
43
+ Service40,
44
+ node44
45
+ } from "./tool-6tb4xv4d.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./aisdk-55g7bsvt.js";
48
+ } from "./tool-f5j4h519.js";
49
49
  import {
50
- make8
51
- } from "./aisdk-xvp1j2dc.js";
50
+ make9
51
+ } from "./tool-g5agzp2h.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./aisdk-499m5pkh.js";
54
+ } from "./tool-txmctbw7.js";
55
55
  import {
56
- Service9,
57
- node11,
56
+ Service11,
57
+ node13,
58
58
  estimatePrompt2
59
- } from "./aisdk-g0a0731h.js";
59
+ } from "./tool-xhs54hgc.js";
60
60
  import {
61
- Service19,
62
- node23
63
- } from "./aisdk-8xvfz31x.js";
61
+ Service32,
62
+ node35
63
+ } from "./tool-8rn5fqsk.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./aisdk-kqat4kfa.js";
68
+ } from "./tool-ezfsjjcb.js";
69
69
  import {
70
- Service2,
70
+ Service10,
71
71
  isUntitled2,
72
- node3
73
- } from "./aisdk-ccrnt3wf.js";
72
+ node12
73
+ } from "./tool-dsr5k85q.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service36
77
- } from "./aisdk-ddt2bs9e.js";
76
+ Service45
77
+ } from "./tool-t7n9q6bq.js";
78
78
  import {
79
- node59
80
- } from "./aisdk-ppv1xyee.js";
79
+ node63
80
+ } from "./tool-5xnnt85z.js";
81
81
  import {
82
- node88
83
- } from "./aisdk-7cjd7khd.js";
82
+ node69
83
+ } from "./tool-0egx9fcg.js";
84
84
  import {
85
85
  Outcome2,
86
- make3
87
- } from "./aisdk-046kce9e.js";
86
+ make8
87
+ } from "./tool-vbv8dfnm.js";
88
88
  import {
89
- Service22
90
- } from "./aisdk-vnkjks7b.js";
89
+ Service42
90
+ } from "./tool-vsdyktar.js";
91
91
  import {
92
- node17
93
- } from "./aisdk-n3se9ktf.js";
92
+ node22
93
+ } from "./tool-pzmgz1kt.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./aisdk-y44na4kk.js";
96
+ } from "./tool-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./aisdk-9rqn6x4v.js";
99
+ } from "./tool-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node2
105
+ node: () => node8
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service36, Effect.gen(function* () {
113
- const bus = yield* Service79;
114
- const lifecycle = yield* Service13;
115
- const store = yield* Service60;
116
- const context = yield* Service19;
117
- const modelTransport = yield* Service25;
118
- const db = (yield* Service83).db;
119
- const compaction = yield* Service9;
120
- const plugins = yield* Service22;
121
- const title = yield* Service2;
122
- const steps = yield* make3;
112
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
113
+ const bus = yield* Service83;
114
+ const lifecycle = yield* Service17;
115
+ const store = yield* Service58;
116
+ const context = yield* Service32;
117
+ const modelTransport = yield* Service40;
118
+ const db = (yield* Service84).db;
119
+ const compaction = yield* Service11;
120
+ const plugins = yield* Service42;
121
+ const title = yield* Service10;
122
+ const steps = yield* make8;
123
123
  const titles = yield* FiberMap.make();
124
124
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
125
125
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make8(bus, sessionID);
243
+ const retry = yield* make9(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service36.of({ drain });
359
+ return Service45.of({ drain });
360
360
  }));
361
- var node2 = makeLocationNode({
362
- service: Service36,
361
+ var node8 = makeLocationNode({
362
+ service: Service45,
363
363
  layer,
364
364
  deps: [
365
- node83,
366
- node15,
365
+ node87,
366
+ node19,
367
367
  llmClient2,
368
- node23,
369
- node28,
368
+ node35,
369
+ node44,
370
+ node61,
371
+ node13,
372
+ node22,
373
+ node12,
370
374
  node63,
371
- node11,
372
- node17,
373
- node3,
374
- node59,
375
- node88,
376
- node87
375
+ node69,
376
+ node88
377
377
  ]
378
378
  });
379
379
 
380
- export { node2, exports_llm };
380
+ export { node8, exports_llm };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./aisdk-922hggd3.js";
4
+ } from "./tool-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./aisdk-y71avatq.js";
7
+ } from "./tool-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./aisdk-tazgh4e4.js";
12
+ } from "./tool-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./aisdk-ef5x83kb.js";
15
+ } from "./tool-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./aisdk-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./aisdk-rhjbct0v.js";
6
+ } from "./tool-rhjbct0v.js";
7
7
  import {
8
- ID6,
8
+ ID5,
9
9
  Name2,
10
10
  available2,
11
- Service57,
12
- node60
13
- } from "./aisdk-c61j08ve.js";
11
+ Service55,
12
+ node58
13
+ } from "./tool-ksz6c1e3.js";
14
14
  import {
15
15
  __export
16
- } from "./aisdk-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions3 = {};
20
- __export(exports_instructions3, {
21
- Service: () => Service23,
22
- SkillInstructions: () => exports_instructions3,
23
- node: () => node26
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service33,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node36
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID5,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,11 +60,11 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service23 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service33 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service23, Effect.gen(function* () {
66
- const skills = yield* Service57;
67
- return Service23.of({
65
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
66
+ const skills = yield* Service55;
67
+ return Service33.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node26 = makeLocationNode({ service: Service23, layer, deps: [node60] });
83
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [node58] });
84
84
 
85
- export { Service23, node26, exports_instructions3 };
85
+ export { Service33, node36, exports_instructions2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./aisdk-88xbtdfr.js";
3
+ } from "./tool-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./aisdk-5qd3pb7m.js";
5
+ load5
6
+ } from "./tool-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./aisdk-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event5,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service34,
16
+ Options: () => Options9,
17
+ Service: () => Service68,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured4,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer16,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node37,
25
+ node: () => node71,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event5 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service34 extends Context.Service()("@opencode/Watcher") {
60
+ class Service68 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service34.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service34.of({ subscribe });
108
+ return Service68.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service34).subscribe,
134
+ subscribe: Context.get(context, Service68).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service34, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured4(options) {
168
- return makeGlobalNode({ service: Service34, layer: layer16(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node37 = configured4();
170
+ var node71 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event5, hasNativeBinding2, Native3, Options5, Service34, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured4, node37, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options9, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node71, exports_watcher };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service33
3
- } from "./aisdk-1vmmb2v8.js";
2
+ Service67
3
+ } from "./tool-a9rnddwt.js";
4
4
  import {
5
- Service48
6
- } from "./aisdk-txc1zf78.js";
5
+ Service14
6
+ } from "./tool-f5gy8qwh.js";
7
7
  import {
8
8
  match2
9
- } from "./aisdk-y1fvbwt7.js";
9
+ } from "./tool-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./aisdk-qsdy395h.js";
12
+ } from "./tool-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./aisdk-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin36
21
+ Plugin: () => Plugin19
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin36 = define({
25
+ var Plugin19 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service33;
29
- const managed = yield* Service48;
28
+ const config = yield* Service67;
29
+ const managed = yield* Service14;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin36 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin36, exports_policy };
60
+ export { Plugin19, exports_policy };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./aisdk-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
- Info20,
6
- ID6,
5
+ Info10,
6
+ ID5,
7
7
  Name2
8
- } from "./aisdk-c61j08ve.js";
8
+ } from "./tool-ksz6c1e3.js";
9
9
  import {
10
- Service33
11
- } from "./aisdk-1vmmb2v8.js";
10
+ Service67
11
+ } from "./tool-a9rnddwt.js";
12
12
  import {
13
13
  __export
14
- } from "./aisdk-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin17,
21
+ Plugin: () => Plugin45,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin17 = define({
428
+ var Plugin45 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info20.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info10.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info20.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info10.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service33;
469
+ const config = yield* Service67;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin45, exports_skill3 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./aisdk-1w9ezc4a.js";
3
+ } from "./tool-1msf33w2.js";
4
4
  import {
5
5
  OAuth3,
6
- Service74
7
- } from "./aisdk-wgd50f01.js";
6
+ Service75
7
+ } from "./tool-194bm8bb.js";
8
8
  import {
9
- ID14,
9
+ ID12,
10
10
  MethodID2
11
- } from "./aisdk-5smv69nk.js";
11
+ } from "./tool-wkt2y4hc.js";
12
12
  import {
13
- ID13,
13
+ ID11,
14
14
  mergeOverlay2
15
- } from "./aisdk-dfdarkbv.js";
15
+ } from "./tool-0vx053wa.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID13.make("xai");
27
+ var providerID = ID11.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID14.make("xai"),
47
+ integrationID: ID12.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service74;
73
- yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
72
+ const credentials = yield* Service75;
73
+ yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {