@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,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./model-resolver-1ygqh575.js";
3
+ } from "./instance-mfqp6xfm.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./instance-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin5,
11
+ Plugin: () => Plugin25,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint3 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin5 = define({
30
+ var Plugin25 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin5 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint3);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint3, Plugin5, exports_exa };
83
+ export { endpoint5, Plugin25, exports_exa };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78
3
- } from "./model-resolver-56bnbftg.js";
2
+ Service55
3
+ } from "./instance-z3nay82g.js";
4
4
  import {
5
- Service49
6
- } from "./model-resolver-v8jfbz3g.js";
5
+ Service46
6
+ } from "./instance-w21bzq9q.js";
7
7
  import {
8
8
  detect2
9
- } from "./model-resolver-3smtnn6g.js";
9
+ } from "./instance-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./model-resolver-1x11rq2a.js";
12
+ } from "./instance-phz3h32g.js";
13
13
  import {
14
- Service58
15
- } from "./model-resolver-aq5y8b9e.js";
14
+ Service54
15
+ } from "./instance-1g96y08y.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./model-resolver-yby6xn0t.js";
19
+ } from "./instance-vbcz9h2j.js";
20
20
  import {
21
21
  prepare3,
22
- Service38
23
- } from "./model-resolver-h8thwg15.js";
22
+ Service35
23
+ } from "./instance-mbeb8pgp.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./instance-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service49;
42
+ const instances = yield* Service46;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service58;
45
+ const hooks = yield* Service54;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service38;
64
+ const skillService = yield* Service35;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service78;
128
+ const image = yield* Service55;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,33 +1,33 @@
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
  makeUnsafe2
7
- } from "./model-resolver-dpkg50ah.js";
7
+ } from "./instance-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node68
12
- } from "./model-resolver-g8atgw3j.js";
11
+ node65
12
+ } from "./instance-xvtqr6gp.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./model-resolver-faypxj3z.js";
15
+ } from "./instance-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./instance-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID10,
25
- Info: () => Info23,
24
+ ID: () => ID9,
25
+ Info: () => Info12,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service64,
27
+ Service: () => Service61,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node67
29
+ configured: () => configured7,
30
+ node: () => node64
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID10 = Workspace.ID;
38
+ var ID9 = Workspace.ID;
39
39
 
40
- class Info23 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info12 extends Schema.Class("Workspace.Info")({
41
+ id: ID9,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info23 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID9,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service64 extends Context.Service()("@opencode/Workspace") {
59
+ class Service61 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service64,
61
+ var configured7 = (options = {}) => makeGlobalNode({
62
+ service: Service61,
63
63
  layer: layer(options),
64
- deps: [node86, node68]
64
+ deps: [node86, node65]
65
65
  });
66
- var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
67
67
  const db = (yield* Service81).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info23({
83
+ const info = (row, binding) => new Info12({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service64.of({
157
+ return Service61.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID9.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node67 = configured9();
224
+ var node64 = configured7();
225
225
 
226
- export { ID10, Info23, NotFound3, CreateConflict2, Service64, configured9, node67, exports_workspace };
226
+ export { ID9, Info12, NotFound3, CreateConflict2, Service61, configured7, node64, exports_workspace };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service65
3
- } from "./model-resolver-tgq28bjx.js";
2
+ Service63
3
+ } from "./instance-s4kbqr0a.js";
4
4
  import {
5
- Service49
6
- } from "./model-resolver-v8jfbz3g.js";
5
+ Service46
6
+ } from "./instance-w21bzq9q.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-resolver-1x11rq2a.js";
9
+ } from "./instance-phz3h32g.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./instance-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service49;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service65), instances.provide(input.session));
22
+ const instances = yield* Service46;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -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/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service80,
4
4
  node85
5
- } from "./model-resolver-c4vkqgmy.js";
5
+ } from "./instance-q4bprqfk.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make19,
10
+ make18,
11
11
  diffByKey2
12
- } from "./model-resolver-t550f9t1.js";
12
+ } from "./instance-0gdmqesm.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./model-resolver-922hggd3.js";
15
+ } from "./instance-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./model-resolver-rdw6cm16.js";
18
+ } from "./instance-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./model-resolver-9rqn6x4v.js";
21
+ } from "./instance-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event6,
26
+ Event: () => Event5,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service34,
31
- configured: () => configured5,
32
- layer: () => layer15,
33
- node: () => node38
29
+ Options: () => Options4,
30
+ Service: () => Service32,
31
+ configured: () => configured4,
32
+ layer: () => layer14,
33
+ node: () => node36
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event6 = {
45
+ var Event5 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options4 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service34 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service32 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
55
+ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
56
56
  const bus = yield* Service80;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make19({
77
+ const source = (value) => make18({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service34.of({
93
+ return Service32.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured4(options) {
108
108
  return makeLocationNode({
109
- service: Service34,
110
- layer: layer15(options),
109
+ service: Service32,
110
+ layer: layer14(options),
111
111
  deps: [node85]
112
112
  });
113
113
  }
114
- var node38 = configured5();
114
+ var node36 = configured4();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event6, Options5, Service34, layer15, configured5, node38, exports_instruction_discovery };
145
+ export { File2, Event5, Options4, Service32, layer14, configured4, node36, exports_instruction_discovery };
@@ -1,63 +1,63 @@
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
- Service49,
11
- node52
12
- } from "./model-resolver-v8jfbz3g.js";
10
+ Service46,
11
+ node49
12
+ } from "./instance-w21bzq9q.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./model-resolver-922hggd3.js";
16
+ } from "./instance-922hggd3.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./model-resolver-xk7wccaw.js";
18
+ Service78,
19
+ node83
20
+ } from "./instance-q1f67bwr.js";
21
21
  import {
22
22
  Ref4
23
- } from "./model-resolver-jetrtpqb.js";
23
+ } from "./instance-p0d34h28.js";
24
24
  import {
25
- Service51,
26
- node54
27
- } from "./model-resolver-z10et0r2.js";
25
+ Service47,
26
+ node50
27
+ } from "./instance-wdsnhfsd.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./model-resolver-gftt206x.js";
30
+ } from "./instance-gftt206x.js";
31
31
  import {
32
32
  NotFoundError7
33
- } from "./model-resolver-yby6xn0t.js";
33
+ } from "./instance-vbcz9h2j.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./model-resolver-ec1grn59.js";
36
+ } from "./instance-ec1grn59.js";
37
37
  import {
38
- Service46
39
- } from "./model-resolver-dhmh7aw6.js";
38
+ Service43
39
+ } from "./instance-kne8f3cn.js";
40
40
  import {
41
- Service57,
42
- node60
43
- } from "./model-resolver-x30xw0sc.js";
41
+ Service53,
42
+ node56
43
+ } from "./instance-rvydjrpx.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service47,
48
- node50,
47
+ Service44,
48
+ node47,
49
49
  moveIDs2
50
- } from "./model-resolver-xdf7vygc.js";
50
+ } from "./instance-sy0w1jwb.js";
51
51
  import {
52
- Service45,
53
- node49
54
- } from "./model-resolver-sf22njts.js";
52
+ Service42,
53
+ node46
54
+ } from "./instance-2tnr6z1w.js";
55
55
  import {
56
- node27
57
- } from "./model-resolver-rwnjbtn0.js";
56
+ node26
57
+ } from "./instance-y9ap2p02.js";
58
58
  import {
59
59
  __export
60
- } from "./model-resolver-9rqn6x4v.js";
60
+ } from "./instance-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service22,
68
+ Service: () => Service21,
69
69
  SessionMove: () => exports_move,
70
- node: () => node26
70
+ node: () => node25
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service22 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service21 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service22, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service76;
92
- const locations = yield* Service51;
93
- const store = yield* Service57;
94
- const execution = yield* Service45;
95
- const instances = yield* Service49;
96
- const admission = yield* Service47;
91
+ const projects = yield* Service78;
92
+ const locations = yield* Service47;
93
+ const store = yield* Service53;
94
+ const execution = yield* Service42;
95
+ const instances = yield* Service46;
96
+ const admission = yield* Service44;
97
97
  const database = yield* Service81;
98
98
  const bus = yield* Service80;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service22.of({
136
+ return Service21.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node26 = makeGlobalNode({
167
- service: Service22,
166
+ var node25 = makeGlobalNode({
167
+ service: Service21,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node80,
173
- node54,
174
- node60,
175
- node49,
176
- node52,
172
+ node83,
177
173
  node50,
174
+ node56,
175
+ node46,
176
+ node49,
177
+ node47,
178
178
  node86,
179
179
  node85,
180
- node27
180
+ node26
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service22, node26, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node25, exports_move };
@@ -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/app.ts
6
6
  var exports_app = {};
@@ -8,9 +8,9 @@ __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured11,
11
- layer: () => layer25,
11
+ layer: () => layer24,
12
12
  make: () => make21,
13
- node: () => node83,
13
+ node: () => node75,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer25 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
33
- var node83 = configured11();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node75 = configured11();
34
34
 
35
- export { Metadata2, make21, useragent2, layer25, configured11, node83, exports_app };
35
+ export { Metadata2, make21, useragent2, layer24, configured11, node75, exports_app };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID12
3
- } from "./model-resolver-n3ev54rj.js";
2
+ ID13
3
+ } from "./instance-tfmm411s.js";
4
4
  import {
5
5
  iife2
6
- } from "./model-resolver-1kg9ymc8.js";
6
+ } from "./instance-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./model-resolver-wyfy9p70.js";
9
+ } from "./instance-2zmvcxwn.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID12.make("cloudflare-ai-gateway");
15
+ var providerID = ID13.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-n3ev54rj.js";
4
+ } from "./instance-tfmm411s.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";