@opencode/core 0.0.0-dev-21387 → 0.0.0-dev-21390

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{event-logger-0gdmqesm.js → file-mutation-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{event-logger-rq0bn2t5.js → file-mutation-03cyahpz.js} +25 -25
  9. package/dist/chunks/{event-logger-dtxsy7wm.js → file-mutation-06xmkky8.js} +13 -13
  10. package/dist/chunks/{event-logger-fepwfk8f.js → file-mutation-06xsmntz.js} +2 -2
  11. package/dist/chunks/{event-logger-74t224rd.js → file-mutation-0b01yxp0.js} +43 -43
  12. package/dist/chunks/{event-logger-7dqw4kz8.js → file-mutation-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{event-logger-ns720xzt.js → file-mutation-0qg9wp3b.js} +12 -12
  14. package/dist/chunks/{event-logger-cr69fjw7.js → file-mutation-0rv871qk.js} +12 -12
  15. package/dist/chunks/{event-logger-0davf6sd.js → file-mutation-0s171grw.js} +22 -22
  16. package/dist/chunks/{event-logger-8ev3b84m.js → file-mutation-0s4zgerr.js} +33 -33
  17. package/dist/chunks/{event-logger-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{event-logger-k69cqzmt.js → file-mutation-10sr3c2w.js} +10 -10
  19. package/dist/chunks/{event-logger-5g5sexc8.js → file-mutation-11bsw10t.js} +19 -19
  20. package/dist/chunks/{event-logger-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
  21. package/dist/chunks/{event-logger-wjr9rjd7.js → file-mutation-1ffvrpkg.js} +9 -9
  22. package/dist/chunks/{event-logger-dtnhn6dh.js → file-mutation-1fz8ksxp.js} +50 -50
  23. package/dist/chunks/{event-logger-apvbqsv3.js → file-mutation-1sqrcqpt.js} +6 -6
  24. package/dist/chunks/{event-logger-fbndn9th.js → file-mutation-1yd7h3h8.js} +11 -11
  25. package/dist/chunks/{event-logger-58ez54yx.js → file-mutation-23yr3n9z.js} +1 -1
  26. package/dist/chunks/{event-logger-qkd85dmw.js → file-mutation-28b9pmxf.js} +29 -29
  27. package/dist/chunks/{event-logger-w3pa87t5.js → file-mutation-28jszdgh.js} +15 -15
  28. package/dist/chunks/{event-logger-k1tsx7e9.js → file-mutation-2a3rnyjp.js} +1 -1
  29. package/dist/chunks/{event-logger-62q9wyeh.js → file-mutation-2w943ba3.js} +5 -5
  30. package/dist/chunks/{event-logger-7ppz45ns.js → file-mutation-2yz1g7gy.js} +23 -23
  31. package/dist/chunks/{event-logger-wt8k87w5.js → file-mutation-30mkkrgf.js} +8 -8
  32. package/dist/chunks/{event-logger-92gz47bb.js → file-mutation-37688efw.js} +16 -16
  33. package/dist/chunks/{event-logger-1f0rmtk8.js → file-mutation-37qnpxgx.js} +28 -28
  34. package/dist/chunks/{event-logger-9gp6apfa.js → file-mutation-3a7k8z3r.js} +27 -27
  35. package/dist/chunks/{event-logger-e7a0tnjd.js → file-mutation-3aj445ja.js} +9 -9
  36. package/dist/chunks/{event-logger-1aasmg7z.js → file-mutation-3berxp5h.js} +13 -13
  37. package/dist/chunks/{event-logger-98h6b40k.js → file-mutation-3bynrp5j.js} +29 -28
  38. package/dist/chunks/{event-logger-230vxcgc.js → file-mutation-3cywy0c3.js} +3 -3
  39. package/dist/chunks/{event-logger-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{event-logger-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{event-logger-g0asar3z.js → file-mutation-3jb9jjfv.js} +15 -15
  42. package/dist/chunks/{event-logger-s4fkhgs2.js → file-mutation-3kkkyqec.js} +9 -9
  43. package/dist/chunks/{event-logger-xbwvg8w4.js → file-mutation-3pr61yv2.js} +29 -29
  44. package/dist/chunks/{event-logger-jsqaqst9.js → file-mutation-3qta67sk.js} +11 -11
  45. package/dist/chunks/{event-logger-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{event-logger-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{event-logger-arvfy1x3.js → file-mutation-3v80qfk6.js} +8 -8
  48. package/dist/chunks/{event-logger-19jaxqvz.js → file-mutation-3y1bhqyq.js} +12 -12
  49. package/dist/chunks/{event-logger-t928kr56.js → file-mutation-3zqpxcym.js} +52 -52
  50. package/dist/chunks/{event-logger-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{event-logger-jpqeh2wc.js → file-mutation-41czef58.js} +4 -4
  52. package/dist/chunks/{event-logger-15f8sa68.js → file-mutation-41gx20tv.js} +17 -17
  53. package/dist/chunks/{event-logger-kjrd9b6q.js → file-mutation-42ehbd6e.js} +8 -8
  54. package/dist/chunks/{event-logger-tv4f17r3.js → file-mutation-45ag4h5e.js} +42 -42
  55. package/dist/chunks/{event-logger-fa83yftt.js → file-mutation-4t0fmp6z.js} +12 -12
  56. package/dist/chunks/{event-logger-tzt8skxj.js → file-mutation-4vmkhc5n.js} +14 -14
  57. package/dist/chunks/{event-logger-4zvqx7mh.js → file-mutation-519d1vwx.js} +7 -7
  58. package/dist/chunks/{event-logger-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
  59. package/dist/chunks/{event-logger-5757br3t.js → file-mutation-56spgh5t.js} +22 -22
  60. package/dist/chunks/file-mutation-57e5yzdy.js +257 -0
  61. package/dist/chunks/{event-logger-5g57z1ma.js → file-mutation-5g57z1ma.js} +1 -1
  62. package/dist/chunks/{event-logger-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{event-logger-y0jvwb8z.js → file-mutation-5mdvenct.js} +19 -19
  64. package/dist/chunks/{event-logger-zh7te6am.js → file-mutation-5t7451fr.js} +9 -9
  65. package/dist/chunks/{event-logger-bx5fxdna.js → file-mutation-62mz8jvf.js} +29 -29
  66. package/dist/chunks/{event-logger-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
  67. package/dist/chunks/{event-logger-jx5mtn20.js → file-mutation-6azzqc0z.js} +6 -6
  68. package/dist/chunks/{event-logger-b8p2k3p8.js → file-mutation-6eg9htqv.js} +1 -1
  69. package/dist/chunks/{event-logger-k0w48235.js → file-mutation-6m0ab3mz.js} +11 -11
  70. package/dist/chunks/{event-logger-76ymgwed.js → file-mutation-6n4b0dsb.js} +9 -9
  71. package/dist/chunks/{event-logger-b5d3j6rk.js → file-mutation-6t4vhed6.js} +5 -5
  72. package/dist/chunks/{event-logger-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{event-logger-sx0rs7d0.js → file-mutation-6zc1k7ct.js} +30 -23
  74. package/dist/chunks/{event-logger-jmg1zvdz.js → file-mutation-74q762c0.js} +14 -14
  75. package/dist/chunks/{event-logger-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
  76. package/dist/chunks/{event-logger-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{event-logger-9pz8w8a5.js → file-mutation-7djxwg8w.js} +25 -25
  78. package/dist/chunks/{event-logger-kx0rrjhv.js → file-mutation-7ndcpfx4.js} +13 -13
  79. package/dist/chunks/{event-logger-t0xyvzmy.js → file-mutation-7r5wsdye.js} +10 -10
  80. package/dist/chunks/{event-logger-g0t57f6q.js → file-mutation-7r9mhtn4.js} +33 -33
  81. package/dist/chunks/{event-logger-qgqe4jb4.js → file-mutation-7smjb1nk.js} +171 -171
  82. package/dist/chunks/{event-logger-a20pjse5.js → file-mutation-7v6vae4w.js} +3 -3
  83. package/dist/chunks/{event-logger-687tthex.js → file-mutation-7x5efvhs.js} +322 -322
  84. package/dist/chunks/{event-logger-ay857t3e.js → file-mutation-8185hgv1.js} +8 -8
  85. package/dist/chunks/{event-logger-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
  86. package/dist/chunks/{event-logger-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{event-logger-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
  88. package/dist/chunks/{event-logger-brc60g1j.js → file-mutation-8xmp1zer.js} +37 -37
  89. package/dist/chunks/{event-logger-z7vjr8ds.js → file-mutation-8y1w76e6.js} +20 -20
  90. package/dist/chunks/{event-logger-y7x08173.js → file-mutation-97yqkd1k.js} +8 -8
  91. package/dist/chunks/{event-logger-sp5zyyma.js → file-mutation-9c3np669.js} +8 -8
  92. package/dist/chunks/{event-logger-r79z9z6k.js → file-mutation-9qpecfme.js} +13 -13
  93. package/dist/chunks/{event-logger-enp2k9s2.js → file-mutation-9zs8zcdx.js} +20 -20
  94. package/dist/chunks/{event-logger-ayw5mjn6.js → file-mutation-a2px89rw.js} +24 -24
  95. package/dist/chunks/{event-logger-0vhjnex2.js → file-mutation-a565ke38.js} +20 -20
  96. package/dist/chunks/{event-logger-5evw82hy.js → file-mutation-a82304wy.js} +34 -34
  97. package/dist/chunks/{event-logger-tg8yqqgq.js → file-mutation-ad4w0vjn.js} +19 -19
  98. package/dist/chunks/{event-logger-zm1nwptd.js → file-mutation-ak9msbxp.js} +4 -4
  99. package/dist/chunks/{event-logger-965mmkss.js → file-mutation-atdrdmj6.js} +6 -6
  100. package/dist/chunks/{event-logger-mh8c02nx.js → file-mutation-aw52c1ne.js} +19 -19
  101. package/dist/chunks/{event-logger-wfakye87.js → file-mutation-b2nsbkna.js} +11 -11
  102. package/dist/chunks/{event-logger-w0dm5bba.js → file-mutation-bhs00ts1.js} +28 -28
  103. package/dist/chunks/{event-logger-2nca96aj.js → file-mutation-bqjpzzk3.js} +24 -24
  104. package/dist/chunks/{event-logger-jkqvgxx0.js → file-mutation-bsa6sgws.js} +26 -26
  105. package/dist/chunks/{event-logger-sdvhx7x2.js → file-mutation-c13z1yp1.js} +33 -33
  106. package/dist/chunks/{event-logger-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{event-logger-zp2m4z3e.js → file-mutation-c87k5ccs.js} +16 -16
  108. package/dist/chunks/{event-logger-yzk9yanh.js → file-mutation-cb4re6k7.js} +3 -3
  109. package/dist/chunks/{event-logger-w6a51qjs.js → file-mutation-ce3wexff.js} +15 -15
  110. package/dist/chunks/{event-logger-q9kcnnwr.js → file-mutation-cm67jkab.js} +12 -12
  111. package/dist/chunks/{event-logger-ngts6ef0.js → file-mutation-cmmdg65p.js} +8 -8
  112. package/dist/chunks/{event-logger-ft3hqk2c.js → file-mutation-cwa6csj7.js} +9 -9
  113. package/dist/chunks/{event-logger-dqz2rgy5.js → file-mutation-d5et20rv.js} +4 -4
  114. package/dist/chunks/{event-logger-baaqp4zd.js → file-mutation-ddt2bs9e.js} +4 -4
  115. package/dist/chunks/{event-logger-vkwbrgfm.js → file-mutation-dfpkkgmz.js} +5 -5
  116. package/dist/chunks/{event-logger-5e84ase9.js → file-mutation-dp2x8bvg.js} +11 -11
  117. package/dist/chunks/{event-logger-pa8pe2x7.js → file-mutation-dv1qgsyq.js} +8 -8
  118. package/dist/chunks/{event-logger-dys7k0s0.js → file-mutation-dys7k0s0.js} +3 -3
  119. package/dist/chunks/{event-logger-ady6em11.js → file-mutation-dzx86zvg.js} +11 -11
  120. package/dist/chunks/{event-logger-8v8qb0a2.js → file-mutation-e27yq2dh.js} +15 -15
  121. package/dist/chunks/{event-logger-qgwrdebb.js → file-mutation-e4m676a8.js} +34 -34
  122. package/dist/chunks/{event-logger-j9kxwsfy.js → file-mutation-eajv9c1q.js} +26 -26
  123. package/dist/chunks/{event-logger-2bem4azs.js → file-mutation-eb4sm8gp.js} +13 -13
  124. package/dist/chunks/{event-logger-axpqfvf7.js → file-mutation-ee0gr7kd.js} +21 -21
  125. package/dist/chunks/{event-logger-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
  126. package/dist/chunks/{event-logger-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{event-logger-n0wcvart.js → file-mutation-efacs7fs.js} +7 -7
  128. package/dist/chunks/{event-logger-4t8k2r1g.js → file-mutation-ehvt2tba.js} +26 -26
  129. package/dist/chunks/{event-logger-eg96fwp0.js → file-mutation-em5cgnc4.js} +49 -49
  130. package/dist/chunks/{event-logger-3r4bkgjj.js → file-mutation-erxfktnw.js} +4 -4
  131. package/dist/chunks/{event-logger-g68bhc8c.js → file-mutation-etvgdas2.js} +15 -15
  132. package/dist/chunks/{event-logger-d4t4d4a4.js → file-mutation-fb8cphng.js} +11 -11
  133. package/dist/chunks/{event-logger-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
  134. package/dist/chunks/{event-logger-d855j11k.js → file-mutation-fp29cjek.js} +7 -7
  135. package/dist/chunks/{event-logger-1w2wqhfv.js → file-mutation-fxaymqdw.js} +4 -4
  136. package/dist/chunks/{event-logger-sjf9w9sn.js → file-mutation-fzp13ncj.js} +5 -5
  137. package/dist/chunks/{event-logger-nd4tfyg0.js → file-mutation-g686f6pq.js} +9 -9
  138. package/dist/chunks/{event-logger-1pxz8ven.js → file-mutation-g6yfr6ja.js} +5 -5
  139. package/dist/chunks/{event-logger-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{event-logger-9hwaqfsw.js → file-mutation-gj71zhbs.js} +5 -5
  141. package/dist/chunks/{event-logger-v2ae6mvm.js → file-mutation-gr66jygg.js} +43 -43
  142. package/dist/chunks/{event-logger-8s48m379.js → file-mutation-gvvbrpww.js} +6 -6
  143. package/dist/chunks/{event-logger-fbx2zj7f.js → file-mutation-gybtzb9x.js} +7 -7
  144. package/dist/chunks/{event-logger-gn5cfhfe.js → file-mutation-gzspr1z4.js} +3 -3
  145. package/dist/chunks/{event-logger-wqc59w9s.js → file-mutation-h4bdw36b.js} +16 -16
  146. package/dist/chunks/{event-logger-yb0xqw03.js → file-mutation-h62a697x.js} +8 -8
  147. package/dist/chunks/{event-logger-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{event-logger-kracvgcn.js → file-mutation-hd1nrk2b.js} +8 -8
  149. package/dist/chunks/{event-logger-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
  150. package/dist/chunks/{event-logger-w2vjr3dt.js → file-mutation-hkgnaefc.js} +11 -11
  151. package/dist/chunks/{event-logger-xvcwxf7g.js → file-mutation-j8th9n6h.js} +10 -10
  152. package/dist/chunks/{event-logger-aqgqfsze.js → file-mutation-j9d78s05.js} +30 -30
  153. package/dist/chunks/{event-logger-t2sc8hs2.js → file-mutation-jf9n6w3j.js} +11 -11
  154. package/dist/chunks/{event-logger-f5xhthqg.js → file-mutation-jfbb0hnv.js} +2 -2
  155. package/dist/chunks/{event-logger-04z4t5gq.js → file-mutation-jfhp5m7r.js} +32 -32
  156. package/dist/chunks/{event-logger-yfx0wecs.js → file-mutation-jgzj6jsc.js} +14 -14
  157. package/dist/chunks/{event-logger-gws3ea32.js → file-mutation-jjqh5zx4.js} +12 -12
  158. package/dist/chunks/{event-logger-3v37xfbr.js → file-mutation-jjypx1zf.js} +4 -4
  159. package/dist/chunks/{event-logger-jg914ar5.js → file-mutation-jpecd9th.js} +3 -3
  160. package/dist/chunks/{event-logger-4r6mwygs.js → file-mutation-jsn4hjph.js} +8 -8
  161. package/dist/chunks/{event-logger-w6p74w5s.js → file-mutation-jt9ed28e.js} +11 -11
  162. package/dist/chunks/{event-logger-e5qxg8h8.js → file-mutation-jx6q8471.js} +45 -45
  163. package/dist/chunks/{event-logger-kj230rep.js → file-mutation-k02f29ms.js} +30 -30
  164. package/dist/chunks/{event-logger-v1vwdnn2.js → file-mutation-ka369yzh.js} +27 -27
  165. package/dist/chunks/{event-logger-h5jqacnq.js → file-mutation-kb1d5h98.js} +3 -3
  166. package/dist/chunks/{event-logger-dqkkx36v.js → file-mutation-kd03d9gr.js} +4 -4
  167. package/dist/chunks/{event-logger-3ga9038w.js → file-mutation-kdzm5bhe.js} +18 -18
  168. package/dist/chunks/{event-logger-dd9rmwq8.js → file-mutation-kr4x12kf.js} +22 -22
  169. package/dist/chunks/{event-logger-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
  170. package/dist/chunks/{event-logger-kh3zyzzy.js → file-mutation-kxej0ekr.js} +11 -11
  171. package/dist/chunks/file-mutation-m73346m7.js +26 -0
  172. package/dist/chunks/{event-logger-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{event-logger-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
  174. package/dist/chunks/{event-logger-x0414q09.js → file-mutation-mqg3fzsn.js} +16 -16
  175. package/dist/chunks/{event-logger-143qq2q9.js → file-mutation-mtpeagzc.js} +3 -3
  176. package/dist/chunks/{event-logger-6ssy61w6.js → file-mutation-mydhh9sm.js} +75 -75
  177. package/dist/chunks/{event-logger-7yjr90q2.js → file-mutation-ndzdr1dv.js} +2 -2
  178. package/dist/chunks/{event-logger-nz56sr1f.js → file-mutation-nz56sr1f.js} +2 -2
  179. package/dist/chunks/{event-logger-hjcmja4m.js → file-mutation-nzs7qp78.js} +6 -6
  180. package/dist/chunks/{event-logger-t2jvn6s6.js → file-mutation-p190h37r.js} +19 -19
  181. package/dist/chunks/{event-logger-bmh1v8cy.js → file-mutation-p2wcahxe.js} +87 -87
  182. package/dist/chunks/{event-logger-dzse07y5.js → file-mutation-p7a39gy5.js} +6 -6
  183. package/dist/chunks/{event-logger-qmgn6hh6.js → file-mutation-pbacqn8s.js} +5 -5
  184. package/dist/chunks/{event-logger-aewryxaa.js → file-mutation-pcdas667.js} +27 -27
  185. package/dist/chunks/file-mutation-pf31ssb9.js +18 -0
  186. package/dist/chunks/{event-logger-vykevjvn.js → file-mutation-pfq1ksym.js} +5 -5
  187. package/dist/chunks/{event-logger-7p7hk8sv.js → file-mutation-pgfe47gj.js} +23 -23
  188. package/dist/chunks/{event-logger-j1a03btz.js → file-mutation-phsgz9sx.js} +5 -5
  189. package/dist/chunks/{event-logger-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{event-logger-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  191. package/dist/chunks/{event-logger-rkprpv83.js → file-mutation-py3kkmfq.js} +2 -2
  192. package/dist/chunks/{event-logger-4v86bgjk.js → file-mutation-q0cbencw.js} +2 -2
  193. package/dist/chunks/{event-logger-m2tznbx2.js → file-mutation-q5d81rx9.js} +11 -11
  194. package/dist/chunks/{event-logger-59c10ypj.js → file-mutation-q7rdkpep.js} +4 -4
  195. package/dist/chunks/{event-logger-y0pbe0yv.js → file-mutation-q9eyhvvk.js} +32 -32
  196. package/dist/chunks/{event-logger-6vekzxw1.js → file-mutation-q9qps9mc.js} +21 -21
  197. package/dist/chunks/{event-logger-srwgmrb6.js → file-mutation-qevj7g07.js} +28 -28
  198. package/dist/chunks/{event-logger-wzcgjz6k.js → file-mutation-qgf6fbf9.js} +30 -30
  199. package/dist/chunks/{event-logger-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{event-logger-91pznn53.js → file-mutation-qnfncs7q.js} +1 -1
  201. package/dist/chunks/{event-logger-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  202. package/dist/chunks/{event-logger-p5fvf2qr.js → file-mutation-qwv7c4pn.js} +22 -22
  203. package/dist/chunks/{event-logger-sxcaecc0.js → file-mutation-r2z489rp.js} +3 -3
  204. package/dist/chunks/{event-logger-hd0py222.js → file-mutation-r62a9xnm.js} +14 -14
  205. package/dist/chunks/{event-logger-3jjnp2ys.js → file-mutation-r6zh1g81.js} +14 -14
  206. package/dist/chunks/{event-logger-evjtt84t.js → file-mutation-r7dsxv7s.js} +20 -20
  207. package/dist/chunks/{event-logger-1pqty4gk.js → file-mutation-rbp8ryhp.js} +35 -35
  208. package/dist/chunks/{event-logger-69k4q2vg.js → file-mutation-rcjn9711.js} +10 -10
  209. package/dist/chunks/{event-logger-8yp148f8.js → file-mutation-rcjp1z92.js} +31 -31
  210. package/dist/chunks/{event-logger-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{event-logger-rert0e01.js → file-mutation-rert0e01.js} +2 -2
  212. package/dist/chunks/{event-logger-xxjygm7w.js → file-mutation-retn9hxc.js} +65 -65
  213. package/dist/chunks/{event-logger-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
  214. package/dist/chunks/{event-logger-hff9h1tp.js → file-mutation-rt822zgg.js} +14 -14
  215. package/dist/chunks/{event-logger-0k360key.js → file-mutation-rz1wjwgb.js} +19 -19
  216. package/dist/chunks/{event-logger-a89e0tac.js → file-mutation-s26hbv8p.js} +4 -4
  217. package/dist/chunks/{event-logger-wtqpmmty.js → file-mutation-s4nxs4pr.js} +22 -22
  218. package/dist/chunks/{event-logger-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
  219. package/dist/chunks/{event-logger-crjfqpdy.js → file-mutation-sc1avexy.js} +23 -23
  220. package/dist/chunks/{event-logger-hg105040.js → file-mutation-schnsw0c.js} +4 -4
  221. package/dist/chunks/{event-logger-9vw55b6z.js → file-mutation-sh547pn2.js} +5 -5
  222. package/dist/chunks/{event-logger-veszqgr6.js → file-mutation-sh6a696f.js} +16 -16
  223. package/dist/chunks/{event-logger-nn0vxdsv.js → file-mutation-stndfsa3.js} +8 -8
  224. package/dist/chunks/{event-logger-nzvzhybn.js → file-mutation-sxeq46ve.js} +7 -7
  225. package/dist/chunks/{event-logger-eb8hvb8b.js → file-mutation-sxzykved.js} +38 -38
  226. package/dist/chunks/{event-logger-syv4x271.js → file-mutation-syv4x271.js} +1 -1
  227. package/dist/chunks/{event-logger-a5b1fpat.js → file-mutation-t1nzq07k.js} +9 -9
  228. package/dist/chunks/{event-logger-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{event-logger-72xe526g.js → file-mutation-tb34rtt0.js} +39 -39
  230. package/dist/chunks/{event-logger-ytkm1fdb.js → file-mutation-tc78d14m.js} +19 -19
  231. package/dist/chunks/{event-logger-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  232. package/dist/chunks/{event-logger-t7hbmgbx.js → file-mutation-thz6jf9v.js} +28 -28
  233. package/dist/chunks/{event-logger-tkmwgdpd.js → file-mutation-tkmwgdpd.js} +1 -1
  234. package/dist/chunks/{event-logger-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{event-logger-hp80z79w.js → file-mutation-tt3w6h4v.js} +15 -15
  236. package/dist/chunks/{event-logger-dq407baf.js → file-mutation-tt8gc4fv.js} +6 -6
  237. package/dist/chunks/{event-logger-d3e8d5h7.js → file-mutation-twbk3118.js} +32 -32
  238. package/dist/chunks/{event-logger-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
  239. package/dist/chunks/{event-logger-125wdn1j.js → file-mutation-v210v162.js} +9 -9
  240. package/dist/chunks/{event-logger-g1zdr5n1.js → file-mutation-v53hzd0w.js} +17 -17
  241. package/dist/chunks/{event-logger-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{event-logger-5187w131.js → file-mutation-vae2677r.js} +29 -29
  243. package/dist/chunks/{event-logger-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  244. package/dist/chunks/{event-logger-zxr4n7nr.js → file-mutation-vkqam852.js} +4 -4
  245. package/dist/chunks/{event-logger-wckktynd.js → file-mutation-vtt8tbap.js} +54 -54
  246. package/dist/chunks/{event-logger-wf2f137k.js → file-mutation-vyp2z6jc.js} +24 -24
  247. package/dist/chunks/{event-logger-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{event-logger-w1eejvng.js → file-mutation-w1eejvng.js} +1 -1
  249. package/dist/chunks/{event-logger-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{event-logger-vnxnqzwp.js → file-mutation-w7h8reg6.js} +5 -5
  251. package/dist/chunks/{event-logger-61b1bym2.js → file-mutation-w84617t1.js} +11 -11
  252. package/dist/chunks/{event-logger-waskdk5r.js → file-mutation-waskdk5r.js} +1 -1
  253. package/dist/chunks/{event-logger-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  254. package/dist/chunks/{event-logger-qeda0rp6.js → file-mutation-we55t667.js} +41 -41
  255. package/dist/chunks/{event-logger-b4s8ej7r.js → file-mutation-wk5z6jzv.js} +9 -9
  256. package/dist/chunks/{event-logger-718nvvp0.js → file-mutation-wq2p2qmk.js} +24 -24
  257. package/dist/chunks/{event-logger-y6rvfep9.js → file-mutation-x5e1n3vw.js} +21 -21
  258. package/dist/chunks/{event-logger-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  259. package/dist/chunks/{event-logger-89an5fkr.js → file-mutation-xmy4sz0h.js} +3 -3
  260. package/dist/chunks/{event-logger-ajc6q3j1.js → file-mutation-xw6avn3p.js} +5 -5
  261. package/dist/chunks/{event-logger-vh716j4k.js → file-mutation-xx5ebepc.js} +8 -8
  262. package/dist/chunks/{event-logger-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{event-logger-jwcy2c2z.js → file-mutation-y71avatq.js} +4 -4
  264. package/dist/chunks/{event-logger-qkhkydxx.js → file-mutation-y81rr1wr.js} +6 -6
  265. package/dist/chunks/{event-logger-d9gse1kg.js → file-mutation-y84x4ntc.js} +20 -20
  266. package/dist/chunks/{event-logger-g0zeqm1b.js → file-mutation-ymkxabsa.js} +11 -11
  267. package/dist/chunks/{event-logger-cgb09904.js → file-mutation-ynfzaa2p.js} +25 -25
  268. package/dist/chunks/{event-logger-b7r64wqx.js → file-mutation-yv7acsrv.js} +17 -17
  269. package/dist/chunks/{event-logger-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  270. package/dist/chunks/{event-logger-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
  271. package/dist/chunks/{event-logger-krf1rydg.js → file-mutation-z1jgb0t4.js} +1 -1
  272. package/dist/chunks/{event-logger-nhc3bfbq.js → file-mutation-z2jaas8m.js} +21 -21
  273. package/dist/chunks/{event-logger-gma6ksnq.js → file-mutation-z3tzxhn5.js} +9 -9
  274. package/dist/chunks/{event-logger-5t1xxmjj.js → file-mutation-z4g16tg4.js} +19 -19
  275. package/dist/chunks/{event-logger-1wmz6vz9.js → file-mutation-zcbpwp6v.js} +13 -13
  276. package/dist/chunks/{event-logger-mmcnbdg7.js → file-mutation-ze7vjsts.js} +15 -15
  277. package/dist/chunks/{event-logger-sqn3n8r9.js → file-mutation-zezrz4ps.js} +13 -13
  278. package/dist/chunks/{event-logger-avcs2e0g.js → file-mutation-zgxd750f.js} +14 -14
  279. package/dist/chunks/{event-logger-xj1aydcy.js → file-mutation-zjtrsxny.js} +5 -5
  280. package/dist/chunks/{event-logger-t35h127n.js → file-mutation-zn9jy13z.js} +6 -6
  281. package/dist/chunks/{event-logger-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{event-logger-2w2v9qgz.js → file-mutation-zvcz9zfg.js} +5 -5
  283. package/dist/chunks/{event-logger-2nfn53fa.js → file-mutation-zvntbwz4.js} +11 -11
  284. package/dist/chunks/{event-logger-azwe5p1w.js → file-mutation-zw2hpfmh.js} +4 -4
  285. package/dist/chunks/{event-logger-hfrvtkzg.js → file-mutation-zwjpxgfy.js} +46 -46
  286. package/dist/chunks/{event-logger-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +91 -91
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +91 -91
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +103 -103
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +78 -78
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +158 -158
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +85 -85
  469. package/dist/managed-policy.js +6 -6
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +96 -96
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +96 -96
  480. package/dist/models-dev.js +103 -103
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +123 -123
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +130 -130
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +202 -202
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +12 -12
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +3 -3
  667. package/dist/v1/config/command.js +1 -1
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +1 -1
  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 +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  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 +83 -83
  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 +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/event-logger-ht5y0zrb.js +0 -18
  692. package/dist/chunks/event-logger-r7y3ynm2.js +0 -257
  693. package/dist/chunks/event-logger-yp8vcx0q.js +0 -26
  694. /package/dist/chunks/{event-logger-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{event-logger-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{event-logger-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{event-logger-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{event-logger-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{event-logger-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{event-logger-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{event-logger-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{event-logger-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{event-logger-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{event-logger-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{event-logger-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  706. /package/dist/chunks/{event-logger-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{event-logger-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{event-logger-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{event-logger-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{event-logger-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{event-logger-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{event-logger-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{event-logger-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  714. /package/dist/chunks/{event-logger-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{event-logger-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{event-logger-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  717. /package/dist/chunks/{event-logger-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{event-logger-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{event-logger-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{event-logger-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  721. /package/dist/chunks/{event-logger-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{event-logger-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{event-logger-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{event-logger-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{event-logger-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{event-logger-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{event-logger-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{event-logger-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{event-logger-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{event-logger-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{event-logger-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{event-logger-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{event-logger-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{event-logger-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{event-logger-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{event-logger-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{event-logger-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{event-logger-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{event-logger-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{event-logger-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  741. /package/dist/chunks/{event-logger-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{event-logger-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{event-logger-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{event-logger-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{event-logger-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{event-logger-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{event-logger-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{event-logger-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{event-logger-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{event-logger-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{event-logger-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{event-logger-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  753. /package/dist/chunks/{event-logger-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{event-logger-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  755. /package/dist/chunks/{event-logger-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{event-logger-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  757. /package/dist/chunks/{event-logger-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{event-logger-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{event-logger-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{event-logger-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{event-logger-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{event-logger-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{event-logger-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{event-logger-m18g726c.js → file-mutation-m18g726c.js} +0 -0
  765. /package/dist/chunks/{event-logger-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{event-logger-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{event-logger-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{event-logger-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{event-logger-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{event-logger-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{event-logger-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{event-logger-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{event-logger-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{event-logger-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{event-logger-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{event-logger-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{event-logger-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{event-logger-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{event-logger-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{event-logger-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{event-logger-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{event-logger-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{event-logger-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{event-logger-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{event-logger-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{event-logger-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{event-logger-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{event-logger-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{event-logger-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  790. /package/dist/chunks/{event-logger-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{event-logger-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{event-logger-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{event-logger-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{event-logger-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{event-logger-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-k69cqzmt.js";
3
+ } from "./file-mutation-10sr3c2w.js";
4
4
  import {
5
- Service83
6
- } from "./event-logger-cr69fjw7.js";
5
+ Service85
6
+ } from "./file-mutation-0rv871qk.js";
7
7
  import {
8
- ID13,
9
- Event17,
10
- Service71
11
- } from "./event-logger-g0t57f6q.js";
8
+ ID10,
9
+ Event14,
10
+ Service62
11
+ } from "./file-mutation-7r9mhtn4.js";
12
12
  import {
13
13
  key2
14
- } from "./event-logger-azwe5p1w.js";
14
+ } from "./file-mutation-zw2hpfmh.js";
15
15
  import {
16
- ID12,
16
+ ID9,
17
17
  MethodID2
18
- } from "./event-logger-8ev3b84m.js";
18
+ } from "./file-mutation-0s4zgerr.js";
19
19
  import {
20
20
  which2
21
- } from "./event-logger-qaymkmh1.js";
21
+ } from "./file-mutation-qaymkmh1.js";
22
22
  import {
23
- ID11,
24
- Service69
25
- } from "./event-logger-d3e8d5h7.js";
23
+ ID8,
24
+ Service60
25
+ } from "./file-mutation-twbk3118.js";
26
26
  import {
27
27
  ID7
28
- } from "./event-logger-sx0rs7d0.js";
28
+ } from "./file-mutation-6zc1k7ct.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./event-logger-apvbqsv3.js";
31
+ } from "./file-mutation-1sqrcqpt.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -70,11 +70,11 @@ function make7(endpoints = {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID11.azure);
73
+ const configured = yield* configuredSettings2(ID8.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service83;
76
- const credentials = yield* Service71;
77
- const providers = yield* Service69;
75
+ const bus = yield* Service85;
76
+ const credentials = yield* Service62;
77
+ const providers = yield* Service60;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make7(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID11.azure,
103
+ integrationID: ID8.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID11.azure,
107
+ integrationID: ID8.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make7(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID11.azure,
125
+ integrationID: ID8.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make7(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID11.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make7(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID11.azure))?.settings;
185
+ const settings = (yield* providers.get(ID8.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make7(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make7(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make7(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID11.azure);
243
+ const item = evt.get(ID8.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make7(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make7(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID11.azure);
266
+ const catalog = models.list(ID8.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID11.azure, model.id);
270
+ models.remove(ID8.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID11.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make7(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID11.azure)
291
+ if (evt.model.providerID !== ID8.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make7(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID11.azure });
300
+ }), { providerID: ID8.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID11.azure)
302
+ if (evt.model.providerID !== ID8.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,7 +308,7 @@ function make7(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID11.azure });
311
+ }), { providerID: ID8.azure });
312
312
  })
313
313
  });
314
314
  }
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./event-logger-jwcy2c2z.js";
3
+ } from "./file-mutation-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service4,
13
- node: () => node6
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service4 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service4, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service4.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node6, exports_update };
54
+ export { Service5, node7, exports_update };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./event-logger-230vxcgc.js";
4
+ } from "./file-mutation-3cywy0c3.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./event-logger-rert0e01.js";
7
+ } from "./file-mutation-rert0e01.js";
8
8
  import {
9
9
  __export
10
- } from "./event-logger-9rqn6x4v.js";
10
+ } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
16
  ConflictError: () => ConflictError2,
17
- ID: () => ID9,
18
- Info: () => Info16,
19
- ListInput: () => ListInput5,
20
- NotFoundError: () => NotFoundError9,
17
+ ID: () => ID13,
18
+ Info: () => Info23,
19
+ ListInput: () => ListInput3,
20
+ NotFoundError: () => NotFoundError8,
21
21
  PermissionSaved: () => exports_saved,
22
- Service: () => Service61,
22
+ Service: () => Service70,
23
23
  UpdateInput: () => UpdateInput3,
24
- node: () => node64
24
+ node: () => node73
25
25
  });
26
26
  import { eq } from "drizzle-orm";
27
27
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
@@ -29,9 +29,9 @@ import { isSqlError } from "effect/sql/SqlError";
29
29
  import { Project } from "@opencode/schema/project";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
31
31
  import { PermissionSaved } from "@opencode/schema/permission-saved";
32
- var ID9 = PermissionSaved.ID;
33
- var Info16 = PermissionSaved.Info;
34
- var ListInput5 = Schema.Struct({
32
+ var ID13 = PermissionSaved.ID;
33
+ var Info23 = PermissionSaved.Info;
34
+ var ListInput3 = Schema.Struct({
35
35
  projectID: Project.ID.pipe(Schema.optional)
36
36
  }).annotate({ identifier: "PermissionSaved.ListInput" });
37
37
  var AddInput2 = Schema.Struct({
@@ -40,26 +40,26 @@ var AddInput2 = Schema.Struct({
40
40
  resources: Schema.Array(Schema.String)
41
41
  }).annotate({ identifier: "PermissionSaved.AddInput" });
42
42
  var UpdateInput3 = Schema.Struct({
43
- id: ID9,
43
+ id: ID13,
44
44
  action: Schema.String.pipe(Schema.optional),
45
45
  resource: Schema.String.pipe(Schema.optional)
46
46
  }).annotate({ identifier: "PermissionSaved.UpdateInput" });
47
47
 
48
- class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
- id: ID9
48
+ class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
+ id: ID13
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
54
- id: ID9,
54
+ id: ID13,
55
55
  action: Schema.String,
56
56
  resource: Schema.String
57
57
  }) {
58
58
  }
59
59
 
60
- class Service61 extends Context.Service()("@opencode/PermissionSaved") {
60
+ class Service70 extends Context.Service()("@opencode/PermissionSaved") {
61
61
  }
62
- var layer = Layer.effect(Service61, Effect.gen(function* () {
62
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
63
63
  const db = (yield* Service86).db;
64
64
  const list = Effect.fnUntraced(function* (input) {
65
65
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
69
69
  if (!input.resources.length)
70
70
  return;
71
71
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
72
- id: ID9.create(),
72
+ id: ID13.create(),
73
73
  project_id: input.projectID,
74
74
  action: input.action,
75
75
  resource
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
78
78
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
79
79
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
80
80
  if (!current)
81
- return yield* new NotFoundError9({ id: input.id });
81
+ return yield* new NotFoundError8({ id: input.id });
82
82
  const action = input.action ?? current.action;
83
83
  const resource = input.resource ?? current.resource;
84
84
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
85
85
  if (!updated)
86
- return yield* new NotFoundError9({ id: input.id });
86
+ return yield* new NotFoundError8({ id: input.id });
87
87
  return info(updated);
88
88
  });
89
89
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
90
90
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
91
91
  });
92
- return Service61.of({ list, add, update, remove });
92
+ return Service70.of({ list, add, update, remove });
93
93
  }));
94
94
  var isUniqueViolation = (error) => {
95
95
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -107,6 +107,6 @@ var info = (row) => ({
107
107
  updated: DateTime.makeUnsafe(row.time_updated)
108
108
  }
109
109
  });
110
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [node90] });
110
+ var node73 = makeGlobalNode({ service: Service70, layer, deps: [node90] });
111
111
 
112
- export { ID9, Info16, ListInput5, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service61, node64, exports_saved };
112
+ export { ID13, Info23, ListInput3, AddInput2, UpdateInput3, NotFoundError8, ConflictError2, Service70, node73, exports_saved };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-k69cqzmt.js";
3
+ } from "./file-mutation-10sr3c2w.js";
4
4
  import {
5
- Service83
6
- } from "./event-logger-cr69fjw7.js";
5
+ Service85
6
+ } from "./file-mutation-0rv871qk.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./event-logger-g0t57f6q.js";
9
+ Event14
10
+ } from "./file-mutation-7r9mhtn4.js";
11
11
  import {
12
- ID12,
12
+ ID9,
13
13
  MethodID2
14
- } from "./event-logger-8ev3b84m.js";
14
+ } from "./file-mutation-0s4zgerr.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./event-logger-pjvnvgmy.js";
18
+ } from "./file-mutation-pjvnvgmy.js";
19
19
  import {
20
- ID11,
20
+ ID8,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./event-logger-d3e8d5h7.js";
23
+ } from "./file-mutation-twbk3118.js";
24
24
  import {
25
25
  get5
26
- } from "./event-logger-54ma36ye.js";
26
+ } from "./file-mutation-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./event-logger-apvbqsv3.js";
29
+ } from "./file-mutation-1sqrcqpt.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID12.make("openai"),
53
+ integrationID: ID9.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID12.make("openai"),
126
+ integrationID: ID9.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -168,7 +168,7 @@ var headless = (app) => ({
168
168
  var OpenAIPlugin2 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const bus = yield* Service83;
171
+ const bus = yield* Service85;
172
172
  const loading = Semaphore.makeUnsafe(1);
173
173
  let chatgpt;
174
174
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID11.openai);
186
+ const configured = yield* configuredSettings2(ID8.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID11.openai);
188
+ const item = providers.get(ID8.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID11.openai)) {
208
+ for (const model of models.list(ID8.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -236,14 +236,14 @@ var OpenAIPlugin2 = define({
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
238
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID11.openai });
239
+ }), { providerID: ID8.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID8.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
9
+ make: () => make15,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
32
+ function make15(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./event-logger-ec1grn59.js";
3
+ } from "./file-mutation-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./event-logger-tdstcens.js";
6
+ } from "./file-mutation-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./event-logger-sjf9w9sn.js";
9
+ } from "./file-mutation-fzp13ncj.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./event-logger-z5v4ffb3.js";
4
+ } from "./file-mutation-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./event-logger-jwcy2c2z.js";
7
+ } from "./file-mutation-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./event-logger-tazgh4e4.js";
12
+ } from "./file-mutation-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./event-logger-ef5x83kb.js";
15
+ } from "./file-mutation-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./event-logger-9rqn6x4v.js";
18
+ } from "./file-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./event-logger-wjr9rjd7.js";
3
+ } from "./file-mutation-1ffvrpkg.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin22,
11
+ Plugin: () => Plugin19,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint2 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin22 = define({
30
+ var Plugin19 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin22 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint2);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin22, exports_exa };
83
+ export { endpoint5, Plugin19, exports_exa };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make21,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make21 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make21, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };