@opencode/core 0.0.0-dev-21215 → 0.0.0-dev-21217

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{credential-tet0x2x5.js → model-resolver-016wd0ym.js} +34 -34
  8. package/dist/chunks/{credential-mhe0g0p5.js → model-resolver-07avtkf2.js} +3 -3
  9. package/dist/chunks/{credential-0b5g1ynf.js → model-resolver-0b5g1ynf.js} +4 -4
  10. package/dist/chunks/{credential-knbwcmz6.js → model-resolver-0etcqt1e.js} +27 -27
  11. package/dist/chunks/{credential-7dqw4kz8.js → model-resolver-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{credential-9c4mg81w.js → model-resolver-0qsfxhp3.js} +14 -14
  13. package/dist/chunks/{credential-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{credential-fjznstmf.js → model-resolver-0vc9cqt0.js} +4 -4
  15. package/dist/chunks/{credential-ttjwvx26.js → model-resolver-176cfv5a.js} +16 -16
  16. package/dist/chunks/{credential-q4rarndx.js → model-resolver-19pwa69y.js} +11 -11
  17. package/dist/chunks/{credential-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{credential-x01h19mw.js → model-resolver-1akz5k8x.js} +15 -15
  19. package/dist/chunks/{credential-y49t6yxk.js → model-resolver-1ce86eqw.js} +17 -17
  20. package/dist/chunks/{credential-trq7bz11.js → model-resolver-1he6k45e.js} +22 -22
  21. package/dist/chunks/{credential-jkpwzps6.js → model-resolver-1qz0hcwh.js} +39 -39
  22. package/dist/chunks/{credential-fxaymqdw.js → model-resolver-1w2wqhfv.js} +4 -4
  23. package/dist/chunks/{credential-y5p4ve91.js → model-resolver-1x7hg83d.js} +16 -16
  24. package/dist/chunks/{credential-csey17fn.js → model-resolver-1xxjgqwb.js} +8 -8
  25. package/dist/chunks/{credential-67jerfv6.js → model-resolver-2018zjzj.js} +78 -78
  26. package/dist/chunks/{credential-cq23epbd.js → model-resolver-20d11vtm.js} +14 -14
  27. package/dist/chunks/{credential-vp0bfksy.js → model-resolver-251hxpd6.js} +2 -2
  28. package/dist/chunks/{credential-ckajj5ea.js → model-resolver-264b5yb9.js} +20 -20
  29. package/dist/chunks/{credential-v322raa9.js → model-resolver-266qzg04.js} +11 -11
  30. package/dist/chunks/{credential-4t7bjcx1.js → model-resolver-2as59qfs.js} +30 -30
  31. package/dist/chunks/{credential-4r8w9sj8.js → model-resolver-2g2537yg.js} +28 -28
  32. package/dist/chunks/{credential-c1k0pwhg.js → model-resolver-2ma89jv6.js} +10 -10
  33. package/dist/chunks/{credential-gmpf7xjb.js → model-resolver-2mz127rg.js} +28 -28
  34. package/dist/chunks/{credential-g7srfa3y.js → model-resolver-2ptzzrc3.js} +11 -11
  35. package/dist/chunks/{credential-0p78r4x4.js → model-resolver-3b80bnbc.js} +10 -10
  36. package/dist/chunks/{credential-kfj755v5.js → model-resolver-3cf2r952.js} +50 -50
  37. package/dist/chunks/{credential-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{credential-pnzf6mjf.js → model-resolver-3g8j9he4.js} +1 -1
  39. package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{credential-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{credential-nb43gqgm.js → model-resolver-3k2jyg7g.js} +5 -5
  42. package/dist/chunks/{credential-90dfvdtc.js → model-resolver-3qggjg35.js} +14 -14
  43. package/dist/chunks/{credential-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{credential-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{credential-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{credential-jh7hm8j6.js → model-resolver-40nepbx5.js} +19 -19
  47. package/dist/chunks/{credential-fenvdmpd.js → model-resolver-4es9x8nx.js} +19 -19
  48. package/dist/chunks/{credential-krdey6nc.js → model-resolver-4tr9sj3s.js} +6 -6
  49. package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
  50. package/dist/chunks/{credential-kebpaez3.js → model-resolver-4vbcsnyx.js} +2 -2
  51. package/dist/chunks/{credential-ps2zx4jn.js → model-resolver-4vvac9vn.js} +4 -4
  52. package/dist/chunks/{credential-6j60vss0.js → model-resolver-50v2ya5q.js} +16 -16
  53. package/dist/chunks/{credential-9t102qjt.js → model-resolver-51048t4e.js} +18 -18
  54. package/dist/chunks/{credential-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  55. package/dist/chunks/{credential-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
  56. package/dist/chunks/{credential-weban0cd.js → model-resolver-59fhsr37.js} +12 -12
  57. package/dist/chunks/{credential-0f85jzr4.js → model-resolver-5a31cw09.js} +3 -3
  58. package/dist/chunks/{credential-j842fqs5.js → model-resolver-5fkwwa5n.js} +16 -16
  59. package/dist/chunks/{credential-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{credential-e80seqcp.js → model-resolver-5rzwp8tz.js} +3 -3
  61. package/dist/chunks/{credential-jrfj64d4.js → model-resolver-5wxeg2rt.js} +23 -23
  62. package/dist/chunks/{credential-6827pfxn.js → model-resolver-6827pfxn.js} +1 -1
  63. package/dist/chunks/{credential-89vt8edy.js → model-resolver-6dwc2p0m.js} +4 -4
  64. package/dist/chunks/{credential-ht59szz0.js → model-resolver-6dy3z8jq.js} +11 -11
  65. package/dist/chunks/{credential-r9w3djhf.js → model-resolver-6fatt4mk.js} +9 -9
  66. package/dist/chunks/{credential-memnpynf.js → model-resolver-6fjj7as2.js} +46 -46
  67. package/dist/chunks/{credential-y7nndgyc.js → model-resolver-6hprzzq9.js} +9 -9
  68. package/dist/chunks/{credential-x74xmnxk.js → model-resolver-6sbrks22.js} +12 -12
  69. package/dist/chunks/{credential-v7z2bvyd.js → model-resolver-6t4hr8r6.js} +4 -4
  70. package/dist/chunks/{credential-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{credential-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
  72. package/dist/chunks/{credential-ztkx55p6.js → model-resolver-78mqpzmn.js} +16 -16
  73. package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{credential-avxm8t77.js → model-resolver-7ej1793t.js} +27 -27
  75. package/dist/chunks/{credential-h532h9cs.js → model-resolver-7essg1m7.js} +23 -23
  76. package/dist/chunks/{credential-ernspkd5.js → model-resolver-7gyj6esr.js} +5 -5
  77. package/dist/chunks/{credential-gzatps39.js → model-resolver-7jt6fz4t.js} +185 -185
  78. package/dist/chunks/{credential-g69bhtys.js → model-resolver-7mw2kz3n.js} +14 -14
  79. package/dist/chunks/{credential-en15c0wn.js → model-resolver-7phrhjk9.js} +75 -64
  80. package/dist/chunks/{credential-66w41kd0.js → model-resolver-7veq4nhk.js} +18 -18
  81. package/dist/chunks/{credential-92k2zvrm.js → model-resolver-7zvp5rcn.js} +10 -10
  82. package/dist/chunks/{credential-xjwyxz4n.js → model-resolver-81hfyfhp.js} +15 -15
  83. package/dist/chunks/{credential-84txncab.js → model-resolver-84txncab.js} +1 -1
  84. package/dist/chunks/{credential-1sbg73nq.js → model-resolver-8h4996qy.js} +40 -40
  85. package/dist/chunks/{credential-dywbpq8p.js → model-resolver-8hwws32s.js} +19 -19
  86. package/dist/chunks/{credential-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{credential-6r64h49w.js → model-resolver-8n4awwjy.js} +25 -25
  88. package/dist/chunks/{credential-z5crsmww.js → model-resolver-8pddcv4v.js} +10 -10
  89. package/dist/chunks/{credential-vywkzp4v.js → model-resolver-8vwbc7ar.js} +11 -11
  90. package/dist/chunks/{credential-j09zfasm.js → model-resolver-91qna3x0.js} +3 -3
  91. package/dist/chunks/{credential-h896pcm5.js → model-resolver-93ygb5af.js} +6 -6
  92. package/dist/chunks/{credential-w3x9v1nk.js → model-resolver-9c3np669.js} +8 -8
  93. package/dist/chunks/model-resolver-9jg07m6z.js +257 -0
  94. package/dist/chunks/{credential-yzdsqd8r.js → model-resolver-9m8rc5s1.js} +24 -24
  95. package/dist/chunks/{credential-rnd2wdxm.js → model-resolver-9qcwqr22.js} +9 -9
  96. package/dist/chunks/{credential-fb9h1zpd.js → model-resolver-a0dtpn4h.js} +22 -22
  97. package/dist/chunks/{credential-p6agkp8v.js → model-resolver-a2pvkqk7.js} +33 -33
  98. package/dist/chunks/{credential-4heb770w.js → model-resolver-a50ajv9x.js} +13 -13
  99. package/dist/chunks/{credential-x661k3y3.js → model-resolver-addxnjmp.js} +4 -4
  100. package/dist/chunks/{credential-8gxqpgph.js → model-resolver-afdssyjb.js} +4 -4
  101. package/dist/chunks/{credential-pmwpe40e.js → model-resolver-afrtgck4.js} +4 -4
  102. package/dist/chunks/{credential-tpwfj9q7.js → model-resolver-akkpvtys.js} +22 -22
  103. package/dist/chunks/{credential-srqharbm.js → model-resolver-an964k1c.js} +50 -50
  104. package/dist/chunks/{credential-vnr1arqv.js → model-resolver-av8er3sd.js} +45 -45
  105. package/dist/chunks/{credential-z6c3x22d.js → model-resolver-b674v2dg.js} +5 -5
  106. package/dist/chunks/{credential-xveeyqv2.js → model-resolver-b8nsy2hb.js} +24 -24
  107. package/dist/chunks/{credential-npw39rc8.js → model-resolver-bfegkxfd.js} +8 -8
  108. package/dist/chunks/{credential-d9etbekp.js → model-resolver-bg0vhc43.js} +40 -40
  109. package/dist/chunks/{credential-06nq0k6z.js → model-resolver-bk729ph4.js} +13 -13
  110. package/dist/chunks/{credential-sz15zhhw.js → model-resolver-bmr56wjg.js} +4 -4
  111. package/dist/chunks/{credential-8w7r8evj.js → model-resolver-bqjm0jxv.js} +20 -20
  112. package/dist/chunks/{credential-1ep4rre3.js → model-resolver-bzeyqsqd.js} +4 -4
  113. package/dist/chunks/{credential-c1fqxshp.js → model-resolver-c1fqxshp.js} +3 -3
  114. package/dist/chunks/{credential-c0x4bacm.js → model-resolver-c3jd06h3.js} +14 -14
  115. package/dist/chunks/{credential-yb3yv1n8.js → model-resolver-c5ggqzvz.js} +12 -12
  116. package/dist/chunks/{credential-qmqgtz8f.js → model-resolver-c765mh8b.js} +9 -9
  117. package/dist/chunks/{credential-8a3m53ms.js → model-resolver-c7ensvqx.js} +28 -28
  118. package/dist/chunks/{credential-pcz0vat3.js → model-resolver-cke7p0w4.js} +5 -5
  119. package/dist/chunks/{credential-g0445xdp.js → model-resolver-cmwkp3r5.js} +4 -4
  120. package/dist/chunks/{credential-e92nyhhr.js → model-resolver-cszqzecc.js} +60 -60
  121. package/dist/chunks/{credential-d1a28jh7.js → model-resolver-d1a28jh7.js} +2 -2
  122. package/dist/chunks/{credential-jrpbdnyg.js → model-resolver-d4wbqfbm.js} +11 -11
  123. package/dist/chunks/{credential-zet2wr62.js → model-resolver-d52hg7ms.js} +34 -34
  124. package/dist/chunks/{credential-1gy2kdvj.js → model-resolver-d60f224d.js} +28 -28
  125. package/dist/chunks/{credential-2v16nk6n.js → model-resolver-dcvezt5m.js} +11 -11
  126. package/dist/chunks/{credential-380xsyfr.js → model-resolver-des6jdj8.js} +21 -21
  127. package/dist/chunks/{credential-512sb6hd.js → model-resolver-dpy6a8rw.js} +4 -4
  128. package/dist/chunks/{credential-hbb7npd7.js → model-resolver-dq407baf.js} +6 -6
  129. package/dist/chunks/{credential-jvzc6p6r.js → model-resolver-dr0x4ah1.js} +12 -12
  130. package/dist/chunks/{credential-m0azfdyz.js → model-resolver-dt57sfsj.js} +9 -9
  131. package/dist/chunks/{credential-61m3evwq.js → model-resolver-dtpwe7mt.js} +24 -24
  132. package/dist/chunks/{credential-aj285h1q.js → model-resolver-e6ma5qw6.js} +5 -5
  133. package/dist/chunks/{credential-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{credential-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{credential-a10rd6rt.js → model-resolver-f13hrfnx.js} +26 -26
  136. package/dist/chunks/{credential-s6bezc7p.js → model-resolver-f3st1kdw.js} +45 -45
  137. package/dist/chunks/{credential-ndn5nttk.js → model-resolver-faj2svbs.js} +9 -9
  138. package/dist/chunks/{credential-z32c81yc.js → model-resolver-fan8d53n.js} +43 -43
  139. package/dist/chunks/{credential-hc0tyw59.js → model-resolver-fc3ht4av.js} +9 -9
  140. package/dist/chunks/{credential-yqncb7ba.js → model-resolver-fc5y07mq.js} +22 -22
  141. package/dist/chunks/{credential-fcy631f0.js → model-resolver-fcy631f0.js} +1 -1
  142. package/dist/chunks/model-resolver-fh8qb6ca.js +513 -0
  143. package/dist/chunks/{credential-hbd093e1.js → model-resolver-g77tvx5r.js} +23 -23
  144. package/dist/chunks/{credential-w5na9dqb.js → model-resolver-gbjwtbd9.js} +11 -11
  145. package/dist/chunks/{credential-rryqzpf7.js → model-resolver-gcbmgp51.js} +7 -7
  146. package/dist/chunks/{credential-r6762b1f.js → model-resolver-gd18f05q.js} +4 -4
  147. package/dist/chunks/{credential-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{credential-evqws8cg.js → model-resolver-gn63hw7e.js} +20 -20
  149. package/dist/chunks/{credential-vpc0mzyy.js → model-resolver-gneezttj.js} +21 -21
  150. package/dist/chunks/{credential-xc7ywzxk.js → model-resolver-gnxydz9t.js} +33 -33
  151. package/dist/chunks/{credential-513fjzst.js → model-resolver-gpaj4387.js} +5 -5
  152. package/dist/chunks/{credential-0pvv1c5q.js → model-resolver-gq1dj4gx.js} +11 -11
  153. package/dist/chunks/{credential-4wnpk8s1.js → model-resolver-gqprr8j8.js} +50 -50
  154. package/dist/chunks/{credential-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{credential-5b35b6x0.js → model-resolver-h78bwqxj.js} +43 -43
  156. package/dist/chunks/{credential-725pgwpr.js → model-resolver-hacrw09v.js} +18 -18
  157. package/dist/chunks/{credential-7wzbnvvj.js → model-resolver-hb55tnnt.js} +26 -26
  158. package/dist/chunks/{credential-ysvnem4g.js → model-resolver-hcctc9zp.js} +18 -18
  159. package/dist/chunks/{credential-c5zn6ab1.js → model-resolver-hffd0g87.js} +32 -32
  160. package/dist/chunks/{credential-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{credential-jh272vkw.js → model-resolver-hrfe9a92.js} +4 -4
  162. package/dist/chunks/{credential-y2ygvm3z.js → model-resolver-htj709tb.js} +19 -19
  163. package/dist/chunks/{credential-nk85k8h4.js → model-resolver-hwvembvf.js} +8 -8
  164. package/dist/chunks/{credential-frvhg24z.js → model-resolver-hx13apgc.js} +86 -86
  165. package/dist/chunks/{credential-psmgkcev.js → model-resolver-hz5mwsbb.js} +15 -15
  166. package/dist/chunks/{credential-ctzxj63w.js → model-resolver-hzf2gm4r.js} +6 -6
  167. package/dist/chunks/{credential-ccgbtwgc.js → model-resolver-j1qs7m2z.js} +11 -11
  168. package/dist/chunks/{credential-s1vs6g8m.js → model-resolver-j9vrzzxk.js} +33 -33
  169. package/dist/chunks/{credential-wjgm3cta.js → model-resolver-jbe9km07.js} +32 -32
  170. package/dist/chunks/{credential-ewrq8mh2.js → model-resolver-jhzmbhsj.js} +1 -1
  171. package/dist/chunks/{credential-9hnj8m91.js → model-resolver-jjn1p3a4.js} +9 -9
  172. package/dist/chunks/{credential-ze2cff16.js → model-resolver-jkge9r8a.js} +5 -5
  173. package/dist/chunks/{credential-qxe1je4p.js → model-resolver-jnng54s4.js} +23 -23
  174. package/dist/chunks/{credential-bbfmeh70.js → model-resolver-jp77zf0e.js} +29 -29
  175. package/dist/chunks/{credential-a79hjy9g.js → model-resolver-jthg0ham.js} +8 -8
  176. package/dist/chunks/{credential-9wahvfne.js → model-resolver-jvt1m3jn.js} +9 -9
  177. package/dist/chunks/{credential-tdsb1xpv.js → model-resolver-k0wngftd.js} +16 -16
  178. package/dist/chunks/{credential-5qndpx2w.js → model-resolver-k20dm792.js} +27 -27
  179. package/dist/chunks/{credential-93s0933k.js → model-resolver-k712naka.js} +13 -13
  180. package/dist/chunks/{credential-w1v47t14.js → model-resolver-k71zbqeh.js} +1 -1
  181. package/dist/chunks/{credential-wwmtcwyt.js → model-resolver-k9pcp02a.js} +14 -14
  182. package/dist/chunks/{credential-w5ht28hd.js → model-resolver-ksp8yezw.js} +46 -46
  183. package/dist/chunks/{credential-bay5n71e.js → model-resolver-kty3j8db.js} +15 -15
  184. package/dist/chunks/{credential-r2qj04q3.js → model-resolver-kvfw0apr.js} +17 -17
  185. package/dist/chunks/{credential-1yamg18a.js → model-resolver-kvtrcex4.js} +6 -6
  186. package/dist/chunks/{credential-kwb1v3vj.js → model-resolver-kwb1v3vj.js} +1 -1
  187. package/dist/chunks/{credential-5ej6fcjw.js → model-resolver-m15ha2ry.js} +6 -6
  188. package/dist/chunks/{credential-staw5rj3.js → model-resolver-m33tnjc0.js} +13 -13
  189. package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{credential-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  191. package/dist/chunks/{credential-q5vzdzv7.js → model-resolver-mb42fxee.js} +34 -34
  192. package/dist/chunks/{credential-tph0s9dr.js → model-resolver-me1ss5hn.js} +25 -25
  193. package/dist/chunks/{credential-x9cw3gm2.js → model-resolver-me1tk061.js} +24 -24
  194. package/dist/chunks/{credential-zqma82cw.js → model-resolver-mek16e5d.js} +11 -11
  195. package/dist/chunks/{credential-20jjewhm.js → model-resolver-mm294psk.js} +31 -31
  196. package/dist/chunks/{credential-43vcnrrz.js → model-resolver-mmfyj663.js} +5 -5
  197. package/dist/chunks/{credential-6geq063x.js → model-resolver-my3n3bk5.js} +22 -22
  198. package/dist/chunks/{credential-hzrfc1p4.js → model-resolver-my4zabxr.js} +3 -3
  199. package/dist/chunks/{credential-yrcj3v3g.js → model-resolver-n1n192bv.js} +4 -4
  200. package/dist/chunks/{credential-s2jpechx.js → model-resolver-n2w1xppv.js} +15 -15
  201. package/dist/chunks/{credential-4hkcjtf4.js → model-resolver-n2wkdexc.js} +13 -13
  202. package/dist/chunks/{credential-hy9hen9y.js → model-resolver-n30s8s5w.js} +6 -6
  203. package/dist/chunks/{credential-cbq5fey3.js → model-resolver-n8pfqjpz.js} +23 -23
  204. package/dist/chunks/{credential-0dyyysyc.js → model-resolver-ne1mykpf.js} +12 -12
  205. package/dist/chunks/{credential-79yp3gha.js → model-resolver-nmnr5pf0.js} +18 -18
  206. package/dist/chunks/{credential-8e5g1rqf.js → model-resolver-nn79enrz.js} +25 -25
  207. package/dist/chunks/{credential-6mdt5s3y.js → model-resolver-nyfqhcsj.js} +32 -32
  208. package/dist/chunks/{credential-dqbfcr17.js → model-resolver-nzqw3k3j.js} +14 -14
  209. package/dist/chunks/{credential-6jwzgjy8.js → model-resolver-pgftdjyf.js} +12 -12
  210. package/dist/chunks/{credential-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  212. package/dist/chunks/{credential-h7hsvas8.js → model-resolver-pntd7sjn.js} +46 -46
  213. package/dist/chunks/{credential-cvfz62vn.js → model-resolver-pwke049s.js} +11 -11
  214. package/dist/chunks/{credential-9y47tcxd.js → model-resolver-q8j19n66.js} +13 -13
  215. package/dist/chunks/{credential-gqxmd7mw.js → model-resolver-qby9dwvd.js} +8 -8
  216. package/dist/chunks/{credential-qa3qhgw8.js → model-resolver-qm0v3jhh.js} +7 -7
  217. package/dist/chunks/{credential-d7y2a5kd.js → model-resolver-qm9hx7rf.js} +32 -32
  218. package/dist/chunks/{credential-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  219. package/dist/chunks/{credential-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  220. package/dist/chunks/{credential-axc9g66b.js → model-resolver-qtfkj4b2.js} +18 -18
  221. package/dist/chunks/{credential-ef4r2ry2.js → model-resolver-qx1aksxd.js} +16 -16
  222. package/dist/chunks/{credential-y3btf78e.js → model-resolver-qx29y3xy.js} +23 -23
  223. package/dist/chunks/{credential-bbz974h8.js → model-resolver-r50qz80j.js} +29 -29
  224. package/dist/chunks/{credential-3rt8v641.js → model-resolver-r670ztc7.js} +6 -6
  225. package/dist/chunks/{credential-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{credential-rert0e01.js → model-resolver-rert0e01.js} +2 -2
  227. package/dist/chunks/{credential-rj3eygr5.js → model-resolver-rj3eygr5.js} +2 -2
  228. package/dist/chunks/{credential-461nxmbv.js → model-resolver-rpgkwa3n.js} +5 -5
  229. package/dist/chunks/{credential-gsb9xmde.js → model-resolver-rwc19vm6.js} +95 -95
  230. package/dist/chunks/{credential-e8qrt4b5.js → model-resolver-rya4vhfs.js} +3 -3
  231. package/dist/chunks/{credential-dw66w2fq.js → model-resolver-ryy6axj8.js} +22 -22
  232. package/dist/chunks/{credential-54e3wb9v.js → model-resolver-s3r8kk34.js} +11 -11
  233. package/dist/chunks/{credential-rg17d408.js → model-resolver-s8pbrmg6.js} +42 -42
  234. package/dist/chunks/{credential-sa8ekw3f.js → model-resolver-sa8ekw3f.js} +2 -2
  235. package/dist/chunks/{credential-7w6pf623.js → model-resolver-sfx39rch.js} +17 -17
  236. package/dist/chunks/{credential-sfvx59jg.js → model-resolver-shnfcgs5.js} +13 -13
  237. package/dist/chunks/{credential-3w6712nq.js → model-resolver-sqzn8pe6.js} +5 -5
  238. package/dist/chunks/{credential-6h8f2rna.js → model-resolver-swz9epvm.js} +9 -9
  239. package/dist/chunks/{credential-syv4x271.js → model-resolver-syv4x271.js} +1 -1
  240. package/dist/chunks/{credential-3chf03wh.js → model-resolver-szyc73at.js} +10 -10
  241. package/dist/chunks/{credential-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
  242. package/dist/chunks/{credential-m8cyb89a.js → model-resolver-t5x8hzxm.js} +5 -5
  243. package/dist/chunks/{credential-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{credential-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{credential-1zyqs4bv.js → model-resolver-tcqy5gwz.js} +13 -13
  246. package/dist/chunks/{credential-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  247. package/dist/chunks/{credential-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
  248. package/dist/chunks/{credential-yamxdr06.js → model-resolver-tph52s30.js} +3 -3
  249. package/dist/chunks/{credential-6nfcpfgj.js → model-resolver-tseh174d.js} +5 -5
  250. package/dist/chunks/{credential-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
  251. package/dist/chunks/{credential-0cmwrtj6.js → model-resolver-v1hnz2td.js} +41 -41
  252. package/dist/chunks/{credential-x8ga927e.js → model-resolver-v210v162.js} +7 -7
  253. package/dist/chunks/{credential-mjbp1h77.js → model-resolver-v6vmr8kx.js} +29 -29
  254. package/dist/chunks/{credential-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
  255. package/dist/chunks/{credential-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  256. package/dist/chunks/{credential-f79d26hd.js → model-resolver-vhgkww9x.js} +14 -14
  257. package/dist/chunks/{credential-2cmv458r.js → model-resolver-vykevjvn.js} +5 -5
  258. package/dist/chunks/{credential-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{credential-g6yfr6ja.js → model-resolver-w39jehkq.js} +5 -5
  260. package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{credential-6ywvrrbf.js → model-resolver-w671cn4t.js} +11 -11
  262. package/dist/chunks/{credential-30vr69rm.js → model-resolver-w6sh5zqk.js} +7 -7
  263. package/dist/chunks/{credential-xayeaa42.js → model-resolver-w6yk5t5r.js} +11 -11
  264. package/dist/chunks/{credential-8sze2n9a.js → model-resolver-w92k2e0p.js} +4 -4
  265. package/dist/chunks/{credential-5mrcxfar.js → model-resolver-wan54tjz.js} +8 -8
  266. package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  267. package/dist/chunks/{credential-bjx1sjef.js → model-resolver-wjr9rjd7.js} +6 -6
  268. package/dist/chunks/{credential-9x5ey5cj.js → model-resolver-wns8hazf.js} +6 -6
  269. package/dist/chunks/model-resolver-wry06ba9.js +26 -0
  270. package/dist/chunks/{credential-sg07zk51.js → model-resolver-wx7r1qye.js} +20 -20
  271. package/dist/chunks/{credential-xy8xnxtw.js → model-resolver-x1gmdrfj.js} +29 -29
  272. package/dist/chunks/{credential-r0969brx.js → model-resolver-x5wvqd0p.js} +2 -2
  273. package/dist/chunks/{credential-5njsp6db.js → model-resolver-x7b09pq1.js} +7 -7
  274. package/dist/chunks/{credential-rgnxk938.js → model-resolver-xq0m18df.js} +24 -24
  275. package/dist/chunks/{credential-s0q3ftad.js → model-resolver-xv5tzb38.js} +26 -26
  276. package/dist/chunks/{credential-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{credential-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
  278. package/dist/chunks/{credential-wgahhr0x.js → model-resolver-yemq3d8b.js} +6 -6
  279. package/dist/chunks/{credential-6s6qny9t.js → model-resolver-yx43cpvh.js} +15 -15
  280. package/dist/chunks/{credential-xeb3evp0.js → model-resolver-yxh0a6hh.js} +12 -12
  281. package/dist/chunks/{credential-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{credential-2jygy2ed.js → model-resolver-z4j3nyda.js} +17 -17
  283. package/dist/chunks/{credential-6b1s8aqa.js → model-resolver-z4qam7dt.js} +4 -4
  284. package/dist/chunks/{credential-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{credential-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +72 -72
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +81 -81
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +91 -91
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +91 -91
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +76 -76
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +92 -92
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +99 -99
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +100 -100
  427. package/dist/form.js +82 -82
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -93
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +87 -87
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +136 -136
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +89 -89
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +129 -129
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -93
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +98 -98
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +86 -86
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +109 -109
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +88 -88
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +3 -3
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -350
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +6 -6
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +223 -223
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +90 -90
  561. package/dist/provider.js +99 -99
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +103 -103
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -97
  571. package/dist/rpc.js +86 -86
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +218 -218
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +155 -155
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +77 -77
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +217 -217
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +212 -212
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +105 -105
  630. package/dist/skill.js +108 -108
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +118 -118
  639. package/dist/tool/plugin/grep.js +122 -122
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +109 -109
  647. package/dist/tool/plugin/subagent.js +211 -211
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +14 -14
  655. package/dist/types/session/compaction.d.ts +1 -1
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +89 -89
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +8 -8
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/credential-4dnkb904.js +0 -257
  691. package/dist/chunks/credential-9sh4wc5j.js +0 -18
  692. package/dist/chunks/credential-ks3bqvez.js +0 -513
  693. package/dist/chunks/credential-zwenznck.js +0 -26
  694. /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{credential-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{credential-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{credential-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{credential-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  706. /package/dist/chunks/{credential-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{credential-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  714. /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{credential-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  717. /package/dist/chunks/{credential-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  721. /package/dist/chunks/{credential-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{credential-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{credential-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  741. /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{credential-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{credential-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  753. /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  755. /package/dist/chunks/{credential-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  757. /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{credential-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{credential-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{credential-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  765. /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{credential-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{credential-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{credential-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{credential-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{credential-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{credential-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{credential-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  790. /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{credential-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{credential-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./credential-6j60vss0.js";
2
+ Service82
3
+ } from "./model-resolver-50v2ya5q.js";
4
4
  import {
5
5
  Service47
6
- } from "./credential-f79d26hd.js";
6
+ } from "./model-resolver-vhgkww9x.js";
7
7
  import {
8
8
  Service17,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./credential-mhe0g0p5.js";
11
+ } from "./model-resolver-07avtkf2.js";
12
12
  import {
13
- Service22
14
- } from "./credential-6s6qny9t.js";
13
+ Service76
14
+ } from "./model-resolver-yx43cpvh.js";
15
15
  import {
16
- Service69
17
- } from "./credential-vnr1arqv.js";
16
+ Service63
17
+ } from "./model-resolver-av8er3sd.js";
18
18
  import {
19
- Service23,
19
+ Service52,
20
20
  resolvePath2
21
- } from "./credential-ysvnem4g.js";
21
+ } from "./model-resolver-hcctc9zp.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./credential-6prwharc.js";
24
+ } from "./model-resolver-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./credential-9rqn6x4v.js";
27
+ } from "./model-resolver-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input12,
34
- Output: () => Output8,
35
- Plugin: () => Plugin31,
36
- name: () => name12
33
+ Input: () => Input2,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin37,
36
+ name: () => name2
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name12 = "edit";
43
- var Input12 = Schema.Struct({
42
+ var name2 = "edit";
43
+ var Input2 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output8 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin31 = {
193
+ var Plugin37 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service23;
196
+ const access = yield* Service52;
197
197
  const fileMutation = yield* Service17;
198
198
  const environment = yield* Service47;
199
- const formatter = yield* Service22;
200
- const location = yield* Service80;
201
- const permission = yield* Service69;
199
+ const formatter = yield* Service76;
200
+ const location = yield* Service82;
201
+ const permission = yield* Service63;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name12,
203
+ name: name2,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input12,
207
- output: Output8,
206
+ input: Input2,
207
+ output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin31 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name12, Input12, Output8, Plugin31, exports_edit };
279
+ export { name2, Input2, Output2, Plugin37, exports_edit };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./credential-tph0s9dr.js";
3
+ } from "./model-resolver-me1ss5hn.js";
4
4
  import {
5
- ID13,
5
+ ID14,
6
6
  MethodID2
7
- } from "./credential-5qndpx2w.js";
7
+ } from "./model-resolver-k20dm792.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./credential-pjvnvgmy.js";
11
+ } from "./model-resolver-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID13.make("poe");
17
+ var integrationID = ID14.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -8,14 +8,14 @@ __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
9
  Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
16
  class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
18
+ var node7 = makeLocationNode({
19
19
  service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
@@ -29,4 +29,4 @@ function bound2(plugins) {
29
29
  return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node6, bound2, exports_instance2 };
32
+ export { Service5, node7, bound2, exports_instance2 };
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service86,
3
+ node90
4
+ } from "./model-resolver-w671cn4t.js";
1
5
  import {
2
6
  Service85,
3
7
  node89
4
- } from "./credential-6ywvrrbf.js";
5
- import {
6
- Service83,
7
- node86
8
- } from "./credential-66w41kd0.js";
8
+ } from "./model-resolver-7veq4nhk.js";
9
9
  import {
10
- Service50,
11
- node52
12
- } from "./credential-h896pcm5.js";
10
+ Service60,
11
+ node63
12
+ } from "./model-resolver-93ygb5af.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./credential-z5v4ffb3.js";
16
+ } from "./model-resolver-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node84
20
- } from "./credential-5b35b6x0.js";
18
+ Service83,
19
+ node87
20
+ } from "./model-resolver-h78bwqxj.js";
21
21
  import {
22
22
  Ref4
23
- } from "./credential-6j60vss0.js";
23
+ } from "./model-resolver-50v2ya5q.js";
24
24
  import {
25
- Service68,
26
- node70
27
- } from "./credential-rnd2wdxm.js";
25
+ Service62,
26
+ node65
27
+ } from "./model-resolver-9qcwqr22.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./credential-gftt206x.js";
30
+ } from "./model-resolver-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./credential-krdey6nc.js";
32
+ NotFoundError8
33
+ } from "./model-resolver-4tr9sj3s.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./credential-ec1grn59.js";
36
+ } from "./model-resolver-ec1grn59.js";
37
37
  import {
38
- Service49
39
- } from "./credential-8gxqpgph.js";
38
+ Service58
39
+ } from "./model-resolver-afdssyjb.js";
40
40
  import {
41
- Service70,
42
- node72
43
- } from "./credential-y49t6yxk.js";
41
+ Service65,
42
+ node68
43
+ } from "./model-resolver-1ce86eqw.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service51,
48
- node53,
47
+ Service59,
48
+ node62,
49
49
  moveIDs2
50
- } from "./credential-7wzbnvvj.js";
50
+ } from "./model-resolver-hb55tnnt.js";
51
51
  import {
52
- Service48,
53
- node51
54
- } from "./credential-rg17d408.js";
52
+ Service57,
53
+ node61
54
+ } from "./model-resolver-s8pbrmg6.js";
55
55
  import {
56
- node33
57
- } from "./credential-trq7bz11.js";
56
+ node27
57
+ } from "./model-resolver-1he6k45e.js";
58
58
  import {
59
59
  __export
60
- } from "./credential-9rqn6x4v.js";
60
+ } from "./model-resolver-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: () => Service29,
68
+ Service: () => Service23,
69
69
  SessionMove: () => exports_move,
70
- node: () => node32
70
+ node: () => node26
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service29 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service23 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service29, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service81;
92
- const locations = yield* Service68;
93
- const store = yield* Service70;
94
- const execution = yield* Service48;
95
- const instances = yield* Service50;
96
- const admission = yield* Service51;
97
- const database = yield* Service85;
98
- const bus = yield* Service83;
91
+ const projects = yield* Service83;
92
+ const locations = yield* Service62;
93
+ const store = yield* Service65;
94
+ const execution = yield* Service57;
95
+ const instances = yield* Service60;
96
+ const admission = yield* Service59;
97
+ const database = yield* Service86;
98
+ const bus = yield* Service85;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError8({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service49.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service29.of({
136
+ return Service23.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(Service29, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node32 = makeGlobalNode({
167
- service: Service29,
166
+ var node26 = makeGlobalNode({
167
+ service: Service23,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node84,
173
- node70,
174
- node72,
175
- node51,
176
- node52,
177
- node53,
172
+ node87,
173
+ node65,
174
+ node68,
175
+ node61,
176
+ node63,
177
+ node62,
178
+ node90,
178
179
  node89,
179
- node86,
180
- node33
180
+ node27
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service29, node32, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./credential-gftt206x.js";
3
+ } from "./model-resolver-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service64
4
- } from "./credential-srqharbm.js";
3
+ Service43
4
+ } from "./model-resolver-an964k1c.js";
5
5
  import {
6
6
  observe2
7
- } from "./credential-qsdy395h.js";
7
+ } from "./model-resolver-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./credential-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch2 = {};
14
- __export(exports_websearch2, {
15
- ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin38
13
+ var exports_websearch = {};
14
+ __export(exports_websearch, {
15
+ ConfigWebSearchPlugin: () => exports_websearch,
16
+ Plugin: () => Plugin5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin38 = define({
20
+ var Plugin5 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service64;
23
+ const config = yield* Service43;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin38 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin38, exports_websearch2 };
35
+ export { Plugin5, exports_websearch };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./credential-x661k3y3.js";
3
+ } from "./model-resolver-addxnjmp.js";
4
4
  import {
5
- Service83
6
- } from "./credential-66w41kd0.js";
5
+ Service85
6
+ } from "./model-resolver-7veq4nhk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./credential-tph0s9dr.js";
9
+ Event19
10
+ } from "./model-resolver-me1ss5hn.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./credential-5qndpx2w.js";
14
+ } from "./model-resolver-k20dm792.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service76
20
- } from "./credential-bbz974h8.js";
19
+ Service78
20
+ } from "./model-resolver-r50qz80j.js";
21
21
  import {
22
- ID11
23
- } from "./credential-a10rd6rt.js";
22
+ ID12
23
+ } from "./model-resolver-f13hrfnx.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./credential-0pvv1c5q.js";
27
+ } from "./model-resolver-gq1dj4gx.js";
28
28
  import {
29
29
  useragent2
30
- } from "./credential-3chf03wh.js";
30
+ } from "./model-resolver-szyc73at.js";
31
31
  import {
32
- ID10
33
- } from "./credential-yzdsqd8r.js";
32
+ ID9
33
+ } from "./model-resolver-9m8rc5s1.js";
34
34
  import {
35
35
  get5
36
- } from "./credential-54ma36ye.js";
36
+ } from "./model-resolver-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID13.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service76;
167
- const bus = yield* Service83;
166
+ const providers = yield* Service78;
167
+ const bus = yield* Service85;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID12.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID12.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
234
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
234
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID12.githubCopilot)
243
+ if (evt.model.providerID !== ID13.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID12.githubCopilot)
252
+ if (evt.model.providerID !== ID13.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID12.githubCopilot });
262
+ }), { providerID: ID13.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID12.githubCopilot)
264
+ if (evt.model.providerID !== ID13.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID12.githubCopilot });
279
+ }), { providerID: ID13.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID12.githubCopilot)
281
+ if (evt.model.providerID !== ID13.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID12.githubCopilot });
289
+ }), { providerID: ID13.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID12.githubCopilot)
291
+ if (evt.model.providerID !== ID13.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);