@opencode-ai/core 0.0.0-beta-18414 → 0.0.0-beta-18600

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 (826) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +70 -70
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +78 -78
  8. package/dist/chunks/{tool-d8s3r721.js → project-01z9805y.js} +6 -6
  9. package/dist/chunks/{tool-02dbfq60.js → project-02dbfq60.js} +1 -1
  10. package/dist/chunks/{tool-f11jbhcb.js → project-0687t5rp.js} +7 -7
  11. package/dist/chunks/{tool-7thnevmq.js → project-0gcqkg3x.js} +3 -4
  12. package/dist/chunks/{tool-0kvmztkf.js → project-0kvmztkf.js} +1 -1
  13. package/dist/chunks/{tool-157r81nd.js → project-0pepaw2y.js} +8 -8
  14. package/dist/chunks/{tool-rm0rdhcq.js → project-0r1p85sc.js} +7 -9
  15. package/dist/chunks/{tool-3jshngxf.js → project-0xzcm754.js} +9 -9
  16. package/dist/chunks/{tool-7gqqz1s8.js → project-10p29vm9.js} +2 -2
  17. package/dist/chunks/{tool-6f8j85qb.js → project-12r08axk.js} +10 -10
  18. package/dist/chunks/{tool-999qd968.js → project-15hpbjb6.js} +4 -4
  19. package/dist/chunks/{tool-18pv8fg3.js → project-18pv8fg3.js} +2 -2
  20. package/dist/chunks/{tool-s758z954.js → project-1cvksg4c.js} +2 -2
  21. package/dist/chunks/{tool-t4r89bwk.js → project-1mvr5yep.js} +3 -3
  22. package/dist/chunks/{tool-rp2ch0tc.js → project-1r30nvhb.js} +3 -3
  23. package/dist/chunks/{tool-5h6b115z.js → project-1v4q2qp6.js} +48 -8
  24. package/dist/chunks/{tool-t9sv4zem.js → project-1wpv42fk.js} +5 -5
  25. package/dist/chunks/{tool-cb5zxvq2.js → project-264e1nfp.js} +16 -27
  26. package/dist/chunks/{tool-88d62dqj.js → project-26cqkxws.js} +41 -43
  27. package/dist/chunks/{tool-ykb30cq4.js → project-27gfv7vw.js} +3 -3
  28. package/dist/chunks/{tool-bmknfyv0.js → project-2knkewgs.js} +5 -5
  29. package/dist/chunks/{tool-2m0hgr65.js → project-2m0hgr65.js} +1 -1
  30. package/dist/chunks/{tool-2nmyybe0.js → project-2nmyybe0.js} +1 -1
  31. package/dist/chunks/{tool-amkf47zv.js → project-2tnd1ag8.js} +6 -9
  32. package/dist/chunks/{tool-2wds5nk3.js → project-2wds5nk3.js} +1 -1
  33. package/dist/chunks/{tool-vycjsnjm.js → project-37ng30jt.js} +11 -6
  34. package/dist/chunks/{tool-393a352g.js → project-393a352g.js} +2 -2
  35. package/dist/chunks/{tool-3g8vftxb.js → project-3g8vftxb.js} +2 -2
  36. package/dist/chunks/{tool-d8ve01t0.js → project-3gybxysr.js} +39 -44
  37. package/dist/chunks/{tool-09s1bzmc.js → project-3ngtzkgg.js} +6 -9
  38. package/dist/chunks/{tool-3qv8nf0b.js → project-3qv8nf0b.js} +1 -1
  39. package/dist/chunks/{tool-3thh6229.js → project-3thh6229.js} +2 -2
  40. package/dist/chunks/{tool-na96fv1q.js → project-4f5az0e7.js} +3 -3
  41. package/dist/chunks/{tool-5t37zp3f.js → project-4rg3anhc.js} +17 -11
  42. package/dist/chunks/{tool-4s2xwh5d.js → project-4s2xwh5d.js} +3 -3
  43. package/dist/chunks/{tool-4zzdwbaz.js → project-4zzdwbaz.js} +2 -2
  44. package/dist/chunks/{tool-50jxp3hw.js → project-50jxp3hw.js} +1 -1
  45. package/dist/chunks/{tool-h01rtytj.js → project-52cmy8h2.js} +5 -5
  46. package/dist/chunks/{tool-5z4zwtb4.js → project-57ej80dx.js} +6 -5
  47. package/dist/chunks/{tool-57tzwnz4.js → project-57tzwnz4.js} +1 -1
  48. package/dist/chunks/{tool-58xdvehb.js → project-58xdvehb.js} +1 -1
  49. package/dist/chunks/{tool-5cdnkd94.js → project-5cdnkd94.js} +3 -3
  50. package/dist/chunks/{tool-5fe026tx.js → project-5fe026tx.js} +3 -3
  51. package/dist/chunks/{tool-0jn2bqed.js → project-5fkc1wrz.js} +3 -3
  52. package/dist/chunks/{tool-5rs65q6p.js → project-5rs65q6p.js} +1 -1
  53. package/dist/chunks/{tool-n93x7mqk.js → project-5sw6s279.js} +3 -3
  54. package/dist/chunks/{tool-cb19ghtj.js → project-5v57kk1r.js} +3 -3
  55. package/dist/chunks/{tool-5vcssjzn.js → project-5vcssjzn.js} +1 -1
  56. package/dist/chunks/{tool-ey81096p.js → project-60xr61qr.js} +7 -7
  57. package/dist/chunks/{tool-6272rtjg.js → project-6272rtjg.js} +1 -1
  58. package/dist/chunks/{tool-y0a17w9d.js → project-63n18kwk.js} +4 -4
  59. package/dist/chunks/{tool-m1wb9dgh.js → project-63s588jq.js} +31 -31
  60. package/dist/chunks/{tool-dcqm2659.js → project-6kmefejb.js} +31 -85
  61. package/dist/chunks/{tool-6ky7rqk7.js → project-6ky7rqk7.js} +1 -1
  62. package/dist/chunks/{tool-hjc64t6x.js → project-6tmgbn41.js} +51 -75
  63. package/dist/chunks/{tool-6wkzvma0.js → project-6wkzvma0.js} +2 -2
  64. package/dist/chunks/{tool-75h1hfe2.js → project-75h1hfe2.js} +2 -2
  65. package/dist/chunks/{tool-d6sk6h82.js → project-7d6d29dh.js} +59 -65
  66. package/dist/chunks/{tool-v72crqz7.js → project-7k160n64.js} +6 -6
  67. package/dist/chunks/{tool-7khw64yh.js → project-7khw64yh.js} +1 -1
  68. package/dist/chunks/{tool-7mrpdsq5.js → project-7mrpdsq5.js} +1 -1
  69. package/dist/chunks/{tool-7wcmqxrc.js → project-7wcmqxrc.js} +1 -1
  70. package/dist/chunks/{tool-q693p5za.js → project-7yga2xb3.js} +12 -12
  71. package/dist/chunks/{tool-rameyvmv.js → project-83ba1yz6.js} +5 -11
  72. package/dist/chunks/{tool-376q6v3y.js → project-86t2edmb.js} +10 -10
  73. package/dist/chunks/{tool-248dv4dv.js → project-88g69gay.js} +5 -5
  74. package/dist/chunks/{tool-8pngjawd.js → project-8pngjawd.js} +2 -2
  75. package/dist/chunks/{tool-75wg6agd.js → project-8ptyzv8c.js} +26 -24
  76. package/dist/chunks/{tool-axj9zjcw.js → project-8s775pjc.js} +6 -6
  77. package/dist/chunks/{tool-yaw62s0n.js → project-8t2ap2vm.js} +4 -4
  78. package/dist/chunks/{tool-wcb745wb.js → project-8xpa4rfs.js} +6 -6
  79. package/dist/chunks/{tool-ndg5dzdd.js → project-917g9tmj.js} +3 -3
  80. package/dist/chunks/{tool-9f0rnpkn.js → project-9f0rnpkn.js} +1 -1
  81. package/dist/chunks/{tool-3p1bsa7m.js → project-9maxscqf.js} +7 -0
  82. package/dist/chunks/{tool-x33kb18g.js → project-9nk9mkqn.js} +3 -3
  83. package/dist/chunks/{tool-3s135gjm.js → project-9twaxxs3.js} +5 -5
  84. package/dist/chunks/{tool-pcyacrd3.js → project-9wbq8qv2.js} +8 -8
  85. package/dist/chunks/{tool-emrme47h.js → project-a0s5dkct.js} +8 -8
  86. package/dist/chunks/{tool-4qk63h15.js → project-a7tr07hx.js} +3 -3
  87. package/dist/chunks/project-anez00x1.js +234 -0
  88. package/dist/chunks/{tool-83kkwqqt.js → project-apgan3pt.js} +5 -5
  89. package/dist/chunks/{tool-awg5d31a.js → project-awg5d31a.js} +1 -1
  90. package/dist/chunks/{tool-se8395as.js → project-ayrkq19e.js} +8 -8
  91. package/dist/chunks/{tool-bbhffenw.js → project-bbhffenw.js} +3 -3
  92. package/dist/chunks/{tool-bh1wr8rq.js → project-bh1wr8rq.js} +2 -2
  93. package/dist/chunks/{tool-7vqcvmjm.js → project-bq1qdn80.js} +8 -8
  94. package/dist/chunks/{tool-negttf37.js → project-bqjtetqx.js} +90 -90
  95. package/dist/chunks/project-brrb2k9c.js +126 -0
  96. package/dist/chunks/{tool-vvdjq78e.js → project-bwpyv797.js} +5 -6
  97. package/dist/chunks/{tool-byab506k.js → project-byab506k.js} +1 -1
  98. package/dist/chunks/{tool-s2dmwbat.js → project-c2dy8s0z.js} +9 -9
  99. package/dist/chunks/{tool-c4wcb9vc.js → project-c4wcb9vc.js} +2 -2
  100. package/dist/chunks/{tool-cp982web.js → project-c6yz00sq.js} +7 -7
  101. package/dist/chunks/{tool-88jbfw8z.js → project-c8ya26sa.js} +4 -4
  102. package/dist/chunks/{tool-g64wqzyd.js → project-cbdh5emr.js} +3 -3
  103. package/dist/chunks/{tool-gfdah46y.js → project-cg0y8hn9.js} +21 -22
  104. package/dist/chunks/{tool-ef9y63ry.js → project-ch59ehxr.js} +3 -3
  105. package/dist/chunks/{tool-9ksd5av3.js → project-cz0kv403.js} +6 -6
  106. package/dist/chunks/{tool-scfq11we.js → project-d0ahwm86.js} +24 -24
  107. package/dist/chunks/{tool-d2gk9vpf.js → project-d2gk9vpf.js} +2 -2
  108. package/dist/chunks/{tool-5aac0tby.js → project-d37zqxgn.js} +11 -11
  109. package/dist/chunks/{tool-nesb2rcz.js → project-d4h7vwhh.js} +2 -2
  110. package/dist/chunks/{tool-7bxmgbqt.js → project-d9wdmbm9.js} +10 -7
  111. package/dist/chunks/{tool-h4a7m801.js → project-dgmzb1tr.js} +21 -24
  112. package/dist/chunks/{tool-dhphtf1x.js → project-dhphtf1x.js} +1 -1
  113. package/dist/chunks/{tool-h5xzwr1g.js → project-djskppfh.js} +4 -4
  114. package/dist/chunks/{tool-76jwqfe9.js → project-dmd300cs.js} +6 -6
  115. package/dist/chunks/{tool-qfcm9j97.js → project-dsrkn9fq.js} +8 -12
  116. package/dist/chunks/{tool-e1z9a0ts.js → project-e1z9a0ts.js} +2 -2
  117. package/dist/chunks/{tool-ec8vrfw5.js → project-ec8vrfw5.js} +1 -1
  118. package/dist/chunks/{tool-eeta29b7.js → project-eeta29b7.js} +4 -4
  119. package/dist/chunks/{tool-t11m5yr4.js → project-eg3rv469.js} +4 -4
  120. package/dist/chunks/{tool-enpg66yn.js → project-enpg66yn.js} +1 -1
  121. package/dist/chunks/project-ep35cpen.js +32 -0
  122. package/dist/chunks/{tool-217z330v.js → project-ex7kk1kw.js} +2 -2
  123. package/dist/chunks/{tool-3bben81c.js → project-eygmcrvz.js} +12 -9
  124. package/dist/chunks/{tool-3331j5hn.js → project-eyszsgm3.js} +21 -25
  125. package/dist/chunks/{tool-drean1vx.js → project-f1jj19e8.js} +1 -1
  126. package/dist/chunks/{tool-8ebp560e.js → project-f1zz3pak.js} +4 -4
  127. package/dist/chunks/{tool-8qrvdwwg.js → project-f7q7a28y.js} +6 -6
  128. package/dist/chunks/{tool-f9wt0tjw.js → project-f9wt0tjw.js} +2 -2
  129. package/dist/chunks/{tool-fb7nfzf2.js → project-fb7nfzf2.js} +3 -3
  130. package/dist/chunks/{tool-fgyjabww.js → project-fgyjabww.js} +2 -2
  131. package/dist/chunks/{tool-k7pbmry0.js → project-fhg07p44.js} +13 -14
  132. package/dist/chunks/{tool-dp4z5d5v.js → project-fj3jkv63.js} +4 -4
  133. package/dist/chunks/{tool-ybhfpy64.js → project-fm3b2wbt.js} +4 -6
  134. package/dist/chunks/{tool-a66h3var.js → project-fw21zw5n.js} +9 -9
  135. package/dist/chunks/{tool-b273vq4v.js → project-fw3c683y.js} +3 -11
  136. package/dist/chunks/{tool-e7m167yz.js → project-g2nsgnf7.js} +17 -9
  137. package/dist/chunks/{tool-mh28new4.js → project-gb1z7yet.js} +2 -2
  138. package/dist/chunks/{tool-gcay93cp.js → project-gcay93cp.js} +1 -1
  139. package/dist/chunks/{tool-merfm3fd.js → project-gcc0jgqv.js} +5 -5
  140. package/dist/chunks/{tool-gd2xppx8.js → project-gd2xppx8.js} +1 -1
  141. package/dist/chunks/{tool-pts35d3y.js → project-gm95ds07.js} +11 -12
  142. package/dist/chunks/{tool-h2mftgr1.js → project-gtcq6en2.js} +16 -11
  143. package/dist/chunks/{tool-5drxeftm.js → project-gx0zmkq0.js} +149 -149
  144. package/dist/chunks/{tool-8dndtydw.js → project-gy9zm4ck.js} +4 -4
  145. package/dist/chunks/{tool-h12kt9pa.js → project-h12kt9pa.js} +2 -2
  146. package/dist/chunks/{tool-5y7h4bj8.js → project-h2h934sz.js} +6 -6
  147. package/dist/chunks/{tool-h94zdhz8.js → project-h94zdhz8.js} +2 -2
  148. package/dist/chunks/{tool-re1rhra9.js → project-hesdqwj7.js} +6 -6
  149. package/dist/chunks/{tool-hp6rpdnc.js → project-hp6rpdnc.js} +1 -1
  150. package/dist/chunks/{tool-njstbtdj.js → project-hs6h3an3.js} +61 -61
  151. package/dist/chunks/project-hxw68eqm.js +187 -0
  152. package/dist/chunks/{tool-gpybhmhb.js → project-j0sncrp4.js} +4 -4
  153. package/dist/chunks/project-j32vdj8r.js +16 -0
  154. package/dist/chunks/{tool-yncnzy6p.js → project-j5sjtdxs.js} +3 -3
  155. package/dist/chunks/{tool-pqe0bsb2.js → project-jcsmb80n.js} +3 -3
  156. package/dist/chunks/{tool-n0eq3s1b.js → project-jj3fzgje.js} +5 -5
  157. package/dist/chunks/project-k2bjf35z.js +304 -0
  158. package/dist/chunks/{tool-jy183kys.js → project-k3my2f3q.js} +5 -5
  159. package/dist/chunks/{tool-kg1345f7.js → project-kg1345f7.js} +1 -1
  160. package/dist/chunks/{tool-kp1t5rcy.js → project-kp1t5rcy.js} +1 -1
  161. package/dist/chunks/{tool-krsqcmnj.js → project-krsqcmnj.js} +1 -1
  162. package/dist/chunks/{tool-kt491qp2.js → project-kt491qp2.js} +3 -3
  163. package/dist/chunks/{tool-m55whf0h.js → project-m55whf0h.js} +2 -2
  164. package/dist/chunks/{tool-2zb0j1mr.js → project-ma4zf1fd.js} +1 -1
  165. package/dist/chunks/{tool-017jr2na.js → project-mankezgy.js} +55 -7
  166. package/dist/chunks/{tool-23mx900r.js → project-mcmqzvt7.js} +5 -5
  167. package/dist/chunks/{tool-pkezspgh.js → project-mczqbtr0.js} +9 -9
  168. package/dist/chunks/{tool-mf0hyk7z.js → project-mf0hyk7z.js} +1 -1
  169. package/dist/chunks/{tool-mnb85w6b.js → project-mnb85w6b.js} +2 -2
  170. package/dist/chunks/{tool-pqjwk9ze.js → project-mx048vt2.js} +3 -3
  171. package/dist/chunks/{tool-whk0g8cz.js → project-mxjff6xk.js} +10 -5
  172. package/dist/chunks/{tool-mxvw03gv.js → project-mxvw03gv.js} +1 -1
  173. package/dist/chunks/{tool-yde8fdw7.js → project-n08k8xnm.js} +11 -11
  174. package/dist/chunks/{tool-xt0068v8.js → project-n6ag8q95.js} +19 -23
  175. package/dist/chunks/{tool-ay9jepqf.js → project-n79xa5zf.js} +17 -17
  176. package/dist/chunks/{tool-p379w5v5.js → project-n80x9yrx.js} +10 -10
  177. package/dist/chunks/{tool-nr76rjj3.js → project-nr76rjj3.js} +2 -2
  178. package/dist/chunks/{tool-y980s7ka.js → project-ns0sdez7.js} +5 -5
  179. package/dist/chunks/{tool-2ppgn6ch.js → project-ntzp27rn.js} +4 -4
  180. package/dist/chunks/{tool-nzrjycs5.js → project-nzrjycs5.js} +1 -1
  181. package/dist/chunks/{tool-sxpjdhga.js → project-p2h03eta.js} +4 -4
  182. package/dist/chunks/{tool-bb6xq25h.js → project-p2k7bd69.js} +62 -65
  183. package/dist/chunks/project-pba5amb4.js +33 -0
  184. package/dist/chunks/{tool-2y40pff2.js → project-pm12wdxj.js} +6 -6
  185. package/dist/chunks/{tool-gf27j7mb.js → project-pm64n062.js} +6 -14
  186. package/dist/chunks/{tool-pq4b4pqk.js → project-pq4b4pqk.js} +2 -2
  187. package/dist/chunks/{tool-mtf7yncj.js → project-pxfsdh0y.js} +6 -6
  188. package/dist/chunks/{tool-02xgq42f.js → project-q52549y3.js} +2 -2
  189. package/dist/chunks/{tool-ygy0xbqa.js → project-q606pcse.js} +3 -3
  190. package/dist/chunks/{tool-qe0d689s.js → project-qe0d689s.js} +2 -2
  191. package/dist/chunks/{tool-nr9n2d4p.js → project-qfwv4tag.js} +11 -11
  192. package/dist/chunks/{tool-r958g7pm.js → project-qhe68xsc.js} +4 -4
  193. package/dist/chunks/{tool-e4n4v60w.js → project-qmbgqwhj.js} +3 -3
  194. package/dist/chunks/{tool-5cmc2wkg.js → project-qw097fy7.js} +11 -11
  195. package/dist/chunks/{tool-4ya343sq.js → project-qxpt6zan.js} +31 -35
  196. package/dist/chunks/{tool-1tbh5vd4.js → project-qxsjpy8c.js} +6 -6
  197. package/dist/chunks/{tool-cpbmr86j.js → project-qzrmckdd.js} +6 -6
  198. package/dist/chunks/{tool-c06ff3ts.js → project-r0z48jr6.js} +12 -13
  199. package/dist/chunks/{tool-r13w8t0w.js → project-r13w8t0w.js} +2 -2
  200. package/dist/chunks/{tool-r3k9abhd.js → project-r3k9abhd.js} +2 -2
  201. package/dist/chunks/{tool-d7kshenq.js → project-r5gg458q.js} +47 -42
  202. package/dist/chunks/{tool-eek2pnnt.js → project-r67bz3x8.js} +13 -13
  203. package/dist/chunks/{tool-rfbm65k8.js → project-r9d3d23r.js} +5 -33
  204. package/dist/chunks/{tool-6qnkp1xh.js → project-r9pv5d9a.js} +13 -13
  205. package/dist/chunks/{tool-rahat93a.js → project-rahat93a.js} +1 -1
  206. package/dist/chunks/{tool-rbnp2c85.js → project-rbnp2c85.js} +3 -3
  207. package/dist/chunks/{tool-c7b2cm7c.js → project-rgh2fcxw.js} +5 -5
  208. package/dist/chunks/{tool-6mybbghn.js → project-rjnxxp68.js} +11 -11
  209. package/dist/chunks/project-s2kjqxd3.js +21 -0
  210. package/dist/chunks/{tool-s33fw6zm.js → project-s33fw6zm.js} +1 -1
  211. package/dist/chunks/{tool-rmm5c85b.js → project-s9zs8v6y.js} +13 -14
  212. package/dist/chunks/{tool-e39r3b28.js → project-sag4arrb.js} +3 -3
  213. package/dist/chunks/{tool-hd8q5g8p.js → project-sdcydb11.js} +10 -7
  214. package/dist/chunks/{tool-7yfz5d5r.js → project-sg39537v.js} +17 -9
  215. package/dist/chunks/{tool-ffe33p6j.js → project-sgh68dve.js} +17 -19
  216. package/dist/chunks/{tool-c3ehh06a.js → project-sjgf8zbe.js} +5 -5
  217. package/dist/chunks/{tool-smpeg8c9.js → project-smpeg8c9.js} +2 -2
  218. package/dist/chunks/{tool-9cn9z662.js → project-sn6nad9v.js} +29 -29
  219. package/dist/chunks/{tool-b12y280m.js → project-ssk1zpcb.js} +8 -8
  220. package/dist/chunks/{tool-sw84ckhj.js → project-sw84ckhj.js} +1 -1
  221. package/dist/chunks/{tool-pr2pekfr.js → project-szqzwjp8.js} +13 -13
  222. package/dist/chunks/{tool-t0msbthe.js → project-t0msbthe.js} +3 -3
  223. package/dist/chunks/{tool-t14kykx1.js → project-t14kykx1.js} +1 -1
  224. package/dist/chunks/{tool-chc00mz7.js → project-t16napr0.js} +6 -6
  225. package/dist/chunks/{tool-tcptxgyq.js → project-tcptxgyq.js} +1 -1
  226. package/dist/chunks/{tool-tgbb2ckq.js → project-tgbb2ckq.js} +2 -2
  227. package/dist/chunks/{tool-thstd87d.js → project-thstd87d.js} +1 -1
  228. package/dist/chunks/{tool-kgkfyy1j.js → project-tjrfm0xh.js} +5 -8
  229. package/dist/chunks/{tool-ngpnqj2n.js → project-tjzkemh8.js} +6 -9
  230. package/dist/chunks/{tool-w52cyf08.js → project-tpx671s8.js} +2 -2
  231. package/dist/chunks/{tool-txw0c3p3.js → project-tqf07m3e.js} +6 -4
  232. package/dist/chunks/project-ttxf0gsy.js +0 -0
  233. package/dist/chunks/{tool-v2wshkax.js → project-v2wshkax.js} +1 -1
  234. package/dist/chunks/{tool-v80zsxnb.js → project-v80zsxnb.js} +1 -1
  235. package/dist/chunks/{tool-v972xay6.js → project-v972xay6.js} +1 -1
  236. package/dist/chunks/{tool-v9bfv94f.js → project-v9bfv94f.js} +1 -1
  237. package/dist/chunks/{tool-kcacmy5c.js → project-vac9eqd2.js} +1 -5
  238. package/dist/chunks/{tool-vcwr2vpf.js → project-vcwr2vpf.js} +1 -1
  239. package/dist/chunks/{tool-53vhya9m.js → project-vjmn5wwb.js} +5 -5
  240. package/dist/chunks/{tool-y4v09x0q.js → project-vphhr7s2.js} +4 -4
  241. package/dist/chunks/{tool-vqbmgfq1.js → project-vqbmgfq1.js} +3 -3
  242. package/dist/chunks/{tool-kprre75d.js → project-vqt151v9.js} +3 -3
  243. package/dist/chunks/{tool-25n2gasw.js → project-vxb9gyym.js} +12 -12
  244. package/dist/chunks/{tool-vz89hfgr.js → project-vz89hfgr.js} +1 -1
  245. package/dist/chunks/{tool-y109krwg.js → project-w14414t3.js} +8 -16
  246. package/dist/chunks/{tool-c03pdk3m.js → project-w7b874ta.js} +3 -3
  247. package/dist/chunks/{tool-wbkt8qpj.js → project-wbkt8qpj.js} +1 -1
  248. package/dist/chunks/{tool-wmxdh12w.js → project-wmxdh12w.js} +1 -1
  249. package/dist/chunks/{tool-wps8gh8n.js → project-wps8gh8n.js} +2 -2
  250. package/dist/chunks/{tool-x89rah0x.js → project-x89rah0x.js} +1 -1
  251. package/dist/chunks/{tool-xczfw7dq.js → project-xczfw7dq.js} +1 -1
  252. package/dist/chunks/{tool-dfjw0vq8.js → project-xdgykwbe.js} +12 -13
  253. package/dist/chunks/{tool-xgv25zxy.js → project-xgv25zxy.js} +1 -1
  254. package/dist/chunks/{tool-p8fr6x1v.js → project-xj0xhwdw.js} +2 -2
  255. package/dist/chunks/{tool-t66bwez3.js → project-xtjxhef7.js} +2 -2
  256. package/dist/chunks/{tool-xwftk1fd.js → project-xwftk1fd.js} +2 -2
  257. package/dist/chunks/{tool-xxpvz42q.js → project-xxpvz42q.js} +3 -3
  258. package/dist/chunks/{tool-y0x38cee.js → project-y0x38cee.js} +1 -1
  259. package/dist/chunks/{tool-y198y2ra.js → project-y198y2ra.js} +1 -1
  260. package/dist/chunks/{tool-271gqszs.js → project-y5attvn7.js} +9 -14
  261. package/dist/chunks/{tool-y67x6rf6.js → project-y67x6rf6.js} +1 -1
  262. package/dist/chunks/{tool-cstpqjcj.js → project-y68gmye4.js} +25 -26
  263. package/dist/chunks/{tool-q70gvhbx.js → project-y85nmh9b.js} +9 -9
  264. package/dist/chunks/{tool-yf0knd5z.js → project-yf0knd5z.js} +2 -2
  265. package/dist/chunks/{tool-z8gh2y42.js → project-yq1fxjb2.js} +4 -4
  266. package/dist/chunks/{tool-400rk52g.js → project-z1at3hn2.js} +5 -5
  267. package/dist/chunks/{tool-zbqqnp0n.js → project-zbqqnp0n.js} +1 -1
  268. package/dist/chunks/{tool-zdkg1k91.js → project-zdkg1k91.js} +1 -1
  269. package/dist/chunks/{tool-jcxfg7j9.js → project-zn8r3q6e.js} +10 -9
  270. package/dist/chunks/{tool-q9b4qnv8.js → project-zs1qer6v.js} +7 -11
  271. package/dist/chunks/{tool-zxcy6vhn.js → project-zxcy6vhn.js} +1 -1
  272. package/dist/chunks/{tool-zxe9jjhn.js → project-zxe9jjhn.js} +2 -2
  273. package/dist/chunks/{tool-5tp8bhe0.js → project-zy5j9fqq.js} +8 -6
  274. package/dist/chunks/{tool-hszm49c7.js → project-zy7gs9ta.js} +10 -10
  275. package/dist/codemode/catalog.js +2 -2
  276. package/dist/codemode/instructions.js +4 -4
  277. package/dist/codemode/tool.js +3 -3
  278. package/dist/command.js +70 -70
  279. package/dist/config/file.js +128 -0
  280. package/dist/config/markdown.js +2 -2
  281. package/dist/config/normalize.js +20 -20
  282. package/dist/config/plugin/agent.js +132 -136
  283. package/dist/config/plugin/command.js +118 -118
  284. package/dist/config/plugin/compaction.js +146 -150
  285. package/dist/config/plugin/entry-observer.js +114 -114
  286. package/dist/config/plugin/formatter.js +119 -119
  287. package/dist/config/plugin/image.js +131 -130
  288. package/dist/config/plugin/instruction.js +90 -90
  289. package/dist/config/plugin/location-watcher.js +117 -117
  290. package/dist/config/plugin/mcp.js +128 -128
  291. package/dist/config/plugin/policy.js +116 -116
  292. package/dist/config/plugin/provider.js +115 -115
  293. package/dist/config/plugin/reference.js +119 -119
  294. package/dist/config/plugin/shell.js +118 -118
  295. package/dist/config/plugin/skill-file.js +103 -109
  296. package/dist/config/plugin/skill.js +135 -139
  297. package/dist/config/plugin/snapshot.js +117 -117
  298. package/dist/config/plugin/source.js +114 -114
  299. package/dist/config/plugin/tool-output.js +119 -119
  300. package/dist/config/plugin/websearch.js +115 -115
  301. package/dist/config/variable.js +4 -4
  302. package/dist/config.js +113 -115
  303. package/dist/credential/sql.js +3 -3
  304. package/dist/credential.js +71 -71
  305. package/dist/database/database.js +65 -65
  306. package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
  307. package/dist/database/drizzle/effect-sqlite/index.js +13 -13
  308. package/dist/database/drizzle/effect-sqlite/session.js +12 -12
  309. package/dist/database/drizzle/index.js +14 -14
  310. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  311. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  312. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  313. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  314. package/dist/database/drizzle/sqlite-core/effect/index.js +20 -20
  315. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  316. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  317. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  318. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  319. package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
  320. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  321. package/dist/database/drizzle.js +15 -15
  322. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  323. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  324. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  325. package/dist/database/migration/20260225215848_workspace.js +2 -2
  326. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  327. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  328. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  329. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  330. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  331. package/dist/database/migration/20260323234822_events.js +2 -2
  332. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  333. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  334. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  335. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  336. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  337. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  338. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  339. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  340. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  341. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  342. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  343. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  344. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  345. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  346. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  347. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  348. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  349. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  350. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  351. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  352. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  353. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  354. package/dist/database/migration/20260611035744_credential.js +2 -2
  355. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  356. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  357. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  358. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  359. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  360. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  361. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  362. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  363. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  364. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  365. package/dist/database/migration/20260812213948_worktree.js +2 -2
  366. package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
  367. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
  368. package/dist/database/migration.gen.js +48 -48
  369. package/dist/database/migration.js +50 -50
  370. package/dist/database/path.js +3 -3
  371. package/dist/database/schema.gen.js +2 -2
  372. package/dist/database/schema.sql.js +2 -2
  373. package/dist/database/sqlite.bun.js +2 -2
  374. package/dist/database/sqlite.js +2 -2
  375. package/dist/database/sqlite.node.js +2 -2
  376. package/dist/database/sqlite.workerd.js +2 -2
  377. package/dist/database/v1-migration.bun.js +75 -91
  378. package/dist/database/v1-migration.js +2 -2
  379. package/dist/database/v1-migration.noop.js +1 -1
  380. package/dist/effect/app-node-builder.js +333 -328
  381. package/dist/effect/app-node-platform.js +3 -3
  382. package/dist/effect/keyed-mutex.js +2 -2
  383. package/dist/effect/websocket-constructor.js +2 -2
  384. package/dist/environment/driver.js +1 -1
  385. package/dist/environment/environment.js +91 -91
  386. package/dist/environment/exec-defaults.js +3 -3
  387. package/dist/environment/files.js +2 -2
  388. package/dist/environment/index.js +93 -93
  389. package/dist/environment/local.js +3 -3
  390. package/dist/environment/memory.js +3 -3
  391. package/dist/environment/unavailable.js +1 -1
  392. package/dist/event/sql.js +2 -2
  393. package/dist/event-logger.js +68 -68
  394. package/dist/file-mutation.js +92 -92
  395. package/dist/file-retention.js +2 -2
  396. package/dist/file.js +2 -2
  397. package/dist/filesystem/fff.bun.js +2 -2
  398. package/dist/filesystem/fff.js +2 -2
  399. package/dist/filesystem/fff.node.js +2 -2
  400. package/dist/filesystem/fff.workerd.js +2 -2
  401. package/dist/filesystem/ignore.js +1 -1
  402. package/dist/filesystem/location-watcher-policy.js +3 -3
  403. package/dist/filesystem/location-watcher.js +309 -304
  404. package/dist/filesystem/protected.js +2 -2
  405. package/dist/filesystem/search.js +96 -96
  406. package/dist/filesystem/watcher-binding.js +2 -2
  407. package/dist/filesystem/watcher.js +4 -4
  408. package/dist/filesystem.js +99 -98
  409. package/dist/form.js +69 -69
  410. package/dist/formatter/builtins.js +3 -3
  411. package/dist/formatter.js +85 -85
  412. package/dist/generate.js +84 -84
  413. package/dist/git.js +5 -5
  414. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  415. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  416. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  417. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  418. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  419. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  420. package/dist/github-copilot/copilot-provider.js +20 -20
  421. package/dist/github-copilot/models.js +4 -4
  422. package/dist/github-copilot/openai-compatible-error.js +2 -2
  423. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
  424. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  425. package/dist/github-copilot/responses/openai-error.js +2 -2
  426. package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
  427. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  428. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  429. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  430. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  431. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  432. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  433. package/dist/id/id.js +2 -2
  434. package/dist/image/photon-wasm.bun.js +1 -1
  435. package/dist/image/photon-wasm.node.js +1 -1
  436. package/dist/image/photon-wasm.workerd.js +1 -1
  437. package/dist/image/photon.js +99 -98
  438. package/dist/image.js +99 -98
  439. package/dist/instance.js +341 -0
  440. package/dist/instruction-discovery.js +72 -72
  441. package/dist/instructions/builtins.js +86 -86
  442. package/dist/instructions/index.js +2 -2
  443. package/dist/integration/connection.js +2 -2
  444. package/dist/integration.js +75 -75
  445. package/dist/job.js +72 -72
  446. package/dist/kv/sql.js +3 -3
  447. package/dist/kv.js +68 -68
  448. package/dist/location-activity.js +85 -85
  449. package/dist/location-mutation.js +87 -85
  450. package/dist/location-service-map.js +84 -84
  451. package/dist/location-services.js +334 -331
  452. package/dist/location.js +83 -83
  453. package/dist/mcp/client.js +96 -107
  454. package/dist/mcp/index.js +99 -99
  455. package/dist/mcp/instructions.js +127 -129
  456. package/dist/mcp/oauth.js +5 -13
  457. package/dist/mcp/stdio.js +93 -93
  458. package/dist/mime.js +2 -2
  459. package/dist/model-resolver.js +81 -81
  460. package/dist/model.js +3 -3
  461. package/dist/models-dev.js +75 -75
  462. package/dist/oauth/page.js +2 -2
  463. package/dist/permission/saved.js +84 -84
  464. package/dist/permission/sql.js +6 -6
  465. package/dist/permission.js +100 -106
  466. package/dist/persistent-pty/binary.bun.js +6 -6
  467. package/dist/persistent-pty/binary.node.js +1 -1
  468. package/dist/persistent-pty/binary.workerd.js +1 -1
  469. package/dist/persistent-pty/daemon.js +2 -2
  470. package/dist/persistent-pty/index.js +73 -73
  471. package/dist/persistent-pty/pty-binding.js +2 -2
  472. package/dist/persistent-pty.js +74 -73
  473. package/dist/plugin/agent.js +101 -107
  474. package/dist/plugin/command.js +99 -99
  475. package/dist/plugin/hooks.js +3 -3
  476. package/dist/plugin/host.js +174 -171
  477. package/dist/plugin/instance.js +13 -0
  478. package/dist/plugin/internal.js +302 -298
  479. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  480. package/dist/plugin/models-dev.js +76 -76
  481. package/dist/plugin/module.js +3 -3
  482. package/dist/plugin/plan.js +101 -107
  483. package/dist/plugin/promise.js +2 -2
  484. package/dist/plugin/provider/alibaba.js +3 -3
  485. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  486. package/dist/plugin/provider/anthropic.js +3 -3
  487. package/dist/plugin/provider/azure.js +123 -121
  488. package/dist/plugin/provider/cerebras.js +3 -3
  489. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  490. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  491. package/dist/plugin/provider/cohere.js +3 -3
  492. package/dist/plugin/provider/configured.js +122 -120
  493. package/dist/plugin/provider/dynamic.js +3 -2
  494. package/dist/plugin/provider/factory.js +2 -2
  495. package/dist/plugin/provider/gateway.js +3 -3
  496. package/dist/plugin/provider/github-copilot.js +82 -82
  497. package/dist/plugin/provider/gitlab.js +4 -4
  498. package/dist/plugin/provider/google-vertex.js +3 -3
  499. package/dist/plugin/provider/kilo.js +3 -3
  500. package/dist/plugin/provider/llmgateway.js +77 -77
  501. package/dist/plugin/provider/lmstudio.js +120 -114
  502. package/dist/plugin/provider/mistral.js +3 -3
  503. package/dist/plugin/provider/nvidia.js +3 -3
  504. package/dist/plugin/provider/ollama.js +120 -114
  505. package/dist/plugin/provider/openai-compatible.js +2 -2
  506. package/dist/plugin/provider/openai.js +79 -79
  507. package/dist/plugin/provider/opencode.js +93 -93
  508. package/dist/plugin/provider/openrouter.js +4 -4
  509. package/dist/plugin/provider/perplexity.js +3 -3
  510. package/dist/plugin/provider/sap-ai-core.js +4 -3
  511. package/dist/plugin/provider/sdk-factory.js +7 -0
  512. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  513. package/dist/plugin/provider/venice.js +3 -3
  514. package/dist/plugin/provider/vercel.js +3 -3
  515. package/dist/plugin/provider/vllm.js +120 -114
  516. package/dist/plugin/provider/xai.js +78 -78
  517. package/dist/plugin/provider/zenmux.js +3 -3
  518. package/dist/plugin/provider.js +159 -157
  519. package/dist/plugin/runtime.js +162 -159
  520. package/dist/plugin/sdk.js +69 -69
  521. package/dist/plugin/skill.js +133 -137
  522. package/dist/plugin/source-directory.js +2 -2
  523. package/dist/plugin/supervisor-service.js +2 -2
  524. package/dist/plugin/supervisor.js +308 -303
  525. package/dist/plugin/system-prompt.js +2 -2
  526. package/dist/plugin/variant.js +4 -4
  527. package/dist/plugin/vcs/git.js +85 -85
  528. package/dist/plugin/vcs/hg.js +85 -85
  529. package/dist/plugin/warming.js +115 -115
  530. package/dist/plugin/websearch/exa.js +4 -4
  531. package/dist/plugin/websearch/firecrawl.js +5 -5
  532. package/dist/plugin/websearch/index.js +9 -9
  533. package/dist/plugin/websearch/mcp.js +3 -3
  534. package/dist/plugin/websearch/parallel.js +5 -5
  535. package/dist/plugin/websearch/tavily.js +3 -3
  536. package/dist/plugin.js +175 -172
  537. package/dist/project/markers.js +74 -74
  538. package/dist/project/schema.js +3 -3
  539. package/dist/project/sql.js +5 -5
  540. package/dist/project.js +82 -82
  541. package/dist/provider.js +2 -2
  542. package/dist/pty/protocol.js +1 -1
  543. package/dist/pty/pty.bun.js +1 -1
  544. package/dist/pty/pty.node.js +3 -3
  545. package/dist/pty/pty.workerd.js +1 -1
  546. package/dist/pty/schema.js +2 -2
  547. package/dist/pty/ticket.js +70 -70
  548. package/dist/pty.js +89 -89
  549. package/dist/reference/instructions.js +77 -77
  550. package/dist/reference.js +75 -75
  551. package/dist/repository-cache.js +7 -7
  552. package/dist/repository.js +2 -2
  553. package/dist/ripgrep/binary.js +3 -3
  554. package/dist/ripgrep.js +94 -94
  555. package/dist/schema.js +2 -2
  556. package/dist/session/compaction.js +118 -122
  557. package/dist/session/context.js +318 -313
  558. package/dist/session/environment.js +3 -3
  559. package/dist/session/error.js +4 -4
  560. package/dist/session/event.js +2 -2
  561. package/dist/session/execution/restart.js +167 -166
  562. package/dist/session/execution.js +122 -126
  563. package/dist/session/generate-node.js +319 -314
  564. package/dist/session/generate.js +2 -2
  565. package/dist/session/history.js +77 -94
  566. package/dist/session/inbox.js +77 -91
  567. package/dist/session/info.js +4 -92
  568. package/dist/session/instruction-entry.js +73 -90
  569. package/dist/session/instruction-state.js +10 -91
  570. package/dist/session/instructions.js +94 -102
  571. package/dist/session/message-updater.js +4 -4
  572. package/dist/session/message.js +2 -2
  573. package/dist/session/model-request.js +139 -139
  574. package/dist/session/model-transport.js +5 -5
  575. package/dist/session/projector.js +83 -101
  576. package/dist/session/revert.js +90 -94
  577. package/dist/session/run-coordinator.js +2 -2
  578. package/dist/session/runner/index.js +84 -84
  579. package/dist/session/runner/llm.js +324 -320
  580. package/dist/session/runner/max-steps.js +2 -2
  581. package/dist/session/runner/model.js +83 -83
  582. package/dist/session/runner/publish-llm-event.js +4 -4
  583. package/dist/session/runner/retry.js +72 -72
  584. package/dist/session/runner/step.js +151 -149
  585. package/dist/session/runner/to-llm-message.js +2 -2
  586. package/dist/session/schema.js +2 -2
  587. package/dist/session/sql.js +6 -87
  588. package/dist/session/stats.js +78 -94
  589. package/dist/session/store.js +79 -101
  590. package/dist/session/system-prompt.js +2 -2
  591. package/dist/session/title.js +319 -314
  592. package/dist/session/to-session-error.js +113 -117
  593. package/dist/session/transfer.js +164 -162
  594. package/dist/session/usage.js +2 -2
  595. package/dist/session.js +157 -157
  596. package/dist/shell/parse.js +7 -6
  597. package/dist/shell/parser-wasm.bun.js +1 -1
  598. package/dist/shell/parser-wasm.node.js +1 -1
  599. package/dist/shell/parser-wasm.workerd.js +1 -1
  600. package/dist/shell/scan.js +1 -1
  601. package/dist/shell/select.js +4 -4
  602. package/dist/shell.js +99 -99
  603. package/dist/skill/discovery.js +3 -3
  604. package/dist/skill/instructions.js +102 -108
  605. package/dist/skill.js +101 -107
  606. package/dist/snapshot.js +85 -85
  607. package/dist/state.js +2 -2
  608. package/dist/tool/html-markdown.js +2 -2
  609. package/dist/tool/http-body.js +2 -2
  610. package/dist/tool/mcp.js +126 -128
  611. package/dist/tool/plugin/edit.js +113 -116
  612. package/dist/tool/plugin/file-diff.js +2 -2
  613. package/dist/tool/plugin/glob.js +116 -118
  614. package/dist/tool/plugin/grep.js +116 -118
  615. package/dist/tool/plugin/patch.js +113 -116
  616. package/dist/tool/plugin/question.js +102 -108
  617. package/dist/tool/plugin/read.js +119 -121
  618. package/dist/tool/plugin/shell.js +190 -187
  619. package/dist/tool/plugin/skill.js +102 -108
  620. package/dist/tool/plugin/subagent.js +187 -184
  621. package/dist/tool/plugin/webfetch.js +103 -109
  622. package/dist/tool/plugin/websearch.js +105 -111
  623. package/dist/tool/plugin/write.js +113 -116
  624. package/dist/tool/read-filesystem.js +101 -98
  625. package/dist/tool/runtime.js +7 -3
  626. package/dist/tool-output.js +5 -5
  627. package/dist/tool.js +119 -121
  628. package/dist/types/config/file.d.ts +17 -0
  629. package/dist/types/config/plugin/mcp.d.ts +4 -4
  630. package/dist/types/config.d.ts +1 -9
  631. package/dist/types/filesystem/search.d.ts +1 -1
  632. package/dist/types/github-copilot/responses/openai-error.d.ts +1 -1
  633. package/dist/types/instance.d.ts +58 -0
  634. package/dist/types/instruction-discovery.d.ts +2 -0
  635. package/dist/types/location-mutation.d.ts +9 -5
  636. package/dist/types/location-service-map.d.ts +2 -2
  637. package/dist/types/location-services.d.ts +3 -48
  638. package/dist/types/location.d.ts +3 -1
  639. package/dist/types/mcp/client.d.ts +20 -20
  640. package/dist/types/mcp/index.d.ts +1 -1
  641. package/dist/types/mcp/instructions.d.ts +2 -2
  642. package/dist/types/mcp/oauth.d.ts +1 -1
  643. package/dist/types/mcp/stdio.d.ts +1 -1
  644. package/dist/types/model.d.ts +14 -2
  645. package/dist/types/persistent-pty/daemon.d.ts +108 -0
  646. package/dist/types/persistent-pty/index.d.ts +2 -1
  647. package/dist/types/plugin/command.d.ts +2 -2
  648. package/dist/types/plugin/host.d.ts +10 -6
  649. package/dist/types/plugin/instance.d.ts +27 -0
  650. package/dist/types/plugin/internal.d.ts +4 -4
  651. package/dist/types/plugin/mcp-codemode-exclusion.d.ts +1 -1
  652. package/dist/types/plugin/provider/azure.d.ts +3 -1
  653. package/dist/types/plugin/provider/configured.d.ts +5 -0
  654. package/dist/types/plugin/provider/sdk-factory.d.ts +3 -0
  655. package/dist/types/plugin/runtime.d.ts +7 -5
  656. package/dist/types/plugin/supervisor.d.ts +2 -1
  657. package/dist/types/project/markers.d.ts +3 -1
  658. package/dist/types/project.d.ts +3 -1
  659. package/dist/types/pty/pty.node.d.ts +2 -1
  660. package/dist/types/schema.d.ts +1 -1
  661. package/dist/types/session/info.d.ts +1 -1
  662. package/dist/types/session/message-updater.d.ts +11 -11
  663. package/dist/types/session/runner/publish-llm-event.d.ts +1 -183
  664. package/dist/types/session/runner/step.d.ts +124 -1
  665. package/dist/types/session/schema.d.ts +1 -0
  666. package/dist/types/session/sql.d.ts +3 -1
  667. package/dist/types/session/transfer.d.ts +1 -0
  668. package/dist/types/session/usage.d.ts +1 -1
  669. package/dist/types/session.d.ts +3 -2
  670. package/dist/types/tool/mcp.d.ts +2 -2
  671. package/dist/types/tool/plugin/edit.d.ts +2 -2
  672. package/dist/types/tool/plugin/glob.d.ts +2 -2
  673. package/dist/types/tool/plugin/grep.d.ts +2 -2
  674. package/dist/types/tool/plugin/patch.d.ts +2 -2
  675. package/dist/types/tool/plugin/question.d.ts +2 -2
  676. package/dist/types/tool/plugin/read.d.ts +2 -2
  677. package/dist/types/tool/plugin/shell.d.ts +2 -2
  678. package/dist/types/tool/plugin/skill.d.ts +2 -2
  679. package/dist/types/tool/plugin/subagent.d.ts +2 -2
  680. package/dist/types/tool/plugin/webfetch.d.ts +2 -2
  681. package/dist/types/tool/plugin/websearch.d.ts +2 -2
  682. package/dist/types/tool/plugin/write.d.ts +2 -2
  683. package/dist/types/tool/read-filesystem.d.ts +1 -0
  684. package/dist/types/tool/runtime.d.ts +2 -0
  685. package/dist/types/v1/config/migrate.d.ts +2 -2
  686. package/dist/types/workspace/driver.d.ts +2 -2
  687. package/dist/types/workspace.d.ts +2 -2
  688. package/dist/util/array.js +1 -1
  689. package/dist/util/error.js +2 -2
  690. package/dist/util/identifier.js +1 -1
  691. package/dist/util/iife.js +2 -2
  692. package/dist/util/lazy.js +2 -2
  693. package/dist/util/process-lock-ffi.bun.js +1 -1
  694. package/dist/util/process-lock-ffi.node.js +1 -1
  695. package/dist/util/process-lock-ffi.workerd.js +1 -1
  696. package/dist/util/process-lock.js +1 -1
  697. package/dist/util/slug.js +2 -2
  698. package/dist/util/token.js +2 -2
  699. package/dist/util/which.js +2 -2
  700. package/dist/util/wildcard.js +2 -2
  701. package/dist/v1/config/agent.js +4 -4
  702. package/dist/v1/config/attachment.js +3 -3
  703. package/dist/v1/config/command.js +2 -2
  704. package/dist/v1/config/config.js +15 -15
  705. package/dist/v1/config/error.js +3 -3
  706. package/dist/v1/config/formatter.js +2 -2
  707. package/dist/v1/config/layout.js +2 -2
  708. package/dist/v1/config/lsp.js +2 -2
  709. package/dist/v1/config/mcp.js +3 -3
  710. package/dist/v1/config/migrate.js +19 -19
  711. package/dist/v1/config/permission.js +2 -2
  712. package/dist/v1/config/plugin.js +2 -2
  713. package/dist/v1/config/provider-options.js +2 -2
  714. package/dist/v1/config/provider.js +3 -3
  715. package/dist/v1/config/server.js +3 -3
  716. package/dist/v1/config/skills.js +2 -2
  717. package/dist/v1/permission.js +43 -7
  718. package/dist/vcs/patch.js +2 -2
  719. package/dist/vcs.js +86 -86
  720. package/dist/websearch.js +73 -73
  721. package/dist/wellknown/plugin.js +73 -73
  722. package/dist/wellknown.js +72 -72
  723. package/dist/workspace/driver.js +2 -2
  724. package/dist/workspace/sql.js +2 -2
  725. package/dist/workspace.js +69 -69
  726. package/dist/worktree/directory.js +3 -3
  727. package/dist/worktree/git.js +7 -7
  728. package/dist/worktree/sql.js +6 -6
  729. package/dist/worktree.js +87 -87
  730. package/package.json +11 -11
  731. package/dist/chunks/tool-3q6gbwmd.js +0 -26
  732. package/dist/chunks/tool-8tv6syt7.js +0 -46
  733. package/dist/chunks/tool-c35fsjgg.js +0 -119
  734. package/dist/chunks/tool-nt13qee2.js +0 -231
  735. package/dist/chunks/tool-s8xxtbar.js +0 -300
  736. package/dist/chunks/tool-wd268jeg.js +0 -83
  737. package/dist/session/prompt-cache-diagnostics.js +0 -11
  738. package/dist/types/session/prompt-cache-diagnostics.d.ts +0 -29
  739. /package/dist/chunks/{tool-0cgt0xh2.js → project-0cgt0xh2.js} +0 -0
  740. /package/dist/chunks/{tool-0f48qthw.js → project-0f48qthw.js} +0 -0
  741. /package/dist/chunks/{tool-0zz82cjq.js → project-0zz82cjq.js} +0 -0
  742. /package/dist/chunks/{tool-1fb7bmpf.js → project-1fb7bmpf.js} +0 -0
  743. /package/dist/chunks/{tool-1wcz8fvj.js → project-1wcz8fvj.js} +0 -0
  744. /package/dist/chunks/{tool-29n7vfk2.js → project-29n7vfk2.js} +0 -0
  745. /package/dist/chunks/{tool-2qdx6zz3.js → project-2qdx6zz3.js} +0 -0
  746. /package/dist/chunks/{tool-2xb0r1c6.js → project-2xb0r1c6.js} +0 -0
  747. /package/dist/chunks/{tool-39ktntah.js → project-39ktntah.js} +0 -0
  748. /package/dist/chunks/{tool-3g3rpp2x.js → project-3g3rpp2x.js} +0 -0
  749. /package/dist/chunks/{tool-3w3ybtfd.js → project-3w3ybtfd.js} +0 -0
  750. /package/dist/chunks/{tool-47ty4mvs.js → project-47ty4mvs.js} +0 -0
  751. /package/dist/chunks/{tool-4b2tz2m9.js → project-4b2tz2m9.js} +0 -0
  752. /package/dist/chunks/{tool-5a5ch9ts.js → project-5a5ch9ts.js} +0 -0
  753. /package/dist/chunks/{tool-5va1yh78.js → project-5va1yh78.js} +0 -0
  754. /package/dist/chunks/{tool-61ek4hj9.js → project-61ek4hj9.js} +0 -0
  755. /package/dist/chunks/{tool-69qrqpw0.js → project-69qrqpw0.js} +0 -0
  756. /package/dist/chunks/{tool-6zqxzw0a.js → project-6zqxzw0a.js} +0 -0
  757. /package/dist/chunks/{tool-7n9qwqk4.js → project-7n9qwqk4.js} +0 -0
  758. /package/dist/chunks/{tool-8nn8kqcn.js → project-8nn8kqcn.js} +0 -0
  759. /package/dist/chunks/{tool-8rpfd2h6.js → project-8rpfd2h6.js} +0 -0
  760. /package/dist/chunks/{tool-8sj3ajy5.js → project-8sj3ajy5.js} +0 -0
  761. /package/dist/chunks/{tool-8w9tzfz1.js → project-8w9tzfz1.js} +0 -0
  762. /package/dist/chunks/{tool-906y0b6d.js → project-906y0b6d.js} +0 -0
  763. /package/dist/chunks/{tool-9dct5xhx.js → project-9dct5xhx.js} +0 -0
  764. /package/dist/chunks/{tool-9sdtsapf.js → project-9sdtsapf.js} +0 -0
  765. /package/dist/chunks/{tool-a02svayp.js → project-a02svayp.js} +0 -0
  766. /package/dist/chunks/{tool-a83yvq99.js → project-a83yvq99.js} +0 -0
  767. /package/dist/chunks/{tool-a9vdgkgd.js → project-a9vdgkgd.js} +0 -0
  768. /package/dist/chunks/{tool-ayevdmef.js → project-ayevdmef.js} +0 -0
  769. /package/dist/chunks/{tool-b02txbh8.js → project-b02txbh8.js} +0 -0
  770. /package/dist/chunks/{tool-bbqs2y60.js → project-bbqs2y60.js} +0 -0
  771. /package/dist/chunks/{tool-bjwj8hwv.js → project-bjwj8hwv.js} +0 -0
  772. /package/dist/chunks/{tool-brsh5f65.js → project-brsh5f65.js} +0 -0
  773. /package/dist/chunks/{tool-bxdhjb3y.js → project-bxdhjb3y.js} +0 -0
  774. /package/dist/chunks/{tool-c77ad0vh.js → project-c77ad0vh.js} +0 -0
  775. /package/dist/chunks/{tool-cm67rqy2.js → project-cm67rqy2.js} +0 -0
  776. /package/dist/chunks/{tool-df3v2q6j.js → project-df3v2q6j.js} +0 -0
  777. /package/dist/chunks/{tool-dhcq6c44.js → project-dhcq6c44.js} +0 -0
  778. /package/dist/chunks/{tool-dht5baf0.js → project-dht5baf0.js} +0 -0
  779. /package/dist/chunks/{tool-dkmkay92.js → project-dkmkay92.js} +0 -0
  780. /package/dist/chunks/{tool-ehj9csmv.js → project-ehj9csmv.js} +0 -0
  781. /package/dist/chunks/{tool-em6xpscd.js → project-em6xpscd.js} +0 -0
  782. /package/dist/chunks/{tool-emmqknsm.js → project-emmqknsm.js} +0 -0
  783. /package/dist/chunks/{tool-ezs3tagn.js → project-ezs3tagn.js} +0 -0
  784. /package/dist/chunks/{tool-f14r7hfz.js → project-f14r7hfz.js} +0 -0
  785. /package/dist/chunks/{tool-f4cp4g4a.js → project-f4cp4g4a.js} +0 -0
  786. /package/dist/chunks/{tool-faypg4r1.js → project-faypg4r1.js} +0 -0
  787. /package/dist/chunks/{tool-ttxf0gsy.js → project-fg7fz4q3.js} +0 -0
  788. /package/dist/chunks/{tool-fgbfdq62.js → project-fgbfdq62.js} +0 -0
  789. /package/dist/chunks/{tool-gd5xeqc2.js → project-gd5xeqc2.js} +0 -0
  790. /package/dist/chunks/{tool-ghm4673n.js → project-ghm4673n.js} +0 -0
  791. /package/dist/chunks/{tool-ghwjy7my.js → project-ghwjy7my.js} +0 -0
  792. /package/dist/chunks/{tool-gy500k2r.js → project-gy500k2r.js} +0 -0
  793. /package/dist/chunks/{tool-hzeg9cfr.js → project-hzeg9cfr.js} +0 -0
  794. /package/dist/chunks/{tool-j07kk359.js → project-j07kk359.js} +0 -0
  795. /package/dist/chunks/{tool-jqms80b0.js → project-jqms80b0.js} +0 -0
  796. /package/dist/chunks/{tool-jve7t217.js → project-jve7t217.js} +0 -0
  797. /package/dist/chunks/{tool-k3e42drn.js → project-k3e42drn.js} +0 -0
  798. /package/dist/chunks/{tool-k8b45nas.js → project-k8b45nas.js} +0 -0
  799. /package/dist/chunks/{tool-kpdbz7gn.js → project-kpdbz7gn.js} +0 -0
  800. /package/dist/chunks/{tool-kxy11nzk.js → project-kxy11nzk.js} +0 -0
  801. /package/dist/chunks/{tool-kyyqvx4s.js → project-kyyqvx4s.js} +0 -0
  802. /package/dist/chunks/{tool-m8cbvarh.js → project-m8cbvarh.js} +0 -0
  803. /package/dist/chunks/{tool-ma60vzgv.js → project-ma60vzgv.js} +0 -0
  804. /package/dist/chunks/{tool-n3m50c2t.js → project-n3m50c2t.js} +0 -0
  805. /package/dist/chunks/{tool-nkm1m8dz.js → project-nkm1m8dz.js} +0 -0
  806. /package/dist/chunks/{tool-nsc0c3zb.js → project-nsc0c3zb.js} +0 -0
  807. /package/dist/chunks/{tool-qaarhjrp.js → project-qaarhjrp.js} +0 -0
  808. /package/dist/chunks/{tool-qc167nrn.js → project-qc167nrn.js} +0 -0
  809. /package/dist/chunks/{tool-qp95y4jb.js → project-qp95y4jb.js} +0 -0
  810. /package/dist/chunks/{tool-r8f4w671.js → project-r8f4w671.js} +0 -0
  811. /package/dist/chunks/{tool-rdfev9jy.js → project-rdfev9jy.js} +0 -0
  812. /package/dist/chunks/{tool-rvfvac9x.js → project-rvfvac9x.js} +0 -0
  813. /package/dist/chunks/{tool-s7whb9gt.js → project-s7whb9gt.js} +0 -0
  814. /package/dist/chunks/{tool-se76j685.js → project-se76j685.js} +0 -0
  815. /package/dist/chunks/{tool-sem2g21k.js → project-sem2g21k.js} +0 -0
  816. /package/dist/chunks/{tool-sp575ygv.js → project-sp575ygv.js} +0 -0
  817. /package/dist/chunks/{tool-tmb1f636.js → project-tmb1f636.js} +0 -0
  818. /package/dist/chunks/{tool-tvmhrvfj.js → project-tvmhrvfj.js} +0 -0
  819. /package/dist/chunks/{tool-v2adqbbe.js → project-v2adqbbe.js} +0 -0
  820. /package/dist/chunks/{tool-wj4sxzqa.js → project-wj4sxzqa.js} +0 -0
  821. /package/dist/chunks/{tool-wwntjmk1.js → project-wwntjmk1.js} +0 -0
  822. /package/dist/chunks/{tool-wyqjaaa5.js → project-wyqjaaa5.js} +0 -0
  823. /package/dist/chunks/{tool-x4q807cx.js → project-x4q807cx.js} +0 -0
  824. /package/dist/chunks/{tool-yrqrg4vp.js → project-yrqrg4vp.js} +0 -0
  825. /package/dist/chunks/{tool-z47nswr2.js → project-z47nswr2.js} +0 -0
  826. /package/dist/chunks/{tool-zsf8rs93.js → project-zsf8rs93.js} +0 -0
@@ -1 +1,3 @@
1
- export declare const AzurePlugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | import("../../catalog.js").Service>;
1
+ import { AppProcess } from "@opencode-ai/util/process";
2
+ import { Bus } from "../../bus.js";
3
+ export declare const AzurePlugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | AppProcess.Service | Bus.Service | import("../../catalog.js").Service>;
@@ -1,5 +1,10 @@
1
1
  import { Effect } from "effect";
2
+ import type { Entry } from "@opencode-ai/schema/config";
2
3
  import { Catalog } from "../../catalog.js";
4
+ import { Provider } from "../../provider.js";
3
5
  export declare const configuredSettings: (id: string & import("effect/Brand").Brand<"Provider.ID">) => Effect.Effect<{
4
6
  readonly [x: string]: any;
5
7
  } | undefined, never, Catalog.Service>;
8
+ export declare function foldSettings(entries: readonly Entry[], id: string, initial: Provider.Settings | undefined): {
9
+ readonly [x: string]: any;
10
+ } | undefined;
@@ -0,0 +1,3 @@
1
+ import { Effect } from "effect";
2
+ import { Npm } from "@opencode-ai/util/npm";
3
+ export declare const loadSDKFactory: (npm: Npm.Interface, packageName: string) => Effect.Effect<unknown, never, never>;
@@ -4,11 +4,13 @@ import { Agent } from "../agent.js";
4
4
  import { Job } from "../job.js";
5
5
  import { Location } from "../location.js";
6
6
  import { LocationServiceMap } from "../location-service-map.js";
7
- import { MCP } from "../mcp/index.js";
7
+ import { Mcp } from "../mcp/index.js";
8
+ import { PersistentPty } from "../persistent-pty.js";
8
9
  import { Session } from "../session.js";
9
10
  export interface Interface {
10
11
  readonly session: Pick<Session.Interface, "get" | "create" | "messages" | "prompt" | "generate" | "command" | "rename" | "move" | "resume" | "switchAgent" | "switchModel" | "interrupt" | "synthetic" | "wait" | "context">;
11
12
  readonly job: Pick<Job.Interface, "start" | "wait" | "block" | "background" | "cancel" | "completeBackground">;
13
+ readonly persistentPty: Pick<PersistentPty.Interface, "read">;
12
14
  readonly location: {
13
15
  readonly agent: {
14
16
  readonly list: (ref: Location.Ref) => Effect.Effect<{
@@ -19,7 +21,7 @@ export interface Interface {
19
21
  readonly mcp: {
20
22
  readonly list: (ref: Location.Ref) => Effect.Effect<{
21
23
  readonly location: Location.Info;
22
- readonly data: MCP.ServerInfo[];
24
+ readonly data: Mcp.ServerInfo[];
23
25
  }, unknown>;
24
26
  };
25
27
  };
@@ -32,8 +34,8 @@ export interface Cell {
32
34
  }
33
35
  export declare const makeCell: () => Cell;
34
36
  export declare const layerWithCell: (cell: Cell) => Layer.Layer<Service, never, never>;
35
- export declare const providerLayerWithCell: (cell: Cell) => Layer.Layer<never, never, Job.Service | LocationServiceMap.Service | Session.Service>;
37
+ export declare const providerLayerWithCell: (cell: Cell) => Layer.Layer<never, never, Job.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service>;
36
38
  export declare const layer: Layer.Layer<Service, never, never>;
37
39
  export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
38
- export declare const providerNodeWithCell: (cell: Cell) => import("@opencode-ai/util/effect/layer-node").Node<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
39
- export declare const providerNode: import("@opencode-ai/util/effect/layer-node").Node<never, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
40
+ export declare const providerNodeWithCell: (cell: Cell) => import("@opencode-ai/util/effect/layer-node").Node<never, PersistentPty.UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
41
+ export declare const providerNode: import("@opencode-ai/util/effect/layer-node").Node<never, PersistentPty.UnavailableError, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
@@ -5,7 +5,8 @@ import { ConfigPluginSource } from "../config/plugin/source.js";
5
5
  import { Bus } from "../bus.js";
6
6
  import { Npm } from "@opencode-ai/util/npm";
7
7
  import { Plugin } from "../plugin.js";
8
+ import { InstancePlugins } from "./instance.js";
8
9
  import { SdkPlugins } from "./sdk.js";
9
10
  import { Service } from "./supervisor-service.js";
10
- export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Npm.Service | import("../credential.js").Service | Bus.Service | import("../location.js").Service | import("../filesystem/watcher.js").Service | import("../kv.js").Service | import("../wellknown.js").Service | import("../config.js").Service | ConfigPluginSource.Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../command.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../file-mutation.js").Service | import("../formatter.js").Service | import("../ripgrep.js").Service | import("../filesystem.js").Service | import("../image.js").Service | import("../permission.js").Service | import("../agent.js").Service | import("../location-mutation.js").Service | SdkPlugins.Service | import("../session/instructions.js").Service | import("../tool/read-filesystem.js").Service | import("../shell/select.js").Service | import("../instruction-discovery.js").Service | import("../tool.js").Service | import("../reference.js").Service | import("../skill.js").Service | Plugin.Service | import("../models-dev.js").Service | import("./runtime.js").Service | import("../shell.js").Service | import("../websearch.js").Service | import("../filesystem/location-watcher-policy.js").Service | import("../session/compaction.js").Service | import("../snapshot.js").Service | import("../skill/discovery.js").Service | import("../tool-output.js").Service>;
11
+ export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Npm.Service | import("../credential.js").Service | Bus.Service | import("../location.js").Service | import("../filesystem/watcher.js").Service | import("../kv.js").Service | import("../wellknown.js").Service | import("../config.js").Service | ConfigPluginSource.Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../command.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../file-mutation.js").Service | import("../formatter.js").Service | import("../ripgrep.js").Service | import("../filesystem.js").Service | import("../image.js").Service | InstancePlugins.Service | import("../permission.js").Service | import("../agent.js").Service | import("../location-mutation.js").Service | SdkPlugins.Service | import("../session/instructions.js").Service | import("../tool/read-filesystem.js").Service | import("../shell/select.js").Service | import("../instruction-discovery.js").Service | import("../tool.js").Service | import("../reference.js").Service | import("../skill.js").Service | Plugin.Service | import("../models-dev.js").Service | import("./runtime.js").Service | import("../shell.js").Service | import("../websearch.js").Service | import("../filesystem/location-watcher-policy.js").Service | import("../session/compaction.js").Service | import("../snapshot.js").Service | import("../skill/discovery.js").Service | import("../tool-output.js").Service>;
11
12
  export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -7,7 +7,9 @@ export interface Match {
7
7
  readonly marker: AbsolutePath;
8
8
  }
9
9
  export interface Interface {
10
- readonly discover: (directory: AbsolutePath) => Effect.Effect<Match | undefined>;
10
+ readonly discover: (directory: AbsolutePath, options?: {
11
+ readonly discovery?: boolean;
12
+ }) => Effect.Effect<Match | undefined>;
11
13
  readonly targets: () => readonly string[];
12
14
  }
13
15
  declare const Service_base: Context.ServiceClass<Service, "@opencode/ProjectMarkers", Interface>;
@@ -90,7 +90,9 @@ export declare const root: (fs: FSUtil.Interface, input: string & import("effect
90
90
  export interface Interface {
91
91
  readonly list: () => Effect.Effect<ReadonlyArray<Info>>;
92
92
  readonly update: (input: UpdateInput) => Effect.Effect<Info, NotFoundError>;
93
- readonly resolve: (input: AbsolutePath) => Effect.Effect<Resolved>;
93
+ readonly resolve: (input: AbsolutePath, options?: {
94
+ readonly discovery?: boolean;
95
+ }) => Effect.Effect<Resolved>;
94
96
  }
95
97
  declare const Service_base: Context.ServiceClass<Service, "@opencode/Project", Interface>;
96
98
  export declare class Service extends Service_base {
@@ -1,3 +1,4 @@
1
1
  import type { Opts, Proc } from "./pty.js";
2
2
  export type { Disp, Exit, Opts, Proc } from "./pty.js";
3
- export declare function spawn(file: string, args: string[], opts: Opts): Proc;
3
+ declare function spawnPty(file: string, args: string[], opts: Opts): Proc;
4
+ export { spawnPty as spawn };
@@ -25,7 +25,7 @@ export type DeepMutable<T> = T extends string | number | boolean | bigint | symb
25
25
  } : T;
26
26
  /**
27
27
  * Nominal wrapper for scalar types. The class itself is a valid schema —
28
- * pass it directly to `Schema.decode`, `Schema.decodeEffect`, etc.
28
+ * pass it directly to `Schema.decodeUnknownSync`, `Schema.decodeEffect`, etc.
29
29
  *
30
30
  * The runtime value remains an unwrapped primitive. `Schema.brand` supplies
31
31
  * the primitive schema behavior and constructor validation, while the class
@@ -1,3 +1,3 @@
1
1
  import { SessionSchema } from "./schema.js";
2
- import { SessionTable } from "./sql.js";
2
+ import type { SessionTable } from "./sql.js";
3
3
  export declare function fromRow(row: typeof SessionTable.$inferSelect): SessionSchema.Info;
@@ -2,17 +2,17 @@ import { Effect } from "effect";
2
2
  import { SessionEvent } from "./event.js";
3
3
  import { SessionMessage } from "./message.js";
4
4
  export interface Adapter {
5
- readonly getAgent: () => Effect.Effect<SessionMessage.AgentSelected["agent"] | undefined, never, never>;
6
- readonly getModel: () => Effect.Effect<SessionMessage.ModelSelected["model"] | undefined, never, never>;
7
- readonly getLocation: () => Effect.Effect<SessionMessage.LocationSwitched["previous"], never, never>;
8
- readonly getCurrentAssistant: () => Effect.Effect<SessionMessage.Assistant | undefined, never, never>;
9
- readonly getAssistant: (messageID: SessionMessage.ID) => Effect.Effect<SessionMessage.Assistant | undefined, never, never>;
10
- readonly getShell: (shellID: SessionMessage.Shell["shellID"]) => Effect.Effect<SessionMessage.Shell | undefined, never, never>;
11
- readonly getCompaction: () => Effect.Effect<SessionMessage.Compaction | undefined, never, never>;
12
- readonly updateAssistant: (assistant: SessionMessage.Assistant) => Effect.Effect<void, never, never>;
13
- readonly updateShell: (shell: SessionMessage.Shell) => Effect.Effect<void, never, never>;
14
- readonly updateCompaction: (compaction: SessionMessage.Compaction) => Effect.Effect<void, never, never>;
15
- readonly appendMessage: (message: SessionMessage.Info) => Effect.Effect<void, never, never>;
5
+ readonly getAgent: () => Effect.Effect<SessionMessage.AgentSelected["agent"] | undefined>;
6
+ readonly getModel: () => Effect.Effect<SessionMessage.ModelSelected["model"] | undefined>;
7
+ readonly getLocation: () => Effect.Effect<SessionMessage.LocationSwitched["previous"]>;
8
+ readonly getCurrentAssistant: () => Effect.Effect<SessionMessage.Assistant | undefined>;
9
+ readonly getAssistant: (messageID: SessionMessage.ID) => Effect.Effect<SessionMessage.Assistant | undefined>;
10
+ readonly getShell: (shellID: SessionMessage.Shell["shellID"]) => Effect.Effect<SessionMessage.Shell | undefined>;
11
+ readonly getCompaction: () => Effect.Effect<SessionMessage.Compaction | undefined>;
12
+ readonly updateAssistant: (assistant: SessionMessage.Assistant) => Effect.Effect<void>;
13
+ readonly updateShell: (shell: SessionMessage.Shell) => Effect.Effect<void>;
14
+ readonly updateCompaction: (compaction: SessionMessage.Compaction) => Effect.Effect<void>;
15
+ readonly appendMessage: (message: SessionMessage.Info) => Effect.Effect<void>;
16
16
  }
17
17
  export declare function update(adapter: Adapter, event: SessionEvent.DurableEvent): Effect.Effect<void, never, never>;
18
18
  export * as SessionMessageUpdater from "./message-updater.js";
@@ -49,189 +49,7 @@ export interface StepRecord {
49
49
  * and consumers fold by id/ordinal rather than global position.
50
50
  */
51
51
  export declare const createLLMEventPublisher: (bus: Pick<Bus.Interface, "publish">, input: Input) => {
52
- publish: (event: {
53
- readonly type: "step-start";
54
- readonly index: number;
55
- } | {
56
- readonly id: string;
57
- readonly type: "text-start";
58
- readonly providerMetadata?: {
59
- readonly [x: string]: {
60
- readonly [x: string]: unknown;
61
- };
62
- } | undefined;
63
- } | {
64
- readonly id: string;
65
- readonly type: "text-delta";
66
- readonly text: string;
67
- readonly providerMetadata?: {
68
- readonly [x: string]: {
69
- readonly [x: string]: unknown;
70
- };
71
- } | undefined;
72
- } | {
73
- readonly id: string;
74
- readonly type: "text-end";
75
- readonly providerMetadata?: {
76
- readonly [x: string]: {
77
- readonly [x: string]: unknown;
78
- };
79
- } | undefined;
80
- } | {
81
- readonly id: string;
82
- readonly type: "reasoning-start";
83
- readonly providerMetadata?: {
84
- readonly [x: string]: {
85
- readonly [x: string]: unknown;
86
- };
87
- } | undefined;
88
- } | {
89
- readonly id: string;
90
- readonly type: "reasoning-delta";
91
- readonly text: string;
92
- readonly providerMetadata?: {
93
- readonly [x: string]: {
94
- readonly [x: string]: unknown;
95
- };
96
- } | undefined;
97
- } | {
98
- readonly id: string;
99
- readonly type: "reasoning-end";
100
- readonly providerMetadata?: {
101
- readonly [x: string]: {
102
- readonly [x: string]: unknown;
103
- };
104
- } | undefined;
105
- } | {
106
- readonly name: string;
107
- readonly id: string;
108
- readonly type: "tool-input-start";
109
- readonly providerMetadata?: {
110
- readonly [x: string]: {
111
- readonly [x: string]: unknown;
112
- };
113
- } | undefined;
114
- readonly providerExecuted?: boolean | undefined;
115
- } | {
116
- readonly name: string;
117
- readonly id: string;
118
- readonly type: "tool-input-delta";
119
- readonly text: string;
120
- readonly input?: unknown;
121
- } | {
122
- readonly name: string;
123
- readonly id: string;
124
- readonly type: "tool-input-end";
125
- readonly providerMetadata?: {
126
- readonly [x: string]: {
127
- readonly [x: string]: unknown;
128
- };
129
- } | undefined;
130
- } | {
131
- readonly type: "tool-input-error";
132
- readonly id: string;
133
- readonly name: string;
134
- readonly raw: string;
135
- } | {
136
- readonly name: string;
137
- readonly id: string;
138
- readonly type: "tool-call";
139
- readonly input: unknown;
140
- readonly providerMetadata?: {
141
- readonly [x: string]: {
142
- readonly [x: string]: unknown;
143
- };
144
- } | undefined;
145
- readonly providerExecuted?: boolean | undefined;
146
- } | {
147
- readonly name: string;
148
- readonly id: string;
149
- readonly type: "tool-result";
150
- readonly result: {
151
- readonly type: "json";
152
- readonly value: unknown;
153
- } | {
154
- readonly type: "text";
155
- readonly value: unknown;
156
- } | {
157
- readonly type: "error";
158
- readonly value: unknown;
159
- } | {
160
- readonly type: "content";
161
- readonly value: readonly ({
162
- readonly type: "text";
163
- readonly text: string;
164
- } | {
165
- readonly type: "file";
166
- readonly uri: string;
167
- readonly mime: string;
168
- readonly name?: string | undefined;
169
- })[];
170
- };
171
- readonly output?: {
172
- readonly structured: unknown;
173
- readonly content: readonly ({
174
- readonly type: "text";
175
- readonly text: string;
176
- } | {
177
- readonly type: "file";
178
- readonly uri: string;
179
- readonly mime: string;
180
- readonly name?: string | undefined;
181
- })[];
182
- } | undefined;
183
- readonly providerMetadata?: {
184
- readonly [x: string]: {
185
- readonly [x: string]: unknown;
186
- };
187
- } | undefined;
188
- readonly providerExecuted?: boolean | undefined;
189
- } | {
190
- readonly name: string;
191
- readonly id: string;
192
- readonly type: "tool-error";
193
- readonly message: string;
194
- readonly error?: unknown;
195
- readonly providerMetadata?: {
196
- readonly [x: string]: {
197
- readonly [x: string]: unknown;
198
- };
199
- } | undefined;
200
- } | {
201
- readonly type: "step-finish";
202
- readonly reason: {
203
- readonly normalized: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
204
- readonly raw?: string | undefined;
205
- };
206
- readonly index: number;
207
- readonly providerMetadata?: {
208
- readonly [x: string]: {
209
- readonly [x: string]: unknown;
210
- };
211
- } | undefined;
212
- readonly usage?: import("@opencode-ai/ai").Usage | undefined;
213
- } | {
214
- readonly type: "finish";
215
- readonly reason: {
216
- readonly normalized: "length" | "error" | "stop" | "tool-calls" | "content-filter" | "unknown";
217
- readonly raw?: string | undefined;
218
- };
219
- readonly providerMetadata?: {
220
- readonly [x: string]: {
221
- readonly [x: string]: unknown;
222
- };
223
- } | undefined;
224
- readonly usage?: import("@opencode-ai/ai").Usage | undefined;
225
- } | {
226
- readonly type: "provider-error";
227
- readonly message: string;
228
- readonly providerMetadata?: {
229
- readonly [x: string]: {
230
- readonly [x: string]: unknown;
231
- };
232
- } | undefined;
233
- readonly classification?: "context-overflow" | "payload-too-large" | undefined;
234
- }) => Effect.Effect<undefined, never, never>;
52
+ publish: (event: LLMEvent) => Effect.Effect<undefined, never, never>;
235
53
  progress: (id: string, update: Readonly<Record<string, any>>) => Effect.Effect<undefined, never, never>;
236
54
  toolExecution: (id: string, name: string, result: Tool.Result<Tool.ValueSchema<any> | undefined>) => Effect.Effect<undefined, never, never>;
237
55
  flush: () => Effect.Effect<void, never, never>;
@@ -26,13 +26,136 @@ export type Outcome = Data.TaggedEnum<{
26
26
  RecoverFull: {};
27
27
  Compacted: {};
28
28
  }>;
29
+ export declare const Outcome: {
30
+ readonly Retry: Data.TaggedEnum.ConstructorFrom<{
31
+ readonly _tag: "Retry";
32
+ readonly cause: AIError;
33
+ readonly error: SessionError.Error;
34
+ }, "_tag">;
35
+ readonly Completed: Data.TaggedEnum.ConstructorFrom<{
36
+ readonly _tag: "Completed";
37
+ readonly needsContinuation: boolean;
38
+ }, "_tag">;
39
+ readonly Continue: Data.TaggedEnum.ConstructorFrom<{
40
+ readonly _tag: "Continue";
41
+ readonly cause: AIError;
42
+ readonly error: SessionError.Error;
43
+ }, "_tag">;
44
+ readonly RecoverFull: Data.TaggedEnum.ConstructorFrom<{
45
+ readonly _tag: "RecoverFull";
46
+ }, "_tag">;
47
+ readonly Compacted: Data.TaggedEnum.ConstructorFrom<{
48
+ readonly _tag: "Compacted";
49
+ }, "_tag">;
50
+ readonly $is: <Tag extends "Retry" | "Completed" | "Continue" | "RecoverFull" | "Compacted">(tag: Tag) => (u: unknown) => u is Extract<{
51
+ readonly _tag: "Retry";
52
+ readonly cause: AIError;
53
+ readonly error: SessionError.Error;
54
+ }, {
55
+ readonly _tag: Tag;
56
+ }> | Extract<{
57
+ readonly _tag: "Completed";
58
+ readonly needsContinuation: boolean;
59
+ }, {
60
+ readonly _tag: Tag;
61
+ }> | Extract<{
62
+ readonly _tag: "Continue";
63
+ readonly cause: AIError;
64
+ readonly error: SessionError.Error;
65
+ }, {
66
+ readonly _tag: Tag;
67
+ }> | Extract<{
68
+ readonly _tag: "RecoverFull";
69
+ }, {
70
+ readonly _tag: Tag;
71
+ }> | Extract<{
72
+ readonly _tag: "Compacted";
73
+ }, {
74
+ readonly _tag: Tag;
75
+ }>;
76
+ readonly $match: {
77
+ <Cases extends {
78
+ readonly Retry: (args: {
79
+ readonly _tag: "Retry";
80
+ readonly cause: AIError;
81
+ readonly error: SessionError.Error;
82
+ }) => any;
83
+ readonly Completed: (args: {
84
+ readonly _tag: "Completed";
85
+ readonly needsContinuation: boolean;
86
+ }) => any;
87
+ readonly Continue: (args: {
88
+ readonly _tag: "Continue";
89
+ readonly cause: AIError;
90
+ readonly error: SessionError.Error;
91
+ }) => any;
92
+ readonly RecoverFull: (args: {
93
+ readonly _tag: "RecoverFull";
94
+ }) => any;
95
+ readonly Compacted: (args: {
96
+ readonly _tag: "Compacted";
97
+ }) => any;
98
+ }>(cases: Cases): (value: {
99
+ readonly _tag: "Retry";
100
+ readonly cause: AIError;
101
+ readonly error: SessionError.Error;
102
+ } | {
103
+ readonly _tag: "Completed";
104
+ readonly needsContinuation: boolean;
105
+ } | {
106
+ readonly _tag: "Continue";
107
+ readonly cause: AIError;
108
+ readonly error: SessionError.Error;
109
+ } | {
110
+ readonly _tag: "RecoverFull";
111
+ } | {
112
+ readonly _tag: "Compacted";
113
+ }) => import("effect/Unify").Unify<ReturnType<Cases["Retry" | "Completed" | "Continue" | "RecoverFull" | "Compacted"]>>;
114
+ <Cases extends {
115
+ readonly Retry: (args: {
116
+ readonly _tag: "Retry";
117
+ readonly cause: AIError;
118
+ readonly error: SessionError.Error;
119
+ }) => any;
120
+ readonly Completed: (args: {
121
+ readonly _tag: "Completed";
122
+ readonly needsContinuation: boolean;
123
+ }) => any;
124
+ readonly Continue: (args: {
125
+ readonly _tag: "Continue";
126
+ readonly cause: AIError;
127
+ readonly error: SessionError.Error;
128
+ }) => any;
129
+ readonly RecoverFull: (args: {
130
+ readonly _tag: "RecoverFull";
131
+ }) => any;
132
+ readonly Compacted: (args: {
133
+ readonly _tag: "Compacted";
134
+ }) => any;
135
+ }>(value: {
136
+ readonly _tag: "Retry";
137
+ readonly cause: AIError;
138
+ readonly error: SessionError.Error;
139
+ } | {
140
+ readonly _tag: "Completed";
141
+ readonly needsContinuation: boolean;
142
+ } | {
143
+ readonly _tag: "Continue";
144
+ readonly cause: AIError;
145
+ readonly error: SessionError.Error;
146
+ } | {
147
+ readonly _tag: "RecoverFull";
148
+ } | {
149
+ readonly _tag: "Compacted";
150
+ }, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Retry" | "Completed" | "Continue" | "RecoverFull" | "Compacted"]>>;
151
+ };
152
+ };
29
153
  interface Input {
30
154
  readonly sessionID: SessionSchema.ID;
31
155
  readonly assistantMessageID: SessionMessage.ID;
32
156
  readonly agent: Agent.ID;
33
157
  readonly model: SessionRunnerModel.Resolved;
34
158
  readonly prepared: SessionModelRequest.Prepared;
35
- readonly toolsDisabled: boolean;
36
159
  readonly recoverContinuation: boolean;
37
160
  /** The runner owns compaction policy; the attempt invokes it only before durable output. */
38
161
  readonly recoverOverflow: Effect.Effect<boolean>;
@@ -135,6 +135,7 @@ export declare const Info: import("effect/Schema").Struct<{
135
135
  }>, never, never>;
136
136
  }>;
137
137
  readonly subpath: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "RelativePath">>, never, never>;
138
+ readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>>, never, never>;
138
139
  readonly revert: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
139
140
  readonly messageID: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
140
141
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -420,7 +420,9 @@ export declare const SessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
420
420
  name: string;
421
421
  tableName: "session_v2";
422
422
  dataType: "object json";
423
- data: Record<string, unknown>;
423
+ data: {
424
+ readonly [x: string]: Schema.Json;
425
+ };
424
426
  driverParam: string;
425
427
  notNull: false;
426
428
  hasDefault: false;
@@ -135,6 +135,7 @@ export declare const Data: Schema.Struct<{
135
135
  }>, never, never>;
136
136
  }>;
137
137
  readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
138
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
138
139
  readonly revert: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
139
140
  readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
140
141
  create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -2,7 +2,7 @@ export * as SessionUsage from "./usage.js";
2
2
  import type { Usage } from "@opencode-ai/ai";
3
3
  import { Money } from "@opencode-ai/schema/money";
4
4
  import type { TokenUsage } from "@opencode-ai/schema/token-usage";
5
- import type { Model } from "../model.js";
5
+ import type { Model } from "@opencode-ai/schema/model";
6
6
  export declare const tokens: (usage: Usage | undefined) => TokenUsage.Info;
7
7
  export declare function calculateCost(costs: Model.Info["cost"], usage: TokenUsage.Info): number & import("effect/Brand").Brand<"Money.USD">;
8
8
  export type Recorded = {
@@ -2,13 +2,13 @@ export * as Session from "./session.js";
2
2
  export * from "./session/schema.js";
3
3
  import { Cause, Effect, Schema, Context, Stream } from "effect";
4
4
  import { ListAnchor } from "@opencode-ai/schema/session";
5
- import { Model } from "./model.js";
5
+ import { Model } from "@opencode-ai/schema/model";
6
6
  import { Location } from "./location.js";
7
7
  import { SessionMessage } from "./session/message.js";
8
8
  import { PromptInput } from "@opencode-ai/schema/prompt-input";
9
9
  import { SessionSchema } from "./session/schema.js";
10
10
  import { AbsolutePath } from "./schema.js";
11
- import { Agent } from "./agent.js";
11
+ import { Agent } from "@opencode-ai/schema/agent";
12
12
  import { SessionRunner } from "./session/runner/index.js";
13
13
  import { ForkEmptyError, MessageDecodeError, NotFoundError } from "./session/error.js";
14
14
  import { SessionEvent } from "./session/event.js";
@@ -95,6 +95,7 @@ type CreateBaseInput = {
95
95
  title?: string;
96
96
  agent?: Agent.ID;
97
97
  model?: Model.Ref;
98
+ metadata?: SessionSchema.Metadata;
98
99
  };
99
100
  type CreateInput = CreateBaseInput & ({
100
101
  location: Location.Ref;
@@ -1,7 +1,7 @@
1
1
  export * as McpTool from "./mcp.js";
2
2
  import { Context, Effect, Layer } from "effect";
3
3
  import { Bus } from "../bus.js";
4
- import { MCP } from "../mcp/index.js";
4
+ import { Mcp } from "../mcp/index.js";
5
5
  import { Permission } from "../permission.js";
6
6
  import { Tool } from "../tool.js";
7
7
  /**
@@ -16,5 +16,5 @@ export interface Interface {
16
16
  declare const Service_base: Context.ServiceClass<Service, "@opencode/McpTool", Interface>;
17
17
  export declare class Service extends Service_base {
18
18
  }
19
- export declare const layer: Layer.Layer<Service, never, Bus.Service | MCP.Service | Permission.Service | Tool.Service>;
19
+ export declare const layer: Layer.Layer<Service, never, Bus.Service | Mcp.Service | Permission.Service | Tool.Service>;
20
20
  export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
@@ -5,7 +5,7 @@
5
5
  * external_directory approval before edit approval.
6
6
  */
7
7
  export * as EditTool from "./edit.js";
8
- import type { Context as PluginContext } from "@opencode-ai/plugin/effect/plugin";
8
+ import type { Context } from "@opencode-ai/plugin/effect/plugin";
9
9
  import { Effect, Schema } from "effect";
10
10
  import { Environment } from "../../environment/index.js";
11
11
  import { FileMutation } from "../../file-mutation.js";
@@ -34,5 +34,5 @@ export type Output = typeof Output.Type;
34
34
  /** Deferred edit behavior and UX integrations remain visible at the model-facing seam. */
35
35
  export declare const Plugin: {
36
36
  id: string;
37
- effect: (ctx: PluginContext) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
37
+ effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
38
38
  };
@@ -1,5 +1,5 @@
1
1
  export * as GlobTool from "./glob.js";
2
- import type { Context as PluginContext } from "@opencode-ai/plugin/effect/plugin";
2
+ import type { Context } from "@opencode-ai/plugin/effect/plugin";
3
3
  import { Effect, Schema } from "effect";
4
4
  import { Environment } from "../../environment/index.js";
5
5
  import { Location } from "../../location.js";
@@ -22,5 +22,5 @@ export declare const toModelContent: (entries: EncodedOutput, truncated?: boolea
22
22
  /** Glob leaf that defaults its filesystem root to the active Location. */
23
23
  export declare const Plugin: {
24
24
  id: string;
25
- effect: (ctx: PluginContext) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | Permission.Service | LocationMutation.Service>;
25
+ effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | Permission.Service | LocationMutation.Service>;
26
26
  };
@@ -1,5 +1,5 @@
1
1
  export * as GrepTool from "./grep.js";
2
- import type { Context as PluginContext } from "@opencode-ai/plugin/effect/plugin";
2
+ import type { Context } from "@opencode-ai/plugin/effect/plugin";
3
3
  import { Effect, Schema } from "effect";
4
4
  import { Environment } from "../../environment/index.js";
5
5
  import { Location } from "../../location.js";
@@ -33,5 +33,5 @@ export declare const toModelContent: (matches: EncodedOutput, truncated?: boolea
33
33
  /** Grep leaf that defaults its filesystem root to the active Location. */
34
34
  export declare const Plugin: {
35
35
  id: string;
36
- effect: (ctx: PluginContext) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | Permission.Service | LocationMutation.Service>;
36
+ effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | Ripgrep.Service | Permission.Service | LocationMutation.Service>;
37
37
  };
@@ -1,5 +1,5 @@
1
1
  export * as PatchTool from "./patch.js";
2
- import type { Context as PluginContext } from "@opencode-ai/plugin/effect/plugin";
2
+ import type { Context } from "@opencode-ai/plugin/effect/plugin";
3
3
  import { Effect, Schema } from "effect";
4
4
  import { Environment } from "../../environment/index.js";
5
5
  import { Formatter } from "../../formatter.js";
@@ -34,5 +34,5 @@ export type Output = typeof Output.Type;
34
34
  export declare const toModelContent: (output: Output) => string;
35
35
  export declare const Plugin: {
36
36
  id: string;
37
- effect: (ctx: PluginContext) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
37
+ effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Location.Service | Environment.Service | FileMutation.Service | Formatter.Service | Permission.Service | LocationMutation.Service>;
38
38
  };