@opencode/core 0.0.0-dev-19590 → 0.0.0-dev-19593

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-mutation-6ke73fs2.js → mime-08vesxpc.js} +4 -4
  9. package/dist/chunks/{location-mutation-temb443g.js → mime-0artwwxx.js} +3 -3
  10. package/dist/chunks/{location-mutation-kc2097vx.js → mime-0dd32wke.js} +18 -18
  11. package/dist/chunks/{location-mutation-eaj1djv9.js → mime-0gdmqesm.js} +8 -8
  12. package/dist/chunks/{location-mutation-26s8145v.js → mime-0jez15af.js} +6 -6
  13. package/dist/chunks/{location-mutation-qqvme7mb.js → mime-0m2e9swf.js} +43 -43
  14. package/dist/chunks/mime-0mesazry.js +4 -0
  15. package/dist/chunks/{location-mutation-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{location-mutation-htdjehga.js → mime-0pb75hch.js} +5 -5
  17. package/dist/chunks/{location-mutation-5476qrae.js → mime-0pt4f7ej.js} +13 -13
  18. package/dist/chunks/{location-mutation-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{location-mutation-f2vpx28r.js → mime-11qgt1va.js} +6 -6
  20. package/dist/chunks/{location-mutation-ec8389mk.js → mime-18e56dsp.js} +4 -4
  21. package/dist/chunks/{location-mutation-rxnnh61v.js → mime-19dhad8j.js} +4 -4
  22. package/dist/chunks/{location-mutation-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{location-mutation-yn3yb8ha.js → mime-1fqx7y25.js} +18 -18
  24. package/dist/chunks/{location-mutation-c2wv1h81.js → mime-1h8wvx6q.js} +19 -19
  25. package/dist/chunks/{location-mutation-h8rhc7ek.js → mime-1k3djte8.js} +10 -10
  26. package/dist/chunks/{location-mutation-31dty8gt.js → mime-1nq040z3.js} +6 -6
  27. package/dist/chunks/{location-mutation-9vh0xv9k.js → mime-1rr79kmz.js} +12 -12
  28. package/dist/chunks/{location-mutation-07sk74nc.js → mime-219neeqh.js} +5 -5
  29. package/dist/chunks/{location-mutation-21r38tys.js → mime-21r38tys.js} +1 -1
  30. package/dist/chunks/{location-mutation-9xs8eafc.js → mime-233vw3g8.js} +12 -12
  31. package/dist/chunks/{location-mutation-2402vzrj.js → mime-2402vzrj.js} +1 -1
  32. package/dist/chunks/{location-mutation-x0tkz7jk.js → mime-244ce5kg.js} +12 -12
  33. package/dist/chunks/{location-mutation-msdrtnms.js → mime-25c3bv42.js} +19 -19
  34. package/dist/chunks/{location-mutation-zs8px5ah.js → mime-265kqrgy.js} +1 -1
  35. package/dist/chunks/{location-mutation-z63w68vq.js → mime-29x78va6.js} +6 -6
  36. package/dist/chunks/{location-mutation-7gva2pts.js → mime-29zjypxj.js} +22 -22
  37. package/dist/chunks/{location-mutation-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{location-mutation-0x0yxbr3.js → mime-2bg24y81.js} +22 -22
  39. package/dist/chunks/{location-mutation-607tc6va.js → mime-2k8khapm.js} +5 -5
  40. package/dist/chunks/{location-mutation-qqhb2q1v.js → mime-2swfdtqq.js} +14 -14
  41. package/dist/chunks/{location-mutation-xcajxnnr.js → mime-2z24jnne.js} +42 -42
  42. package/dist/chunks/{location-mutation-34y9ksvj.js → mime-33n3bzdy.js} +8 -8
  43. package/dist/chunks/{location-mutation-jn3f7qw2.js → mime-35wynegs.js} +2 -2
  44. package/dist/chunks/{location-mutation-ztw74p43.js → mime-3e6fhmkh.js} +23 -23
  45. package/dist/chunks/{location-mutation-h92revz2.js → mime-3ey5ve5m.js} +15 -15
  46. package/dist/chunks/{location-mutation-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{location-mutation-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{location-mutation-0v53mg2y.js → mime-3j8sdtpz.js} +4 -4
  49. package/dist/chunks/{location-mutation-mghg7cty.js → mime-3nv94yae.js} +23 -23
  50. package/dist/chunks/{location-mutation-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{location-mutation-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{location-mutation-d0vprv21.js → mime-3v1f2d9y.js} +17 -17
  53. package/dist/chunks/{location-mutation-evbgk2k8.js → mime-3w0fmcng.js} +5 -5
  54. package/dist/chunks/{location-mutation-8r4nttq3.js → mime-3xfqjwf0.js} +8 -8
  55. package/dist/chunks/{location-mutation-k90zhb3s.js → mime-428y0mtg.js} +11 -11
  56. package/dist/chunks/{location-mutation-9crvh15q.js → mime-43fjnve3.js} +154 -154
  57. package/dist/chunks/{location-mutation-3jt25bc7.js → mime-47jk2x7b.js} +24 -24
  58. package/dist/chunks/{location-mutation-wbeh8r34.js → mime-4m405q6x.js} +46 -46
  59. package/dist/chunks/mime-4v7qdvcn.js +18 -0
  60. package/dist/chunks/{location-mutation-0vftmh67.js → mime-4x2wqn1j.js} +20 -20
  61. package/dist/chunks/{location-mutation-80b6wfjj.js → mime-522twr50.js} +18 -18
  62. package/dist/chunks/{location-mutation-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
  63. package/dist/chunks/{location-mutation-r068f4ga.js → mime-58426wyj.js} +15 -15
  64. package/dist/chunks/{location-mutation-rbw46qxe.js → mime-599ntear.js} +11 -11
  65. package/dist/chunks/{location-mutation-5daktx2q.js → mime-5daktx2q.js} +1 -1
  66. package/dist/chunks/{location-mutation-phbna07t.js → mime-5r3v2435.js} +30 -30
  67. package/dist/chunks/{location-mutation-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  68. package/dist/chunks/mime-5wm2rtqk.js +247 -0
  69. package/dist/chunks/{location-mutation-fkz7kqqw.js → mime-60n7bf9e.js} +3 -3
  70. package/dist/chunks/{location-mutation-e7e8y1ky.js → mime-60w3gzyt.js} +10 -10
  71. package/dist/chunks/{location-mutation-669tq793.js → mime-669tq793.js} +1 -1
  72. package/dist/chunks/{location-mutation-hwv6vseg.js → mime-6e67y2h6.js} +17 -17
  73. package/dist/chunks/{location-mutation-gjxh85d2.js → mime-6ecentyg.js} +7 -7
  74. package/dist/chunks/{location-mutation-5rk47206.js → mime-6f9xqzex.js} +15 -15
  75. package/dist/chunks/{location-mutation-24cmjgf1.js → mime-6mn0csek.js} +8 -8
  76. package/dist/chunks/{location-mutation-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{location-mutation-gvkr32sm.js → mime-6ph579g1.js} +11 -11
  78. package/dist/chunks/{location-mutation-8f273139.js → mime-6tjahags.js} +18 -18
  79. package/dist/chunks/{location-mutation-hvk5xsqp.js → mime-6w1gr0yw.js} +17 -17
  80. package/dist/chunks/{location-mutation-x9zgzv2n.js → mime-6xm8j45g.js} +16 -16
  81. package/dist/chunks/{location-mutation-7nzveyhj.js → mime-6yr30ss5.js} +12 -12
  82. package/dist/chunks/{location-mutation-mtx8mv5z.js → mime-70d2s7af.js} +1 -1
  83. package/dist/chunks/mime-7136dx6n.js +466 -0
  84. package/dist/chunks/{location-mutation-n0wka7ja.js → mime-71pc8m80.js} +9 -9
  85. package/dist/chunks/{location-mutation-71q4at8m.js → mime-71q4at8m.js} +1 -1
  86. package/dist/chunks/{location-mutation-3s3nypn6.js → mime-793krves.js} +9 -9
  87. package/dist/chunks/{location-mutation-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{location-mutation-tjmjmaym.js → mime-7dn07k07.js} +30 -30
  89. package/dist/chunks/{location-mutation-mhzs7n75.js → mime-7f5wqp31.js} +47 -47
  90. package/dist/chunks/{location-mutation-88qpb1n8.js → mime-7k089n9a.js} +96 -96
  91. package/dist/chunks/{location-mutation-sn9sey1d.js → mime-7kppz51p.js} +25 -25
  92. package/dist/chunks/{location-mutation-5ntctw92.js → mime-7mawc3w3.js} +36 -36
  93. package/dist/chunks/{location-mutation-3ed3sqde.js → mime-7mny09t0.js} +10 -10
  94. package/dist/chunks/{location-mutation-19yq3b24.js → mime-7n2xhmm7.js} +4 -4
  95. package/dist/chunks/{location-mutation-9hzkewnw.js → mime-7n7hfnea.js} +6 -6
  96. package/dist/chunks/{location-mutation-9y4dtwwe.js → mime-7t2a4rxe.js} +28 -28
  97. package/dist/chunks/{location-mutation-f6tv3dcg.js → mime-7wj5bpvf.js} +4 -4
  98. package/dist/chunks/{location-mutation-vdx2x999.js → mime-7x9wdesj.js} +27 -27
  99. package/dist/chunks/{location-mutation-t6vsspdg.js → mime-806j49yq.js} +7 -7
  100. package/dist/chunks/{location-mutation-qydwa3j3.js → mime-84f9n64y.js} +37 -37
  101. package/dist/chunks/{location-mutation-3xcvdjcv.js → mime-89fvnp0w.js} +12 -12
  102. package/dist/chunks/mime-89qrc0yw.js +26 -0
  103. package/dist/chunks/{location-mutation-89znhe33.js → mime-89znhe33.js} +1 -1
  104. package/dist/chunks/{location-mutation-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  105. package/dist/chunks/{location-mutation-x7g9d3zv.js → mime-8gz95mnd.js} +7 -7
  106. package/dist/chunks/{location-mutation-9g677v9k.js → mime-8j0zrhvt.js} +20 -20
  107. package/dist/chunks/{location-mutation-7mhjftdb.js → mime-8jqmzt62.js} +9 -9
  108. package/dist/chunks/{location-mutation-s56af38f.js → mime-8mw9dy87.js} +7 -7
  109. package/dist/chunks/{location-mutation-pa2zc025.js → mime-8nk5pr3x.js} +4 -4
  110. package/dist/chunks/{location-mutation-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
  111. package/dist/chunks/{location-mutation-h98q3byq.js → mime-8v4hj3yf.js} +26 -26
  112. package/dist/chunks/{location-mutation-hxqfyb45.js → mime-8zve7j1r.js} +30 -30
  113. package/dist/chunks/{location-mutation-twy35tz0.js → mime-94np39z2.js} +9 -9
  114. package/dist/chunks/{location-mutation-t5qf6yxf.js → mime-9adpk5qf.js} +18 -18
  115. package/dist/chunks/{location-mutation-n50y82zv.js → mime-9fk3d21e.js} +9 -9
  116. package/dist/chunks/{location-mutation-syebw0mx.js → mime-9jn58xvx.js} +28 -28
  117. package/dist/chunks/{location-mutation-9dr1d21p.js → mime-9s1hrf4j.js} +22 -22
  118. package/dist/chunks/{location-mutation-b3m8y7fw.js → mime-9t6fn9sm.js} +10 -10
  119. package/dist/chunks/{location-mutation-zxch8dwb.js → mime-9v7b1t0y.js} +29 -29
  120. package/dist/chunks/{location-mutation-815wrfbm.js → mime-a14tmfw2.js} +20 -20
  121. package/dist/chunks/{location-mutation-5c4hm403.js → mime-a1bz86dw.js} +3 -3
  122. package/dist/chunks/{location-mutation-n7mc5hy8.js → mime-a7fxnse5.js} +27 -27
  123. package/dist/chunks/{location-mutation-evpy5n40.js → mime-a7ymv1f3.js} +30 -30
  124. package/dist/chunks/{location-mutation-20pmbb2p.js → mime-a9pbgtwm.js} +25 -25
  125. package/dist/chunks/{location-mutation-aaet6srn.js → mime-aaet6srn.js} +2 -2
  126. package/dist/chunks/{location-mutation-vphpv5r9.js → mime-apaaqhj0.js} +11 -11
  127. package/dist/chunks/{location-mutation-x353b1jt.js → mime-aq5y8b9e.js} +8 -8
  128. package/dist/chunks/{location-mutation-wwcr5a4d.js → mime-aqtq9wzx.js} +8 -8
  129. package/dist/chunks/{location-mutation-qmz8kt15.js → mime-az6rvz1x.js} +20 -20
  130. package/dist/chunks/{location-mutation-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  131. package/dist/chunks/{location-mutation-1nc0857s.js → mime-b9bv6qq3.js} +23 -23
  132. package/dist/chunks/{location-mutation-e5nv3ght.js → mime-bndc73cn.js} +5 -5
  133. package/dist/chunks/{location-mutation-r4ym21ta.js → mime-c8v5kc65.js} +15 -15
  134. package/dist/chunks/{location-mutation-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
  135. package/dist/chunks/{location-mutation-0fn2v7vk.js → mime-cjwramev.js} +6 -6
  136. package/dist/chunks/{location-mutation-sx4f6nnd.js → mime-cp31e4n6.js} +43 -43
  137. package/dist/chunks/{location-mutation-5c0f1prt.js → mime-csf2jhsg.js} +4 -4
  138. package/dist/chunks/{location-mutation-bag71raj.js → mime-cvtmmhw6.js} +1 -1
  139. package/dist/chunks/{location-mutation-p44d8wdy.js → mime-d2aac7k2.js} +5 -5
  140. package/dist/chunks/{location-mutation-f54cegwv.js → mime-d8d1pk1w.js} +22 -22
  141. package/dist/chunks/{location-mutation-0zaj8p07.js → mime-d942djzc.js} +1 -1
  142. package/dist/chunks/{location-mutation-m70sbz6t.js → mime-ddt2bs9e.js} +4 -4
  143. package/dist/chunks/{location-mutation-a8zr1srk.js → mime-dhwr7h25.js} +11 -11
  144. package/dist/chunks/{location-mutation-dpkg50ah.js → mime-dpkg50ah.js} +1 -1
  145. package/dist/chunks/{location-mutation-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{location-mutation-9dpgmzkp.js → mime-efemqsg6.js} +59 -59
  147. package/dist/chunks/{location-mutation-2d57kztd.js → mime-efv4s0g0.js} +4 -4
  148. package/dist/chunks/{location-mutation-ja1xcwp3.js → mime-en53wcfr.js} +18 -18
  149. package/dist/chunks/{location-mutation-da6kr1wx.js → mime-eraanh1f.js} +6 -6
  150. package/dist/chunks/{location-mutation-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{location-mutation-08kp7xha.js → mime-ex7fppdg.js} +45 -45
  152. package/dist/chunks/{location-mutation-twdr0p5e.js → mime-exmx9z86.js} +13 -13
  153. package/dist/chunks/{location-mutation-bp3nbpyy.js → mime-f14wgmqf.js} +9 -9
  154. package/dist/chunks/{location-mutation-yp2x3t23.js → mime-f2n192rq.js} +4 -4
  155. package/dist/chunks/{location-mutation-hdnk95c8.js → mime-f828m53h.js} +2 -2
  156. package/dist/chunks/{location-mutation-wre8mv9j.js → mime-fcj6b5ej.js} +20 -20
  157. package/dist/chunks/{location-mutation-ke3vvp4f.js → mime-ffxj81eb.js} +12 -12
  158. package/dist/chunks/{location-mutation-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{location-mutation-9t7rey2x.js → mime-g6jvm51t.js} +34 -34
  160. package/dist/chunks/{location-mutation-tk9x6nx7.js → mime-g9wvjw5e.js} +14 -14
  161. package/dist/chunks/{location-mutation-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{location-mutation-c2hdypq2.js → mime-gg6k7kh9.js} +46 -46
  163. package/dist/chunks/{location-mutation-8qty0qvy.js → mime-gnwbrhke.js} +11 -11
  164. package/dist/chunks/{location-mutation-gxby4g3a.js → mime-gqz15p6p.js} +15 -15
  165. package/dist/chunks/{location-mutation-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{location-mutation-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{location-mutation-xwkzxbnt.js → mime-h7xbcxh5.js} +5 -5
  168. package/dist/chunks/{location-mutation-5fshkvc1.js → mime-hfk58y1y.js} +32 -32
  169. package/dist/chunks/{location-mutation-bgxcxs0p.js → mime-hnr5yq9h.js} +5 -5
  170. package/dist/chunks/{location-mutation-x0mhhfm8.js → mime-hsyde07s.js} +17 -17
  171. package/dist/chunks/{location-mutation-r7v7n0q1.js → mime-hwyw3hyr.js} +4 -4
  172. package/dist/chunks/{location-mutation-6jr7e6bp.js → mime-j1ydts1m.js} +28 -28
  173. package/dist/chunks/{location-mutation-j56e64zr.js → mime-j56e64zr.js} +1 -1
  174. package/dist/chunks/{location-mutation-paphc93g.js → mime-j935v87r.js} +2 -2
  175. package/dist/chunks/{location-mutation-m86bnw2c.js → mime-jjs74g98.js} +9 -9
  176. package/dist/chunks/{location-mutation-fa296df8.js → mime-jt9z208x.js} +17 -17
  177. package/dist/chunks/{location-mutation-7e5rzgxf.js → mime-jy2v93y2.js} +10 -10
  178. package/dist/chunks/{location-mutation-b0gyf9vc.js → mime-k3a2w7sd.js} +4 -4
  179. package/dist/chunks/{location-mutation-b5tszv4t.js → mime-k5ysc9y0.js} +49 -49
  180. package/dist/chunks/{location-mutation-kg06axw8.js → mime-kg06axw8.js} +1 -1
  181. package/dist/chunks/{location-mutation-9wpp4qkq.js → mime-kpj3v0jx.js} +7 -7
  182. package/dist/chunks/{location-mutation-0bgdfsd1.js → mime-m0e07c1q.js} +9 -9
  183. package/dist/chunks/{location-mutation-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-mutation-3k4j4gra.js → mime-mc7r38pz.js} +24 -24
  185. package/dist/chunks/{location-mutation-2jkmjxk8.js → mime-mgfyp3pg.js} +15 -15
  186. package/dist/chunks/{location-mutation-pdfv92ph.js → mime-mhxmw1gn.js} +31 -31
  187. package/dist/chunks/{location-mutation-x9zceq2p.js → mime-mk0f86h1.js} +18 -18
  188. package/dist/chunks/{location-mutation-07g2yzt3.js → mime-mkyvxn7c.js} +6 -6
  189. package/dist/chunks/{location-mutation-8e3ny38k.js → mime-mq0v60k6.js} +11 -11
  190. package/dist/chunks/{location-mutation-991adpxw.js → mime-msr7tfg3.js} +10 -10
  191. package/dist/chunks/{location-mutation-jrez9bt2.js → mime-mv4qg2g8.js} +71 -71
  192. package/dist/chunks/{location-mutation-r5x6zcsm.js → mime-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{location-mutation-7ya38ysx.js → mime-mvtk1eek.js} +13 -13
  194. package/dist/chunks/{location-mutation-w4zeqeps.js → mime-mz6ae2yf.js} +1 -1
  195. package/dist/chunks/{location-mutation-qnb52jpt.js → mime-mzs7jtbe.js} +15 -15
  196. package/dist/chunks/{location-mutation-jhedgnzy.js → mime-n0t0kfwn.js} +28 -28
  197. package/dist/chunks/{location-mutation-r5ym3zkw.js → mime-n4aaschn.js} +9 -9
  198. package/dist/chunks/{location-mutation-2pwgvmd7.js → mime-n7w7dj2n.js} +29 -29
  199. package/dist/chunks/{location-mutation-1y37nkr1.js → mime-n9gzpzcc.js} +35 -35
  200. package/dist/chunks/{location-mutation-fch0ybxp.js → mime-ndqxs5js.js} +3 -3
  201. package/dist/chunks/{location-mutation-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
  202. package/dist/chunks/{location-mutation-kqfctymf.js → mime-nk4x76k7.js} +32 -32
  203. package/dist/chunks/{location-mutation-8jmaqybk.js → mime-nvxqht09.js} +3 -3
  204. package/dist/chunks/{location-mutation-pw70zahd.js → mime-p11mj9nc.js} +30 -30
  205. package/dist/chunks/{location-mutation-2gb7hv4z.js → mime-p1rhzz4x.js} +17 -17
  206. package/dist/chunks/{location-mutation-bjjaf6h3.js → mime-p2ab4s2r.js} +5 -5
  207. package/dist/chunks/{location-mutation-9cwx2qq2.js → mime-p8vshhkt.js} +9 -9
  208. package/dist/chunks/{location-mutation-7e1bvrsk.js → mime-pdxxk7hn.js} +1 -1
  209. package/dist/chunks/{location-mutation-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{location-mutation-gpmhysdr.js → mime-pkm3pkx5.js} +15 -15
  211. package/dist/chunks/{location-mutation-pknna89w.js → mime-pknna89w.js} +1 -1
  212. package/dist/chunks/{location-mutation-y67kaqwv.js → mime-pva5nxfr.js} +42 -42
  213. package/dist/chunks/{location-mutation-vzd3y0c8.js → mime-pzy0y0v9.js} +11 -11
  214. package/dist/chunks/{location-mutation-ce5fknq2.js → mime-q6yya7b3.js} +5 -5
  215. package/dist/chunks/{location-mutation-p5xdx7w2.js → mime-qg6c32m5.js} +11 -11
  216. package/dist/chunks/{location-mutation-snh2jweh.js → mime-qkma89m6.js} +13 -13
  217. package/dist/chunks/{location-mutation-qsdy395h.js → mime-qsdy395h.js} +1 -1
  218. package/dist/chunks/{location-mutation-qjktcxyk.js → mime-qwnx8exk.js} +17 -17
  219. package/dist/chunks/{location-mutation-c5kz6cb9.js → mime-qxad6akg.js} +25 -25
  220. package/dist/chunks/{location-mutation-kqwfgj52.js → mime-r0e9nadw.js} +5 -5
  221. package/dist/chunks/{location-mutation-r9mregkx.js → mime-r9mregkx.js} +2 -2
  222. package/dist/chunks/{location-mutation-0atdbh96.js → mime-rbtn8dzz.js} +25 -25
  223. package/dist/chunks/{location-mutation-0z6dcdkt.js → mime-rjasbbd6.js} +25 -25
  224. package/dist/chunks/{location-mutation-pjmw00w1.js → mime-rk0rec3h.js} +9 -9
  225. package/dist/chunks/{location-mutation-37aqwf9n.js → mime-rk95q894.js} +11 -11
  226. package/dist/chunks/{location-mutation-qaqj213q.js → mime-rpw1jzq2.js} +30 -30
  227. package/dist/chunks/{location-mutation-wh0mmyb5.js → mime-rr42dmak.js} +11 -11
  228. package/dist/chunks/{location-mutation-wx9jezy1.js → mime-rw09cprj.js} +8 -8
  229. package/dist/chunks/{location-mutation-ex8kq2v7.js → mime-rw5ambcd.js} +21 -21
  230. package/dist/chunks/{location-mutation-trfzv36a.js → mime-s3w38y65.js} +26 -26
  231. package/dist/chunks/{location-mutation-yrznvahk.js → mime-s4enseaf.js} +2 -2
  232. package/dist/chunks/{location-mutation-6vvrnehs.js → mime-sae7gfvb.js} +11 -11
  233. package/dist/chunks/{location-mutation-j7t2khjb.js → mime-sat34sqy.js} +13 -13
  234. package/dist/chunks/{location-mutation-1hkx1n6e.js → mime-sbwhh814.js} +16 -16
  235. package/dist/chunks/{location-mutation-9yy46e9h.js → mime-sge7677j.js} +24 -24
  236. package/dist/chunks/{location-mutation-8pzg6v7t.js → mime-sxr8e92x.js} +43 -43
  237. package/dist/chunks/{location-mutation-kqa0r5sn.js → mime-syx98vxf.js} +3 -3
  238. package/dist/chunks/{location-mutation-nb2qn4aw.js → mime-t0kymgeb.js} +61 -61
  239. package/dist/chunks/{location-mutation-7m8c3q74.js → mime-t2p9dx1c.js} +4 -4
  240. package/dist/chunks/{location-mutation-r18tg6pv.js → mime-t9kjr4z5.js} +24 -24
  241. package/dist/chunks/{location-mutation-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{location-mutation-tdstcens.js → mime-tdstcens.js} +1 -1
  243. package/dist/chunks/{location-mutation-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
  244. package/dist/chunks/{location-mutation-bcchdtc8.js → mime-thfnv5gc.js} +2 -2
  245. package/dist/chunks/{location-mutation-e5vf2yjr.js → mime-tp988bqa.js} +11 -11
  246. package/dist/chunks/{location-mutation-asmz7wyz.js → mime-tpw6cwsb.js} +4 -4
  247. package/dist/chunks/{location-mutation-x0600czv.js → mime-tqkrwgse.js} +2 -2
  248. package/dist/chunks/{location-mutation-tvtrv512.js → mime-tvtrv512.js} +1 -1
  249. package/dist/chunks/{location-mutation-g2a77rc6.js → mime-tyqa4rq3.js} +11 -11
  250. package/dist/chunks/{location-mutation-veqvce7d.js → mime-veqvce7d.js} +1 -1
  251. package/dist/chunks/{location-mutation-00832hy7.js → mime-vgx6weyf.js} +8 -8
  252. package/dist/chunks/{location-mutation-ff2c04x9.js → mime-vknx877p.js} +26 -26
  253. package/dist/chunks/{location-mutation-gnx4ytbv.js → mime-vkxpz7g2.js} +4 -4
  254. package/dist/chunks/{location-mutation-gy168q6x.js → mime-vp7npndj.js} +46 -46
  255. package/dist/chunks/{location-mutation-a8bn8zg0.js → mime-vsp1fds9.js} +21 -21
  256. package/dist/chunks/{location-mutation-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{location-mutation-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-mutation-p84dsdfh.js → mime-was7srj9.js} +8 -8
  259. package/dist/chunks/{location-mutation-3j1fhh7s.js → mime-wavq5vqb.js} +1 -1
  260. package/dist/chunks/{location-mutation-sav8qy04.js → mime-wce6r091.js} +4 -4
  261. package/dist/chunks/{location-mutation-wd87259q.js → mime-wd87259q.js} +1 -1
  262. package/dist/chunks/{location-mutation-b680kg0w.js → mime-wrqsgs34.js} +4 -4
  263. package/dist/chunks/{location-mutation-d6yjvz69.js → mime-wwxdkha1.js} +15 -15
  264. package/dist/chunks/{location-mutation-5myqbeq2.js → mime-wxg5n4nt.js} +86 -86
  265. package/dist/chunks/{location-mutation-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{location-mutation-ddfvfgr5.js → mime-x9yfajt1.js} +19 -19
  267. package/dist/chunks/{location-mutation-b8b3f19r.js → mime-xf8yqmad.js} +9 -9
  268. package/dist/chunks/{location-mutation-dje3rcjr.js → mime-xyf1yhas.js} +5 -5
  269. package/dist/chunks/{location-mutation-awwf17r5.js → mime-xzzqdqzt.js} +17 -17
  270. package/dist/chunks/{location-mutation-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{location-mutation-496m5bjm.js → mime-y598pph1.js} +11 -11
  272. package/dist/chunks/{location-mutation-dnez8hye.js → mime-y5hshd3q.js} +27 -27
  273. package/dist/chunks/{location-mutation-t43nxr9h.js → mime-y87sds1v.js} +35 -35
  274. package/dist/chunks/{location-mutation-qq9e9akn.js → mime-yad4qhb5.js} +20 -20
  275. package/dist/chunks/{location-mutation-nne8fdvx.js → mime-ycn09wbg.js} +8 -8
  276. package/dist/chunks/{location-mutation-h20t8dyw.js → mime-yhnrb9df.js} +25 -25
  277. package/dist/chunks/{location-mutation-x345bdrr.js → mime-ypdxe0g3.js} +3 -3
  278. package/dist/chunks/{location-mutation-dakxr3zj.js → mime-yq15jsfs.js} +23 -23
  279. package/dist/chunks/{location-mutation-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{location-mutation-we0mahnh.js → mime-yxmrz8pz.js} +35 -35
  281. package/dist/chunks/{location-mutation-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{location-mutation-khq5kjz4.js → mime-z1jvgbj7.js} +14 -14
  283. package/dist/chunks/{location-mutation-wpv223g8.js → mime-z2st3mnt.js} +23 -23
  284. package/dist/chunks/{location-mutation-j74twt0h.js → mime-z7haez8t.js} +9 -9
  285. package/dist/chunks/{location-mutation-63xctefh.js → mime-zcqf6png.js} +6 -6
  286. package/dist/chunks/{location-mutation-kzqzbsxm.js → mime-zdzzr9rq.js} +13 -13
  287. package/dist/chunks/{location-mutation-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{location-mutation-w7n8xfgp.js → mime-zmyxeed4.js} +41 -41
  289. package/dist/chunks/{location-mutation-1gg3p1ss.js → mime-zp6fq2c5.js} +9 -9
  290. package/dist/chunks/{location-mutation-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{location-mutation-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +2 -2
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +19 -19
  299. package/dist/config/plugin/agent.js +119 -119
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +120 -120
  305. package/dist/config/plugin/image.js +119 -119
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +119 -119
  308. package/dist/config/plugin/mcp.js +128 -128
  309. package/dist/config/plugin/policy.js +118 -118
  310. package/dist/config/plugin/provider.js +117 -117
  311. package/dist/config/plugin/reference.js +121 -121
  312. package/dist/config/plugin/shell.js +121 -121
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +140 -140
  315. package/dist/config/plugin/snapshot.js +119 -119
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +121 -121
  318. package/dist/config/plugin/websearch.js +119 -119
  319. package/dist/config/plugin/worktree.js +122 -122
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  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 +365 -365
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +91 -91
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +219 -219
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +100 -100
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +97 -97
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +92 -92
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +7 -7
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +356 -356
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +137 -137
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +87 -87
  470. package/dist/location-services.js +353 -353
  471. package/dist/location.js +88 -88
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  474. package/dist/mcp/instructions.js +126 -126
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +7 -7
  479. package/dist/model-resolver.js +87 -87
  480. package/dist/model.js +8 -8
  481. package/dist/models-dev.js +87 -87
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +114 -114
  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 +83 -83
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +96 -96
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +216 -216
  495. package/dist/plugin/instance.js +3 -3
  496. package/dist/plugin/internal.js +327 -327
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +76 -76
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/alibaba.js +2 -2
  504. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +2 -2
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +80 -80
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +81 -81
  516. package/dist/plugin/provider/gitlab.js +3 -3
  517. package/dist/plugin/provider/google-vertex.js +2 -2
  518. package/dist/plugin/provider/kilo.js +2 -2
  519. package/dist/plugin/provider/llmgateway.js +77 -77
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +80 -80
  522. package/dist/plugin/provider/nvidia.js +2 -2
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai-compatible.js +1 -1
  525. package/dist/plugin/provider/openai.js +81 -81
  526. package/dist/plugin/provider/opencode.js +80 -80
  527. package/dist/plugin/provider/openrouter.js +3 -3
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/sap-ai-core.js +3 -3
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +2 -2
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +78 -78
  537. package/dist/plugin/provider/zenmux.js +2 -2
  538. package/dist/plugin/provider.js +159 -159
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +135 -135
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +346 -346
  544. package/dist/plugin/update.js +6 -6
  545. package/dist/plugin/variant.js +4 -4
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +116 -116
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +6 -6
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +4 -4
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +227 -227
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +7 -7
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +3 -3
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +7 -7
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +223 -223
  581. package/dist/session/execution.js +128 -128
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +15 -15
  584. package/dist/session/inbox.js +85 -85
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +74 -74
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +92 -92
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +117 -117
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +130 -130
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +228 -228
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +87 -87
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +114 -114
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +172 -172
  609. package/dist/session/shell.js +134 -134
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +111 -111
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +11 -11
  626. package/dist/shell.js +136 -136
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +102 -102
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +125 -125
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +115 -115
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +122 -122
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +11 -11
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +4 -4
  667. package/dist/v1/config/formatter.js +3 -3
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +4 -4
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -88
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +80 -80
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +79 -79
  687. package/dist/worktree/directory.js +4 -4
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/refresh.js +343 -343
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +93 -93
  692. package/package.json +8 -8
  693. package/dist/chunks/location-mutation-04psxgym.js +0 -26
  694. package/dist/chunks/location-mutation-1x11rq2a.js +0 -18
  695. package/dist/chunks/location-mutation-6kdq0pjd.js +0 -4
  696. package/dist/chunks/location-mutation-kdmgr5sj.js +0 -247
  697. package/dist/chunks/location-mutation-yv3k7813.js +0 -466
  698. /package/dist/chunks/{location-mutation-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{location-mutation-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{location-mutation-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{location-mutation-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{location-mutation-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{location-mutation-2710q6r3.js → mime-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{location-mutation-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{location-mutation-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{location-mutation-359p4xyc.js → mime-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{location-mutation-3asan66x.js → mime-3asan66x.js} +0 -0
  708. /package/dist/chunks/{location-mutation-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{location-mutation-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{location-mutation-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{location-mutation-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{location-mutation-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{location-mutation-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{location-mutation-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{location-mutation-53557ph1.js → mime-53557ph1.js} +0 -0
  716. /package/dist/chunks/{location-mutation-550bvhaj.js → mime-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{location-mutation-6prwharc.js → mime-6prwharc.js} +0 -0
  718. /package/dist/chunks/{location-mutation-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{location-mutation-7m9af43g.js → mime-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{location-mutation-822emrt2.js → mime-822emrt2.js} +0 -0
  721. /package/dist/chunks/{location-mutation-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{location-mutation-8n3pysct.js → mime-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{location-mutation-922hggd3.js → mime-922hggd3.js} +0 -0
  724. /package/dist/chunks/{location-mutation-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{location-mutation-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{location-mutation-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{location-mutation-af5trqkr.js → mime-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{location-mutation-afrmfg78.js → mime-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{location-mutation-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{location-mutation-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{location-mutation-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{location-mutation-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{location-mutation-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{location-mutation-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{location-mutation-d9fn303g.js → mime-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{location-mutation-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{location-mutation-dajrwvna.js → mime-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{location-mutation-dap0rakb.js → mime-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{location-mutation-df08tz66.js → mime-df08tz66.js} +0 -0
  740. /package/dist/chunks/{location-mutation-dy18nga0.js → mime-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{location-mutation-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{location-mutation-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{location-mutation-ec1grn59.js → mime-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{location-mutation-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{location-mutation-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{location-mutation-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{location-mutation-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{location-mutation-faypxj3z.js → mime-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{location-mutation-fd410y7t.js → mime-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{location-mutation-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{location-mutation-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-mutation-g86h250q.js → mime-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-mutation-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-mutation-gftt206x.js → mime-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-mutation-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{location-mutation-hk9envan.js → mime-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-mutation-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
  758. /package/dist/chunks/{location-mutation-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{location-mutation-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{location-mutation-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-mutation-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-mutation-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{location-mutation-mp448xyj.js → mime-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{location-mutation-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{location-mutation-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{location-mutation-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{location-mutation-njntx4h6.js → mime-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{location-mutation-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{location-mutation-q74kybfr.js → mime-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{location-mutation-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{location-mutation-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{location-mutation-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{location-mutation-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{location-mutation-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{location-mutation-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{location-mutation-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{location-mutation-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{location-mutation-twg0f83k.js → mime-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{location-mutation-w803qqfp.js → mime-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{location-mutation-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{location-mutation-wtztk69x.js → mime-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{location-mutation-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{location-mutation-x61499pn.js → mime-x61499pn.js} +0 -0
  784. /package/dist/chunks/{location-mutation-y44na4kk.js → mime-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{location-mutation-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{location-mutation-y8f7s663.js → mime-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{location-mutation-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{location-mutation-ym463w8f.js → mime-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{location-mutation-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-mutation-1hkx1n6e.js";
2
+ Service78,
3
+ node83
4
+ } from "./mime-sbwhh814.js";
5
5
  import {
6
- Service54,
7
- node58
8
- } from "./location-mutation-kzqzbsxm.js";
6
+ Service63,
7
+ node66
8
+ } from "./mime-zdzzr9rq.js";
9
9
  import {
10
10
  create3
11
- } from "./location-mutation-kg06axw8.js";
11
+ } from "./mime-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./location-mutation-9rqn6x4v.js";
14
+ } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event3,
21
- ID: () => ID3,
22
- Input: () => Input13,
20
+ Event: () => Event13,
21
+ ID: () => ID10,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service15,
31
+ Service: () => Service62,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node19
33
+ node: () => node65
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event3 } from "@opencode/schema/websearch";
41
- var ID3 = WebSearch.ID;
40
+ import { Event as Event13 } from "@opencode/schema/websearch";
41
+ var ID10 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID3
53
+ providerID: ID10
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID3,
61
+ providerID: ID10,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service15 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service62 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service15, Effect.gen(function* () {
69
- const bus = yield* Service79;
70
- const kv = yield* Service54;
68
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
69
+ const bus = yield* Service78;
70
+ const kv = yield* Service63;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service15.of({
127
+ return Service62.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node19 = makeLocationNode({
188
- service: Service15,
187
+ var node65 = makeLocationNode({
188
+ service: Service62,
189
189
  layer,
190
- deps: [node84, node58]
190
+ deps: [node83, node66]
191
191
  });
192
192
 
193
- export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node19, exports_websearch3, Event3 };
193
+ export { ID10, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service62, node65, exports_websearch3, Event13 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service51
3
- } from "./location-mutation-gy168q6x.js";
2
+ Service59
3
+ } from "./mime-vp7npndj.js";
4
4
  import {
5
5
  match2
6
- } from "./location-mutation-y1fvbwt7.js";
6
+ } from "./mime-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./location-mutation-qsdy395h.js";
9
+ } from "./mime-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./location-mutation-9rqn6x4v.js";
12
+ } from "./mime-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin9
18
+ Plugin: () => Plugin24
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin9 = define({
22
+ var Plugin24 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
25
+ const config = yield* Service59;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin9 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin9, exports_policy };
38
+ export { Plugin24, exports_policy };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-mutation-1hkx1n6e.js";
2
+ Service78,
3
+ node83
4
+ } from "./mime-sbwhh814.js";
5
5
  import {
6
- Key3,
7
- Service73,
8
- node78
9
- } from "./location-mutation-1y37nkr1.js";
6
+ Key4,
7
+ Service77,
8
+ node82
9
+ } from "./mime-n9gzpzcc.js";
10
10
  import {
11
11
  create3
12
- } from "./location-mutation-kg06axw8.js";
12
+ } from "./mime-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./location-mutation-815wrfbm.js";
16
+ } from "./mime-a14tmfw2.js";
17
17
  import {
18
18
  __export
19
- } from "./location-mutation-9rqn6x4v.js";
19
+ } from "./mime-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event16,
34
+ Event: () => Event18,
35
35
  ID: () => ID14,
36
- Info: () => Info27,
36
+ Info: () => Info29,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service71,
44
- node: () => node76
43
+ Service: () => Service75,
44
+ node: () => node80
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,7 +62,7 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event16 } from "@opencode/schema/integration";
65
+ import { Event as Event18 } from "@opencode/schema/integration";
66
66
  var ID14 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info27 = Integration.Info;
74
+ var Info29 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,14 +94,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
94
94
  }
95
95
  var Ref3 = Integration.Ref;
96
96
 
97
- class Service71 extends Context.Service()("@opencode/Integration") {
97
+ class Service75 extends Context.Service()("@opencode/Integration") {
98
98
  }
99
99
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
100
100
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
101
101
  var scrubInterval = Duration.seconds(30);
102
- var layer = Layer.effect(Service71, Effect.gen(function* () {
103
- const credentials = yield* Service73;
104
- const bus = yield* Service79;
102
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
103
+ const credentials = yield* Service77;
104
+ const bus = yield* Service78;
105
105
  const processes = yield* AppProcess.Service;
106
106
  const scope = yield* Scope.Scope;
107
107
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
194
194
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
195
195
  return [...credentials, ...env];
196
196
  };
197
- const project = (entry, connections) => Info27.make({
197
+ const project = (entry, connections) => Info29.make({
198
198
  id: entry.ref.id,
199
199
  name: entry.ref.name,
200
200
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -278,7 +278,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
278
278
  const persistence = yield* createCredential({
279
279
  integrationID: attempt.integrationID,
280
280
  label: attempt.label,
281
- value: Key3.make({ type: "key", key: exit.value })
281
+ value: Key4.make({ type: "key", key: exit.value })
282
282
  }).pipe(Effect.asVoid, Effect.exit);
283
283
  const settledAt = yield* Clock.currentTimeMillis;
284
284
  const terminal = Exit.isSuccess(persistence) ? {
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
424
424
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
425
425
  return CommandAttempt2.make({ attemptID, time });
426
426
  });
427
- return Service71.of({
427
+ return Service75.of({
428
428
  transform: state.transform,
429
429
  reload: state.reload,
430
430
  get: Effect.fn("Integration.get")(function* (id) {
@@ -445,7 +445,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
445
445
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
446
446
  if (connection.type === "env") {
447
447
  const key = process.env[connection.name];
448
- return key ? Key3.make({ type: "key", key }) : undefined;
448
+ return key ? Key4.make({ type: "key", key }) : undefined;
449
449
  }
450
450
  const credential = yield* credentials.get(connection.id);
451
451
  if (!credential)
@@ -478,7 +478,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
478
478
  yield* createCredential({
479
479
  integrationID: input.integrationID,
480
480
  label: input.label,
481
- value: Key3.make({
481
+ value: Key4.make({
482
482
  type: "key",
483
483
  key: input.key,
484
484
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -572,10 +572,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
572
572
  }
573
573
  });
574
574
  }));
575
- var node76 = makeLocationNode({
576
- service: Service71,
575
+ var node80 = makeLocationNode({
576
+ service: Service75,
577
577
  layer,
578
- deps: [node78, node84, AppProcess.node]
578
+ deps: [node82, node83, AppProcess.node]
579
579
  });
580
580
 
581
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node76, exports_integration, Event16 };
581
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node80, exports_integration, Event18 };
@@ -1,63 +1,63 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./location-mutation-e5vf2yjr.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./location-mutation-1hkx1n6e.js";
4
+ } from "./mime-tp988bqa.js";
5
+ import {
6
+ Service78,
7
+ node83
8
+ } from "./mime-sbwhh814.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-mutation-pknna89w.js";
11
+ } from "./mime-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-mutation-0q0f95c6.js";
14
+ } from "./mime-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-mutation-9rqn6x4v.js";
17
+ } from "./mime-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID16,
25
- Info: () => Info29,
26
- Key: () => Key3,
23
+ Event: () => Event20,
24
+ ID: () => ID17,
25
+ Info: () => Info32,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service73,
28
+ Service: () => Service77,
29
29
  Value: () => Value2,
30
- node: () => node78
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID17 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info32 extends Schema.Class("Credential.Info")({
44
+ id: ID17,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service73 extends Context.Service()("@opencode/Credential") {
51
+ class Service77 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service73, Effect.gen(function* () {
54
- const db = (yield* Service80).db;
55
- const bus = yield* Service79;
53
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
54
+ const db = (yield* Service79).db;
55
+ const bus = yield* Service78;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info32({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service73.of({
71
+ return Service77.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID16.create(),
79
+ const credential = new Info32({
80
+ id: ID17.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node78 = makeGlobalNode({ service: Service73, layer, deps: [node85, node84] });
196
+ var node82 = makeGlobalNode({ service: Service77, layer, deps: [node84, node83] });
197
197
 
198
- export { ID16, OAuth3, Key3, Value2, Event18, Info29, Service73, node78, exports_credential };
198
+ export { ID17, OAuth3, Key4, Value2, Event20, Info32, Service77, node82, exports_credential };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./location-mutation-1y37nkr1.js";
3
+ } from "./mime-n9gzpzcc.js";
4
4
  import {
5
5
  ID14,
6
6
  MethodID2
7
- } from "./location-mutation-2pwgvmd7.js";
7
+ } from "./mime-n7w7dj2n.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./location-mutation-pjvnvgmy.js";
11
+ } from "./mime-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./location-mutation-9rqn6x4v.js";
3
+ } from "./mime-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: () => make15,
9
+ make: () => make14,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make14(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 { make15, render3, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./location-mutation-e5vf2yjr.js";
5
- import {
6
- latestSequence2,
7
2
  Service79,
8
3
  node84
9
- } from "./location-mutation-1hkx1n6e.js";
4
+ } from "./mime-tp988bqa.js";
5
+ import {
6
+ latestSequence2,
7
+ Service78,
8
+ node83
9
+ } from "./mime-sbwhh814.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./location-mutation-5t3nmthw.js";
12
+ } from "./mime-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./location-mutation-ec1grn59.js";
15
+ } from "./mime-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./location-mutation-37aqwf9n.js";
18
+ } from "./mime-rk95q894.js";
19
19
  import {
20
- Service63,
21
- node67
22
- } from "./location-mutation-hwv6vseg.js";
20
+ Service50,
21
+ node53
22
+ } from "./mime-6e67y2h6.js";
23
23
  import {
24
- Service20,
25
- node25
26
- } from "./location-mutation-5myqbeq2.js";
24
+ Service19,
25
+ node23
26
+ } from "./mime-wxg5n4nt.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./location-mutation-tdstcens.js";
30
+ } from "./mime-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./location-mutation-9rqn6x4v.js";
33
+ } from "./mime-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service10,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node5
41
+ layer: () => layer6,
42
+ node: () => node13
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service10 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
- const bus = yield* Service79;
61
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
62
+ const bus = yield* Service78;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service20;
65
- const store = yield* Service63;
66
- const db = (yield* Service80).db;
64
+ const context = yield* Service19;
65
+ const store = yield* Service50;
66
+ const db = (yield* Service79).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service10.of({ generate });
149
149
  }));
150
- var node5 = makeLocationNode({
151
- service: Service3,
152
- layer: layer3,
153
- deps: [node84, llmClient2, node25, node67, node85]
150
+ var node13 = makeLocationNode({
151
+ service: Service10,
152
+ layer: layer6,
153
+ deps: [node83, llmClient2, node23, node53, node84]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node5, exports_title };
156
+ export { Service10, isUntitled2, layer6, node13, exports_title };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID12 = Session.ID;
5
- var Info25 = Session.Info;
4
+ var ID9 = Session.ID;
5
+ var Info13 = Session.Info;
6
6
 
7
- export { ID12, Info25, SessionSchema2 };
7
+ export { ID9, Info13, SessionSchema2 };