@opencode/core 0.0.0-dev-21756 → 0.0.0-dev-21763

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 (471) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +63 -62
  3. package/dist/aisdk.js +69 -68
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +50 -50
  6. package/dist/chunks/{websearch-cv8jg5mf.js → websearch-028jhwed.js} +10 -10
  7. package/dist/chunks/{websearch-eraf7cqm.js → websearch-02bgezqx.js} +30 -30
  8. package/dist/chunks/{websearch-99v8e8rn.js → websearch-06vk0kzn.js} +4 -4
  9. package/dist/chunks/{websearch-pyg2ad4d.js → websearch-07kams43.js} +46 -46
  10. package/dist/chunks/{websearch-mvx17366.js → websearch-0ear39jp.js} +8 -8
  11. package/dist/chunks/{websearch-shvrd9z9.js → websearch-0sc0whcy.js} +28 -28
  12. package/dist/chunks/{websearch-601m2pka.js → websearch-0yhm11wk.js} +18 -18
  13. package/dist/chunks/{websearch-tez9md4y.js → websearch-16hqm74r.js} +2 -2
  14. package/dist/chunks/{websearch-cz1vwcws.js → websearch-1cjk9esd.js} +1 -1
  15. package/dist/chunks/{websearch-tgsxr5er.js → websearch-1jq5v97j.js} +19 -19
  16. package/dist/chunks/{websearch-77mes9hg.js → websearch-1qn5xget.js} +13 -13
  17. package/dist/chunks/{websearch-67gksmdf.js → websearch-1rbznk76.js} +29 -29
  18. package/dist/chunks/{websearch-p7vhpwh8.js → websearch-1yq9hg58.js} +4 -4
  19. package/dist/chunks/{websearch-ejgxm2nm.js → websearch-2a2xbt2q.js} +17 -17
  20. package/dist/chunks/{websearch-nq3mvejp.js → websearch-2e9c1ftj.js} +8 -8
  21. package/dist/chunks/{websearch-dhww0s6x.js → websearch-2fx6sc8m.js} +1 -1
  22. package/dist/chunks/{websearch-35myeakn.js → websearch-2kpf2tnx.js} +9 -9
  23. package/dist/chunks/{websearch-9hj5qrya.js → websearch-2sadzmpt.js} +19 -19
  24. package/dist/chunks/{websearch-ygqqsqxe.js → websearch-30asdcnx.js} +2 -2
  25. package/dist/chunks/{websearch-0hxcp4e6.js → websearch-32tek056.js} +3 -3
  26. package/dist/chunks/{websearch-pd0633z0.js → websearch-3tt1qka2.js} +22 -22
  27. package/dist/chunks/{websearch-4r4bnvcy.js → websearch-3ypzwevx.js} +2 -2
  28. package/dist/chunks/{websearch-mfwfc967.js → websearch-45k1q4jf.js} +5 -5
  29. package/dist/chunks/{websearch-pv4tdx85.js → websearch-48khph17.js} +8 -8
  30. package/dist/chunks/{websearch-hzrfc1p4.js → websearch-48kw51zw.js} +3 -3
  31. package/dist/chunks/{websearch-zpe8k49a.js → websearch-48yja14g.js} +11 -11
  32. package/dist/chunks/{websearch-4c9adx7x.js → websearch-4kaztr7e.js} +9 -9
  33. package/dist/chunks/{websearch-2bcte980.js → websearch-4p7eafa8.js} +5 -5
  34. package/dist/chunks/{websearch-4a126rg5.js → websearch-4sjm1mdd.js} +27 -27
  35. package/dist/chunks/{websearch-q5ksxkha.js → websearch-4x5ne6q5.js} +4 -4
  36. package/dist/chunks/{websearch-rxrz6b15.js → websearch-4ytg8f8f.js} +1 -1
  37. package/dist/chunks/{websearch-vnmgdpj6.js → websearch-50bs153s.js} +4 -4
  38. package/dist/chunks/{websearch-mmqtdvrn.js → websearch-50ya5pgh.js} +4 -4
  39. package/dist/chunks/{websearch-aamv54pf.js → websearch-52760bbp.js} +30 -30
  40. package/dist/chunks/{websearch-t2c8c6tj.js → websearch-538n6qw9.js} +21 -21
  41. package/dist/chunks/{websearch-c6r66q4n.js → websearch-57p715bj.js} +4 -4
  42. package/dist/chunks/{websearch-befe4cf3.js → websearch-5bfg49e7.js} +1 -1
  43. package/dist/chunks/{websearch-da9th9a0.js → websearch-5f5f6dw4.js} +14 -14
  44. package/dist/chunks/{websearch-m8gc8z80.js → websearch-5gwd981r.js} +18 -18
  45. package/dist/chunks/{websearch-v2aqy3r9.js → websearch-5kxxqds9.js} +9 -9
  46. package/dist/chunks/{websearch-3qn9w17a.js → websearch-5mb8ret5.js} +6 -6
  47. package/dist/chunks/{websearch-4jv1qxwj.js → websearch-5nqw6vw5.js} +5 -5
  48. package/dist/chunks/{websearch-vq142dc8.js → websearch-5v4yb9wj.js} +6 -6
  49. package/dist/chunks/{websearch-y4kbxhdq.js → websearch-5xfk6dbg.js} +1 -1
  50. package/dist/chunks/{websearch-g4fsskpn.js → websearch-610jhrvc.js} +22 -22
  51. package/dist/chunks/{websearch-e1g8z5n0.js → websearch-627jp256.js} +8 -8
  52. package/dist/chunks/{websearch-d1dxzg06.js → websearch-6a99w62x.js} +1 -1
  53. package/dist/chunks/{websearch-xrc3640n.js → websearch-6ejgy672.js} +7 -7
  54. package/dist/chunks/{websearch-c3b0e464.js → websearch-6revxm77.js} +17 -17
  55. package/dist/chunks/{websearch-qtmq7hg9.js → websearch-6tbrfh06.js} +29 -29
  56. package/dist/chunks/{websearch-afmnpta1.js → websearch-6y263vp8.js} +3 -3
  57. package/dist/chunks/{websearch-wfewkgqg.js → websearch-709aftea.js} +33 -33
  58. package/dist/chunks/{websearch-qfw0te7b.js → websearch-72gkwb92.js} +15 -15
  59. package/dist/chunks/{websearch-w8qtt4th.js → websearch-76cb1hcw.js} +3 -3
  60. package/dist/chunks/{websearch-xfbpcgb3.js → websearch-76t1xp06.js} +21 -21
  61. package/dist/chunks/{websearch-qhsybjre.js → websearch-783zccns.js} +10 -10
  62. package/dist/chunks/{websearch-gjw9pjem.js → websearch-78je3d3v.js} +11 -11
  63. package/dist/chunks/{websearch-fmnjzv27.js → websearch-79ykxmfx.js} +5 -5
  64. package/dist/chunks/{websearch-n7wnam13.js → websearch-7akzmw6y.js} +7 -7
  65. package/dist/chunks/{websearch-dkcjkp08.js → websearch-7deqkbqn.js} +6 -6
  66. package/dist/chunks/{websearch-2f6dwfym.js → websearch-8371ggt2.js} +19 -19
  67. package/dist/chunks/{websearch-pk0v2zct.js → websearch-87fjpdw3.js} +17 -17
  68. package/dist/chunks/{websearch-zzhs96fs.js → websearch-87s7n4ge.js} +10 -10
  69. package/dist/chunks/{websearch-j82mhg5v.js → websearch-888hgb07.js} +8 -8
  70. package/dist/chunks/{websearch-xazjtzbh.js → websearch-8dbt3gp8.js} +13 -13
  71. package/dist/chunks/{websearch-876de6v3.js → websearch-98t00bmz.js} +27 -27
  72. package/dist/chunks/{websearch-fvc4bqe2.js → websearch-9b28cy4d.js} +3 -3
  73. package/dist/chunks/{websearch-b87x680z.js → websearch-9cvvmdrm.js} +14 -14
  74. package/dist/chunks/{websearch-b65mwzbx.js → websearch-9d47xe23.js} +21 -21
  75. package/dist/chunks/{websearch-1v0n44x7.js → websearch-9fm2qjhc.js} +15 -15
  76. package/dist/chunks/{websearch-mjxc5aj5.js → websearch-9sh8p6nx.js} +46 -46
  77. package/dist/chunks/{websearch-6zrr0fnw.js → websearch-9v9xq6k7.js} +23 -23
  78. package/dist/chunks/{websearch-7vftsjfj.js → websearch-a42dnrht.js} +21 -21
  79. package/dist/chunks/{websearch-syvntbhr.js → websearch-a4fjeg88.js} +19 -19
  80. package/dist/chunks/{websearch-shnwrs1k.js → websearch-abdhesrb.js} +28 -28
  81. package/dist/chunks/{websearch-mptby4ra.js → websearch-af6r45an.js} +44 -44
  82. package/dist/chunks/{websearch-tnqzh63d.js → websearch-agqd6nxz.js} +16 -6
  83. package/dist/chunks/{websearch-y605yc6m.js → websearch-akv6whtz.js} +21 -21
  84. package/dist/chunks/{websearch-bjhzkqyk.js → websearch-ar2j3j0f.js} +3 -3
  85. package/dist/chunks/{websearch-53xcczwb.js → websearch-aw3srb6e.js} +9 -9
  86. package/dist/chunks/{websearch-74m3x80w.js → websearch-b2fr11m5.js} +6 -6
  87. package/dist/chunks/{websearch-pvn3retk.js → websearch-b4e1jcxa.js} +14 -14
  88. package/dist/chunks/{websearch-8rf240hq.js → websearch-b4nx6saa.js} +7 -7
  89. package/dist/chunks/{websearch-4snbakks.js → websearch-b7mcgwp3.js} +3 -3
  90. package/dist/chunks/{websearch-e14ep8c2.js → websearch-ba38v71t.js} +4 -4
  91. package/dist/chunks/{websearch-fq91yvwf.js → websearch-bcvfpan3.js} +16 -16
  92. package/dist/chunks/{websearch-35sav4w0.js → websearch-bd5kqybq.js} +8 -8
  93. package/dist/chunks/{websearch-6twykydk.js → websearch-bgm817xr.js} +7 -7
  94. package/dist/chunks/{websearch-neyf1ckr.js → websearch-bnarb0wx.js} +9 -9
  95. package/dist/chunks/{websearch-8emm9fy9.js → websearch-c1khejyh.js} +4 -4
  96. package/dist/chunks/{websearch-e4k6zsy1.js → websearch-ca6atg52.js} +53 -46
  97. package/dist/chunks/{websearch-ve5gzmd5.js → websearch-csqtxx7c.js} +4 -4
  98. package/dist/chunks/{websearch-ddj2qmc2.js → websearch-cvna5pvx.js} +3 -3
  99. package/dist/chunks/{websearch-3rgj9tjs.js → websearch-d0qd2q9y.js} +27 -27
  100. package/dist/chunks/{websearch-4x7cszc9.js → websearch-d1g76nqk.js} +17 -17
  101. package/dist/chunks/{websearch-61m88qqz.js → websearch-d2nhvyww.js} +23 -23
  102. package/dist/chunks/{websearch-adcxthm4.js → websearch-d86zx6ex.js} +25 -25
  103. package/dist/chunks/{websearch-53b428tw.js → websearch-dcw70mgd.js} +9 -9
  104. package/dist/chunks/{websearch-pc1v25hk.js → websearch-dh62xe4r.js} +2 -2
  105. package/dist/chunks/{websearch-dmk8nbcm.js → websearch-dncnpr57.js} +10 -10
  106. package/dist/chunks/{websearch-60ndzxv8.js → websearch-drcvb97p.js} +35 -35
  107. package/dist/chunks/{websearch-r5q4n18f.js → websearch-e43td24s.js} +7 -7
  108. package/dist/chunks/{websearch-vy9rjjkt.js → websearch-ebh17g7q.js} +15 -15
  109. package/dist/chunks/{websearch-6bqp8z2s.js → websearch-ecj92f6p.js} +19 -19
  110. package/dist/chunks/{websearch-xqqxjzgs.js → websearch-em430e81.js} +11 -11
  111. package/dist/chunks/{websearch-vz1a888q.js → websearch-ew9j7vn7.js} +180 -180
  112. package/dist/chunks/{websearch-sepw9312.js → websearch-exzfyd93.js} +5 -5
  113. package/dist/chunks/{websearch-qvswfh9d.js → websearch-ey051h0d.js} +23 -23
  114. package/dist/chunks/{websearch-sc8entjg.js → websearch-ez0ps4vh.js} +1 -1
  115. package/dist/chunks/{websearch-czcebxpq.js → websearch-f89qnyv0.js} +61 -61
  116. package/dist/chunks/{websearch-fv6att8a.js → websearch-fgr117q8.js} +12 -12
  117. package/dist/chunks/{websearch-gnk1ngs3.js → websearch-ft9kpk2e.js} +13 -13
  118. package/dist/chunks/{websearch-b6ft8j34.js → websearch-fy4awrc2.js} +6 -6
  119. package/dist/chunks/{websearch-6dbnd2pd.js → websearch-fyr07a1r.js} +20 -20
  120. package/dist/chunks/{websearch-5pr32gd7.js → websearch-g0cks53z.js} +44 -44
  121. package/dist/chunks/{websearch-ezdmt8g7.js → websearch-gcrsyfkm.js} +4 -4
  122. package/dist/chunks/{websearch-68k8pcn2.js → websearch-gg4606bf.js} +14 -14
  123. package/dist/chunks/{websearch-z7w4m9jf.js → websearch-gg9100yt.js} +46 -46
  124. package/dist/chunks/{websearch-mzw1ndaz.js → websearch-gk3b5har.js} +82 -82
  125. package/dist/chunks/{websearch-g6wnqzhb.js → websearch-gk8rb9qf.js} +9 -9
  126. package/dist/chunks/{websearch-kbjsyctr.js → websearch-gxjy29d9.js} +27 -27
  127. package/dist/chunks/{websearch-fz7prppb.js → websearch-h069xeqn.js} +13 -13
  128. package/dist/chunks/{websearch-nqaab5fx.js → websearch-h7ymgnqs.js} +4 -4
  129. package/dist/chunks/{websearch-hwyh2kpq.js → websearch-hdcc19jf.js} +9 -9
  130. package/dist/chunks/{websearch-2fkrhbg9.js → websearch-hf84ee0d.js} +22 -22
  131. package/dist/chunks/{websearch-n7hthk3p.js → websearch-hfcmmhta.js} +24 -24
  132. package/dist/chunks/{websearch-wkpxpnd1.js → websearch-htnwkh5a.js} +30 -30
  133. package/dist/chunks/{websearch-gyz3azbf.js → websearch-hyv9r77w.js} +13 -13
  134. package/dist/chunks/{websearch-ceeb7cqk.js → websearch-jgp1rfxc.js} +9 -9
  135. package/dist/chunks/{websearch-eb0nfaz4.js → websearch-jkxkafzy.js} +9 -9
  136. package/dist/chunks/{websearch-8t9b736e.js → websearch-k4g9p6fx.js} +16 -16
  137. package/dist/chunks/{websearch-bc0ymgk0.js → websearch-k61qs451.js} +41 -41
  138. package/dist/chunks/{websearch-q3bgpfy7.js → websearch-k8yzaem4.js} +1 -1
  139. package/dist/chunks/websearch-ka8y8jkb.js +111 -0
  140. package/dist/chunks/{websearch-vnntc3sm.js → websearch-kdw5wkbd.js} +29 -29
  141. package/dist/chunks/{websearch-sy9xwmw1.js → websearch-kfknhheq.js} +6 -6
  142. package/dist/chunks/{websearch-5fjdabgp.js → websearch-kp4881bv.js} +14 -14
  143. package/dist/chunks/{websearch-eqmd2tfz.js → websearch-m37sd98t.js} +6 -6
  144. package/dist/chunks/{websearch-3aw6bcdd.js → websearch-m5hjs3vf.js} +17 -17
  145. package/dist/chunks/{websearch-d0ctn9ee.js → websearch-mbk0t8q9.js} +16 -16
  146. package/dist/chunks/websearch-meywf6fv.js +257 -0
  147. package/dist/chunks/{websearch-3bp5jjvw.js → websearch-mqrfkf7g.js} +7 -7
  148. package/dist/chunks/{websearch-rv7ddw0n.js → websearch-mxpbzbap.js} +22 -22
  149. package/dist/chunks/{websearch-q3vt6pnc.js → websearch-n1jvtmv7.js} +22 -22
  150. package/dist/chunks/{websearch-zkgq49d1.js → websearch-n1pz9w08.js} +1 -1
  151. package/dist/chunks/{websearch-770pw0s1.js → websearch-nah043kf.js} +3 -3
  152. package/dist/chunks/{websearch-rjbe0a9e.js → websearch-nah9ekst.js} +10 -10
  153. package/dist/chunks/{websearch-pbjsg7m1.js → websearch-nfdkbbm6.js} +19 -19
  154. package/dist/chunks/{websearch-rwf9r3m0.js → websearch-nfx6rd1e.js} +30 -30
  155. package/dist/chunks/{websearch-y22e2amb.js → websearch-nkxanhw7.js} +13 -13
  156. package/dist/chunks/{websearch-zxxqm14y.js → websearch-nnfcn29r.js} +13 -13
  157. package/dist/chunks/{websearch-a6959n1g.js → websearch-nt00n9sh.js} +8 -8
  158. package/dist/chunks/{websearch-zsgey489.js → websearch-nzh3qh6x.js} +5 -5
  159. package/dist/chunks/{websearch-q6bn7qw5.js → websearch-p580ev26.js} +5 -5
  160. package/dist/chunks/{websearch-ztf6n3de.js → websearch-p76me67c.js} +3 -3
  161. package/dist/chunks/{websearch-hch4wa3n.js → websearch-p8rxrw5c.js} +7 -5
  162. package/dist/chunks/{websearch-kp0e8qdv.js → websearch-p9r4530m.js} +21 -21
  163. package/dist/chunks/{websearch-85sv36r4.js → websearch-ptavmxt8.js} +35 -35
  164. package/dist/chunks/{websearch-d7qtxm9r.js → websearch-pww3ccs0.js} +18 -18
  165. package/dist/chunks/{websearch-kndc5src.js → websearch-q3k4em5e.js} +3 -3
  166. package/dist/chunks/{websearch-0421tmwc.js → websearch-q46y00v4.js} +7 -7
  167. package/dist/chunks/{websearch-qyrktak0.js → websearch-q9w4eaj5.js} +28 -28
  168. package/dist/chunks/{websearch-t0h12fke.js → websearch-q9wrv6hp.js} +9 -9
  169. package/dist/chunks/{websearch-6rg7kjpy.js → websearch-qjj7qevc.js} +23 -23
  170. package/dist/chunks/{websearch-584q6htd.js → websearch-qtw36mps.js} +2 -2
  171. package/dist/chunks/{websearch-c9erfsw0.js → websearch-qvn0et0v.js} +41 -41
  172. package/dist/chunks/{websearch-3g41ey7s.js → websearch-rdx9gx2w.js} +9 -9
  173. package/dist/chunks/{websearch-090ayew8.js → websearch-rg36x40h.js} +12 -12
  174. package/dist/chunks/{websearch-b5yc11pg.js → websearch-rv8hmem0.js} +11 -11
  175. package/dist/chunks/{websearch-vs6d5gmb.js → websearch-rw6n77w3.js} +4 -4
  176. package/dist/chunks/{websearch-0ty15b8r.js → websearch-rwvztcr2.js} +11 -11
  177. package/dist/chunks/{websearch-0kajrgn5.js → websearch-ry63fkbp.js} +7 -7
  178. package/dist/chunks/{websearch-negnaxrt.js → websearch-s3jtn4b4.js} +15 -15
  179. package/dist/chunks/{websearch-0r7sceh0.js → websearch-s5zfzkdr.js} +13 -13
  180. package/dist/chunks/{websearch-vbymnfc5.js → websearch-sa1k6cm5.js} +12 -12
  181. package/dist/chunks/websearch-sa3fpqfw.js +46 -0
  182. package/dist/chunks/{websearch-bne87zw5.js → websearch-sb275byf.js} +23 -23
  183. package/dist/chunks/{websearch-54mwpwnj.js → websearch-seqv54nm.js} +3 -3
  184. package/dist/chunks/{websearch-nzcs0wzz.js → websearch-sgrv6mzf.js} +10 -10
  185. package/dist/chunks/{websearch-etj7xr5r.js → websearch-skj4q71p.js} +22 -22
  186. package/dist/chunks/{websearch-bxfrdttp.js → websearch-srcpqtfh.js} +27 -27
  187. package/dist/chunks/{websearch-d2887f8n.js → websearch-ssfehs1z.js} +3 -3
  188. package/dist/chunks/{websearch-tn5rj4h4.js → websearch-stgkv189.js} +17 -17
  189. package/dist/chunks/{websearch-efz7hhzt.js → websearch-sxbxv19s.js} +5 -5
  190. package/dist/chunks/{websearch-an558sqv.js → websearch-t211gxpv.js} +3 -3
  191. package/dist/chunks/{websearch-mt3ysty9.js → websearch-tasvem1v.js} +3 -3
  192. package/dist/chunks/{websearch-gecnmrws.js → websearch-teq1sh86.js} +8 -8
  193. package/dist/chunks/{websearch-sf4dycwn.js → websearch-tgycm7xg.js} +8 -8
  194. package/dist/chunks/{websearch-1yf62w26.js → websearch-tkjf59m0.js} +1 -1
  195. package/dist/chunks/{websearch-1v3m6w2k.js → websearch-twhcdnyf.js} +325 -325
  196. package/dist/chunks/{websearch-9yt3qsdq.js → websearch-v50mas5h.js} +26 -26
  197. package/dist/chunks/{websearch-vgr3c4a7.js → websearch-v6e01gce.js} +1 -1
  198. package/dist/chunks/{websearch-b868c8d8.js → websearch-vq4ea6e1.js} +28 -28
  199. package/dist/chunks/{websearch-26ye1a0h.js → websearch-vs81z90t.js} +41 -41
  200. package/dist/chunks/{websearch-6jm1rnt9.js → websearch-vweg9rhc.js} +79 -79
  201. package/dist/chunks/{websearch-0jst9dmz.js → websearch-vy8mxgjx.js} +23 -23
  202. package/dist/chunks/{websearch-39kss88q.js → websearch-vzmjdaw1.js} +7 -7
  203. package/dist/chunks/{websearch-2axrbrmc.js → websearch-vzvckjxq.js} +6 -6
  204. package/dist/chunks/{websearch-nbv85aqk.js → websearch-w1zzsny8.js} +13 -13
  205. package/dist/chunks/{websearch-bn7kdvhq.js → websearch-w610p6d9.js} +9 -9
  206. package/dist/chunks/{websearch-fznmdakp.js → websearch-w687dnns.js} +3 -3
  207. package/dist/chunks/{websearch-ezejdjmf.js → websearch-wdv0vama.js} +8 -8
  208. package/dist/chunks/{websearch-kb4gstwj.js → websearch-wg3wqxny.js} +3 -3
  209. package/dist/chunks/{websearch-rsdttbp5.js → websearch-wz7v9a4w.js} +17 -17
  210. package/dist/chunks/{websearch-ga92ybw9.js → websearch-x01kwc3d.js} +10 -10
  211. package/dist/chunks/{websearch-ahjrynj8.js → websearch-x32t5rjd.js} +13 -13
  212. package/dist/chunks/{websearch-dswfp19d.js → websearch-x7e5kpxn.js} +1 -1
  213. package/dist/chunks/{websearch-w9gfj7y9.js → websearch-xe844d6a.js} +18 -18
  214. package/dist/chunks/{websearch-tdpgt7wh.js → websearch-xfs8aec3.js} +23 -23
  215. package/dist/chunks/{websearch-4hjg18t3.js → websearch-xnh3x4zb.js} +1 -1
  216. package/dist/chunks/{websearch-4p8v6gf7.js → websearch-y24s7hc7.js} +2 -2
  217. package/dist/chunks/{websearch-jneg3k74.js → websearch-y2tacs4v.js} +7 -7
  218. package/dist/chunks/{websearch-yydqqga9.js → websearch-y4n6pw34.js} +3 -3
  219. package/dist/chunks/{websearch-7jz0dh2k.js → websearch-ycg9ewh9.js} +17 -17
  220. package/dist/chunks/{websearch-zzfxyc91.js → websearch-yfja0yt8.js} +24 -24
  221. package/dist/chunks/{websearch-hswty8r3.js → websearch-ys1mpr1q.js} +19 -19
  222. package/dist/chunks/{websearch-3z074cxn.js → websearch-ys71vevy.js} +4 -4
  223. package/dist/chunks/{websearch-yg7ytxzr.js → websearch-z5wdff31.js} +9 -9
  224. package/dist/chunks/{websearch-yhta6zhb.js → websearch-zn3s3q02.js} +14 -14
  225. package/dist/chunks/{websearch-5mmnsyp9.js → websearch-zrc037h4.js} +9 -9
  226. package/dist/codemode/instructions.js +6 -6
  227. package/dist/command.js +64 -64
  228. package/dist/config/discovery.js +60 -59
  229. package/dist/config/normalize.js +70 -69
  230. package/dist/config/plugin/agent.js +81 -81
  231. package/dist/config/plugin/command.js +166 -166
  232. package/dist/config/plugin/compaction.js +115 -115
  233. package/dist/config/plugin/compatibility.js +97 -97
  234. package/dist/config/plugin/formatter.js +82 -82
  235. package/dist/config/plugin/image.js +81 -81
  236. package/dist/config/plugin/instruction.js +82 -82
  237. package/dist/config/plugin/location-watcher.js +81 -81
  238. package/dist/config/plugin/mcp.js +87 -87
  239. package/dist/config/plugin/policy.js +82 -82
  240. package/dist/config/plugin/provider.js +81 -81
  241. package/dist/config/plugin/reference.js +82 -82
  242. package/dist/config/plugin/shell.js +83 -83
  243. package/dist/config/plugin/skill-file.js +72 -71
  244. package/dist/config/plugin/skill-scan.js +3 -3
  245. package/dist/config/plugin/skill.js +100 -100
  246. package/dist/config/plugin/snapshot.js +81 -81
  247. package/dist/config/plugin/source.js +84 -84
  248. package/dist/config/plugin/tool-output.js +82 -82
  249. package/dist/config/plugin/websearch.js +82 -82
  250. package/dist/config/plugin/worktree.js +83 -83
  251. package/dist/config.js +87 -87
  252. package/dist/credential.js +63 -63
  253. package/dist/database/database.js +49 -49
  254. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  255. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  256. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  257. package/dist/database/drizzle/index.js +8 -8
  258. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  259. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  260. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  261. package/dist/database/drizzle.js +8 -8
  262. package/dist/database/migration.gen.js +39 -39
  263. package/dist/database/migration.js +40 -40
  264. package/dist/database/v1-migration.bun.js +14 -13
  265. package/dist/effect/app-node-builder.js +232 -232
  266. package/dist/environment/environment.js +65 -64
  267. package/dist/environment/index.js +67 -66
  268. package/dist/environment/unavailable.js +3 -3
  269. package/dist/event-logger.js +9 -9
  270. package/dist/file-access.js +75 -74
  271. package/dist/file-mutation.js +66 -65
  272. package/dist/filesystem/location-watcher-policy.js +5 -5
  273. package/dist/filesystem/location-watcher.js +180 -180
  274. package/dist/filesystem/protected.js +3 -3
  275. package/dist/filesystem/search.js +70 -69
  276. package/dist/filesystem/watcher.js +9 -9
  277. package/dist/filesystem.js +75 -74
  278. package/dist/form.js +65 -65
  279. package/dist/formatter/builtins.js +3 -3
  280. package/dist/formatter.js +63 -62
  281. package/dist/generate.js +79 -78
  282. package/dist/git.js +4 -3
  283. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  284. package/dist/github-copilot/copilot-provider.js +3 -3
  285. package/dist/github-copilot/models.js +73 -72
  286. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  287. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  288. package/dist/image/photon.js +1 -1
  289. package/dist/image.js +5 -5
  290. package/dist/instance/service.js +5 -5
  291. package/dist/instance.js +302 -302
  292. package/dist/instruction-discovery.js +65 -65
  293. package/dist/instructions/builtins.js +63 -62
  294. package/dist/instructions/index.js +5 -5
  295. package/dist/integration/connection.js +3 -3
  296. package/dist/integration.js +65 -65
  297. package/dist/job.js +59 -59
  298. package/dist/kv.js +54 -54
  299. package/dist/location-activity.js +67 -67
  300. package/dist/location-lifecycle.js +78 -77
  301. package/dist/location-service-map.js +62 -61
  302. package/dist/location-services.js +300 -300
  303. package/dist/location.js +57 -56
  304. package/dist/managed-policy.js +7 -7
  305. package/dist/mcp/client.js +18 -17
  306. package/dist/mcp/index.js +81 -80
  307. package/dist/mcp/instructions.js +104 -103
  308. package/dist/mcp/oauth.js +13 -13
  309. package/dist/mcp/stdio.js +62 -61
  310. package/dist/modal/models.js +73 -72
  311. package/dist/model-resolver.js +75 -74
  312. package/dist/model.js +74 -73
  313. package/dist/models-dev.js +73 -72
  314. package/dist/permission/saved.js +60 -60
  315. package/dist/permission.js +84 -83
  316. package/dist/persistent-pty/index.js +69 -69
  317. package/dist/persistent-pty.js +53 -53
  318. package/dist/plugin/agent.js +55 -55
  319. package/dist/plugin/command.js +72 -71
  320. package/dist/plugin/hooks.js +5 -5
  321. package/dist/plugin/host.js +173 -173
  322. package/dist/plugin/identity.js +5 -3
  323. package/dist/plugin/internal.js +274 -274
  324. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  325. package/dist/plugin/models-dev.js +70 -69
  326. package/dist/plugin/module.js +80 -80
  327. package/dist/plugin/optimize.js +5 -3
  328. package/dist/plugin/plan.js +73 -72
  329. package/dist/plugin/provider/amazon-bedrock.js +64 -63
  330. package/dist/plugin/provider/azure.js +82 -82
  331. package/dist/plugin/provider/chatgpt.js +80 -80
  332. package/dist/plugin/provider/cloudflare-ai-gateway.js +79 -79
  333. package/dist/plugin/provider/cloudflare-workers-ai.js +79 -79
  334. package/dist/plugin/provider/configured.js +78 -78
  335. package/dist/plugin/provider/digitalocean.js +66 -65
  336. package/dist/plugin/provider/github-copilot.js +68 -67
  337. package/dist/plugin/provider/gitlab.js +66 -65
  338. package/dist/plugin/provider/google-vertex.js +79 -79
  339. package/dist/plugin/provider/llmgateway.js +56 -56
  340. package/dist/plugin/provider/lmstudio.js +89 -89
  341. package/dist/plugin/provider/local.js +86 -86
  342. package/dist/plugin/provider/modal.js +66 -65
  343. package/dist/plugin/provider/ollama.js +89 -89
  344. package/dist/plugin/provider/openai-context-caps.js +64 -63
  345. package/dist/plugin/provider/openai.js +80 -80
  346. package/dist/plugin/provider/opencode.js +72 -71
  347. package/dist/plugin/provider/openrouter.js +65 -64
  348. package/dist/plugin/provider/poe.js +56 -56
  349. package/dist/plugin/provider/sap-ai-core.js +64 -63
  350. package/dist/plugin/provider/snowflake-cortex.js +80 -80
  351. package/dist/plugin/provider/vercel.js +64 -63
  352. package/dist/plugin/provider/vllm.js +89 -89
  353. package/dist/plugin/provider/xai.js +65 -64
  354. package/dist/plugin/provider.js +124 -124
  355. package/dist/plugin/sdk.js +55 -55
  356. package/dist/plugin/skill.js +95 -95
  357. package/dist/plugin/supervisor.js +290 -290
  358. package/dist/plugin/tool-input-repair.js +3 -3
  359. package/dist/plugin/update.js +5 -5
  360. package/dist/plugin/vcs/git.js +60 -59
  361. package/dist/plugin/vcs/hg.js +62 -61
  362. package/dist/plugin/verbosity.js +65 -64
  363. package/dist/plugin/warming.js +80 -80
  364. package/dist/plugin/websearch/firecrawl.js +6 -6
  365. package/dist/plugin/websearch/index.js +6 -6
  366. package/dist/plugin/websearch/parallel.js +2 -2
  367. package/dist/plugin/websearch/tavily.js +2 -2
  368. package/dist/plugin/websearch/tinyfish.js +6 -6
  369. package/dist/plugin.js +176 -176
  370. package/dist/project.js +56 -55
  371. package/dist/provider.js +75 -74
  372. package/dist/pty.js +64 -64
  373. package/dist/reference/instructions.js +66 -65
  374. package/dist/reference.js +64 -63
  375. package/dist/repository-cache.js +59 -58
  376. package/dist/ripgrep.js +66 -65
  377. package/dist/rpc.js +62 -61
  378. package/dist/session/command.js +54 -54
  379. package/dist/session/compaction.js +102 -101
  380. package/dist/session/context.js +127 -126
  381. package/dist/session/diff.js +62 -61
  382. package/dist/session/environment.js +5 -5
  383. package/dist/session/error.js +4 -4
  384. package/dist/session/execution/restart.js +112 -112
  385. package/dist/session/execution.js +99 -98
  386. package/dist/session/generate.js +128 -127
  387. package/dist/session/history.js +5 -5
  388. package/dist/session/inbox.js +68 -68
  389. package/dist/session/info.js +2 -2
  390. package/dist/session/instruction-entry.js +57 -57
  391. package/dist/session/instruction-state.js +2 -2
  392. package/dist/session/instructions.js +69 -68
  393. package/dist/session/model-request.js +90 -89
  394. package/dist/session/model-transport.js +7 -7
  395. package/dist/session/move.js +99 -98
  396. package/dist/session/projector.js +60 -60
  397. package/dist/session/prompt.js +74 -73
  398. package/dist/session/revert.js +66 -65
  399. package/dist/session/run-coordinator.js +3 -3
  400. package/dist/session/runner/index.js +3 -3
  401. package/dist/session/runner/llm.js +183 -183
  402. package/dist/session/runner/model.js +74 -73
  403. package/dist/session/runner/publish-llm-event.js +84 -83
  404. package/dist/session/runner/retry.js +4 -4
  405. package/dist/session/runner/step.js +96 -95
  406. package/dist/session/runner/to-llm-message.js +6 -6
  407. package/dist/session/schema.js +5 -5
  408. package/dist/session/session.js +122 -122
  409. package/dist/session/shell.js +92 -92
  410. package/dist/session/skill.js +73 -72
  411. package/dist/session/stats.js +8 -8
  412. package/dist/session/store.js +60 -60
  413. package/dist/session/subagent-job.js +166 -166
  414. package/dist/session/system-prompt.js +5 -5
  415. package/dist/session/title.js +130 -129
  416. package/dist/session/to-session-error.js +83 -82
  417. package/dist/session/transfer.js +106 -106
  418. package/dist/session.js +172 -172
  419. package/dist/shell/parse.js +6 -6
  420. package/dist/shell/select.js +12 -12
  421. package/dist/shell.js +96 -96
  422. package/dist/skill/discovery.js +5 -5
  423. package/dist/skill/instructions.js +78 -77
  424. package/dist/skill.js +83 -82
  425. package/dist/snapshot.js +69 -68
  426. package/dist/tool/mcp.js +101 -100
  427. package/dist/tool/plugin/edit.js +86 -85
  428. package/dist/tool/plugin/glob.js +91 -90
  429. package/dist/tool/plugin/grep.js +91 -90
  430. package/dist/tool/plugin/mcp-resource.js +90 -89
  431. package/dist/tool/plugin/opencode.js +78 -77
  432. package/dist/tool/plugin/patch.js +86 -85
  433. package/dist/tool/plugin/question.js +72 -71
  434. package/dist/tool/plugin/read.js +91 -90
  435. package/dist/tool/plugin/shell.js +172 -172
  436. package/dist/tool/plugin/skill.js +82 -81
  437. package/dist/tool/plugin/subagent.js +173 -173
  438. package/dist/tool/plugin/todo.js +100 -100
  439. package/dist/tool/plugin/webfetch.js +80 -79
  440. package/dist/tool/plugin/websearch.js +79 -78
  441. package/dist/tool/plugin/write.js +88 -87
  442. package/dist/tool/read-filesystem.js +72 -71
  443. package/dist/tool-output.js +5 -5
  444. package/dist/tool.js +12 -12
  445. package/dist/types/plugin/optimize.d.ts +26 -0
  446. package/dist/types/util/git-executable.d.ts +6 -2
  447. package/dist/util/git-executable.js +4 -1
  448. package/dist/v1/config/command.js +3 -3
  449. package/dist/v1/config/mcp.js +3 -3
  450. package/dist/v1/config/migrate.js +65 -64
  451. package/dist/v1/config/plugin.js +3 -3
  452. package/dist/v1/config/provider.js +3 -3
  453. package/dist/variant.js +65 -64
  454. package/dist/vcs.js +65 -64
  455. package/dist/voice.js +60 -60
  456. package/dist/websearch.js +61 -61
  457. package/dist/wellknown/plugin.js +53 -53
  458. package/dist/wellknown.js +58 -58
  459. package/dist/workspace/driver.js +7 -7
  460. package/dist/workspace.js +61 -61
  461. package/dist/worktree/git.js +7 -6
  462. package/dist/worktree/strategies.js +64 -63
  463. package/dist/worktree.js +72 -71
  464. package/package.json +8 -8
  465. package/dist/chunks/websearch-ef5x83kb.js +0 -15
  466. package/dist/chunks/websearch-gnqtsnxp.js +0 -82
  467. package/dist/chunks/websearch-ms1v96r1.js +0 -257
  468. /package/dist/chunks/{websearch-qcf9sep0.js → websearch-558sn0j3.js} +0 -0
  469. /package/dist/chunks/{websearch-j6a70pje.js → websearch-dx5g0f3r.js} +0 -0
  470. /package/dist/chunks/{websearch-sfkj0ta1.js → websearch-j34dxvpb.js} +0 -0
  471. /package/dist/chunks/{websearch-z41z05dk.js → websearch-pxkxhxat.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service63
3
- } from "./websearch-d0ctn9ee.js";
2
+ Service80
3
+ } from "./websearch-mbk0t8q9.js";
4
4
  import {
5
- Service42,
5
+ Service79,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./websearch-0ty15b8r.js";
8
+ } from "./websearch-rwvztcr2.js";
9
9
  import {
10
- Service14
11
- } from "./websearch-neyf1ckr.js";
10
+ Service15
11
+ } from "./websearch-bnarb0wx.js";
12
12
  import {
13
- Service55
14
- } from "./websearch-mptby4ra.js";
13
+ Service74
14
+ } from "./websearch-af6r45an.js";
15
15
  import {
16
- Service15
17
- } from "./websearch-y22e2amb.js";
16
+ Service14
17
+ } from "./websearch-nkxanhw7.js";
18
18
  import {
19
19
  fileDiff2
20
20
  } from "./websearch-6prwharc.js";
@@ -25,48 +25,48 @@ import {
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin19,
28
+ Input: () => Input7,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin43,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name7,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin19 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin43 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service42;
57
- const environment = yield* Service63;
58
- const formatter = yield* Service14;
59
- const permission = yield* Service55;
55
+ const access = yield* Service14;
56
+ const fileMutation = yield* Service79;
57
+ const environment = yield* Service80;
58
+ const formatter = yield* Service15;
59
+ const permission = yield* Service74;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input7,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin19, exports_write };
101
+ export { name7, Input7, Output5, toModelContent5, Plugin43, exports_write };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID13,
2
+ ID6,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./websearch-876de6v3.js";
5
+ } from "./websearch-98t00bmz.js";
6
6
  import {
7
- ID12,
7
+ ID5,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./websearch-kbjsyctr.js";
10
+ Info17
11
+ } from "./websearch-gxjy29d9.js";
12
12
  import {
13
13
  __export
14
14
  } from "./websearch-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID5.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID13.githubCopilot, id),
121
+ return Info17.make({
122
+ ...Info17.default(ID6.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID5.make(remote.id),
125
+ providerID: ID6.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./websearch-876de6v3.js";
2
+ ID6
3
+ } from "./websearch-98t00bmz.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./websearch-6q2bdcd1.js";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID6.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID6.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -9,7 +9,7 @@ import {
9
9
  } from "./websearch-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./websearch-sfkj0ta1.js";
12
+ } from "./websearch-j34dxvpb.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./websearch-vgr3c4a7.js";
4
+ } from "./websearch-v6e01gce.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
@@ -9,11 +9,11 @@ import {
9
9
  } from "./websearch-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./websearch-54mwpwnj.js";
12
+ } from "./websearch-seqv54nm.js";
13
13
  import {
14
14
  Service82,
15
15
  node86
16
- } from "./websearch-q3bgpfy7.js";
16
+ } from "./websearch-k8yzaem4.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info20,
32
+ Info: () => Info6,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service68,
35
+ Service: () => Service25,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node72
37
+ node: () => node28
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service68 extends Context.Service()("@opencode/Vcs") {
57
+ class Service25 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service68, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service82;
62
62
  const bus = yield* Service85;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service68.of({
132
+ return Service25.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node72 = makeLocationNode({
191
- service: Service68,
190
+ var node28 = makeLocationNode({
191
+ service: Service25,
192
192
  layer,
193
193
  deps: [FSUtil.node, node86, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info20, Mode2, DiffError2, InitializeError2, Service68, node72, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service25, node28, exports_vcs };
@@ -4,12 +4,12 @@ import {
4
4
  RelativePath2
5
5
  } from "./websearch-z5v4ffb3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./websearch-d0ctn9ee.js";
7
+ Service80,
8
+ node83
9
+ } from "./websearch-mbk0t8q9.js";
10
10
  import {
11
- Content2
12
- } from "./websearch-3rgj9tjs.js";
11
+ Content3
12
+ } from "./websearch-d0qd2q9y.js";
13
13
  import {
14
14
  detect2
15
15
  } from "./websearch-2z1j29yd.js";
@@ -22,7 +22,7 @@ var exports_read_filesystem = {};
22
22
  __export(exports_read_filesystem, {
23
23
  BinaryFileError: () => BinaryFileError2,
24
24
  FileContent: () => FileContent2,
25
- ListEntry: () => ListEntry2,
25
+ ListEntry: () => ListEntry3,
26
26
  ListPage: () => ListPage2,
27
27
  MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
28
28
  MAX_READ_BYTES: () => MAX_READ_BYTES2,
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service24,
36
+ Service: () => Service35,
37
37
  TextPage: () => TextPage2,
38
- node: () => node28,
38
+ node: () => node38,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
101
101
  next: Schema.optionalKey(PositiveInt2)
102
102
  }) {
103
103
  }
104
- var ListEntry2 = Schema.Struct({
104
+ var ListEntry3 = Schema.Struct({
105
105
  path: RelativePath2,
106
106
  type: Schema.Literals(["file", "directory", "symlink"])
107
107
  }).annotate({ identifier: "ReadTool.ListEntry" });
108
108
 
109
109
  class ListPage2 extends Schema.Class("ReadTool.ListPage")({
110
110
  type: Schema.Literal("list-page"),
111
- entries: Schema.Array(ListEntry2),
111
+ entries: Schema.Array(ListEntry3),
112
112
  truncated: Schema.Boolean,
113
113
  next: Schema.optionalKey(PositiveInt2)
114
114
  }) {
115
115
  }
116
116
 
117
- class Service24 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service35 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -227,7 +227,7 @@ var list = (items, page) => {
227
227
  const offset = page.offset || 1;
228
228
  const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
229
229
  const visible = items.flatMap((item) => item.type === "other" ? [] : [
230
- ListEntry2.make({
230
+ ListEntry3.make({
231
231
  path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
232
232
  type: item.type
233
233
  })
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service24, Effect.gen(function* () {
334
- const environment = yield* Service63;
335
- return Service24.of({
333
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
334
+ const environment = yield* Service80;
335
+ return Service35.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node28 = makeLocationNode({ service: Service24, layer, deps: [node66] });
340
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [node83] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service24, read2, node28, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service35, read2, node38, exports_read_filesystem };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  latest2,
3
- Service48
4
- } from "./websearch-c9erfsw0.js";
3
+ Service62
4
+ } from "./websearch-qvn0et0v.js";
5
5
  import {
6
6
  observe2
7
7
  } from "./websearch-6pjqjmy2.js";
@@ -10,17 +10,17 @@ import {
10
10
  } from "./websearch-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: () => Plugin47
13
+ var exports_websearch = {};
14
+ __export(exports_websearch, {
15
+ ConfigWebSearchPlugin: () => exports_websearch,
16
+ Plugin: () => Plugin31
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin47 = define({
20
+ var Plugin31 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service48;
23
+ const config = yield* Service62;
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 Plugin47 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin47, exports_websearch2 };
35
+ export { Plugin31, exports_websearch };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service81
3
- } from "./websearch-n7hthk3p.js";
2
+ Service69
3
+ } from "./websearch-hfcmmhta.js";
4
4
  import {
5
- Service55
6
- } from "./websearch-mptby4ra.js";
5
+ Service74
6
+ } from "./websearch-af6r45an.js";
7
7
  import {
8
8
  __export
9
9
  } from "./websearch-9rqn6x4v.js";
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service81;
57
- const permission = yield* Service55;
56
+ const forms = yield* Service69;
57
+ const permission = yield* Service74;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name15,
60
60
  options: { codemode: false },
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85
3
- } from "./websearch-vgr3c4a7.js";
3
+ } from "./websearch-v6e01gce.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./websearch-kbjsyctr.js";
6
+ } from "./websearch-gxjy29d9.js";
7
7
  import {
8
- Service16,
8
+ Service17,
9
9
  Event3
10
- } from "./websearch-9yt3qsdq.js";
10
+ } from "./websearch-v50mas5h.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -39,7 +39,7 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
39
39
  var ModelsDevPlugin2 = define({
40
40
  id: "opencode.models.dev",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const modelsDev = yield* Service16;
42
+ const modelsDev = yield* Service17;
43
43
  const bus = yield* Service85;
44
44
  const loaded = { data: snapshots(yield* modelsDev.get()) };
45
45
  yield* ctx.integration.transform((integrations) => {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./websearch-z5v4ffb3.js";
4
4
  import {
5
5
  Service82
6
- } from "./websearch-q3bgpfy7.js";
6
+ } from "./websearch-k8yzaem4.js";
7
7
  import {
8
8
  __export
9
9
  } from "./websearch-9rqn6x4v.js";
@@ -13,7 +13,7 @@ var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3,
16
+ names: () => names4,
17
17
  preferencePaths: () => preferencePaths2,
18
18
  stripPreferenceMetadata: () => stripPreferenceMetadata2,
19
19
  systemDirectory: () => systemDirectory2
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { Effect } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Global } from "@opencode/util/global";
26
- var names3 = ["opencode.json", "opencode.jsonc"];
26
+ var names4 = ["opencode.json", "opencode.jsonc"];
27
27
  function systemDirectory2(platform = process.platform, env = process.env) {
28
28
  if (platform === "darwin")
29
29
  return AbsolutePath2.make("/Library/Application Support/opencode");
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
71
71
  const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
72
72
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
73
73
  const parent = yield* fs.resolve(directory);
74
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
74
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
75
75
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
76
76
  const globalEnabled = options?.global !== false;
77
- const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
77
+ const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
78
78
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
79
79
  const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
80
80
  return {
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
99
99
  };
100
100
  });
101
101
 
102
- export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
102
+ export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-dmk8nbcm.js";
3
+ } from "./websearch-dncnpr57.js";
4
4
  import {
5
5
  __export
6
6
  } from "./websearch-9rqn6x4v.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service49,
3
- node52
4
- } from "./websearch-negnaxrt.js";
2
+ Service63,
3
+ node66
4
+ } from "./websearch-s3jtn4b4.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./websearch-q3bgpfy7.js";
8
+ } from "./websearch-k8yzaem4.js";
9
9
  import {
10
- Service48,
11
- node51
12
- } from "./websearch-c9erfsw0.js";
10
+ Service62,
11
+ node65
12
+ } from "./websearch-qvn0et0v.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
@@ -22,10 +22,10 @@ import {
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service10,
25
+ Service: () => Service6,
26
26
  empty: () => empty2,
27
- layer: () => layer8,
28
- node: () => node12
27
+ layer: () => layer5,
28
+ node: () => node7
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer8 = Layer.effect(Service10, Effect.gen(function* () {
39
- const config = yield* Service48;
40
- const watcher = yield* Service49;
38
+ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
39
+ const config = yield* Service62;
40
+ const watcher = yield* Service63;
41
41
  const fs = yield* FSUtil.Service;
42
42
  const location = yield* Service82;
43
43
  const configuredChanges = yield* PubSub.unbounded();
@@ -58,7 +58,7 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service10.of({
61
+ return Service6.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node12 = makeLocationNode({
74
- service: Service10,
75
- layer: layer8,
76
- deps: [node51, FSUtil.node, node52, node86]
73
+ var node7 = makeLocationNode({
74
+ service: Service6,
75
+ layer: layer5,
76
+ deps: [node65, FSUtil.node, node66, node86]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service10,
80
- layer: Layer.succeed(Service10, Service10.of({
79
+ service: Service6,
80
+ layer: Layer.succeed(Service6, Service6.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service10, layer8, node12, empty2, exports_source };
140
+ export { Service6, layer5, node7, empty2, exports_source };