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

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +92 -92
  4. package/dist/aisdk.js +98 -98
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{websearch-sb275byf.js → file-mutation-01hh241z.js} +25 -25
  8. package/dist/chunks/{websearch-sgrv6mzf.js → file-mutation-02wxth5p.js} +10 -10
  9. package/dist/chunks/{websearch-dh62xe4r.js → file-mutation-033a0jkt.js} +3 -3
  10. package/dist/chunks/{websearch-034tev2y.js → file-mutation-034tev2y.js} +2 -2
  11. package/dist/chunks/{websearch-ft9kpk2e.js → file-mutation-0bpyqdcp.js} +7 -7
  12. package/dist/chunks/{websearch-1jq5v97j.js → file-mutation-0h3xmpcd.js} +20 -20
  13. package/dist/chunks/{websearch-3ypzwevx.js → file-mutation-0xtm3epc.js} +4 -4
  14. package/dist/chunks/{websearch-9sh8p6nx.js → file-mutation-0xwwrpjs.js} +52 -52
  15. package/dist/chunks/{websearch-6ejgy672.js → file-mutation-12a87htm.js} +8 -8
  16. package/dist/chunks/{websearch-1ep2p91f.js → file-mutation-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{websearch-dx5g0f3r.js → file-mutation-1fz8ksxp.js} +50 -50
  18. package/dist/chunks/{websearch-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
  19. package/dist/chunks/{websearch-2fx6sc8m.js → file-mutation-23yr3n9z.js} +1 -1
  20. package/dist/chunks/{websearch-888hgb07.js → file-mutation-299v56h7.js} +13 -13
  21. package/dist/chunks/{websearch-gg9100yt.js → file-mutation-2a44g180.js} +39 -39
  22. package/dist/chunks/{websearch-79ykxmfx.js → file-mutation-2c7jpr6s.js} +5 -5
  23. package/dist/chunks/{websearch-709aftea.js → file-mutation-2x7k2tv7.js} +42 -42
  24. package/dist/chunks/{websearch-5xfk6dbg.js → file-mutation-2xk8pskj.js} +8 -8
  25. package/dist/chunks/{websearch-2z1j29yd.js → file-mutation-2z1j29yd.js} +1 -1
  26. package/dist/chunks/file-mutation-33kxm06j.js +26 -0
  27. package/dist/chunks/{websearch-k61qs451.js → file-mutation-38wt7cws.js} +47 -47
  28. package/dist/chunks/{websearch-a4fjeg88.js → file-mutation-3fasazex.js} +21 -21
  29. package/dist/chunks/{websearch-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{websearch-nt00n9sh.js → file-mutation-3kcm3cr6.js} +10 -10
  31. package/dist/chunks/{websearch-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
  32. package/dist/chunks/{websearch-8371ggt2.js → file-mutation-3ryazf7k.js} +21 -21
  33. package/dist/chunks/{websearch-x01kwc3d.js → file-mutation-3s1mf836.js} +11 -11
  34. package/dist/chunks/{websearch-zrc037h4.js → file-mutation-3s5n2216.js} +13 -13
  35. package/dist/chunks/{websearch-a42dnrht.js → file-mutation-46bhyqhg.js} +28 -28
  36. package/dist/chunks/{websearch-qtw36mps.js → file-mutation-4acjqbzf.js} +3 -3
  37. package/dist/chunks/{websearch-rwvztcr2.js → file-mutation-4bccegnb.js} +13 -13
  38. package/dist/chunks/{websearch-48yja14g.js → file-mutation-4e2qh63v.js} +11 -11
  39. package/dist/chunks/{websearch-p8rxrw5c.js → file-mutation-4qyttppm.js} +5 -5
  40. package/dist/chunks/{websearch-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
  41. package/dist/chunks/{websearch-mbk0t8q9.js → file-mutation-4x6w1zj9.js} +24 -24
  42. package/dist/chunks/{websearch-ebh17g7q.js → file-mutation-4x9m2bcx.js} +19 -19
  43. package/dist/chunks/{websearch-4xvmh7wp.js → file-mutation-4xvmh7wp.js} +3 -3
  44. package/dist/chunks/{websearch-z5wdff31.js → file-mutation-4yhdbwgv.js} +11 -11
  45. package/dist/chunks/{websearch-ycg9ewh9.js → file-mutation-53hqh508.js} +19 -19
  46. package/dist/chunks/{websearch-5nqw6vw5.js → file-mutation-5abcwat7.js} +7 -7
  47. package/dist/chunks/{websearch-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{websearch-vzmjdaw1.js → file-mutation-5qv54f7z.js} +5 -5
  49. package/dist/chunks/{websearch-72gkwb92.js → file-mutation-5qykrmpj.js} +13 -13
  50. package/dist/chunks/{websearch-h7ymgnqs.js → file-mutation-5wenzm93.js} +8 -8
  51. package/dist/chunks/{websearch-1rbznk76.js → file-mutation-5y2ykpjn.js} +30 -30
  52. package/dist/chunks/{websearch-gk8rb9qf.js → file-mutation-5yh6gtt2.js} +17 -17
  53. package/dist/chunks/{websearch-1yq9hg58.js → file-mutation-5zrxpy3q.js} +5 -5
  54. package/dist/chunks/{websearch-gxjy29d9.js → file-mutation-62kc5cbt.js} +34 -34
  55. package/dist/chunks/{websearch-gg4606bf.js → file-mutation-65x6vsj8.js} +19 -19
  56. package/dist/chunks/file-mutation-6bgb0w8a.js +257 -0
  57. package/dist/chunks/{websearch-57p715bj.js → file-mutation-6c83wpy3.js} +5 -5
  58. package/dist/chunks/{websearch-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
  59. package/dist/chunks/{websearch-6pjqjmy2.js → file-mutation-6pjqjmy2.js} +1 -1
  60. package/dist/chunks/{websearch-bd5kqybq.js → file-mutation-6qfw85j3.js} +20 -20
  61. package/dist/chunks/{websearch-drcvb97p.js → file-mutation-6xvk4rvf.js} +36 -36
  62. package/dist/chunks/{websearch-srcpqtfh.js → file-mutation-75d5grb6.js} +28 -28
  63. package/dist/chunks/{websearch-nah043kf.js → file-mutation-770pw0s1.js} +4 -4
  64. package/dist/chunks/{websearch-ys1mpr1q.js → file-mutation-7987nrfd.js} +20 -20
  65. package/dist/chunks/{websearch-e43td24s.js → file-mutation-79x1vadv.js} +9 -9
  66. package/dist/chunks/{websearch-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{websearch-ka8y8jkb.js → file-mutation-7dt954pf.js} +19 -19
  68. package/dist/chunks/{websearch-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
  69. package/dist/chunks/{websearch-4x5ne6q5.js → file-mutation-818eymrz.js} +6 -6
  70. package/dist/chunks/{websearch-7deqkbqn.js → file-mutation-8404fn9j.js} +6 -6
  71. package/dist/chunks/{websearch-tgycm7xg.js → file-mutation-8c5q3ptd.js} +9 -9
  72. package/dist/chunks/{websearch-hy8c1z76.js → file-mutation-8d2bz6m6.js} +4 -4
  73. package/dist/chunks/{websearch-vs81z90t.js → file-mutation-8emcj4mr.js} +43 -43
  74. package/dist/chunks/{websearch-vzvckjxq.js → file-mutation-8fz9qv1y.js} +7 -7
  75. package/dist/chunks/{websearch-w1zzsny8.js → file-mutation-8qe8mbnw.js} +19 -19
  76. package/dist/chunks/{websearch-y24s7hc7.js → file-mutation-8qvck1z4.js} +3 -3
  77. package/dist/chunks/{websearch-0yhm11wk.js → file-mutation-8sv36032.js} +34 -34
  78. package/dist/chunks/{websearch-06vk0kzn.js → file-mutation-8tbw44dq.js} +4 -4
  79. package/dist/chunks/{websearch-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/{websearch-y4n6pw34.js → file-mutation-8xs8wyc8.js} +4 -4
  81. package/dist/chunks/{websearch-91rj84md.js → file-mutation-91rj84md.js} +1 -1
  82. package/dist/chunks/{websearch-9b28cy4d.js → file-mutation-953xbrr3.js} +5 -5
  83. package/dist/chunks/{websearch-998yhzzq.js → file-mutation-998yhzzq.js} +3 -3
  84. package/dist/chunks/{websearch-m5hjs3vf.js → file-mutation-9czp4gmt.js} +26 -26
  85. package/dist/chunks/{websearch-5f5f6dw4.js → file-mutation-9e319wwh.js} +21 -21
  86. package/dist/chunks/{websearch-b7mcgwp3.js → file-mutation-9yn8het3.js} +4 -4
  87. package/dist/chunks/{websearch-d2nhvyww.js → file-mutation-a45jdcy2.js} +33 -33
  88. package/dist/chunks/{websearch-c1khejyh.js → file-mutation-a7r94pj9.js} +4 -4
  89. package/dist/chunks/{websearch-rw6n77w3.js → file-mutation-ads9zrhy.js} +4 -4
  90. package/dist/chunks/{websearch-agqd6nxz.js → file-mutation-agqd6nxz.js} +2 -2
  91. package/dist/chunks/{websearch-ca6atg52.js → file-mutation-an8jph8e.js} +45 -45
  92. package/dist/chunks/{websearch-akv6whtz.js → file-mutation-atdxfxea.js} +30 -30
  93. package/dist/chunks/{websearch-d1g76nqk.js → file-mutation-av31dtj6.js} +15 -15
  94. package/dist/chunks/{websearch-ayjs7tqn.js → file-mutation-ayjs7tqn.js} +2 -2
  95. package/dist/chunks/{websearch-b0mv4wxm.js → file-mutation-b0mv4wxm.js} +2 -2
  96. package/dist/chunks/{websearch-hf84ee0d.js → file-mutation-b2n4kpg1.js} +19 -19
  97. package/dist/chunks/{websearch-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
  98. package/dist/chunks/{websearch-v6e01gce.js → file-mutation-bhymm4ka.js} +4 -4
  99. package/dist/chunks/{websearch-stgkv189.js → file-mutation-brp5t0mv.js} +24 -24
  100. package/dist/chunks/{websearch-rdx9gx2w.js → file-mutation-bxt4wf11.js} +8 -8
  101. package/dist/chunks/{websearch-kp4881bv.js → file-mutation-c1hp29t2.js} +15 -15
  102. package/dist/chunks/{websearch-783zccns.js → file-mutation-c1vp62rn.js} +12 -12
  103. package/dist/chunks/{websearch-c3cfh5w6.js → file-mutation-c3cfh5w6.js} +2 -2
  104. package/dist/chunks/{websearch-x7e5kpxn.js → file-mutation-cm3rm329.js} +3 -3
  105. package/dist/chunks/{websearch-028jhwed.js → file-mutation-cqcvpaa1.js} +11 -11
  106. package/dist/chunks/{websearch-9v9xq6k7.js → file-mutation-crzd7t9a.js} +32 -32
  107. package/dist/chunks/{websearch-7akzmw6y.js → file-mutation-cs87y13h.js} +8 -8
  108. package/dist/chunks/{websearch-x32t5rjd.js → file-mutation-csg5pa84.js} +16 -16
  109. package/dist/chunks/{websearch-rv8hmem0.js → file-mutation-ctabavz2.js} +17 -17
  110. package/dist/chunks/{websearch-ssfehs1z.js → file-mutation-d2887f8n.js} +4 -4
  111. package/dist/chunks/{websearch-1y0wdj51.js → file-mutation-d2dx6a7h.js} +4 -4
  112. package/dist/chunks/{websearch-mqrfkf7g.js → file-mutation-d3vz98ev.js} +9 -9
  113. package/dist/chunks/{websearch-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
  114. package/dist/chunks/{websearch-p9r4530m.js → file-mutation-d6a2g7hg.js} +23 -23
  115. package/dist/chunks/{websearch-a7hcemwv.js → file-mutation-d8qd4w10.js} +8 -8
  116. package/dist/chunks/{websearch-fy4awrc2.js → file-mutation-db21j9qk.js} +9 -9
  117. package/dist/chunks/{websearch-csqtxx7c.js → file-mutation-dvbewn83.js} +4 -4
  118. package/dist/chunks/{websearch-sa1k6cm5.js → file-mutation-dy6w43s9.js} +14 -14
  119. package/dist/chunks/{websearch-nzh3qh6x.js → file-mutation-dz8z5rmr.js} +5 -5
  120. package/dist/chunks/{websearch-4kaztr7e.js → file-mutation-e5y4b45j.js} +14 -14
  121. package/dist/chunks/{websearch-e834z07m.js → file-mutation-e834z07m.js} +1 -1
  122. package/dist/chunks/{websearch-87s7n4ge.js → file-mutation-eat1kxrx.js} +15 -15
  123. package/dist/chunks/{websearch-32tek056.js → file-mutation-ec5kptgt.js} +6 -6
  124. package/dist/chunks/{websearch-vweg9rhc.js → file-mutation-ed4thbkn.js} +86 -86
  125. package/dist/chunks/{websearch-xnh3x4zb.js → file-mutation-ef9prmak.js} +4 -4
  126. package/dist/chunks/{websearch-hvwvq3df.js → file-mutation-efr9f7w8.js} +8 -8
  127. package/dist/chunks/{websearch-xfs8aec3.js → file-mutation-ejqqbn2a.js} +20 -20
  128. package/dist/chunks/{websearch-8dbt3gp8.js → file-mutation-epy9ft1b.js} +15 -15
  129. package/dist/chunks/{websearch-seqv54nm.js → file-mutation-evr6t6br.js} +25 -25
  130. package/dist/chunks/{websearch-h069xeqn.js → file-mutation-exkeg691.js} +17 -17
  131. package/dist/chunks/{websearch-v50mas5h.js → file-mutation-f62v42d5.js} +31 -31
  132. package/dist/chunks/{websearch-jkxkafzy.js → file-mutation-fbdaedg4.js} +14 -14
  133. package/dist/chunks/{websearch-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
  134. package/dist/chunks/{websearch-zn3s3q02.js → file-mutation-fmqc0xxy.js} +14 -14
  135. package/dist/chunks/{websearch-w687dnns.js → file-mutation-fznmdakp.js} +4 -4
  136. package/dist/chunks/{websearch-d0qd2q9y.js → file-mutation-fzpdbh9r.js} +30 -30
  137. package/dist/chunks/{websearch-htnwkh5a.js → file-mutation-fzybaf5h.js} +32 -32
  138. package/dist/chunks/{websearch-0sc0whcy.js → file-mutation-g484p7w5.js} +26 -26
  139. package/dist/chunks/{websearch-g5h9c0rr.js → file-mutation-g5h9c0rr.js} +2 -2
  140. package/dist/chunks/{websearch-gk3b5har.js → file-mutation-g8ycf2ce.js} +84 -84
  141. package/dist/chunks/{websearch-bgm817xr.js → file-mutation-gcjdgkn2.js} +9 -9
  142. package/dist/chunks/{websearch-s5zfzkdr.js → file-mutation-gspt6sck.js} +18 -18
  143. package/dist/chunks/{websearch-hfcmmhta.js → file-mutation-hedmc2nt.js} +24 -24
  144. package/dist/chunks/{websearch-610jhrvc.js → file-mutation-hfs7ms8q.js} +27 -27
  145. package/dist/chunks/{websearch-d86zx6ex.js → file-mutation-hnbfpcqv.js} +25 -25
  146. package/dist/chunks/{websearch-45k1q4jf.js → file-mutation-hrg8f2pc.js} +12 -12
  147. package/dist/chunks/{websearch-j113cymg.js → file-mutation-j113cymg.js} +1 -1
  148. package/dist/chunks/{websearch-bnarb0wx.js → file-mutation-jek6gdnj.js} +15 -15
  149. package/dist/chunks/{websearch-nnfcn29r.js → file-mutation-jgk1jw6b.js} +14 -14
  150. package/dist/chunks/{websearch-wz7v9a4w.js → file-mutation-jr209fpd.js} +17 -17
  151. package/dist/chunks/{websearch-gcrsyfkm.js → file-mutation-k0fwm03j.js} +5 -5
  152. package/dist/chunks/{websearch-p580ev26.js → file-mutation-k3cw2t6y.js} +6 -6
  153. package/dist/chunks/{websearch-9fm2qjhc.js → file-mutation-k533psas.js} +13 -13
  154. package/dist/chunks/{websearch-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
  155. package/dist/chunks/{websearch-16hqm74r.js → file-mutation-kb1d5h98.js} +3 -3
  156. package/dist/chunks/{websearch-6a99w62x.js → file-mutation-kh1vw83k.js} +2 -2
  157. package/dist/chunks/{websearch-3tt1qka2.js → file-mutation-km0c355e.js} +33 -33
  158. package/dist/chunks/{websearch-k8yzaem4.js → file-mutation-kxjzb63p.js} +14 -14
  159. package/dist/chunks/{websearch-m1714858.js → file-mutation-m1714858.js} +1 -1
  160. package/dist/chunks/{websearch-m37sd98t.js → file-mutation-m37sd98t.js} +1 -1
  161. package/dist/chunks/{websearch-abdhesrb.js → file-mutation-m3hhjj3r.js} +36 -36
  162. package/dist/chunks/{websearch-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  163. package/dist/chunks/{websearch-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
  164. package/dist/chunks/{websearch-ecj92f6p.js → file-mutation-mn76yzm5.js} +16 -16
  165. package/dist/chunks/{websearch-48kw51zw.js → file-mutation-mtpeagzc.js} +3 -3
  166. package/dist/chunks/{websearch-n0p0277s.js → file-mutation-n0p0277s.js} +1 -1
  167. package/dist/chunks/{websearch-n1pz9w08.js → file-mutation-n1pz9w08.js} +4 -4
  168. package/dist/chunks/{websearch-6y263vp8.js → file-mutation-n6v2b7cw.js} +5 -5
  169. package/dist/chunks/{websearch-tkjf59m0.js → file-mutation-njq30gkr.js} +1 -1
  170. package/dist/chunks/{websearch-4ytg8f8f.js → file-mutation-nkr5r85d.js} +2 -2
  171. package/dist/chunks/{websearch-ba38v71t.js → file-mutation-nv70q41g.js} +5 -5
  172. package/dist/chunks/{websearch-4p7eafa8.js → file-mutation-nxwvdtkc.js} +5 -5
  173. package/dist/chunks/{websearch-twhcdnyf.js → file-mutation-nzgmgab6.js} +333 -333
  174. package/dist/chunks/{websearch-pxkxhxat.js → file-mutation-nzs7qp78.js} +6 -6
  175. package/dist/chunks/{websearch-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
  176. package/dist/chunks/{websearch-g0cks53z.js → file-mutation-p8mg4rnn.js} +48 -48
  177. package/dist/chunks/{websearch-qjj7qevc.js → file-mutation-pb0whgjq.js} +19 -19
  178. package/dist/chunks/{websearch-87fjpdw3.js → file-mutation-pckbcfmj.js} +19 -19
  179. package/dist/chunks/{websearch-skj4q71p.js → file-mutation-pds8n59z.js} +26 -26
  180. package/dist/chunks/{websearch-wg3wqxny.js → file-mutation-pdwvva8b.js} +5 -5
  181. package/dist/chunks/{websearch-w610p6d9.js → file-mutation-pfm7dcjx.js} +11 -11
  182. package/dist/chunks/{websearch-j34dxvpb.js → file-mutation-pfq1ksym.js} +5 -5
  183. package/dist/chunks/{websearch-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  184. package/dist/chunks/{websearch-0ear39jp.js → file-mutation-ppd8r3bw.js} +11 -11
  185. package/dist/chunks/{websearch-p76me67c.js → file-mutation-prd8gnhb.js} +4 -4
  186. package/dist/chunks/{websearch-1cjk9esd.js → file-mutation-q0cbencw.js} +2 -2
  187. package/dist/chunks/{websearch-9d47xe23.js → file-mutation-q0xgbsd8.js} +25 -25
  188. package/dist/chunks/{websearch-mxpbzbap.js → file-mutation-q1q5csf7.js} +18 -18
  189. package/dist/chunks/{websearch-48khph17.js → file-mutation-q2qa99s7.js} +11 -11
  190. package/dist/chunks/{websearch-4sjm1mdd.js → file-mutation-q6qy2ezf.js} +24 -24
  191. package/dist/chunks/{websearch-5bfg49e7.js → file-mutation-q7rdkpep.js} +4 -4
  192. package/dist/chunks/{websearch-f89qnyv0.js → file-mutation-q9p72tx2.js} +64 -64
  193. package/dist/chunks/{websearch-hyv9r77w.js → file-mutation-qavs5vq9.js} +16 -16
  194. package/dist/chunks/{websearch-76t1xp06.js → file-mutation-qdxj2zxm.js} +25 -25
  195. package/dist/chunks/{websearch-kdw5wkbd.js → file-mutation-qe8qxr7j.js} +31 -31
  196. package/dist/chunks/{websearch-qjgzc4b4.js → file-mutation-qjgzc4b4.js} +1 -1
  197. package/dist/chunks/{websearch-9cvvmdrm.js → file-mutation-qraask58.js} +23 -23
  198. package/dist/chunks/{websearch-538n6qw9.js → file-mutation-qvf9anv7.js} +22 -22
  199. package/dist/chunks/{websearch-sxbxv19s.js → file-mutation-qxqh84zc.js} +10 -10
  200. package/dist/chunks/{websearch-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
  201. package/dist/chunks/{websearch-30asdcnx.js → file-mutation-r1yhsp9x.js} +3 -3
  202. package/dist/chunks/{websearch-jgp1rfxc.js → file-mutation-r26ws53m.js} +11 -11
  203. package/dist/chunks/{websearch-fgr117q8.js → file-mutation-r2exrp63.js} +14 -14
  204. package/dist/chunks/{websearch-40za9wsf.js → file-mutation-r41sfy63.js} +6 -6
  205. package/dist/chunks/{websearch-af6r45an.js → file-mutation-r4tfxt3f.js} +40 -40
  206. package/dist/chunks/{websearch-b4nx6saa.js → file-mutation-rb428vte.js} +9 -9
  207. package/dist/chunks/{websearch-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
  208. package/dist/chunks/{websearch-nkxanhw7.js → file-mutation-rc8s48yf.js} +18 -18
  209. package/dist/chunks/{websearch-78je3d3v.js → file-mutation-rddakqqk.js} +18 -18
  210. package/dist/chunks/{websearch-5gwd981r.js → file-mutation-rdsfrh75.js} +15 -15
  211. package/dist/chunks/{websearch-s3jtn4b4.js → file-mutation-rmpmkka0.js} +18 -18
  212. package/dist/chunks/{websearch-nfdkbbm6.js → file-mutation-rstnpv25.js} +14 -14
  213. package/dist/chunks/{websearch-kfknhheq.js → file-mutation-rt32ykrj.js} +8 -8
  214. package/dist/chunks/{websearch-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
  215. package/dist/chunks/{websearch-ar2j3j0f.js → file-mutation-rwp901jg.js} +4 -4
  216. package/dist/chunks/{websearch-2a2xbt2q.js → file-mutation-s15vm27z.js} +19 -19
  217. package/dist/chunks/{websearch-dcw70mgd.js → file-mutation-s1yg9hd2.js} +15 -15
  218. package/dist/chunks/{websearch-50bs153s.js → file-mutation-s5d01prw.js} +5 -5
  219. package/dist/chunks/{websearch-sa3fpqfw.js → file-mutation-sa3fpqfw.js} +2 -2
  220. package/dist/chunks/{websearch-98t00bmz.js → file-mutation-sbsfx9rq.js} +30 -30
  221. package/dist/chunks/{websearch-yfja0yt8.js → file-mutation-sga46wt1.js} +28 -28
  222. package/dist/chunks/{websearch-ys71vevy.js → file-mutation-sgzfv2ep.js} +7 -7
  223. package/dist/chunks/{websearch-q9w4eaj5.js → file-mutation-sh7sp5ah.js} +23 -23
  224. package/dist/chunks/{websearch-ez0ps4vh.js → file-mutation-sncwygnk.js} +9 -9
  225. package/dist/chunks/{websearch-fyr07a1r.js → file-mutation-sndntm2r.js} +24 -24
  226. package/dist/chunks/{websearch-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{websearch-hdcc19jf.js → file-mutation-st6532p2.js} +11 -11
  228. package/dist/chunks/{websearch-558sn0j3.js → file-mutation-sxeq46ve.js} +7 -7
  229. package/dist/chunks/{websearch-02bgezqx.js → file-mutation-t5xvwr0v.js} +35 -35
  230. package/dist/chunks/{websearch-tasvem1v.js → file-mutation-tasvem1v.js} +3 -3
  231. package/dist/chunks/{websearch-em430e81.js → file-mutation-tc5ygtk7.js} +18 -18
  232. package/dist/chunks/{websearch-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
  233. package/dist/chunks/{websearch-qvn0et0v.js → file-mutation-tgkfec1y.js} +45 -45
  234. package/dist/chunks/{websearch-wdv0vama.js → file-mutation-tn37q2tj.js} +9 -9
  235. package/dist/chunks/{websearch-q46y00v4.js → file-mutation-tpm1qpxt.js} +9 -9
  236. package/dist/chunks/{websearch-5v4yb9wj.js → file-mutation-tqpw8n9t.js} +10 -10
  237. package/dist/chunks/{websearch-tw8zr1ps.js → file-mutation-tw8zr1ps.js} +1 -1
  238. package/dist/chunks/{websearch-twv2r8f4.js → file-mutation-twv2r8f4.js} +2 -2
  239. package/dist/chunks/{websearch-aw3srb6e.js → file-mutation-v0tjffkk.js} +10 -10
  240. package/dist/chunks/{websearch-07kams43.js → file-mutation-v17rck64.js} +54 -54
  241. package/dist/chunks/{websearch-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{websearch-vy8mxgjx.js → file-mutation-v6bgn6xy.js} +17 -17
  243. package/dist/chunks/{websearch-vd3b3yk9.js → file-mutation-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/file-mutation-vdh3rgac.js +18 -0
  245. package/dist/chunks/{websearch-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  246. package/dist/chunks/{websearch-52760bbp.js → file-mutation-vhn1km4s.js} +32 -32
  247. package/dist/chunks/{websearch-ew9j7vn7.js → file-mutation-vjk8yab7.js} +184 -184
  248. package/dist/chunks/{websearch-bcvfpan3.js → file-mutation-vn0431e0.js} +14 -14
  249. package/dist/chunks/{websearch-50ya5pgh.js → file-mutation-vprqjk3y.js} +4 -4
  250. package/dist/chunks/{websearch-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{websearch-nah9ekst.js → file-mutation-w4x1nz7y.js} +12 -12
  252. package/dist/chunks/{websearch-ey051h0d.js → file-mutation-w6qwbe6w.js} +21 -21
  253. package/dist/chunks/{websearch-1qn5xget.js → file-mutation-w7akjha9.js} +11 -11
  254. package/dist/chunks/{websearch-76cb1hcw.js → file-mutation-w8qtt4th.js} +4 -4
  255. package/dist/chunks/{websearch-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{websearch-xe844d6a.js → file-mutation-wbtek7hf.js} +28 -28
  257. package/dist/chunks/{websearch-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  258. package/dist/chunks/{websearch-exzfyd93.js → file-mutation-wnbwervj.js} +9 -9
  259. package/dist/chunks/{websearch-5kxxqds9.js → file-mutation-wvn9agqa.js} +11 -11
  260. package/dist/chunks/{websearch-2kpf2tnx.js → file-mutation-ww70jcze.js} +11 -11
  261. package/dist/chunks/{websearch-t211gxpv.js → file-mutation-wwye013q.js} +7 -7
  262. package/dist/chunks/{websearch-5mb8ret5.js → file-mutation-x75whda2.js} +11 -11
  263. package/dist/chunks/{websearch-dncnpr57.js → file-mutation-x96j0kvq.js} +10 -10
  264. package/dist/chunks/{websearch-vq4ea6e1.js → file-mutation-xd4cchzg.js} +36 -36
  265. package/dist/chunks/{websearch-bstexjd6.js → file-mutation-xd9cc171.js} +5 -5
  266. package/dist/chunks/{websearch-q9wrv6hp.js → file-mutation-xgyrt5mg.js} +14 -14
  267. package/dist/chunks/{websearch-cvna5pvx.js → file-mutation-xh0rg2ax.js} +7 -7
  268. package/dist/chunks/{websearch-6revxm77.js → file-mutation-xy6nqvtr.js} +20 -20
  269. package/dist/chunks/{websearch-q3k4em5e.js → file-mutation-y0kzaj5g.js} +3 -3
  270. package/dist/chunks/{websearch-k4g9p6fx.js → file-mutation-y0r2nan2.js} +17 -17
  271. package/dist/chunks/{websearch-y2tacs4v.js → file-mutation-y2tacs4v.js} +1 -1
  272. package/dist/chunks/{websearch-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{websearch-b4e1jcxa.js → file-mutation-ybycavcp.js} +17 -17
  274. package/dist/chunks/{websearch-627jp256.js → file-mutation-yfy7v86t.js} +11 -11
  275. package/dist/chunks/{websearch-2e9c1ftj.js → file-mutation-ype8y937.js} +10 -10
  276. package/dist/chunks/{websearch-ry63fkbp.js → file-mutation-yq70x34n.js} +4 -4
  277. package/dist/chunks/{websearch-ptavmxt8.js → file-mutation-ysqmn0dh.js} +36 -36
  278. package/dist/chunks/{websearch-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{websearch-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
  280. package/dist/chunks/{websearch-n1jvtmv7.js → file-mutation-z4mkj7zj.js} +23 -23
  281. package/dist/chunks/{websearch-6tbrfh06.js → file-mutation-z4qvj0p0.js} +40 -40
  282. package/dist/chunks/{websearch-b2fr11m5.js → file-mutation-z52ffdcm.js} +8 -8
  283. package/dist/chunks/{websearch-pww3ccs0.js → file-mutation-z5tx473w.js} +18 -18
  284. package/dist/chunks/{websearch-2sadzmpt.js → file-mutation-zeztr7cr.js} +21 -21
  285. package/dist/chunks/{websearch-nfx6rd1e.js → file-mutation-zgn0e7bm.js} +30 -30
  286. package/dist/chunks/{websearch-zkg84ctx.js → file-mutation-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{websearch-rg36x40h.js → file-mutation-zycxxtq8.js} +16 -16
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +87 -87
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +102 -102
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +105 -105
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +114 -114
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +90 -90
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +96 -96
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +96 -96
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +107 -107
  416. package/dist/file-mutation.js +97 -97
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +90 -90
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +11 -11
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +102 -102
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +90 -90
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +106 -106
  467. package/dist/location-service-map.js +89 -89
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +88 -88
  470. package/dist/managed-policy.js +6 -6
  471. package/dist/mcp/client.js +94 -94
  472. package/dist/mcp/index.js +112 -112
  473. package/dist/mcp/instructions.js +141 -141
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +93 -93
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +102 -102
  479. package/dist/model-resolver.js +98 -98
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +105 -105
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +110 -110
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +90 -90
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +103 -103
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +5 -5
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +99 -99
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +105 -105
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +93 -93
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +96 -96
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +98 -98
  518. package/dist/plugin/provider/gitlab.js +96 -96
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +95 -95
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +93 -93
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +101 -101
  531. package/dist/plugin/provider/openrouter.js +94 -94
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +94 -94
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +93 -93
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +94 -94
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +168 -168
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +351 -351
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +4 -4
  550. package/dist/plugin/vcs/git.js +89 -89
  551. package/dist/plugin/vcs/hg.js +89 -89
  552. package/dist/plugin/verbosity.js +96 -96
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +89 -89
  565. package/dist/provider.js +102 -102
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +92 -92
  570. package/dist/reference.js +94 -94
  571. package/dist/repository-cache.js +84 -84
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +100 -100
  575. package/dist/rpc.js +89 -89
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +139 -139
  580. package/dist/session/context.js +165 -165
  581. package/dist/session/diff.js +91 -91
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +129 -129
  587. package/dist/session/generate.js +167 -167
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +100 -100
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +123 -123
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +133 -133
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +108 -108
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +97 -97
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +103 -103
  608. package/dist/session/runner/publish-llm-event.js +117 -117
  609. package/dist/session/runner/retry.js +3 -3
  610. package/dist/session/runner/step.js +129 -129
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +163 -163
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +106 -106
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +169 -169
  623. package/dist/session/to-session-error.js +115 -115
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +110 -110
  634. package/dist/skill.js +115 -115
  635. package/dist/snapshot.js +94 -94
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +138 -138
  640. package/dist/tool/plugin/edit.js +117 -117
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +125 -125
  643. package/dist/tool/plugin/grep.js +127 -127
  644. package/dist/tool/plugin/mcp-resource.js +127 -127
  645. package/dist/tool/plugin/opencode.js +112 -112
  646. package/dist/tool/plugin/patch.js +125 -125
  647. package/dist/tool/plugin/question.js +106 -106
  648. package/dist/tool/plugin/read.js +122 -122
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +116 -116
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +116 -116
  654. package/dist/tool/plugin/websearch.js +115 -115
  655. package/dist/tool/plugin/write.js +125 -125
  656. package/dist/tool/read-filesystem.js +103 -103
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +3 -3
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +95 -95
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +94 -94
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +92 -92
  678. package/dist/voice.js +88 -88
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +79 -79
  682. package/dist/workspace/driver.js +3 -3
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +80 -80
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +9 -9
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +92 -92
  689. package/dist/worktree.js +101 -101
  690. package/package.json +8 -8
  691. package/dist/chunks/websearch-00ve6mdn.js +0 -18
  692. package/dist/chunks/websearch-meywf6fv.js +0 -257
  693. package/dist/chunks/websearch-teq1sh86.js +0 -26
  694. /package/dist/chunks/{websearch-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{websearch-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{websearch-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{websearch-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{websearch-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{websearch-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{websearch-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{websearch-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{websearch-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{websearch-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  704. /package/dist/chunks/{websearch-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{websearch-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{websearch-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{websearch-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{websearch-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{websearch-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{websearch-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  711. /package/dist/chunks/{websearch-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{websearch-5fjb7ams.js → file-mutation-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{websearch-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{websearch-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  715. /package/dist/chunks/{websearch-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{websearch-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{websearch-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{websearch-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  719. /package/dist/chunks/{websearch-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{websearch-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{websearch-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{websearch-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{websearch-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{websearch-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{websearch-a058387c.js → file-mutation-a058387c.js} +0 -0
  726. /package/dist/chunks/{websearch-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{websearch-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{websearch-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{websearch-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{websearch-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{websearch-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{websearch-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{websearch-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{websearch-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{websearch-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{websearch-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{websearch-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{websearch-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{websearch-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  740. /package/dist/chunks/{websearch-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{websearch-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{websearch-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{websearch-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{websearch-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{websearch-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{websearch-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{websearch-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{websearch-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{websearch-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{websearch-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{websearch-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  752. /package/dist/chunks/{websearch-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{websearch-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  754. /package/dist/chunks/{websearch-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{websearch-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  756. /package/dist/chunks/{websearch-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{websearch-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{websearch-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{websearch-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{websearch-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{websearch-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{websearch-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{websearch-m18g726c.js → file-mutation-m18g726c.js} +0 -0
  764. /package/dist/chunks/{websearch-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{websearch-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{websearch-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{websearch-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{websearch-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{websearch-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{websearch-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{websearch-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{websearch-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{websearch-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{websearch-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{websearch-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{websearch-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{websearch-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{websearch-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{websearch-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{websearch-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{websearch-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{websearch-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{websearch-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{websearch-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{websearch-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{websearch-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{websearch-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  788. /package/dist/chunks/{websearch-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{websearch-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{websearch-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{websearch-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{websearch-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{websearch-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-dncnpr57.js";
3
+ } from "./file-mutation-x96j0kvq.js";
4
4
  import {
5
5
  Service85
6
- } from "./websearch-v6e01gce.js";
6
+ } from "./file-mutation-bhymm4ka.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15,
10
- Service68
11
- } from "./websearch-srcpqtfh.js";
9
+ Event13,
10
+ Service62
11
+ } from "./file-mutation-75d5grb6.js";
12
12
  import {
13
- ID7,
13
+ ID9,
14
14
  MethodID2
15
- } from "./websearch-0sc0whcy.js";
15
+ } from "./file-mutation-g484p7w5.js";
16
16
  import {
17
- ID6,
17
+ ID8,
18
18
  mergeOverlay2
19
- } from "./websearch-98t00bmz.js";
19
+ } from "./file-mutation-sbsfx9rq.js";
20
20
  import {
21
- ID5,
21
+ ID7,
22
22
  VariantID2,
23
- Info17
24
- } from "./websearch-gxjy29d9.js";
23
+ Info15
24
+ } from "./file-mutation-62kc5cbt.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./websearch-yb20nhc3.js";
28
+ } from "./file-mutation-yb20nhc3.js";
29
29
  import {
30
30
  get5
31
- } from "./websearch-3nnrz6f6.js";
31
+ } from "./file-mutation-3nnrz6f6.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./websearch-7deqkbqn.js";
34
+ } from "./file-mutation-8404fn9j.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID6.openai;
47
- var integrationID = ID7.make("openai");
46
+ var providerID = ID8.openai;
47
+ var integrationID = ID9.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
182
  const bus = yield* Service85;
183
- const credentials = yield* Service68;
183
+ const credentials = yield* Service62;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID7.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID5.make(model.slug))).map((model) => deriveModel(model, Info17.default(ID6.openai, ID5.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID8.openai, ID7.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./websearch-qfa1cgps.js";
3
+ } from "./file-mutation-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./websearch-y24s7hc7.js";
4
+ } from "./file-mutation-8qvck1z4.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./websearch-3hepkmqq.js";
7
+ } from "./file-mutation-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service72,
17
- node: () => node75
16
+ Service: () => Service82,
17
+ node: () => node86
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service72 extends Context.Service()("@opencode/KV") {
22
+ class Service82 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service72, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
25
25
  const db = (yield* Service86).db;
26
- return Service72.of({
26
+ return Service82.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node75 = makeGlobalNode({ service: Service72, layer, deps: [node90] });
54
+ var node86 = makeGlobalNode({ service: Service82, layer, deps: [node90] });
55
55
 
56
- export { Service72, node75, exports_kv };
56
+ export { Service82, node86, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service62
4
- } from "./websearch-qvn0et0v.js";
3
+ Service57
4
+ } from "./file-mutation-tgkfec1y.js";
5
5
  import {
6
6
  observe2
7
- } from "./websearch-6pjqjmy2.js";
7
+ } from "./file-mutation-6pjqjmy2.js";
8
8
  import {
9
- Service74
10
- } from "./websearch-af6r45an.js";
9
+ Service69
10
+ } from "./file-mutation-r4tfxt3f.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/todo.ts
16
16
  var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
- Input: () => Input2,
20
- Output: () => Output2,
21
- Plugin: () => Plugin37,
19
+ Input: () => Input7,
20
+ Output: () => Output4,
21
+ Plugin: () => Plugin8,
22
22
  TodoTool: () => exports_todo,
23
- name: () => name2,
23
+ name: () => name7,
24
24
  summarize: () => summarize2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
37
37
  `;
38
38
 
39
39
  // src/tool/plugin/todo.ts
40
- var name2 = "todowrite";
40
+ var name7 = "todowrite";
41
41
  var Info2 = Schema.Struct({
42
42
  content: Schema.String.annotate({ description: "Brief description of the task" }),
43
43
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
44
44
  description: "Current status of the task: pending, in_progress, completed, cancelled"
45
45
  })
46
46
  });
47
- var Input2 = Schema.Struct({
47
+ var Input7 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
- var Output2 = Schema.Struct({
50
+ var Output4 = Schema.Struct({
51
51
  todos: Schema.Array(Info2)
52
52
  });
53
53
  var summarize2 = (todos) => {
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin37 = {
64
+ var Plugin8 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service62;
68
- const permission = yield* Service74;
67
+ const config = yield* Service57;
68
+ const permission = yield* Service69;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
72
72
  if (!enabled())
73
73
  return;
74
74
  editor.add({
75
- name: name2,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
- input: Input2,
79
- output: Output2,
78
+ input: Input7,
79
+ output: Output4,
80
80
  execute: (input, context) => permission.assert({
81
- action: name2,
81
+ action: name7,
82
82
  resources: ["*"],
83
83
  save: ["*"],
84
84
  sessionID: context.sessionID,
@@ -94,4 +94,4 @@ var Plugin37 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name2, Info2, Input2, Output2, summarize2, Plugin37, exports_todo };
97
+ export { name7, Info2, Input7, Output4, summarize2, Plugin8, exports_todo };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID14,
2
+ ID15,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./websearch-2a2xbt2q.js";
5
+ } from "./file-mutation-s15vm27z.js";
6
6
  import {
7
7
  __export
8
- } from "./websearch-9rqn6x4v.js";
8
+ } from "./file-mutation-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
11
  var exports_agent = {};
12
12
  __export(exports_agent, {
13
13
  AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin9
14
+ Plugin: () => Plugin31
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin9 = define({
60
+ var Plugin31 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin9 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID14.make("general"), (item) => {
70
+ editor.update(ID15.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID14.make("explore"), (item) => {
76
+ editor.update(ID15.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID14.make("compaction"), (item) => {
83
+ editor.update(ID15.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID14.make("title"), (item) => {
88
+ editor.update(ID15.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID14.make("summary"), (item) => {
95
+ editor.update(ID15.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin9 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin9, exports_agent };
106
+ export { Plugin31, exports_agent };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./websearch-vd3b3yk9.js";
3
+ } from "./file-mutation-vd3b3yk9.js";
4
4
  import {
5
- Service62
6
- } from "./websearch-qvn0et0v.js";
5
+ Service57
6
+ } from "./file-mutation-tgkfec1y.js";
7
7
  import {
8
8
  match2
9
- } from "./websearch-z38nccrw.js";
9
+ } from "./file-mutation-z38nccrw.js";
10
10
  import {
11
- Service19,
11
+ Service16,
12
12
  statements2,
13
13
  decision2
14
- } from "./websearch-wdv0vama.js";
14
+ } from "./file-mutation-tn37q2tj.js";
15
15
  import {
16
16
  observe2
17
- } from "./websearch-6pjqjmy2.js";
17
+ } from "./file-mutation-6pjqjmy2.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./file-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin34
26
+ Plugin: () => Plugin45
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin34 = define({
30
+ var Plugin45 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service62;
34
- const managed = yield* Service19;
33
+ const config = yield* Service57;
34
+ const managed = yield* Service16;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -76,4 +76,4 @@ var Plugin34 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin34, exports_policy };
79
+ export { Plugin45, exports_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./websearch-z5v4ffb3.js";
3
+ } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./websearch-k8yzaem4.js";
5
+ Service79,
6
+ node83
7
+ } from "./file-mutation-kxjzb63p.js";
8
8
  import {
9
- Service48,
10
- node52
11
- } from "./websearch-em430e81.js";
9
+ Service76,
10
+ node79
11
+ } from "./file-mutation-tc5ygtk7.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./websearch-76cb1hcw.js";
14
+ names4
15
+ } from "./file-mutation-w8qtt4th.js";
16
16
  import {
17
17
  __export
18
- } from "./websearch-9rqn6x4v.js";
18
+ } from "./file-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service45,
25
- configured: () => configured7,
24
+ Service: () => Service75,
25
+ configured: () => configured8,
26
26
  fffLayer: () => fffLayer2,
27
- node: () => node49
27
+ node: () => node78
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import path from "path";
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
32
32
  import { Fff } from "#fff";
33
33
  import fuzzysort from "fuzzysort";
34
34
  import { FileSystem } from "@opencode/schema/filesystem";
35
- class Service45 extends Context.Service()("@opencode/FileSystem/Search") {
35
+ class Service75 extends Context.Service()("@opencode/FileSystem/Search") {
36
36
  }
37
37
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
38
38
  function emptyIndex() {
@@ -51,9 +51,9 @@ function search(index, input) {
51
51
  });
52
52
  });
53
53
  }
54
- var ripgrepLayer = Layer.effect(Service45, Effect.gen(function* () {
55
- const location = yield* Service82;
56
- const ripgrep = yield* Service48;
54
+ var ripgrepLayer = Layer.effect(Service75, Effect.gen(function* () {
55
+ const location = yield* Service79;
56
+ const ripgrep = yield* Service76;
57
57
  const scope = yield* Scope.Scope;
58
58
  const clock = yield* Clock.Clock;
59
59
  const home = isHome2(location.directory);
@@ -70,7 +70,7 @@ var ripgrepLayer = Layer.effect(Service45, Effect.gen(function* () {
70
70
  cwd: location.directory,
71
71
  pattern: "*",
72
72
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
73
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
73
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
74
74
  onEntry: (entry) => Effect.sync(() => {
75
75
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
76
76
  const parts = entry.path.split("/");
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service45, Effect.gen(function* () {
98
98
  Deferred.doneUnsafe(attempt, exit);
99
99
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
100
100
  });
101
- return Service45.of({
101
+ return Service75.of({
102
102
  find: (input) => Effect.gen(function* () {
103
103
  yield* refresh;
104
104
  return search(index, input);
105
105
  })
106
106
  });
107
107
  }));
108
- var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
109
- const location = yield* Service82;
108
+ var fffLayer2 = Layer.effect(Service75, Effect.gen(function* () {
109
+ const location = yield* Service79;
110
110
  const result = yield* Effect.try({
111
111
  try: () => Fff.create({
112
112
  basePath: location.directory,
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
119
119
  if (!result?.ok) {
120
120
  if (result)
121
121
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
122
- return Service45.of({
122
+ return Service75.of({
123
123
  find: () => Effect.succeed([])
124
124
  });
125
125
  }
126
126
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
127
- return Service45.of({
127
+ return Service75.of({
128
128
  find: (input) => Effect.sync(() => {
129
129
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
130
130
  const items = (() => {
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
171
- const location = yield* Service82;
171
+ const location = yield* Service79;
172
172
  if (location.workspaceID)
173
173
  return ripgrepLayer;
174
174
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
175
175
  return ripgrepLayer;
176
176
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
177
177
  }));
178
- function configured7(options) {
179
- return makeLocationNode({ service: Service45, layer: layer(options), deps: [node86, node52] });
178
+ function configured8(options) {
179
+ return makeLocationNode({ service: Service75, layer: layer(options), deps: [node83, node79] });
180
180
  }
181
- var node49 = configured7();
181
+ var node78 = configured8();
182
182
 
183
- export { Service45, fffLayer2, configured7, node49, exports_search };
183
+ export { Service75, fffLayer2, configured8, node78, exports_search };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./websearch-98t00bmz.js";
3
+ } from "./file-mutation-sbsfx9rq.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./websearch-gxjy29d9.js";
6
+ } from "./file-mutation-62kc5cbt.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./websearch-qjgzc4b4.js";
3
+ } from "./file-mutation-qjgzc4b4.js";
4
4
  import {
5
- Service80,
6
- node83
7
- } from "./websearch-mbk0t8q9.js";
5
+ Service77,
6
+ node80
7
+ } from "./file-mutation-4x6w1zj9.js";
8
8
  import {
9
9
  __export
10
- } from "./websearch-9rqn6x4v.js";
10
+ } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service79,
17
- node: () => node82,
16
+ Service: () => Service66,
17
+ node: () => node69,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service79 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service66 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service79, Effect.gen(function* () {
38
- const environment = yield* Service80;
37
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
38
+ const environment = yield* Service77;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service79.of({ withLock, write, writeTextPreservingBom });
59
+ return Service66.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node82 = makeLocationNode({ service: Service79, layer, deps: [node83] });
61
+ var node69 = makeLocationNode({ service: Service66, layer, deps: [node80] });
62
62
 
63
- export { Service79, readText2, syncTextBom2, node82, exports_file_mutation };
63
+ export { Service66, readText2, syncTextBom2, node69, exports_file_mutation };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-dncnpr57.js";
3
+ } from "./file-mutation-x96j0kvq.js";
4
4
  import {
5
5
  OAuth3,
6
- Service68
7
- } from "./websearch-srcpqtfh.js";
6
+ Service62
7
+ } from "./file-mutation-75d5grb6.js";
8
8
  import {
9
- ID7,
9
+ ID9,
10
10
  MethodID2
11
- } from "./websearch-0sc0whcy.js";
11
+ } from "./file-mutation-g484p7w5.js";
12
12
  import {
13
- ID6,
13
+ ID8,
14
14
  mergeOverlay2
15
- } from "./websearch-98t00bmz.js";
15
+ } from "./file-mutation-sbsfx9rq.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID6.make("xai");
27
+ var providerID = ID8.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID7.make("xai"),
47
+ integrationID: ID9.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service68;
73
- yield* Effect.forEach(yield* credentials.list(ID7.make("xai")), (credential) => {
72
+ const credentials = yield* Service62;
73
+ yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {