@opencode/core 0.0.0-dev-19624 → 0.0.0-dev-19626

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 (783) 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 +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-resolver-pcvs4s42.js → instance-005526v9.js} +15 -15
  8. package/dist/chunks/{model-resolver-mw2nv40j.js → instance-02s4da2m.js} +10 -10
  9. package/dist/chunks/{model-resolver-0mknfjdk.js → instance-05d804h8.js} +11 -11
  10. package/dist/chunks/{model-resolver-ksk58mrq.js → instance-08zchdps.js} +30 -30
  11. package/dist/chunks/{model-resolver-0zpzqjkr.js → instance-0gacneyh.js} +12 -12
  12. package/dist/chunks/{model-resolver-t550f9t1.js → instance-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{model-resolver-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{model-resolver-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{model-resolver-38ha70wd.js → instance-0yj5xewp.js} +30 -30
  16. package/dist/chunks/{model-resolver-z580hhtr.js → instance-151xgw5n.js} +11 -11
  17. package/dist/chunks/{model-resolver-ajt0qmtr.js → instance-167qt7f9.js} +11 -11
  18. package/dist/chunks/{model-resolver-9mgkh4de.js → instance-17r7sqk5.js} +32 -32
  19. package/dist/chunks/{model-resolver-xtv2mh4r.js → instance-18myttx2.js} +3 -3
  20. package/dist/chunks/{model-resolver-gxajrtvj.js → instance-1bg0qxs1.js} +6 -6
  21. package/dist/chunks/{model-resolver-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{model-resolver-aq5y8b9e.js → instance-1g96y08y.js} +8 -8
  23. package/dist/chunks/{model-resolver-mtgfyzt9.js → instance-1ze3fj9p.js} +30 -30
  24. package/dist/chunks/{model-resolver-21r38tys.js → instance-21r38tys.js} +1 -1
  25. package/dist/chunks/{model-resolver-2402vzrj.js → instance-2402vzrj.js} +1 -1
  26. package/dist/chunks/{model-resolver-z63w68vq.js → instance-29x78va6.js} +6 -6
  27. package/dist/chunks/{model-resolver-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-resolver-k9vjcjta.js → instance-2a9hxxpw.js} +25 -25
  29. package/dist/chunks/{model-resolver-sf22njts.js → instance-2tnr6z1w.js} +33 -33
  30. package/dist/chunks/{model-resolver-0kac7454.js → instance-2v1tekmx.js} +10 -10
  31. package/dist/chunks/{model-resolver-08ecq38n.js → instance-2y4s2rg0.js} +19 -19
  32. package/dist/chunks/{model-resolver-jw46dxtn.js → instance-2z1e8rxr.js} +3 -3
  33. package/dist/chunks/{model-resolver-wyfy9p70.js → instance-2zmvcxwn.js} +6 -6
  34. package/dist/chunks/{model-resolver-4gjh4rrg.js → instance-33vbamfj.js} +43 -43
  35. package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-resolver-jt9m14re.js → instance-3kq5yncf.js} +13 -13
  38. package/dist/chunks/{model-resolver-40h30d2e.js → instance-3sm2tqew.js} +28 -28
  39. package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{model-resolver-89hfccde.js → instance-3tbzcjrn.js} +17 -17
  41. package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-resolver-cgv57mmc.js → instance-3vtqk0fd.js} +10 -10
  43. package/dist/chunks/{model-resolver-47yce66j.js → instance-3x9anw65.js} +15 -15
  44. package/dist/chunks/{model-resolver-jrcdwmcs.js → instance-3xt1tafv.js} +20 -20
  45. package/dist/chunks/{model-resolver-76j33bwa.js → instance-3z2rpyjg.js} +30 -30
  46. package/dist/chunks/{model-resolver-twghag3f.js → instance-41kev6en.js} +12 -12
  47. package/dist/chunks/instance-4jj5ge3x.js +251 -0
  48. package/dist/chunks/{model-resolver-9vq2t1gs.js → instance-4mewn31d.js} +22 -22
  49. package/dist/chunks/{model-resolver-q7bzmzk3.js → instance-4rh7nyge.js} +47 -47
  50. package/dist/chunks/{model-resolver-2fgn2we9.js → instance-57ez7d0k.js} +9 -9
  51. package/dist/chunks/{model-resolver-gk0n48rz.js → instance-58k680qt.js} +20 -20
  52. package/dist/chunks/{model-resolver-t597x4d8.js → instance-59a5kam3.js} +11 -11
  53. package/dist/chunks/{model-resolver-xawz5m8n.js → instance-5c0bdg24.js} +22 -22
  54. package/dist/chunks/{model-resolver-5c4hm403.js → instance-5c4hm403.js} +3 -3
  55. package/dist/chunks/{model-resolver-5daktx2q.js → instance-5daktx2q.js} +1 -1
  56. package/dist/chunks/{model-resolver-z5wa85ag.js → instance-5fx85d4x.js} +1 -1
  57. package/dist/chunks/{model-resolver-g608bnp8.js → instance-5h36w7b3.js} +26 -26
  58. package/dist/chunks/{model-resolver-tgpa0z63.js → instance-5nb2d01r.js} +2 -2
  59. package/dist/chunks/{model-resolver-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{model-resolver-9d28t3h2.js → instance-5v4sqzgr.js} +5 -5
  61. package/dist/chunks/{model-resolver-kkyytty7.js → instance-5xv9aaee.js} +17 -17
  62. package/dist/chunks/{model-resolver-cdhqsg5m.js → instance-62yskeeq.js} +8 -8
  63. package/dist/chunks/{model-resolver-669tq793.js → instance-669tq793.js} +1 -1
  64. package/dist/chunks/instance-6kdq0pjd.js +4 -0
  65. package/dist/chunks/{model-resolver-away93r8.js → instance-6m8qwvb9.js} +37 -37
  66. package/dist/chunks/{model-resolver-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{model-resolver-1qvh69xy.js → instance-6qqzc0bp.js} +11 -11
  68. package/dist/chunks/{model-resolver-z1ahc81n.js → instance-6xjq67s0.js} +44 -44
  69. package/dist/chunks/{model-resolver-4c8bw516.js → instance-703jyx7f.js} +8 -8
  70. package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{model-resolver-qgn6gcr1.js → instance-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{model-resolver-58ppqsv0.js → instance-7f1r43eh.js} +48 -48
  73. package/dist/chunks/{model-resolver-me3mgk02.js → instance-7gbft6an.js} +28 -28
  74. package/dist/chunks/{model-resolver-3p50jy0h.js → instance-7gq6gbe3.js} +18 -18
  75. package/dist/chunks/{model-resolver-7z7az0f5.js → instance-7j92jdde.js} +4 -4
  76. package/dist/chunks/{model-resolver-b85pverc.js → instance-7ysw83b4.js} +15 -15
  77. package/dist/chunks/{model-resolver-n07q14gc.js → instance-803gagz9.js} +20 -20
  78. package/dist/chunks/{model-resolver-cw541prr.js → instance-82tye6ms.js} +13 -13
  79. package/dist/chunks/{model-resolver-q3xkv71r.js → instance-85bxt0yz.js} +13 -13
  80. package/dist/chunks/{model-resolver-t71v2ka4.js → instance-89vjf07m.js} +5 -5
  81. package/dist/chunks/{model-resolver-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{model-resolver-jzh1899s.js → instance-8e2zpme0.js} +42 -42
  83. package/dist/chunks/{model-resolver-de5th1w4.js → instance-8spd7vcp.js} +17 -17
  84. package/dist/chunks/{model-resolver-e0kanx6f.js → instance-919tp9z0.js} +9 -9
  85. package/dist/chunks/{model-resolver-bgxcxs0p.js → instance-92a4ap4w.js} +5 -5
  86. package/dist/chunks/{model-resolver-5q5x7c6y.js → instance-95wf764r.js} +16 -16
  87. package/dist/chunks/{model-resolver-fw2sr2pv.js → instance-9bpbcn0x.js} +22 -22
  88. package/dist/chunks/{model-resolver-d3tz2ej1.js → instance-9ff31bqh.js} +9 -9
  89. package/dist/chunks/{model-resolver-67k4gcxk.js → instance-9msmm2tq.js} +4 -4
  90. package/dist/chunks/{model-resolver-gbmzg7c6.js → instance-9spjdt5y.js} +20 -20
  91. package/dist/chunks/{model-resolver-0tmbmzm8.js → instance-9xzpt3ep.js} +30 -30
  92. package/dist/chunks/{model-resolver-502d3ppp.js → instance-9y9hvn9f.js} +10 -10
  93. package/dist/chunks/{model-resolver-ca9547p7.js → instance-a33bht5e.js} +13 -13
  94. package/dist/chunks/{model-resolver-3fhgk65j.js → instance-a88f4eq7.js} +9 -9
  95. package/dist/chunks/{model-resolver-xqed8619.js → instance-a9gh96kw.js} +11 -11
  96. package/dist/chunks/{model-resolver-aaet6srn.js → instance-aaet6srn.js} +2 -2
  97. package/dist/chunks/{model-resolver-eg6jxap1.js → instance-an68154v.js} +16 -16
  98. package/dist/chunks/{model-resolver-f3ngv102.js → instance-axmvebxj.js} +21 -21
  99. package/dist/chunks/{model-resolver-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{model-resolver-af4kcksd.js → instance-b8b3f19r.js} +9 -9
  101. package/dist/chunks/{model-resolver-btty7p3w.js → instance-bavw6ffe.js} +86 -86
  102. package/dist/chunks/{model-resolver-mfhfdr54.js → instance-bccb6npm.js} +4 -4
  103. package/dist/chunks/{model-resolver-jmphe03k.js → instance-bg2gq5qa.js} +4 -4
  104. package/dist/chunks/{model-resolver-9zzh4kq9.js → instance-bjtgkgtt.js} +17 -17
  105. package/dist/chunks/{model-resolver-tv8bzv1t.js → instance-c5dsyxmc.js} +24 -24
  106. package/dist/chunks/{model-resolver-kgfjjf6a.js → instance-cjys6k6m.js} +14 -14
  107. package/dist/chunks/{model-resolver-ee0x7daj.js → instance-ct44bwr3.js} +9 -9
  108. package/dist/chunks/{model-resolver-j34azf71.js → instance-cx92zwpy.js} +11 -11
  109. package/dist/chunks/{model-resolver-stppr3m7.js → instance-cyp3zcq5.js} +11 -11
  110. package/dist/chunks/{model-resolver-af04s6ss.js → instance-d2aac7k2.js} +5 -5
  111. package/dist/chunks/{model-resolver-n8cx0va0.js → instance-d42pmbxt.js} +3 -3
  112. package/dist/chunks/{model-resolver-3m0v8keb.js → instance-d70jxyey.js} +33 -33
  113. package/dist/chunks/{model-resolver-0v53mg2y.js → instance-dfe8djrf.js} +4 -4
  114. package/dist/chunks/{model-resolver-0erxy7q5.js → instance-dhj3npyc.js} +30 -30
  115. package/dist/chunks/{model-resolver-dj2t23y0.js → instance-dj2t23y0.js} +2 -2
  116. package/dist/chunks/{model-resolver-56cevs0r.js → instance-dkbfs573.js} +4 -4
  117. package/dist/chunks/{model-resolver-956r61jq.js → instance-dp6y6dpa.js} +9 -9
  118. package/dist/chunks/{model-resolver-dpkg50ah.js → instance-dpkg50ah.js} +1 -1
  119. package/dist/chunks/{model-resolver-dyqrmyzp.js → instance-dsg0rm71.js} +6 -6
  120. package/dist/chunks/{model-resolver-nvhcbejc.js → instance-dsh5gj19.js} +21 -21
  121. package/dist/chunks/{model-resolver-300e8nzh.js → instance-dxphz4rn.js} +33 -33
  122. package/dist/chunks/{model-resolver-cjdr13sd.js → instance-dzvkn7t8.js} +11 -11
  123. package/dist/chunks/{model-resolver-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{model-resolver-e5nv3ght.js → instance-e5nv3ght.js} +2 -2
  125. package/dist/chunks/{model-resolver-13cyde70.js → instance-e758p7qe.js} +32 -32
  126. package/dist/chunks/{model-resolver-e82z9tr0.js → instance-e82z9tr0.js} +1 -1
  127. package/dist/chunks/{model-resolver-dabzsmb9.js → instance-eamw3cyr.js} +25 -25
  128. package/dist/chunks/{model-resolver-ec3p188n.js → instance-ec3p188n.js} +2 -2
  129. package/dist/chunks/{model-resolver-mjfthb8v.js → instance-ed0w586q.js} +17 -17
  130. package/dist/chunks/{model-resolver-v3rr0qnk.js → instance-ed27kc2q.js} +24 -24
  131. package/dist/chunks/{model-resolver-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{model-resolver-xh37m7r6.js → instance-ekgw5y1z.js} +5 -5
  133. package/dist/chunks/{model-resolver-mhkvc446.js → instance-eq1pz5kg.js} +3 -3
  134. package/dist/chunks/{model-resolver-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{model-resolver-3pbjq009.js → instance-f32czd11.js} +11 -11
  136. package/dist/chunks/{model-resolver-kwsqyj6a.js → instance-f7fkew40.js} +27 -27
  137. package/dist/chunks/{model-resolver-t0fxg8b9.js → instance-fpmq6gma.js} +5 -5
  138. package/dist/chunks/{model-resolver-kpa7g2mg.js → instance-frqdc45t.js} +43 -43
  139. package/dist/chunks/{model-resolver-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{model-resolver-aepg8z33.js → instance-g15gwk1k.js} +26 -26
  141. package/dist/chunks/{model-resolver-7qh570j7.js → instance-g6qm2edy.js} +4 -4
  142. package/dist/chunks/{model-resolver-3bt2kz20.js → instance-g7sr1kve.js} +25 -25
  143. package/dist/chunks/{model-resolver-3tg3qg3s.js → instance-g8f82tga.js} +4 -4
  144. package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{model-resolver-55qn5pqp.js → instance-gfazvam9.js} +17 -17
  146. package/dist/chunks/{model-resolver-b6tfwsrv.js → instance-gffj713w.js} +15 -15
  147. package/dist/chunks/{model-resolver-j03x6629.js → instance-ggrxy4rs.js} +21 -21
  148. package/dist/chunks/{model-resolver-hzh4basz.js → instance-gjt8wv2y.js} +20 -20
  149. package/dist/chunks/{model-resolver-bes7d2ad.js → instance-gnpdrzyp.js} +4 -4
  150. package/dist/chunks/{model-resolver-t6a2ah85.js → instance-gqqc2kn1.js} +24 -24
  151. package/dist/chunks/{model-resolver-6e23dps4.js → instance-gr5q12fx.js} +9 -9
  152. package/dist/chunks/{model-resolver-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{model-resolver-eh5gfzyw.js → instance-h1yf0y0e.js} +7 -7
  154. package/dist/chunks/{model-resolver-4dgbcxzg.js → instance-h6r3nrb9.js} +4 -4
  155. package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{model-resolver-2bt6bea8.js → instance-h7ygw6q4.js} +9 -9
  157. package/dist/chunks/{model-resolver-hdnk95c8.js → instance-hdnk95c8.js} +2 -2
  158. package/dist/chunks/instance-hge1hkn3.js +26 -0
  159. package/dist/chunks/{model-resolver-ymeq0df2.js → instance-hspvzq38.js} +9 -9
  160. package/dist/chunks/{model-resolver-j56e64zr.js → instance-j56e64zr.js} +1 -1
  161. package/dist/chunks/{model-resolver-zdjzyrvw.js → instance-ja58kv6n.js} +14 -14
  162. package/dist/chunks/{model-resolver-vz8e1ew2.js → instance-jayyna5d.js} +27 -27
  163. package/dist/chunks/{model-resolver-7xqgs4c2.js → instance-jmqbe6bp.js} +5 -5
  164. package/dist/chunks/{model-resolver-y98q1xgq.js → instance-jw17pt90.js} +5 -5
  165. package/dist/chunks/{model-resolver-gs8qb5fn.js → instance-jzjrp6ac.js} +42 -42
  166. package/dist/chunks/{model-resolver-gezs4z4f.js → instance-k4drpexb.js} +3 -3
  167. package/dist/chunks/{model-resolver-jta15jv0.js → instance-k9c9mgdx.js} +6 -6
  168. package/dist/chunks/{model-resolver-93p64q73.js → instance-kjtnp8hj.js} +40 -40
  169. package/dist/chunks/{model-resolver-dhmh7aw6.js → instance-kne8f3cn.js} +4 -4
  170. package/dist/chunks/{model-resolver-adefstcf.js → instance-ksf81zt2.js} +11 -11
  171. package/dist/chunks/{model-resolver-m0jqrx5p.js → instance-m0jqrx5p.js} +2 -2
  172. package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{model-resolver-h8thwg15.js → instance-mbeb8pgp.js} +16 -16
  174. package/dist/chunks/{model-resolver-1ygqh575.js → instance-mfqp6xfm.js} +6 -6
  175. package/dist/chunks/{model-resolver-q1fttkg5.js → instance-mqshrq5t.js} +9 -9
  176. package/dist/chunks/{model-resolver-y0tc0hsd.js → instance-myhakecn.js} +14 -14
  177. package/dist/chunks/{model-resolver-gzfky56a.js → instance-n8zr52k9.js} +15 -15
  178. package/dist/chunks/{model-resolver-neze0rnk.js → instance-nywjskf3.js} +26 -26
  179. package/dist/chunks/{model-resolver-jetrtpqb.js → instance-p0d34h28.js} +16 -16
  180. package/dist/chunks/{model-resolver-dbqjqbdf.js → instance-p5s2wgha.js} +22 -22
  181. package/dist/chunks/{model-resolver-hwxw7j17.js → instance-p6dqdzbz.js} +11 -11
  182. package/dist/chunks/{model-resolver-0sefqgtv.js → instance-p75hnr01.js} +2 -2
  183. package/dist/chunks/{model-resolver-5887gt1n.js → instance-p8fpqpay.js} +177 -177
  184. package/dist/chunks/{model-resolver-frdfcpkk.js → instance-pe1s98c6.js} +15 -15
  185. package/dist/chunks/{model-resolver-3r42cc5z.js → instance-pezedjaz.js} +18 -18
  186. package/dist/chunks/instance-phz3h32g.js +18 -0
  187. package/dist/chunks/{model-resolver-bscb95cy.js → instance-pjedbq3k.js} +4 -4
  188. package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
  190. package/dist/chunks/{model-resolver-frva07hn.js → instance-pmx05hv5.js} +23 -23
  191. package/dist/chunks/{model-resolver-xk7wccaw.js → instance-q1f67bwr.js} +38 -38
  192. package/dist/chunks/{model-resolver-fyd77bxh.js → instance-q3ehw3cx.js} +22 -22
  193. package/dist/chunks/{model-resolver-c4vkqgmy.js → instance-q4bprqfk.js} +4 -4
  194. package/dist/chunks/{model-resolver-m3zza4qd.js → instance-q6d53jre.js} +8 -8
  195. package/dist/chunks/{model-resolver-y8bx4nrt.js → instance-q7pq59py.js} +16 -16
  196. package/dist/chunks/{model-resolver-7dcxm99m.js → instance-q9ave7j0.js} +26 -26
  197. package/dist/chunks/{model-resolver-bby7k7hh.js → instance-qn0j0dkc.js} +8 -8
  198. package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
  199. package/dist/chunks/{model-resolver-n8zt5qe2.js → instance-qvz4ctz3.js} +24 -24
  200. package/dist/chunks/{model-resolver-5d3x9756.js → instance-qxtdrv9q.js} +51 -51
  201. package/dist/chunks/{model-resolver-0z8c9324.js → instance-qzyph8ek.js} +7 -7
  202. package/dist/chunks/{model-resolver-2twrdw90.js → instance-r1cpq9ty.js} +5 -5
  203. package/dist/chunks/{model-resolver-qf7ga1s6.js → instance-r2dn7e69.js} +1 -1
  204. package/dist/chunks/{model-resolver-rtsrdkh6.js → instance-r4s75e97.js} +7 -7
  205. package/dist/chunks/{model-resolver-r9mregkx.js → instance-r9mregkx.js} +2 -2
  206. package/dist/chunks/{model-resolver-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{model-resolver-pg3x4kqe.js → instance-rj6d5p5e.js} +3 -3
  208. package/dist/chunks/{model-resolver-2e8y9zy9.js → instance-rkevjsa4.js} +15 -15
  209. package/dist/chunks/{model-resolver-hfgb7cv0.js → instance-rmacqpyz.js} +20 -20
  210. package/dist/chunks/{model-resolver-anvx7hcz.js → instance-rp7edk77.js} +13 -13
  211. package/dist/chunks/{model-resolver-x30xw0sc.js → instance-rvydjrpx.js} +16 -16
  212. package/dist/chunks/{model-resolver-n936bkhn.js → instance-ry62k031.js} +12 -12
  213. package/dist/chunks/{model-resolver-cysw23rm.js → instance-rymwgvqq.js} +5 -5
  214. package/dist/chunks/{model-resolver-fch79rh9.js → instance-ryt7pzqc.js} +1 -1
  215. package/dist/chunks/{model-resolver-yrznvahk.js → instance-s4enseaf.js} +2 -2
  216. package/dist/chunks/{model-resolver-tgq28bjx.js → instance-s4kbqr0a.js} +21 -21
  217. package/dist/chunks/{model-resolver-0qkw0z8d.js → instance-s96gbbjc.js} +51 -51
  218. package/dist/chunks/{model-resolver-41r8dwtv.js → instance-sez6j504.js} +20 -20
  219. package/dist/chunks/{model-resolver-ragd31v1.js → instance-sj0pd38k.js} +10 -10
  220. package/dist/chunks/{model-resolver-0pjtw5ng.js → instance-sr9sb9y2.js} +18 -18
  221. package/dist/chunks/{model-resolver-ab9238g2.js → instance-ss0awb04.js} +4 -4
  222. package/dist/chunks/{model-resolver-xdf7vygc.js → instance-sy0w1jwb.js} +23 -23
  223. package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{model-resolver-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
  226. package/dist/chunks/{model-resolver-n3ev54rj.js → instance-tfmm411s.js} +30 -30
  227. package/dist/chunks/{model-resolver-05nvcser.js → instance-tfnergqq.js} +59 -59
  228. package/dist/chunks/{model-resolver-gv6a8nnw.js → instance-th5km1p3.js} +5 -5
  229. package/dist/chunks/{model-resolver-tvtrv512.js → instance-tvtrv512.js} +1 -1
  230. package/dist/chunks/{model-resolver-qnrbpj9b.js → instance-twbrtgyh.js} +6 -6
  231. package/dist/chunks/{model-resolver-x3et2xth.js → instance-v4hmzr0r.js} +8 -8
  232. package/dist/chunks/{model-resolver-2ay9edyp.js → instance-v6d4v6jq.js} +30 -30
  233. package/dist/chunks/{model-resolver-yby6xn0t.js → instance-vbcz9h2j.js} +7 -7
  234. package/dist/chunks/{model-resolver-1j146x5q.js → instance-vep8e94v.js} +29 -29
  235. package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
  236. package/dist/chunks/{model-resolver-3w3j0q5e.js → instance-vf304emn.js} +18 -18
  237. package/dist/chunks/{model-resolver-7jdzwnm1.js → instance-vjzz8sxc.js} +35 -35
  238. package/dist/chunks/{model-resolver-c5wz01h2.js → instance-vqe3a6nj.js} +17 -17
  239. package/dist/chunks/{model-resolver-xe1vchrn.js → instance-vs0gackm.js} +18 -18
  240. package/dist/chunks/{model-resolver-fkhk4y1m.js → instance-vs2g7sm6.js} +21 -21
  241. package/dist/chunks/{model-resolver-f5cjs50g.js → instance-vsgtcbn2.js} +28 -28
  242. package/dist/chunks/{model-resolver-1032maa7.js → instance-vt5h22tz.js} +17 -17
  243. package/dist/chunks/{model-resolver-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{model-resolver-e53te25d.js → instance-vze34wk4.js} +6 -6
  245. package/dist/chunks/{model-resolver-v8jfbz3g.js → instance-w21bzq9q.js} +6 -6
  246. package/dist/chunks/{model-resolver-yhm2n21y.js → instance-w3eyqdtb.js} +30 -30
  247. package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
  249. package/dist/chunks/{model-resolver-z10et0r2.js → instance-wdsnhfsd.js} +10 -10
  250. package/dist/chunks/{model-resolver-88ksh428.js → instance-wf1efbtj.js} +24 -24
  251. package/dist/chunks/{model-resolver-j2sw0176.js → instance-wfrdzx2b.js} +12 -12
  252. package/dist/chunks/{model-resolver-2a2x9s8s.js → instance-wg2pkbq9.js} +4 -4
  253. package/dist/chunks/{model-resolver-pg99pk3y.js → instance-wvjz3gc7.js} +4 -4
  254. package/dist/chunks/{model-resolver-bs5rr28p.js → instance-wyawgadg.js} +3 -3
  255. package/dist/chunks/{model-resolver-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{model-resolver-s8214884.js → instance-x4zba2ff.js} +5 -5
  257. package/dist/chunks/{model-resolver-sxz6gkc3.js → instance-xb02k0wq.js} +7 -7
  258. package/dist/chunks/{model-resolver-bc36thva.js → instance-xh1aq95h.js} +37 -37
  259. package/dist/chunks/{model-resolver-pvd6ntgs.js → instance-xm8qr0x3.js} +9 -9
  260. package/dist/chunks/{model-resolver-34z1s69y.js → instance-xqxgzzam.js} +4 -4
  261. package/dist/chunks/{model-resolver-g8atgw3j.js → instance-xvtqr6gp.js} +8 -8
  262. package/dist/chunks/{model-resolver-x0v2vg57.js → instance-xzj84bvr.js} +23 -23
  263. package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{model-resolver-50341da0.js → instance-y3ye5brk.js} +11 -11
  265. package/dist/chunks/{model-resolver-rwnjbtn0.js → instance-y9ap2p02.js} +16 -16
  266. package/dist/chunks/{model-resolver-vdbejzap.js → instance-yctkbaw6.js} +18 -18
  267. package/dist/chunks/{model-resolver-qjgpmpt2.js → instance-ycw8yczh.js} +3 -3
  268. package/dist/chunks/{model-resolver-1acjjqhc.js → instance-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{model-resolver-nr0ashrr.js → instance-yrbs634a.js} +10 -10
  270. package/dist/chunks/{model-resolver-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{model-resolver-89qakztx.js → instance-yvxb46eq.js} +5 -5
  272. package/dist/chunks/{model-resolver-4kreg4y2.js → instance-z076nmc8.js} +82 -82
  273. package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{model-resolver-56bnbftg.js → instance-z3nay82g.js} +9 -9
  275. package/dist/chunks/instance-z4k1nywn.js +468 -0
  276. package/dist/chunks/{model-resolver-9h4pky5p.js → instance-z5x28zm6.js} +7 -7
  277. package/dist/chunks/{model-resolver-58cchz3y.js → instance-zbkqp5t7.js} +36 -36
  278. package/dist/chunks/{model-resolver-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{model-resolver-jk8r4hg4.js → instance-zfwtjyrh.js} +13 -13
  280. package/dist/chunks/{model-resolver-fgad9zs1.js → instance-zmzwkbhv.js} +5 -5
  281. package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{model-resolver-80nc4spm.js → instance-zsnh4763.js} +9 -9
  283. package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{model-resolver-avt77bbv.js → instance-zznd93jw.js} +15 -15
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +82 -82
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +124 -124
  293. package/dist/config/plugin/command.js +212 -212
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +131 -131
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +124 -124
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +125 -125
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +123 -123
  312. package/dist/config/plugin/worktree.js +125 -125
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +65 -65
  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.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +362 -362
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.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/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +222 -222
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +105 -105
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +86 -86
  426. package/dist/generate.js +100 -100
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +98 -98
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +353 -353
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +74 -74
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +133 -133
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +350 -350
  464. package/dist/location.js +86 -86
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +98 -98
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +99 -99
  474. package/dist/models-dev.js +106 -106
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +81 -81
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +112 -112
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +85 -85
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +103 -103
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +215 -215
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +324 -324
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +95 -95
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +101 -101
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  497. package/dist/plugin/provider/azure.js +121 -121
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +118 -118
  503. package/dist/plugin/provider/digitalocean.js +92 -92
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +92 -92
  508. package/dist/plugin/provider/gitlab.js +90 -90
  509. package/dist/plugin/provider/google-vertex.js +89 -89
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +121 -121
  513. package/dist/plugin/provider/modal.js +91 -91
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +121 -121
  516. package/dist/plugin/provider/openai.js +91 -91
  517. package/dist/plugin/provider/opencode.js +92 -92
  518. package/dist/plugin/provider/openrouter.js +90 -90
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +77 -77
  521. package/dist/plugin/provider/sap-ai-core.js +90 -90
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +89 -89
  526. package/dist/plugin/provider/vllm.js +119 -119
  527. package/dist/plugin/provider/xai.js +90 -90
  528. package/dist/plugin/provider/zenmux.js +1 -1
  529. package/dist/plugin/provider.js +157 -157
  530. package/dist/plugin/sdk.js +75 -75
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +140 -140
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +339 -339
  535. package/dist/plugin/update.js +6 -6
  536. package/dist/plugin/vcs/git.js +85 -85
  537. package/dist/plugin/vcs/hg.js +85 -85
  538. package/dist/plugin/warming.js +120 -120
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +9 -9
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin/websearch/tinyfish.js +8 -8
  546. package/dist/plugin.js +226 -226
  547. package/dist/project/schema.js +8 -8
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +87 -87
  550. package/dist/provider.js +98 -98
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +93 -93
  555. package/dist/reference/instructions.js +88 -88
  556. package/dist/reference.js +90 -90
  557. package/dist/repository-cache.js +80 -80
  558. package/dist/repository.js +1 -1
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +96 -96
  561. package/dist/rpc.js +85 -85
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +73 -73
  564. package/dist/session/compaction.js +128 -128
  565. package/dist/session/context.js +150 -150
  566. package/dist/session/diff.js +87 -87
  567. package/dist/session/environment.js +5 -5
  568. package/dist/session/error.js +5 -5
  569. package/dist/session/event.js +1 -1
  570. package/dist/session/execution/restart.js +216 -216
  571. package/dist/session/execution.js +125 -125
  572. package/dist/session/generate.js +149 -149
  573. package/dist/session/history.js +15 -15
  574. package/dist/session/inbox.js +87 -87
  575. package/dist/session/info.js +3 -3
  576. package/dist/session/instruction-entry.js +76 -76
  577. package/dist/session/instruction-state.js +8 -8
  578. package/dist/session/instructions.js +96 -96
  579. package/dist/session/message-updater.js +2 -2
  580. package/dist/session/message.js +1 -1
  581. package/dist/session/model-request.js +117 -117
  582. package/dist/session/model-transport.js +9 -9
  583. package/dist/session/move.js +129 -129
  584. package/dist/session/projector.js +85 -85
  585. package/dist/session/prompt.js +104 -104
  586. package/dist/session/provider-context.js +3 -3
  587. package/dist/session/revert.js +89 -89
  588. package/dist/session/run-coordinator.js +3 -3
  589. package/dist/session/runner/index.js +3 -3
  590. package/dist/session/runner/llm.js +227 -227
  591. package/dist/session/runner/max-steps.js +1 -1
  592. package/dist/session/runner/model.js +97 -97
  593. package/dist/session/runner/publish-llm-event.js +3 -3
  594. package/dist/session/runner/retry.js +113 -113
  595. package/dist/session/runner/step.js +122 -122
  596. package/dist/session/runner/to-llm-message.js +2 -2
  597. package/dist/session/schema.js +5 -5
  598. package/dist/session/session.js +169 -169
  599. package/dist/session/shell.js +137 -137
  600. package/dist/session/skill.js +102 -102
  601. package/dist/session/sql.js +5 -5
  602. package/dist/session/stats.js +72 -72
  603. package/dist/session/store.js +86 -86
  604. package/dist/session/subagent-completion.js +1 -1
  605. package/dist/session/subagent-job.js +206 -206
  606. package/dist/session/system-prompt.js +1 -1
  607. package/dist/session/title.js +152 -152
  608. package/dist/session/to-session-error.js +110 -110
  609. package/dist/session/transfer.js +215 -215
  610. package/dist/session/usage.js +1 -1
  611. package/dist/session.js +214 -214
  612. package/dist/shell/parse.js +6 -6
  613. package/dist/shell/result.js +1 -1
  614. package/dist/shell/scan.js +1 -1
  615. package/dist/shell/select.js +15 -15
  616. package/dist/shell.js +137 -137
  617. package/dist/skill/discovery.js +6 -6
  618. package/dist/skill/instructions.js +106 -106
  619. package/dist/skill.js +107 -107
  620. package/dist/snapshot.js +92 -92
  621. package/dist/state.js +1 -1
  622. package/dist/tool/html-markdown.js +1 -1
  623. package/dist/tool/http-body.js +1 -1
  624. package/dist/tool/mcp.js +125 -125
  625. package/dist/tool/plugin/edit.js +119 -119
  626. package/dist/tool/plugin/file-diff.js +1 -1
  627. package/dist/tool/plugin/glob.js +123 -123
  628. package/dist/tool/plugin/grep.js +119 -119
  629. package/dist/tool/plugin/opencode.js +3 -3
  630. package/dist/tool/plugin/patch.js +121 -121
  631. package/dist/tool/plugin/question.js +104 -104
  632. package/dist/tool/plugin/read.js +124 -124
  633. package/dist/tool/plugin/shell.js +215 -215
  634. package/dist/tool/plugin/skill.js +112 -112
  635. package/dist/tool/plugin/subagent.js +217 -217
  636. package/dist/tool/plugin/webfetch.js +109 -109
  637. package/dist/tool/plugin/websearch.js +109 -109
  638. package/dist/tool/plugin/write.js +121 -121
  639. package/dist/tool/read-filesystem.js +99 -99
  640. package/dist/tool/runtime.js +1 -1
  641. package/dist/tool-output.js +8 -8
  642. package/dist/tool.js +15 -15
  643. package/dist/util/error-summary.js +1 -1
  644. package/dist/util/error.js +1 -1
  645. package/dist/util/git-executable.js +2 -2
  646. package/dist/util/iife.js +1 -1
  647. package/dist/util/lazy.js +1 -1
  648. package/dist/util/slug.js +1 -1
  649. package/dist/util/token.js +1 -1
  650. package/dist/util/which.js +1 -1
  651. package/dist/util/wildcard.js +1 -1
  652. package/dist/v1/config/agent.js +7 -7
  653. package/dist/v1/config/attachment.js +4 -4
  654. package/dist/v1/config/command.js +5 -5
  655. package/dist/v1/config/config.js +16 -16
  656. package/dist/v1/config/error.js +4 -4
  657. package/dist/v1/config/formatter.js +3 -3
  658. package/dist/v1/config/layout.js +1 -1
  659. package/dist/v1/config/lsp.js +3 -3
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +91 -91
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/v1/config/server.js +2 -2
  667. package/dist/v1/config/skills.js +3 -3
  668. package/dist/v1/permission.js +1 -1
  669. package/dist/variant.js +92 -92
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +88 -88
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/refresh.js +340 -340
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +93 -93
  683. package/package.json +8 -8
  684. package/dist/chunks/model-resolver-0mesazry.js +0 -4
  685. package/dist/chunks/model-resolver-1x11rq2a.js +0 -18
  686. package/dist/chunks/model-resolver-365vt7ws.js +0 -26
  687. package/dist/chunks/model-resolver-7cd0656b.js +0 -468
  688. package/dist/chunks/model-resolver-d4wbe6d2.js +0 -251
  689. /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{model-resolver-24dcb14g.js → instance-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
  713. /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{model-resolver-922hggd3.js → instance-922hggd3.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{model-resolver-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-resolver-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
  749. /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{model-resolver-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{model-resolver-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{model-resolver-twg0f83k.js → instance-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{model-resolver-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
  778. /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{model-resolver-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{model-resolver-y8f7s663.js → instance-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./model-resolver-c4vkqgmy.js";
4
+ } from "./instance-q4bprqfk.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-rdw6cm16.js";
8
+ } from "./instance-rdw6cm16.js";
9
9
  import {
10
- ID13,
11
- Service72,
12
- node76,
13
- Event17
14
- } from "./model-resolver-3bt2kz20.js";
10
+ ID14,
11
+ Service74,
12
+ node79,
13
+ Event18
14
+ } from "./instance-g7sr1kve.js";
15
15
  import {
16
16
  key2
17
- } from "./model-resolver-4dgbcxzg.js";
17
+ } from "./instance-h6r3nrb9.js";
18
18
  import {
19
- Service75,
20
- node79
21
- } from "./model-resolver-jetrtpqb.js";
19
+ Service77,
20
+ node82
21
+ } from "./instance-p0d34h28.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./instance-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -36,13 +36,13 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
36
36
  var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
- Event: () => Event16,
40
- ID: () => ID12,
41
- Info: () => Info26,
39
+ Event: () => Event17,
40
+ ID: () => ID13,
41
+ Info: () => Info27,
42
42
  LoadError: () => LoadError3,
43
43
  Provider: () => exports_provider3,
44
44
  Request: () => Request3,
45
- Service: () => Service71,
45
+ Service: () => Service73,
46
46
  Settings: () => Settings2,
47
47
  aisdk: () => aisdk2,
48
48
  isAISDK: () => isAISDK2,
@@ -50,7 +50,7 @@ __export(exports_provider3, {
50
50
  mergeHeaders: () => mergeHeaders2,
51
51
  mergeOverlay: () => mergeOverlay2,
52
52
  nativeSettings: () => nativeSettings2,
53
- node: () => node75,
53
+ node: () => node78,
54
54
  packageName: () => packageName2
55
55
  });
56
56
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -61,8 +61,8 @@ import { isRecord } from "@opencode/ai/utils/record";
61
61
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
62
62
  import { Credential } from "@opencode/schema/credential";
63
63
  import { freeze } from "immer";
64
- import { Event as Event16 } from "@opencode/schema/provider";
65
- var ID12 = Provider.ID;
64
+ import { Event as Event17 } from "@opencode/schema/provider";
65
+ var ID13 = Provider.ID;
66
66
  var AISDK_PREFIX2 = "aisdk:";
67
67
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
68
68
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -201,9 +201,9 @@ function mergeHeaders2(base, overlay) {
201
201
  }
202
202
  var Request3 = Provider.Request;
203
203
  var Settings2 = Provider.Settings;
204
- var Info26 = Provider.Info;
204
+ var Info27 = Provider.Info;
205
205
 
206
- class Service71 extends Context.Service()("@opencode/Provider") {
206
+ class Service73 extends Context.Service()("@opencode/Provider") {
207
207
  }
208
208
  var definitions = new WeakMap;
209
209
  function index(models) {
@@ -214,10 +214,10 @@ function index(models) {
214
214
  definitions.set(models, result);
215
215
  return result;
216
216
  }
217
- var layer = Layer.effect(Service71, Effect.gen(function* () {
217
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
218
218
  const bus = yield* Service80;
219
- const integrations = yield* Service72;
220
- const location = yield* Service75;
219
+ const integrations = yield* Service74;
220
+ const location = yield* Service77;
221
221
  const state = create3({
222
222
  name: "provider",
223
223
  initial: () => new Map,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
228
228
  const current = records.get(id);
229
229
  if (current)
230
230
  return current;
231
- const added = { provider: Info26.empty(id), models: new Map };
231
+ const added = { provider: Info27.empty(id), models: new Map };
232
232
  records.set(id, added);
233
233
  maps.add(added.models);
234
234
  return added;
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
312
312
  const available = Array.from(records.values()).filter((record) => {
313
313
  if (record.provider.activation === "disabled")
314
314
  return false;
315
- const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
315
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
316
316
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
317
317
  return false;
318
318
  if (record.provider.activation === "enabled")
@@ -336,8 +336,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
336
336
  location: { directory: location.directory, workspaceID: location.workspaceID }
337
337
  });
338
338
  });
339
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
340
- return Service71.of({
339
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
340
+ return Service73.of({
341
341
  transform: state.transform,
342
342
  reload: state.reload,
343
343
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -346,7 +346,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
346
346
  snapshot
347
347
  });
348
348
  }));
349
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node85, node76, node79] });
349
+ var node78 = makeLocationNode({ service: Service73, layer, deps: [node85, node79, node82] });
350
350
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
351
351
  const module = yield* Effect.tryPromise({
352
352
  try: () => {
@@ -606,4 +606,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
606
606
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
607
607
  var decode = Schema2.decodeUnknownSync(Legacy);
608
608
 
609
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info26, Service71, node75, exports_provider3, Event16 };
609
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service73, node78, exports_provider3, Event17 };
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./model-resolver-jw46dxtn.js";
4
+ } from "./instance-2z1e8rxr.js";
5
5
  import {
6
6
  Service80,
7
7
  node85
8
- } from "./model-resolver-c4vkqgmy.js";
8
+ } from "./instance-q4bprqfk.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./model-resolver-ec1grn59.js";
11
+ } from "./instance-ec1grn59.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./model-resolver-5c4hm403.js";
14
+ } from "./instance-5c4hm403.js";
15
15
  import {
16
16
  prepare4
17
- } from "./model-resolver-jmphe03k.js";
17
+ } from "./instance-bg2gq5qa.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./model-resolver-5t3nmthw.js";
20
+ } from "./instance-5t3nmthw.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./model-resolver-gftt206x.js";
23
+ } from "./instance-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./model-resolver-yby6xn0t.js";
26
+ } from "./instance-vbcz9h2j.js";
27
27
  import {
28
28
  provenance2
29
- } from "./model-resolver-mfhfdr54.js";
29
+ } from "./instance-bccb6npm.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./model-resolver-cjdr13sd.js";
33
+ } from "./instance-dzvkn7t8.js";
34
34
  import {
35
- Service57,
36
- node60
37
- } from "./model-resolver-x30xw0sc.js";
35
+ Service53,
36
+ node56
37
+ } from "./instance-rvydjrpx.js";
38
38
  import {
39
- Service31,
40
- node35
41
- } from "./model-resolver-z580hhtr.js";
39
+ Service25,
40
+ node29
41
+ } from "./instance-151xgw5n.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./model-resolver-0tmbmzm8.js";
44
+ } from "./instance-9xzpt3ep.js";
45
45
  import {
46
- make8
47
- } from "./model-resolver-gxajrtvj.js";
46
+ make9
47
+ } from "./instance-1bg0qxs1.js";
48
48
  import {
49
49
  Service9,
50
50
  node12
51
- } from "./model-resolver-gbmzg7c6.js";
51
+ } from "./instance-9spjdt5y.js";
52
52
  import {
53
- Service23,
54
- node28
55
- } from "./model-resolver-btty7p3w.js";
53
+ Service18,
54
+ node22
55
+ } from "./instance-bavw6ffe.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./model-resolver-xdf7vygc.js";
60
+ } from "./instance-sy0w1jwb.js";
61
61
  import {
62
- Service2,
62
+ Service3,
63
63
  isUntitled2,
64
- node3
65
- } from "./model-resolver-tv8bzv1t.js";
64
+ node4
65
+ } from "./instance-c5dsyxmc.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service46
69
- } from "./model-resolver-dhmh7aw6.js";
68
+ Service43
69
+ } from "./instance-kne8f3cn.js";
70
70
  import {
71
- node41
72
- } from "./model-resolver-300e8nzh.js";
71
+ node68
72
+ } from "./instance-dxphz4rn.js";
73
73
  import {
74
- node48
75
- } from "./model-resolver-j2sw0176.js";
74
+ node76
75
+ } from "./instance-wfrdzx2b.js";
76
76
  import {
77
77
  Outcome2,
78
78
  make3
79
- } from "./model-resolver-c5wz01h2.js";
79
+ } from "./instance-vqe3a6nj.js";
80
80
  import {
81
- Service27
82
- } from "./model-resolver-1x11rq2a.js";
81
+ Service23
82
+ } from "./instance-phz3h32g.js";
83
83
  import {
84
- node24
85
- } from "./model-resolver-hfgb7cv0.js";
84
+ node17
85
+ } from "./instance-rmacqpyz.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./model-resolver-y44na4kk.js";
88
+ } from "./instance-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./model-resolver-9rqn6x4v.js";
91
+ } from "./instance-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
95
95
  __export(exports_llm, {
96
96
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node2
97
+ node: () => node3
98
98
  });
99
99
  import { Message } from "@opencode/ai";
100
100
  import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service46, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
105
105
  const bus = yield* Service80;
106
- const store = yield* Service57;
107
- const context = yield* Service23;
108
- const modelTransport = yield* Service31;
106
+ const store = yield* Service53;
107
+ const context = yield* Service18;
108
+ const modelTransport = yield* Service25;
109
109
  const db = (yield* Service81).db;
110
110
  const compaction = yield* Service9;
111
- const plugins = yield* Service27;
112
- const title = yield* Service2;
111
+ const plugins = yield* Service23;
112
+ const title = yield* Service3;
113
113
  const steps = yield* make3;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make8(bus, sessionID);
234
+ const retry = yield* make9(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service46.of({ drain });
354
+ return Service43.of({ drain });
355
355
  }));
356
- var node2 = makeLocationNode({
357
- service: Service46,
356
+ var node3 = makeLocationNode({
357
+ service: Service43,
358
358
  layer,
359
359
  deps: [
360
360
  node85,
361
361
  llmClient2,
362
- node28,
363
- node35,
364
- node60,
362
+ node22,
363
+ node29,
364
+ node56,
365
365
  node12,
366
- node24,
367
- node3,
368
- node41,
369
- node48,
366
+ node17,
367
+ node4,
368
+ node68,
369
+ node76,
370
370
  node86
371
371
  ]
372
372
  });
373
373
 
374
- export { node2, exports_llm };
374
+ export { node3, exports_llm };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./instance-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./instance-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
10
10
  __export(exports_directory, {
11
11
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
12
12
  WorktreeDirectory: () => exports_directory,
13
- canonical: () => canonical2
13
+ canonical: () => canonical3
14
14
  });
15
15
  import { Effect, Schema } from "effect";
16
16
  class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
17
17
  }
18
- var canonical2 = Effect.fnUntraced(function* (fs, input) {
18
+ var canonical3 = Effect.fnUntraced(function* (fs, input) {
19
19
  const resolved = AbsolutePath2.make(yield* fs.resolve(input));
20
20
  if (!(yield* fs.isDir(resolved)))
21
21
  return yield* new DirectoryUnavailableError2({ directory: input });
22
22
  return resolved;
23
23
  });
24
24
 
25
- export { DirectoryUnavailableError2, canonical2, exports_directory };
25
+ export { DirectoryUnavailableError2, canonical3, exports_directory };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./model-resolver-fxgpk5d8.js";
3
+ } from "./instance-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./model-resolver-g4wezp1m.js";
6
+ } from "./instance-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./model-resolver-x61499pn.js";
9
+ } from "./instance-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./model-resolver-af5trqkr.js";
12
+ } from "./instance-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./model-resolver-afrmfg78.js";
15
+ } from "./instance-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./model-resolver-x0ckcb58.js";
18
+ } from "./instance-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service8,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node11
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service8 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service4,
18
+ var node11 = makeLocationNode({
19
+ service: Service8,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node7, bound2, exports_instance2 };
32
+ export { Service8, node11, bound2, exports_instance2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./model-resolver-c4vkqgmy.js";
4
+ } from "./instance-q4bprqfk.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./model-resolver-jetrtpqb.js";
6
+ Service77,
7
+ node82
8
+ } from "./instance-p0d34h28.js";
9
9
  import {
10
- ID2
11
- } from "./model-resolver-0mesazry.js";
10
+ ID4
11
+ } from "./instance-6kdq0pjd.js";
12
12
  import {
13
- Service66,
13
+ Service34,
14
14
  login2,
15
- node70
16
- } from "./model-resolver-dbqjqbdf.js";
15
+ node38
16
+ } from "./instance-p5s2wgha.js";
17
17
  import {
18
18
  lazy2
19
- } from "./model-resolver-88xbtdfr.js";
19
+ } from "./instance-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./model-resolver-9rqn6x4v.js";
22
+ } from "./instance-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
@@ -27,12 +27,12 @@ __export(exports_pty, {
27
27
  CreateInput: () => CreateInput2,
28
28
  Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info2,
31
- NotFoundError: () => NotFoundError3,
30
+ Info: () => Info3,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service20,
33
+ Service: () => Service15,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node23
35
+ node: () => node19
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
@@ -41,26 +41,26 @@ import { Event as Event4 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info2 = Pty.Info;
44
+ var Info3 = Pty.Info;
45
45
  var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID2
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID4
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID2
54
+ ptyID: ID4
55
55
  }) {
56
56
  }
57
57
 
58
- class Service20 extends Context.Service()("@opencode/Pty") {
58
+ class Service15 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service20, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
61
61
  const bus = yield* Service80;
62
- const location = yield* Service75;
63
- const shell = yield* Service66;
62
+ const location = yield* Service77;
63
+ const shell = yield* Service34;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError3({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID2.ascending();
126
+ const id = ID4.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service20.of({ list, get, create, update, remove, write, attach });
271
+ return Service15.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node23 = makeLocationNode({
274
- service: Service20,
273
+ var node19 = makeLocationNode({
274
+ service: Service15,
275
275
  layer,
276
- deps: [node85, node79, node70]
276
+ deps: [node85, node82, node38]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service20, node23, exports_pty, Event4 };
279
+ export { Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node19, exports_pty, Event4 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-resolver-gftt206x.js";
3
+ } from "./instance-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-resolver-pg3x4kqe.js";
6
+ } from "./instance-rj6d5p5e.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./instance-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error2 = {};
13
- __export(exports_error2, {
12
+ var exports_error = {};
13
+ __export(exports_error, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -21,7 +21,7 @@ __export(exports_error2, {
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
22
  NotFoundError: () => NotFoundError7,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error2,
24
+ SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
126
+ export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };