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

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{file-mutation-0ryx4cv5.js → event-logger-04z4t5gq.js} +36 -36
  8. package/dist/chunks/{file-mutation-qz0pc5j5.js → event-logger-0davf6sd.js} +23 -23
  9. package/dist/chunks/{file-mutation-t550f9t1.js → event-logger-0gdmqesm.js} +4 -4
  10. package/dist/chunks/{file-mutation-6614sc7r.js → event-logger-0k360key.js} +17 -17
  11. package/dist/chunks/{file-mutation-0vbcp93d.js → event-logger-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{file-mutation-jh0cf3gy.js → event-logger-0vhjnex2.js} +20 -20
  13. package/dist/chunks/{file-mutation-h8bq8y5a.js → event-logger-125wdn1j.js} +7 -7
  14. package/dist/chunks/{file-mutation-08rawchj.js → event-logger-143qq2q9.js} +3 -3
  15. package/dist/chunks/{file-mutation-1rabqv72.js → event-logger-15f8sa68.js} +26 -26
  16. package/dist/chunks/{file-mutation-3xymvwyv.js → event-logger-19jaxqvz.js} +12 -12
  17. package/dist/chunks/{file-mutation-pzz5tmzm.js → event-logger-1aasmg7z.js} +17 -17
  18. package/dist/chunks/{file-mutation-sadarxxx.js → event-logger-1f0rmtk8.js} +35 -35
  19. package/dist/chunks/{file-mutation-xmb5688y.js → event-logger-1pqty4gk.js} +35 -35
  20. package/dist/chunks/{file-mutation-kjdm35cs.js → event-logger-1pxz8ven.js} +5 -5
  21. package/dist/chunks/{file-mutation-khmqacep.js → event-logger-1w2wqhfv.js} +4 -4
  22. package/dist/chunks/{file-mutation-5q7ksgvn.js → event-logger-1wmz6vz9.js} +13 -13
  23. package/dist/chunks/{file-mutation-yebssw6b.js → event-logger-230vxcgc.js} +3 -3
  24. package/dist/chunks/{file-mutation-b8d7xm3m.js → event-logger-2bem4azs.js} +13 -13
  25. package/dist/chunks/{file-mutation-ctkvxx28.js → event-logger-2nca96aj.js} +23 -23
  26. package/dist/chunks/{file-mutation-v08krjdw.js → event-logger-2nfn53fa.js} +15 -15
  27. package/dist/chunks/{file-mutation-3p8nb07v.js → event-logger-2w2v9qgz.js} +5 -5
  28. package/dist/chunks/{file-mutation-4fm3tq8e.js → event-logger-3ga9038w.js} +17 -17
  29. package/dist/chunks/{file-mutation-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{file-mutation-3hwn7j4h.js → event-logger-3hwn7j4h.js} +2 -2
  31. package/dist/chunks/{file-mutation-rp8hjwgz.js → event-logger-3jjnp2ys.js} +14 -14
  32. package/dist/chunks/{file-mutation-pkpp0jng.js → event-logger-3r4bkgjj.js} +4 -4
  33. package/dist/chunks/{file-mutation-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{file-mutation-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{file-mutation-zak5s96v.js → event-logger-3v37xfbr.js} +4 -4
  36. package/dist/chunks/{file-mutation-3zsf4n22.js → event-logger-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{file-mutation-5gxex9x8.js → event-logger-4r6mwygs.js} +8 -8
  38. package/dist/chunks/{file-mutation-eftecqvh.js → event-logger-4t8k2r1g.js} +26 -26
  39. package/dist/chunks/{file-mutation-j228j2n8.js → event-logger-4v86bgjk.js} +2 -2
  40. package/dist/chunks/{file-mutation-dtgy4jeb.js → event-logger-4zvqx7mh.js} +7 -7
  41. package/dist/chunks/{file-mutation-phk9d88z.js → event-logger-5187w131.js} +45 -45
  42. package/dist/chunks/{file-mutation-54ma36ye.js → event-logger-54ma36ye.js} +1 -1
  43. package/dist/chunks/{file-mutation-re4gtx8j.js → event-logger-5757br3t.js} +25 -25
  44. package/dist/chunks/{file-mutation-083bb7kr.js → event-logger-58ez54yx.js} +1 -1
  45. package/dist/chunks/{file-mutation-wdasqx75.js → event-logger-59c10ypj.js} +4 -4
  46. package/dist/chunks/{file-mutation-59b3s74c.js → event-logger-5e84ase9.js} +11 -11
  47. package/dist/chunks/{file-mutation-s8yypaqy.js → event-logger-5evw82hy.js} +43 -43
  48. package/dist/chunks/{file-mutation-5g57z1ma.js → event-logger-5g57z1ma.js} +1 -1
  49. package/dist/chunks/{file-mutation-hebc8qwk.js → event-logger-5g5sexc8.js} +20 -20
  50. package/dist/chunks/{file-mutation-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{file-mutation-e3qxr5gk.js → event-logger-5qd3pb7m.js} +2 -2
  52. package/dist/chunks/{file-mutation-6gbkbwjk.js → event-logger-5t1xxmjj.js} +19 -19
  53. package/dist/chunks/{file-mutation-pjhesq7k.js → event-logger-61b1bym2.js} +11 -11
  54. package/dist/chunks/{file-mutation-dqj1zep9.js → event-logger-62q9wyeh.js} +5 -5
  55. package/dist/chunks/{file-mutation-6827pfxn.js → event-logger-6827pfxn.js} +1 -1
  56. package/dist/chunks/event-logger-687tthex.js +517 -0
  57. package/dist/chunks/{file-mutation-5tew088c.js → event-logger-69k4q2vg.js} +13 -13
  58. package/dist/chunks/{file-mutation-xcevffwp.js → event-logger-6ssy61w6.js} +82 -82
  59. package/dist/chunks/{file-mutation-td1fm6rg.js → event-logger-6vekzxw1.js} +18 -18
  60. package/dist/chunks/{file-mutation-6xb47vfp.js → event-logger-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{file-mutation-882c6a2f.js → event-logger-718nvvp0.js} +20 -20
  62. package/dist/chunks/{file-mutation-7rakk0e1.js → event-logger-72xe526g.js} +37 -37
  63. package/dist/chunks/{file-mutation-gkm6v4vd.js → event-logger-74t224rd.js} +40 -40
  64. package/dist/chunks/{file-mutation-5e1pzs32.js → event-logger-76ymgwed.js} +9 -9
  65. package/dist/chunks/{file-mutation-775gj3j1.js → event-logger-775gj3j1.js} +2 -2
  66. package/dist/chunks/{file-mutation-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{file-mutation-2k8khapm.js → event-logger-7dqw4kz8.js} +5 -5
  68. package/dist/chunks/{file-mutation-hzm5xem3.js → event-logger-7p7hk8sv.js} +30 -30
  69. package/dist/chunks/{file-mutation-f0y10khq.js → event-logger-7ppz45ns.js} +32 -32
  70. package/dist/chunks/{file-mutation-cjj3vnjk.js → event-logger-7yjr90q2.js} +2 -2
  71. package/dist/chunks/{file-mutation-dr99d0ac.js → event-logger-89an5fkr.js} +3 -3
  72. package/dist/chunks/{file-mutation-ta0tc5c9.js → event-logger-8ev3b84m.js} +29 -29
  73. package/dist/chunks/{file-mutation-8m6m0r52.js → event-logger-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{file-mutation-8mywswrd.js → event-logger-8mywswrd.js} +1 -1
  75. package/dist/chunks/{file-mutation-t80p7bv8.js → event-logger-8s48m379.js} +9 -9
  76. package/dist/chunks/{file-mutation-ye93bcpk.js → event-logger-8v8qb0a2.js} +15 -15
  77. package/dist/chunks/{file-mutation-8b58bdns.js → event-logger-8yp148f8.js} +35 -35
  78. package/dist/chunks/{file-mutation-ydjhy7jp.js → event-logger-91pznn53.js} +1 -1
  79. package/dist/chunks/{file-mutation-1f7m535t.js → event-logger-92gz47bb.js} +16 -16
  80. package/dist/chunks/{file-mutation-b6ag07rz.js → event-logger-965mmkss.js} +4 -4
  81. package/dist/chunks/{file-mutation-7q1btr1k.js → event-logger-98h6b40k.js} +29 -28
  82. package/dist/chunks/{file-mutation-2nb55xn8.js → event-logger-9gp6apfa.js} +31 -31
  83. package/dist/chunks/{file-mutation-2k9fjx65.js → event-logger-9hwaqfsw.js} +5 -5
  84. package/dist/chunks/{file-mutation-h7vxqxg2.js → event-logger-9pz8w8a5.js} +30 -30
  85. package/dist/chunks/{file-mutation-a9km70y1.js → event-logger-9vw55b6z.js} +5 -5
  86. package/dist/chunks/{file-mutation-a20pjse5.js → event-logger-a20pjse5.js} +3 -3
  87. package/dist/chunks/{file-mutation-d7q21r69.js → event-logger-a5b1fpat.js} +9 -9
  88. package/dist/chunks/{file-mutation-tbmac1c7.js → event-logger-a89e0tac.js} +4 -4
  89. package/dist/chunks/{file-mutation-322qbvpa.js → event-logger-ady6em11.js} +18 -18
  90. package/dist/chunks/{file-mutation-xs3kgst9.js → event-logger-aewryxaa.js} +25 -25
  91. package/dist/chunks/{file-mutation-72vb8ye8.js → event-logger-ajc6q3j1.js} +12 -12
  92. package/dist/chunks/{file-mutation-5zbwkh3w.js → event-logger-apvbqsv3.js} +6 -6
  93. package/dist/chunks/{file-mutation-gdgy10dy.js → event-logger-aqgqfsze.js} +30 -30
  94. package/dist/chunks/{file-mutation-vt9q9evw.js → event-logger-arvfy1x3.js} +10 -10
  95. package/dist/chunks/{file-mutation-rqhevtjr.js → event-logger-avcs2e0g.js} +11 -11
  96. package/dist/chunks/{file-mutation-ac5hykxd.js → event-logger-axpqfvf7.js} +23 -23
  97. package/dist/chunks/{file-mutation-94apha83.js → event-logger-ay857t3e.js} +8 -8
  98. package/dist/chunks/{file-mutation-9q2hdfp3.js → event-logger-ayw5mjn6.js} +27 -27
  99. package/dist/chunks/{file-mutation-addxnjmp.js → event-logger-azwe5p1w.js} +4 -4
  100. package/dist/chunks/{file-mutation-h71w788e.js → event-logger-b4s8ej7r.js} +9 -9
  101. package/dist/chunks/{file-mutation-zcepehk0.js → event-logger-b5d3j6rk.js} +5 -5
  102. package/dist/chunks/{file-mutation-rqbas9ax.js → event-logger-b7r64wqx.js} +23 -23
  103. package/dist/chunks/{file-mutation-5tnh3egr.js → event-logger-b8p2k3p8.js} +4 -4
  104. package/dist/chunks/{file-mutation-zcrspsvn.js → event-logger-baaqp4zd.js} +4 -4
  105. package/dist/chunks/{file-mutation-6p9h6rqd.js → event-logger-bmh1v8cy.js} +96 -96
  106. package/dist/chunks/{file-mutation-0eymxkpr.js → event-logger-brc60g1j.js} +53 -53
  107. package/dist/chunks/{file-mutation-fcs05vrx.js → event-logger-bx5fxdna.js} +27 -27
  108. package/dist/chunks/{file-mutation-1ep4rre3.js → event-logger-bzeyqsqd.js} +4 -4
  109. package/dist/chunks/{file-mutation-c1fqxshp.js → event-logger-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{file-mutation-8rddq889.js → event-logger-cgb09904.js} +28 -28
  111. package/dist/chunks/{file-mutation-py2d2bhf.js → event-logger-cr69fjw7.js} +12 -12
  112. package/dist/chunks/{file-mutation-b4ragnr9.js → event-logger-crjfqpdy.js} +23 -23
  113. package/dist/chunks/{file-mutation-rpnfjj5z.js → event-logger-d3e8d5h7.js} +33 -33
  114. package/dist/chunks/{file-mutation-5yc3gv1m.js → event-logger-d4t4d4a4.js} +13 -13
  115. package/dist/chunks/{file-mutation-3hefbbgh.js → event-logger-d855j11k.js} +7 -7
  116. package/dist/chunks/{file-mutation-bwpes1j3.js → event-logger-d9gse1kg.js} +24 -24
  117. package/dist/chunks/{file-mutation-2ccjc77m.js → event-logger-dd9rmwq8.js} +22 -22
  118. package/dist/chunks/{file-mutation-xfktpdj6.js → event-logger-dq407baf.js} +6 -6
  119. package/dist/chunks/{file-mutation-cefkz2r6.js → event-logger-dqkkx36v.js} +4 -4
  120. package/dist/chunks/{file-mutation-5e2h11rs.js → event-logger-dqz2rgy5.js} +4 -4
  121. package/dist/chunks/{file-mutation-xfkkasph.js → event-logger-drwq78ky.js} +4 -4
  122. package/dist/chunks/{file-mutation-gc69w8x5.js → event-logger-dtnhn6dh.js} +50 -50
  123. package/dist/chunks/{file-mutation-1rmqtx3n.js → event-logger-dtxsy7wm.js} +12 -12
  124. package/dist/chunks/{file-mutation-967benbv.js → event-logger-dys7k0s0.js} +11 -11
  125. package/dist/chunks/{file-mutation-4mwpykj0.js → event-logger-dzse07y5.js} +6 -6
  126. package/dist/chunks/{file-mutation-yr4z1qtt.js → event-logger-e5qxg8h8.js} +47 -47
  127. package/dist/chunks/{file-mutation-cj2gcgr0.js → event-logger-e7a0tnjd.js} +10 -10
  128. package/dist/chunks/{file-mutation-8f461wgz.js → event-logger-eb8hvb8b.js} +38 -38
  129. package/dist/chunks/{file-mutation-eej6y6fw.js → event-logger-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{file-mutation-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{file-mutation-mhg37pmq.js → event-logger-eg96fwp0.js} +49 -49
  132. package/dist/chunks/{file-mutation-qnq8mqeg.js → event-logger-enp2k9s2.js} +28 -28
  133. package/dist/chunks/{file-mutation-21xx9xc6.js → event-logger-evjtt84t.js} +22 -22
  134. package/dist/chunks/{file-mutation-k2r06wff.js → event-logger-f5xhthqg.js} +4 -4
  135. package/dist/chunks/{file-mutation-70ake3ft.js → event-logger-fa83yftt.js} +17 -17
  136. package/dist/chunks/{file-mutation-s5qxm7c2.js → event-logger-fbndn9th.js} +11 -11
  137. package/dist/chunks/{file-mutation-3e2gnrvk.js → event-logger-fbx2zj7f.js} +24 -24
  138. package/dist/chunks/{file-mutation-fcy631f0.js → event-logger-fcy631f0.js} +1 -1
  139. package/dist/chunks/{file-mutation-ea6pkrn3.js → event-logger-fepwfk8f.js} +2 -2
  140. package/dist/chunks/{file-mutation-cwa6csj7.js → event-logger-ft3hqk2c.js} +9 -9
  141. package/dist/chunks/{file-mutation-mrv22f7s.js → event-logger-g0asar3z.js} +17 -17
  142. package/dist/chunks/{file-mutation-z0hcq1xj.js → event-logger-g0t57f6q.js} +31 -31
  143. package/dist/chunks/{file-mutation-brdz51fb.js → event-logger-g0zeqm1b.js} +11 -11
  144. package/dist/chunks/{file-mutation-89a6x4zk.js → event-logger-g1zdr5n1.js} +19 -19
  145. package/dist/chunks/{file-mutation-e27v7yqk.js → event-logger-g68bhc8c.js} +15 -15
  146. package/dist/chunks/{file-mutation-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{file-mutation-94kdqvgb.js → event-logger-gma6ksnq.js} +9 -9
  148. package/dist/chunks/{file-mutation-f8fzv2x1.js → event-logger-gn5cfhfe.js} +3 -3
  149. package/dist/chunks/{file-mutation-jws504fy.js → event-logger-gws3ea32.js} +15 -15
  150. package/dist/chunks/{file-mutation-a6gf0ppz.js → event-logger-h5jqacnq.js} +3 -3
  151. package/dist/chunks/{file-mutation-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{file-mutation-3179ttex.js → event-logger-hd0py222.js} +14 -14
  153. package/dist/chunks/{file-mutation-taz2ghkg.js → event-logger-hff9h1tp.js} +11 -11
  154. package/dist/chunks/{file-mutation-wnyvz4dk.js → event-logger-hfrvtkzg.js} +48 -48
  155. package/dist/chunks/{file-mutation-7tppg67e.js → event-logger-hg105040.js} +9 -9
  156. package/dist/chunks/{file-mutation-hgz4x7wa.js → event-logger-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{file-mutation-gtndzxs8.js → event-logger-hjcmja4m.js} +6 -6
  158. package/dist/chunks/{file-mutation-fa4te4zq.js → event-logger-hp80z79w.js} +30 -30
  159. package/dist/chunks/event-logger-ht5y0zrb.js +18 -0
  160. package/dist/chunks/{file-mutation-8m71mjfm.js → event-logger-j1a03btz.js} +5 -5
  161. package/dist/chunks/{file-mutation-gk5p4syv.js → event-logger-j9kxwsfy.js} +24 -24
  162. package/dist/chunks/{file-mutation-anhf8h1n.js → event-logger-jg914ar5.js} +3 -3
  163. package/dist/chunks/{file-mutation-cafkpj5t.js → event-logger-jkqvgxx0.js} +33 -33
  164. package/dist/chunks/{file-mutation-6k294dg0.js → event-logger-jmg1zvdz.js} +18 -18
  165. package/dist/chunks/{file-mutation-bgc5ggmx.js → event-logger-jpqeh2wc.js} +4 -4
  166. package/dist/chunks/{file-mutation-9vkqjddw.js → event-logger-jsqaqst9.js} +11 -11
  167. package/dist/chunks/{file-mutation-y71avatq.js → event-logger-jwcy2c2z.js} +4 -4
  168. package/dist/chunks/{file-mutation-zh98cvta.js → event-logger-jx5mtn20.js} +8 -8
  169. package/dist/chunks/{file-mutation-xgrstn99.js → event-logger-k0w48235.js} +14 -14
  170. package/dist/chunks/{file-mutation-rrb9pz5a.js → event-logger-k1tsx7e9.js} +1 -1
  171. package/dist/chunks/{file-mutation-szyc73at.js → event-logger-k69cqzmt.js} +11 -11
  172. package/dist/chunks/{file-mutation-qaf3te0r.js → event-logger-kh3zyzzy.js} +9 -9
  173. package/dist/chunks/{file-mutation-cmftrgtq.js → event-logger-kj230rep.js} +36 -36
  174. package/dist/chunks/{file-mutation-nwsypg2h.js → event-logger-kjrd9b6q.js} +11 -11
  175. package/dist/chunks/{file-mutation-xp80041t.js → event-logger-kracvgcn.js} +5 -5
  176. package/dist/chunks/{file-mutation-ps2trwbq.js → event-logger-krf1rydg.js} +3 -3
  177. package/dist/chunks/{file-mutation-kwb1v3vj.js → event-logger-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{file-mutation-ke9g58qf.js → event-logger-kx0rrjhv.js} +13 -13
  179. package/dist/chunks/{file-mutation-w3g2sjny.js → event-logger-m2tznbx2.js} +14 -14
  180. package/dist/chunks/{file-mutation-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{file-mutation-maspj1v3.js → event-logger-maspj1v3.js} +1 -1
  182. package/dist/chunks/{file-mutation-y59fqsw4.js → event-logger-mh8c02nx.js} +19 -19
  183. package/dist/chunks/{file-mutation-wqabm0nw.js → event-logger-mmcnbdg7.js} +15 -15
  184. package/dist/chunks/{file-mutation-8sq4gyz7.js → event-logger-n0wcvart.js} +9 -9
  185. package/dist/chunks/{file-mutation-y7nndgyc.js → event-logger-nd4tfyg0.js} +9 -9
  186. package/dist/chunks/{file-mutation-92swnv4m.js → event-logger-ngts6ef0.js} +8 -8
  187. package/dist/chunks/{file-mutation-khcab136.js → event-logger-nhc3bfbq.js} +24 -24
  188. package/dist/chunks/{file-mutation-0r2cw8fn.js → event-logger-nn0vxdsv.js} +8 -8
  189. package/dist/chunks/{file-mutation-dccm8yky.js → event-logger-ns720xzt.js} +13 -13
  190. package/dist/chunks/{file-mutation-v13b12ef.js → event-logger-nz56sr1f.js} +5 -5
  191. package/dist/chunks/{file-mutation-92waa1rm.js → event-logger-nzvzhybn.js} +7 -7
  192. package/dist/chunks/{file-mutation-2kjrre30.js → event-logger-p5fvf2qr.js} +18 -18
  193. package/dist/chunks/{file-mutation-p4mj4rdp.js → event-logger-pa8pe2x7.js} +8 -8
  194. package/dist/chunks/{file-mutation-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-mutation-pknna89w.js → event-logger-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-mutation-ws0ez784.js → event-logger-q9kcnnwr.js} +16 -16
  197. package/dist/chunks/{file-mutation-g18yemqx.js → event-logger-qeda0rp6.js} +44 -44
  198. package/dist/chunks/{file-mutation-zr8t0btn.js → event-logger-qgqe4jb4.js} +190 -190
  199. package/dist/chunks/{file-mutation-7bm0e0dp.js → event-logger-qgwrdebb.js} +25 -25
  200. package/dist/chunks/{file-mutation-n5sg9n8b.js → event-logger-qkd85dmw.js} +34 -34
  201. package/dist/chunks/{file-mutation-27p00kw8.js → event-logger-qkhkydxx.js} +11 -11
  202. package/dist/chunks/{file-mutation-wpys2vyv.js → event-logger-qmgn6hh6.js} +5 -5
  203. package/dist/chunks/{file-mutation-qnc92qwc.js → event-logger-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{file-mutation-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  205. package/dist/chunks/{file-mutation-n7c99d35.js → event-logger-r79z9z6k.js} +18 -18
  206. package/dist/chunks/event-logger-r7y3ynm2.js +257 -0
  207. package/dist/chunks/{file-mutation-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{file-mutation-rert0e01.js → event-logger-rert0e01.js} +2 -2
  209. package/dist/chunks/{file-mutation-rj3eygr5.js → event-logger-rj3eygr5.js} +2 -2
  210. package/dist/chunks/{file-mutation-8sze2n9a.js → event-logger-rkprpv83.js} +6 -6
  211. package/dist/chunks/{file-mutation-sbr2r95b.js → event-logger-rq0bn2t5.js} +25 -25
  212. package/dist/chunks/{file-mutation-jspydjgs.js → event-logger-s4fkhgs2.js} +9 -9
  213. package/dist/chunks/{file-mutation-sa8ekw3f.js → event-logger-sa8ekw3f.js} +2 -2
  214. package/dist/chunks/{file-mutation-cpewaxbb.js → event-logger-sdvhx7x2.js} +34 -34
  215. package/dist/chunks/{file-mutation-t4bhgeye.js → event-logger-sjf9w9sn.js} +10 -11
  216. package/dist/chunks/{file-mutation-8aaqm6qj.js → event-logger-sp5zyyma.js} +8 -8
  217. package/dist/chunks/{file-mutation-kf0ydnx7.js → event-logger-sqn3n8r9.js} +15 -15
  218. package/dist/chunks/{file-mutation-ts412n3k.js → event-logger-srwgmrb6.js} +40 -40
  219. package/dist/chunks/{file-mutation-4b4em5d4.js → event-logger-sx0rs7d0.js} +36 -36
  220. package/dist/chunks/{file-mutation-ed1g29hy.js → event-logger-sxcaecc0.js} +3 -3
  221. package/dist/chunks/{file-mutation-syv4x271.js → event-logger-syv4x271.js} +1 -1
  222. package/dist/chunks/{file-mutation-0nqg4kny.js → event-logger-t0xyvzmy.js} +10 -10
  223. package/dist/chunks/{file-mutation-hry64yvt.js → event-logger-t2jvn6s6.js} +19 -19
  224. package/dist/chunks/{file-mutation-av3f13xe.js → event-logger-t2sc8hs2.js} +11 -11
  225. package/dist/chunks/{file-mutation-q2j64v3h.js → event-logger-t35h127n.js} +6 -6
  226. package/dist/chunks/{file-mutation-d9a4qpg5.js → event-logger-t7hbmgbx.js} +32 -32
  227. package/dist/chunks/{file-mutation-hh1mvxn6.js → event-logger-t928kr56.js} +58 -58
  228. package/dist/chunks/{file-mutation-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{file-mutation-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{file-mutation-tdstcens.js → event-logger-tdstcens.js} +1 -1
  231. package/dist/chunks/{file-mutation-5g9pfety.js → event-logger-tg8yqqgq.js} +27 -27
  232. package/dist/chunks/{file-mutation-b27vhd2z.js → event-logger-tkmwgdpd.js} +7 -7
  233. package/dist/chunks/{file-mutation-tm0kqsz3.js → event-logger-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{file-mutation-4yb17086.js → event-logger-tv4f17r3.js} +42 -42
  235. package/dist/chunks/{file-mutation-tyytaxap.js → event-logger-tyytaxap.js} +1 -1
  236. package/dist/chunks/{file-mutation-h6mg8ssc.js → event-logger-tzt8skxj.js} +11 -11
  237. package/dist/chunks/{file-mutation-8g01qe2v.js → event-logger-v1vwdnn2.js} +36 -36
  238. package/dist/chunks/{file-mutation-nn5t8xjm.js → event-logger-v2ae6mvm.js} +50 -50
  239. package/dist/chunks/{file-mutation-v7p4zvkq.js → event-logger-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{file-mutation-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-mutation-bz5hym84.js → event-logger-veszqgr6.js} +21 -21
  242. package/dist/chunks/{file-mutation-m1z5ek08.js → event-logger-vh716j4k.js} +8 -8
  243. package/dist/chunks/{file-mutation-x5dktsa5.js → event-logger-vkwbrgfm.js} +12 -12
  244. package/dist/chunks/{file-mutation-j8143y8a.js → event-logger-vnxnqzwp.js} +14 -14
  245. package/dist/chunks/{file-mutation-x6pyv2yz.js → event-logger-vykevjvn.js} +5 -5
  246. package/dist/chunks/{file-mutation-vzs5sf6e.js → event-logger-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{file-mutation-4xfddg59.js → event-logger-w0dm5bba.js} +19 -19
  248. package/dist/chunks/{file-mutation-84txncab.js → event-logger-w1eejvng.js} +5 -5
  249. package/dist/chunks/{file-mutation-r5z9qnpm.js → event-logger-w2vjr3dt.js} +11 -11
  250. package/dist/chunks/{file-mutation-bvefa49m.js → event-logger-w3pa87t5.js} +18 -18
  251. package/dist/chunks/{file-mutation-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-mutation-zz19y5js.js → event-logger-w6a51qjs.js} +17 -17
  253. package/dist/chunks/{file-mutation-gqagkb1x.js → event-logger-w6p74w5s.js} +11 -11
  254. package/dist/chunks/{file-mutation-kqv3x6rj.js → event-logger-waskdk5r.js} +9 -9
  255. package/dist/chunks/{file-mutation-d06kvh6k.js → event-logger-wckktynd.js} +58 -58
  256. package/dist/chunks/{file-mutation-wd87259q.js → event-logger-wd87259q.js} +1 -1
  257. package/dist/chunks/{file-mutation-qb9hezfc.js → event-logger-wf2f137k.js} +25 -25
  258. package/dist/chunks/{file-mutation-df9339xm.js → event-logger-wfakye87.js} +10 -10
  259. package/dist/chunks/{file-mutation-ywt8jp22.js → event-logger-wjr9rjd7.js} +6 -6
  260. package/dist/chunks/{file-mutation-x0k3z69x.js → event-logger-wqc59w9s.js} +16 -16
  261. package/dist/chunks/{file-mutation-cmkgjnh5.js → event-logger-wt8k87w5.js} +10 -10
  262. package/dist/chunks/{file-mutation-mwahwpcs.js → event-logger-wtqpmmty.js} +22 -22
  263. package/dist/chunks/{file-mutation-2f26zb5h.js → event-logger-wzcgjz6k.js} +32 -32
  264. package/dist/chunks/{file-mutation-49ma6pwq.js → event-logger-x0414q09.js} +16 -16
  265. package/dist/chunks/{file-mutation-0xz2mzgc.js → event-logger-xbwvg8w4.js} +26 -26
  266. package/dist/chunks/{file-mutation-eh6ej367.js → event-logger-xj1aydcy.js} +5 -5
  267. package/dist/chunks/{file-mutation-8xxydye1.js → event-logger-xvcwxf7g.js} +13 -13
  268. package/dist/chunks/{file-mutation-9wqkfqmh.js → event-logger-xxjygm7w.js} +64 -64
  269. package/dist/chunks/{file-mutation-qxns1yyr.js → event-logger-y0jvwb8z.js} +15 -15
  270. package/dist/chunks/{file-mutation-9qkvvyqp.js → event-logger-y0pbe0yv.js} +34 -34
  271. package/dist/chunks/{file-mutation-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{file-mutation-3k72abas.js → event-logger-y6rvfep9.js} +23 -23
  273. package/dist/chunks/{file-mutation-mrcqdzkn.js → event-logger-y7x08173.js} +14 -14
  274. package/dist/chunks/{file-mutation-4f5ezzxr.js → event-logger-yb0xqw03.js} +5 -5
  275. package/dist/chunks/{file-mutation-gnhr360k.js → event-logger-yfx0wecs.js} +14 -14
  276. package/dist/chunks/event-logger-yp8vcx0q.js +26 -0
  277. package/dist/chunks/{file-mutation-5xa5t8mt.js → event-logger-ytkm1fdb.js} +22 -22
  278. package/dist/chunks/{file-mutation-kz7145yv.js → event-logger-yzk9yanh.js} +6 -6
  279. package/dist/chunks/{file-mutation-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{file-mutation-z18fegx4.js → event-logger-z18fegx4.js} +1 -1
  281. package/dist/chunks/{file-mutation-7k4yx5jm.js → event-logger-z7vjr8ds.js} +18 -18
  282. package/dist/chunks/{file-mutation-56byzq03.js → event-logger-zh7te6am.js} +9 -9
  283. package/dist/chunks/{file-mutation-0fn2v7vk.js → event-logger-zm1nwptd.js} +4 -4
  284. package/dist/chunks/{file-mutation-ktb21g4v.js → event-logger-zp2m4z3e.js} +16 -16
  285. package/dist/chunks/{file-mutation-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-mutation-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{file-mutation-9mnf2aaj.js → event-logger-zxr4n7nr.js} +11 -11
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  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 +104 -104
  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 +116 -116
  314. package/dist/config/plugin/source.js +117 -117
  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 +78 -78
  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 +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  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 +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  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 +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +10 -10
  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 +93 -93
  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 +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +158 -158
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +115 -115
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +217 -217
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +95 -95
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +223 -223
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +202 -202
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +153 -153
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +211 -211
  650. package/dist/tool/plugin/todo.js +136 -136
  651. package/dist/tool/plugin/webfetch.js +114 -114
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/session/transfer.d.ts +2 -2
  659. package/dist/types/worktree/git.d.ts +3 -3
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +94 -94
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/variant.js +95 -95
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +91 -91
  681. package/dist/voice.js +86 -86
  682. package/dist/websearch.js +84 -84
  683. package/dist/wellknown/plugin.js +78 -78
  684. package/dist/wellknown.js +83 -83
  685. package/dist/workspace/driver.js +3 -3
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +84 -84
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +91 -91
  692. package/dist/worktree.js +98 -98
  693. package/package.json +8 -8
  694. package/dist/chunks/file-mutation-2g1qnqk3.js +0 -257
  695. package/dist/chunks/file-mutation-7fj5dwt0.js +0 -18
  696. package/dist/chunks/file-mutation-v1yvzs5v.js +0 -517
  697. package/dist/chunks/file-mutation-zcrrhp36.js +0 -26
  698. /package/dist/chunks/{file-mutation-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{file-mutation-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{file-mutation-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{file-mutation-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{file-mutation-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{file-mutation-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{file-mutation-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{file-mutation-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{file-mutation-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
  707. /package/dist/chunks/{file-mutation-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{file-mutation-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{file-mutation-3asan66x.js → event-logger-3asan66x.js} +0 -0
  710. /package/dist/chunks/{file-mutation-3t0ybcrp.js → event-logger-3t0ybcrp.js} +0 -0
  711. /package/dist/chunks/{file-mutation-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{file-mutation-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{file-mutation-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{file-mutation-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{file-mutation-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{file-mutation-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{file-mutation-53557ph1.js → event-logger-53557ph1.js} +0 -0
  718. /package/dist/chunks/{file-mutation-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{file-mutation-6prwharc.js → event-logger-6prwharc.js} +0 -0
  720. /package/dist/chunks/{file-mutation-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
  721. /package/dist/chunks/{file-mutation-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{file-mutation-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{file-mutation-822emrt2.js → event-logger-822emrt2.js} +0 -0
  724. /package/dist/chunks/{file-mutation-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
  725. /package/dist/chunks/{file-mutation-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{file-mutation-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{file-mutation-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{file-mutation-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{file-mutation-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{file-mutation-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{file-mutation-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{file-mutation-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{file-mutation-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{file-mutation-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{file-mutation-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{file-mutation-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{file-mutation-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{file-mutation-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{file-mutation-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{file-mutation-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{file-mutation-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{file-mutation-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{file-mutation-df08tz66.js → event-logger-df08tz66.js} +0 -0
  744. /package/dist/chunks/{file-mutation-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{file-mutation-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{file-mutation-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{file-mutation-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{file-mutation-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{file-mutation-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{file-mutation-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{file-mutation-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{file-mutation-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{file-mutation-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{file-mutation-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{file-mutation-g86h250q.js → event-logger-g86h250q.js} +0 -0
  756. /package/dist/chunks/{file-mutation-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{file-mutation-gftt206x.js → event-logger-gftt206x.js} +0 -0
  758. /package/dist/chunks/{file-mutation-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
  759. /package/dist/chunks/{file-mutation-hk9envan.js → event-logger-hk9envan.js} +0 -0
  760. /package/dist/chunks/{file-mutation-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{file-mutation-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{file-mutation-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{file-mutation-jze0r7bz.js → event-logger-jze0r7bz.js} +0 -0
  766. /package/dist/chunks/{file-mutation-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{file-mutation-m18g726c.js → event-logger-m18g726c.js} +0 -0
  768. /package/dist/chunks/{file-mutation-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{file-mutation-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{file-mutation-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{file-mutation-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{file-mutation-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{file-mutation-pkyv6v7h.js → event-logger-pkyv6v7h.js} +0 -0
  774. /package/dist/chunks/{file-mutation-pyv0edze.js → event-logger-pyv0edze.js} +0 -0
  775. /package/dist/chunks/{file-mutation-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{file-mutation-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{file-mutation-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{file-mutation-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{file-mutation-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{file-mutation-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{file-mutation-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{file-mutation-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{file-mutation-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
  786. /package/dist/chunks/{file-mutation-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{file-mutation-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{file-mutation-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{file-mutation-wjj7prxr.js → event-logger-wjj7prxr.js} +0 -0
  790. /package/dist/chunks/{file-mutation-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{file-mutation-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{file-mutation-x61499pn.js → event-logger-x61499pn.js} +0 -0
  793. /package/dist/chunks/{file-mutation-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{file-mutation-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{file-mutation-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{file-mutation-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{file-mutation-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{file-mutation-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-szyc73at.js";
3
+ } from "./event-logger-k69cqzmt.js";
4
4
  import {
5
- Service85
6
- } from "./file-mutation-py2d2bhf.js";
5
+ Service83
6
+ } from "./event-logger-cr69fjw7.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./file-mutation-z0hcq1xj.js";
9
+ Event17
10
+ } from "./event-logger-g0t57f6q.js";
11
11
  import {
12
12
  key2
13
- } from "./file-mutation-addxnjmp.js";
13
+ } from "./event-logger-azwe5p1w.js";
14
14
  import {
15
- ID14,
15
+ ID12,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./file-mutation-ta0tc5c9.js";
18
+ } from "./event-logger-8ev3b84m.js";
19
19
  import {
20
- Service69
21
- } from "./file-mutation-cj2gcgr0.js";
20
+ Service18
21
+ } from "./event-logger-e7a0tnjd.js";
22
22
  import {
23
- ID13,
23
+ ID11,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./file-mutation-rpnfjj5z.js";
26
+ } from "./event-logger-d3e8d5h7.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./file-mutation-4b4em5d4.js";
29
+ } from "./event-logger-sx0rs7d0.js";
30
30
  import {
31
31
  supports2,
32
- resolve4
33
- } from "./file-mutation-kz7145yv.js";
32
+ resolve2
33
+ } from "./event-logger-yzk9yanh.js";
34
34
  import {
35
- ID11,
35
+ ID6,
36
36
  Input15,
37
37
  Response2
38
- } from "./file-mutation-xs3kgst9.js";
38
+ } from "./event-logger-aewryxaa.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import {
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
73
73
  var RemoteResponse = Schema.Struct({
74
74
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
75
75
  websearch: Schema.Struct({
76
- providerID: ID11
76
+ providerID: ID6
77
77
  }).pipe(Schema.optional),
78
78
  mcp: Schema.Struct({
79
79
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
124
124
  }
125
125
  function oauth(http) {
126
126
  return {
127
- integrationID: ID14.make("opencode"),
127
+ integrationID: ID12.make("opencode"),
128
128
  method: {
129
129
  id: methodID,
130
130
  type: "oauth",
@@ -188,10 +188,10 @@ function oauth(http) {
188
188
  var OpencodePlugin2 = define({
189
189
  id: "opencode.provider.opencode",
190
190
  effect: Effect.fn(function* (ctx) {
191
- const bus = yield* Service85;
191
+ const bus = yield* Service83;
192
192
  const client = yield* HttpClient.HttpClient;
193
193
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
194
- const managed = yield* Service69;
194
+ const managed = yield* Service18;
195
195
  const scope = yield* Scope.Scope;
196
196
  const loading = Semaphore.makeUnsafe(1);
197
197
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -245,7 +245,7 @@ var OpencodePlugin2 = define({
245
245
  providers.update(providerID, (provider) => {
246
246
  if (source && source.provider !== provider)
247
247
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
248
- provider.integrationID = ID14.make("opencode");
248
+ provider.integrationID = ID12.make("opencode");
249
249
  if (item.canonical !== undefined)
250
250
  provider.canonical = item.canonical;
251
251
  if (item.name !== undefined)
@@ -283,7 +283,7 @@ var OpencodePlugin2 = define({
283
283
  providers.models.update(providerID, modelID, (model) => {
284
284
  if (config.capabilities?.reasoning !== undefined)
285
285
  model.variants = [
286
- ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
286
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
287
287
  ];
288
288
  for (const variant of config.variants ?? []) {
289
289
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -319,7 +319,7 @@ var OpencodePlugin2 = define({
319
319
  sourceConnection: snapshot.connection
320
320
  });
321
321
  }
322
- const item = providers.get(ID13.opencode);
322
+ const item = providers.get(ID11.opencode);
323
323
  if (!item)
324
324
  return;
325
325
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -331,7 +331,7 @@ var OpencodePlugin2 = define({
331
331
  });
332
332
  });
333
333
  yield* ctx.model.transform((models) => {
334
- const item = models.provider.get(ID13.opencode);
334
+ const item = models.provider.get(ID11.opencode);
335
335
  if (!item)
336
336
  return;
337
337
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -426,7 +426,7 @@ var OpencodePlugin2 = define({
426
426
  });
427
427
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
428
428
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
429
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
429
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
430
430
  });
431
431
  yield* guard(snapshot);
432
432
  const polling = yield* FiberHandle.make();
@@ -437,7 +437,7 @@ var OpencodePlugin2 = define({
437
437
  onlyIfMissing: true
438
438
  });
439
439
  });
440
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
440
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
441
441
  yield* poll();
442
442
  })
443
443
  });
@@ -489,7 +489,8 @@ function credentialHeaders(value) {
489
489
  };
490
490
  }
491
491
  function serverUrl(value) {
492
- return typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer;
492
+ const server = typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer;
493
+ return server.replace(/^https:\/\/console\.opencode\.ai(?=\/|$)/, defaultServer);
493
494
  }
494
495
  function withoutCredentials(body) {
495
496
  return body && Object.fromEntries(Object.entries(body).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./file-mutation-py2d2bhf.js";
2
+ Service83,
3
+ node87
4
+ } from "./event-logger-cr69fjw7.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-mutation-84txncab.js";
11
+ } from "./event-logger-w1eejvng.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-mutation-z5v4ffb3.js";
14
+ } from "./event-logger-z5v4ffb3.js";
15
15
  import {
16
- Service53,
17
- node55
18
- } from "./file-mutation-rqbas9ax.js";
16
+ Service75,
17
+ node78
18
+ } from "./event-logger-b7r64wqx.js";
19
19
  import {
20
20
  create3
21
- } from "./file-mutation-rdw6cm16.js";
21
+ } from "./event-logger-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./event-logger-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event6,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info9,
31
+ Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service45,
35
- Source: () => Source3,
36
- node: () => node47
34
+ Service: () => Service37,
35
+ Source: () => Source4,
36
+ node: () => node41
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event6 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info9 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info7 = Reference.Info;
47
47
 
48
- class Service45 extends Context.Service()("@opencode/Reference") {
48
+ class Service37 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service45, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service85;
53
- const cache = yield* Service53;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service75;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info9.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
63
+ return [Info7.make({ ...info, path: source.path })];
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info9.make({
75
+ Info7.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service45.of({
107
+ return Service37.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node47 = makeLocationNode({
116
- service: Service45,
115
+ var node41 = makeLocationNode({
116
+ service: Service37,
117
117
  layer,
118
- deps: [Global.node, node89, node55]
118
+ deps: [Global.node, node87, node78]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info9, Service45, node47, exports_reference2, Event6 };
121
+ export { LocalSource2, GitSource2, Source4, Info7, Service37, node41, exports_reference2, Event7 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./event-logger-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info19,
12
+ Info: () => Info11,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info19 = Schema.Struct({
64
+ var Info11 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info19 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info19, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info11, exports_provider2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./event-logger-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./file-mutation-j8143y8a.js";
5
+ Service79,
6
+ node83
7
+ } from "./event-logger-vnxnqzwp.js";
8
8
  import {
9
- Service19,
10
- node21
11
- } from "./file-mutation-322qbvpa.js";
9
+ Service64,
10
+ node67
11
+ } from "./event-logger-ady6em11.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./file-mutation-tcezcvh9.js";
15
+ } from "./event-logger-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./event-logger-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
- Options: () => Options2,
25
- Service: () => Service17,
26
- configured: () => configured2,
24
+ Options: () => Options7,
25
+ Service: () => Service45,
26
+ configured: () => configured8,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node19,
28
+ layer: () => layer21,
29
+ node: () => node49,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options7 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service45 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
62
- const location = yield* Service80;
63
- const ripgrep = yield* Service19;
61
+ var ripgrepLayer2 = Layer.effect(Service45, Effect.gen(function* () {
62
+ const location = yield* Service79;
63
+ const ripgrep = yield* Service64;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service17.of({
108
+ return Service45.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
116
- const location = yield* Service80;
115
+ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service17.of({
129
+ return Service45.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service17.of({
134
+ return Service45.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service80;
177
+ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service17, layer: layer9(options), deps: [node84, node21] });
185
+ function configured8(options) {
186
+ return makeLocationNode({ service: Service45, layer: layer21(options), deps: [node83, node67] });
187
187
  }
188
- var node19 = configured2();
188
+ var node49 = configured8();
189
189
 
190
- export { Options2, Service17, ripgrepLayer2, fffLayer2, layer9, configured2, node19, exports_search };
190
+ export { Options7, Service45, ripgrepLayer2, fffLayer2, layer21, configured8, node49, exports_search };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./file-mutation-z0hcq1xj.js";
3
+ } from "./event-logger-g0t57f6q.js";
4
4
  import {
5
- ID14,
5
+ ID12,
6
6
  MethodID2
7
- } from "./file-mutation-ta0tc5c9.js";
7
+ } from "./event-logger-8ev3b84m.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./file-mutation-pjvnvgmy.js";
11
+ } from "./event-logger-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID12.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./file-mutation-pyv0edze.js";
4
+ } from "./event-logger-pyv0edze.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./file-mutation-syv4x271.js";
8
+ } from "./event-logger-syv4x271.js";
9
9
  import {
10
10
  __export
11
- } from "./file-mutation-9rqn6x4v.js";
11
+ } from "./event-logger-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service43
3
- } from "./file-mutation-4mwpykj0.js";
2
+ Service52
3
+ } from "./event-logger-dzse07y5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-mutation-7fj5dwt0.js";
6
+ } from "./event-logger-ht5y0zrb.js";
7
7
  import {
8
- Service47
9
- } from "./file-mutation-nn5t8xjm.js";
8
+ Service38
9
+ } from "./event-logger-v2ae6mvm.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./file-mutation-vzs5sf6e.js";
12
+ } from "./event-logger-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./file-mutation-9rqn6x4v.js";
15
+ } from "./event-logger-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service43;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
25
+ const instances = yield* Service52;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./event-logger-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin42,
9
+ Plugin: () => Plugin28,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin42 = define({
25
+ var Plugin28 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin42 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin42, exports_identity };
38
+ export { identity2, Plugin28, exports_identity };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-mutation-z5v4ffb3.js";
5
+ } from "./event-logger-z5v4ffb3.js";
6
6
  import {
7
- Service71,
8
- node73
9
- } from "./file-mutation-3e2gnrvk.js";
7
+ Service77,
8
+ node80
9
+ } from "./event-logger-fbx2zj7f.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./file-mutation-maspj1v3.js";
12
+ } from "./event-logger-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./file-mutation-9rqn6x4v.js";
15
+ } from "./event-logger-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service19,
24
- node: () => node21
23
+ Service: () => Service64,
24
+ node: () => node67
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service19 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service64 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service19, Effect.gen(function* () {
67
- const environment = yield* Service71;
66
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
67
+ const environment = yield* Service77;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service19.of({
95
+ return Service64.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node21 = makeLocationNode({ service: Service19, layer, deps: [node73, RipgrepBinary2.node] });
178
+ var node67 = makeLocationNode({ service: Service64, layer, deps: [node80, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service64, node67, exports_ripgrep };