@opencode/core 0.0.0-dev-21873 → 0.0.0-dev-21876

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 (814) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -82
  3. package/dist/aisdk-native.js +96 -95
  4. package/dist/aisdk.js +102 -101
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -78
  7. package/dist/chunks/{rpc-8bc2ahr8.js → agent-033a0jkt.js} +3 -3
  8. package/dist/chunks/{rpc-kftcb4df.js → agent-052306eg.js} +6 -6
  9. package/dist/chunks/{rpc-actym6sp.js → agent-06ezgrzy.js} +6 -6
  10. package/dist/chunks/{rpc-64a4dgx4.js → agent-08jmxpw8.js} +9 -9
  11. package/dist/chunks/{rpc-7p4k3pzp.js → agent-095ywf79.js} +15 -15
  12. package/dist/chunks/{rpc-94neassx.js → agent-0dcj0mgt.js} +7 -7
  13. package/dist/chunks/{rpc-963r0pdn.js → agent-0ear39jp.js} +11 -11
  14. package/dist/chunks/{rpc-n1ayqdm4.js → agent-0mq7r730.js} +31 -31
  15. package/dist/chunks/{rpc-fsv9b7rr.js → agent-0ryzmj4j.js} +2 -2
  16. package/dist/chunks/{rpc-8jztxfpf.js → agent-11hfp36g.js} +4 -4
  17. package/dist/chunks/{rpc-3rkxfjmv.js → agent-164he8xt.js} +11 -11
  18. package/dist/chunks/{rpc-n2165afj.js → agent-1vztwarw.js} +9 -9
  19. package/dist/chunks/{rpc-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{rpc-1y0wdj51.js → agent-1y0wdj51.js} +1 -1
  21. package/dist/chunks/{rpc-1ep2p91f.js → agent-27w5k9zf.js} +2 -2
  22. package/dist/chunks/{rpc-pzz2ws5k.js → agent-28kj7fpp.js} +2 -2
  23. package/dist/chunks/{rpc-r2j4ww2r.js → agent-2a94dxzd.js} +11 -11
  24. package/dist/chunks/{rpc-jnnydgw3.js → agent-2bc1d118.js} +11 -11
  25. package/dist/chunks/{rpc-3bgazc58.js → agent-2c71xmrd.js} +36 -36
  26. package/dist/chunks/{rpc-xpve62cf.js → agent-2mbjfaxd.js} +4 -4
  27. package/dist/chunks/{rpc-kzt3m1e7.js → agent-2mcwn9hz.js} +13 -13
  28. package/dist/chunks/{rpc-8s627est.js → agent-2y49s4ck.js} +12 -12
  29. package/dist/chunks/{rpc-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{rpc-5vnnt37t.js → agent-2zwbm7z6.js} +13 -13
  31. package/dist/chunks/{rpc-0zpmm0s8.js → agent-32c4tavh.js} +35 -35
  32. package/dist/chunks/{rpc-5ra5vjeh.js → agent-35198y27.js} +11 -11
  33. package/dist/chunks/{rpc-54x0ra2z.js → agent-3ayfnv7k.js} +28 -28
  34. package/dist/chunks/{rpc-ayjs7tqn.js → agent-3cbjf1nt.js} +2 -2
  35. package/dist/chunks/{rpc-ge6kdzsz.js → agent-3hekd5hc.js} +21 -21
  36. package/dist/chunks/{rpc-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{rpc-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{rpc-ff74gtbc.js → agent-3pgqqt17.js} +25 -25
  39. package/dist/chunks/{rpc-mwsc4vcv.js → agent-3vn4m52k.js} +24 -24
  40. package/dist/chunks/{rpc-jacwe7hq.js → agent-3xynd5jb.js} +39 -39
  41. package/dist/chunks/{rpc-ar2j3j0f.js → agent-42jd4697.js} +4 -4
  42. package/dist/chunks/{rpc-txbbv18y.js → agent-43extae9.js} +9 -9
  43. package/dist/chunks/{rpc-16wvv7z8.js → agent-45gaytxr.js} +11 -11
  44. package/dist/chunks/{rpc-v0tjrdy5.js → agent-4c58dp62.js} +44 -44
  45. package/dist/chunks/{rpc-yr9ahj94.js → agent-4jyhcbwp.js} +13 -13
  46. package/dist/chunks/{rpc-2beny6pf.js → agent-4m86bj6y.js} +0 -15
  47. package/dist/chunks/{rpc-4v008n1t.js → agent-4v008n1t.js} +1 -1
  48. package/dist/chunks/{rpc-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{rpc-0k3jqzf9.js → agent-508bnh7x.js} +11 -11
  50. package/dist/chunks/{rpc-x5fgfpsq.js → agent-52jahdhd.js} +10 -10
  51. package/dist/chunks/{rpc-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  52. package/dist/chunks/agent-5w3e23ze.js +16 -0
  53. package/dist/chunks/{rpc-sr8e16az.js → agent-630d3s4r.js} +17 -17
  54. package/dist/chunks/{rpc-4dvhwzem.js → agent-66c1tj1c.js} +8 -8
  55. package/dist/chunks/{rpc-65ep5kwy.js → agent-68s5dt7r.js} +74 -74
  56. package/dist/chunks/{rpc-0bj0j9hv.js → agent-6b8sf6ch.js} +9 -9
  57. package/dist/chunks/{rpc-jw86xtr6.js → agent-6e50d9hn.js} +55 -55
  58. package/dist/chunks/{rpc-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
  59. package/dist/chunks/{rpc-9xnq3n9q.js → agent-6mrjjgaf.js} +6 -6
  60. package/dist/chunks/{rpc-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
  61. package/dist/chunks/{rpc-4cnqzyf4.js → agent-6qeh1vj5.js} +32 -32
  62. package/dist/chunks/{rpc-chmmxz1g.js → agent-72ztq2m3.js} +9 -9
  63. package/dist/chunks/{rpc-3mgb105e.js → agent-799ckdtf.js} +9 -9
  64. package/dist/chunks/{rpc-88kypjvy.js → agent-7a2bwsmz.js} +4 -4
  65. package/dist/chunks/{rpc-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{rpc-qes58p1f.js → agent-7n1bz5n5.js} +9 -9
  67. package/dist/chunks/{rpc-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
  68. package/dist/chunks/{rpc-7t4pb3xg.js → agent-7xb8m1hd.js} +26 -26
  69. package/dist/chunks/{rpc-n7twsc79.js → agent-7xm5yhm8.js} +39 -39
  70. package/dist/chunks/{rpc-t4knw8fq.js → agent-808w5zy2.js} +18 -18
  71. package/dist/chunks/{rpc-n8znjy9k.js → agent-82ahwy3q.js} +17 -17
  72. package/dist/chunks/{rpc-h9y2z81z.js → agent-88byhbg6.js} +14 -14
  73. package/dist/chunks/{rpc-grk6sz4n.js → agent-8dzbm67s.js} +10 -10
  74. package/dist/chunks/{rpc-0xezzd5d.js → agent-8er64j5e.js} +23 -23
  75. package/dist/chunks/{rpc-73m4wzt2.js → agent-8sw8s5xk.js} +13 -13
  76. package/dist/chunks/{rpc-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{rpc-e738kmdw.js → agent-8xns6cym.js} +6 -6
  78. package/dist/chunks/{rpc-hfgk9wzg.js → agent-8y4jps98.js} +4 -4
  79. package/dist/chunks/{rpc-x57zdktr.js → agent-90z60219.js} +22 -22
  80. package/dist/chunks/{rpc-91rj84md.js → agent-91rj84md.js} +1 -1
  81. package/dist/chunks/{rpc-a7hcemwv.js → agent-92c1azvn.js} +3 -3
  82. package/dist/chunks/{rpc-9909tw4t.js → agent-97zspg27.js} +11 -11
  83. package/dist/chunks/{rpc-2fmzxhrb.js → agent-9872gzyf.js} +19 -19
  84. package/dist/chunks/{rpc-9cx9sm2q.js → agent-9cx9sm2q.js} +1 -1
  85. package/dist/chunks/{rpc-6jzdaz5a.js → agent-9tqk2n2m.js} +5 -5
  86. package/dist/chunks/{rpc-4enm61nh.js → agent-9wssh0tx.js} +33 -33
  87. package/dist/chunks/{rpc-p8xrwawc.js → agent-9ygqb4bs.js} +13 -13
  88. package/dist/chunks/{rpc-cq2kz1vr.js → agent-9yr8g2ta.js} +5 -5
  89. package/dist/chunks/{rpc-w5h1wkz0.js → agent-a013asta.js} +13 -13
  90. package/dist/chunks/{rpc-04ngwmg9.js → agent-a2hq59ke.js} +23 -23
  91. package/dist/chunks/{rpc-4pnypb5f.js → agent-a7s1nr2m.js} +7 -7
  92. package/dist/chunks/{rpc-gr2q1ewy.js → agent-a8b15abj.js} +22 -22
  93. package/dist/chunks/{rpc-5ccyfjd7.js → agent-a8g4y5z7.js} +4 -4
  94. package/dist/chunks/{rpc-qmb9yqdb.js → agent-ademh8e3.js} +9 -9
  95. package/dist/chunks/{rpc-034tev2y.js → agent-aj7mw0zk.js} +2 -2
  96. package/dist/chunks/{rpc-1kq7gdh7.js → agent-akqrtxca.js} +9 -9
  97. package/dist/chunks/{rpc-bt3f8k6b.js → agent-akxzt346.js} +23 -23
  98. package/dist/chunks/{rpc-ampftf2x.js → agent-aqjzr6r1.js} +22 -22
  99. package/dist/chunks/{rpc-v1a1acs9.js → agent-aqnwz5fn.js} +11 -11
  100. package/dist/chunks/{rpc-xh0cb3sq.js → agent-ard2b0yg.js} +3 -3
  101. package/dist/chunks/{rpc-t6t5wpsz.js → agent-at22psrd.js} +43 -43
  102. package/dist/chunks/{rpc-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{rpc-5nnwax6m.js → agent-b6vsg801.js} +5 -5
  104. package/dist/chunks/{rpc-m9xapfg3.js → agent-bgg6fpfq.js} +8 -8
  105. package/dist/chunks/{rpc-5erj5q6b.js → agent-bmx631f3.js} +8 -8
  106. package/dist/chunks/{rpc-b93v3z3c.js → agent-bnvqjy8m.js} +11 -11
  107. package/dist/chunks/{rpc-wrvw4qzg.js → agent-bqabctay.js} +11 -11
  108. package/dist/chunks/{rpc-5w6e6t6m.js → agent-bqje3trr.js} +18 -18
  109. package/dist/chunks/{rpc-xd9cc171.js → agent-bstexjd6.js} +5 -5
  110. package/dist/chunks/{rpc-3q2vkj4t.js → agent-bwe4w6pg.js} +21 -21
  111. package/dist/chunks/{rpc-fyeq52zw.js → agent-c3zt26pz.js} +5 -5
  112. package/dist/chunks/{rpc-a48xdxv5.js → agent-c8g0sqk1.js} +5 -5
  113. package/dist/chunks/{rpc-1rt6s9mf.js → agent-c8k7ww63.js} +26 -26
  114. package/dist/chunks/{rpc-thzzp9tf.js → agent-cfg1gyez.js} +1 -1
  115. package/dist/chunks/{rpc-4ntv0s9s.js → agent-csg411tc.js} +13 -13
  116. package/dist/chunks/{rpc-f2ptadf3.js → agent-csnrqqvz.js} +3 -3
  117. package/dist/chunks/{rpc-wq74a3c7.js → agent-ctm212j9.js} +180 -180
  118. package/dist/chunks/{rpc-tnytawq1.js → agent-d75wdvfq.js} +29 -29
  119. package/dist/chunks/{rpc-fjqb86s3.js → agent-d9b58nj2.js} +38 -38
  120. package/dist/chunks/{rpc-867sn0d9.js → agent-db6xh5f5.js} +12 -12
  121. package/dist/chunks/{rpc-9x964ny6.js → agent-dekedfjb.js} +14 -14
  122. package/dist/chunks/{rpc-398tazf9.js → agent-dkdbn7qp.js} +29 -29
  123. package/dist/chunks/{rpc-4s8jnsjq.js → agent-dw0tqvgd.js} +4 -4
  124. package/dist/chunks/{rpc-xrwgzr6g.js → agent-e0gqtbhp.js} +8 -8
  125. package/dist/chunks/{rpc-py69nrmv.js → agent-e3nyjr0f.js} +32 -32
  126. package/dist/chunks/{rpc-e834z07m.js → agent-e834z07m.js} +1 -1
  127. package/dist/chunks/{rpc-3f6bgqej.js → agent-e88ktd3c.js} +30 -30
  128. package/dist/chunks/{rpc-g8mj4081.js → agent-e8yvr5rn.js} +14 -14
  129. package/dist/chunks/{rpc-tkn93vs5.js → agent-ep59zg61.js} +4 -17
  130. package/dist/chunks/{rpc-k7mchm5d.js → agent-erh01ra6.js} +7 -7
  131. package/dist/chunks/{rpc-g661nnma.js → agent-es3b2gsk.js} +3 -3
  132. package/dist/chunks/agent-ev660z6k.js +18 -0
  133. package/dist/chunks/{rpc-sm3m7ev9.js → agent-eyaew5ez.js} +25 -25
  134. package/dist/chunks/{rpc-p7g1837s.js → agent-eyn6zj3x.js} +25 -25
  135. package/dist/chunks/{rpc-7nzrcr96.js → agent-f0vthqmt.js} +19 -19
  136. package/dist/chunks/{rpc-kbq8ed69.js → agent-f12pq1t4.js} +33 -33
  137. package/dist/chunks/{rpc-a24rd9w3.js → agent-f1dzx5gz.js} +3 -3
  138. package/dist/chunks/{rpc-t12v43rg.js → agent-f8mfn80p.js} +6 -6
  139. package/dist/chunks/{rpc-sjptd64y.js → agent-feq2fds5.js} +23 -23
  140. package/dist/chunks/{rpc-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{rpc-1vbdq4r3.js → agent-fshpjc7v.js} +9 -9
  142. package/dist/chunks/{rpc-qb4xeqeg.js → agent-fw7t8tww.js} +14 -14
  143. package/dist/chunks/{rpc-xw8kgqa1.js → agent-fwsmq32q.js} +5 -5
  144. package/dist/chunks/{rpc-rwe75qc8.js → agent-fyswm6z2.js} +9 -9
  145. package/dist/chunks/{rpc-qj0f10hy.js → agent-g4qbe2v9.js} +2 -2
  146. package/dist/chunks/{rpc-81qd9b8r.js → agent-g5h81d8x.js} +22 -22
  147. package/dist/chunks/{rpc-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
  148. package/dist/chunks/{rpc-5qgyxxk2.js → agent-g85rjq8b.js} +20 -20
  149. package/dist/chunks/{rpc-zwcqgr8h.js → agent-g925vmef.js} +6 -6
  150. package/dist/chunks/{rpc-c66ha81g.js → agent-gfb9vjwz.js} +13 -13
  151. package/dist/chunks/{rpc-tmz3gxxq.js → agent-ghsyx58e.js} +4 -4
  152. package/dist/chunks/{rpc-79sgxn43.js → agent-gjk9ww24.js} +84 -84
  153. package/dist/chunks/{rpc-tz4xexj5.js → agent-gjkhks3w.js} +11 -11
  154. package/dist/chunks/{rpc-d4v9tmah.js → agent-gn8tkhbf.js} +2 -2
  155. package/dist/chunks/{rpc-2e52m8w3.js → agent-gpe9115v.js} +28 -28
  156. package/dist/chunks/{rpc-zxsnyq32.js → agent-gz1ychq3.js} +19 -19
  157. package/dist/chunks/{rpc-tkqgr2f8.js → agent-h36b412q.js} +89 -89
  158. package/dist/chunks/{rpc-cwp484bj.js → agent-hendem5s.js} +16 -16
  159. package/dist/chunks/{rpc-80x2hthz.js → agent-hezwayvj.js} +17 -17
  160. package/dist/chunks/{rpc-cd50e0wg.js → agent-hjtcdw49.js} +11 -11
  161. package/dist/chunks/{rpc-160yv0cs.js → agent-hw621kav.js} +8 -8
  162. package/dist/chunks/{rpc-jjx6aha5.js → agent-hx6gesf1.js} +8 -8
  163. package/dist/chunks/{rpc-ksbfgvv1.js → agent-hzyjdts2.js} +2 -2
  164. package/dist/chunks/{rpc-j113cymg.js → agent-j113cymg.js} +1 -1
  165. package/dist/chunks/{rpc-caw776h6.js → agent-j5qp76cc.js} +3 -3
  166. package/dist/chunks/{rpc-3ha882x3.js → agent-je6j3j9f.js} +34 -34
  167. package/dist/chunks/{rpc-jnwx2kg9.js → agent-jnwx2kg9.js} +1 -1
  168. package/dist/chunks/{rpc-cerpfb20.js → agent-jqjqv5mv.js} +3 -3
  169. package/dist/chunks/{rpc-zwt5mb5d.js → agent-jtrgaghe.js} +41 -41
  170. package/dist/chunks/{rpc-9q3aj0x8.js → agent-jw023j4b.js} +4 -4
  171. package/dist/chunks/{rpc-zs4jph50.js → agent-jzga9m04.js} +4 -4
  172. package/dist/chunks/{rpc-dch74nbf.js → agent-k1zdwj5m.js} +8 -8
  173. package/dist/chunks/{rpc-prcm84f8.js → agent-k497vvr9.js} +4 -4
  174. package/dist/chunks/{rpc-axtaqyfz.js → agent-k6msgc74.js} +17 -17
  175. package/dist/chunks/{rpc-k814nvkf.js → agent-k814nvkf.js} +1 -1
  176. package/dist/chunks/{rpc-7193gb3b.js → agent-kbmq0v6f.js} +5 -5
  177. package/dist/chunks/{rpc-2azy8kv6.js → agent-kd4chd64.js} +5 -5
  178. package/dist/chunks/{rpc-pp5kzkp6.js → agent-kknkytq1.js} +15 -15
  179. package/dist/chunks/{rpc-jartwg2v.js → agent-km2ven80.js} +6 -6
  180. package/dist/chunks/{rpc-6mg7998y.js → agent-kmch1wfz.js} +20 -20
  181. package/dist/chunks/{rpc-ks6g0x1g.js → agent-ks6g0x1g.js} +2 -2
  182. package/dist/chunks/{rpc-kt3bjfbg.js → agent-kt3bjfbg.js} +1 -1
  183. package/dist/chunks/{rpc-m1714858.js → agent-m1714858.js} +1 -1
  184. package/dist/chunks/{rpc-e0dtevzy.js → agent-m8rxg9cs.js} +28 -28
  185. package/dist/chunks/{rpc-a6hdfaqp.js → agent-m9pm89y0.js} +7 -7
  186. package/dist/chunks/{rpc-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{rpc-maspj1v3.js → agent-maspj1v3.js} +1 -1
  188. package/dist/chunks/{rpc-z7yrh2zw.js → agent-n0f2hcr3.js} +18 -18
  189. package/dist/chunks/{rpc-1zer9mtc.js → agent-n585bckd.js} +9 -9
  190. package/dist/chunks/{rpc-bje4knzw.js → agent-n66c6y3m.js} +6 -6
  191. package/dist/chunks/{rpc-nah043kf.js → agent-nah043kf.js} +1 -1
  192. package/dist/chunks/{rpc-4zcmvsgg.js → agent-ncn2yap2.js} +4 -4
  193. package/dist/chunks/{rpc-jh64gpxz.js → agent-nd27gdj2.js} +19 -19
  194. package/dist/chunks/{rpc-w8m4y82j.js → agent-nes0c8n7.js} +18 -18
  195. package/dist/chunks/{rpc-99vsxt4e.js → agent-ng3c2vx3.js} +24 -24
  196. package/dist/chunks/{rpc-c891t0q5.js → agent-nvakqqep.js} +10 -10
  197. package/dist/chunks/{rpc-1dv2g4jv.js → agent-nynx6wfa.js} +8 -8
  198. package/dist/chunks/{rpc-p015t6z3.js → agent-p015t6z3.js} +2 -2
  199. package/dist/chunks/{rpc-dnb44sjf.js → agent-p70n5a2e.js} +40 -40
  200. package/dist/chunks/{rpc-1yq9hg58.js → agent-p7vhpwh8.js} +5 -5
  201. package/dist/chunks/{rpc-pknna89w.js → agent-pknna89w.js} +1 -1
  202. package/dist/chunks/{rpc-aywybv3t.js → agent-psjhb6h9.js} +9 -9
  203. package/dist/chunks/{rpc-2qr4rt5k.js → agent-pt1ss6jy.js} +3 -3
  204. package/dist/chunks/{rpc-gh2awkxf.js → agent-pv6sstp4.js} +12 -12
  205. package/dist/chunks/{rpc-3f2z84v7.js → agent-pzzw8bte.js} +9 -9
  206. package/dist/chunks/{rpc-qeb2jzk6.js → agent-qax5zjmd.js} +20 -20
  207. package/dist/chunks/{rpc-q1tppxga.js → agent-qdq46y43.js} +30 -30
  208. package/dist/chunks/{rpc-hrmm2vh8.js → agent-qvzt83st.js} +21 -21
  209. package/dist/chunks/{rpc-bfp6p8p6.js → agent-qxhawqxf.js} +5 -5
  210. package/dist/chunks/{rpc-tnznrj7j.js → agent-r0sc5khv.js} +9 -9
  211. package/dist/chunks/{rpc-x8rzfgrc.js → agent-r0yav5tq.js} +4 -4
  212. package/dist/chunks/{rpc-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
  213. package/dist/chunks/{rpc-smk9ards.js → agent-r1t3cyb3.js} +8 -8
  214. package/dist/chunks/{rpc-q5z0rzsk.js → agent-r476v4sd.js} +1 -1
  215. package/dist/chunks/{rpc-smfcvx02.js → agent-r4pwrx75.js} +9 -9
  216. package/dist/chunks/{rpc-r542h3bh.js → agent-r542h3bh.js} +1 -1
  217. package/dist/chunks/{rpc-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
  218. package/dist/chunks/{rpc-sss9qfaq.js → agent-reqv0nhy.js} +58 -54
  219. package/dist/chunks/{rpc-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
  220. package/dist/chunks/{rpc-7gn1c7q5.js → agent-rxp322v2.js} +16 -16
  221. package/dist/chunks/{rpc-y10yae2e.js → agent-rydtep4r.js} +9 -9
  222. package/dist/chunks/agent-rzcykvvq.js +257 -0
  223. package/dist/chunks/{rpc-sbegqkxp.js → agent-s2pfznc4.js} +6 -6
  224. package/dist/chunks/{rpc-2fqamhmy.js → agent-s531t74k.js} +46 -46
  225. package/dist/chunks/{rpc-rgzmrh02.js → agent-s9ngdvzg.js} +8 -8
  226. package/dist/chunks/{rpc-sa3fpqfw.js → agent-sa3fpqfw.js} +2 -2
  227. package/dist/chunks/{rpc-9fqb62wa.js → agent-sfm9ka6b.js} +31 -31
  228. package/dist/chunks/{rpc-j80rrc5p.js → agent-skxa8yqx.js} +309 -309
  229. package/dist/chunks/{rpc-0mwa2cev.js → agent-sp5f2d2e.js} +33 -33
  230. package/dist/chunks/{rpc-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{rpc-ssfehs1z.js → agent-ssfehs1z.js} +1 -1
  232. package/dist/chunks/{rpc-hrskdsrs.js → agent-swtsh7ge.js} +18 -18
  233. package/dist/chunks/{rpc-ewq3zh3y.js → agent-t0s3yhk6.js} +16 -16
  234. package/dist/chunks/{rpc-m46pxzbq.js → agent-t5kz8xvk.js} +10 -10
  235. package/dist/chunks/{rpc-yf08x4n1.js → agent-t5tpffef.js} +9 -9
  236. package/dist/chunks/{rpc-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{rpc-cqsckrq7.js → agent-tk0xf7e5.js} +11 -11
  238. package/dist/chunks/{rpc-1krajzn2.js → agent-tm42qtpg.js} +14 -14
  239. package/dist/chunks/{rpc-n57zrvc2.js → agent-twhms9x5.js} +9 -9
  240. package/dist/chunks/{rpc-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{rpc-w5e2fj78.js → agent-tzgk7pc9.js} +12 -12
  242. package/dist/chunks/{rpc-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{rpc-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/{rpc-veqvce7d.js → agent-veqvce7d.js} +1 -1
  245. package/dist/chunks/{rpc-3rvgssh1.js → agent-vpy60e9y.js} +22 -22
  246. package/dist/chunks/{rpc-46astgjy.js → agent-w162aavb.js} +23 -23
  247. package/dist/chunks/{rpc-w2eysc6j.js → agent-w2eysc6j.js} +2 -2
  248. package/dist/chunks/{rpc-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{rpc-asj9x96b.js → agent-w4g85eya.js} +22 -22
  250. package/dist/chunks/{rpc-0h8y3ex8.js → agent-w687dnns.js} +4 -4
  251. package/dist/chunks/{rpc-76cb1hcw.js → agent-w8qtt4th.js} +4 -4
  252. package/dist/chunks/{rpc-g3cgjwhd.js → agent-w98x3qrj.js} +20 -20
  253. package/dist/chunks/{rpc-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
  254. package/dist/chunks/{rpc-e07q2w5p.js → agent-wby0kqsc.js} +4 -4
  255. package/dist/chunks/{rpc-wd87259q.js → agent-wd87259q.js} +1 -1
  256. package/dist/chunks/{rpc-6enqd4a4.js → agent-wddf3ds8.js} +5 -5
  257. package/dist/chunks/{rpc-t91wt1xc.js → agent-we2361r8.js} +5 -5
  258. package/dist/chunks/{rpc-0v1855mm.js → agent-wj0x0my7.js} +32 -32
  259. package/dist/chunks/{rpc-xex4csfj.js → agent-wj8xy6vp.js} +9 -9
  260. package/dist/chunks/{rpc-8fwqr86x.js → agent-wqf6whd0.js} +4 -4
  261. package/dist/chunks/{rpc-2pv3z35r.js → agent-wqwygejh.js} +40 -40
  262. package/dist/chunks/{rpc-afmnpta1.js → agent-wt9cess9.js} +2 -2
  263. package/dist/chunks/{rpc-96te9d4b.js → agent-wz5tj16h.js} +5 -5
  264. package/dist/chunks/{rpc-hf7m31j6.js → agent-x8m11snx.js} +19 -19
  265. package/dist/chunks/{rpc-tdzaayr8.js → agent-xbymdpda.js} +23 -23
  266. package/dist/chunks/{rpc-medmgz4w.js → agent-xfmhx0sz.js} +35 -35
  267. package/dist/chunks/{rpc-6m0k75x8.js → agent-xgm1b0sj.js} +16 -16
  268. package/dist/chunks/{rpc-85erx67x.js → agent-xnhfvn64.js} +23 -23
  269. package/dist/chunks/{rpc-7bnre8yf.js → agent-xpzag304.js} +15 -15
  270. package/dist/chunks/{rpc-f3x3s8kp.js → agent-xsdgnd9a.js} +5 -5
  271. package/dist/chunks/{rpc-s1gefd7a.js → agent-xvqc07w7.js} +11 -11
  272. package/dist/chunks/{rpc-s05tnvks.js → agent-xz8r6fbg.js} +19 -19
  273. package/dist/chunks/{rpc-cjszy3qj.js → agent-y3h8fq5y.js} +23 -23
  274. package/dist/chunks/{rpc-3x0jq06w.js → agent-y49518kq.js} +39 -39
  275. package/dist/chunks/{rpc-taacwnvm.js → agent-y63jcvcc.js} +5 -5
  276. package/dist/chunks/{rpc-k1jg2ba5.js → agent-y7a54drw.js} +32 -32
  277. package/dist/chunks/{rpc-cdkymz2t.js → agent-y7rptanb.js} +5 -5
  278. package/dist/chunks/{rpc-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{rpc-3tpaz0rx.js → agent-ybkhfr2c.js} +6 -6
  280. package/dist/chunks/{rpc-3qayfnz6.js → agent-yc04cj61.js} +24 -24
  281. package/dist/chunks/{rpc-bxe79e76.js → agent-yr88cfc3.js} +18 -18
  282. package/dist/chunks/{rpc-1qzzfct3.js → agent-ys6sktyv.js} +14 -14
  283. package/dist/chunks/{rpc-mjsq6pzz.js → agent-yst6f085.js} +4 -4
  284. package/dist/chunks/{rpc-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{rpc-negk2hya.js → agent-z2v06856.js} +8 -8
  286. package/dist/chunks/{rpc-z38nccrw.js → agent-z38nccrw.js} +1 -1
  287. package/dist/chunks/{rpc-8m8ckbnq.js → agent-z45ac4nf.js} +38 -38
  288. package/dist/chunks/{rpc-z7xfn9z4.js → agent-z514f9er.js} +16 -16
  289. package/dist/chunks/{rpc-w6f6gw9w.js → agent-z895d3e0.js} +8 -8
  290. package/dist/chunks/{rpc-t3ggr34t.js → agent-z9cf55b4.js} +13 -13
  291. package/dist/chunks/{rpc-7nngkk4m.js → agent-zbyebx2k.js} +9 -9
  292. package/dist/chunks/{rpc-xw5nqs72.js → agent-zegbnajt.js} +4 -4
  293. package/dist/chunks/{rpc-drvbhkez.js → agent-zgt5j0h2.js} +6 -6
  294. package/dist/chunks/{rpc-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
  295. package/dist/chunks/{rpc-9cym0b72.js → agent-zm3vydp0.js} +10 -10
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +9 -9
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +89 -88
  301. package/dist/config/discovery.js +91 -90
  302. package/dist/config/integration.js +3 -3
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +106 -105
  305. package/dist/config/plugin/agent.js +120 -119
  306. package/dist/config/plugin/command.js +218 -217
  307. package/dist/config/plugin/compaction.js +161 -160
  308. package/dist/config/plugin/compatibility.js +141 -140
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +121 -120
  311. package/dist/config/plugin/image.js +120 -119
  312. package/dist/config/plugin/instruction.js +120 -119
  313. package/dist/config/plugin/location-watcher.js +120 -119
  314. package/dist/config/plugin/mcp.js +127 -126
  315. package/dist/config/plugin/policy.js +122 -121
  316. package/dist/config/plugin/provider.js +121 -120
  317. package/dist/config/plugin/reference.js +122 -121
  318. package/dist/config/plugin/shell.js +120 -119
  319. package/dist/config/plugin/skill-file.js +111 -110
  320. package/dist/config/plugin/skill-scan.js +1 -1
  321. package/dist/config/plugin/skill.js +142 -141
  322. package/dist/config/plugin/snapshot.js +120 -119
  323. package/dist/config/plugin/source.js +123 -122
  324. package/dist/config/plugin/tool-output.js +121 -120
  325. package/dist/config/plugin/websearch.js +119 -118
  326. package/dist/config/plugin/worktree.js +120 -119
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +123 -122
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +85 -84
  333. package/dist/database/database.js +78 -77
  334. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +15 -15
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +16 -16
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +6 -0
  404. package/dist/database/migration.gen.js +55 -54
  405. package/dist/database/migration.js +57 -56
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +97 -96
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +380 -379
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +100 -99
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +100 -99
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +3 -3
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +78 -77
  429. package/dist/file-access.js +113 -112
  430. package/dist/file-mutation.js +101 -100
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +227 -226
  438. package/dist/filesystem/protected.js +3 -3
  439. package/dist/filesystem/search.js +106 -105
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +9 -9
  442. package/dist/filesystem.js +111 -110
  443. package/dist/form.js +86 -85
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +94 -93
  446. package/dist/generate.js +114 -113
  447. package/dist/git.js +9 -9
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +106 -105
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon.js +2 -2
  468. package/dist/image.js +6 -6
  469. package/dist/instance/service.js +5 -5
  470. package/dist/instance.js +371 -370
  471. package/dist/instruction-discovery.js +90 -89
  472. package/dist/instructions/builtins.js +94 -93
  473. package/dist/instructions/index.js +1 -1
  474. package/dist/integration/connection.js +3 -3
  475. package/dist/integration.js +89 -88
  476. package/dist/job.js +82 -81
  477. package/dist/kv/sql.js +2 -2
  478. package/dist/kv.js +79 -78
  479. package/dist/location-activity.js +161 -160
  480. package/dist/location-lifecycle.js +116 -115
  481. package/dist/location-service-map.js +93 -92
  482. package/dist/location-services.js +368 -367
  483. package/dist/location.js +92 -91
  484. package/dist/managed-policy.js +9 -9
  485. package/dist/mcp/client.js +98 -97
  486. package/dist/mcp/index.js +114 -113
  487. package/dist/mcp/instructions.js +147 -146
  488. package/dist/mcp/oauth.js +81 -80
  489. package/dist/mcp/socket-client.js +1 -1
  490. package/dist/mcp/stdio.js +97 -96
  491. package/dist/mime.js +1 -1
  492. package/dist/modal/models.js +106 -105
  493. package/dist/model-resolver.js +106 -105
  494. package/dist/model-retry.js +1 -1
  495. package/dist/model.js +105 -104
  496. package/dist/models-dev.js +110 -109
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +88 -87
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +118 -117
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +94 -93
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -80
  506. package/dist/plugin/agent.js +80 -79
  507. package/dist/plugin/command.js +107 -106
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +226 -225
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +341 -340
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +103 -102
  515. package/dist/plugin/module.js +122 -121
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +111 -110
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +97 -96
  520. package/dist/plugin/provider/azure.js +120 -119
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +120 -119
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -116
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -116
  525. package/dist/plugin/provider/cohere.js +2 -2
  526. package/dist/plugin/provider/configured.js +116 -115
  527. package/dist/plugin/provider/databricks.js +1 -1
  528. package/dist/plugin/provider/digitalocean.js +100 -99
  529. package/dist/plugin/provider/dynamic.js +2 -2
  530. package/dist/plugin/provider/factory.js +1 -1
  531. package/dist/plugin/provider/github-copilot.js +102 -101
  532. package/dist/plugin/provider/gitlab.js +100 -99
  533. package/dist/plugin/provider/google-vertex.js +117 -116
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +84 -83
  536. package/dist/plugin/provider/lmstudio.js +129 -128
  537. package/dist/plugin/provider/local.js +126 -125
  538. package/dist/plugin/provider/modal.js +99 -98
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +129 -128
  542. package/dist/plugin/provider/openai-context-caps.js +97 -96
  543. package/dist/plugin/provider/openai.js +122 -121
  544. package/dist/plugin/provider/opencode-legacy.js +105 -104
  545. package/dist/plugin/provider/opencode.js +126 -125
  546. package/dist/plugin/provider/openrouter.js +98 -97
  547. package/dist/plugin/provider/perplexity.js +2 -2
  548. package/dist/plugin/provider/poe.js +85 -84
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +98 -97
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +119 -118
  553. package/dist/plugin/provider/vercel.js +97 -96
  554. package/dist/plugin/provider/vllm.js +129 -128
  555. package/dist/plugin/provider/xai.js +98 -97
  556. package/dist/plugin/provider/zenmux.js +1 -1
  557. package/dist/plugin/provider.js +177 -176
  558. package/dist/plugin/sdk.js +82 -81
  559. package/dist/plugin/service.js +3 -3
  560. package/dist/plugin/skill.js +138 -137
  561. package/dist/plugin/source-directory.js +1 -1
  562. package/dist/plugin/supervisor.js +360 -359
  563. package/dist/plugin/tool-input-repair.js +4 -4
  564. package/dist/plugin/update.js +6 -6
  565. package/dist/plugin/vcs/git.js +93 -92
  566. package/dist/plugin/vcs/hg.js +93 -92
  567. package/dist/plugin/verbosity.js +100 -99
  568. package/dist/plugin/warming.js +118 -117
  569. package/dist/plugin/websearch/exa.js +5 -5
  570. package/dist/plugin/websearch/firecrawl.js +8 -8
  571. package/dist/plugin/websearch/index.js +9 -9
  572. package/dist/plugin/websearch/mcp.js +2 -2
  573. package/dist/plugin/websearch/parallel.js +8 -8
  574. package/dist/plugin/websearch/tavily.js +6 -6
  575. package/dist/plugin/websearch/tinyfish.js +4 -4
  576. package/dist/plugin.js +235 -234
  577. package/dist/project/schema.js +6 -6
  578. package/dist/project/sql.js +4 -4
  579. package/dist/project.js +93 -92
  580. package/dist/provider.js +102 -101
  581. package/dist/pty/protocol.js +1 -1
  582. package/dist/pty/ticket.js +1 -1
  583. package/dist/pty.js +103 -102
  584. package/dist/reference/instructions.js +96 -95
  585. package/dist/reference.js +92 -91
  586. package/dist/repository-cache.js +88 -87
  587. package/dist/repository.js +3 -3
  588. package/dist/ripgrep/binary.js +2 -2
  589. package/dist/ripgrep.js +104 -103
  590. package/dist/rpc.js +93 -92
  591. package/dist/schema.js +1 -1
  592. package/dist/session/affinity.js +1 -1
  593. package/dist/session/blob.js +8 -8
  594. package/dist/session/command.js +80 -79
  595. package/dist/session/compaction.js +145 -144
  596. package/dist/session/context.js +171 -170
  597. package/dist/session/diff.js +95 -94
  598. package/dist/session/environment.js +5 -5
  599. package/dist/session/error.js +5 -5
  600. package/dist/session/event.js +1 -1
  601. package/dist/session/execution/restart.js +228 -227
  602. package/dist/session/execution.js +135 -134
  603. package/dist/session/generate.js +173 -172
  604. package/dist/session/history.js +15 -15
  605. package/dist/session/inbox.js +101 -100
  606. package/dist/session/info.js +3 -3
  607. package/dist/session/instruction-entry.js +85 -84
  608. package/dist/session/instruction-state.js +8 -8
  609. package/dist/session/instructions.js +106 -105
  610. package/dist/session/message-updater.js +4 -4
  611. package/dist/session/message.js +1 -1
  612. package/dist/session/model-request.js +129 -128
  613. package/dist/session/model-transport.js +9 -9
  614. package/dist/session/move.js +139 -138
  615. package/dist/session/projector.js +97 -96
  616. package/dist/session/prompt.js +114 -113
  617. package/dist/session/recent-text.js +1 -1
  618. package/dist/session/revert.js +103 -102
  619. package/dist/session/run-coordinator.js +1 -1
  620. package/dist/session/runner/index.js +3 -3
  621. package/dist/session/runner/llm.js +237 -236
  622. package/dist/session/runner/max-steps.js +1 -1
  623. package/dist/session/runner/model.js +107 -106
  624. package/dist/session/runner/publish-llm-event.js +122 -121
  625. package/dist/session/runner/retry.js +5 -5
  626. package/dist/session/runner/step.js +135 -134
  627. package/dist/session/runner/to-llm-message.js +16 -16
  628. package/dist/session/schema.js +5 -5
  629. package/dist/session/session.js +171 -170
  630. package/dist/session/shell.js +134 -133
  631. package/dist/session/skill.js +112 -111
  632. package/dist/session/sql.js +5 -7
  633. package/dist/session/stats.js +79 -78
  634. package/dist/session/store.js +93 -92
  635. package/dist/session/stored.js +2 -2
  636. package/dist/session/subagent-completion.js +1 -1
  637. package/dist/session/subagent-job.js +218 -217
  638. package/dist/session/system-prompt.js +3 -3
  639. package/dist/session/title.js +175 -174
  640. package/dist/session/to-session-error.js +121 -120
  641. package/dist/session/transfer.js +223 -222
  642. package/dist/session/usage.js +1 -1
  643. package/dist/session.js +222 -221
  644. package/dist/shell/parse.js +6 -6
  645. package/dist/shell/result.js +1 -1
  646. package/dist/shell/scan.js +1 -1
  647. package/dist/shell/select.js +11 -11
  648. package/dist/shell.js +136 -135
  649. package/dist/skill/discovery.js +6 -6
  650. package/dist/skill/instructions.js +116 -115
  651. package/dist/skill.js +119 -118
  652. package/dist/snapshot.js +98 -97
  653. package/dist/state.js +1 -1
  654. package/dist/tool/html-markdown.js +1 -1
  655. package/dist/tool/http-body.js +1 -1
  656. package/dist/tool/mcp.js +144 -143
  657. package/dist/tool/plugin/edit.js +129 -128
  658. package/dist/tool/plugin/file-diff.js +1 -1
  659. package/dist/tool/plugin/glob.js +133 -132
  660. package/dist/tool/plugin/grep.js +133 -132
  661. package/dist/tool/plugin/mcp-resource.js +133 -132
  662. package/dist/tool/plugin/opencode.js +118 -117
  663. package/dist/tool/plugin/patch.js +131 -130
  664. package/dist/tool/plugin/question.js +112 -111
  665. package/dist/tool/plugin/read.js +134 -133
  666. package/dist/tool/plugin/shell.js +221 -220
  667. package/dist/tool/plugin/skill.js +120 -119
  668. package/dist/tool/plugin/subagent.js +225 -224
  669. package/dist/tool/plugin/todo.js +142 -141
  670. package/dist/tool/plugin/webfetch.js +118 -117
  671. package/dist/tool/plugin/websearch.js +121 -120
  672. package/dist/tool/plugin/write.js +125 -124
  673. package/dist/tool/read-filesystem.js +109 -108
  674. package/dist/tool/runtime.js +1 -1
  675. package/dist/tool-output.js +7 -7
  676. package/dist/tool.js +16 -16
  677. package/dist/types/database/migration/20261025154125_drop_session_pending.d.ts +3 -0
  678. package/dist/types/session/sql.d.ts +1 -120
  679. package/dist/usage-limits.js +93 -92
  680. package/dist/util/error-summary.js +1 -1
  681. package/dist/util/git-executable.js +3 -3
  682. package/dist/util/lazy.js +1 -1
  683. package/dist/util/slug.js +1 -1
  684. package/dist/util/token.js +1 -1
  685. package/dist/util/which.js +1 -1
  686. package/dist/util/wildcard.js +1 -1
  687. package/dist/v1/config/agent.js +3 -3
  688. package/dist/v1/config/command.js +3 -3
  689. package/dist/v1/config/mcp.js +4 -4
  690. package/dist/v1/config/migrate.js +99 -98
  691. package/dist/v1/config/permission.js +1 -1
  692. package/dist/v1/config/plugin.js +3 -3
  693. package/dist/v1/config/provider-options.js +1 -1
  694. package/dist/v1/config/provider.js +2 -2
  695. package/dist/variant.js +98 -97
  696. package/dist/vcs/patch.js +1 -1
  697. package/dist/vcs.js +96 -95
  698. package/dist/voice.js +94 -93
  699. package/dist/websearch.js +90 -89
  700. package/dist/wellknown/plugin.js +82 -81
  701. package/dist/wellknown.js +85 -84
  702. package/dist/workspace/driver.js +5 -5
  703. package/dist/workspace/sql.js +1 -1
  704. package/dist/workspace.js +88 -87
  705. package/dist/worktree/directory.js +2 -2
  706. package/dist/worktree/git.js +11 -11
  707. package/dist/worktree/sql.js +5 -5
  708. package/dist/worktree/strategies.js +96 -95
  709. package/dist/worktree.js +105 -104
  710. package/package.json +8 -8
  711. package/dist/chunks/rpc-ezna1kdx.js +0 -18
  712. package/dist/chunks/rpc-rkjq1912.js +0 -257
  713. /package/dist/chunks/{rpc-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  714. /package/dist/chunks/{rpc-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  715. /package/dist/chunks/{rpc-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  716. /package/dist/chunks/{rpc-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  717. /package/dist/chunks/{rpc-24dcb14g.js → agent-24dcb14g.js} +0 -0
  718. /package/dist/chunks/{rpc-2710q6r3.js → agent-2710q6r3.js} +0 -0
  719. /package/dist/chunks/{rpc-2bv980vf.js → agent-2bv980vf.js} +0 -0
  720. /package/dist/chunks/{rpc-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  721. /package/dist/chunks/{rpc-359p4xyc.js → agent-359p4xyc.js} +0 -0
  722. /package/dist/chunks/{rpc-3asan66x.js → agent-3asan66x.js} +0 -0
  723. /package/dist/chunks/{rpc-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  724. /package/dist/chunks/{rpc-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  725. /package/dist/chunks/{rpc-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  726. /package/dist/chunks/{rpc-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  727. /package/dist/chunks/{rpc-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  728. /package/dist/chunks/{rpc-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  729. /package/dist/chunks/{rpc-53557ph1.js → agent-53557ph1.js} +0 -0
  730. /package/dist/chunks/{rpc-550bvhaj.js → agent-550bvhaj.js} +0 -0
  731. /package/dist/chunks/{rpc-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
  732. /package/dist/chunks/{rpc-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  733. /package/dist/chunks/{rpc-6prwharc.js → agent-6prwharc.js} +0 -0
  734. /package/dist/chunks/{rpc-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  735. /package/dist/chunks/{rpc-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  736. /package/dist/chunks/{rpc-7m9af43g.js → agent-7m9af43g.js} +0 -0
  737. /package/dist/chunks/{rpc-822emrt2.js → agent-822emrt2.js} +0 -0
  738. /package/dist/chunks/{rpc-84wd9syh.js → agent-84wd9syh.js} +0 -0
  739. /package/dist/chunks/{rpc-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  740. /package/dist/chunks/{rpc-8n3pysct.js → agent-8n3pysct.js} +0 -0
  741. /package/dist/chunks/{rpc-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  742. /package/dist/chunks/{rpc-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  743. /package/dist/chunks/{rpc-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  744. /package/dist/chunks/{rpc-a058387c.js → agent-a058387c.js} +0 -0
  745. /package/dist/chunks/{rpc-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  746. /package/dist/chunks/{rpc-af5trqkr.js → agent-af5trqkr.js} +0 -0
  747. /package/dist/chunks/{rpc-afrmfg78.js → agent-afrmfg78.js} +0 -0
  748. /package/dist/chunks/{rpc-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  749. /package/dist/chunks/{rpc-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  750. /package/dist/chunks/{rpc-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  751. /package/dist/chunks/{rpc-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  752. /package/dist/chunks/{rpc-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  753. /package/dist/chunks/{rpc-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
  754. /package/dist/chunks/{rpc-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  755. /package/dist/chunks/{rpc-d9fn303g.js → agent-d9fn303g.js} +0 -0
  756. /package/dist/chunks/{rpc-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  757. /package/dist/chunks/{rpc-dajrwvna.js → agent-dajrwvna.js} +0 -0
  758. /package/dist/chunks/{rpc-dap0rakb.js → agent-dap0rakb.js} +0 -0
  759. /package/dist/chunks/{rpc-df08tz66.js → agent-df08tz66.js} +0 -0
  760. /package/dist/chunks/{rpc-dy18nga0.js → agent-dy18nga0.js} +0 -0
  761. /package/dist/chunks/{rpc-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  762. /package/dist/chunks/{rpc-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  763. /package/dist/chunks/{rpc-ec1grn59.js → agent-ec1grn59.js} +0 -0
  764. /package/dist/chunks/{rpc-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  765. /package/dist/chunks/{rpc-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  766. /package/dist/chunks/{rpc-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  767. /package/dist/chunks/{rpc-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  768. /package/dist/chunks/{rpc-faypxj3z.js → agent-faypxj3z.js} +0 -0
  769. /package/dist/chunks/{rpc-fd410y7t.js → agent-fd410y7t.js} +0 -0
  770. /package/dist/chunks/{rpc-fkpq3x5p.js → agent-fkpq3x5p.js} +0 -0
  771. /package/dist/chunks/{rpc-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  772. /package/dist/chunks/{rpc-g86h250q.js → agent-g86h250q.js} +0 -0
  773. /package/dist/chunks/{rpc-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  774. /package/dist/chunks/{rpc-gftt206x.js → agent-gftt206x.js} +0 -0
  775. /package/dist/chunks/{rpc-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  776. /package/dist/chunks/{rpc-hk9envan.js → agent-hk9envan.js} +0 -0
  777. /package/dist/chunks/{rpc-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  778. /package/dist/chunks/{rpc-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  779. /package/dist/chunks/{rpc-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  780. /package/dist/chunks/{rpc-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  781. /package/dist/chunks/{rpc-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  782. /package/dist/chunks/{rpc-jwr30sdr.js → agent-jwr30sdr.js} +0 -0
  783. /package/dist/chunks/{rpc-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  784. /package/dist/chunks/{rpc-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  785. /package/dist/chunks/{rpc-m18g726c.js → agent-m18g726c.js} +0 -0
  786. /package/dist/chunks/{rpc-mp448xyj.js → agent-mp448xyj.js} +0 -0
  787. /package/dist/chunks/{rpc-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  788. /package/dist/chunks/{rpc-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  789. /package/dist/chunks/{rpc-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  790. /package/dist/chunks/{rpc-njntx4h6.js → agent-njntx4h6.js} +0 -0
  791. /package/dist/chunks/{rpc-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  792. /package/dist/chunks/{rpc-q74kybfr.js → agent-q74kybfr.js} +0 -0
  793. /package/dist/chunks/{rpc-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  794. /package/dist/chunks/{rpc-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  795. /package/dist/chunks/{rpc-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  796. /package/dist/chunks/{rpc-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  797. /package/dist/chunks/{rpc-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  798. /package/dist/chunks/{rpc-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  799. /package/dist/chunks/{rpc-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  800. /package/dist/chunks/{rpc-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  801. /package/dist/chunks/{rpc-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  802. /package/dist/chunks/{rpc-w803qqfp.js → agent-w803qqfp.js} +0 -0
  803. /package/dist/chunks/{rpc-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  804. /package/dist/chunks/{rpc-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  805. /package/dist/chunks/{rpc-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  806. /package/dist/chunks/{rpc-wtztk69x.js → agent-wtztk69x.js} +0 -0
  807. /package/dist/chunks/{rpc-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  808. /package/dist/chunks/{rpc-x61499pn.js → agent-x61499pn.js} +0 -0
  809. /package/dist/chunks/{rpc-y44na4kk.js → agent-y44na4kk.js} +0 -0
  810. /package/dist/chunks/{rpc-y8f7s663.js → agent-y8f7s663.js} +0 -0
  811. /package/dist/chunks/{rpc-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  812. /package/dist/chunks/{rpc-ym463w8f.js → agent-ym463w8f.js} +0 -0
  813. /package/dist/chunks/{rpc-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  814. /package/dist/chunks/{rpc-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./rpc-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  Service87,
6
- node90
7
- } from "./rpc-5ra5vjeh.js";
6
+ node91
7
+ } from "./agent-35198y27.js";
8
8
  import {
9
9
  Service86,
10
- node89
11
- } from "./rpc-0k3jqzf9.js";
10
+ node90
11
+ } from "./agent-508bnh7x.js";
12
12
  import {
13
13
  Service85,
14
- node88
15
- } from "./rpc-5erj5q6b.js";
14
+ node89
15
+ } from "./agent-bmx631f3.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info29,
19
+ Info30,
20
20
  UpdateInput4,
21
21
  Event20,
22
22
  Vcs3
23
- } from "./rpc-4pnypb5f.js";
23
+ } from "./agent-a7s1nr2m.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./rpc-034tev2y.js";
27
+ } from "./agent-aj7mw0zk.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./rpc-ayjs7tqn.js";
30
+ } from "./agent-3cbjf1nt.js";
31
31
  import {
32
32
  __export
33
- } from "./rpc-9rqn6x4v.js";
33
+ } from "./agent-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info28,
39
+ ID: () => ID17,
40
+ Info: () => Info29,
41
41
  NotFoundError: () => NotFoundError12,
42
42
  Project: () => exports_project,
43
43
  Service: () => Service84,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node87,
46
+ node: () => node88,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID16 = ID17;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info28 = Info29;
62
+ var Info29 = Info30;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
65
  class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID16
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID16.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
187
187
  yield* bus.publish(Event20.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID16.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
229
229
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
239
239
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
240
240
  const resolved = {
241
241
  previous,
242
- id: id ?? ID16.global,
242
+ id: id ?? ID17.global,
243
243
  directory: repo.worktree,
244
244
  canonical,
245
245
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
264
264
  return;
265
265
  const node = result.stdout.toString("utf8").split(`
266
266
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
267
- return node ? ID16.make(node) : undefined;
267
+ return node ? ID17.make(node) : undefined;
268
268
  });
269
269
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
270
270
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
272
272
  const id = previous ?? (yield* hgRoot(worktree));
273
273
  return {
274
274
  previous,
275
- id: id ?? ID16.global,
275
+ id: id ?? ID17.global,
276
276
  directory: worktree,
277
277
  vcs: { type: "hg", store: dotHg }
278
278
  };
@@ -299,7 +299,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
299
299
  });
300
300
  }
301
301
  return yield* save({
302
- id: ID16.make(Hash.fast(`directory:${directory}`)),
302
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
303
303
  directory,
304
304
  canonical: directory,
305
305
  vcs: undefined
@@ -308,7 +308,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
308
308
  const sweep = Effect.fn("Project.sweep")(function* () {
309
309
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
310
310
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
311
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
311
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
312
312
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
313
313
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
314
314
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -326,10 +326,10 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
326
326
  });
327
327
  return Service84.of({ list, update, activate, resolve, sweep });
328
328
  }));
329
- var node87 = makeGlobalNode({
329
+ var node88 = makeGlobalNode({
330
330
  service: Service84,
331
331
  layer,
332
- deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
332
+ deps: [node90, node91, FSUtil.node, node89, AppProcess.node]
333
333
  });
334
334
  var sweepNode2 = makeGlobalNode({
335
335
  name: "project-archive-sweep",
@@ -337,7 +337,7 @@ var sweepNode2 = makeGlobalNode({
337
337
  const project = yield* Service84;
338
338
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
339
339
  })),
340
- deps: [node87]
340
+ deps: [node88]
341
341
  });
342
342
 
343
- export { ID16, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service84, node87, sweepNode2, exports_project };
343
+ export { ID17, Vcs2, Current2, Info29, UpdateInput3, NotFoundError12, root2, Service84, node88, sweepNode2, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./rpc-z5v4ffb3.js";
5
+ } from "./agent-z5v4ffb3.js";
6
6
  import {
7
7
  Service83,
8
- node86
9
- } from "./rpc-n2165afj.js";
8
+ node87
9
+ } from "./agent-1vztwarw.js";
10
10
  import {
11
- Service37,
12
- node40
13
- } from "./rpc-46astgjy.js";
11
+ Service79,
12
+ node82
13
+ } from "./agent-w162aavb.js";
14
14
  import {
15
15
  __export
16
- } from "./rpc-9rqn6x4v.js";
16
+ } from "./agent-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event5,
27
+ Event: () => Event19,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError4,
34
- Service: () => Service36,
33
+ NotFoundError: () => NotFoundError11,
34
+ Service: () => Service78,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node39
37
+ node: () => node81
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError11 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content2 = Schema.Struct({
68
+ var Content3 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event5 = FileSystem.Event;
95
+ var Event19 = FileSystem.Event;
96
96
 
97
- class Service36 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service78 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service78, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
101
  const location = yield* Service83;
102
- const search = yield* Service37;
102
+ const search = yield* Service79;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError4({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError11({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError4({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError11({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError11({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError4({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError11({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service36.of({
121
+ return Service78.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError11({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError4({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError11({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError11({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node39 = makeLocationNode({
162
- service: Service36,
161
+ var node81 = makeLocationNode({
162
+ service: Service78,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node40]
164
+ deps: [FSUtil.node, node87, node82]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service36, node39, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError11, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service78, node81, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  Service59
3
- } from "./rpc-8s627est.js";
3
+ } from "./agent-2y49s4ck.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./rpc-z5v4ffb3.js";
6
+ } from "./agent-z5v4ffb3.js";
7
7
  import {
8
8
  Service83
9
- } from "./rpc-n2165afj.js";
9
+ } from "./agent-1vztwarw.js";
10
10
  import {
11
11
  Service58
12
- } from "./rpc-fjqb86s3.js";
12
+ } from "./agent-d9b58nj2.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./rpc-tdzaayr8.js";
17
+ } from "./agent-xbymdpda.js";
18
18
  import {
19
- Service6
20
- } from "./rpc-smfcvx02.js";
19
+ Service12
20
+ } from "./agent-r4pwrx75.js";
21
21
  import {
22
22
  parse2
23
- } from "./rpc-t12v43rg.js";
23
+ } from "./agent-f8mfn80p.js";
24
24
  import {
25
25
  ignore2,
26
26
  scan2
27
- } from "./rpc-nah043kf.js";
27
+ } from "./agent-nah043kf.js";
28
28
  import {
29
29
  __export
30
- } from "./rpc-9rqn6x4v.js";
30
+ } from "./agent-9rqn6x4v.js";
31
31
 
32
32
  // src/config/plugin/skill.ts
33
33
  var exports_skill = {};
34
34
  __export(exports_skill, {
35
35
  ConfigSkillPlugin: () => exports_skill,
36
- Plugin: () => Plugin16
36
+ Plugin: () => Plugin12
37
37
  });
38
38
  import { define } from "@opencode/plugin/effect/plugin";
39
39
  import { FSUtil } from "@opencode/util/fs-util";
40
40
  import { Global } from "@opencode/util/global";
41
41
  import path from "path";
42
42
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
43
- var Plugin16 = define({
43
+ var Plugin12 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
46
  const config = yield* Service58;
47
- const discovery = yield* Service6;
47
+ const discovery = yield* Service12;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
50
  const location = yield* Service83;
@@ -179,4 +179,4 @@ var Plugin16 = define({
179
179
  })
180
180
  });
181
181
 
182
- export { Plugin16, exports_skill };
182
+ export { Plugin12, exports_skill };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./rpc-wakvkjy4.js";
4
+ } from "./agent-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./rpc-qfa1cgps.js";
7
+ } from "./agent-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./rpc-034tev2y.js";
10
+ } from "./agent-aj7mw0zk.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -67,19 +67,6 @@ var SessionMessageTable2 = sqliteTable("session_message", {
67
67
  index("session_message_session_time_created_id_idx").on(table.session_id, table.time_created, table.id),
68
68
  index("session_message_time_created_idx").on(table.time_created)
69
69
  ]);
70
- var SessionPendingTable2 = sqliteTable("session_pending", {
71
- id: text().$type().primaryKey(),
72
- session_id: text().$type().notNull().references(() => SessionTable2.id, { onDelete: "cascade" }),
73
- type: text().$type().notNull(),
74
- data: text({ mode: "json" }).$type().notNull(),
75
- delivery: text().$type(),
76
- admitted_seq: integer().notNull(),
77
- time_created: integer().notNull().$default(() => Date.now())
78
- }, (table) => [
79
- index("session_pending_session_delivery_seq_idx").on(table.session_id, table.delivery, table.admitted_seq),
80
- uniqueIndex("session_pending_session_compaction_idx").on(table.session_id).where(sql`${table.type} = 'compaction'`),
81
- uniqueIndex("session_pending_session_admitted_seq_idx").on(table.session_id, table.admitted_seq)
82
- ]);
83
70
  var SessionInboxTable2 = sqliteTable("session_inbox", {
84
71
  id: text().$type().primaryKey(),
85
72
  session_id: text().$type().notNull().references(() => SessionTable2.id, { onDelete: "cascade" }),
@@ -130,4 +117,4 @@ var BlobRefTable2 = sqliteTable("blob_ref", {
130
117
  index("blob_ref_session_seq_idx").on(table.session_id, table.seq)
131
118
  ]);
132
119
 
133
- export { SessionTable2, SessionMessageTable2, SessionPendingTable2, SessionInboxTable2, InstructionEntryTable2, InstructionBlobTable2, InstructionStateTable2, BlobTable2, BlobRefTable2 };
120
+ export { SessionTable2, SessionMessageTable2, SessionInboxTable2, InstructionEntryTable2, InstructionBlobTable2, InstructionStateTable2, BlobTable2, BlobRefTable2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service86
3
- } from "./rpc-0k3jqzf9.js";
3
+ } from "./agent-508bnh7x.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./rpc-cjszy3qj.js";
6
+ } from "./agent-y3h8fq5y.js";
7
7
  import {
8
- Service18,
9
- Event3
10
- } from "./rpc-k1jg2ba5.js";
8
+ Service14,
9
+ Event2
10
+ } from "./agent-y7a54drw.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -39,7 +39,7 @@ var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
39
39
  var ModelsDevPlugin2 = define({
40
40
  id: "opencode.models.dev",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const modelsDev = yield* Service18;
42
+ const modelsDev = yield* Service14;
43
43
  const bus = yield* Service86;
44
44
  const loaded = { data: snapshots(yield* modelsDev.get()) };
45
45
  yield* ctx.integration.transform((integrations) => {
@@ -73,7 +73,7 @@ var ModelsDevPlugin2 = define({
73
73
  loaded.data = snapshots(data);
74
74
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
75
75
  };
76
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
77
77
  const latest = yield* modelsDev.get();
78
78
  if (snapshots(latest) !== loaded.data)
79
79
  yield* apply(latest);
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  BlobTable2
3
- } from "./rpc-tkn93vs5.js";
3
+ } from "./agent-ep59zg61.js";
4
4
  import {
5
5
  refHash2,
6
6
  FileRef2,
7
7
  ToolFileRef2
8
- } from "./rpc-ks6g0x1g.js";
8
+ } from "./agent-ks6g0x1g.js";
9
9
  import {
10
10
  __export
11
- } from "./rpc-9rqn6x4v.js";
11
+ } from "./agent-9rqn6x4v.js";
12
12
 
13
13
  // src/session/blob.ts
14
14
  var exports_blob = {};
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./agent-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service41,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service41 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service41.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service41, awaitActivation2, exports_service };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./rpc-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  Service83
6
- } from "./rpc-n2165afj.js";
6
+ } from "./agent-1vztwarw.js";
7
7
  import {
8
- Service13
9
- } from "./rpc-7gn1c7q5.js";
8
+ Service25
9
+ } from "./agent-rxp322v2.js";
10
10
  import {
11
- Service8
12
- } from "./rpc-5w6e6t6m.js";
11
+ Service10
12
+ } from "./agent-bqje3trr.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./rpc-zkg84ctx.js";
15
+ } from "./agent-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service27
26
- } from "./rpc-ge6kdzsz.js";
25
+ Service34
26
+ } from "./agent-3hekd5hc.js";
27
27
  import {
28
28
  __export
29
- } from "./rpc-9rqn6x4v.js";
29
+ } from "./agent-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input4,
35
- Plugin: () => Plugin21,
34
+ Input: () => Input2,
35
+ Plugin: () => Plugin19,
36
36
  ReadTool: () => exports_read,
37
- name: () => name4,
38
- toModelContent: () => toModelContent3
37
+ name: () => name2,
38
+ toModelContent: () => toModelContent2
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai/effect";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name4 = "read";
44
+ var name2 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input4 = LocationInput;
55
+ var Input2 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin21 = {
57
+ var Plugin19 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service27;
61
- const access = yield* Service13;
62
- const sessionInstructions = yield* Service8;
60
+ const reader = yield* Service34;
61
+ const access = yield* Service25;
62
+ const sessionInstructions = yield* Service10;
63
63
  const fs = yield* FSUtil.Service;
64
64
  const location = yield* Service83;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name4,
66
+ name: name2,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input4,
69
+ input: Input2,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin21 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent3(result.path, input.offset, result.output),
113
+ content: toModelContent2(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent3 = (path, offset, output) => {
146
+ var toModelContent2 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name4, Input4, Plugin21, toModelContent3, exports_read };
182
+ export { name2, Input2, Plugin19, toModelContent2, exports_read };