@opencode/core 0.0.0-dev-19926 → 0.0.0-dev-19928

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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/{model-resolver-fb8c08xg.js → generate-02rzwqf2.js} +11 -11
  8. package/dist/chunks/{model-resolver-08xem6p0.js → generate-08n1bwxs.js} +26 -26
  9. package/dist/chunks/{model-resolver-kfwxpy88.js → generate-0b3cvpyc.js} +6 -6
  10. package/dist/chunks/{model-resolver-pd658761.js → generate-0djzmssq.js} +15 -15
  11. package/dist/chunks/{model-resolver-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-resolver-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{model-resolver-jb9v1mz9.js → generate-12st523p.js} +7 -7
  14. package/dist/chunks/{model-resolver-4c8bw516.js → generate-15nepkqg.js} +8 -8
  15. package/dist/chunks/{model-resolver-78vf6w8w.js → generate-17k7e265.js} +12 -12
  16. package/dist/chunks/{model-resolver-vsaptvsj.js → generate-17z5qab9.js} +79 -79
  17. package/dist/chunks/{model-resolver-v17m4zdb.js → generate-1979c0g3.js} +2 -2
  18. package/dist/chunks/{model-resolver-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-resolver-vang5ec1.js → generate-1kgsqxqk.js} +30 -30
  20. package/dist/chunks/{model-resolver-40j503mv.js → generate-1knd450p.js} +15 -15
  21. package/dist/chunks/{model-resolver-5hgsj32b.js → generate-1n8x84jk.js} +25 -25
  22. package/dist/chunks/{model-resolver-vkyakgxh.js → generate-1nz402vm.js} +20 -20
  23. package/dist/chunks/{model-resolver-wdt6zdam.js → generate-1qxy8npy.js} +3 -3
  24. package/dist/chunks/{model-resolver-7ycmm9h1.js → generate-1s0c7e1x.js} +43 -43
  25. package/dist/chunks/generate-1vjp0nt5.js +26 -0
  26. package/dist/chunks/generate-1x11rq2a.js +18 -0
  27. package/dist/chunks/{model-resolver-1ygqh575.js → generate-1ygqh575.js} +2 -2
  28. package/dist/chunks/{model-resolver-21r38tys.js → generate-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-2402vzrj.js → generate-2402vzrj.js} +1 -1
  30. package/dist/chunks/{model-resolver-k9nbr7aq.js → generate-29f4vwe7.js} +12 -12
  31. package/dist/chunks/{model-resolver-z63w68vq.js → generate-29x78va6.js} +6 -6
  32. package/dist/chunks/{model-resolver-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{model-resolver-yk80ejdm.js → generate-2b9qhknk.js} +5 -5
  34. package/dist/chunks/{model-resolver-6ns2tdmk.js → generate-2c8axg0p.js} +11 -11
  35. package/dist/chunks/{model-resolver-76wx763q.js → generate-2j0xwkgq.js} +24 -24
  36. package/dist/chunks/{model-resolver-tp5arsk6.js → generate-2mmvmxaa.js} +11 -11
  37. package/dist/chunks/{model-resolver-hrmdcqyf.js → generate-2re9my94.js} +9 -9
  38. package/dist/chunks/{model-resolver-2zdq6f6p.js → generate-2x9qwzry.js} +41 -41
  39. package/dist/chunks/{model-resolver-bajakh74.js → generate-34z8bdtq.js} +4 -4
  40. package/dist/chunks/{model-resolver-a1rqsmym.js → generate-35ghwfgj.js} +8 -8
  41. package/dist/chunks/{model-resolver-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{model-resolver-bdsby7g0.js → generate-3n26wstr.js} +7 -7
  44. package/dist/chunks/{model-resolver-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{model-resolver-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{model-resolver-hdth81r5.js → generate-3vpjtrxk.js} +3 -3
  47. package/dist/chunks/{model-resolver-24gamcb6.js → generate-4310vdb4.js} +9 -9
  48. package/dist/chunks/{model-resolver-44y902bk.js → generate-49q65w6d.js} +17 -17
  49. package/dist/chunks/{model-resolver-qnscm38h.js → generate-4m7rhrzk.js} +4 -4
  50. package/dist/chunks/{model-resolver-knvwt6j5.js → generate-4z1dv4tz.js} +20 -20
  51. package/dist/chunks/{model-resolver-6fc9ab0p.js → generate-50b9th6r.js} +18 -18
  52. package/dist/chunks/{model-resolver-hg1baqdt.js → generate-52cc6hz4.js} +9 -9
  53. package/dist/chunks/{model-resolver-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{model-resolver-s3fz7j7v.js → generate-5bgrpqnq.js} +28 -28
  55. package/dist/chunks/{model-resolver-a1bz86dw.js → generate-5c4hm403.js} +3 -3
  56. package/dist/chunks/{model-resolver-5daktx2q.js → generate-5daktx2q.js} +1 -1
  57. package/dist/chunks/{model-resolver-7skx4erk.js → generate-5nrdpb71.js} +11 -11
  58. package/dist/chunks/{model-resolver-7q57kfqx.js → generate-5sh8j88p.js} +16 -16
  59. package/dist/chunks/{model-resolver-xn4mwr17.js → generate-5sj14crw.js} +15 -15
  60. package/dist/chunks/{model-resolver-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-resolver-abfxp5rq.js → generate-60y7pn7x.js} +5 -5
  62. package/dist/chunks/{model-resolver-5st1adr6.js → generate-652pvwrv.js} +10 -10
  63. package/dist/chunks/{model-resolver-669tq793.js → generate-669tq793.js} +1 -1
  64. package/dist/chunks/{model-resolver-ex5q91jn.js → generate-67fym8mz.js} +13 -13
  65. package/dist/chunks/{model-resolver-w4t2hm04.js → generate-6970jmxf.js} +18 -18
  66. package/dist/chunks/{model-resolver-0y2gte3n.js → generate-69zg2gja.js} +47 -47
  67. package/dist/chunks/{model-resolver-zm94pjk4.js → generate-6ad5a7cc.js} +1 -1
  68. package/dist/chunks/{model-resolver-6jqp9cwx.js → generate-6agjyrrr.js} +11 -11
  69. package/dist/chunks/{model-resolver-jmggaf18.js → generate-6cptqdtp.js} +9 -9
  70. package/dist/chunks/{model-resolver-64q9w75g.js → generate-6g4xk5ct.js} +32 -32
  71. package/dist/chunks/{model-resolver-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{model-resolver-xr83eezp.js → generate-6nph9wxp.js} +15 -15
  73. package/dist/chunks/{model-resolver-msq0jde0.js → generate-6p3xbzsx.js} +4 -4
  74. package/dist/chunks/{model-resolver-gmah3she.js → generate-6v8ra5s2.js} +22 -22
  75. package/dist/chunks/{model-resolver-wapgj76k.js → generate-6y7qr3ne.js} +2 -2
  76. package/dist/chunks/{model-resolver-ks46mppt.js → generate-6yprahxd.js} +24 -24
  77. package/dist/chunks/{model-resolver-wpm2rk0p.js → generate-708yg38f.js} +8 -8
  78. package/dist/chunks/{model-resolver-ratrq7cm.js → generate-73gmm198.js} +4 -4
  79. package/dist/chunks/{model-resolver-5f90fjb2.js → generate-74rrnwt7.js} +5 -5
  80. package/dist/chunks/{model-resolver-qph6aq08.js → generate-788ne9mn.js} +292 -292
  81. package/dist/chunks/{model-resolver-9gmmm9sx.js → generate-78kn9psm.js} +17 -17
  82. package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{model-resolver-00b2qmzp.js → generate-7bsw6jb9.js} +16 -16
  84. package/dist/chunks/{model-resolver-k0ybnwrn.js → generate-7fn8enjq.js} +21 -21
  85. package/dist/chunks/{model-resolver-a626cka7.js → generate-7kfq0bws.js} +26 -26
  86. package/dist/chunks/{model-resolver-4ht7zjzd.js → generate-7m46d0cp.js} +12 -12
  87. package/dist/chunks/{model-resolver-0qk498bf.js → generate-7n92h9ae.js} +5 -5
  88. package/dist/chunks/{model-resolver-nv6sgpkb.js → generate-834a0b17.js} +9 -9
  89. package/dist/chunks/{model-resolver-r9xy17z8.js → generate-84png0yc.js} +10 -10
  90. package/dist/chunks/{model-resolver-rk04762b.js → generate-88v3zjmk.js} +4 -4
  91. package/dist/chunks/{model-resolver-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{model-resolver-mr0fddg5.js → generate-8mcdqw3q.js} +7 -7
  93. package/dist/chunks/{model-resolver-bfsh06ya.js → generate-8r79x31a.js} +3 -3
  94. package/dist/chunks/{model-resolver-wym541qg.js → generate-92dp6wm6.js} +5 -5
  95. package/dist/chunks/generate-949fbdqq.js +252 -0
  96. package/dist/chunks/{model-resolver-63fadg39.js → generate-9588h3n1.js} +12 -12
  97. package/dist/chunks/{model-resolver-afs9jfss.js → generate-96gqrx7w.js} +23 -23
  98. package/dist/chunks/{model-resolver-gg02cd9y.js → generate-9avarjh4.js} +4 -4
  99. package/dist/chunks/{model-resolver-3vzygexc.js → generate-9c6p0cbw.js} +5 -5
  100. package/dist/chunks/{model-resolver-p37cw4rj.js → generate-9hn6k4tm.js} +8 -8
  101. package/dist/chunks/{model-resolver-3znywzy1.js → generate-9jp7t3k6.js} +3 -3
  102. package/dist/chunks/{model-resolver-pca8yecj.js → generate-9kp8pnw9.js} +9 -9
  103. package/dist/chunks/{model-resolver-az8jh5px.js → generate-9wdxvxcx.js} +10 -10
  104. package/dist/chunks/{model-resolver-ffq37epr.js → generate-9wp9hbbv.js} +11 -11
  105. package/dist/chunks/{model-resolver-aaet6srn.js → generate-aaet6srn.js} +2 -2
  106. package/dist/chunks/{model-resolver-k022gtx1.js → generate-afyt8s0d.js} +11 -11
  107. package/dist/chunks/{model-resolver-fxmgg4aj.js → generate-ajvrh1yc.js} +4 -4
  108. package/dist/chunks/{model-resolver-0sfx6ryg.js → generate-ak7jg0qj.js} +18 -18
  109. package/dist/chunks/{model-resolver-3k59eqae.js → generate-ar6h1w8d.js} +16 -16
  110. package/dist/chunks/{model-resolver-qa5kg56q.js → generate-aw5fwsf1.js} +8 -8
  111. package/dist/chunks/{model-resolver-qkrdvrz2.js → generate-axfff6jb.js} +6 -6
  112. package/dist/chunks/{model-resolver-eqqrsm1t.js → generate-b18zasay.js} +24 -24
  113. package/dist/chunks/{model-resolver-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{model-resolver-gjssp7pf.js → generate-bchwhfzs.js} +13 -13
  115. package/dist/chunks/{model-resolver-fg8jec26.js → generate-bcmxkm63.js} +20 -20
  116. package/dist/chunks/{model-resolver-vncycja5.js → generate-bf0ztrs3.js} +4 -4
  117. package/dist/chunks/{model-resolver-ev6hqs1q.js → generate-bgc7662s.js} +9 -9
  118. package/dist/chunks/{model-resolver-mfwxq1fh.js → generate-btv7656b.js} +5 -5
  119. package/dist/chunks/{model-resolver-af39q8s5.js → generate-bxd68sh6.js} +11 -11
  120. package/dist/chunks/{model-resolver-rk343djc.js → generate-c2g3wzfp.js} +33 -33
  121. package/dist/chunks/{model-resolver-ct38679x.js → generate-c67y0jfd.js} +23 -23
  122. package/dist/chunks/{model-resolver-7v0tkhvj.js → generate-c9bb4jjz.js} +165 -165
  123. package/dist/chunks/{model-resolver-xrfewb9d.js → generate-caxab8mx.js} +11 -11
  124. package/dist/chunks/{model-resolver-eqkxs06z.js → generate-ccfa4wxs.js} +5 -5
  125. package/dist/chunks/{model-resolver-vfawz6dj.js → generate-cnm1btwq.js} +17 -17
  126. package/dist/chunks/{model-resolver-sb9fep2d.js → generate-cr5b1kcj.js} +8 -8
  127. package/dist/chunks/{model-resolver-1bdsymve.js → generate-d0sda21w.js} +6 -6
  128. package/dist/chunks/{model-resolver-075k3c2t.js → generate-d11edp8t.js} +22 -22
  129. package/dist/chunks/{model-resolver-8p4f9s12.js → generate-dj2t23y0.js} +2 -2
  130. package/dist/chunks/{model-resolver-s4d32hds.js → generate-dphvwjzd.js} +11 -11
  131. package/dist/chunks/{model-resolver-y71avatq.js → generate-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{model-resolver-xfkkasph.js → generate-drwq78ky.js} +4 -4
  133. package/dist/chunks/{model-resolver-arrrx05s.js → generate-dt25xn4z.js} +33 -33
  134. package/dist/chunks/{model-resolver-a8m4vrfw.js → generate-dx0f7ver.js} +18 -18
  135. package/dist/chunks/{model-resolver-9yyb952e.js → generate-dzcb1sne.js} +11 -11
  136. package/dist/chunks/{model-resolver-p9ejrfws.js → generate-dzyqfwqf.js} +16 -16
  137. package/dist/chunks/{model-resolver-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{model-resolver-ph842b28.js → generate-eahhehpg.js} +4 -4
  139. package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{model-resolver-hnbn0m2z.js → generate-egrkgs8q.js} +21 -21
  141. package/dist/chunks/{model-resolver-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{model-resolver-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{model-resolver-9gccg1eh.js → generate-ezsrcjtm.js} +11 -11
  144. package/dist/chunks/{model-resolver-6d2paczb.js → generate-f0q7wva8.js} +11 -11
  145. package/dist/chunks/{model-resolver-1fw2a5v8.js → generate-f2ehs87a.js} +22 -22
  146. package/dist/chunks/{model-resolver-rqrnf5mw.js → generate-f2vy8wd0.js} +42 -42
  147. package/dist/chunks/{model-resolver-ka5h1wrp.js → generate-f6mwz6ae.js} +3 -3
  148. package/dist/chunks/{model-resolver-2k8khapm.js → generate-fcrkznn8.js} +5 -5
  149. package/dist/chunks/{model-resolver-fkp0gvex.js → generate-fny86xce.js} +15 -15
  150. package/dist/chunks/{model-resolver-w1hqwkkp.js → generate-frkbx2gh.js} +42 -42
  151. package/dist/chunks/{model-resolver-ev1yg4x7.js → generate-fwwrfcv4.js} +20 -20
  152. package/dist/chunks/{model-resolver-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{model-resolver-m8xgmas4.js → generate-g1dme5yb.js} +11 -11
  154. package/dist/chunks/{model-resolver-wqc6684y.js → generate-g2yz86wh.js} +2 -2
  155. package/dist/chunks/{model-resolver-v2k8yzhz.js → generate-g904xrc0.js} +23 -23
  156. package/dist/chunks/{model-resolver-398p6kdy.js → generate-gafwvkft.js} +4 -4
  157. package/dist/chunks/{model-resolver-xhw2e9cm.js → generate-gampfn72.js} +11 -11
  158. package/dist/chunks/{model-resolver-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{model-resolver-3e1synqb.js → generate-gdek4pmw.js} +17 -17
  160. package/dist/chunks/{model-resolver-hz59w1dt.js → generate-gjdj0760.js} +6 -6
  161. package/dist/chunks/{model-resolver-z01c9x9z.js → generate-gmbmcgg0.js} +13 -13
  162. package/dist/chunks/{model-resolver-xsk2k8qr.js → generate-grfkgt6x.js} +9 -9
  163. package/dist/chunks/{model-resolver-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  164. package/dist/chunks/{model-resolver-3x7xgm7m.js → generate-h0chh9mh.js} +26 -26
  165. package/dist/chunks/{model-resolver-dk518thc.js → generate-h4tm529t.js} +27 -27
  166. package/dist/chunks/{model-resolver-4dgbcxzg.js → generate-h6r3nrb9.js} +4 -4
  167. package/dist/chunks/{model-resolver-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{model-resolver-f828m53h.js → generate-hdnk95c8.js} +2 -2
  169. package/dist/chunks/{model-resolver-vyskdrqb.js → generate-hph9a1wy.js} +1 -1
  170. package/dist/chunks/{model-resolver-wjr7xgfm.js → generate-hqwgtjdf.js} +11 -11
  171. package/dist/chunks/{model-resolver-g8dj7pp1.js → generate-j10h1wdt.js} +24 -24
  172. package/dist/chunks/{model-resolver-dhqy0ykh.js → generate-j1gmcxjp.js} +44 -44
  173. package/dist/chunks/{model-resolver-j56e64zr.js → generate-j56e64zr.js} +1 -1
  174. package/dist/chunks/{model-resolver-pstg3rfm.js → generate-j5786zrt.js} +1 -1
  175. package/dist/chunks/{model-resolver-wwajdw47.js → generate-j9hz3vad.js} +9 -9
  176. package/dist/chunks/{model-resolver-h68x73dv.js → generate-jb23qwp2.js} +3 -3
  177. package/dist/chunks/{model-resolver-e6hmchc5.js → generate-jv01nqvq.js} +5 -5
  178. package/dist/chunks/{model-resolver-08q9b52r.js → generate-jxaefcp2.js} +11 -11
  179. package/dist/chunks/{model-resolver-zrq8kphx.js → generate-k1gkpfdk.js} +8 -8
  180. package/dist/chunks/{model-resolver-k3c624dm.js → generate-k3c624dm.js} +3 -3
  181. package/dist/chunks/{model-resolver-pagmmz98.js → generate-ka9jgt4a.js} +25 -25
  182. package/dist/chunks/{model-resolver-c2h2ttee.js → generate-kbtsy04j.js} +23 -23
  183. package/dist/chunks/{model-resolver-mkjhxygp.js → generate-kczcp0fs.js} +30 -30
  184. package/dist/chunks/{model-resolver-8ympn3ah.js → generate-kd639zsd.js} +3 -3
  185. package/dist/chunks/{model-resolver-6fz3n079.js → generate-keg68jj3.js} +31 -31
  186. package/dist/chunks/{model-resolver-qg0jgkcp.js → generate-kfphszmj.js} +9 -9
  187. package/dist/chunks/{model-resolver-ag7nqrcy.js → generate-kkhe5v2n.js} +31 -31
  188. package/dist/chunks/{model-resolver-tytr0bkw.js → generate-kky6syvy.js} +7 -7
  189. package/dist/chunks/{model-resolver-pf2hb43r.js → generate-kmkwybff.js} +4 -4
  190. package/dist/chunks/{model-resolver-k9kj6xed.js → generate-knb7evpn.js} +6 -6
  191. package/dist/chunks/{model-resolver-zvk2hk11.js → generate-kq6rykfa.js} +32 -32
  192. package/dist/chunks/{model-resolver-cfpkc3c9.js → generate-m0jqrx5p.js} +2 -2
  193. package/dist/chunks/{model-resolver-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{model-resolver-h7ng5vdc.js → generate-m61kjpz8.js} +13 -13
  195. package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{model-resolver-g1jvev6e.js → generate-mbx5xje1.js} +10 -10
  197. package/dist/chunks/{model-resolver-73tb2d7t.js → generate-mhkvc446.js} +3 -3
  198. package/dist/chunks/{model-resolver-ev4stjem.js → generate-mk4cbe95.js} +35 -35
  199. package/dist/chunks/{model-resolver-1x9sk52d.js → generate-mk9gh17g.js} +16 -16
  200. package/dist/chunks/{model-resolver-ztm7g6bb.js → generate-mkazsh4n.js} +25 -25
  201. package/dist/chunks/{model-resolver-s8zy8myc.js → generate-mtft99cd.js} +5 -5
  202. package/dist/chunks/{model-resolver-ye0xva7k.js → generate-nb5fc2he.js} +23 -23
  203. package/dist/chunks/{model-resolver-35mcxst1.js → generate-nn06v8gr.js} +3 -3
  204. package/dist/chunks/{model-resolver-m2h0hv26.js → generate-nwes2rk7.js} +7 -7
  205. package/dist/chunks/{model-resolver-tbz0fdvh.js → generate-p28j5sbe.js} +5 -5
  206. package/dist/chunks/{model-resolver-vx56fmvp.js → generate-p9by1qyw.js} +17 -17
  207. package/dist/chunks/{model-resolver-dffkmpde.js → generate-p9yczjkf.js} +68 -68
  208. package/dist/chunks/{model-resolver-tmjbks7b.js → generate-pfhkc59y.js} +17 -17
  209. package/dist/chunks/{model-resolver-br29rrqr.js → generate-pfp2se81.js} +10 -10
  210. package/dist/chunks/{model-resolver-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
  212. package/dist/chunks/{model-resolver-g47qx744.js → generate-q3egvdqd.js} +8 -8
  213. package/dist/chunks/{model-resolver-jkp1s217.js → generate-q47m5e8w.js} +52 -52
  214. package/dist/chunks/{model-resolver-ckf8nxjz.js → generate-q5asdkn4.js} +4 -4
  215. package/dist/chunks/{model-resolver-xcxz94y0.js → generate-q98y5tty.js} +5 -5
  216. package/dist/chunks/{model-resolver-japqcg14.js → generate-qa2fqmf7.js} +2 -2
  217. package/dist/chunks/{model-resolver-a0kryv5z.js → generate-qa4v9jft.js} +5 -5
  218. package/dist/chunks/{model-resolver-f62qkzqr.js → generate-qdbakdjh.js} +5 -5
  219. package/dist/chunks/{model-resolver-dxea04xa.js → generate-qfja44bf.js} +4 -4
  220. package/dist/chunks/{model-resolver-0erbzs5f.js → generate-qm17akbq.js} +17 -17
  221. package/dist/chunks/{model-resolver-2sejkfem.js → generate-qmqgtz8f.js} +9 -9
  222. package/dist/chunks/{model-resolver-qsdy395h.js → generate-qsdy395h.js} +1 -1
  223. package/dist/chunks/{model-resolver-ef5hpeet.js → generate-r2kbaf83.js} +8 -8
  224. package/dist/chunks/{model-resolver-1acjjqhc.js → generate-r8xr0va3.js} +4 -4
  225. package/dist/chunks/{model-resolver-0jq9fyba.js → generate-r9w3djhf.js} +9 -9
  226. package/dist/chunks/{model-resolver-ze5v0a14.js → generate-rav9e4bf.js} +5 -5
  227. package/dist/chunks/{model-resolver-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{model-resolver-04k65yr5.js → generate-rg4s56dy.js} +11 -11
  229. package/dist/chunks/{model-resolver-gjxbhnbr.js → generate-rhnwdj6j.js} +16 -16
  230. package/dist/chunks/{model-resolver-qen4878t.js → generate-rnnxefam.js} +25 -25
  231. package/dist/chunks/{model-resolver-p0yw2kgq.js → generate-rsxnvcbs.js} +20 -20
  232. package/dist/chunks/{model-resolver-5b0afsa0.js → generate-rtf2d8r4.js} +5 -5
  233. package/dist/chunks/{model-resolver-q41erv8w.js → generate-s17mkaes.js} +21 -21
  234. package/dist/chunks/{model-resolver-yrznvahk.js → generate-s4enseaf.js} +2 -2
  235. package/dist/chunks/{model-resolver-79mwksnw.js → generate-s4fp5dz9.js} +4 -4
  236. package/dist/chunks/{model-resolver-t550f9t1.js → generate-s8d7rejh.js} +4 -4
  237. package/dist/chunks/{model-resolver-m4xr9n7x.js → generate-s8sz8x3h.js} +17 -17
  238. package/dist/chunks/{model-resolver-qfq680d4.js → generate-scpwghev.js} +13 -13
  239. package/dist/chunks/{model-resolver-zk8c4w5t.js → generate-sfkj0ta1.js} +5 -5
  240. package/dist/chunks/{model-resolver-4jv7e9dq.js → generate-sfty89x1.js} +4 -4
  241. package/dist/chunks/{model-resolver-pf1wkr1n.js → generate-shbb2w98.js} +11 -11
  242. package/dist/chunks/{model-resolver-16xkypz6.js → generate-sqpz9tdp.js} +23 -23
  243. package/dist/chunks/{model-resolver-sgzcj7pk.js → generate-stmqcs3c.js} +24 -24
  244. package/dist/chunks/{model-resolver-a5cdwkfx.js → generate-sxbv8nmb.js} +33 -33
  245. package/dist/chunks/{model-resolver-x7j5emw0.js → generate-szmyybnp.js} +7 -7
  246. package/dist/chunks/{model-resolver-8204yxav.js → generate-tayd22pr.js} +6 -6
  247. package/dist/chunks/{model-resolver-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  248. package/dist/chunks/{model-resolver-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  249. package/dist/chunks/{model-resolver-tdstcens.js → generate-tdstcens.js} +1 -1
  250. package/dist/chunks/{model-resolver-twc0jmth.js → generate-tdvmaz96.js} +4 -4
  251. package/dist/chunks/{model-resolver-3cfzdc8e.js → generate-tn0aqsam.js} +5 -5
  252. package/dist/chunks/{model-resolver-v669qxf6.js → generate-tst1v2ep.js} +4 -4
  253. package/dist/chunks/{model-resolver-tvtrv512.js → generate-tvtrv512.js} +1 -1
  254. package/dist/chunks/{model-resolver-zk5xate0.js → generate-v46xynw3.js} +20 -20
  255. package/dist/chunks/{model-resolver-1zp38nzc.js → generate-v5wtqz8r.js} +44 -44
  256. package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
  257. package/dist/chunks/{model-resolver-r2ahnezy.js → generate-vwmfpdm0.js} +40 -40
  258. package/dist/chunks/{model-resolver-cvxf3tek.js → generate-vz58hpym.js} +26 -26
  259. package/dist/chunks/{model-resolver-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{model-resolver-w9qfmmnv.js → generate-w4qyy28q.js} +79 -79
  262. package/dist/chunks/{model-resolver-8e6ttvsq.js → generate-w5nkq4gn.js} +16 -16
  263. package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
  264. package/dist/chunks/{model-resolver-7d2y95gb.js → generate-wj55daks.js} +8 -8
  265. package/dist/chunks/{model-resolver-dhbstf12.js → generate-wnc14pb6.js} +6 -6
  266. package/dist/chunks/{model-resolver-8s8mxddj.js → generate-x0511brf.js} +4 -4
  267. package/dist/chunks/{model-resolver-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{model-resolver-n4jsyspr.js → generate-x20jwhze.js} +24 -24
  269. package/dist/chunks/{model-resolver-1psxzgkr.js → generate-xbnbae7c.js} +15 -15
  270. package/dist/chunks/{model-resolver-f3ngv102.js → generate-xdk9p2qn.js} +21 -21
  271. package/dist/chunks/{model-resolver-k6yq57aq.js → generate-xkhfjrgz.js} +3 -3
  272. package/dist/chunks/{model-resolver-83m0n60z.js → generate-xxm1k3hc.js} +43 -43
  273. package/dist/chunks/{model-resolver-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{model-resolver-c4s6zvat.js → generate-y28gekph.js} +29 -29
  275. package/dist/chunks/{model-resolver-rjqfry4y.js → generate-yjcxzpp0.js} +24 -24
  276. package/dist/chunks/{model-resolver-zs2nqse7.js → generate-ymbygv4j.js} +8 -8
  277. package/dist/chunks/{model-resolver-kkb3bxcv.js → generate-yncwd9ka.js} +20 -20
  278. package/dist/chunks/{model-resolver-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{model-resolver-dpf05fgk.js → generate-ytqqef47.js} +13 -13
  280. package/dist/chunks/{model-resolver-rxwv643q.js → generate-yypw9zm6.js} +6 -6
  281. package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{model-resolver-s9dxmr29.js → generate-zb6sf20w.js} +6 -6
  283. package/dist/chunks/{model-resolver-76jxy9rk.js → generate-zcvhjkmp.js} +24 -24
  284. package/dist/chunks/{model-resolver-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{model-resolver-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-resolver-aj39p006.js → generate-zsm3phbg.js} +11 -11
  287. package/dist/chunks/{model-resolver-fr9t8qj7.js → generate-zsq5ry13.js} +26 -26
  288. package/dist/chunks/{model-resolver-ss4zp5an.js → generate-zxb8w1dj.js} +5 -5
  289. package/dist/chunks/{model-resolver-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  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 +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  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 +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  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 +141 -141
  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 +78 -78
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +363 -363
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  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 +94 -94
  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 +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +92 -92
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +93 -93
  429. package/dist/form.js +79 -79
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +6 -6
  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 +3 -3
  457. package/dist/instance.js +357 -357
  458. package/dist/instruction-discovery.js +80 -80
  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 +83 -83
  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 +83 -83
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +80 -80
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  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 +97 -97
  481. package/dist/models-dev.js +100 -100
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  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 +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  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 +5 -5
  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 +119 -119
  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 +121 -121
  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 +121 -121
  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 +69 -69
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  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 +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +222 -222
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +79 -79
  561. package/dist/provider.js +96 -96
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +91 -91
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +84 -84
  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 +90 -90
  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 +7 -7
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +219 -219
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +15 -15
  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 +96 -96
  590. package/dist/session/message-updater.js +4 -4
  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 +3 -3
  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 +95 -95
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  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 +86 -86
  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 +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +213 -213
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  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 +15 -15
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +104 -104
  630. package/dist/skill.js +109 -109
  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 +124 -124
  636. package/dist/tool/plugin/edit.js +119 -119
  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 +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +102 -102
  643. package/dist/tool/plugin/read.js +122 -122
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  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 +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  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 +7 -7
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/formatter.js +3 -3
  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 +7 -7
  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 +90 -90
  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 +73 -73
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  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 +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/model-resolver-7e8q9hkf.js +0 -26
  696. package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
  697. package/dist/chunks/model-resolver-kh9txynr.js +0 -252
  698. /package/dist/chunks/{model-resolver-0mesazry.js → generate-0mesazry.js} +0 -0
  699. /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{model-resolver-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{model-resolver-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{model-resolver-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
  718. /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
  720. /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
  723. /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{model-resolver-922hggd3.js → generate-922hggd3.js} +0 -0
  726. /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
  742. /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-resolver-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
  755. /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
  757. /package/dist/chunks/{model-resolver-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
  759. /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{model-resolver-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{model-resolver-twg0f83k.js → generate-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
  788. /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{model-resolver-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./model-resolver-xfkkasph.js";
3
+ } from "./generate-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-2a5m3afh.js";
5
+ } from "./generate-2a5m3afh.js";
6
6
  import {
7
7
  Service79
8
- } from "./model-resolver-v17m4zdb.js";
8
+ } from "./generate-1979c0g3.js";
9
9
  import {
10
- Service48
11
- } from "./model-resolver-k0ybnwrn.js";
10
+ Service40
11
+ } from "./generate-7fn8enjq.js";
12
12
  import {
13
13
  Service78
14
- } from "./model-resolver-wdt6zdam.js";
14
+ } from "./generate-1qxy8npy.js";
15
15
  import {
16
- Service19,
16
+ Service12,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./model-resolver-qfq680d4.js";
19
+ } from "./generate-scpwghev.js";
20
20
  import {
21
- Service60
22
- } from "./model-resolver-jkp1s217.js";
21
+ Service64
22
+ } from "./generate-q47m5e8w.js";
23
23
  import {
24
- Service20,
24
+ Service19,
25
25
  resolvePath2
26
- } from "./model-resolver-40j503mv.js";
26
+ } from "./generate-1knd450p.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./model-resolver-6prwharc.js";
29
+ } from "./generate-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./model-resolver-9rqn6x4v.js";
32
+ } from "./generate-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input10,
39
- Output: () => Output6,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin28,
42
- name: () => name10,
43
- toModelContent: () => toModelContent5
41
+ Plugin: () => Plugin20,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name10 = "patch";
89
- var Input10 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent5 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin28 = {
108
+ var Plugin20 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service48;
112
- const access = yield* Service20;
113
- const fileMutation = yield* Service19;
111
+ const environment = yield* Service40;
112
+ const access = yield* Service19;
113
+ const fileMutation = yield* Service12;
114
114
  const formatter = yield* Service78;
115
115
  const location = yield* Service79;
116
- const permission = yield* Service60;
116
+ const permission = yield* Service64;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input10,
122
- output: Output6,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin28 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent5(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name10, Input10, Applied2, Output6, toModelContent5, Plugin28, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin20, exports_patch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./model-resolver-6msgmcgs.js";
3
+ } from "./generate-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./model-resolver-8p4f9s12.js";
6
+ } from "./generate-dj2t23y0.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service46
3
- } from "./model-resolver-n4jsyspr.js";
2
+ Service70
3
+ } from "./generate-x20jwhze.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./model-resolver-t550f9t1.js";
6
+ } from "./generate-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./model-resolver-922hggd3.js";
9
+ } from "./generate-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service40
13
- } from "./model-resolver-ev1yg4x7.js";
12
+ Service33
13
+ } from "./generate-fwwrfcv4.js";
14
14
  import {
15
15
  Service79
16
- } from "./model-resolver-v17m4zdb.js";
16
+ } from "./generate-1979c0g3.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./generate-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin32
25
+ Plugin: () => Plugin35
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin32 = define({
32
+ var Plugin35 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service40;
35
+ const discovery = yield* Service33;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service79;
42
- const watcher = yield* Service46;
42
+ const watcher = yield* Service70;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin32, exports_instruction };
117
+ export { Plugin35, exports_instruction };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./model-resolver-emrn6kk6.js";
7
+ } from "./generate-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID11,
2
+ ID12,
3
3
  Family2
4
- } from "./model-resolver-ye0xva7k.js";
4
+ } from "./generate-nb5fc2he.js";
5
5
  import {
6
- Service45
7
- } from "./model-resolver-r2ahnezy.js";
6
+ Service69
7
+ } from "./generate-vwmfpdm0.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./model-resolver-8204yxav.js";
10
+ } from "./generate-tayd22pr.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service45;
53
+ const config = yield* Service69;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID11.make(item.model);
80
+ model.modelID = ID12.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make3();
154
+ var OllamaPlugin2 = make5();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make3, OllamaPlugin2 };
173
+ export { make5, OllamaPlugin2 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./generate-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make10(input) {
8
+ function make9(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make9 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-8ympn3ah.js";
4
+ } from "./generate-kd639zsd.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./model-resolver-dxea04xa.js";
8
+ } from "./generate-qfja44bf.js";
9
9
  import {
10
- Service65,
11
- node68
12
- } from "./model-resolver-fkp0gvex.js";
10
+ Service59,
11
+ node63
12
+ } from "./generate-fny86xce.js";
13
13
  import {
14
- Service57,
14
+ Service56,
15
15
  node60
16
- } from "./model-resolver-eqkxs06z.js";
16
+ } from "./generate-ccfa4wxs.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./generate-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./model-resolver-1acjjqhc.js";
21
+ make18
22
+ } from "./generate-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service55
26
- } from "./model-resolver-ckf8nxjz.js";
25
+ Service54
26
+ } from "./generate-q5asdkn4.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./model-resolver-nv6sgpkb.js";
29
+ } from "./generate-834a0b17.js";
30
30
  import {
31
- Service61,
32
- node64
33
- } from "./model-resolver-1x9sk52d.js";
31
+ Service66,
32
+ node70
33
+ } from "./generate-mk9gh17g.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./model-resolver-398p6kdy.js";
36
+ } from "./generate-gafwvkft.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./model-resolver-ct38679x.js";
39
+ } from "./generate-c67y0jfd.js";
40
40
  import {
41
41
  __export
42
- } from "./model-resolver-9rqn6x4v.js";
42
+ } from "./generate-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service54,
47
+ Service: () => Service53,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
49
+ layer: () => layer20,
50
50
  node: () => node58,
51
- noopLayer: () => noopLayer2,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service54 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service53 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service54, Effect.gen(function* () {
69
- const store = yield* Service61;
70
- const instances = yield* Service57;
68
+ var layer20 = Layer.effect(Service53, Effect.gen(function* () {
69
+ const store = yield* Service66;
70
+ const instances = yield* Service56;
71
71
  const bus = yield* Service82;
72
- const jobs = yield* Service65;
72
+ const jobs = yield* Service59;
73
73
  const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service55.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service54.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make17({
92
+ const coordinator = yield* make18({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service54.of({
113
+ return Service53.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -130,11 +130,11 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
130
130
  });
131
131
  }));
132
132
  var node58 = makeGlobalNode({
133
- service: Service54,
134
- layer: layer21,
135
- deps: [node64, node60, node86, node87, node68]
133
+ service: Service53,
134
+ layer: layer20,
135
+ deps: [node70, node60, node86, node87, node63]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service54, Service54.of({
137
+ var noopLayer3 = Layer.succeed(Service53, Service53.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service54, Service54.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service54, terminal2, layer21, node58, noopLayer2, exports_execution };
146
+ export { Service53, terminal2, layer20, node58, noopLayer3, exports_execution };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-8ympn3ah.js";
4
+ } from "./generate-kd639zsd.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-resolver-a1bz86dw.js";
8
+ } from "./generate-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./model-resolver-9gccg1eh.js";
11
+ load4
12
+ } from "./generate-ezsrcjtm.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-resolver-wqc6684y.js";
15
+ } from "./generate-g2yz86wh.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./generate-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service61,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service66,
25
25
  SessionStore: () => exports_store,
26
- node: () => node64
26
+ node: () => node70
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service61 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service66 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service61, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
58
58
  const { db } = yield* Service83;
59
- return Service61.of({
59
+ return Service66.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [node87] });
128
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
129
129
 
130
- export { ListInput4, Service61, node64, exports_store };
130
+ export { ListInput5, Service66, node70, exports_store };