@opencode/core 0.0.0-dev-20680 → 0.0.0-dev-20682

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{provider-ceggp57d.js → model-resolver-0364ndsb.js} +50 -50
  8. package/dist/chunks/{provider-r21srstc.js → model-resolver-08d6azjt.js} +9 -9
  9. package/dist/chunks/{provider-v0es1rhs.js → model-resolver-0bg0bx69.js} +5 -5
  10. package/dist/chunks/{provider-0j77ygfz.js → model-resolver-0j77ygfz.js} +2 -2
  11. package/dist/chunks/{provider-zfs8ae4p.js → model-resolver-0me0fk48.js} +4 -4
  12. package/dist/chunks/{provider-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{provider-z5p4rthk.js → model-resolver-0q2fecvk.js} +15 -15
  14. package/dist/chunks/{provider-yhj4pxny.js → model-resolver-0tpcnmcw.js} +6 -6
  15. package/dist/chunks/{provider-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{provider-p37xk6xs.js → model-resolver-0ybx6e4j.js} +19 -19
  17. package/dist/chunks/{provider-f3nm3bta.js → model-resolver-10c97xc6.js} +9 -9
  18. package/dist/chunks/{provider-qg966khd.js → model-resolver-110b8ek2.js} +26 -26
  19. package/dist/chunks/{provider-6bckvax5.js → model-resolver-11hct9f4.js} +36 -36
  20. package/dist/chunks/{provider-1rrcny1n.js → model-resolver-11nrpngx.js} +8 -8
  21. package/dist/chunks/{provider-2dqyrpx6.js → model-resolver-14p1364x.js} +32 -32
  22. package/dist/chunks/{provider-9s2v53af.js → model-resolver-16zkvp84.js} +37 -37
  23. package/dist/chunks/{provider-2j6a3knx.js → model-resolver-19y7fb49.js} +15 -15
  24. package/dist/chunks/{provider-rhraev7y.js → model-resolver-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{provider-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{provider-rzcwaxq6.js → model-resolver-1p1pjvaa.js} +27 -27
  27. package/dist/chunks/{provider-gt0fdqz0.js → model-resolver-1y9c9szs.js} +20 -20
  28. package/dist/chunks/{provider-12n9xz34.js → model-resolver-211z80cq.js} +7 -7
  29. package/dist/chunks/{provider-9t0pcyht.js → model-resolver-24kyvzj3.js} +60 -60
  30. package/dist/chunks/{provider-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{provider-tk6t2mry.js → model-resolver-2becn8wt.js} +5 -5
  32. package/dist/chunks/{provider-2ccvkpx1.js → model-resolver-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{provider-3yrxafvf.js → model-resolver-2ex9v4dz.js} +27 -27
  34. package/dist/chunks/{provider-demb5sft.js → model-resolver-2f659e5x.js} +11 -11
  35. package/dist/chunks/{provider-a067pk1x.js → model-resolver-2mn1ra9m.js} +31 -31
  36. package/dist/chunks/{provider-sdzadkts.js → model-resolver-2txn9rvg.js} +1 -1
  37. package/dist/chunks/{provider-49sk4a95.js → model-resolver-2vecpzew.js} +15 -15
  38. package/dist/chunks/{provider-fxpnwj9a.js → model-resolver-2weqyc98.js} +23 -23
  39. package/dist/chunks/{provider-kb2ga0yc.js → model-resolver-31xw4se4.js} +1 -1
  40. package/dist/chunks/{provider-qa6d3x9c.js → model-resolver-33dajdt0.js} +99 -99
  41. package/dist/chunks/{provider-7ef7sjs1.js → model-resolver-38g0pyy9.js} +4 -4
  42. package/dist/chunks/{provider-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
  43. package/dist/chunks/{provider-f5bkmxnp.js → model-resolver-3dygqxay.js} +5 -5
  44. package/dist/chunks/{provider-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{provider-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{provider-5eseg7e3.js → model-resolver-3jbr2x8z.js} +12 -12
  47. package/dist/chunks/{provider-txreye6p.js → model-resolver-3qnt817w.js} +12 -12
  48. package/dist/chunks/{provider-3rd28rcz.js → model-resolver-3rd28rcz.js} +3 -3
  49. package/dist/chunks/{provider-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{provider-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{provider-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{provider-dsambs2d.js → model-resolver-40fy2d9q.js} +1 -1
  53. package/dist/chunks/{provider-q1v438vp.js → model-resolver-4dfbsgcw.js} +24 -24
  54. package/dist/chunks/{provider-jtg94zdj.js → model-resolver-4twwj3gr.js} +14 -14
  55. package/dist/chunks/{provider-v5veevtb.js → model-resolver-4warvet6.js} +25 -25
  56. package/dist/chunks/{provider-wfez0vbj.js → model-resolver-4x518902.js} +35 -35
  57. package/dist/chunks/{provider-ybjg4sk1.js → model-resolver-4yxeygct.js} +9 -9
  58. package/dist/chunks/{provider-4z58m4b4.js → model-resolver-4z58m4b4.js} +1 -1
  59. package/dist/chunks/{provider-wn63y901.js → model-resolver-5120j63r.js} +10 -10
  60. package/dist/chunks/{provider-01tz8p99.js → model-resolver-55vcwskv.js} +5 -5
  61. package/dist/chunks/{provider-mfqp6xfm.js → model-resolver-56gdpj1q.js} +6 -6
  62. package/dist/chunks/{provider-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  63. package/dist/chunks/{provider-mb4va0jh.js → model-resolver-5kp4xrh9.js} +9 -9
  64. package/dist/chunks/{provider-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{provider-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{provider-3z3hyhzp.js → model-resolver-5vs2d7gx.js} +18 -18
  67. package/dist/chunks/{provider-drnf6xwf.js → model-resolver-63db42yp.js} +2 -2
  68. package/dist/chunks/{provider-nbsm2mze.js → model-resolver-66hc15ng.js} +30 -30
  69. package/dist/chunks/{provider-4238gvvk.js → model-resolver-69fj14ep.js} +22 -22
  70. package/dist/chunks/{provider-4n5tf1vb.js → model-resolver-6c6jf3me.js} +24 -24
  71. package/dist/chunks/{provider-6m42r3np.js → model-resolver-6m42r3np.js} +1 -1
  72. package/dist/chunks/{provider-8nmh5xtz.js → model-resolver-6qcr098f.js} +3 -3
  73. package/dist/chunks/{provider-kpjwkn2w.js → model-resolver-6x448rs9.js} +26 -26
  74. package/dist/chunks/{provider-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{provider-d3vd9tt0.js → model-resolver-77jv0j1h.js} +3 -3
  76. package/dist/chunks/{provider-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{provider-t65vya29.js → model-resolver-7ecay89j.js} +18 -18
  78. package/dist/chunks/model-resolver-7mcy0e9k.js +26 -0
  79. package/dist/chunks/{provider-7rwqf82v.js → model-resolver-7s2tn799.js} +8 -8
  80. package/dist/chunks/{provider-2a67dxr4.js → model-resolver-7y628me3.js} +30 -30
  81. package/dist/chunks/{provider-gb4s5hjx.js → model-resolver-83009cjb.js} +25 -25
  82. package/dist/chunks/{provider-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
  83. package/dist/chunks/{provider-84txncab.js → model-resolver-84txncab.js} +1 -1
  84. package/dist/chunks/{provider-gkvcm870.js → model-resolver-8bgdgvzg.js} +21 -21
  85. package/dist/chunks/{provider-wr5f2xar.js → model-resolver-8cv9sccg.js} +28 -28
  86. package/dist/chunks/{provider-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{provider-q9mkd3r6.js → model-resolver-8htghz5d.js} +18 -18
  88. package/dist/chunks/{provider-dd32f2vy.js → model-resolver-8kddseeh.js} +10 -10
  89. package/dist/chunks/{provider-3k933qym.js → model-resolver-8nn1yj6z.js} +11 -11
  90. package/dist/chunks/{provider-qa7zgbbm.js → model-resolver-8nwvde6v.js} +8 -8
  91. package/dist/chunks/{provider-w92k2e0p.js → model-resolver-8sze2n9a.js} +4 -4
  92. package/dist/chunks/{provider-f4f2ccwp.js → model-resolver-8wf1bn9q.js} +13 -13
  93. package/dist/chunks/{provider-gebtr55s.js → model-resolver-8y31xnqm.js} +5 -5
  94. package/dist/chunks/{provider-1fw2a5v8.js → model-resolver-8z06avg2.js} +15 -15
  95. package/dist/chunks/{provider-dzse07y5.js → model-resolver-909p1r3q.js} +6 -6
  96. package/dist/chunks/{provider-1fh7s5gq.js → model-resolver-94mn3p3s.js} +11 -11
  97. package/dist/chunks/{provider-b25x8xnb.js → model-resolver-9g5xkymg.js} +2 -2
  98. package/dist/chunks/{provider-6r3mnpr3.js → model-resolver-9n8a201b.js} +70 -70
  99. package/dist/chunks/{provider-asbthx8a.js → model-resolver-a4jzv6pb.js} +21 -21
  100. package/dist/chunks/{provider-3b9qt4hj.js → model-resolver-a7bcxdzj.js} +9 -9
  101. package/dist/chunks/{provider-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  102. package/dist/chunks/{provider-kb6vbnxp.js → model-resolver-afjydgk3.js} +4 -4
  103. package/dist/chunks/{provider-x2c1et5k.js → model-resolver-amehwh5s.js} +9 -9
  104. package/dist/chunks/{provider-j94rgt9d.js → model-resolver-av7v7zb0.js} +29 -29
  105. package/dist/chunks/{provider-78124vwp.js → model-resolver-azd5zvnq.js} +17 -17
  106. package/dist/chunks/{provider-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
  107. package/dist/chunks/{provider-b5mvcvwz.js → model-resolver-b3pet2zg.js} +4 -4
  108. package/dist/chunks/{provider-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{provider-9a7xdtq3.js → model-resolver-bd819fhp.js} +5 -5
  110. package/dist/chunks/{provider-ne7e5g4r.js → model-resolver-bmd39q5q.js} +15 -15
  111. package/dist/chunks/{provider-vz0zt1g9.js → model-resolver-btak5zqv.js} +10 -10
  112. package/dist/chunks/{provider-3ynd8b1x.js → model-resolver-bth1fran.js} +8 -8
  113. package/dist/chunks/{provider-01qztzme.js → model-resolver-c9kv66wf.js} +23 -23
  114. package/dist/chunks/model-resolver-ctefx7dc.js +18 -0
  115. package/dist/chunks/{provider-vevatqc6.js → model-resolver-ctzssw83.js} +8 -8
  116. package/dist/chunks/{provider-cpneeje0.js → model-resolver-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{provider-tfmm9y66.js → model-resolver-cxsfdq8a.js} +30 -30
  118. package/dist/chunks/{provider-qc96wspf.js → model-resolver-d355hkrp.js} +30 -34
  119. package/dist/chunks/{provider-w0v9d1gg.js → model-resolver-d8tgnve2.js} +12 -12
  120. package/dist/chunks/{provider-v7hamc0y.js → model-resolver-dafg2r43.js} +38 -38
  121. package/dist/chunks/{provider-ry082wg0.js → model-resolver-dm21k72n.js} +6 -6
  122. package/dist/chunks/{provider-y3zkxqzw.js → model-resolver-dmghp31x.js} +15 -15
  123. package/dist/chunks/{provider-jqk80qgm.js → model-resolver-dmkm46ch.js} +13 -13
  124. package/dist/chunks/{provider-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{provider-36m3y9wg.js → model-resolver-ds811dtb.js} +2 -2
  126. package/dist/chunks/{provider-6zaadkrj.js → model-resolver-dwyev0pn.js} +23 -23
  127. package/dist/chunks/{provider-k5xrbeez.js → model-resolver-dxqyj49f.js} +1 -1
  128. package/dist/chunks/{provider-100eqymc.js → model-resolver-dy92ps29.js} +6 -6
  129. package/dist/chunks/{provider-ane35rw3.js → model-resolver-e53gjx43.js} +46 -46
  130. package/dist/chunks/{provider-6hpqnq82.js → model-resolver-e5s5dhnn.js} +11 -11
  131. package/dist/chunks/{provider-exdczdw5.js → model-resolver-e6vcv3sh.js} +18 -18
  132. package/dist/chunks/{provider-90xe4ebd.js → model-resolver-e8sy2har.js} +35 -35
  133. package/dist/chunks/{provider-rrpq0de9.js → model-resolver-eatejewc.js} +12 -12
  134. package/dist/chunks/{provider-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{provider-phee4dp3.js → model-resolver-ep06henm.js} +18 -18
  136. package/dist/chunks/{provider-qbx2hgn0.js → model-resolver-es92z2hg.js} +6 -6
  137. package/dist/chunks/{provider-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{provider-q0yrs87k.js → model-resolver-evbj9t57.js} +45 -45
  139. package/dist/chunks/{provider-cetvmtxy.js → model-resolver-eyxk1qnq.js} +34 -34
  140. package/dist/chunks/{provider-9e4j78a5.js → model-resolver-f00eh3k7.js} +17 -17
  141. package/dist/chunks/{provider-wjpb9jag.js → model-resolver-f53vpfqg.js} +13 -13
  142. package/dist/chunks/{provider-9116qanx.js → model-resolver-f5en7f74.js} +5 -5
  143. package/dist/chunks/{provider-71az546q.js → model-resolver-f75zav2x.js} +2 -2
  144. package/dist/chunks/{provider-60e3je0q.js → model-resolver-fd65jbzw.js} +11 -11
  145. package/dist/chunks/{provider-34qtjr2x.js → model-resolver-fd7cqx9x.js} +13 -13
  146. package/dist/chunks/{provider-a2ew8a62.js → model-resolver-fm2qvscf.js} +4 -4
  147. package/dist/chunks/{provider-nda1mvrc.js → model-resolver-fvp47qe4.js} +19 -19
  148. package/dist/chunks/{provider-9m6wd42k.js → model-resolver-fzz3hcr3.js} +25 -25
  149. package/dist/chunks/{provider-9hn6k4tm.js → model-resolver-g0445xdp.js} +8 -8
  150. package/dist/chunks/{provider-vyzvb1w9.js → model-resolver-g2qj6ddr.js} +21 -21
  151. package/dist/chunks/{provider-954g4k0y.js → model-resolver-g3g4kd0v.js} +12 -12
  152. package/dist/chunks/{provider-z2wp2s8j.js → model-resolver-g7rd8z26.js} +4 -4
  153. package/dist/chunks/{provider-j798b1wp.js → model-resolver-gaav3xfc.js} +13 -13
  154. package/dist/chunks/{provider-gd0tnyjc.js → model-resolver-gd0tnyjc.js} +1 -1
  155. package/dist/chunks/{provider-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{provider-d1d7m7z7.js → model-resolver-ge7bq23y.js} +26 -26
  157. package/dist/chunks/{provider-k1zrjmzp.js → model-resolver-gpnd5mkj.js} +9 -9
  158. package/dist/chunks/{provider-hvqy4awq.js → model-resolver-grwyepjm.js} +23 -23
  159. package/dist/chunks/{provider-fwpeyn7w.js → model-resolver-gz16832s.js} +32 -32
  160. package/dist/chunks/{provider-6xj9v251.js → model-resolver-h0wm3sd5.js} +4 -4
  161. package/dist/chunks/{provider-9nndfwsw.js → model-resolver-h14zrqyq.js} +20 -20
  162. package/dist/chunks/{provider-8s9x7mq3.js → model-resolver-h182e1ya.js} +12 -12
  163. package/dist/chunks/{provider-gnptjt5e.js → model-resolver-h4a7s26t.js} +8 -8
  164. package/dist/chunks/{provider-ybe0dkr4.js → model-resolver-h5eb1stf.js} +45 -45
  165. package/dist/chunks/{provider-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{provider-p0ejkak0.js → model-resolver-h76ep6gq.js} +11 -11
  167. package/dist/chunks/{provider-9adq9209.js → model-resolver-hh65bbrn.js} +13 -13
  168. package/dist/chunks/{provider-985w54n2.js → model-resolver-hhxvcfmq.js} +2 -2
  169. package/dist/chunks/{provider-mbdw8qpz.js → model-resolver-hnyhndd0.js} +3 -3
  170. package/dist/chunks/{provider-6v3gtav4.js → model-resolver-ht2a8fky.js} +9 -9
  171. package/dist/chunks/{provider-631g3xwd.js → model-resolver-hv8xeme1.js} +12 -12
  172. package/dist/chunks/{provider-eq1pz5kg.js → model-resolver-j028xdjb.js} +3 -3
  173. package/dist/chunks/{provider-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  174. package/dist/chunks/{provider-5pdj13gp.js → model-resolver-je7fg4hd.js} +25 -25
  175. package/dist/chunks/{provider-b5pdhpjr.js → model-resolver-jjwtv0ah.js} +6 -6
  176. package/dist/chunks/{provider-4e64r1z1.js → model-resolver-jmskrp9g.js} +18 -18
  177. package/dist/chunks/{provider-wv3twx2w.js → model-resolver-jrqb24zm.js} +11 -11
  178. package/dist/chunks/{provider-j0sgkhxp.js → model-resolver-k4asghnp.js} +14 -14
  179. package/dist/chunks/{provider-q4h7jhqx.js → model-resolver-kax3gvj5.js} +15 -15
  180. package/dist/chunks/{provider-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
  181. package/dist/chunks/{provider-34wpv7v4.js → model-resolver-km7an3ep.js} +24 -24
  182. package/dist/chunks/{provider-baaqp4zd.js → model-resolver-kne8f3cn.js} +4 -4
  183. package/dist/chunks/{provider-3v63pd15.js → model-resolver-kx9rc79n.js} +21 -21
  184. package/dist/chunks/{provider-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{provider-hx2mnr5g.js → model-resolver-m6f3t844.js} +8 -8
  186. package/dist/chunks/{provider-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{provider-k751nkt0.js → model-resolver-m9wbq610.js} +27 -27
  188. package/dist/chunks/{provider-10bgy4f5.js → model-resolver-meahagrb.js} +41 -41
  189. package/dist/chunks/{provider-cx9z55d6.js → model-resolver-mtf9y83c.js} +11 -11
  190. package/dist/chunks/{provider-89tevzyb.js → model-resolver-mw9atry4.js} +3 -3
  191. package/dist/chunks/model-resolver-n66nyqav.js +253 -0
  192. package/dist/chunks/{provider-qne3fa44.js → model-resolver-n8vdnqrc.js} +5 -5
  193. package/dist/chunks/{provider-qmm8841s.js → model-resolver-ngghfn62.js} +3 -3
  194. package/dist/chunks/{provider-2j5hbwxg.js → model-resolver-nqc2a42y.js} +9 -9
  195. package/dist/chunks/{provider-pwvav0zc.js → model-resolver-nv85q5yc.js} +13 -13
  196. package/dist/chunks/{provider-cymm7g2a.js → model-resolver-nvkjfv9x.js} +18 -18
  197. package/dist/chunks/{provider-0xqyf95c.js → model-resolver-nw91k3fh.js} +4 -4
  198. package/dist/chunks/{provider-575tamff.js → model-resolver-p5qcrc4c.js} +3 -3
  199. package/dist/chunks/{provider-z30v2f0y.js → model-resolver-pbwe4c5d.js} +91 -91
  200. package/dist/chunks/{provider-m0p5n2gd.js → model-resolver-pj9tg3xc.js} +29 -29
  201. package/dist/chunks/{provider-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{provider-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  203. package/dist/chunks/{provider-7s451enq.js → model-resolver-pnaxc6j9.js} +7 -7
  204. package/dist/chunks/{provider-7hmthqft.js → model-resolver-q8nwznbs.js} +4 -4
  205. package/dist/chunks/{provider-2k8khapm.js → model-resolver-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{provider-ds0s37ch.js → model-resolver-qhf50je4.js} +22 -22
  207. package/dist/chunks/{provider-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{provider-qx41vpeg.js → model-resolver-qqbg84xg.js} +15 -15
  209. package/dist/chunks/{provider-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  210. package/dist/chunks/{provider-xyafkbt0.js → model-resolver-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{provider-n57qrn3a.js → model-resolver-r01t9b5y.js} +6 -6
  212. package/dist/chunks/{provider-b2vb8hwy.js → model-resolver-r54yw92w.js} +11 -11
  213. package/dist/chunks/{provider-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
  214. package/dist/chunks/{provider-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{provider-xabyxep3.js → model-resolver-rp6bd9wq.js} +11 -11
  216. package/dist/chunks/{provider-hkznryjg.js → model-resolver-rs7zj18r.js} +11 -11
  217. package/dist/chunks/{provider-m9ya73e1.js → model-resolver-rwegcfpf.js} +16 -16
  218. package/dist/chunks/{provider-r6y3gdne.js → model-resolver-s6v33hhs.js} +8 -8
  219. package/dist/chunks/{provider-8xp68n0c.js → model-resolver-sgg17eyk.js} +22 -22
  220. package/dist/chunks/{provider-mgm0y126.js → model-resolver-sgksxw7g.js} +3 -3
  221. package/dist/chunks/{provider-my4zabxr.js → model-resolver-ss358qx3.js} +3 -3
  222. package/dist/chunks/{provider-camesg23.js → model-resolver-ssrgjt3e.js} +16 -16
  223. package/dist/chunks/{provider-gw6addyq.js → model-resolver-t29swve2.js} +3 -3
  224. package/dist/chunks/{provider-qtade0yk.js → model-resolver-t32zyhfe.js} +7 -7
  225. package/dist/chunks/{provider-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{provider-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{provider-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  228. package/dist/chunks/{provider-3bzv0xj2.js → model-resolver-tg3ranp2.js} +25 -25
  229. package/dist/chunks/{provider-3vx21hd1.js → model-resolver-tjscfx4m.js} +30 -30
  230. package/dist/chunks/{provider-6yz0wx8n.js → model-resolver-tk14y25j.js} +5 -5
  231. package/dist/chunks/{provider-qr6zbtg5.js → model-resolver-tptdvtpk.js} +23 -23
  232. package/dist/chunks/{provider-6bdjrfqv.js → model-resolver-tttwfjc6.js} +5 -5
  233. package/dist/chunks/{provider-s8tgv6a6.js → model-resolver-txqvqyew.js} +38 -38
  234. package/dist/chunks/{provider-a6ye7dvb.js → model-resolver-v3n49zdf.js} +17 -17
  235. package/dist/chunks/{provider-27pw3ak9.js → model-resolver-vb454w7p.js} +3 -3
  236. package/dist/chunks/{provider-acshqmx2.js → model-resolver-vbdkyqz4.js} +1 -1
  237. package/dist/chunks/{provider-deadrwyj.js → model-resolver-vbwbd6d7.js} +9 -9
  238. package/dist/chunks/{provider-nazh1x8e.js → model-resolver-vepq4dqg.js} +42 -42
  239. package/dist/chunks/{provider-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  240. package/dist/chunks/{provider-gweqbbvm.js → model-resolver-vsn506cm.js} +20 -20
  241. package/dist/chunks/{provider-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{provider-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{provider-f7k5gakn.js → model-resolver-w7zyscj3.js} +8 -8
  244. package/dist/chunks/{provider-rmvqbh99.js → model-resolver-wbprqre7.js} +13 -13
  245. package/dist/chunks/{provider-cyjnm7zn.js → model-resolver-wbtjy708.js} +22 -22
  246. package/dist/chunks/{provider-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  247. package/dist/chunks/{provider-qw7qt5pa.js → model-resolver-wdr7g53b.js} +30 -30
  248. package/dist/chunks/{provider-9jtqxrkx.js → model-resolver-wgrcm666.js} +15 -15
  249. package/dist/chunks/{provider-h90v2x9d.js → model-resolver-wj76ss2k.js} +4 -4
  250. package/dist/chunks/{provider-s8d7rejh.js → model-resolver-wv396vej.js} +8 -8
  251. package/dist/chunks/{provider-dzg2nmyy.js → model-resolver-wyy60m0y.js} +1 -1
  252. package/dist/chunks/{provider-hdwgjdm7.js → model-resolver-wzmhb02r.js} +14 -14
  253. package/dist/chunks/{provider-150yg2gd.js → model-resolver-x2d9qy7d.js} +5 -5
  254. package/dist/chunks/{provider-62c2dtz6.js → model-resolver-x38qdzk1.js} +48 -48
  255. package/dist/chunks/{provider-bqd2cxqp.js → model-resolver-x623mxjj.js} +17 -17
  256. package/dist/chunks/{provider-x661k3y3.js → model-resolver-x661k3y3.js} +1 -1
  257. package/dist/chunks/{provider-zy5vtpm1.js → model-resolver-xbmhsw7f.js} +33 -33
  258. package/dist/chunks/{provider-57b9ws8p.js → model-resolver-xfkkasph.js} +7 -7
  259. package/dist/chunks/{provider-fh64nspq.js → model-resolver-xjd9n2sp.js} +28 -28
  260. package/dist/chunks/{provider-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  261. package/dist/chunks/{provider-san3pcvd.js → model-resolver-y0qr5jf7.js} +1 -1
  262. package/dist/chunks/{provider-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{provider-azv5qb8x.js → model-resolver-y6v1v83p.js} +11 -11
  264. package/dist/chunks/{provider-h6aq45ge.js → model-resolver-yc5k47t6.js} +21 -21
  265. package/dist/chunks/{provider-1xt4h7fg.js → model-resolver-yfa68f7n.js} +31 -31
  266. package/dist/chunks/{provider-xh27xnk0.js → model-resolver-yg62bcth.js} +11 -11
  267. package/dist/chunks/{provider-203x8f6s.js → model-resolver-ymr5aw12.js} +18 -18
  268. package/dist/chunks/{provider-bk97wshp.js → model-resolver-ynx1sbyb.js} +8 -8
  269. package/dist/chunks/{provider-h6dsmzc8.js → model-resolver-yp8tn9p0.js} +24 -24
  270. package/dist/chunks/{provider-hzvph4yq.js → model-resolver-ypjnx83w.js} +133 -133
  271. package/dist/chunks/{provider-gbfdm2f9.js → model-resolver-ypnjcb15.js} +42 -42
  272. package/dist/chunks/{provider-838d4dha.js → model-resolver-yvehv8j4.js} +24 -24
  273. package/dist/chunks/model-resolver-yvv17s0z.js +507 -0
  274. package/dist/chunks/{provider-7nsvsbpq.js → model-resolver-yyk24bey.js} +20 -20
  275. package/dist/chunks/{provider-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{provider-3yzafwg0.js → model-resolver-z0r25cb3.js} +11 -11
  277. package/dist/chunks/{provider-z4ztj7g0.js → model-resolver-z4ztj7g0.js} +2 -2
  278. package/dist/chunks/{provider-6m0km96n.js → model-resolver-zf19209g.js} +3 -3
  279. package/dist/chunks/{provider-bk0akfxd.js → model-resolver-zf4p7bms.js} +17 -17
  280. package/dist/chunks/{provider-zv9njayc.js → model-resolver-zny3dpd0.js} +8 -8
  281. package/dist/chunks/{provider-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{provider-ycw12012.js → model-resolver-zwcyw4cb.js} +4 -4
  283. package/dist/chunks/{provider-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +114 -114
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +78 -78
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +83 -83
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +96 -96
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +3 -3
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +114 -114
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +2 -2
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +95 -95
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +89 -89
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +3 -3
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +105 -105
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +201 -201
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +153 -153
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +118 -118
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +3 -3
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +1 -1
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/provider-141rw18h.js +0 -507
  681. package/dist/chunks/provider-8557trs0.js +0 -26
  682. package/dist/chunks/provider-ckyzvwjx.js +0 -253
  683. package/dist/chunks/provider-hgd4btym.js +0 -18
  684. /package/dist/chunks/{provider-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{provider-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{provider-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{provider-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{provider-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{provider-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{provider-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{provider-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{provider-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{provider-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{provider-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{provider-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  696. /package/dist/chunks/{provider-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{provider-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{provider-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{provider-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{provider-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{provider-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{provider-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{provider-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{provider-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  705. /package/dist/chunks/{provider-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{provider-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  707. /package/dist/chunks/{provider-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{provider-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{provider-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{provider-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  711. /package/dist/chunks/{provider-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{provider-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{provider-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{provider-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{provider-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{provider-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{provider-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{provider-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{provider-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{provider-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{provider-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{provider-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{provider-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{provider-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{provider-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{provider-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{provider-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{provider-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{provider-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  730. /package/dist/chunks/{provider-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{provider-e3qxr5gk.js → model-resolver-e3qxr5gk.js} +0 -0
  732. /package/dist/chunks/{provider-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{provider-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{provider-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{provider-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{provider-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{provider-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{provider-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{provider-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{provider-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{provider-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{provider-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{provider-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{provider-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{provider-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{provider-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  747. /package/dist/chunks/{provider-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{provider-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{provider-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{provider-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{provider-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{provider-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{provider-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{provider-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{provider-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{provider-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{provider-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{provider-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{provider-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{provider-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{provider-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{provider-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{provider-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{provider-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{provider-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{provider-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{provider-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{provider-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{provider-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{provider-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{provider-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{provider-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{provider-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  774. /package/dist/chunks/{provider-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{provider-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{provider-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{provider-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{provider-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{provider-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{provider-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./provider-rrpq0de9.js";
6
+ } from "./model-resolver-eatejewc.js";
7
7
  import {
8
8
  Slug2
9
- } from "./provider-gebd4c9n.js";
10
- import {
11
- Service84,
12
- node88
13
- } from "./provider-1fh7s5gq.js";
9
+ } from "./model-resolver-gebd4c9n.js";
14
10
  import {
15
11
  Service83,
16
12
  node87
17
- } from "./provider-camesg23.js";
13
+ } from "./model-resolver-94mn3p3s.js";
14
+ import {
15
+ Service82,
16
+ node86
17
+ } from "./model-resolver-ssrgjt3e.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./provider-h2b79v29.js";
20
+ } from "./model-resolver-3cegwx68.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./provider-1dvck2a7.js";
23
+ } from "./model-resolver-84h8c373.js";
24
24
  import {
25
25
  ID17,
26
26
  NotFoundError11
27
- } from "./provider-k751nkt0.js";
27
+ } from "./model-resolver-m9wbq610.js";
28
28
  import {
29
29
  Ref4
30
- } from "./provider-j0sgkhxp.js";
30
+ } from "./model-resolver-k4asghnp.js";
31
31
  import {
32
- Service55,
33
- node58
34
- } from "./provider-r21srstc.js";
32
+ Service77,
33
+ node81
34
+ } from "./model-resolver-08d6azjt.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./provider-0vbcp93d.js";
38
+ } from "./model-resolver-0vbcp93d.js";
39
39
  import {
40
- Service29
41
- } from "./provider-gkvcm870.js";
40
+ Service24
41
+ } from "./model-resolver-8bgdgvzg.js";
42
42
  import {
43
43
  __export
44
- } from "./provider-9rqn6x4v.js";
44
+ } from "./model-resolver-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event4,
53
- Info: () => Info6,
52
+ Event: () => Event5,
53
+ Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service28,
59
+ Service: () => Service23,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node31
64
+ node: () => node26
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,7 +75,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info6 = Worktree.Info;
78
+ var Info5 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event4 = Worktree.Event;
93
+ var Event5 = Worktree.Event;
94
94
 
95
- class Service28 extends Context.Service()("@opencode/Worktree") {
95
+ class Service23 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service28, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const database = yield* Service84;
99
+ const database = yield* Service83;
100
100
  const db = database.db;
101
- const bus = yield* Service83;
101
+ const bus = yield* Service82;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service55;
103
+ const locations = yield* Service77;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service29).get();
118
+ return Context.get(context, Service24).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event4.Updated, { projectID });
122
+ yield* bus.publish(Event5.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service28.of({
249
+ return Service23.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node31 = Node.makeGlobalNode({
260
- service: Service28,
259
+ var node26 = Node.makeGlobalNode({
260
+ service: Service23,
261
261
  layer,
262
- deps: [FSUtil.node, node87, node88, AppProcess.node, node58]
262
+ deps: [FSUtil.node, node86, node87, AppProcess.node, node81]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service28, node31, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service23, node26, exports_worktree2, OperationError2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./provider-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./provider-j0sgkhxp.js";
5
+ Service78
6
+ } from "./model-resolver-k4asghnp.js";
7
7
  import {
8
- Service66
9
- } from "./provider-ane35rw3.js";
8
+ Service63
9
+ } from "./model-resolver-e53gjx43.js";
10
10
  import {
11
- Service29
12
- } from "./provider-gkvcm870.js";
11
+ Service24
12
+ } from "./model-resolver-8bgdgvzg.js";
13
13
  import {
14
14
  observe2
15
- } from "./provider-qsdy395h.js";
15
+ } from "./model-resolver-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./provider-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin4
24
+ Plugin: () => Plugin7
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin4 = define({
30
+ var Plugin7 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service66;
34
- const location = yield* Service80;
33
+ const config = yield* Service63;
34
+ const location = yield* Service78;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service29;
36
+ const worktrees = yield* Service24;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin4 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin4, exports_worktree };
51
+ export { Plugin7, exports_worktree };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./provider-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make19
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make19 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make19, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./provider-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./provider-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,34 +1,34 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./provider-1fh7s5gq.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./provider-camesg23.js";
4
+ } from "./model-resolver-94mn3p3s.js";
5
+ import {
6
+ Service82,
7
+ node86
8
+ } from "./model-resolver-ssrgjt3e.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./provider-pknna89w.js";
11
+ } from "./model-resolver-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./provider-3zsf4n22.js";
14
+ } from "./model-resolver-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./provider-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
25
  ID: () => ID14,
26
26
  Info: () => Info24,
27
- Key: () => Key4,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service76,
29
+ Service: () => Service74,
30
30
  Value: () => Value2,
31
- node: () => node79
31
+ node: () => node78
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -37,10 +37,10 @@ import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
38
  var ID14 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key4 = Credential.Key;
40
+ var Key3 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event19 = Credential.Event;
43
+ var Event18 = Credential.Event;
44
44
 
45
45
  class Info24 extends Schema.Class("Credential.Info")({
46
46
  id: ID14,
@@ -50,11 +50,11 @@ class Info24 extends Schema.Class("Credential.Info")({
50
50
  }) {
51
51
  }
52
52
 
53
- class Service76 extends Context.Service()("@opencode/Credential") {
53
+ class Service74 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service76, Effect.gen(function* () {
56
- const db = (yield* Service84).db;
57
- const bus = yield* Service83;
55
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
56
+ const db = (yield* Service83).db;
57
+ const bus = yield* Service82;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service76.of({
73
+ return Service74.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event19.Updated, {}, { global: true });
113
+ yield* bus.publish(Event18.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event19.Updated, {}, { global: true });
167
+ yield* bus.publish(Event18.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event19.Updated, {}, { global: true });
200
+ yield* bus.publish(Event18.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
206
+ var node78 = makeGlobalNode({ service: Service74, layer, deps: [node87, node86] });
207
207
 
208
- export { ID14, OAuth3, Key4, External2, Value2, Event19, Info24, Service76, node79, exports_credential };
208
+ export { ID14, OAuth3, Key3, External2, Value2, Event18, Info24, Service74, node78, exports_credential };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./provider-s8d7rejh.js";
6
+ } from "./model-resolver-wv396vej.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./provider-nazh1x8e.js";
9
+ } from "./model-resolver-vepq4dqg.js";
10
10
  import {
11
- Service23,
12
- node26
13
- } from "./provider-ceggp57d.js";
11
+ Service36,
12
+ node40
13
+ } from "./model-resolver-0364ndsb.js";
14
14
  import {
15
15
  namespace2,
16
16
  name13
17
- } from "./provider-fh64nspq.js";
17
+ } from "./model-resolver-xjd9n2sp.js";
18
18
  import {
19
19
  __export
20
- } from "./provider-9rqn6x4v.js";
20
+ } from "./model-resolver-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions4 = {};
24
24
  __export(exports_instructions4, {
25
25
  McpInstructions: () => exports_instructions4,
26
- Service: () => Service21,
27
- layer: () => layer8,
28
- node: () => node24
26
+ Service: () => Service34,
27
+ layer: () => layer11,
28
+ node: () => node38
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service21 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service34 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer8 = Layer.effect(Service21, Effect.gen(function* () {
67
- const mcp = yield* Service23;
68
- return Service21.of({
66
+ var layer11 = Layer.effect(Service34, Effect.gen(function* () {
67
+ const mcp = yield* Service36;
68
+ return Service34.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make21({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make22({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -96,6 +96,6 @@ var layer8 = Layer.effect(Service21, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node24 = makeLocationNode({ service: Service21, layer: layer8, deps: [node26] });
99
+ var node38 = makeLocationNode({ service: Service34, layer: layer11, deps: [node40] });
100
100
 
101
- export { Service21, layer8, node24, exports_instructions4 };
101
+ export { Service34, layer11, node38, exports_instructions4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./provider-f0mxakyp.js";
3
+ } from "./model-resolver-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./provider-w3wsvvr9.js";
6
+ } from "./model-resolver-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./provider-7bmhse3q.js";
9
+ } from "./model-resolver-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./provider-cf4snx6d.js";
12
+ } from "./model-resolver-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./provider-822emrt2.js";
15
+ } from "./model-resolver-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./provider-wd87259q.js";
18
+ } from "./model-resolver-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./provider-m9w0rfyh.js";
21
+ } from "./model-resolver-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";