@opencode/core 0.0.0-dev-19821 → 0.0.0-dev-19825

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{job-9wbyf57d.js → model-resolver-020nhycz.js} +5 -5
  8. package/dist/chunks/{job-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{job-pf2hb43r.js → model-resolver-0ft9cg2j.js} +4 -4
  10. package/dist/chunks/{job-8f57sem9.js → model-resolver-0mj02m0m.js} +11 -11
  11. package/dist/chunks/{job-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{job-esqzc4fs.js → model-resolver-0pvezn32.js} +3 -3
  13. package/dist/chunks/{job-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{job-1gtkbj19.js → model-resolver-0vtgharz.js} +17 -17
  15. package/dist/chunks/{job-mfna20ew.js → model-resolver-0xv915x5.js} +3 -3
  16. package/dist/chunks/{job-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{job-a6fsw91z.js → model-resolver-1hav7hz4.js} +27 -27
  18. package/dist/chunks/{job-0h0s6eq7.js → model-resolver-1whgvkhb.js} +25 -25
  19. package/dist/chunks/{job-hpxbhh9j.js → model-resolver-1xydzxfg.js} +6 -6
  20. package/dist/chunks/model-resolver-1zvmacfw.js +492 -0
  21. package/dist/chunks/{job-2vr0m82r.js → model-resolver-20abag2s.js} +12 -12
  22. package/dist/chunks/{job-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  23. package/dist/chunks/{job-zxxqg0t9.js → model-resolver-25bty98p.js} +10 -10
  24. package/dist/chunks/{job-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{job-kwrb1vta.js → model-resolver-2brc3x9h.js} +11 -11
  26. package/dist/chunks/{job-jczg0w2x.js → model-resolver-2db12876.js} +8 -8
  27. package/dist/chunks/{job-32sn9zmq.js → model-resolver-2g8vnf3k.js} +23 -23
  28. package/dist/chunks/{job-tsdhstjq.js → model-resolver-2gskzpsx.js} +9 -9
  29. package/dist/chunks/{job-5jkb1k88.js → model-resolver-2sv6c61x.js} +11 -11
  30. package/dist/chunks/{job-a1xnpkxd.js → model-resolver-302vsmhn.js} +31 -31
  31. package/dist/chunks/{job-9bwme3e5.js → model-resolver-30wd4m73.js} +13 -13
  32. package/dist/chunks/{job-71shgfsf.js → model-resolver-388eqbaa.js} +32 -32
  33. package/dist/chunks/{job-s65x92mt.js → model-resolver-3axdyzka.js} +6 -6
  34. package/dist/chunks/{job-egkz4txj.js → model-resolver-3f2adkq6.js} +19 -19
  35. package/dist/chunks/{job-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{job-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{job-7aqv3jr3.js → model-resolver-3m5m9qrs.js} +18 -18
  38. package/dist/chunks/{job-h2r7bbkd.js → model-resolver-3pbjq009.js} +8 -8
  39. package/dist/chunks/{job-g6v7ypq0.js → model-resolver-3rd3t3my.js} +18 -18
  40. package/dist/chunks/{job-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{job-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{job-4nzxx4d3.js → model-resolver-45anmqk8.js} +12 -12
  43. package/dist/chunks/{job-t4x7ra2n.js → model-resolver-4a8jsfjg.js} +24 -24
  44. package/dist/chunks/{job-tk9ew89t.js → model-resolver-52fpbh6z.js} +8 -8
  45. package/dist/chunks/{job-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
  46. package/dist/chunks/{job-h7kw5x2h.js → model-resolver-599cv9mn.js} +20 -20
  47. package/dist/chunks/{job-bgc09g8q.js → model-resolver-5d7aan1t.js} +28 -28
  48. package/dist/chunks/{job-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  49. package/dist/chunks/{job-r6tah6zk.js → model-resolver-5gb78qtd.js} +10 -10
  50. package/dist/chunks/{job-9fe0nesq.js → model-resolver-5gjvpwac.js} +4 -4
  51. package/dist/chunks/{job-ye7w4cqk.js → model-resolver-5kkq0gjf.js} +13 -13
  52. package/dist/chunks/{job-rzvntaz1.js → model-resolver-5qbvy54r.js} +6 -6
  53. package/dist/chunks/{job-z1xjbeh4.js → model-resolver-5qt1pv7d.js} +9 -9
  54. package/dist/chunks/{job-d43tgzm4.js → model-resolver-5rnnm2b5.js} +9 -9
  55. package/dist/chunks/{job-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{job-p37cw4rj.js → model-resolver-5xtgfte3.js} +4 -4
  57. package/dist/chunks/{job-pc4bd1ey.js → model-resolver-61fj4v2j.js} +16 -16
  58. package/dist/chunks/{job-za8v1e16.js → model-resolver-61m3qh6y.js} +33 -33
  59. package/dist/chunks/{job-rfyfz3ew.js → model-resolver-645hz6vd.js} +15 -15
  60. package/dist/chunks/{job-2qazqbzw.js → model-resolver-662vgtgv.js} +5 -5
  61. package/dist/chunks/{job-669tq793.js → model-resolver-669tq793.js} +1 -1
  62. package/dist/chunks/{job-q0x3bbkn.js → model-resolver-67wvcnxv.js} +22 -22
  63. package/dist/chunks/{job-ssb8vzq0.js → model-resolver-69ck6qnd.js} +14 -14
  64. package/dist/chunks/{job-6h73sxmp.js → model-resolver-6h73sxmp.js} +1 -1
  65. package/dist/chunks/{job-g8d3gcyj.js → model-resolver-6hh8tjw2.js} +7 -7
  66. package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
  67. package/dist/chunks/{job-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{job-3e34z61w.js → model-resolver-6nxs6bmb.js} +6 -6
  69. package/dist/chunks/{job-z135kqbe.js → model-resolver-6vybgjkk.js} +36 -36
  70. package/dist/chunks/{job-k28n6t13.js → model-resolver-6yjhzckp.js} +9 -9
  71. package/dist/chunks/{job-9nap1tbr.js → model-resolver-70c6s51t.js} +8 -8
  72. package/dist/chunks/{job-7thy3neb.js → model-resolver-714t0x07.js} +16 -16
  73. package/dist/chunks/{job-06v682d8.js → model-resolver-7ahjg70a.js} +8 -8
  74. package/dist/chunks/{job-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{job-qgn6gcr1.js → model-resolver-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{job-71m3rqxh.js → model-resolver-7macgssb.js} +14 -14
  77. package/dist/chunks/{job-fhs97t90.js → model-resolver-84zt2byv.js} +9 -9
  78. package/dist/chunks/{job-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{job-mr86hgcg.js → model-resolver-8gb3p5gx.js} +22 -22
  80. package/dist/chunks/{job-dj2t23y0.js → model-resolver-8p4f9s12.js} +2 -2
  81. package/dist/chunks/{job-f5ftdqyv.js → model-resolver-8r2zwmfy.js} +4 -4
  82. package/dist/chunks/{job-b4z9ja23.js → model-resolver-93d5c3p8.js} +3 -3
  83. package/dist/chunks/{job-xakv51w3.js → model-resolver-94vh82pz.js} +37 -37
  84. package/dist/chunks/{job-wncs52te.js → model-resolver-99rt69fd.js} +21 -21
  85. package/dist/chunks/{job-w1ad28wa.js → model-resolver-9eq5kwq7.js} +5 -5
  86. package/dist/chunks/{job-vqfzq50h.js → model-resolver-9gea571p.js} +6 -6
  87. package/dist/chunks/{job-za2adgwd.js → model-resolver-9j3dqq3x.js} +14 -14
  88. package/dist/chunks/{job-5c4hm403.js → model-resolver-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{job-ss3wr7y3.js → model-resolver-a2j8gyzs.js} +16 -16
  90. package/dist/chunks/{job-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  91. package/dist/chunks/{job-d858xzj7.js → model-resolver-afrtgck4.js} +4 -4
  92. package/dist/chunks/{job-50ejayt8.js → model-resolver-afx6jjxh.js} +24 -24
  93. package/dist/chunks/{job-p479xm5n.js → model-resolver-afzhdx1e.js} +24 -24
  94. package/dist/chunks/{job-57ez7d0k.js → model-resolver-ajmg8w9c.js} +9 -9
  95. package/dist/chunks/{job-1e0p5273.js → model-resolver-aqczg285.js} +36 -36
  96. package/dist/chunks/{job-c7nv01yg.js → model-resolver-ar4d9jpk.js} +51 -51
  97. package/dist/chunks/{job-bv11tn3t.js → model-resolver-ass6jfzc.js} +20 -20
  98. package/dist/chunks/{job-2y5824bb.js → model-resolver-at58p27x.js} +32 -32
  99. package/dist/chunks/{job-rxv8w89z.js → model-resolver-azbfhwfn.js} +10 -10
  100. package/dist/chunks/{job-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{job-w2tyfqqp.js → model-resolver-b7359s7r.js} +38 -38
  102. package/dist/chunks/{job-1rtycg88.js → model-resolver-bae6x12q.js} +20 -20
  103. package/dist/chunks/{job-bc1scf50.js → model-resolver-bdrygk5x.js} +15 -15
  104. package/dist/chunks/{job-apsrg68e.js → model-resolver-bgv3s5qc.js} +36 -36
  105. package/dist/chunks/{job-4jz5jyn0.js → model-resolver-c2fpeh16.js} +9 -9
  106. package/dist/chunks/{job-q2sqeqex.js → model-resolver-c4v1e0kz.js} +21 -21
  107. package/dist/chunks/{job-zdx017e5.js → model-resolver-c78c395z.js} +20 -20
  108. package/dist/chunks/{job-m0jqrx5p.js → model-resolver-cfpkc3c9.js} +2 -2
  109. package/dist/chunks/{job-tem2pcp0.js → model-resolver-cn090jyv.js} +15 -15
  110. package/dist/chunks/{job-hsmc4e55.js → model-resolver-cp0393ap.js} +11 -11
  111. package/dist/chunks/{job-r55vasa2.js → model-resolver-cpj0znwe.js} +4 -4
  112. package/dist/chunks/{job-rpwm8seb.js → model-resolver-d0yqsex8.js} +23 -23
  113. package/dist/chunks/{job-g47mxt1p.js → model-resolver-d61582ny.js} +51 -51
  114. package/dist/chunks/{job-bqmgswbv.js → model-resolver-d8byxyk8.js} +12 -12
  115. package/dist/chunks/{job-wbktg4wj.js → model-resolver-d8ewt5hf.js} +18 -18
  116. package/dist/chunks/{job-yw26j43m.js → model-resolver-d8q14kxf.js} +9 -9
  117. package/dist/chunks/{job-3bfmbvg2.js → model-resolver-da534a5t.js} +33 -33
  118. package/dist/chunks/{job-3szszgrt.js → model-resolver-deajav4h.js} +3 -3
  119. package/dist/chunks/{job-t6e30qbs.js → model-resolver-dg4f34fa.js} +47 -47
  120. package/dist/chunks/{job-c765mh8b.js → model-resolver-djszqvmq.js} +9 -9
  121. package/dist/chunks/{job-qhk3c1hk.js → model-resolver-dqtg3793.js} +15 -15
  122. package/dist/chunks/{job-0vvpktwt.js → model-resolver-dvgz3dt4.js} +28 -28
  123. package/dist/chunks/{job-asj1j4ys.js → model-resolver-e0zpv5qc.js} +25 -25
  124. package/dist/chunks/{job-j0d9e70d.js → model-resolver-e1hrzsan.js} +12 -12
  125. package/dist/chunks/{job-hn57h045.js → model-resolver-e2hjzebn.js} +4 -4
  126. package/dist/chunks/{job-5z4wn5yq.js → model-resolver-e80cp3zm.js} +35 -35
  127. package/dist/chunks/{job-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{job-wh1n14bd.js → model-resolver-epads6cz.js} +17 -17
  129. package/dist/chunks/{job-8mt5e22m.js → model-resolver-eqfyccyr.js} +20 -20
  130. package/dist/chunks/{job-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
  131. package/dist/chunks/{job-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{job-jw80jp6b.js → model-resolver-f3ngv102.js} +4 -4
  133. package/dist/chunks/{job-2b4h2ww7.js → model-resolver-f4e894nd.js} +13 -13
  134. package/dist/chunks/{job-hdnk95c8.js → model-resolver-f828m53h.js} +2 -2
  135. package/dist/chunks/{job-brvmyjnj.js → model-resolver-fbmcmy2w.js} +4 -4
  136. package/dist/chunks/{job-zsxqfppe.js → model-resolver-fn7gfzjh.js} +11 -11
  137. package/dist/chunks/{job-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{job-2tfmgkzg.js → model-resolver-fxqygnfa.js} +4 -4
  139. package/dist/chunks/{job-dm1rxb12.js → model-resolver-fytsnjje.js} +1 -1
  140. package/dist/chunks/{job-sd834t27.js → model-resolver-g4tydmkk.js} +11 -11
  141. package/dist/chunks/{job-r6ssyrn8.js → model-resolver-g5epyhxx.js} +16 -16
  142. package/dist/chunks/{job-e89xj288.js → model-resolver-gcavn3wx.js} +5 -5
  143. package/dist/chunks/{job-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{job-atbq07bs.js → model-resolver-gfdjmmb6.js} +16 -16
  145. package/dist/chunks/{job-aazyja1w.js → model-resolver-gqkxh60r.js} +27 -27
  146. package/dist/chunks/{job-985zy11a.js → model-resolver-gtc37187.js} +42 -42
  147. package/dist/chunks/{job-rdpx5tsz.js → model-resolver-gtybr0rh.js} +26 -26
  148. package/dist/chunks/{job-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{job-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{job-0jq9fyba.js → model-resolver-h71w788e.js} +9 -9
  151. package/dist/chunks/{job-87deq66t.js → model-resolver-had4kgfk.js} +6 -6
  152. package/dist/chunks/{job-2xsycv5e.js → model-resolver-hhq4mbvj.js} +13 -13
  153. package/dist/chunks/{job-vmgq4x8b.js → model-resolver-hkagk5ex.js} +2 -2
  154. package/dist/chunks/{job-0r7yqxbf.js → model-resolver-hnr5yq9h.js} +5 -5
  155. package/dist/chunks/{job-3dr0v1fh.js → model-resolver-hr6wd4xv.js} +30 -30
  156. package/dist/chunks/{job-zqgctg7n.js → model-resolver-hxtxrrh5.js} +87 -87
  157. package/dist/chunks/{job-f0p5ctes.js → model-resolver-hynyds1q.js} +4 -4
  158. package/dist/chunks/{job-hggmt63b.js → model-resolver-hzjt009y.js} +11 -11
  159. package/dist/chunks/{job-48xyscag.js → model-resolver-hzz7dkwv.js} +6 -6
  160. package/dist/chunks/{job-tktcwvw2.js → model-resolver-j0aemhh7.js} +47 -47
  161. package/dist/chunks/{job-zhtw8qjf.js → model-resolver-j1bvcdkg.js} +15 -15
  162. package/dist/chunks/{job-8ahba785.js → model-resolver-j4206d7h.js} +3 -3
  163. package/dist/chunks/{job-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  164. package/dist/chunks/{job-qsxf26yz.js → model-resolver-j8zzr2am.js} +6 -6
  165. package/dist/chunks/{job-a21nqz3m.js → model-resolver-jdfvscg1.js} +10 -10
  166. package/dist/chunks/{job-gsw6h1kf.js → model-resolver-jp646bv9.js} +4 -4
  167. package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
  168. package/dist/chunks/{job-hqq6j2f9.js → model-resolver-jye6n1dv.js} +24 -24
  169. package/dist/chunks/{job-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
  170. package/dist/chunks/{job-ef62gz93.js → model-resolver-k4839s1d.js} +20 -20
  171. package/dist/chunks/{job-dmdcvf38.js → model-resolver-k5kzksx8.js} +16 -16
  172. package/dist/chunks/{job-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{job-yfz9e6q0.js → model-resolver-m6dz94as.js} +46 -46
  174. package/dist/chunks/{job-pggmyjh7.js → model-resolver-m9r6vjpz.js} +4 -4
  175. package/dist/chunks/{job-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{job-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
  177. package/dist/chunks/{job-ymqqterr.js → model-resolver-mk35kvz7.js} +19 -19
  178. package/dist/chunks/{job-yxvmkcfe.js → model-resolver-mktnxe3b.js} +38 -38
  179. package/dist/chunks/{job-73tb2d7t.js → model-resolver-mvfsc1pv.js} +3 -3
  180. package/dist/chunks/{job-yjab35yh.js → model-resolver-mwt452g0.js} +6 -6
  181. package/dist/chunks/{job-rxmj5mzk.js → model-resolver-mxf3pqwm.js} +6 -6
  182. package/dist/chunks/{job-tx9w5tca.js → model-resolver-n0tq777j.js} +8 -8
  183. package/dist/chunks/{job-zw67fc8n.js → model-resolver-n272ptga.js} +3 -3
  184. package/dist/chunks/{job-3vh7x5wm.js → model-resolver-n8nareh9.js} +27 -27
  185. package/dist/chunks/{job-5cmxdwv8.js → model-resolver-ndmv45hp.js} +3 -3
  186. package/dist/chunks/{job-15d0d0bm.js → model-resolver-nhgg4y17.js} +17 -17
  187. package/dist/chunks/{job-p28j5sbe.js → model-resolver-p28j5sbe.js} +2 -2
  188. package/dist/chunks/{job-2evyaa68.js → model-resolver-p7nsp59h.js} +4 -4
  189. package/dist/chunks/{job-paegk39x.js → model-resolver-paegk39x.js} +1 -1
  190. package/dist/chunks/{job-c45er5nk.js → model-resolver-pdv94s4z.js} +5 -5
  191. package/dist/chunks/{job-g7pvs3fs.js → model-resolver-peyz0p0p.js} +7 -7
  192. package/dist/chunks/{job-d6qthb8j.js → model-resolver-phx6da97.js} +11 -11
  193. package/dist/chunks/{job-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{job-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  195. package/dist/chunks/{job-vv1h1xbx.js → model-resolver-pngaa6th.js} +5 -5
  196. package/dist/chunks/{job-668w0xjb.js → model-resolver-pp5arfp9.js} +26 -26
  197. package/dist/chunks/{job-vxt7r4vg.js → model-resolver-prxamd8a.js} +10 -10
  198. package/dist/chunks/{job-s6e14krq.js → model-resolver-psz8a7r0.js} +10 -10
  199. package/dist/chunks/{job-efm8p952.js → model-resolver-pt292bv7.js} +15 -15
  200. package/dist/chunks/{job-8j9pcpgt.js → model-resolver-q4s6dcxk.js} +44 -44
  201. package/dist/chunks/{job-wv5yzdar.js → model-resolver-q6nw98mh.js} +20 -20
  202. package/dist/chunks/{job-szcj0kzf.js → model-resolver-qayd3wzs.js} +8 -8
  203. package/dist/chunks/model-resolver-qb6tpq85.js +252 -0
  204. package/dist/chunks/{job-8s8dhtps.js → model-resolver-qewhjxtc.js} +10 -10
  205. package/dist/chunks/{job-caajgf1j.js → model-resolver-qq8y32fb.js} +5 -5
  206. package/dist/chunks/{job-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  207. package/dist/chunks/{job-hbyhqfhs.js → model-resolver-qvreyy9g.js} +5 -5
  208. package/dist/chunks/{job-q8b8x23r.js → model-resolver-qwbyjwn2.js} +25 -25
  209. package/dist/chunks/{job-3kvw8mnh.js → model-resolver-r8fpbd5t.js} +42 -42
  210. package/dist/chunks/{job-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
  211. package/dist/chunks/{job-kfgbczz1.js → model-resolver-rctnpmcd.js} +33 -33
  212. package/dist/chunks/{job-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{job-fk58vp44.js → model-resolver-rfgcsz1j.js} +30 -30
  214. package/dist/chunks/{job-5m8b30t3.js → model-resolver-s172k70m.js} +20 -20
  215. package/dist/chunks/{job-h8z3wjez.js → model-resolver-s3hdfs1j.js} +27 -27
  216. package/dist/chunks/{job-27e1jej6.js → model-resolver-s3zk8xvh.js} +88 -88
  217. package/dist/chunks/{job-0f9afca0.js → model-resolver-s8zy8myc.js} +5 -5
  218. package/dist/chunks/{job-habd9p12.js → model-resolver-sdaja34n.js} +30 -30
  219. package/dist/chunks/{job-pbnv5caj.js → model-resolver-se2qvfz1.js} +3 -3
  220. package/dist/chunks/{job-pn56yd6f.js → model-resolver-spq00ka2.js} +11 -11
  221. package/dist/chunks/{job-87sngdwh.js → model-resolver-sw7ectjd.js} +11 -11
  222. package/dist/chunks/{job-gzkctzh1.js → model-resolver-swg14gxk.js} +3 -3
  223. package/dist/chunks/{job-dj9sq318.js → model-resolver-t0fxg8b9.js} +5 -5
  224. package/dist/chunks/{job-mjqkth3z.js → model-resolver-t0vv8359.js} +179 -179
  225. package/dist/chunks/{job-znj4065v.js → model-resolver-t9tmexac.js} +20 -20
  226. package/dist/chunks/{job-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{job-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{job-tcg29b4q.js → model-resolver-tcg29b4q.js} +1 -1
  229. package/dist/chunks/{job-hjb25kd7.js → model-resolver-td0y98rs.js} +41 -41
  230. package/dist/chunks/{job-bm3m92rh.js → model-resolver-tders91x.js} +12 -12
  231. package/dist/chunks/{job-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  232. package/dist/chunks/{job-wnrxzpw0.js → model-resolver-tm5ahrk2.js} +5 -5
  233. package/dist/chunks/{job-gg62xv4q.js → model-resolver-tsyf12nv.js} +1 -1
  234. package/dist/chunks/{job-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  235. package/dist/chunks/{job-m2v8bx2y.js → model-resolver-tzrwg04y.js} +7 -7
  236. package/dist/chunks/{job-1ej0a07e.js → model-resolver-v1h3kxjj.js} +24 -24
  237. package/dist/chunks/{job-9a60j1p0.js → model-resolver-va2p3qdk.js} +24 -24
  238. package/dist/chunks/{job-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  239. package/dist/chunks/{job-xnm8kjs2.js → model-resolver-vggvkcjb.js} +8 -8
  240. package/dist/chunks/{job-sx1n432n.js → model-resolver-vncycja5.js} +4 -4
  241. package/dist/chunks/{job-vr2vg3zy.js → model-resolver-vr2vg3zy.js} +1 -1
  242. package/dist/chunks/{job-7ma37mjv.js → model-resolver-vss6mrqc.js} +30 -30
  243. package/dist/chunks/{job-mkw2wvv0.js → model-resolver-vstb6x8b.js} +15 -15
  244. package/dist/chunks/{job-j1g8nv42.js → model-resolver-vz2xtr04.js} +5 -5
  245. package/dist/chunks/{job-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{job-7pz960d0.js → model-resolver-vzv9kxzp.js} +7 -7
  247. package/dist/chunks/{job-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/model-resolver-w53v25xj.js +26 -0
  249. package/dist/chunks/{job-kbx20vne.js → model-resolver-wc548a52.js} +11 -11
  250. package/dist/chunks/{job-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  251. package/dist/chunks/{job-wd36wav5.js → model-resolver-whd5ad1s.js} +32 -32
  252. package/dist/chunks/{job-1jaberd3.js → model-resolver-wngr9w9n.js} +15 -15
  253. package/dist/chunks/{job-epybzj2g.js → model-resolver-wrgxtjh4.js} +15 -15
  254. package/dist/chunks/{job-q1zmm1c6.js → model-resolver-wrmrmykr.js} +6 -6
  255. package/dist/chunks/{job-zmxkbdbt.js → model-resolver-wv3gb8g4.js} +24 -24
  256. package/dist/chunks/{job-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{job-hkzck3ga.js → model-resolver-x2abejx6.js} +8 -8
  258. package/dist/chunks/{job-dba8p38n.js → model-resolver-x2fva0gh.js} +13 -13
  259. package/dist/chunks/{job-m7s474br.js → model-resolver-x9ajzjwe.js} +23 -23
  260. package/dist/chunks/{job-92tc7jpe.js → model-resolver-xd87acyy.js} +25 -25
  261. package/dist/chunks/{job-fkjmw100.js → model-resolver-xfdrc2qg.js} +8 -8
  262. package/dist/chunks/{job-x7kmr8sd.js → model-resolver-xgrb3kvx.js} +26 -26
  263. package/dist/chunks/{job-1padrdc5.js → model-resolver-xgvz8aqb.js} +6 -6
  264. package/dist/chunks/{job-b7nw3dz7.js → model-resolver-xk5qfe87.js} +17 -17
  265. package/dist/chunks/{job-f063ghk9.js → model-resolver-xv7845dj.js} +15 -15
  266. package/dist/chunks/{job-63e71ytq.js → model-resolver-xxzhzqzk.js} +2 -2
  267. package/dist/chunks/{job-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{job-7kvkdg61.js → model-resolver-y4cxnkp6.js} +24 -24
  269. package/dist/chunks/{job-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  270. package/dist/chunks/{job-481kcnmx.js → model-resolver-y85jehk6.js} +20 -20
  271. package/dist/chunks/{job-es0t55qq.js → model-resolver-ydd32yv2.js} +25 -25
  272. package/dist/chunks/{job-0dhz5hwf.js → model-resolver-ye0sgdwz.js} +10 -10
  273. package/dist/chunks/{job-nv7rbgje.js → model-resolver-yr8whrpt.js} +9 -9
  274. package/dist/chunks/{job-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{job-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  276. package/dist/chunks/{job-wzdyyep8.js → model-resolver-yxht4gzb.js} +8 -8
  277. package/dist/chunks/{job-y1fyccvv.js → model-resolver-yy7y4tn3.js} +7 -7
  278. package/dist/chunks/{job-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{job-znrpspxx.js → model-resolver-z1j8fwgr.js} +11 -11
  280. package/dist/chunks/{job-hsg4398k.js → model-resolver-z36d3h7g.js} +13 -13
  281. package/dist/chunks/{job-hd50s0sm.js → model-resolver-z5p64esd.js} +20 -20
  282. package/dist/chunks/{job-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  283. package/dist/chunks/{job-p293czm2.js → model-resolver-zcdrxs46.js} +4 -4
  284. package/dist/chunks/{job-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{job-xxa0rhz0.js → model-resolver-zgenf5ev.js} +35 -35
  286. package/dist/chunks/{job-kcbwjnna.js → model-resolver-zhxq7wpj.js} +11 -11
  287. package/dist/chunks/{job-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{job-qvzgrdvp.js → model-resolver-zxbqrrvg.js} +65 -65
  289. package/dist/chunks/{job-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +367 -367
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +129 -129
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +73 -73
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +106 -106
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +83 -83
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +119 -119
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +87 -87
  561. package/dist/provider.js +98 -98
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +218 -218
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +87 -87
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +92 -92
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +1 -1
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +82 -82
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +117 -117
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +1 -1
  641. package/dist/tool/plugin/patch.js +115 -115
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +108 -108
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +107 -107
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +95 -95
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +16 -16
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +93 -93
  694. package/package.json +8 -8
  695. package/dist/chunks/job-0mesazry.js +0 -4
  696. package/dist/chunks/job-76z3yd02.js +0 -252
  697. package/dist/chunks/job-dqkwgabx.js +0 -26
  698. package/dist/chunks/job-p2h6zvwc.js +0 -18
  699. package/dist/chunks/job-qqb4kf29.js +0 -492
  700. /package/dist/chunks/{job-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{job-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{job-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{job-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{job-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{job-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{job-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{job-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{job-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{job-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{job-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  711. /package/dist/chunks/{job-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{job-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{job-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{job-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{job-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{job-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{job-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{job-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  719. /package/dist/chunks/{job-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{job-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{job-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  722. /package/dist/chunks/{job-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{job-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{job-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  725. /package/dist/chunks/{job-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{job-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{job-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  728. /package/dist/chunks/{job-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{job-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{job-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{job-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{job-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{job-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{job-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{job-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{job-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{job-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{job-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{job-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{job-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{job-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{job-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{job-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  744. /package/dist/chunks/{job-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{job-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{job-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{job-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{job-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{job-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{job-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{job-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{job-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{job-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{job-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{job-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{job-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  757. /package/dist/chunks/{job-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{job-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  759. /package/dist/chunks/{job-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{job-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  761. /package/dist/chunks/{job-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{job-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{job-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{job-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{job-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{job-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{job-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{job-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{job-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{job-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{job-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{job-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{job-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{job-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{job-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{job-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{job-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{job-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{job-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{job-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{job-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{job-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{job-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{job-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{job-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{job-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{job-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{job-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{job-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  790. /package/dist/chunks/{job-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{job-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{job-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{job-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{job-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{job-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./job-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./job-7thy3neb.js";
5
+ Service77
6
+ } from "./model-resolver-714t0x07.js";
7
7
  import {
8
8
  __export
9
- } from "./job-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3
16
+ names: () => names4
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names3 = ["opencode.json", "opencode.jsonc"];
22
+ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service79;
26
+ const location = yield* Service77;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names3, discover3, exports_discovery2 };
59
+ export { names4, discover3, exports_discovery2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service45
4
- } from "./job-yfz9e6q0.js";
3
+ Service53
4
+ } from "./model-resolver-m6dz94as.js";
5
5
  import {
6
- Service52
7
- } from "./job-j0d9e70d.js";
6
+ Service48
7
+ } from "./model-resolver-e1hrzsan.js";
8
8
  import {
9
9
  observe2
10
- } from "./job-qsdy395h.js";
10
+ } from "./model-resolver-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./job-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin32
19
+ Plugin: () => Plugin3
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin32 = define({
23
+ var Plugin3 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service45;
27
- const output = yield* Service52;
26
+ const config = yield* Service53;
27
+ const output = yield* Service48;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin32 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin32, exports_tool_output };
41
+ export { Plugin3, exports_tool_output };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./job-gftt206x.js";
3
+ } from "./model-resolver-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./job-5cmxdwv8.js";
6
+ } from "./model-resolver-ndmv45hp.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./job-q1zmm1c6.js";
9
+ } from "./model-resolver-wrmrmykr.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./job-eaj1djv9.js";
13
+ } from "./model-resolver-02nrjc1r.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./job-5c4hm403.js";
16
+ } from "./model-resolver-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./job-2tfmgkzg.js";
20
+ } from "./model-resolver-fxqygnfa.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./job-paegk39x.js";
25
+ } from "./model-resolver-paegk39x.js";
26
26
  import {
27
27
  __export
28
- } from "./job-9rqn6x4v.js";
28
+ } from "./model-resolver-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./job-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./job-7thy3neb.js";
5
+ Service77
6
+ } from "./model-resolver-714t0x07.js";
7
7
  import {
8
- Service15
9
- } from "./job-pc4bd1ey.js";
8
+ Service14
9
+ } from "./model-resolver-61fj4v2j.js";
10
10
  import {
11
11
  Service11
12
- } from "./job-r6tah6zk.js";
12
+ } from "./model-resolver-5gb78qtd.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./job-2a5m3afh.js";
15
+ } from "./model-resolver-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service12
27
- } from "./job-kcbwjnna.js";
27
+ } from "./model-resolver-zhxq7wpj.js";
28
28
  import {
29
29
  __export
30
- } from "./job-9rqn6x4v.js";
30
+ } from "./model-resolver-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input5,
36
- Plugin: () => Plugin41,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin48,
37
37
  ReadTool: () => exports_read,
38
- name: () => name5,
39
- toModelContent: () => toModelContent2
38
+ name: () => name12,
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 name5 = "read";
45
+ var name12 = "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 2000)"
54
54
  })
55
55
  });
56
- var Input5 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin41 = {
58
+ var Plugin48 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service12;
62
- const access = yield* Service15;
62
+ const access = yield* Service14;
63
63
  const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name5,
67
+ name: name12,
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: Input5,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin41 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(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)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name5, Input5, Plugin41, toModelContent2, exports_read };
183
+ export { name12, Input12, Plugin48, toModelContent6, exports_read };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./job-tazgh4e4.js";
10
+ } from "./model-resolver-tazgh4e4.js";
11
11
  import {
12
- Service79
13
- } from "./job-7thy3neb.js";
12
+ Service77
13
+ } from "./model-resolver-714t0x07.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./job-h7kw5x2h.js";
16
+ } from "./model-resolver-599cv9mn.js";
17
17
  import {
18
18
  __export
19
- } from "./job-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin7,
24
+ Plugin: () => Plugin27,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin7 = define({
33
+ var Plugin27 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service79;
36
+ const location = yield* Service77;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin7, exports_hg };
191
+ export { Plugin27, exports_hg };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./job-5t3nmthw.js";
3
+ } from "./model-resolver-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service26,
11
+ Service: () => Service38,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer11,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node29
15
+ node: () => node41
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
360
360
  }, { discard: true });
361
361
  });
362
362
  yield* Effect.addFinalizer(() => closeAll);
363
- return Service26.of({ bind, close, closeAll });
363
+ return Service38.of({ bind, close, closeAll });
364
364
  }));
365
- var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
365
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
366
366
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
367
367
  })));
368
- var node29 = makeGlobalNode({ service: Service26, layer: layer11, deps: [webSocketConstructor2] });
368
+ var node41 = makeGlobalNode({ service: Service38, layer: layer13, deps: [webSocketConstructor2] });
369
369
 
370
- export { Service26, makeLayer2, layer11, node29, exports_model_transport };
370
+ export { Service38, makeLayer2, layer13, node41, exports_model_transport };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service83
3
- } from "./job-gzkctzh1.js";
3
+ } from "./model-resolver-swg14gxk.js";
4
4
  import {
5
5
  Service82
6
- } from "./job-gsw6h1kf.js";
6
+ } from "./model-resolver-jp646bv9.js";
7
7
  import {
8
- Service41
9
- } from "./job-vqfzq50h.js";
8
+ Service59
9
+ } from "./model-resolver-9gea571p.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./job-fxbjtjnd.js";
12
+ } from "./model-resolver-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./job-gftt206x.js";
15
+ } from "./model-resolver-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./job-q1zmm1c6.js";
23
+ } from "./model-resolver-wrmrmykr.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./job-ec1grn59.js";
26
+ } from "./model-resolver-ec1grn59.js";
27
27
  import {
28
28
  Service74
29
- } from "./job-06v682d8.js";
29
+ } from "./model-resolver-7ahjg70a.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service39
34
- } from "./job-znj4065v.js";
33
+ Service57
34
+ } from "./model-resolver-t9tmexac.js";
35
35
  import {
36
- Service37
37
- } from "./job-apsrg68e.js";
36
+ Service55
37
+ } from "./model-resolver-bgv3s5qc.js";
38
38
  import {
39
39
  prepare2
40
- } from "./job-atbq07bs.js";
40
+ } from "./model-resolver-gfdjmmb6.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./job-bv11tn3t.js";
45
+ } from "./model-resolver-ass6jfzc.js";
46
46
  import {
47
47
  start2
48
- } from "./job-k28n6t13.js";
48
+ } from "./model-resolver-6yjhzckp.js";
49
49
  import {
50
50
  get4
51
- } from "./job-z1xjbeh4.js";
51
+ } from "./model-resolver-5qt1pv7d.js";
52
52
  import {
53
53
  __export
54
- } from "./job-9rqn6x4v.js";
54
+ } from "./model-resolver-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service82;
67
67
  const database = yield* Service83;
68
68
  const store = yield* Service74;
69
- const instances = yield* Service41;
70
- const execution = yield* Service37;
71
- const admission = yield* Service39;
69
+ const instances = yield* Service59;
70
+ const execution = yield* Service55;
71
+ const admission = yield* Service57;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError9({ sessionID });
77
+ return yield* new NotFoundError10({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service59, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service59, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service59, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service82, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./job-y71avatq.js";
3
+ } from "./model-resolver-y71avatq.js";
4
4
  import {
5
- Service69,
6
- node72
7
- } from "./job-p479xm5n.js";
5
+ Service64,
6
+ node67
7
+ } from "./model-resolver-afzhdx1e.js";
8
8
  import {
9
9
  __export
10
- } from "./job-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service68,
17
- node: () => node71,
16
+ Service: () => Service28,
17
+ node: () => node31,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service68 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service28 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service68, Effect.gen(function* () {
38
- const environment = yield* Service69;
37
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
38
+ const environment = yield* Service64;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service68.of({ withLock, write, writeTextPreservingBom });
59
+ return Service28.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node71 = makeLocationNode({ service: Service68, layer, deps: [node72] });
61
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node67] });
62
62
 
63
- export { Service68, readText2, syncTextBom2, node71, exports_file_mutation };
63
+ export { Service28, readText2, syncTextBom2, node31, exports_file_mutation };