@opencode/core 0.0.0-dev-20147 → 0.0.0-dev-20148

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{schema-8a6crgjk.js → project-00gqf6qz.js} +32 -32
  8. package/dist/chunks/{schema-aegspdvt.js → project-028ks1gz.js} +16 -16
  9. package/dist/chunks/{schema-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{schema-06qxp9s1.js → project-0tg9gd1t.js} +32 -32
  11. package/dist/chunks/{schema-j34bs4nz.js → project-0xqyf95c.js} +4 -4
  12. package/dist/chunks/{schema-qsxgc847.js → project-12q9payb.js} +36 -36
  13. package/dist/chunks/{schema-p2wfcwv1.js → project-1379bkbv.js} +10 -10
  14. package/dist/chunks/{schema-h2r7bbkd.js → project-13ggeyh8.js} +8 -8
  15. package/dist/chunks/{schema-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{schema-fxpxkdge.js → project-1rjfexx0.js} +27 -27
  17. package/dist/chunks/{schema-jvexc5ky.js → project-1txejb65.js} +5 -5
  18. package/dist/chunks/{schema-80q6mq1f.js → project-1vkbswn5.js} +15 -15
  19. package/dist/chunks/{schema-9qmdww31.js → project-1vmfgmve.js} +17 -17
  20. package/dist/chunks/{schema-sp0b9gx5.js → project-1w8cw7jp.js} +10 -10
  21. package/dist/chunks/{schema-21r38tys.js → project-21r38tys.js} +1 -1
  22. package/dist/chunks/{schema-mrty011c.js → project-231n3rbg.js} +46 -46
  23. package/dist/chunks/{schema-s4q2v5s3.js → project-25etkhjy.js} +12 -12
  24. package/dist/chunks/{schema-44k7vfsg.js → project-26z2qq8v.js} +308 -308
  25. package/dist/chunks/{schema-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{schema-3497bcg9.js → project-2c9k1ggp.js} +3 -3
  27. package/dist/chunks/{schema-hx5a9m6n.js → project-2dsj8qey.js} +22 -22
  28. package/dist/chunks/{schema-n4v0pxzg.js → project-2gnxk3x7.js} +11 -11
  29. package/dist/chunks/{schema-0jwsre1p.js → project-2k8khapm.js} +5 -5
  30. package/dist/chunks/{schema-v8mjc2yy.js → project-2p0zs114.js} +5 -5
  31. package/dist/chunks/{schema-shhpa2wx.js → project-2qckkqeq.js} +16 -16
  32. package/dist/chunks/{schema-sgajxdys.js → project-2x64qmyk.js} +21 -21
  33. package/dist/chunks/{schema-1kr2za8g.js → project-32pfbvt3.js} +8 -8
  34. package/dist/chunks/{schema-1ygqh575.js → project-33w4ejhs.js} +6 -6
  35. package/dist/chunks/project-34z1xqbm.js +26 -0
  36. package/dist/chunks/{schema-tqk88y0w.js → project-35v9xa7x.js} +24 -24
  37. package/dist/chunks/{schema-j0v6s4pa.js → project-39c25vgm.js} +15 -15
  38. package/dist/chunks/{schema-rph3zd4r.js → project-3a6re68j.js} +6 -6
  39. package/dist/chunks/{schema-x2rw7g36.js → project-3bc8czyk.js} +5 -5
  40. package/dist/chunks/{schema-c78bbtc9.js → project-3cfzdc8e.js} +5 -5
  41. package/dist/chunks/{schema-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{schema-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{schema-k268tg8b.js → project-3pd9zev7.js} +3 -3
  44. package/dist/chunks/{schema-g3f2t215.js → project-3s40zm2k.js} +44 -44
  45. package/dist/chunks/{schema-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{schema-mssxhbmx.js → project-3stws242.js} +30 -30
  47. package/dist/chunks/{schema-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{schema-6en7jsbn.js → project-3y66thwc.js} +19 -19
  49. package/dist/chunks/{schema-s3d1hc87.js → project-3yfshrff.js} +20 -20
  50. package/dist/chunks/{schema-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{schema-6z06gbqc.js → project-43a2xr3n.js} +9 -9
  52. package/dist/chunks/{schema-y0xmc8cr.js → project-49by82nd.js} +14 -14
  53. package/dist/chunks/{schema-4knz5bpk.js → project-4cmrr4z8.js} +26 -26
  54. package/dist/chunks/{schema-n965dgn2.js → project-4cpvyw3a.js} +32 -32
  55. package/dist/chunks/{schema-1qp06jtb.js → project-4e4vx4m3.js} +11 -11
  56. package/dist/chunks/{schema-ywmyccm2.js → project-4f9j4b1b.js} +17 -17
  57. package/dist/chunks/{schema-4xqhn9wd.js → project-4hz583fa.js} +8 -8
  58. package/dist/chunks/{schema-e6hmchc5.js → project-510m7gjw.js} +5 -5
  59. package/dist/chunks/{schema-54tcyq79.js → project-54tcyq79.js} +2 -2
  60. package/dist/chunks/{schema-21zbynkh.js → project-55hk4cga.js} +7 -7
  61. package/dist/chunks/{schema-57ez7d0k.js → project-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{schema-scayhw0d.js → project-591pety6.js} +22 -22
  63. package/dist/chunks/{schema-vjjjrtg8.js → project-5d5dqa2d.js} +3 -3
  64. package/dist/chunks/{schema-5daktx2q.js → project-5daktx2q.js} +1 -1
  65. package/dist/chunks/{schema-5z7zcbfb.js → project-5k5w2ax6.js} +33 -33
  66. package/dist/chunks/{schema-64fh688z.js → project-5pqmtba2.js} +24 -24
  67. package/dist/chunks/{schema-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{schema-9e1jtxq5.js → project-5vv6cgd2.js} +24 -24
  69. package/dist/chunks/{schema-sqtna5cg.js → project-5vvcj01b.js} +18 -18
  70. package/dist/chunks/{schema-95st8b4j.js → project-5xcwfkw1.js} +22 -22
  71. package/dist/chunks/{schema-5yzzbxa7.js → project-5xtgfte3.js} +8 -8
  72. package/dist/chunks/{schema-y5df08dr.js → project-607q5haz.js} +12 -12
  73. package/dist/chunks/{schema-669tq793.js → project-669tq793.js} +1 -1
  74. package/dist/chunks/{schema-r1ht1y7w.js → project-670rqs4t.js} +15 -15
  75. package/dist/chunks/{schema-8kkpa49p.js → project-6apxa4qs.js} +5 -5
  76. package/dist/chunks/{schema-5cmxdwv8.js → project-6bsje7ws.js} +3 -3
  77. package/dist/chunks/{schema-aezpzgnt.js → project-6bvej4y4.js} +15 -15
  78. package/dist/chunks/{schema-6h73sxmp.js → project-6h73sxmp.js} +1 -1
  79. package/dist/chunks/{schema-zg5v86p0.js → project-6kbkabgb.js} +3 -3
  80. package/dist/chunks/project-6kdq0pjd.js +4 -0
  81. package/dist/chunks/{schema-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  82. package/dist/chunks/{schema-76yj2t14.js → project-6z7g0rv2.js} +34 -34
  83. package/dist/chunks/{schema-s28xa88k.js → project-738gt41w.js} +11 -11
  84. package/dist/chunks/{schema-bawhc7q1.js → project-759azhnc.js} +10 -10
  85. package/dist/chunks/{schema-hdwy771y.js → project-7amt6rym.js} +11 -11
  86. package/dist/chunks/{schema-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{schema-02v3faq5.js → project-7evgncf8.js} +11 -11
  88. package/dist/chunks/{schema-8pgwyz8n.js → project-7nm0e33p.js} +5 -5
  89. package/dist/chunks/{schema-tp9yn0rb.js → project-7p2b8qdr.js} +4 -4
  90. package/dist/chunks/{schema-pceeejwg.js → project-7sbbepgg.js} +8 -8
  91. package/dist/chunks/{schema-raajgtb1.js → project-7thqbr1x.js} +18 -18
  92. package/dist/chunks/{schema-cxd4szcz.js → project-808tzxy4.js} +3 -3
  93. package/dist/chunks/{schema-tcezcvh9.js → project-89znhe33.js} +4 -4
  94. package/dist/chunks/{schema-216v1y3s.js → project-8aqq46j9.js} +18 -18
  95. package/dist/chunks/{schema-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{schema-b8f26xyk.js → project-8md4ryjs.js} +14 -14
  97. package/dist/chunks/{schema-6pc27hjz.js → project-8sze2n9a.js} +2 -2
  98. package/dist/chunks/{schema-aa14mxtt.js → project-8tf9aaab.js} +11 -11
  99. package/dist/chunks/{schema-s1tzw9nx.js → project-8tn9xbzn.js} +12 -12
  100. package/dist/chunks/{schema-w1ad28wa.js → project-8tt02aa5.js} +8 -8
  101. package/dist/chunks/{schema-gvdvajq4.js → project-8zn2t0m2.js} +25 -25
  102. package/dist/chunks/{schema-edc4vr76.js → project-9173yfyp.js} +325 -325
  103. package/dist/chunks/{schema-fn7m6sq4.js → project-9m25bn8y.js} +4 -4
  104. package/dist/chunks/{schema-4p8415jn.js → project-9q81vv6e.js} +20 -20
  105. package/dist/chunks/project-9sh4wc5j.js +18 -0
  106. package/dist/chunks/{schema-wc287v3v.js → project-a56qce7e.js} +9 -9
  107. package/dist/chunks/{schema-aaet6srn.js → project-aaet6srn.js} +2 -2
  108. package/dist/chunks/{schema-s2a3m5zj.js → project-acnc4vnw.js} +23 -23
  109. package/dist/chunks/{schema-f9hw48zx.js → project-aj9wy6bs.js} +5 -5
  110. package/dist/chunks/{schema-659sfxq9.js → project-ajzsbz6h.js} +11 -11
  111. package/dist/chunks/{schema-anbdq9pc.js → project-amy7e0d0.js} +18 -18
  112. package/dist/chunks/{schema-tx9w5tca.js → project-at1kfnmk.js} +8 -8
  113. package/dist/chunks/{schema-yhbs15xx.js → project-atgvkeyp.js} +11 -11
  114. package/dist/chunks/{schema-aqkbpc1t.js → project-b4aagq2j.js} +37 -37
  115. package/dist/chunks/{schema-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{schema-sydz09wp.js → project-b948jtff.js} +30 -30
  117. package/dist/chunks/{schema-h6ata8bv.js → project-b9h1yx7k.js} +23 -23
  118. package/dist/chunks/{schema-4rdyamb0.js → project-b9x34m10.js} +11 -11
  119. package/dist/chunks/{schema-dg5bcj4q.js → project-bdqrk2vk.js} +6 -6
  120. package/dist/chunks/{schema-qthnzapq.js → project-bgmbvnqs.js} +37 -37
  121. package/dist/chunks/{schema-bjtzbw4r.js → project-bjtzbw4r.js} +3 -3
  122. package/dist/chunks/{schema-s56b7sj7.js → project-brs7b7j8.js} +16 -16
  123. package/dist/chunks/{schema-cv6v52d9.js → project-bvpbr9x9.js} +11 -11
  124. package/dist/chunks/{schema-01q8mg5a.js → project-bxgg7fv5.js} +89 -89
  125. package/dist/chunks/{schema-1hhry64t.js → project-bxnt1f3q.js} +10 -10
  126. package/dist/chunks/{schema-wkbehqst.js → project-bxr2mj1p.js} +48 -48
  127. package/dist/chunks/{schema-9kgeezcq.js → project-c5y10d50.js} +11 -11
  128. package/dist/chunks/{schema-9rmbnpj5.js → project-c9k9j98c.js} +2 -2
  129. package/dist/chunks/{schema-02jbgszr.js → project-cbdz9e3t.js} +13 -13
  130. package/dist/chunks/{schema-z6zxveg6.js → project-d6qswtfv.js} +5 -5
  131. package/dist/chunks/{schema-mwm07mde.js → project-d7mzrd1t.js} +6 -6
  132. package/dist/chunks/{schema-jvzqejyw.js → project-d9hgwdxq.js} +15 -15
  133. package/dist/chunks/{schema-6y0m36e6.js → project-deaye1t8.js} +32 -32
  134. package/dist/chunks/{schema-yctgz9ak.js → project-dkyxp74s.js} +3 -3
  135. package/dist/chunks/{schema-y71avatq.js → project-dpkg50ah.js} +4 -4
  136. package/dist/chunks/{schema-xmx293k5.js → project-e20z94tv.js} +25 -25
  137. package/dist/chunks/{schema-wnavy81w.js → project-e6tm7cc1.js} +31 -31
  138. package/dist/chunks/{schema-e04544d7.js → project-e9mm9j1x.js} +20 -20
  139. package/dist/chunks/project-ebwh47j8.js +252 -0
  140. package/dist/chunks/{schema-ecfe7b91.js → project-ecfe7b91.js} +2 -2
  141. package/dist/chunks/{schema-jdj92c4g.js → project-edbzcyb7.js} +18 -18
  142. package/dist/chunks/{schema-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{schema-m1tf57me.js → project-emvnsgm3.js} +11 -11
  144. package/dist/chunks/{schema-j1zk5myr.js → project-en3b06s1.js} +175 -175
  145. package/dist/chunks/{schema-df71sjqe.js → project-enw43jgc.js} +20 -20
  146. package/dist/chunks/{schema-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{schema-ddxb0dnv.js → project-ewc044dc.js} +52 -52
  148. package/dist/chunks/{schema-0mk5rbah.js → project-f2hzm7ym.js} +9 -9
  149. package/dist/chunks/{schema-9m1qw5e9.js → project-f2pbsgfn.js} +15 -15
  150. package/dist/chunks/{schema-jw80jp6b.js → project-f3ngv102.js} +4 -4
  151. package/dist/chunks/{schema-5e82d4zs.js → project-f6m4j3ps.js} +10 -10
  152. package/dist/chunks/{schema-svr80ky5.js → project-f9zfyzxy.js} +66 -66
  153. package/dist/chunks/{schema-vmgq4x8b.js → project-ff0svapt.js} +2 -2
  154. package/dist/chunks/{schema-0kryq94n.js → project-ff2mcvte.js} +8 -8
  155. package/dist/chunks/{schema-cdyvr9f3.js → project-fh2psg6v.js} +11 -11
  156. package/dist/chunks/{schema-sb3nhjgb.js → project-fwg9sggt.js} +31 -31
  157. package/dist/chunks/{schema-02kbzxrb.js → project-g2042726.js} +11 -11
  158. package/dist/chunks/{schema-cmw1rd1q.js → project-g6jwc295.js} +29 -29
  159. package/dist/chunks/{schema-achwqtgz.js → project-g7dpewgz.js} +14 -14
  160. package/dist/chunks/{schema-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{schema-gfvb90ym.js → project-gfvb90ym.js} +2 -2
  162. package/dist/chunks/{schema-0338tv42.js → project-gk6q9h8v.js} +13 -13
  163. package/dist/chunks/{schema-qe26s0zb.js → project-grxcxy9j.js} +8 -8
  164. package/dist/chunks/{schema-2vvj6rba.js → project-gtp0p055.js} +1 -1
  165. package/dist/chunks/{schema-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{schema-za5cqyrv.js → project-gwn93cvy.js} +18 -18
  167. package/dist/chunks/{schema-y91sxvbc.js → project-h4tqdznw.js} +37 -37
  168. package/dist/chunks/{schema-nzyhnfxz.js → project-h6r3nrb9.js} +4 -4
  169. package/dist/chunks/{schema-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{schema-mjvn4zm4.js → project-h887mp1f.js} +15 -15
  171. package/dist/chunks/{schema-hf0mkt0x.js → project-hgc9ebpk.js} +1 -1
  172. package/dist/chunks/{schema-x7x071nx.js → project-hgejsyte.js} +14 -14
  173. package/dist/chunks/{schema-hkfg6fzm.js → project-hkfg6fzm.js} +2 -2
  174. package/dist/chunks/{schema-de52ckkz.js → project-hnr8f6ws.js} +4 -4
  175. package/dist/chunks/{schema-wrsptv21.js → project-hty1v62m.js} +4 -4
  176. package/dist/chunks/{schema-q11was2t.js → project-j18xhqkk.js} +21 -21
  177. package/dist/chunks/{schema-w3ba67bf.js → project-j2ymqdpp.js} +5 -5
  178. package/dist/chunks/{schema-j56e64zr.js → project-j56e64zr.js} +1 -1
  179. package/dist/chunks/{schema-r3c4069c.js → project-j9ty9cws.js} +1 -1
  180. package/dist/chunks/{schema-y0cr4b1c.js → project-je3d475j.js} +4 -4
  181. package/dist/chunks/{schema-9bs9pkv6.js → project-jypr814b.js} +28 -28
  182. package/dist/chunks/{schema-k3c624dm.js → project-k3c624dm.js} +3 -3
  183. package/dist/chunks/{schema-0attd1ej.js → project-k3cfks02.js} +8 -8
  184. package/dist/chunks/{schema-6hjx5zpb.js → project-k79tzb9n.js} +8 -8
  185. package/dist/chunks/{schema-58yj0nne.js → project-kb1d48gj.js} +33 -33
  186. package/dist/chunks/{schema-vvvs0jwh.js → project-kg5xgaem.js} +4 -4
  187. package/dist/chunks/{schema-9td8kqq4.js → project-ks59g7za.js} +7 -7
  188. package/dist/chunks/{schema-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{schema-53fyba40.js → project-m6nec9qq.js} +4 -4
  190. package/dist/chunks/{schema-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{schema-szfqz0v7.js → project-ma6a207m.js} +11 -11
  192. package/dist/chunks/{schema-9wqzfaac.js → project-ma84hk0x.js} +47 -47
  193. package/dist/chunks/{schema-fnckqvkz.js → project-mawjpeqt.js} +51 -51
  194. package/dist/chunks/{schema-fm2djhtr.js → project-mb60e0yq.js} +11 -11
  195. package/dist/chunks/{schema-3j9d4fgr.js → project-mgb3mzg6.js} +10 -10
  196. package/dist/chunks/{schema-1bbkgx8g.js → project-mhkvc446.js} +3 -3
  197. package/dist/chunks/{schema-q8n9d2sh.js → project-mksgfzgs.js} +8 -8
  198. package/dist/chunks/{schema-xj9an458.js → project-mtfd35rn.js} +11 -11
  199. package/dist/chunks/{schema-xfkq7hhm.js → project-mwb24k3n.js} +20 -20
  200. package/dist/chunks/{schema-ceks70kf.js → project-mwdzsd4k.js} +9 -9
  201. package/dist/chunks/{schema-1ed2t66p.js → project-mzywpf3p.js} +4 -4
  202. package/dist/chunks/{schema-c131hp6h.js → project-n06veks5.js} +17 -17
  203. package/dist/chunks/{schema-jd3ht1x4.js → project-n76xbnwv.js} +6 -6
  204. package/dist/chunks/{schema-9213mvz8.js → project-ng0xzx18.js} +17 -17
  205. package/dist/chunks/{schema-nq7qbqzc.js → project-nscznvay.js} +9 -9
  206. package/dist/chunks/{schema-xfk06v0t.js → project-p3rd9cb6.js} +8 -8
  207. package/dist/chunks/{schema-bpratrbj.js → project-p51z0y8h.js} +8 -8
  208. package/dist/chunks/{schema-ggxapr4n.js → project-p8rw1xd4.js} +17 -17
  209. package/dist/chunks/{schema-vh918eyq.js → project-pdhfa141.js} +55 -55
  210. package/dist/chunks/{schema-8cznwert.js → project-pexf9ky2.js} +10 -10
  211. package/dist/chunks/{schema-vmwh049b.js → project-phc8pspp.js} +6 -6
  212. package/dist/chunks/{schema-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{schema-pknna89w.js → project-pknna89w.js} +1 -1
  214. package/dist/chunks/{schema-psazpmmj.js → project-psazpmmj.js} +2 -2
  215. package/dist/chunks/{schema-sc1s8qey.js → project-py32m9ff.js} +17 -17
  216. package/dist/chunks/{schema-j433k3ah.js → project-q5pc3ste.js} +29 -29
  217. package/dist/chunks/{schema-9m1eaqh3.js → project-qe064441.js} +33 -33
  218. package/dist/chunks/{schema-r2m716tb.js → project-qmqgtz8f.js} +9 -9
  219. package/dist/chunks/{schema-m65z8mqv.js → project-qpaw42s4.js} +45 -45
  220. package/dist/chunks/{schema-qsdy395h.js → project-qsdy395h.js} +1 -1
  221. package/dist/chunks/{schema-phwvgf2n.js → project-qxq66e0p.js} +25 -25
  222. package/dist/chunks/{schema-es758s33.js → project-r4f3c2d6.js} +18 -18
  223. package/dist/chunks/{schema-xrk2dg0j.js → project-r6cxhc2n.js} +24 -24
  224. package/dist/chunks/{schema-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{schema-9hk2fva0.js → project-re17gjtn.js} +13 -13
  226. package/dist/chunks/{schema-71v07zn3.js → project-rgsxkdhj.js} +25 -25
  227. package/dist/chunks/{schema-yp2x3t23.js → project-rhraev7y.js} +4 -4
  228. package/dist/chunks/{schema-ckf8nxjz.js → project-rwm5vee1.js} +4 -4
  229. package/dist/chunks/{schema-kga0f6yw.js → project-rygdm8gb.js} +7 -7
  230. package/dist/chunks/{schema-02wmds2c.js → project-s51136xy.js} +4 -4
  231. package/dist/chunks/{schema-eaj1djv9.js → project-s8d7rejh.js} +6 -6
  232. package/dist/chunks/{schema-t37tr4jd.js → project-sezhhg0t.js} +37 -37
  233. package/dist/chunks/{schema-b8abjh2k.js → project-sqemcwjp.js} +32 -32
  234. package/dist/chunks/{schema-h7e5g0tn.js → project-sqevgg1x.js} +6 -6
  235. package/dist/chunks/{schema-6c158f61.js → project-sqtd4egc.js} +22 -22
  236. package/dist/chunks/{schema-1htzjx3s.js → project-t1jwa6v9.js} +9 -9
  237. package/dist/chunks/{schema-ryr25ayn.js → project-t2fc4mz5.js} +4 -4
  238. package/dist/chunks/{schema-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{schema-xhsj2xcy.js → project-tc23yakz.js} +6 -6
  240. package/dist/chunks/{schema-r99neq4v.js → project-td6rvk46.js} +6 -6
  241. package/dist/chunks/{schema-tdstcens.js → project-tdstcens.js} +1 -1
  242. package/dist/chunks/{schema-gah6wse8.js → project-te3hdv2t.js} +10 -10
  243. package/dist/chunks/{schema-tvtrv512.js → project-tvtrv512.js} +1 -1
  244. package/dist/chunks/{schema-66dga76z.js → project-twsb81tc.js} +9 -9
  245. package/dist/chunks/{schema-sp3cfktr.js → project-v53mtj4b.js} +5 -5
  246. package/dist/chunks/{schema-acd4vkpt.js → project-v6gb7zv2.js} +6 -6
  247. package/dist/chunks/{schema-veqvce7d.js → project-veqvce7d.js} +1 -1
  248. package/dist/chunks/{schema-vevrkrar.js → project-vfqs23xq.js} +24 -24
  249. package/dist/chunks/{schema-w3d830pe.js → project-vkq3nzng.js} +87 -87
  250. package/dist/chunks/{schema-r98e92ep.js → project-vncycja5.js} +4 -4
  251. package/dist/chunks/{schema-m0f2xe1s.js → project-vw4psb2f.js} +44 -44
  252. package/dist/chunks/{schema-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{schema-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{schema-e6zwr77z.js → project-w226mdjk.js} +21 -21
  255. package/dist/chunks/{schema-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{schema-12f5qzcf.js → project-w76yg9p9.js} +10 -10
  257. package/dist/chunks/{schema-xgdsspm4.js → project-w9wdg20a.js} +30 -30
  258. package/dist/chunks/{schema-x5aajpce.js → project-w9wkpbtz.js} +10 -10
  259. package/dist/chunks/{schema-jg25py4x.js → project-wb6av7gs.js} +17 -17
  260. package/dist/chunks/{schema-wd87259q.js → project-wd87259q.js} +1 -1
  261. package/dist/chunks/{schema-ha8h07mp.js → project-wdv5dv94.js} +27 -27
  262. package/dist/chunks/{schema-899k0336.js → project-wjs4m62v.js} +6 -6
  263. package/dist/chunks/{schema-vtp78vb3.js → project-wmsqsdjg.js} +6 -6
  264. package/dist/chunks/{schema-cetybxe3.js → project-wrdmc7xc.js} +16 -16
  265. package/dist/chunks/{schema-61cd6e58.js → project-wrx8dq47.js} +19 -19
  266. package/dist/chunks/{schema-zffm6dk0.js → project-wtymb63d.js} +24 -24
  267. package/dist/chunks/{schema-6ftnbkqh.js → project-wyqs0y4m.js} +39 -39
  268. package/dist/chunks/{schema-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{schema-98yh1srd.js → project-x3f5n13q.js} +22 -22
  270. package/dist/chunks/{schema-eq20ba7x.js → project-x8cycxf4.js} +6 -6
  271. package/dist/chunks/{schema-drwq78ky.js → project-xfkkasph.js} +4 -4
  272. package/dist/chunks/{schema-62v4907p.js → project-xgyn1bnh.js} +26 -26
  273. package/dist/chunks/{schema-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
  274. package/dist/chunks/{schema-2jgevnf2.js → project-xm30kf4b.js} +27 -27
  275. package/dist/chunks/{schema-wbeghawe.js → project-xs9ze5ky.js} +17 -17
  276. package/dist/chunks/{schema-faj2svbs.js → project-xsgk3b13.js} +9 -9
  277. package/dist/chunks/{schema-97z86zxn.js → project-xv2m87qv.js} +20 -20
  278. package/dist/chunks/{schema-ce5fknq2.js → project-xw8eq9f1.js} +5 -5
  279. package/dist/chunks/{schema-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  280. package/dist/chunks/{schema-ms84bj92.js → project-y7dp1mze.js} +41 -41
  281. package/dist/chunks/{schema-fm32kww2.js → project-y9emgft6.js} +22 -22
  282. package/dist/chunks/{schema-9zbf59cj.js → project-ym0rbchm.js} +14 -14
  283. package/dist/chunks/{schema-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{schema-yrznvahk.js → project-yrznvahk.js} +2 -2
  285. package/dist/chunks/{schema-xqv87xzy.js → project-z09q57zm.js} +23 -23
  286. package/dist/chunks/{schema-2k71kv7p.js → project-z0aj456m.js} +4 -4
  287. package/dist/chunks/{schema-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{schema-z63w68vq.js → project-z63w68vq.js} +2 -2
  289. package/dist/chunks/{schema-r5xqv1fp.js → project-z8z2pm43.js} +5 -5
  290. package/dist/chunks/{schema-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  291. package/dist/chunks/{schema-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{schema-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +79 -79
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +122 -122
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +370 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +11 -11
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +86 -86
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +130 -130
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +84 -84
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -113
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +88 -88
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +4 -4
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +6 -6
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +4 -4
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +225 -225
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +84 -84
  567. package/dist/provider.js +101 -101
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +96 -96
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +89 -89
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +95 -95
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +132 -132
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +221 -221
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +77 -77
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +112 -112
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +217 -217
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +220 -220
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +105 -105
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +89 -89
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +125 -125
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +103 -103
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +217 -217
  652. package/dist/tool/plugin/skill.js +113 -113
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +112 -112
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +6 -6
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +2 -2
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +96 -96
  701. package/package.json +8 -8
  702. package/dist/chunks/schema-hxa7m5za.js +0 -4
  703. package/dist/chunks/schema-p2h6zvwc.js +0 -18
  704. package/dist/chunks/schema-pvpvsgsg.js +0 -26
  705. package/dist/chunks/schema-q4hmxj4a.js +0 -252
  706. /package/dist/chunks/{schema-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{schema-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{schema-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{schema-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{schema-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{schema-24dcb14g.js → project-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{schema-2710q6r3.js → project-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{schema-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{schema-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{schema-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{schema-359p4xyc.js → project-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{schema-3asan66x.js → project-3asan66x.js} +0 -0
  718. /package/dist/chunks/{schema-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{schema-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{schema-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{schema-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{schema-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{schema-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{schema-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{schema-53557ph1.js → project-53557ph1.js} +0 -0
  726. /package/dist/chunks/{schema-550bvhaj.js → project-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{schema-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  728. /package/dist/chunks/{schema-6prwharc.js → project-6prwharc.js} +0 -0
  729. /package/dist/chunks/{schema-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{schema-7m9af43g.js → project-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{schema-822emrt2.js → project-822emrt2.js} +0 -0
  732. /package/dist/chunks/{schema-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{schema-8n3pysct.js → project-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{schema-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{schema-922hggd3.js → project-922hggd3.js} +0 -0
  736. /package/dist/chunks/{schema-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{schema-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{schema-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{schema-af5trqkr.js → project-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{schema-afrmfg78.js → project-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{schema-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{schema-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{schema-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{schema-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{schema-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{schema-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{schema-d9fn303g.js → project-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{schema-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{schema-dajrwvna.js → project-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{schema-dap0rakb.js → project-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{schema-df08tz66.js → project-df08tz66.js} +0 -0
  752. /package/dist/chunks/{schema-dy18nga0.js → project-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{schema-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{schema-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{schema-ec1grn59.js → project-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{schema-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{schema-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{schema-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{schema-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{schema-faypxj3z.js → project-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{schema-fd410y7t.js → project-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{schema-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{schema-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{schema-g86h250q.js → project-g86h250q.js} +0 -0
  765. /package/dist/chunks/{schema-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{schema-gftt206x.js → project-gftt206x.js} +0 -0
  767. /package/dist/chunks/{schema-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{schema-hk9envan.js → project-hk9envan.js} +0 -0
  769. /package/dist/chunks/{schema-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{schema-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{schema-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{schema-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{schema-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{schema-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{schema-mp448xyj.js → project-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{schema-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{schema-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{schema-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{schema-njntx4h6.js → project-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{schema-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{schema-q74kybfr.js → project-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{schema-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{schema-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{schema-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{schema-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{schema-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{schema-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{schema-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{schema-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{schema-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{schema-w803qqfp.js → project-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{schema-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{schema-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{schema-wtztk69x.js → project-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{schema-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{schema-x61499pn.js → project-x61499pn.js} +0 -0
  797. /package/dist/chunks/{schema-y44na4kk.js → project-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{schema-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{schema-y8f7s663.js → project-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{schema-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{schema-ym463w8f.js → project-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{schema-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./schema-gd4qta3r.js";
3
+ } from "./project-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./schema-tvtrv512.js";
6
+ } from "./project-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./schema-rdw6cm16.js";
9
+ } from "./project-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./schema-9rqn6x4v.js";
12
+ } from "./project-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,7 +18,7 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service51,
21
+ Service: () => Service50,
22
22
  ToolOutput: () => exports_tool_output2,
23
23
  node: () => node54
24
24
  });
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service51 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service50 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service51, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service51.of({
119
+ return Service50.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -134,9 +134,9 @@ var cleanupNode = makeGlobalNode({
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
136
  var node54 = makeLocationNode({
137
- service: Service51,
137
+ service: Service50,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service51, node54, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node54, exports_tool_output2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Info17
6
- } from "./schema-jw80jp6b.js";
5
+ Info18
6
+ } from "./project-f3ngv102.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info16
15
+ Info: () => Info13
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info17)
47
+ permission: Schema.optional(Info18)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info16, exports_agent3 };
74
+ export { Info13, exports_agent3 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./schema-2a5m3afh.js";
5
+ } from "./project-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./schema-9rqn6x4v.js";
8
+ } from "./project-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./schema-y0xmc8cr.js";
5
+ Service80
6
+ } from "./project-49by82nd.js";
7
7
  import {
8
- Service17
9
- } from "./schema-sqtna5cg.js";
8
+ Service51
9
+ } from "./project-5vvcj01b.js";
10
10
  import {
11
- Service9
12
- } from "./schema-61cd6e58.js";
11
+ Service6
12
+ } from "./project-wrx8dq47.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./schema-2a5m3afh.js";
15
+ } from "./project-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./schema-9qmdww31.js";
26
+ Service5
27
+ } from "./project-1vmfgmve.js";
28
28
  import {
29
29
  __export
30
- } from "./schema-9rqn6x4v.js";
30
+ } from "./project-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input11,
36
- Plugin: () => Plugin49,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin10,
37
37
  ReadTool: () => exports_read,
38
- name: () => name11,
39
- toModelContent: () => toModelContent5
38
+ name: () => name8,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name11 = "read";
45
+ var name8 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input11 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin49 = {
58
+ var Plugin10 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service17;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service5;
62
+ const access = yield* Service51;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name11,
67
+ name: name8,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input11,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin49 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent5 = (path, offset, output) => {
148
+ var toModelContent6 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent5 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name11, Input11, Plugin49, toModelContent5, exports_read };
184
+ export { name8, Input8, Plugin10, toModelContent6, exports_read };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID8
3
- } from "./schema-44k7vfsg.js";
2
+ ID13
3
+ } from "./project-26z2qq8v.js";
4
4
  import {
5
5
  iife2
6
- } from "./schema-1kg9ymc8.js";
6
+ } from "./project-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./schema-xhsj2xcy.js";
9
+ } from "./project-tc23yakz.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID8.make("cloudflare-workers-ai");
15
+ var providerID = ID13.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./schema-y0cr4b1c.js";
5
+ } from "./project-je3d475j.js";
6
6
  import {
7
- Service64,
8
- node67
9
- } from "./schema-8cznwert.js";
7
+ Service75,
8
+ node79
9
+ } from "./project-pexf9ky2.js";
10
10
  import {
11
11
  __export
12
- } from "./schema-9rqn6x4v.js";
12
+ } from "./project-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service52,
22
+ Service: () => Service48,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node55,
26
- resolve: () => resolve2
25
+ node: () => node52,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service52 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service48 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service52, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service64;
80
+ const kv = yield* Service75;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
112
112
  yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service52.of({
115
+ return Service48.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node55 = makeGlobalNode({ service: Service52, layer, deps: [httpClient, node67, node87] });
146
+ var node52 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node79, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service52, Event11, inspect2, resolve2, node55, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event11, inspect2, resolve3, node52, exports_wellknown };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-922hggd3.js";
5
+ } from "./project-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node75
9
- } from "./schema-64fh688z.js";
7
+ Service58,
8
+ node62
9
+ } from "./project-5pqmtba2.js";
10
10
  import {
11
- Content2
12
- } from "./schema-06qxp9s1.js";
11
+ Content3
12
+ } from "./project-0tg9gd1t.js";
13
13
  import {
14
14
  detect2
15
- } from "./schema-3smtnn6g.js";
15
+ } from "./project-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service8,
36
+ Service: () => Service5,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service8, Effect.gen(function* () {
334
- const environment = yield* Service72;
335
- return Service8.of({
333
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
334
+ const environment = yield* Service58;
335
+ return Service5.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service8, layer, deps: [node75] });
340
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [node62] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./schema-y0cr4b1c.js";
5
+ } from "./project-je3d475j.js";
6
6
  import {
7
7
  __export
8
- } from "./schema-9rqn6x4v.js";
8
+ } from "./project-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service3,
14
+ Service: () => Service7,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
17
- node: () => node4
16
+ layer: () => layer5,
17
+ node: () => node9
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service3 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
25
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
26
26
  const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service3.of({
29
+ return Service7.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node87] });
36
+ var node9 = makeGlobalNode({ service: Service7, layer: layer5, deps: [node87] });
37
37
 
38
- export { Updated2, Service3, layer4, node4, exports_sdk };
38
+ export { Updated2, Service7, layer5, node9, exports_sdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./schema-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service49
7
- } from "./schema-m0f2xe1s.js";
6
+ Service46
7
+ } from "./project-vw4psb2f.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./schema-2a5m3afh.js";
10
+ } from "./project-2a5m3afh.js";
11
11
  import {
12
- Service72
13
- } from "./schema-64fh688z.js";
12
+ Service58
13
+ } from "./project-5pqmtba2.js";
14
14
  import {
15
- Service60
16
- } from "./schema-ggxapr4n.js";
15
+ Service66
16
+ } from "./project-p8rw1xd4.js";
17
17
  import {
18
- Service74
19
- } from "./schema-vh918eyq.js";
18
+ Service70
19
+ } from "./project-pdhfa141.js";
20
20
  import {
21
- Service17,
21
+ Service51,
22
22
  resolvePath2
23
- } from "./schema-sqtna5cg.js";
23
+ } from "./project-5vvcj01b.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./schema-vzs5sf6e.js";
29
+ } from "./project-vzs5sf6e.js";
30
30
  import {
31
- Service53,
31
+ Service49,
32
32
  name15
33
- } from "./schema-6en7jsbn.js";
33
+ } from "./project-3y66thwc.js";
34
34
  import {
35
- NotFoundError7,
36
- Service47
37
- } from "./schema-9wqzfaac.js";
35
+ NotFoundError6,
36
+ Service44
37
+ } from "./project-ma84hk0x.js";
38
38
  import {
39
- Service18
40
- } from "./schema-01q8mg5a.js";
39
+ Service25
40
+ } from "./project-bxgg7fv5.js";
41
41
  import {
42
42
  scan2
43
- } from "./schema-fn7m6sq4.js";
43
+ } from "./project-9m25bn8y.js";
44
44
  import {
45
45
  __export
46
- } from "./schema-9rqn6x4v.js";
46
+ } from "./project-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input7,
53
- Plugin: () => Plugin44,
54
- ShellTool: () => exports_shell2,
55
- name: () => name7
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin13,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name7 = "shell";
59
+ var name11 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input7 = Schema.Struct({
73
+ var Input11 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin44 = {
119
+ var Plugin13 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service18;
123
- const jobs = yield* Service60;
122
+ const sessions = yield* Service25;
123
+ const jobs = yield* Service66;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service72;
126
- const access = yield* Service17;
127
- const shell = yield* Service47;
128
- const shellSelect = yield* Service53;
125
+ const environment = yield* Service58;
126
+ const access = yield* Service51;
127
+ const shell = yield* Service44;
128
+ const shellSelect = yield* Service49;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service74;
131
- const config = yield* Service49;
130
+ const permission = yield* Service70;
131
+ const config = yield* Service46;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin44 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name7,
150
+ action: name11,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin44 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name7,
187
+ name: name11,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input7,
190
+ input: Input11,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -206,7 +206,7 @@ var Plugin44 = {
206
206
  const run = Effect.gen(function* () {
207
207
  const result = yield* shell.result(info);
208
208
  if (!result.capture)
209
- return yield* new NotFoundError7({ id: info.id });
209
+ return yield* new NotFoundError6({ id: info.id });
210
210
  const output = output2(result);
211
211
  return {
212
212
  ...output,
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
220
220
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
221
221
  const job = yield* jobs.start({
222
222
  id: info.id,
223
- type: name7,
223
+ type: name11,
224
224
  title: info.command,
225
225
  metadata: { sessionID: context.sessionID, shellID: info.id },
226
226
  recovery: {
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
250
250
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
251
251
  })).pipe(Effect.orDie);
252
252
  const hook = (event) => Effect.gen(function* () {
253
- const tool = event.tools[name7];
253
+ const tool = event.tools[name11];
254
254
  if (!tool)
255
255
  return;
256
256
  tool.description = description(name15(yield* compatibleShell));
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
261
261
  })
262
262
  };
263
263
 
264
- export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin44, exports_shell2 };
264
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin13, exports_shell };