@opencode/core 0.0.0-dev-19539 → 0.0.0-dev-19542

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 (784) 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 +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{wellknown-f66vs8vk.js → location-036f132z.js} +6 -6
  9. package/dist/chunks/{wellknown-n2t4r3gh.js → location-03acwmsz.js} +19 -19
  10. package/dist/chunks/{wellknown-b8b3f19r.js → location-0996nyz8.js} +9 -9
  11. package/dist/chunks/{wellknown-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{wellknown-myy8h7m5.js → location-0ppqyhex.js} +29 -29
  13. package/dist/chunks/{wellknown-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{wellknown-8wrg7dkf.js → location-0q29pjbf.js} +23 -23
  15. package/dist/chunks/{wellknown-9sh3b0bz.js → location-0qbfsv0x.js} +4 -4
  16. package/dist/chunks/{wellknown-bq71vxtg.js → location-0yq4avys.js} +27 -27
  17. package/dist/chunks/{wellknown-2erey2nk.js → location-0zwqsx91.js} +11 -11
  18. package/dist/chunks/{wellknown-07vf46pq.js → location-10c34jta.js} +25 -25
  19. package/dist/chunks/{wellknown-y6a1dekx.js → location-1254qmjv.js} +1 -1
  20. package/dist/chunks/{wellknown-r8xr0va3.js → location-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{wellknown-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{wellknown-deh05xx4.js → location-1g8myb90.js} +13 -13
  23. package/dist/chunks/{wellknown-21r38tys.js → location-21r38tys.js} +1 -1
  24. package/dist/chunks/{wellknown-paegk39x.js → location-22m95qs7.js} +4 -4
  25. package/dist/chunks/{wellknown-6h73sxmp.js → location-2402vzrj.js} +5 -5
  26. package/dist/chunks/{wellknown-307krdjp.js → location-26axh7t1.js} +15 -15
  27. package/dist/chunks/{wellknown-ec6jknr9.js → location-27yn085b.js} +15 -15
  28. package/dist/chunks/{wellknown-z63w68vq.js → location-29x78va6.js} +6 -6
  29. package/dist/chunks/{wellknown-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{wellknown-rq2kkvr3.js → location-2d362z0y.js} +10 -10
  31. package/dist/chunks/{wellknown-j7wq2tw5.js → location-2f04pwep.js} +3 -3
  32. package/dist/chunks/{wellknown-y94c40zx.js → location-2grzxxc1.js} +16 -16
  33. package/dist/chunks/{wellknown-fff7t2h9.js → location-2j4tqp5k.js} +9 -9
  34. package/dist/chunks/{wellknown-n6c2qfs9.js → location-2jwyrfxf.js} +39 -39
  35. package/dist/chunks/{wellknown-2k8khapm.js → location-2k8khapm.js} +1 -1
  36. package/dist/chunks/{wellknown-arwy73pv.js → location-2sv037bd.js} +15 -15
  37. package/dist/chunks/{wellknown-65cnjpna.js → location-31f4jhva.js} +30 -30
  38. package/dist/chunks/{wellknown-a8nah55w.js → location-34ytdzas.js} +1 -1
  39. package/dist/chunks/{wellknown-dwq8cef9.js → location-39jybg81.js} +32 -32
  40. package/dist/chunks/{wellknown-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{wellknown-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{wellknown-vkyg9h5q.js → location-3nbdta8h.js} +22 -22
  43. package/dist/chunks/{wellknown-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{wellknown-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{wellknown-zr6mpnsb.js → location-3tz10jhh.js} +6 -6
  46. package/dist/chunks/{wellknown-sz6k00j1.js → location-3v8068pd.js} +16 -16
  47. package/dist/chunks/{wellknown-mz243gxw.js → location-3ypnsrhw.js} +24 -24
  48. package/dist/chunks/{wellknown-9j4e7e8q.js → location-42avcs9s.js} +7 -7
  49. package/dist/chunks/{wellknown-2qw1bc1t.js → location-44ywkmmm.js} +24 -24
  50. package/dist/chunks/{wellknown-r08exq5n.js → location-473b71hx.js} +20 -20
  51. package/dist/chunks/{wellknown-xjgyf5pt.js → location-4b5x0nt9.js} +24 -24
  52. package/dist/chunks/{wellknown-6ymj5c7p.js → location-4jzrjc6m.js} +26 -26
  53. package/dist/chunks/{wellknown-kwfvtv90.js → location-58ww9q9a.js} +25 -25
  54. package/dist/chunks/{wellknown-qx2znyws.js → location-5cfbqtfg.js} +12 -12
  55. package/dist/chunks/{wellknown-5daktx2q.js → location-5daktx2q.js} +1 -1
  56. package/dist/chunks/{wellknown-rvsy3236.js → location-5rfw13p6.js} +11 -11
  57. package/dist/chunks/{wellknown-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{wellknown-bnp0v6wa.js → location-5tyr9vxf.js} +26 -26
  59. package/dist/chunks/{wellknown-6jvvt40y.js → location-626qb2eb.js} +9 -9
  60. package/dist/chunks/{wellknown-e95g814e.js → location-636t8bd4.js} +15 -15
  61. package/dist/chunks/{wellknown-669tq793.js → location-669tq793.js} +1 -1
  62. package/dist/chunks/{wellknown-6xcwhts3.js → location-6mdnwp5h.js} +11 -11
  63. package/dist/chunks/{wellknown-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{wellknown-23t8dfc0.js → location-6s42ra37.js} +4 -4
  65. package/dist/chunks/{wellknown-2ab9sw28.js → location-6sv4j6tb.js} +34 -34
  66. package/dist/chunks/{wellknown-v67r9x2e.js → location-6yjygpg1.js} +13 -13
  67. package/dist/chunks/{wellknown-fy5rdmrn.js → location-6zqq4ek8.js} +5 -5
  68. package/dist/chunks/{wellknown-71q4at8m.js → location-71q4at8m.js} +1 -1
  69. package/dist/chunks/{wellknown-zsjem71r.js → location-74t9ss8a.js} +27 -27
  70. package/dist/chunks/{wellknown-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{wellknown-zj09a0ew.js → location-7j92jdde.js} +4 -4
  72. package/dist/chunks/{wellknown-awhgpd7e.js → location-7kds0srq.js} +14 -14
  73. package/dist/chunks/{wellknown-m23nmkb4.js → location-7kx4sdq3.js} +43 -43
  74. package/dist/chunks/{wellknown-kerhshr9.js → location-7r0r50e5.js} +5 -5
  75. package/dist/chunks/{wellknown-67esxyaq.js → location-7y7r0vgy.js} +25 -25
  76. package/dist/chunks/{wellknown-728x28gm.js → location-8033czsa.js} +8 -8
  77. package/dist/chunks/{wellknown-81swgkk7.js → location-81swgkk7.js} +2 -2
  78. package/dist/chunks/{wellknown-bksxygyb.js → location-83tr1t7h.js} +30 -30
  79. package/dist/chunks/{wellknown-xekzrwwc.js → location-84zt2byv.js} +9 -9
  80. package/dist/chunks/{wellknown-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{wellknown-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{wellknown-dc76j9wz.js → location-8sghyhzw.js} +8 -8
  83. package/dist/chunks/{wellknown-7m5f9412.js → location-8t1wrec1.js} +8 -8
  84. package/dist/chunks/{wellknown-bz0devez.js → location-9328fxv7.js} +10 -10
  85. package/dist/chunks/{wellknown-tmt7y050.js → location-95a4nxen.js} +18 -18
  86. package/dist/chunks/{wellknown-gx2jmcw9.js → location-9704n2mm.js} +8 -8
  87. package/dist/chunks/{wellknown-7srhakrh.js → location-9ctdz51b.js} +31 -31
  88. package/dist/chunks/{wellknown-vf49pxf8.js → location-9drm9vkg.js} +21 -21
  89. package/dist/chunks/location-9sh4wc5j.js +18 -0
  90. package/dist/chunks/{wellknown-0t3pyjz3.js → location-9vj7yqvm.js} +9 -9
  91. package/dist/chunks/{wellknown-t7hf8wx6.js → location-9yh90y22.js} +3 -3
  92. package/dist/chunks/{wellknown-pe8kj4am.js → location-a0w9kdt2.js} +17 -17
  93. package/dist/chunks/{wellknown-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{wellknown-rh2esky4.js → location-a6mya1gb.js} +8 -8
  95. package/dist/chunks/{wellknown-rwregw7w.js → location-a6x2cpah.js} +8 -8
  96. package/dist/chunks/{wellknown-aaet6srn.js → location-aaet6srn.js} +2 -2
  97. package/dist/chunks/{wellknown-w73e06md.js → location-adcdh9yc.js} +4 -4
  98. package/dist/chunks/{wellknown-v5dkyp31.js → location-at5d07az.js} +4 -4
  99. package/dist/chunks/{wellknown-fyj0f73f.js → location-ay697b8v.js} +16 -16
  100. package/dist/chunks/{wellknown-czy44wp6.js → location-b0tjgqrn.js} +5 -5
  101. package/dist/chunks/{wellknown-2yc0zt1n.js → location-b2hm862w.js} +18 -18
  102. package/dist/chunks/{wellknown-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{wellknown-tfqpcp74.js → location-b792c96b.js} +9 -9
  104. package/dist/chunks/{wellknown-xk2mzpsa.js → location-baf2ph3h.js} +32 -32
  105. package/dist/chunks/{wellknown-53dfrr0p.js → location-bdkgw8cf.js} +17 -17
  106. package/dist/chunks/{wellknown-nftnfmm3.js → location-bf5a3t6s.js} +45 -45
  107. package/dist/chunks/{wellknown-vfnexndp.js → location-brj2edwx.js} +6 -6
  108. package/dist/chunks/{wellknown-1vr0zdnx.js → location-bwc1950q.js} +9 -9
  109. package/dist/chunks/{wellknown-eyt4k3kj.js → location-c3xvfvd3.js} +17 -17
  110. package/dist/chunks/{wellknown-00h2wynw.js → location-c5db1mkp.js} +22 -22
  111. package/dist/chunks/{wellknown-1hpbd1d8.js → location-c92dvjnv.js} +14 -14
  112. package/dist/chunks/{wellknown-6pzpj85z.js → location-cds4nqjn.js} +30 -30
  113. package/dist/chunks/{wellknown-j8zzr2am.js → location-cf3tj770.js} +6 -6
  114. package/dist/chunks/{wellknown-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{wellknown-bha4atvq.js → location-cq37gk0t.js} +4 -4
  116. package/dist/chunks/{wellknown-1s2726j8.js → location-cssnqykq.js} +11 -11
  117. package/dist/chunks/{wellknown-hyn2ecqg.js → location-cwspyxgg.js} +50 -50
  118. package/dist/chunks/{wellknown-afdssyjb.js → location-ddt2bs9e.js} +4 -4
  119. package/dist/chunks/{wellknown-jwfqb58t.js → location-dfj554pg.js} +9 -9
  120. package/dist/chunks/{wellknown-97jqyest.js → location-dfqckxk5.js} +25 -25
  121. package/dist/chunks/{wellknown-ywq6n3vy.js → location-dhdv1zj0.js} +56 -56
  122. package/dist/chunks/{wellknown-d6ygf2cn.js → location-dny4bs9e.js} +30 -30
  123. package/dist/chunks/{wellknown-vg4z5xy3.js → location-drhnesrb.js} +11 -11
  124. package/dist/chunks/{wellknown-cxv3b682.js → location-dv1qgsyq.js} +8 -8
  125. package/dist/chunks/{wellknown-bndc73cn.js → location-e5nv3ght.js} +5 -5
  126. package/dist/chunks/{wellknown-ypgtt1w2.js → location-e65zwyc2.js} +35 -35
  127. package/dist/chunks/{wellknown-7df9bwsb.js → location-e8t23edk.js} +27 -27
  128. package/dist/chunks/{wellknown-s47e1ezx.js → location-e9f6ng75.js} +13 -13
  129. package/dist/chunks/{wellknown-875jp0ab.js → location-ectx44z1.js} +22 -22
  130. package/dist/chunks/{wellknown-hfpkbpzz.js → location-edh9f0mz.js} +4 -4
  131. package/dist/chunks/{wellknown-h0w0a0x1.js → location-ef5ff6ft.js} +9 -9
  132. package/dist/chunks/{wellknown-rzkmpk7g.js → location-efjfkye6.js} +61 -61
  133. package/dist/chunks/location-ejaypkp5.js +247 -0
  134. package/dist/chunks/{wellknown-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{wellknown-ds6fr8we.js → location-ewjdxm92.js} +17 -17
  136. package/dist/chunks/{wellknown-h4yhaw2e.js → location-f5vwma0d.js} +18 -18
  137. package/dist/chunks/{wellknown-f828m53h.js → location-f828m53h.js} +2 -2
  138. package/dist/chunks/{wellknown-mgjq6x1m.js → location-fcgej241.js} +38 -38
  139. package/dist/chunks/{wellknown-7j34szy8.js → location-fj365ecp.js} +20 -20
  140. package/dist/chunks/{wellknown-08cen3js.js → location-fp1g0m9s.js} +26 -26
  141. package/dist/chunks/{wellknown-kyjnjde5.js → location-frjn3nfh.js} +11 -11
  142. package/dist/chunks/{wellknown-g59p72yg.js → location-frqj80pv.js} +47 -47
  143. package/dist/chunks/{wellknown-55a4dvpq.js → location-fs6bp36w.js} +5 -5
  144. package/dist/chunks/{wellknown-t0fq93h8.js → location-ftzfwxz1.js} +17 -17
  145. package/dist/chunks/{wellknown-e6hmchc5.js → location-fvsyg6qk.js} +5 -5
  146. package/dist/chunks/{wellknown-f6brk7pj.js → location-fw6yfypp.js} +12 -12
  147. package/dist/chunks/{wellknown-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{wellknown-d1v5nxx2.js → location-fyveyagd.js} +24 -24
  149. package/dist/chunks/{wellknown-rmt0nbj5.js → location-g2rnahzd.js} +7 -7
  150. package/dist/chunks/{wellknown-66c64646.js → location-g4wtk1yg.js} +6 -6
  151. package/dist/chunks/{wellknown-vt6mrpr2.js → location-g500fjm7.js} +1 -1
  152. package/dist/chunks/{wellknown-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{wellknown-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{wellknown-q4eww03h.js → location-gy4p1xkh.js} +1 -1
  155. package/dist/chunks/{wellknown-bb3w8y6r.js → location-gyrm231q.js} +32 -32
  156. package/dist/chunks/{wellknown-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{wellknown-as6kphby.js → location-h17a27cz.js} +47 -47
  158. package/dist/chunks/{wellknown-vxq3cchq.js → location-h6hxmqda.js} +6 -6
  159. package/dist/chunks/{wellknown-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{wellknown-1bx8nmgw.js → location-h9cxr4wq.js} +9 -9
  161. package/dist/chunks/{wellknown-n6r2xd79.js → location-hj07p436.js} +4 -4
  162. package/dist/chunks/{wellknown-hjt4xg1x.js → location-hjt4xg1x.js} +1 -1
  163. package/dist/chunks/{wellknown-7sz98wh0.js → location-htaz91yz.js} +284 -284
  164. package/dist/chunks/{wellknown-fexf5k2n.js → location-hwg0j0eb.js} +8 -8
  165. package/dist/chunks/location-hxa7m5za.js +4 -0
  166. package/dist/chunks/{wellknown-tk7tn7wd.js → location-hy1g3bgf.js} +1 -1
  167. package/dist/chunks/{wellknown-j56e64zr.js → location-j56e64zr.js} +1 -1
  168. package/dist/chunks/{wellknown-j60r5zmy.js → location-j6yasvxk.js} +13 -13
  169. package/dist/chunks/{wellknown-pxsh4axf.js → location-j83x2c5c.js} +32 -32
  170. package/dist/chunks/{wellknown-paphc93g.js → location-j935v87r.js} +2 -2
  171. package/dist/chunks/{wellknown-ndya6qrf.js → location-jhc25b2t.js} +40 -40
  172. package/dist/chunks/{wellknown-wtdkn21q.js → location-jjrmtxp8.js} +5 -5
  173. package/dist/chunks/{wellknown-p7a4gs0b.js → location-jtptkwgj.js} +25 -25
  174. package/dist/chunks/{wellknown-8r3d8rvc.js → location-jwbn61yk.js} +21 -21
  175. package/dist/chunks/{wellknown-g4417hh3.js → location-jwjj6wv5.js} +6 -6
  176. package/dist/chunks/{wellknown-wfq7e0xr.js → location-jyn989r3.js} +20 -20
  177. package/dist/chunks/{wellknown-nvde7z1v.js → location-jyrggvz0.js} +20 -20
  178. package/dist/chunks/{wellknown-kte9e5my.js → location-k0j25v2x.js} +15 -15
  179. package/dist/chunks/{wellknown-860p72tc.js → location-k1abzt0p.js} +5 -5
  180. package/dist/chunks/{wellknown-1at5eyj7.js → location-k33a3tse.js} +79 -79
  181. package/dist/chunks/{wellknown-vavy50n7.js → location-k5dbpnja.js} +20 -20
  182. package/dist/chunks/{wellknown-v6mp902x.js → location-k6y5pwvv.js} +18 -18
  183. package/dist/chunks/{wellknown-kg06axw8.js → location-kg06axw8.js} +1 -1
  184. package/dist/chunks/{wellknown-y9hpkwc1.js → location-kmjjtydn.js} +7 -7
  185. package/dist/chunks/{wellknown-cyvma0e0.js → location-kr0z5b0n.js} +12 -12
  186. package/dist/chunks/{wellknown-5zsm984v.js → location-m2ey3cvd.js} +6 -6
  187. package/dist/chunks/{wellknown-b860jvh5.js → location-m72athct.js} +4 -4
  188. package/dist/chunks/{wellknown-6w9kmp65.js → location-m945b776.js} +86 -86
  189. package/dist/chunks/{wellknown-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{wellknown-mfqp6xfm.js → location-mfqp6xfm.js} +2 -2
  191. package/dist/chunks/{wellknown-d60v85tc.js → location-mh9s5q0j.js} +3 -3
  192. package/dist/chunks/{wellknown-rz7nw9vv.js → location-mj6ph3es.js} +9 -9
  193. package/dist/chunks/{wellknown-pecb0brz.js → location-mtft99cd.js} +5 -5
  194. package/dist/chunks/{wellknown-wc1gtajg.js → location-mvfdckk2.js} +8 -8
  195. package/dist/chunks/{wellknown-7yh4e7ss.js → location-mvfsc1pv.js} +3 -3
  196. package/dist/chunks/{wellknown-cfb5pb1y.js → location-mynqm169.js} +18 -18
  197. package/dist/chunks/{wellknown-txh28jzs.js → location-njr1pezb.js} +8 -8
  198. package/dist/chunks/{wellknown-m8f49s9b.js → location-nspnzx2r.js} +13 -13
  199. package/dist/chunks/location-pec0e592.js +26 -0
  200. package/dist/chunks/{wellknown-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{wellknown-pknna89w.js → location-pknna89w.js} +1 -1
  202. package/dist/chunks/{wellknown-2023svme.js → location-psg6n3xm.js} +9 -9
  203. package/dist/chunks/{wellknown-7pd4ry3z.js → location-ptrn6wv1.js} +43 -43
  204. package/dist/chunks/{wellknown-xjw8t61g.js → location-q0q850wj.js} +30 -30
  205. package/dist/chunks/{wellknown-851r6173.js → location-q1a7cndp.js} +11 -11
  206. package/dist/chunks/{wellknown-b4cya9kz.js → location-q1c2np19.js} +10 -10
  207. package/dist/chunks/{wellknown-5vc4apcq.js → location-q6v9m3mm.js} +17 -17
  208. package/dist/chunks/{wellknown-x569bdqa.js → location-q99ra9zv.js} +1 -1
  209. package/dist/chunks/{wellknown-yerdpya6.js → location-qa7bh0h2.js} +14 -14
  210. package/dist/chunks/{wellknown-ddc0bqhb.js → location-qfb9szcf.js} +8 -8
  211. package/dist/chunks/{wellknown-bbz20pt0.js → location-qgq93atd.js} +20 -20
  212. package/dist/chunks/{wellknown-9cw4g2nz.js → location-qqj7ja7g.js} +19 -19
  213. package/dist/chunks/{wellknown-qsdy395h.js → location-qsdy395h.js} +1 -1
  214. package/dist/chunks/{wellknown-5fhs403j.js → location-qska36k1.js} +24 -24
  215. package/dist/chunks/{wellknown-23pqda6t.js → location-qz49fwgp.js} +6 -6
  216. package/dist/chunks/{wellknown-hmgwptan.js → location-qzrw3svz.js} +17 -17
  217. package/dist/chunks/{wellknown-ny23mpww.js → location-r0056zdr.js} +10 -10
  218. package/dist/chunks/{wellknown-t9zs3egg.js → location-r98e92ep.js} +4 -4
  219. package/dist/chunks/{wellknown-jnk338bk.js → location-r99cxfj6.js} +11 -11
  220. package/dist/chunks/{wellknown-r9mregkx.js → location-r9mregkx.js} +2 -2
  221. package/dist/chunks/{wellknown-eaj1djv9.js → location-rhjbct0v.js} +8 -8
  222. package/dist/chunks/{wellknown-r61k027t.js → location-rjg803xe.js} +14 -14
  223. package/dist/chunks/{wellknown-rkmq0ftz.js → location-rkmq0ftz.js} +2 -2
  224. package/dist/chunks/{wellknown-vzzkf86k.js → location-rpby09da.js} +24 -24
  225. package/dist/chunks/{wellknown-77nagcj1.js → location-rrbca1ec.js} +4 -4
  226. package/dist/chunks/{wellknown-ferfphdt.js → location-rsb1fe67.js} +5 -5
  227. package/dist/chunks/{wellknown-yrznvahk.js → location-s4enseaf.js} +2 -2
  228. package/dist/chunks/{wellknown-xg9t41r3.js → location-s8610hey.js} +2 -2
  229. package/dist/chunks/{wellknown-nw0178xm.js → location-sdd99z8d.js} +30 -30
  230. package/dist/chunks/{wellknown-e0nfhzw1.js → location-st7z8rqw.js} +20 -20
  231. package/dist/chunks/{wellknown-twy35tz0.js → location-t0x5rdq8.js} +9 -9
  232. package/dist/chunks/{wellknown-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{wellknown-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{wellknown-tdstcens.js → location-tdstcens.js} +1 -1
  235. package/dist/chunks/{wellknown-7esh47m3.js → location-tes6d6n3.js} +11 -11
  236. package/dist/chunks/{wellknown-40kjh9zt.js → location-th0vq4rj.js} +41 -41
  237. package/dist/chunks/{wellknown-jhee3avx.js → location-thhdn3hd.js} +10 -10
  238. package/dist/chunks/{wellknown-614nn5w1.js → location-tj0j24wc.js} +14 -14
  239. package/dist/chunks/{wellknown-3cfzdc8e.js → location-tn0aqsam.js} +5 -5
  240. package/dist/chunks/{wellknown-a6jgch9w.js → location-tq3dmmmr.js} +25 -25
  241. package/dist/chunks/{wellknown-g8471784.js → location-trn0ebkj.js} +2 -2
  242. package/dist/chunks/{wellknown-tvtrv512.js → location-tvtrv512.js} +1 -1
  243. package/dist/chunks/{wellknown-tx9qvpbt.js → location-tx9qvpbt.js} +2 -2
  244. package/dist/chunks/{wellknown-sry1band.js → location-txp8aktn.js} +6 -6
  245. package/dist/chunks/{wellknown-3jxyd7b8.js → location-v3bsw2k3.js} +18 -18
  246. package/dist/chunks/{wellknown-jqktx0eb.js → location-v860pzrr.js} +23 -23
  247. package/dist/chunks/{wellknown-c982ejga.js → location-v9dgs7p6.js} +9 -9
  248. package/dist/chunks/{wellknown-veqvce7d.js → location-veqvce7d.js} +1 -1
  249. package/dist/chunks/{wellknown-xb19yntf.js → location-vk804zsa.js} +19 -19
  250. package/dist/chunks/{wellknown-jw80jp6b.js → location-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{wellknown-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{wellknown-26qyng6q.js → location-w0pcakp2.js} +11 -11
  253. package/dist/chunks/{wellknown-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{wellknown-4xrb88hm.js → location-w6s34xcg.js} +26 -26
  255. package/dist/chunks/{wellknown-nvkvd3qt.js → location-w8cnm1fe.js} +17 -17
  256. package/dist/chunks/{wellknown-wd87259q.js → location-wd87259q.js} +1 -1
  257. package/dist/chunks/{wellknown-zvt5ka0t.js → location-wkgt00bf.js} +17 -17
  258. package/dist/chunks/{wellknown-8hhpf1hm.js → location-wty8bgxf.js} +33 -33
  259. package/dist/chunks/{wellknown-6yjwfbhf.js → location-x0ew26t4.js} +4 -4
  260. package/dist/chunks/{wellknown-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{wellknown-vxbt1qyf.js → location-xcs774s4.js} +17 -17
  262. package/dist/chunks/{wellknown-y0teaw91.js → location-xd121ra7.js} +13 -13
  263. package/dist/chunks/{wellknown-428yx6p2.js → location-xmzr835j.js} +36 -36
  264. package/dist/chunks/{wellknown-fqj9nv8j.js → location-xs12am9p.js} +5 -5
  265. package/dist/chunks/{wellknown-ds9vkb33.js → location-xsmwh0mh.js} +162 -162
  266. package/dist/chunks/{wellknown-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{wellknown-ygc9jv0b.js → location-y5f1wfry.js} +2 -2
  268. package/dist/chunks/{wellknown-dpkg50ah.js → location-y71avatq.js} +4 -4
  269. package/dist/chunks/{wellknown-sxg9z5jp.js → location-yez2bqh9.js} +9 -9
  270. package/dist/chunks/{wellknown-cxqrqs6v.js → location-yf0jwjfc.js} +33 -33
  271. package/dist/chunks/{wellknown-qcx2jk2t.js → location-yh16dntz.js} +54 -54
  272. package/dist/chunks/{wellknown-2d9jcxpv.js → location-yjcxr39e.js} +16 -16
  273. package/dist/chunks/{wellknown-scrkxf2r.js → location-yq2cy4vk.js} +9 -9
  274. package/dist/chunks/{wellknown-z6brc79e.js → location-yq6wvp1y.js} +10 -10
  275. package/dist/chunks/{wellknown-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{wellknown-rf98ft5w.js → location-ys02tb6f.js} +24 -24
  277. package/dist/chunks/{wellknown-8k6k9q3x.js → location-yydrw2qx.js} +2 -2
  278. package/dist/chunks/{wellknown-akw77m90.js → location-yyfky2bj.js} +1 -1
  279. package/dist/chunks/{wellknown-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{wellknown-tpej6hf6.js → location-z4zaedpe.js} +11 -11
  281. package/dist/chunks/{wellknown-4m2pmvxz.js → location-zcqf6png.js} +6 -6
  282. package/dist/chunks/{wellknown-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{wellknown-nm03esje.js → location-zfcp8yb0.js} +3 -3
  284. package/dist/chunks/{wellknown-g2ddh771.js → location-zgpdpn5c.js} +5 -5
  285. package/dist/chunks/{wellknown-7vzhg19r.js → location-zpn9qnw3.js} +4 -4
  286. package/dist/chunks/{wellknown-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{wellknown-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{wellknown-mcndymyz.js → location-zyhvsr6w.js} +6 -6
  289. package/dist/chunks/{wellknown-wtq9ytdv.js → location-zzwwppnv.js} +11 -11
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +210 -210
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +119 -119
  302. package/dist/config/plugin/image.js +117 -117
  303. package/dist/config/plugin/instruction.js +87 -87
  304. package/dist/config/plugin/location-watcher.js +119 -119
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +116 -116
  307. package/dist/config/plugin/provider.js +115 -115
  308. package/dist/config/plugin/reference.js +119 -119
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +99 -99
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +117 -117
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +119 -119
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +120 -120
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +90 -90
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +90 -90
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +101 -101
  412. package/dist/file-mutation.js +91 -91
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +101 -101
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +104 -104
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +84 -84
  430. package/dist/generate.js +94 -94
  431. package/dist/git.js +8 -8
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +7 -7
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +84 -84
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +130 -130
  465. package/dist/location-mutation.js +101 -101
  466. package/dist/location-service-map.js +83 -83
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +82 -82
  469. package/dist/mcp/client.js +88 -88
  470. package/dist/mcp/index.js +105 -105
  471. package/dist/mcp/instructions.js +124 -124
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +87 -87
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +7 -7
  476. package/dist/model-resolver.js +87 -87
  477. package/dist/model.js +10 -10
  478. package/dist/models-dev.js +87 -87
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +112 -112
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +99 -99
  489. package/dist/plugin/command.js +96 -96
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +215 -215
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +99 -99
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/azure.js +120 -120
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +116 -116
  508. package/dist/plugin/provider/digitalocean.js +80 -80
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +81 -81
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +77 -77
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +119 -119
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +79 -79
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +119 -119
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +73 -73
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +344 -344
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +2 -2
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +226 -226
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +81 -81
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +96 -96
  562. package/dist/reference/instructions.js +86 -86
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +78 -78
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +95 -95
  568. package/dist/rpc.js +83 -83
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +149 -149
  573. package/dist/session/diff.js +85 -85
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +126 -126
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +94 -94
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +109 -109
  589. package/dist/session/model-transport.js +3 -3
  590. package/dist/session/move.js +128 -128
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +102 -102
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +87 -87
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +227 -227
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +112 -112
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +133 -133
  607. package/dist/session/skill.js +100 -100
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +206 -206
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +109 -109
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +218 -218
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +135 -135
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +102 -102
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +84 -84
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +123 -123
  632. package/dist/tool/plugin/edit.js +117 -117
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +120 -120
  635. package/dist/tool/plugin/grep.js +122 -122
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +119 -119
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +123 -123
  640. package/dist/tool/plugin/shell.js +213 -213
  641. package/dist/tool/plugin/skill.js +108 -108
  642. package/dist/tool/plugin/subagent.js +217 -217
  643. package/dist/tool/plugin/webfetch.js +107 -107
  644. package/dist/tool/plugin/websearch.js +109 -109
  645. package/dist/tool/plugin/write.js +119 -119
  646. package/dist/tool/read-filesystem.js +98 -98
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +15 -15
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +80 -80
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +77 -77
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +6 -6
  685. package/dist/worktree/refresh.js +341 -341
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +91 -91
  688. package/package.json +8 -8
  689. package/dist/chunks/wellknown-0mesazry.js +0 -4
  690. package/dist/chunks/wellknown-8rg17q0b.js +0 -26
  691. package/dist/chunks/wellknown-rap9a73h.js +0 -18
  692. package/dist/chunks/wellknown-w6rm0z24.js +0 -247
  693. /package/dist/chunks/{wellknown-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{wellknown-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{wellknown-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{wellknown-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{wellknown-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{wellknown-2710q6r3.js → location-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{wellknown-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{wellknown-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{wellknown-359p4xyc.js → location-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{wellknown-3asan66x.js → location-3asan66x.js} +0 -0
  703. /package/dist/chunks/{wellknown-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{wellknown-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{wellknown-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{wellknown-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{wellknown-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{wellknown-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{wellknown-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{wellknown-53557ph1.js → location-53557ph1.js} +0 -0
  711. /package/dist/chunks/{wellknown-550bvhaj.js → location-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{wellknown-6prwharc.js → location-6prwharc.js} +0 -0
  713. /package/dist/chunks/{wellknown-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{wellknown-7m9af43g.js → location-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{wellknown-822emrt2.js → location-822emrt2.js} +0 -0
  716. /package/dist/chunks/{wellknown-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{wellknown-8n3pysct.js → location-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{wellknown-922hggd3.js → location-922hggd3.js} +0 -0
  719. /package/dist/chunks/{wellknown-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{wellknown-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{wellknown-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{wellknown-af5trqkr.js → location-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{wellknown-afrmfg78.js → location-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{wellknown-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{wellknown-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{wellknown-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{wellknown-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{wellknown-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{wellknown-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{wellknown-d9fn303g.js → location-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{wellknown-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{wellknown-dajrwvna.js → location-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{wellknown-dap0rakb.js → location-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{wellknown-df08tz66.js → location-df08tz66.js} +0 -0
  735. /package/dist/chunks/{wellknown-dy18nga0.js → location-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{wellknown-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{wellknown-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{wellknown-ec1grn59.js → location-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{wellknown-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{wellknown-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{wellknown-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{wellknown-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{wellknown-faypxj3z.js → location-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{wellknown-fd410y7t.js → location-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{wellknown-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{wellknown-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{wellknown-g86h250q.js → location-g86h250q.js} +0 -0
  748. /package/dist/chunks/{wellknown-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{wellknown-gftt206x.js → location-gftt206x.js} +0 -0
  750. /package/dist/chunks/{wellknown-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{wellknown-hk9envan.js → location-hk9envan.js} +0 -0
  752. /package/dist/chunks/{wellknown-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{wellknown-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{wellknown-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{wellknown-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{wellknown-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{wellknown-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{wellknown-mp448xyj.js → location-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{wellknown-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{wellknown-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{wellknown-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{wellknown-njntx4h6.js → location-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{wellknown-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{wellknown-q74kybfr.js → location-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{wellknown-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{wellknown-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{wellknown-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{wellknown-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{wellknown-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{wellknown-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{wellknown-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{wellknown-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{wellknown-twg0f83k.js → location-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{wellknown-w803qqfp.js → location-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{wellknown-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{wellknown-wtztk69x.js → location-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{wellknown-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{wellknown-x61499pn.js → location-x61499pn.js} +0 -0
  779. /package/dist/chunks/{wellknown-y44na4kk.js → location-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{wellknown-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{wellknown-y8f7s663.js → location-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{wellknown-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{wellknown-ym463w8f.js → location-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{wellknown-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID12,
2
+ ID14,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./wellknown-txh28jzs.js";
5
+ } from "./location-njr1pezb.js";
6
6
  import {
7
- ID8
8
- } from "./wellknown-614nn5w1.js";
7
+ ID13
8
+ } from "./location-tj0j24wc.js";
9
9
  import {
10
10
  Service78
11
- } from "./wellknown-w73e06md.js";
11
+ } from "./location-adcdh9yc.js";
12
12
  import {
13
13
  OAuth3,
14
- Event17
15
- } from "./wellknown-nw0178xm.js";
14
+ Event19
15
+ } from "./location-sdd99z8d.js";
16
16
  import {
17
- ID9,
17
+ ID6,
18
18
  MethodID2
19
- } from "./wellknown-bksxygyb.js";
19
+ } from "./location-83tr1t7h.js";
20
20
  import {
21
- Service66
22
- } from "./wellknown-97jqyest.js";
21
+ Service56
22
+ } from "./location-dfqckxk5.js";
23
23
  import {
24
- get3
25
- } from "./wellknown-vxbt1qyf.js";
24
+ get2
25
+ } from "./location-xcs774s4.js";
26
26
  import {
27
27
  useragent2
28
- } from "./wellknown-1s2726j8.js";
28
+ } from "./location-cssnqykq.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID9.make("github-copilot"),
60
+ integrationID: ID6.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service66;
158
+ const catalog = yield* Service56;
159
159
  const bus = yield* Service78;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID12.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID12.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID14.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID14.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get3(loaded.baseURL ?? baseURL(), {
176
+ try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID12.githubCopilot);
190
+ const item = evt.provider.get(ID14.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID8.make(id)))
195
+ if (!loaded.models.has(ID13.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID8.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID8.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID12.githubCopilot)
220
+ if (evt.model.providerID !== ID14.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID12.githubCopilot)
229
+ if (evt.model.providerID !== ID14.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID12.githubCopilot });
239
+ }), { providerID: ID14.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID12.githubCopilot)
241
+ if (evt.model.providerID !== ID14.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID12.githubCopilot });
249
+ }), { providerID: ID14.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID12.githubCopilot)
251
+ if (evt.model.providerID !== ID14.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service42
3
- } from "./wellknown-40kjh9zt.js";
2
+ Service66
3
+ } from "./location-th0vq4rj.js";
4
4
  import {
5
- Service50
6
- } from "./wellknown-c982ejga.js";
5
+ Service42
6
+ } from "./location-v9dgs7p6.js";
7
7
  import {
8
8
  observe2
9
- } from "./wellknown-qsdy395h.js";
9
+ } from "./location-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin17
18
+ Plugin: () => Plugin15
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin17 = define({
22
+ var Plugin15 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service42;
26
- const image = yield* Service50;
25
+ const config = yield* Service66;
26
+ const image = yield* Service42;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin17 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin17, exports_image };
46
+ export { Plugin15, exports_image };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service10,
9
+ Service: () => Service3,
10
10
  bound: () => bound2,
11
- node: () => node13
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service10 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service3 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node13 = makeLocationNode({
19
- service: Service10,
18
+ var node5 = makeLocationNode({
19
+ service: Service3,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service10, Service10.of({ all: () => stamped }));
29
+ return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service10, node13, bound2, exports_instance2 };
32
+ export { Service3, node5, bound2, exports_instance2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./wellknown-gftt206x.js";
3
+ } from "./location-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -400,4 +400,4 @@ function update3(adapter, event) {
400
400
  return project(event);
401
401
  }
402
402
 
403
- export { update3, exports_message_updater };
403
+ export { update2, exports_message_updater };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./wellknown-2a5m3afh.js";
3
+ } from "./location-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./wellknown-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./wellknown-r61k027t.js";
8
+ Service75
9
+ } from "./location-rjg803xe.js";
10
10
  import {
11
- Service44
12
- } from "./wellknown-mz243gxw.js";
11
+ Service69
12
+ } from "./location-3ypnsrhw.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service18
16
- } from "./wellknown-2yc0zt1n.js";
15
+ Service51
16
+ } from "./location-b2hm862w.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./wellknown-65cnjpna.js";
23
+ } from "./location-31f4jhva.js";
24
24
  import {
25
- Service71
26
- } from "./wellknown-ywq6n3vy.js";
25
+ Service60
26
+ } from "./location-dhdv1zj0.js";
27
27
  import {
28
- Service56
29
- } from "./wellknown-h4yhaw2e.js";
28
+ Service20
29
+ } from "./location-f5vwma0d.js";
30
30
  import {
31
31
  __export
32
- } from "./wellknown-9rqn6x4v.js";
32
+ } from "./location-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin34,
41
- name: () => name2,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input7,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin40,
41
+ name: () => name7,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name2 = "grep";
48
- var Input2 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output2 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin34 = {
86
+ var Plugin40 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service44;
90
- const ripgrep = yield* Service18;
91
- const location = yield* Service76;
92
- const access = yield* Service56;
93
- const permission = yield* Service71;
89
+ const environment = yield* Service69;
90
+ const ripgrep = yield* Service51;
91
+ const location = yield* Service75;
92
+ const access = yield* Service20;
93
+ const permission = yield* Service60;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input2,
99
- output: Output2,
98
+ input: Input7,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name2,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin34 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin34 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name2, Input2, Output2, toModelContent2, Plugin34, exports_grep };
157
+ export { name7, Input7, Output5, toModelContent3, Plugin40, exports_grep };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service43,
3
- node47
4
- } from "./wellknown-00h2wynw.js";
2
+ Service67,
3
+ node71
4
+ } from "./location-c5db1mkp.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./wellknown-r61k027t.js";
6
+ Service75,
7
+ node80
8
+ } from "./location-rjg803xe.js";
9
9
  import {
10
- Service42,
11
- node46
12
- } from "./wellknown-40kjh9zt.js";
10
+ Service66,
11
+ node70
12
+ } from "./location-th0vq4rj.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./wellknown-zxq2ej10.js";
16
+ } from "./location-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./wellknown-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service2,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node7
27
+ layer: () => layer4,
28
+ node: () => node4
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service42;
40
- const watcher = yield* Service43;
38
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
+ const config = yield* Service66;
40
+ const watcher = yield* Service67;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service76;
42
+ const location = yield* Service75;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service2.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node7 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node46, FSUtil.node, node47, node81]
73
+ var node4 = makeLocationNode({
74
+ service: Service2,
75
+ layer: layer4,
76
+ deps: [node70, FSUtil.node, node71, node80]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service2,
80
+ layer: Layer.succeed(Service2, Service2.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node7, empty2, exports_source };
140
+ export { Service2, layer4, node4, empty2, exports_source };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service64,
9
- node69
10
- } from "./wellknown-nftnfmm3.js";
8
+ Service54,
9
+ node58
10
+ } from "./location-bf5a3t6s.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./wellknown-j7wq2tw5.js";
13
+ } from "./location-2f04pwep.js";
14
14
  import {
15
15
  __export
16
- } from "./wellknown-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service61,
25
+ Service: () => Service38,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node66,
31
+ node: () => node41,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service61 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service38 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  websocket: options.websocket ?? false
74
74
  });
75
- var layer = Layer.effect(Service61, Effect.gen(function* () {
76
- const resolver = yield* Service64;
77
- return Service61.of({
75
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
76
+ const resolver = yield* Service54;
77
+ return Service38.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node66 = makeLocationNode({ service: Service61, layer, deps: [node69] });
95
+ var node41 = makeLocationNode({ service: Service38, layer, deps: [node58] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service61, resolved2, node66, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service38, resolved2, node41, exports_model };