@opencode/core 0.0.0-dev-19315 → 0.0.0-dev-19317

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +2 -2
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +77 -77
  8. package/dist/chunks/{schema-2xxkd6hq.js → repository-02smmm4r.js} +19 -19
  9. package/dist/chunks/{schema-esxv8tw4.js → repository-045wck3r.js} +4 -4
  10. package/dist/chunks/{schema-cg3xgnsj.js → repository-059964m6.js} +44 -44
  11. package/dist/chunks/{schema-v8jfbz3g.js → repository-0bps82y7.js} +4 -4
  12. package/dist/chunks/repository-0mesazry.js +4 -0
  13. package/dist/chunks/{schema-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{schema-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{schema-h8t2fjwh.js → repository-0xvyn13b.js} +56 -56
  16. package/dist/chunks/{schema-33v1kfw7.js → repository-164c4x8d.js} +4 -4
  17. package/dist/chunks/{schema-8z893rkr.js → repository-16j2nq32.js} +16 -16
  18. package/dist/chunks/{schema-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{schema-dvt68sy9.js → repository-1ajye52f.js} +22 -22
  20. package/dist/chunks/{schema-fban3jjy.js → repository-1awm1f41.js} +12 -12
  21. package/dist/chunks/{schema-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{schema-1dfhrqqs.js → repository-1dfhrqqs.js} +2 -2
  23. package/dist/chunks/{schema-tmcnbrvb.js → repository-1f0q2knt.js} +33 -33
  24. package/dist/chunks/{schema-w94wf1va.js → repository-1pdzqgga.js} +16 -16
  25. package/dist/chunks/{schema-d09006c3.js → repository-1tjg7tvh.js} +9 -9
  26. package/dist/chunks/{schema-mfqp6xfm.js → repository-1ygqh575.js} +6 -6
  27. package/dist/chunks/{schema-21r38tys.js → repository-21r38tys.js} +1 -1
  28. package/dist/chunks/{schema-2402vzrj.js → repository-2402vzrj.js} +1 -1
  29. package/dist/chunks/{schema-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{schema-tc2jbzt4.js → repository-2bqak6vk.js} +9 -9
  31. package/dist/chunks/{schema-rry7wysn.js → repository-2c593dpe.js} +29 -29
  32. package/dist/chunks/{schema-wwke1kyk.js → repository-2d626495.js} +7 -7
  33. package/dist/chunks/{schema-wcbqwdj0.js → repository-2ehqxkpw.js} +12 -12
  34. package/dist/chunks/{schema-t0fxg8b9.js → repository-2f0bjgcj.js} +5 -5
  35. package/dist/chunks/{schema-3csdgxhx.js → repository-2p43b4z4.js} +6 -6
  36. package/dist/chunks/{schema-9f3e1ggy.js → repository-2pmrb1d6.js} +7 -7
  37. package/dist/chunks/{schema-v3jcw94y.js → repository-2qyxhzr1.js} +11 -11
  38. package/dist/chunks/{schema-kzdcqyn1.js → repository-2vgzs72b.js} +5 -5
  39. package/dist/chunks/{schema-23sxaqwc.js → repository-2y34zzjz.js} +6 -6
  40. package/dist/chunks/{schema-hx6nt0pb.js → repository-35adck8a.js} +16 -16
  41. package/dist/chunks/{schema-y0gb26f5.js → repository-36t2ng94.js} +13 -13
  42. package/dist/chunks/{schema-sbqjgjqr.js → repository-38sxx9hd.js} +30 -30
  43. package/dist/chunks/{schema-ggkmsn0n.js → repository-3dj2kwsy.js} +18 -18
  44. package/dist/chunks/{schema-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{schema-2emagh9c.js → repository-3kem7kwr.js} +14 -14
  46. package/dist/chunks/{schema-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{schema-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{schema-xwwz9aqf.js → repository-3ythc6yv.js} +4 -4
  49. package/dist/chunks/{schema-dghgjkkt.js → repository-43k15f45.js} +4 -4
  50. package/dist/chunks/{schema-yngj08nc.js → repository-476t6gmh.js} +11 -11
  51. package/dist/chunks/{schema-47gsdddb.js → repository-47gsdddb.js} +1 -1
  52. package/dist/chunks/{schema-1z0ea248.js → repository-4c8re0tx.js} +13 -13
  53. package/dist/chunks/{schema-x1b8f3r0.js → repository-4cbfc9qt.js} +20 -20
  54. package/dist/chunks/{schema-0mgswt6t.js → repository-4em4qkvj.js} +24 -24
  55. package/dist/chunks/{schema-x583y8qn.js → repository-4r8zj0xa.js} +13 -13
  56. package/dist/chunks/{schema-wkxdf99e.js → repository-50364jye.js} +46 -46
  57. package/dist/chunks/{schema-4bphcb4q.js → repository-594bb0zr.js} +14 -14
  58. package/dist/chunks/{schema-5daktx2q.js → repository-5daktx2q.js} +1 -1
  59. package/dist/chunks/{schema-ymjxwgvb.js → repository-5ffk5gzk.js} +75 -75
  60. package/dist/chunks/{schema-5kptn8c0.js → repository-5kptn8c0.js} +2 -2
  61. package/dist/chunks/{schema-vyjxsjpz.js → repository-5naxf7j8.js} +3 -3
  62. package/dist/chunks/{schema-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{schema-19z7ckkr.js → repository-615kspf3.js} +24 -24
  64. package/dist/chunks/{schema-669tq793.js → repository-669tq793.js} +1 -1
  65. package/dist/chunks/{schema-jmarb9hd.js → repository-66cmz1z4.js} +17 -17
  66. package/dist/chunks/{schema-r007a4a3.js → repository-66v2kt92.js} +8 -8
  67. package/dist/chunks/{schema-0d55fq0h.js → repository-6c6pe1h9.js} +16 -16
  68. package/dist/chunks/{schema-sthx2gx7.js → repository-6cw0q144.js} +4 -4
  69. package/dist/chunks/{schema-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{schema-xaf9dczh.js → repository-6prdtfsq.js} +7 -7
  71. package/dist/chunks/{schema-5y7wjg0m.js → repository-6xrzfrk8.js} +20 -20
  72. package/dist/chunks/{schema-d1z56afy.js → repository-6xyd484e.js} +12 -12
  73. package/dist/chunks/{schema-6xtbsy03.js → repository-6zr7k3aq.js} +16 -16
  74. package/dist/chunks/{schema-71q4at8m.js → repository-71q4at8m.js} +1 -1
  75. package/dist/chunks/{schema-ra3x11vx.js → repository-71wj71z5.js} +7 -7
  76. package/dist/chunks/{schema-mhkvc446.js → repository-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{schema-s4bpprrf.js → repository-76dvax8j.js} +26 -26
  78. package/dist/chunks/{schema-7v4sg4py.js → repository-7796pmke.js} +36 -36
  79. package/dist/chunks/{schema-zggabhn7.js → repository-786rp8pk.js} +11 -11
  80. package/dist/chunks/{schema-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{schema-rwf0nzrt.js → repository-7hy3mtbm.js} +7 -7
  82. package/dist/chunks/{schema-fge0ah70.js → repository-89scvk1m.js} +3 -3
  83. package/dist/chunks/{schema-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{schema-mey9myn8.js → repository-8fkaqdjp.js} +21 -21
  85. package/dist/chunks/{schema-rysxkvb4.js → repository-8g9ptmgy.js} +32 -32
  86. package/dist/chunks/{schema-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{schema-zq2jd2av.js → repository-8w4ne1ng.js} +24 -24
  88. package/dist/chunks/{schema-bm1f71yt.js → repository-8wsye86r.js} +8 -8
  89. package/dist/chunks/{schema-t1bhcjx3.js → repository-96yt6zt0.js} +1 -1
  90. package/dist/chunks/{schema-ymnsp9y8.js → repository-983mj5wh.js} +34 -34
  91. package/dist/chunks/{schema-e0camyxs.js → repository-994195wy.js} +38 -38
  92. package/dist/chunks/{schema-pm9j628w.js → repository-9cq2d911.js} +3 -3
  93. package/dist/chunks/{schema-dv2wkykp.js → repository-9j04cpa9.js} +22 -22
  94. package/dist/chunks/{schema-zkvpckg7.js → repository-9kp37p9x.js} +17 -17
  95. package/dist/chunks/{schema-9gmrc3m2.js → repository-9pn042z2.js} +11 -11
  96. package/dist/chunks/{schema-7fcrrf7c.js → repository-9pntmsg4.js} +5 -5
  97. package/dist/chunks/{schema-hep2a0b7.js → repository-9t7dzp30.js} +27 -27
  98. package/dist/chunks/{schema-3ezse2vx.js → repository-a08t2777.js} +11 -11
  99. package/dist/chunks/{schema-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{schema-jhk25xys.js → repository-a4hnh0bm.js} +11 -11
  101. package/dist/chunks/{schema-n0pywpq4.js → repository-a5tz83rk.js} +6 -6
  102. package/dist/chunks/{schema-aaet6srn.js → repository-aaet6srn.js} +2 -2
  103. package/dist/chunks/{schema-h4xjf306.js → repository-ahpy00m2.js} +20 -20
  104. package/dist/chunks/{schema-aynen3k2.js → repository-akymg2m4.js} +5 -5
  105. package/dist/chunks/{schema-gwng5rs7.js → repository-arbskmtj.js} +9 -9
  106. package/dist/chunks/{schema-rc7c1nkz.js → repository-arkn2b9y.js} +26 -26
  107. package/dist/chunks/{schema-rzh64qrh.js → repository-awakh2te.js} +25 -25
  108. package/dist/chunks/{schema-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{schema-af8qyc7k.js → repository-bb1ss1nb.js} +24 -24
  110. package/dist/chunks/{schema-e9cy62py.js → repository-bcn5dnkb.js} +4 -4
  111. package/dist/chunks/{schema-gd3ag2we.js → repository-bh01taga.js} +10 -10
  112. package/dist/chunks/{schema-ejffycx6.js → repository-bkqb0v3f.js} +4 -4
  113. package/dist/chunks/{schema-g26fr9df.js → repository-bn183kc6.js} +18 -18
  114. package/dist/chunks/{schema-2q85j725.js → repository-bsbmndgv.js} +1 -1
  115. package/dist/chunks/{schema-3f970z16.js → repository-cb945wyk.js} +21 -21
  116. package/dist/chunks/{schema-zwyzcrrk.js → repository-cct48r6v.js} +19 -19
  117. package/dist/chunks/{schema-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{schema-yxc59d7f.js → repository-cjwramev.js} +6 -6
  119. package/dist/chunks/{schema-7jfqf6pz.js → repository-ckjvqjqe.js} +24 -24
  120. package/dist/chunks/{schema-6anwy9fs.js → repository-cpy6gm2a.js} +5 -5
  121. package/dist/chunks/{schema-cq37gk0t.js → repository-cq37gk0t.js} +4 -4
  122. package/dist/chunks/{schema-7k98zq5j.js → repository-dj0r9pya.js} +28 -28
  123. package/dist/chunks/{schema-p58x6frn.js → repository-e3rrrskg.js} +4 -4
  124. package/dist/chunks/repository-e5dbcc46.js +22 -0
  125. package/dist/chunks/{schema-8nq6hfsb.js → repository-e72k63ab.js} +6 -6
  126. package/dist/chunks/{schema-tr93pe43.js → repository-ebn37zs9.js} +11 -11
  127. package/dist/chunks/{schema-dhmh7aw6.js → repository-embw8kgh.js} +4 -4
  128. package/dist/chunks/{schema-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{schema-vtfyh9kp.js → repository-f0v0ycm1.js} +18 -18
  130. package/dist/chunks/{schema-cpk86zgx.js → repository-f28ytfvt.js} +10 -10
  131. package/dist/chunks/{schema-yzyvjjcs.js → repository-f4ay2dft.js} +4 -4
  132. package/dist/chunks/{schema-m1qbg9kq.js → repository-f76ze5tv.js} +33 -33
  133. package/dist/chunks/{schema-f828m53h.js → repository-f828m53h.js} +2 -2
  134. package/dist/chunks/{schema-n5zjdcc0.js → repository-f8q7mv7a.js} +1 -1
  135. package/dist/chunks/{schema-27qrrwqp.js → repository-fa62265d.js} +13 -13
  136. package/dist/chunks/{schema-wkm5226z.js → repository-fcsd4zs5.js} +11 -11
  137. package/dist/chunks/{schema-1fa9ans5.js → repository-fgh0kbhd.js} +1 -1
  138. package/dist/chunks/{schema-tfgscs23.js → repository-fmyvj1jr.js} +3 -3
  139. package/dist/chunks/{schema-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{schema-fmmn8x74.js → repository-fygdb7h7.js} +3 -3
  141. package/dist/chunks/{schema-mjdfv6k0.js → repository-g48a3zmh.js} +12 -12
  142. package/dist/chunks/{schema-9sx9q53n.js → repository-g71p6t9p.js} +11 -11
  143. package/dist/chunks/{schema-50ew5km2.js → repository-g8e8xch5.js} +67 -67
  144. package/dist/chunks/{schema-0b4tyj5c.js → repository-gb6yb404.js} +33 -33
  145. package/dist/chunks/{schema-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{schema-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
  147. package/dist/chunks/{schema-y0sydbwz.js → repository-gn1fbr6b.js} +9 -9
  148. package/dist/chunks/{schema-jfmd2d66.js → repository-gs888y4z.js} +8 -8
  149. package/dist/chunks/{schema-ahwzvjet.js → repository-gszsphzc.js} +3 -3
  150. package/dist/chunks/{schema-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{schema-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  152. package/dist/chunks/{schema-nq8ttx4a.js → repository-h0r85tvv.js} +4 -4
  153. package/dist/chunks/{schema-8qh0cz1n.js → repository-h165c536.js} +14 -14
  154. package/dist/chunks/{schema-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{schema-4kjqrx32.js → repository-h7q5ckcv.js} +15 -15
  156. package/dist/chunks/{schema-gsx0ryk4.js → repository-h7ygw6q4.js} +9 -9
  157. package/dist/chunks/{schema-apccazr7.js → repository-hjza1htt.js} +9 -9
  158. package/dist/chunks/{schema-pecb0brz.js → repository-hkfg6fzm.js} +5 -5
  159. package/dist/chunks/{schema-ann5hjcn.js → repository-hrxs1993.js} +3 -3
  160. package/dist/chunks/{schema-bdg5dsss.js → repository-hteedcyj.js} +30 -30
  161. package/dist/chunks/{schema-4yfcpcky.js → repository-hvbtbey6.js} +10 -10
  162. package/dist/chunks/{schema-j56e64zr.js → repository-j56e64zr.js} +1 -1
  163. package/dist/chunks/{schema-d421n1ff.js → repository-j9c14zc8.js} +8 -8
  164. package/dist/chunks/{schema-26bm9vc1.js → repository-jb0x01rj.js} +24 -24
  165. package/dist/chunks/{schema-gwfas74g.js → repository-jgw85x6m.js} +16 -16
  166. package/dist/chunks/{schema-4xtb46xg.js → repository-jhhkcjkk.js} +18 -18
  167. package/dist/chunks/{schema-rxb98w6d.js → repository-jk1sm5e0.js} +20 -20
  168. package/dist/chunks/{schema-7678ggar.js → repository-jpcfnxx6.js} +12 -12
  169. package/dist/chunks/{schema-ed9v73ba.js → repository-jqb83hwr.js} +16 -16
  170. package/dist/chunks/{schema-cavr175a.js → repository-jw80jp6b.js} +4 -4
  171. package/dist/chunks/{schema-2mdv5ymf.js → repository-jyjh1hv5.js} +9 -9
  172. package/dist/chunks/{schema-qssq5wvh.js → repository-k16ay38w.js} +1 -1
  173. package/dist/chunks/{schema-1tjd06ef.js → repository-k1dwx0ea.js} +6 -6
  174. package/dist/chunks/{schema-d34vvr7x.js → repository-k6mvgpmx.js} +13 -13
  175. package/dist/chunks/{schema-kg06axw8.js → repository-kg06axw8.js} +1 -1
  176. package/dist/chunks/{schema-wtzzntf3.js → repository-kpgmbxv4.js} +9 -9
  177. package/dist/chunks/{schema-hf8cnsjw.js → repository-ksz0h0wp.js} +1 -1
  178. package/dist/chunks/{schema-5aprmt0q.js → repository-kw9bzk6g.js} +17 -17
  179. package/dist/chunks/{schema-0y31edgy.js → repository-kzx5e7cb.js} +139 -139
  180. package/dist/chunks/{schema-3ry4enn3.js → repository-m1kdqrrt.js} +26 -26
  181. package/dist/chunks/{schema-93qvm8az.js → repository-m23z2hgx.js} +36 -36
  182. package/dist/chunks/{schema-dt849bc4.js → repository-m27pyyd3.js} +6 -6
  183. package/dist/chunks/{schema-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{schema-dhqycw72.js → repository-mf7gv44a.js} +24 -20
  185. package/dist/chunks/{schema-khgxsbt4.js → repository-mh0z80me.js} +7 -7
  186. package/dist/chunks/{schema-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  187. package/dist/chunks/{schema-h3fsa19t.js → repository-mmwr6ta3.js} +13 -13
  188. package/dist/chunks/{schema-mfhfdr54.js → repository-msq0jde0.js} +4 -4
  189. package/dist/chunks/{schema-mqqdt0nc.js → repository-mvptyta3.js} +12 -12
  190. package/dist/chunks/{schema-yeaas6gx.js → repository-n4w1yhk7.js} +20 -20
  191. package/dist/chunks/{schema-3w2rn9dp.js → repository-n7698azc.js} +15 -15
  192. package/dist/chunks/{schema-6jex2xta.js → repository-n76fdqym.js} +5 -5
  193. package/dist/chunks/{schema-62t5ee4h.js → repository-nv9askeb.js} +8 -8
  194. package/dist/chunks/{schema-yq7c167k.js → repository-nyw36zg8.js} +15 -15
  195. package/dist/chunks/{schema-39r80e1r.js → repository-p33ejz0k.js} +1 -1
  196. package/dist/chunks/{schema-vdpebk9b.js → repository-p55xqwj6.js} +26 -26
  197. package/dist/chunks/{schema-v30hgzdg.js → repository-p66jjbas.js} +8 -8
  198. package/dist/chunks/{schema-kqh9nm8q.js → repository-paks601p.js} +28 -28
  199. package/dist/chunks/{schema-cvdpw4j1.js → repository-php4m0nf.js} +2 -2
  200. package/dist/chunks/repository-phz3h32g.js +18 -0
  201. package/dist/chunks/{schema-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{schema-sfvj2g2k.js → repository-pk2244jm.js} +2 -2
  203. package/dist/chunks/{schema-pknna89w.js → repository-pknna89w.js} +1 -1
  204. package/dist/chunks/{schema-jxbvqnrb.js → repository-pt8770bk.js} +6 -6
  205. package/dist/chunks/{schema-hstcsx0c.js → repository-qa2rds3b.js} +13 -13
  206. package/dist/chunks/{schema-yefxppqx.js → repository-qg6rt9vr.js} +15 -15
  207. package/dist/chunks/{schema-qgn6gcr1.js → repository-qgn6gcr1.js} +1 -1
  208. package/dist/chunks/{schema-m3yrrbbr.js → repository-qmxj8h0d.js} +10 -10
  209. package/dist/chunks/{schema-5c7w043m.js → repository-qsdt89h7.js} +22 -22
  210. package/dist/chunks/{schema-qsdy395h.js → repository-qsdy395h.js} +1 -1
  211. package/dist/chunks/{schema-8gnjjt4m.js → repository-r4prmjef.js} +3 -3
  212. package/dist/chunks/{schema-7s02b6me.js → repository-r9babyk8.js} +1 -1
  213. package/dist/chunks/{schema-g8d3gcyj.js → repository-ratrq7cm.js} +5 -5
  214. package/dist/chunks/{schema-rhjbct0v.js → repository-rhjbct0v.js} +1 -1
  215. package/dist/chunks/{schema-rk0rec3h.js → repository-rk0rec3h.js} +2 -2
  216. package/dist/chunks/{schema-3m330dqz.js → repository-rwey6xtr.js} +285 -285
  217. package/dist/chunks/{schema-n0amp1ck.js → repository-s1taq3yv.js} +15 -15
  218. package/dist/chunks/{schema-ygg5s4mj.js → repository-s6wjkaab.js} +14 -14
  219. package/dist/chunks/{schema-za9cx4qh.js → repository-sbnsh8k5.js} +8 -8
  220. package/dist/chunks/{schema-7q1612ja.js → repository-swtg4spb.js} +7 -7
  221. package/dist/chunks/{schema-fxma3jmn.js → repository-t0db4qcz.js} +10 -10
  222. package/dist/chunks/{schema-4qce8s6f.js → repository-t5vzjtwz.js} +12 -12
  223. package/dist/chunks/{schema-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  224. package/dist/chunks/repository-tb3zndzb.js +247 -0
  225. package/dist/chunks/{schema-avvew7tz.js → repository-tbcgmyg4.js} +47 -47
  226. package/dist/chunks/{schema-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{schema-jxtw827s.js → repository-tcjn4qbc.js} +37 -37
  228. package/dist/chunks/{schema-tdstcens.js → repository-tdstcens.js} +1 -1
  229. package/dist/chunks/{schema-s621ccm3.js → repository-tesasq7y.js} +11 -11
  230. package/dist/chunks/{schema-v6kh18tr.js → repository-tfngb0ww.js} +4 -4
  231. package/dist/chunks/{schema-f8zp45td.js → repository-tkms5754.js} +25 -25
  232. package/dist/chunks/{schema-c9rkggg0.js → repository-tq3zj2mx.js} +4 -4
  233. package/dist/chunks/{schema-fb69kj5w.js → repository-ttm38dpy.js} +6 -6
  234. package/dist/chunks/{schema-ej832pbm.js → repository-tts5d3vq.js} +13 -13
  235. package/dist/chunks/{schema-tvtrv512.js → repository-tvtrv512.js} +1 -1
  236. package/dist/chunks/{schema-1hbbayva.js → repository-txft1z8e.js} +23 -23
  237. package/dist/chunks/{schema-mmpywmy8.js → repository-v9t95238.js} +15 -15
  238. package/dist/chunks/{schema-pekwj3qr.js → repository-vbzh8kc2.js} +25 -25
  239. package/dist/chunks/{schema-2eyxhsen.js → repository-vepva715.js} +9 -9
  240. package/dist/chunks/{schema-veqvce7d.js → repository-veqvce7d.js} +1 -1
  241. package/dist/chunks/{schema-pr80m118.js → repository-vmvf27d6.js} +2 -2
  242. package/dist/chunks/{schema-vncycja5.js → repository-vncycja5.js} +1 -1
  243. package/dist/chunks/{schema-ws5qfxv9.js → repository-vxwzppst.js} +9 -9
  244. package/dist/chunks/{schema-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{schema-6ytdtxpy.js → repository-vzkegt94.js} +45 -45
  246. package/dist/chunks/{schema-1ns5ss6t.js → repository-w3b0evb0.js} +17 -17
  247. package/dist/chunks/{schema-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{schema-tqae5094.js → repository-w4x6a4ey.js} +5 -5
  249. package/dist/chunks/{schema-wa9n8nyq.js → repository-wa9n8nyq.js} +2 -2
  250. package/dist/chunks/{schema-wd87259q.js → repository-wd87259q.js} +1 -1
  251. package/dist/chunks/{schema-n72fdvhp.js → repository-wjvnh3e5.js} +2 -2
  252. package/dist/chunks/{schema-x9d6r3r4.js → repository-wn91f6p1.js} +24 -24
  253. package/dist/chunks/{schema-xkgcy5zw.js → repository-wq9rcnez.js} +28 -28
  254. package/dist/chunks/{schema-7z1274hf.js → repository-wr1pgfqd.js} +14 -14
  255. package/dist/chunks/{schema-mp03jghc.js → repository-wsnptkpy.js} +12 -12
  256. package/dist/chunks/{schema-rnte4p8x.js → repository-wt2bvgvt.js} +12 -12
  257. package/dist/chunks/{schema-cfzd05x5.js → repository-ww34bdfa.js} +33 -33
  258. package/dist/chunks/{schema-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{schema-844ef7ks.js → repository-x3et2xth.js} +8 -8
  260. package/dist/chunks/{schema-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{schema-7tvckfyj.js → repository-x5wwe36q.js} +5 -5
  262. package/dist/chunks/{schema-p0qwd5gw.js → repository-y01f7qch.js} +19 -19
  263. package/dist/chunks/{schema-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{schema-dpkg50ah.js → repository-y71avatq.js} +4 -4
  265. package/dist/chunks/{schema-5212w71j.js → repository-y7vh14v8.js} +11 -11
  266. package/dist/chunks/{schema-3chymzge.js → repository-yfc3q1gy.js} +11 -11
  267. package/dist/chunks/{schema-em9bvvd7.js → repository-yg76m3am.js} +7 -7
  268. package/dist/chunks/{schema-qjnxxf51.js → repository-yjptyezs.js} +5 -5
  269. package/dist/chunks/{schema-k0qqd9ns.js → repository-yn917984.js} +10 -10
  270. package/dist/chunks/{schema-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{schema-yrznvahk.js → repository-yrznvahk.js} +2 -2
  272. package/dist/chunks/{schema-7f85ph34.js → repository-yy3gmdz3.js} +8 -8
  273. package/dist/chunks/{schema-0t3za3r7.js → repository-yzygp3kb.js} +29 -29
  274. package/dist/chunks/{schema-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{schema-a97fztfj.js → repository-z0tfr0p6.js} +6 -6
  276. package/dist/chunks/{schema-bf4gnffv.js → repository-z2v8zvr3.js} +21 -21
  277. package/dist/chunks/{schema-z63w68vq.js → repository-z63w68vq.js} +2 -2
  278. package/dist/chunks/{schema-2ee8pmxs.js → repository-z69s9t6b.js} +5 -5
  279. package/dist/chunks/{schema-h86j3tsh.js → repository-zaph8b8m.js} +5 -5
  280. package/dist/chunks/{schema-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{schema-9zb8tb0e.js → repository-zgjvenhq.js} +4 -4
  282. package/dist/chunks/{schema-xk1y82za.js → repository-zhxw6mnd.js} +2 -2
  283. package/dist/chunks/{schema-j2raxa28.js → repository-zk0g9nwz.js} +10 -10
  284. package/dist/chunks/{schema-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{schema-rxcp57d1.js → repository-zsf3bcce.js} +14 -14
  286. package/dist/chunks/{schema-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{schema-dsy3s5w9.js → repository-zxy676qc.js} +17 -17
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +115 -115
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +357 -357
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +93 -93
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +78 -78
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +3 -3
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +3 -3
  452. package/dist/instance.js +350 -350
  453. package/dist/instruction-discovery.js +81 -81
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +80 -80
  458. package/dist/job.js +75 -75
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +128 -128
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +76 -76
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +80 -80
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +80 -80
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +76 -76
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +100 -100
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +115 -115
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +224 -224
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +75 -75
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -92
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +84 -84
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +93 -93
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +216 -216
  574. package/dist/session/execution.js +120 -120
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +111 -111
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +223 -223
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +119 -119
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +167 -167
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +145 -145
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +131 -131
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +101 -101
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +119 -119
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +118 -118
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +96 -96
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +212 -212
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +212 -212
  639. package/dist/tool/plugin/webfetch.js +105 -105
  640. package/dist/tool/plugin/websearch.js +109 -109
  641. package/dist/tool/plugin/write.js +115 -115
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +3 -3
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +1 -1
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +1 -1
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +80 -80
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +77 -77
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +5 -5
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/schema-619r8v3y.js +0 -18
  686. package/dist/chunks/schema-6kdq0pjd.js +0 -4
  687. package/dist/chunks/schema-9bt6bcbt.js +0 -247
  688. package/dist/chunks/schema-ky4k0tjn.js +0 -22
  689. /package/dist/chunks/{schema-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{schema-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{schema-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{schema-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{schema-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{schema-2710q6r3.js → repository-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{schema-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{schema-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{schema-359p4xyc.js → repository-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{schema-3asan66x.js → repository-3asan66x.js} +0 -0
  699. /package/dist/chunks/{schema-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{schema-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{schema-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{schema-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{schema-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{schema-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{schema-53557ph1.js → repository-53557ph1.js} +0 -0
  706. /package/dist/chunks/{schema-550bvhaj.js → repository-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{schema-6prwharc.js → repository-6prwharc.js} +0 -0
  708. /package/dist/chunks/{schema-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{schema-7m9af43g.js → repository-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{schema-822emrt2.js → repository-822emrt2.js} +0 -0
  711. /package/dist/chunks/{schema-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{schema-8n3pysct.js → repository-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{schema-922hggd3.js → repository-922hggd3.js} +0 -0
  714. /package/dist/chunks/{schema-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{schema-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{schema-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{schema-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{schema-af5trqkr.js → repository-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{schema-afrmfg78.js → repository-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{schema-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{schema-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{schema-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{schema-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{schema-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{schema-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{schema-d9fn303g.js → repository-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{schema-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{schema-dajrwvna.js → repository-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{schema-dap0rakb.js → repository-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{schema-df08tz66.js → repository-df08tz66.js} +0 -0
  731. /package/dist/chunks/{schema-dy18nga0.js → repository-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{schema-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{schema-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{schema-ec1grn59.js → repository-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{schema-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{schema-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{schema-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{schema-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{schema-faypxj3z.js → repository-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{schema-fd410y7t.js → repository-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{schema-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{schema-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{schema-g86h250q.js → repository-g86h250q.js} +0 -0
  744. /package/dist/chunks/{schema-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{schema-gftt206x.js → repository-gftt206x.js} +0 -0
  746. /package/dist/chunks/{schema-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{schema-hk9envan.js → repository-hk9envan.js} +0 -0
  748. /package/dist/chunks/{schema-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{schema-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{schema-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{schema-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{schema-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{schema-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{schema-mp448xyj.js → repository-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{schema-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{schema-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{schema-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{schema-njntx4h6.js → repository-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{schema-paphc93g.js → repository-paphc93g.js} +0 -0
  760. /package/dist/chunks/{schema-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{schema-q74kybfr.js → repository-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{schema-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{schema-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{schema-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{schema-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{schema-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{schema-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{schema-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{schema-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{schema-twg0f83k.js → repository-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{schema-w803qqfp.js → repository-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{schema-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{schema-wtztk69x.js → repository-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{schema-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{schema-x61499pn.js → repository-x61499pn.js} +0 -0
  776. /package/dist/chunks/{schema-y44na4kk.js → repository-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{schema-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{schema-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{schema-ym463w8f.js → repository-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{schema-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./schema-p58x6frn.js";
4
+ } from "./repository-e3rrrskg.js";
5
5
  import {
6
- Event19,
7
- Service77,
8
- node82
9
- } from "./schema-7k98zq5j.js";
6
+ Event20,
7
+ Service78,
8
+ node83
9
+ } from "./repository-dj0r9pya.js";
10
10
  import {
11
- Service44,
12
- node48
13
- } from "./schema-vtfyh9kp.js";
11
+ Service45,
12
+ node50
13
+ } from "./repository-f0v0ycm1.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./schema-922hggd3.js";
16
+ } from "./repository-922hggd3.js";
17
17
  import {
18
18
  Service70,
19
19
  node75
20
- } from "./schema-pr80m118.js";
20
+ } from "./repository-vmvf27d6.js";
21
21
  import {
22
22
  substitute2
23
- } from "./schema-yrznvahk.js";
23
+ } from "./repository-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./schema-5c7w043m.js";
26
+ } from "./repository-qsdt89h7.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./schema-ahwzvjet.js";
30
+ } from "./repository-gszsphzc.js";
31
31
  import {
32
32
  plan2
33
- } from "./schema-j56e64zr.js";
33
+ } from "./repository-j56e64zr.js";
34
34
  import {
35
- Service55,
36
- Event11,
37
- node58
38
- } from "./schema-g26fr9df.js";
35
+ Service59,
36
+ Event13,
37
+ node63
38
+ } from "./repository-bn183kc6.js";
39
39
  import {
40
40
  __export
41
- } from "./schema-9rqn6x4v.js";
41
+ } from "./repository-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options6,
48
- Service: () => Service43,
47
+ Options: () => Options5,
48
+ Service: () => Service44,
49
49
  Test: () => Test2,
50
50
  configured: () => configured6,
51
51
  latest: () => latest2,
52
52
  layer: () => layer17,
53
- node: () => node47,
53
+ node: () => node49,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options6 = Schema.Struct({
74
+ var Options5 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service43 extends Context.Service()("@opencode/Config") {
81
+ class Service44 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service44, service), Context.add(Test2, service));
96
96
  }));
97
- var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
97
+ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const location = yield* Service70;
100
- const watcher = yield* Service44;
100
+ const watcher = yield* Service45;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service77;
103
- const wellknown = yield* Service55;
102
+ const credentials = yield* Service78;
103
+ const wellknown = yield* Service59;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -223,8 +223,8 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,7 +235,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service43.of({
238
+ return Service44.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
@@ -244,11 +244,11 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
244
244
  }));
245
245
  function configured6(options) {
246
246
  return makeLocationNode({
247
- service: Service43,
247
+ service: Service44,
248
248
  layer: layer17(options),
249
- deps: [node48, node84, FSUtil.node, Global.node, node75, node82, node58]
249
+ deps: [node50, node84, FSUtil.node, Global.node, node75, node83, node63]
250
250
  });
251
251
  }
252
- var node47 = configured6();
252
+ var node49 = configured6();
253
253
 
254
- export { latest2, Options6, Service43, Test2, testLayer2, layer17, configured6, node47, exports_config };
254
+ export { latest2, Options5, Service44, Test2, testLayer2, layer17, configured6, node49, exports_config };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID15,
10
- Info: () => Info30,
9
+ ID: () => ID18,
10
+ Info: () => Info33,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
13
  Request: () => Request3,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode/schema/provider";
24
24
  import { isRecord } from "@opencode/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
26
- var ID15 = Provider.ID;
26
+ var ID18 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -139,7 +139,7 @@ function mergeHeaders2(base, overlay) {
139
139
  }
140
140
  var Request3 = Provider.Request;
141
141
  var Settings2 = Provider.Settings;
142
- var Info30 = Provider.Info;
142
+ var Info33 = Provider.Info;
143
143
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
144
144
  const module = yield* Effect.tryPromise({
145
145
  try: () => {
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
161
161
  return module;
162
162
  });
163
163
 
164
- export { ID15, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info30, exports_provider3 };
164
+ export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info33, exports_provider3 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./schema-emrn6kk6.js";
7
+ } from "./repository-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./schema-p58x6frn.js";
3
+ } from "./repository-e3rrrskg.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./schema-7k98zq5j.js";
6
+ Event20
7
+ } from "./repository-dj0r9pya.js";
8
8
  import {
9
- ID16,
9
+ ID14,
10
10
  MethodID2
11
- } from "./schema-jmarb9hd.js";
11
+ } from "./repository-66cmz1z4.js";
12
12
  import {
13
- ID15,
13
+ ID18,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./schema-dt849bc4.js";
16
+ } from "./repository-m27pyyd3.js";
17
17
 
18
18
  // src/plugin/provider/opencode.ts
19
- import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
19
+ import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
22
22
  import { ConfigProvider } from "@opencode/schema/config/provider";
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
43
43
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
44
44
  function oauth(http) {
45
45
  return {
46
- integrationID: ID16.make("opencode"),
46
+ integrationID: ID14.make("opencode"),
47
47
  method: {
48
48
  id: methodID,
49
49
  type: "oauth",
@@ -87,15 +87,14 @@ var OpencodePlugin2 = define({
87
87
  const bus = yield* Service79;
88
88
  const http = yield* HttpClient.HttpClient;
89
89
  const loading = Semaphore.makeUnsafe(1);
90
- let connected = false;
91
- let providers;
90
+ let snapshot = { connected: false, providers: undefined };
92
91
  const load = Effect.fn("OpencodePlugin.load")(function* () {
93
92
  const connection = yield* ctx.integration.connection.active("opencode");
94
93
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
95
94
  return;
96
95
  })) : undefined;
97
- connected = connection !== undefined;
98
- providers = credential ? yield* fetchProviders(http, credential).pipe(Effect.catch((cause) => Effect.logWarning("failed to load OpenCode provider config", { cause }).pipe(Effect.as(undefined)))) : undefined;
96
+ const providers = credential ? yield* fetchProviders(http, credential).pipe(Effect.catch((cause) => Effect.logWarning("failed to load OpenCode provider config", { cause }).pipe(Effect.as(undefined)))) : undefined;
97
+ return { connected: connection !== undefined, providers };
99
98
  });
100
99
  yield* ctx.integration.transform((editor) => {
101
100
  editor.update("opencode", (integration) => {
@@ -104,14 +103,14 @@ var OpencodePlugin2 = define({
104
103
  editor.method.update(oauth(http));
105
104
  editor.method.update({ integrationID: "opencode", method: { type: "key", label: "API key (service account)" } });
106
105
  });
107
- yield* load();
106
+ snapshot = yield* load();
108
107
  yield* ctx.catalog.transform((catalog) => {
109
- for (const [providerID, item] of Object.entries(providers ?? {})) {
108
+ for (const [providerID, item] of Object.entries(snapshot.providers ?? {})) {
110
109
  const source = catalog.provider.get(item.canonical ?? providerID);
111
110
  catalog.provider.update(providerID, (provider) => {
112
111
  if (source && source.provider !== provider)
113
112
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
114
- provider.integrationID = ID16.make("opencode");
113
+ provider.integrationID = ID14.make("opencode");
115
114
  if (item.canonical !== undefined)
116
115
  provider.canonical = item.canonical;
117
116
  if (item.name !== undefined)
@@ -174,10 +173,10 @@ var OpencodePlugin2 = define({
174
173
  });
175
174
  }
176
175
  }
177
- const item = catalog.provider.get(ID15.opencode);
176
+ const item = catalog.provider.get(ID18.opencode);
178
177
  if (!item)
179
178
  return;
180
- const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
179
+ const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connected || item.provider.settings?.apiKey);
181
180
  catalog.provider.update(item.provider.id, (provider) => {
182
181
  if (!hasKey) {
183
182
  provider.activation = "enabled";
@@ -194,8 +193,13 @@ var OpencodePlugin2 = define({
194
193
  });
195
194
  }
196
195
  });
197
- const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
198
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
196
+ const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
197
+ snapshot = next;
198
+ yield* ctx.catalog.reload();
199
+ });
200
+ const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
201
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
202
+ yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
199
203
  })
200
204
  });
201
205
  function fetchProviders(http, value) {
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID14,
2
+ ID17,
3
3
  Family2
4
- } from "./schema-fban3jjy.js";
4
+ } from "./repository-1awm1f41.js";
5
5
  import {
6
- Service43
7
- } from "./schema-93qvm8az.js";
6
+ Service44
7
+ } from "./repository-m23z2hgx.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./schema-h86j3tsh.js";
10
+ } from "./repository-zaph8b8m.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service43;
53
+ const config = yield* Service44;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID14.make(item.model);
80
+ model.modelID = ID17.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./schema-ym463w8f.js";
3
+ } from "./repository-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/mistral.ts
6
6
  var MistralPlugin2 = createProviderPlugin2({
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  Service70
6
- } from "./schema-pr80m118.js";
6
+ } from "./repository-vmvf27d6.js";
7
7
  import {
8
- Service43
9
- } from "./schema-93qvm8az.js";
8
+ Service44
9
+ } from "./repository-m23z2hgx.js";
10
10
  import {
11
- Service19
12
- } from "./schema-vdpebk9b.js";
11
+ Service20
12
+ } from "./repository-p55xqwj6.js";
13
13
  import {
14
14
  observe2
15
- } from "./schema-qsdy395h.js";
15
+ } from "./repository-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin18
24
+ Plugin: () => Plugin27
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin18 = define({
30
+ var Plugin27 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service43;
33
+ const config = yield* Service44;
34
34
  const location = yield* Service70;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service19;
36
+ const worktrees = yield* Service20;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin18 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin18, exports_worktree };
51
+ export { Plugin27, exports_worktree };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info20,
8
+ Info: () => Info21,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info20 = SessionProviderContext.Info;
22
+ var Info21 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info20, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info21, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service43
3
- } from "./schema-93qvm8az.js";
2
+ Service44
3
+ } from "./repository-m23z2hgx.js";
4
4
  import {
5
5
  Service10
6
- } from "./schema-5kptn8c0.js";
6
+ } from "./repository-5kptn8c0.js";
7
7
  import {
8
8
  observe2
9
- } from "./schema-qsdy395h.js";
9
+ } from "./repository-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./schema-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin5
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin39
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin5 = define({
22
+ var Plugin39 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service43;
25
+ const config = yield* Service44;
26
26
  const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
@@ -35,4 +35,4 @@ var Plugin5 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin5, exports_location_watcher };
38
+ export { Plugin39, exports_location_watcher2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service79
3
- } from "./schema-p58x6frn.js";
3
+ } from "./repository-e3rrrskg.js";
4
4
  import {
5
- Service60
6
- } from "./schema-fxma3jmn.js";
5
+ Service65
6
+ } from "./repository-t0db4qcz.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./schema-kg06axw8.js";
12
+ } from "./repository-kg06axw8.js";
13
13
  import {
14
- Service35,
14
+ Service23,
15
15
  awaitActivation2
16
- } from "./schema-619r8v3y.js";
16
+ } from "./repository-phz3h32g.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./schema-0y31edgy.js";
21
+ } from "./repository-kzx5e7cb.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event5,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service35,
33
+ Service: () => Service23,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node16
37
+ node: () => node23
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service35, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
44
44
  const bus = yield* Service79;
45
- const kv = yield* Service60;
45
+ const kv = yield* Service65;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service35.of({
208
+ return Service23.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node16 = Node.makeLocationNode({
226
- service: Service35,
225
+ var node23 = Node.makeLocationNode({
226
+ service: Service23,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-922hggd3.js";
5
+ } from "./repository-922hggd3.js";
6
6
  import {
7
- Service65,
8
- node69
9
- } from "./schema-bf4gnffv.js";
7
+ Service68,
8
+ node72
9
+ } from "./repository-z2v8zvr3.js";
10
10
  import {
11
11
  Content2
12
- } from "./schema-ggkmsn0n.js";
12
+ } from "./repository-3dj2kwsy.js";
13
13
  import {
14
14
  detect2
15
- } from "./schema-3smtnn6g.js";
15
+ } from "./repository-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node15,
38
+ node: () => node9,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service12, Effect.gen(function* () {
330
- const environment = yield* Service65;
331
- return Service12.of({
329
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
330
+ const environment = yield* Service68;
331
+ return Service6.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node15 = makeLocationNode({ service: Service12, layer, deps: [node69] });
336
+ var node9 = makeLocationNode({ service: Service6, layer, deps: [node72] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node9, exports_read_filesystem };