@opencode/core 0.0.0-dev-19862 → 0.0.0-dev-19863

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{image-0yqcp4rf.js → file-access-06pazpd1.js} +8 -8
  8. package/dist/chunks/{image-9ce3ycbs.js → file-access-07xdjdg8.js} +20 -20
  9. package/dist/chunks/{image-vkw8r1eq.js → file-access-07z80f2r.js} +36 -36
  10. package/dist/chunks/{image-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{image-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{image-638tecg7.js → file-access-0qthdtb2.js} +35 -35
  13. package/dist/chunks/{image-fdms3n6w.js → file-access-11dqjexa.js} +2 -2
  14. package/dist/chunks/{image-f2n192rq.js → file-access-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{image-73tb2d7t.js → file-access-1bbkgx8g.js} +3 -3
  16. package/dist/chunks/{image-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{image-c6s8nrx6.js → file-access-1vvm1q8g.js} +16 -16
  18. package/dist/chunks/{image-1ygqh575.js → file-access-1ygqh575.js} +2 -2
  19. package/dist/chunks/{image-85v7x7ja.js → file-access-21mxbb5z.js} +8 -8
  20. package/dist/chunks/{image-21r38tys.js → file-access-21r38tys.js} +1 -1
  21. package/dist/chunks/{image-2402vzrj.js → file-access-2402vzrj.js} +1 -1
  22. package/dist/chunks/{image-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{image-p6ztvwk7.js → file-access-2b61h377.js} +21 -21
  24. package/dist/chunks/{image-tf68swts.js → file-access-2ehxpneg.js} +7 -7
  25. package/dist/chunks/{image-tjedn1bk.js → file-access-2k71kv7p.js} +4 -4
  26. package/dist/chunks/{image-bernzkb8.js → file-access-2t5vnt8a.js} +3 -3
  27. package/dist/chunks/{image-5z7jsfn8.js → file-access-320sf96d.js} +14 -14
  28. package/dist/chunks/{image-99rss5sz.js → file-access-32dd2556.js} +11 -11
  29. package/dist/chunks/{image-nrth0by3.js → file-access-33kn07h9.js} +23 -23
  30. package/dist/chunks/{image-f62qkzqr.js → file-access-3801kdgp.js} +5 -5
  31. package/dist/chunks/{image-mjqa8qhd.js → file-access-3e46v5sb.js} +11 -11
  32. package/dist/chunks/{image-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{image-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{image-gxhy3et5.js → file-access-3kd4kkpe.js} +24 -24
  35. package/dist/chunks/{image-1gsqt67b.js → file-access-3mkra18j.js} +68 -68
  36. package/dist/chunks/{image-5d0yg4wn.js → file-access-3r15nznh.js} +2 -2
  37. package/dist/chunks/{image-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{image-xq3m7g0t.js → file-access-3t104818.js} +14 -14
  39. package/dist/chunks/{image-fkjmw100.js → file-access-3tq5qxbk.js} +4 -4
  40. package/dist/chunks/{image-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{image-a2kgmd7p.js → file-access-429753mr.js} +11 -11
  42. package/dist/chunks/{image-067aw8zg.js → file-access-4cd0e9e2.js} +3 -3
  43. package/dist/chunks/{image-skc6rhzm.js → file-access-4fqyk320.js} +5 -5
  44. package/dist/chunks/{image-3yt543f6.js → file-access-4fxenty0.js} +15 -15
  45. package/dist/chunks/{image-b07nf375.js → file-access-4r3fv45v.js} +8 -8
  46. package/dist/chunks/{image-7d2amvh8.js → file-access-50ta80k7.js} +33 -33
  47. package/dist/chunks/{image-6tz160f2.js → file-access-539f8y6e.js} +30 -30
  48. package/dist/chunks/{image-sxec3bmh.js → file-access-55bxwjz5.js} +6 -6
  49. package/dist/chunks/{image-drwq78ky.js → file-access-57b9ws8p.js} +5 -5
  50. package/dist/chunks/{image-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
  51. package/dist/chunks/{image-cejtc14z.js → file-access-587z1aba.js} +34 -34
  52. package/dist/chunks/{image-5c4hm403.js → file-access-5c4hm403.js} +3 -3
  53. package/dist/chunks/{image-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  54. package/dist/chunks/{image-1wwfc5vj.js → file-access-5dkxrwgc.js} +25 -25
  55. package/dist/chunks/{image-sbprf0jz.js → file-access-5hrwwz9b.js} +7 -7
  56. package/dist/chunks/{image-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{image-5g8m5wq5.js → file-access-633q10n3.js} +6 -6
  58. package/dist/chunks/{image-xgge5cv0.js → file-access-65amc4wc.js} +17 -17
  59. package/dist/chunks/{image-669tq793.js → file-access-669tq793.js} +1 -1
  60. package/dist/chunks/{image-3r85b2d0.js → file-access-6br953sr.js} +4 -4
  61. package/dist/chunks/{image-7aedyf8y.js → file-access-6f0f4x0a.js} +9 -9
  62. package/dist/chunks/{image-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{image-bqc3tr0a.js → file-access-6ngywp90.js} +4 -4
  64. package/dist/chunks/{image-v2zqrnxe.js → file-access-6ra6d4eb.js} +17 -17
  65. package/dist/chunks/{image-yzagyf8k.js → file-access-71wn7kdp.js} +27 -27
  66. package/dist/chunks/{image-kad21c22.js → file-access-73j3stez.js} +22 -22
  67. package/dist/chunks/{image-g1sxm558.js → file-access-73kdj4zj.js} +8 -8
  68. package/dist/chunks/{image-qrwkhvtb.js → file-access-749gjf0k.js} +1 -1
  69. package/dist/chunks/{image-3kkyct8v.js → file-access-753eeyv7.js} +17 -17
  70. package/dist/chunks/{image-mqxcq9ag.js → file-access-76eeqvp0.js} +6 -6
  71. package/dist/chunks/{image-kxr8hxb3.js → file-access-76fbbr1w.js} +30 -30
  72. package/dist/chunks/{image-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{image-tdak43y4.js → file-access-7bvyxnqv.js} +1 -1
  74. package/dist/chunks/{image-qgn6gcr1.js → file-access-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{image-q4w4v6pe.js → file-access-7nag52br.js} +15 -15
  76. package/dist/chunks/{image-kvjzkr2v.js → file-access-7qdpe4cb.js} +9 -9
  77. package/dist/chunks/{image-nfq1y937.js → file-access-7rhez3ay.js} +13 -13
  78. package/dist/chunks/{image-n3z0jc6w.js → file-access-7vxmp99d.js} +9 -9
  79. package/dist/chunks/file-access-7wwxh8rt.js +252 -0
  80. package/dist/chunks/{image-pnjgrh73.js → file-access-80vay0ye.js} +5 -5
  81. package/dist/chunks/{image-68cpew65.js → file-access-83whvwx3.js} +14 -14
  82. package/dist/chunks/{image-3aa5s156.js → file-access-84b5617d.js} +5 -5
  83. package/dist/chunks/{image-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{image-fqzse3my.js → file-access-8dh3tjm7.js} +1 -1
  85. package/dist/chunks/{image-03bdbrz9.js → file-access-8e2h7wda.js} +5 -5
  86. package/dist/chunks/{image-xg72hxr1.js → file-access-8jkn9f9x.js} +11 -11
  87. package/dist/chunks/{image-b93h32n1.js → file-access-8mp2c53x.js} +40 -40
  88. package/dist/chunks/{image-q00xwa84.js → file-access-8p86mmx1.js} +46 -46
  89. package/dist/chunks/{image-0gr7cw0d.js → file-access-8s8mxddj.js} +4 -4
  90. package/dist/chunks/{image-b6xhrpje.js → file-access-8wtbgtx1.js} +6 -6
  91. package/dist/chunks/{image-kxftmbpv.js → file-access-973t1awa.js} +9 -9
  92. package/dist/chunks/{image-wxffcvth.js → file-access-984xje6x.js} +3 -3
  93. package/dist/chunks/{image-w6ngjk0y.js → file-access-990r0brb.js} +33 -33
  94. package/dist/chunks/{image-sxzca6gj.js → file-access-99sjx0yd.js} +24 -24
  95. package/dist/chunks/{image-mx9vqzsb.js → file-access-9gea571p.js} +6 -6
  96. package/dist/chunks/{image-p37cw4rj.js → file-access-9hn6k4tm.js} +8 -8
  97. package/dist/chunks/{image-9ad2hkyv.js → file-access-9z5eege9.js} +9 -9
  98. package/dist/chunks/{image-t71v2ka4.js → file-access-a694798e.js} +5 -5
  99. package/dist/chunks/{image-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  100. package/dist/chunks/{image-tv92y52x.js → file-access-acgtajkt.js} +25 -25
  101. package/dist/chunks/{image-rp8s9nv0.js → file-access-ajspsemm.js} +13 -13
  102. package/dist/chunks/{image-h9q6ezy0.js → file-access-amt0nx1c.js} +8 -8
  103. package/dist/chunks/{image-r9ajpy6d.js → file-access-anf4g2xw.js} +20 -20
  104. package/dist/chunks/{image-pwh698z3.js → file-access-aymn0ca3.js} +117 -117
  105. package/dist/chunks/{image-ky3seynh.js → file-access-b09hzw3k.js} +2 -2
  106. package/dist/chunks/{image-1hc7fkrj.js → file-access-b6ae6k6t.js} +14 -14
  107. package/dist/chunks/{image-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{image-hgbj0d9k.js → file-access-b91g9yem.js} +25 -25
  109. package/dist/chunks/{image-rjmnh9z2.js → file-access-b9kgzdcb.js} +3 -3
  110. package/dist/chunks/{image-j88pc17k.js → file-access-bb29ry6c.js} +2 -2
  111. package/dist/chunks/{image-htj8j8jj.js → file-access-bdqw341w.js} +6 -6
  112. package/dist/chunks/{image-e0t237xz.js → file-access-bjr5keq3.js} +24 -24
  113. package/dist/chunks/{image-4na7n5g4.js → file-access-bqgqs8e0.js} +10 -10
  114. package/dist/chunks/{image-ran5413e.js → file-access-bwckxjxx.js} +11 -11
  115. package/dist/chunks/{image-n6m7m23y.js → file-access-by699wbx.js} +31 -31
  116. package/dist/chunks/{image-af4zwpq7.js → file-access-c1bpz4ww.js} +13 -13
  117. package/dist/chunks/{image-rt3jmkn7.js → file-access-c1gs3dh6.js} +17 -17
  118. package/dist/chunks/{image-evbgk2k8.js → file-access-c78bbtc9.js} +5 -5
  119. package/dist/chunks/{image-13w8yp4j.js → file-access-cdafskgp.js} +30 -30
  120. package/dist/chunks/{image-hh7bdvx5.js → file-access-cfvwxf1e.js} +42 -42
  121. package/dist/chunks/{image-ngbz3444.js → file-access-cg505evj.js} +7 -7
  122. package/dist/chunks/{image-tyn1d5dz.js → file-access-cjdw8dac.js} +6 -6
  123. package/dist/chunks/{image-2sejkfem.js → file-access-cpneeje0.js} +9 -9
  124. package/dist/chunks/{image-0vhbx82e.js → file-access-cpzp4n4f.js} +22 -22
  125. package/dist/chunks/{image-jh2v76ff.js → file-access-ct4e4g17.js} +16 -16
  126. package/dist/chunks/{image-dq8pkjkv.js → file-access-cv01vac5.js} +7 -7
  127. package/dist/chunks/{image-nrjct5b1.js → file-access-d4we50a8.js} +5 -5
  128. package/dist/chunks/{image-5j3zvexf.js → file-access-d6n1kzbs.js} +22 -22
  129. package/dist/chunks/{image-pkjmx7wp.js → file-access-ddbmfv8e.js} +28 -28
  130. package/dist/chunks/{image-dj2t23y0.js → file-access-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{image-139d9d1s.js → file-access-dkycemac.js} +11 -11
  132. package/dist/chunks/{image-0835j86p.js → file-access-dmaq6vaq.js} +15 -15
  133. package/dist/chunks/{image-b8f7f8xf.js → file-access-dnwybsw8.js} +13 -13
  134. package/dist/chunks/{image-y71avatq.js → file-access-dpkg50ah.js} +4 -4
  135. package/dist/chunks/file-access-dxj72tfx.js +18 -0
  136. package/dist/chunks/{image-9qe4ywed.js → file-access-dycq19tv.js} +13 -13
  137. package/dist/chunks/{image-b28k5m4e.js → file-access-e4kmf4qy.js} +6 -6
  138. package/dist/chunks/{image-0r7yqxbf.js → file-access-e6hmchc5.js} +5 -5
  139. package/dist/chunks/{image-nrzntby6.js → file-access-e7fqda9w.js} +8 -8
  140. package/dist/chunks/{image-z87bkmq3.js → file-access-e7rbx3sh.js} +11 -11
  141. package/dist/chunks/{image-83v9k6gb.js → file-access-ed2prt79.js} +18 -18
  142. package/dist/chunks/{image-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{image-zmwmypjm.js → file-access-ehm8cjhm.js} +8 -8
  144. package/dist/chunks/{image-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
  145. package/dist/chunks/{image-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{image-392652w7.js → file-access-f29kztmg.js} +32 -32
  147. package/dist/chunks/{image-bm9qws1e.js → file-access-f4kahraq.js} +33 -33
  148. package/dist/chunks/{image-t1kw6d74.js → file-access-f6gdkqfj.js} +6 -6
  149. package/dist/chunks/{image-dqswddfv.js → file-access-f71ryja2.js} +8 -8
  150. package/dist/chunks/{image-kne8f3cn.js → file-access-f73rjn58.js} +4 -4
  151. package/dist/chunks/{image-z8vpew82.js → file-access-fa4s9qj6.js} +3 -3
  152. package/dist/chunks/{image-wcge806m.js → file-access-fab8hzt3.js} +4 -4
  153. package/dist/chunks/{image-4hka8bb7.js → file-access-fekv09bf.js} +78 -78
  154. package/dist/chunks/{image-qeyp0y11.js → file-access-fgdyrx1e.js} +20 -20
  155. package/dist/chunks/{image-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{image-6sw2gfph.js → file-access-fyfy8w34.js} +77 -77
  157. package/dist/chunks/{image-75m48y27.js → file-access-g64s1pw7.js} +5 -5
  158. package/dist/chunks/{image-63t418ew.js → file-access-g7tjr95a.js} +7 -7
  159. package/dist/chunks/{image-63zzvet4.js → file-access-g8mfynjh.js} +5 -5
  160. package/dist/chunks/{image-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{image-k18ytf7m.js → file-access-gg9g55xx.js} +8 -8
  162. package/dist/chunks/{image-sv75xz9r.js → file-access-ghfx7cxe.js} +4 -4
  163. package/dist/chunks/{image-0k7qqwr6.js → file-access-gmdq7e7c.js} +16 -16
  164. package/dist/chunks/{image-6vjyz34s.js → file-access-gqx40acz.js} +26 -26
  165. package/dist/chunks/{image-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{image-xn9jxgmv.js → file-access-h2r7bbkd.js} +8 -8
  167. package/dist/chunks/{image-h6r3nrb9.js → file-access-h6r3nrb9.js} +1 -1
  168. package/dist/chunks/{image-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{image-q7h916em.js → file-access-hbffz1ak.js} +15 -15
  170. package/dist/chunks/{image-mfqth6d2.js → file-access-hcjxfz2r.js} +2 -2
  171. package/dist/chunks/{image-hdnk95c8.js → file-access-hdnk95c8.js} +2 -2
  172. package/dist/chunks/{image-zas2m743.js → file-access-hjc52t7v.js} +16 -16
  173. package/dist/chunks/{image-nh62er5d.js → file-access-hmdtv3hb.js} +1 -1
  174. package/dist/chunks/{image-06pxfyz9.js → file-access-hnxgzxxa.js} +7 -7
  175. package/dist/chunks/{image-dc3m2m7k.js → file-access-hp80zfgt.js} +14 -14
  176. package/dist/chunks/{image-r4f58m0w.js → file-access-hqe9mxx7.js} +9 -9
  177. package/dist/chunks/{image-achqs0ef.js → file-access-hs4q6rma.js} +43 -43
  178. package/dist/chunks/{image-6nt0tvrw.js → file-access-hx57yszd.js} +12 -12
  179. package/dist/chunks/{image-fx36as45.js → file-access-j20k1wmq.js} +9 -9
  180. package/dist/chunks/{image-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  181. package/dist/chunks/{image-8n5c03n1.js → file-access-j81snqjq.js} +31 -31
  182. package/dist/chunks/{image-pt3jfr41.js → file-access-j8zzr2am.js} +6 -6
  183. package/dist/chunks/{image-c488s98d.js → file-access-jf9anmv7.js} +5 -5
  184. package/dist/chunks/{image-pkww5a5n.js → file-access-jjfctqnb.js} +16 -16
  185. package/dist/chunks/{image-c08p7789.js → file-access-jk18z2h0.js} +43 -43
  186. package/dist/chunks/{image-kvvk39gs.js → file-access-jw80jp6b.js} +4 -4
  187. package/dist/chunks/{image-sacqr7ez.js → file-access-k6fwxkkf.js} +9 -9
  188. package/dist/chunks/{image-e1fwdt11.js → file-access-k99v8nfg.js} +13 -13
  189. package/dist/chunks/{image-m0jqrx5p.js → file-access-m0jqrx5p.js} +2 -2
  190. package/dist/chunks/{image-0vrssnk3.js → file-access-m0t09dx6.js} +11 -11
  191. package/dist/chunks/{image-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{image-t0jj3952.js → file-access-m8pm17pr.js} +13 -13
  193. package/dist/chunks/{image-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{image-jhgm4sfk.js → file-access-mh6swfa3.js} +18 -18
  195. package/dist/chunks/{image-06dxphr1.js → file-access-msq0jde0.js} +4 -4
  196. package/dist/chunks/{image-q400cd05.js → file-access-myjzxhnr.js} +11 -11
  197. package/dist/chunks/{image-cd64px2y.js → file-access-na55b3aj.js} +24 -24
  198. package/dist/chunks/{image-rvtsy6rd.js → file-access-nbbbac21.js} +5 -5
  199. package/dist/chunks/{image-ytcdzptk.js → file-access-nhy1v657.js} +19 -19
  200. package/dist/chunks/{image-hmfwemxz.js → file-access-nnbww75a.js} +20 -20
  201. package/dist/chunks/{image-bs4dv3xv.js → file-access-nvyr67dc.js} +2 -2
  202. package/dist/chunks/{image-3mqaq5np.js → file-access-nzh1nzfe.js} +7 -7
  203. package/dist/chunks/{image-nzks3jc8.js → file-access-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{image-jcm0a15m.js → file-access-p20b49vp.js} +13 -13
  205. package/dist/chunks/{image-tbz0fdvh.js → file-access-p28j5sbe.js} +5 -5
  206. package/dist/chunks/{image-vn3t7c0f.js → file-access-p789xr5w.js} +20 -20
  207. package/dist/chunks/{image-s8zy8myc.js → file-access-pecb0brz.js} +5 -5
  208. package/dist/chunks/{image-00qecwt6.js → file-access-pgd7th8y.js} +25 -25
  209. package/dist/chunks/{image-aa59mvw4.js → file-access-pjk7etnw.js} +3 -3
  210. package/dist/chunks/{image-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{image-pknna89w.js → file-access-pknna89w.js} +1 -1
  212. package/dist/chunks/{image-7hed1pqr.js → file-access-psbckgmn.js} +9 -9
  213. package/dist/chunks/{image-bz85s9hh.js → file-access-pstg3rfm.js} +1 -1
  214. package/dist/chunks/{image-ghg8jnyk.js → file-access-pykkax91.js} +3 -3
  215. package/dist/chunks/{image-ajycawkw.js → file-access-q2fxn82f.js} +1 -1
  216. package/dist/chunks/{image-brs92t9y.js → file-access-q77h0pfr.js} +1 -1
  217. package/dist/chunks/{image-tgf2ymth.js → file-access-qb83d845.js} +4 -4
  218. package/dist/chunks/{image-n58zg6xk.js → file-access-qbw71bk2.js} +4 -4
  219. package/dist/chunks/{image-r3qstv61.js → file-access-qs81an5k.js} +10 -10
  220. package/dist/chunks/{image-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  221. package/dist/chunks/{image-b92qxpxf.js → file-access-qsm0cf7x.js} +2 -2
  222. package/dist/chunks/{image-pm6agkr2.js → file-access-qwc1ntf4.js} +25 -25
  223. package/dist/chunks/{image-q0sffv6r.js → file-access-qy4kp7rq.js} +12 -12
  224. package/dist/chunks/{image-cnnrtqe3.js → file-access-qzhf7ync.js} +4 -4
  225. package/dist/chunks/{image-mz8r1y5r.js → file-access-r55eyngd.js} +21 -21
  226. package/dist/chunks/{image-939qrfm7.js → file-access-r5vpk0b1.js} +4 -4
  227. package/dist/chunks/{image-ze5v0a14.js → file-access-r9t00hsy.js} +8 -8
  228. package/dist/chunks/{image-am6ahzm8.js → file-access-rdqmx1a9.js} +15 -15
  229. package/dist/chunks/{image-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{image-rhjbct0v.js → file-access-rhjbct0v.js} +1 -1
  231. package/dist/chunks/{image-pgj5ednv.js → file-access-s138ptrs.js} +8 -8
  232. package/dist/chunks/{image-gnf9d3h8.js → file-access-sgyk931h.js} +29 -29
  233. package/dist/chunks/{image-k7w7z65h.js → file-access-sr7sk3ee.js} +27 -27
  234. package/dist/chunks/{image-sfky6qr3.js → file-access-t68dv28a.js} +16 -16
  235. package/dist/chunks/{image-j83byb14.js → file-access-t9zs3egg.js} +4 -4
  236. package/dist/chunks/{image-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{image-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{image-tdstcens.js → file-access-tdstcens.js} +1 -1
  239. package/dist/chunks/{image-017kf9ys.js → file-access-tqxh9sy6.js} +8 -8
  240. package/dist/chunks/{image-vsdc7arw.js → file-access-tr06x23f.js} +9 -9
  241. package/dist/chunks/{image-he6r5g0j.js → file-access-tr6q4q7a.js} +288 -288
  242. package/dist/chunks/{image-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  243. package/dist/chunks/{image-edrmdtr5.js → file-access-v5dkyp31.js} +7 -7
  244. package/dist/chunks/{image-xsc8q09n.js → file-access-v9n4nm77.js} +9 -9
  245. package/dist/chunks/{image-rg7f2efc.js → file-access-vaxycq8g.js} +4 -4
  246. package/dist/chunks/{image-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  247. package/dist/chunks/{image-ck7eh7w1.js → file-access-vnk9czdx.js} +1 -1
  248. package/dist/chunks/{image-bfxp4173.js → file-access-vykcaabf.js} +6 -6
  249. package/dist/chunks/{image-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{image-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{image-sm965ndy.js → file-access-w3x9v1nk.js} +8 -8
  252. package/dist/chunks/{image-0jk763hn.js → file-access-w4arg62q.js} +6 -6
  253. package/dist/chunks/{image-a5tpsryw.js → file-access-w66yan3f.js} +24 -24
  254. package/dist/chunks/file-access-w7r2hqeb.js +26 -0
  255. package/dist/chunks/{image-0da5p1c1.js → file-access-wargq46t.js} +6 -6
  256. package/dist/chunks/{image-wd87259q.js → file-access-wd87259q.js} +1 -1
  257. package/dist/chunks/{image-2dtaqj3b.js → file-access-wqbdqa8s.js} +5 -5
  258. package/dist/chunks/{image-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{image-nswb885p.js → file-access-x343n0eb.js} +3 -3
  260. package/dist/chunks/{image-k3myxckw.js → file-access-x5wzxpg9.js} +15 -15
  261. package/dist/chunks/{image-15ys8njn.js → file-access-x822bj3k.js} +11 -11
  262. package/dist/chunks/{image-fxmgg4aj.js → file-access-x9mtwtp0.js} +4 -4
  263. package/dist/chunks/{image-8m5p3kak.js → file-access-xc4ptd00.js} +25 -25
  264. package/dist/chunks/{image-1nnxksmf.js → file-access-xdbpqf0a.js} +47 -47
  265. package/dist/chunks/{image-qg0jgkcp.js → file-access-xk747vep.js} +9 -9
  266. package/dist/chunks/{image-vasy7518.js → file-access-xkezg9v4.js} +28 -28
  267. package/dist/chunks/{image-54mjtcx2.js → file-access-xw30s5m2.js} +18 -18
  268. package/dist/chunks/{image-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{image-80xnw93e.js → file-access-y47hdg98.js} +23 -23
  270. package/dist/chunks/{image-xxynqx5z.js → file-access-y6f0p4jw.js} +3 -3
  271. package/dist/chunks/{image-5gjsyccn.js → file-access-y6kaprky.js} +13 -13
  272. package/dist/chunks/{image-q2r517dv.js → file-access-ymhwy2dz.js} +26 -26
  273. package/dist/chunks/{image-hebcgj7p.js → file-access-ymy3mzn4.js} +8 -8
  274. package/dist/chunks/{image-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{image-yrznvahk.js → file-access-yrznvahk.js} +2 -2
  276. package/dist/chunks/{image-t07e46qc.js → file-access-yw9d9gv0.js} +11 -11
  277. package/dist/chunks/{image-znaqxw55.js → file-access-ywtj6b3p.js} +34 -34
  278. package/dist/chunks/{image-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{image-z63w68vq.js → file-access-z63w68vq.js} +2 -2
  280. package/dist/chunks/{image-vkxy7ybf.js → file-access-z6as0dsg.js} +6 -6
  281. package/dist/chunks/{image-8nf7zb52.js → file-access-zbcka3qa.js} +3 -3
  282. package/dist/chunks/{image-vnbqqzsm.js → file-access-zbt6ewdw.js} +10 -10
  283. package/dist/chunks/{image-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{image-9r51n9hr.js → file-access-zkhjfb6b.js} +6 -6
  285. package/dist/chunks/{image-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{image-yhywrrja.js → file-access-zrbnsv4e.js} +15 -15
  287. package/dist/chunks/{image-bakjtvbk.js → file-access-zvph5cmm.js} +21 -21
  288. package/dist/chunks/{image-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +72 -72
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +69 -69
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +75 -75
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +130 -130
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +80 -80
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +74 -74
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +95 -95
  479. package/dist/model.js +89 -89
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +106 -106
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +5 -5
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +119 -119
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +73 -73
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +345 -345
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +2 -2
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +6 -6
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +79 -79
  560. package/dist/provider.js +88 -88
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +86 -86
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +219 -219
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +127 -127
  594. package/dist/session/projector.js +83 -83
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +213 -213
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +213 -213
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +100 -100
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +113 -113
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +6 -6
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +77 -77
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +78 -78
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/image-bva6afj8.js +0 -252
  695. package/dist/chunks/image-nnk2tvfv.js +0 -26
  696. package/dist/chunks/image-v1faaxn9.js +0 -18
  697. /package/dist/chunks/{image-0mesazry.js → file-access-0mesazry.js} +0 -0
  698. /package/dist/chunks/{image-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{image-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{image-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{image-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{image-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{image-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{image-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{image-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{image-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{image-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{image-3asan66x.js → file-access-3asan66x.js} +0 -0
  709. /package/dist/chunks/{image-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{image-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{image-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{image-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{image-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{image-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{image-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{image-53557ph1.js → file-access-53557ph1.js} +0 -0
  717. /package/dist/chunks/{image-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{image-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{image-6prwharc.js → file-access-6prwharc.js} +0 -0
  720. /package/dist/chunks/{image-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{image-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{image-822emrt2.js → file-access-822emrt2.js} +0 -0
  723. /package/dist/chunks/{image-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{image-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{image-922hggd3.js → file-access-922hggd3.js} +0 -0
  726. /package/dist/chunks/{image-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{image-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{image-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{image-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{image-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{image-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{image-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{image-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{image-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{image-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{image-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{image-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{image-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{image-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{image-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{image-df08tz66.js → file-access-df08tz66.js} +0 -0
  742. /package/dist/chunks/{image-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{image-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{image-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{image-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{image-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{image-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{image-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{image-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{image-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{image-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{image-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{image-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{image-g86h250q.js → file-access-g86h250q.js} +0 -0
  755. /package/dist/chunks/{image-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{image-gftt206x.js → file-access-gftt206x.js} +0 -0
  757. /package/dist/chunks/{image-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{image-hk9envan.js → file-access-hk9envan.js} +0 -0
  759. /package/dist/chunks/{image-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{image-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{image-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{image-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{image-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{image-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{image-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{image-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{image-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{image-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{image-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{image-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{image-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{image-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{image-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{image-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{image-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{image-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{image-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{image-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{image-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{image-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{image-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{image-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{image-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{image-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{image-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{image-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{image-x61499pn.js → file-access-x61499pn.js} +0 -0
  788. /package/dist/chunks/{image-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{image-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{image-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{image-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{image-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{image-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service82,
4
4
  node86
5
- } from "./image-tgf2ymth.js";
5
+ } from "./file-access-qb83d845.js";
6
6
  import {
7
- Service62,
8
- node66
9
- } from "./image-r3qstv61.js";
7
+ Service73,
8
+ node77
9
+ } from "./file-access-qs81an5k.js";
10
10
  import {
11
11
  __export
12
- } from "./image-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service50,
22
+ Service: () => Service48,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node52,
26
- resolve: () => resolve2
25
+ node: () => node51,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service50 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service48 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service50, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service62;
80
+ const kv = yield* Service73;
81
81
  const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
112
112
  yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service50.of({
115
+ return Service48.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node52 = makeGlobalNode({ service: Service50, layer, deps: [httpClient, node66, node86] });
146
+ var node51 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node77, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service50, Event10, inspect2, resolve2, node52, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event10, inspect2, resolve4, node51, exports_wellknown };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-ran5413e.js";
3
+ } from "./file-access-bwckxjxx.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin5,
11
+ Plugin: () => Plugin2,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin5 = define({
32
+ var Plugin2 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin5 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin5 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin5, exports_tavily };
80
+ export { endpoint2, Plugin2, exports_tavily };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./image-2a5m3afh.js";
3
+ } from "./file-access-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./image-922hggd3.js";
6
+ } from "./file-access-922hggd3.js";
7
7
  import {
8
8
  Service79
9
- } from "./image-5d0yg4wn.js";
9
+ } from "./file-access-3r15nznh.js";
10
10
  import {
11
- Service58
12
- } from "./image-mz8r1y5r.js";
11
+ Service49
12
+ } from "./file-access-r55eyngd.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service16
16
- } from "./image-dc3m2m7k.js";
15
+ Service17
16
+ } from "./file-access-hp80zfgt.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./image-nrth0by3.js";
23
+ } from "./file-access-33kn07h9.js";
24
24
  import {
25
- Service64
26
- } from "./image-cejtc14z.js";
25
+ Service66
26
+ } from "./file-access-587z1aba.js";
27
27
  import {
28
- Service17
29
- } from "./image-0835j86p.js";
28
+ Service20
29
+ } from "./file-access-dmaq6vaq.js";
30
30
  import {
31
31
  __export
32
- } from "./image-9rqn6x4v.js";
32
+ } from "./file-access-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input7,
39
- Output: () => Output5,
40
- Plugin: () => Plugin23,
41
- name: () => name7,
42
- toModelContent: () => toModelContent3
38
+ Input: () => Input10,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin45,
41
+ name: () => name10,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name7 = "grep";
48
- var Input7 = Schema.Struct({
47
+ var name10 = "grep";
48
+ var Input10 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output5 = Schema.Array(Match2);
69
- var toModelContent3 = (matches, truncated = false) => {
68
+ var Output7 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin23 = {
86
+ var Plugin45 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service58;
90
- const ripgrep = yield* Service16;
89
+ const environment = yield* Service49;
90
+ const ripgrep = yield* Service17;
91
91
  const location = yield* Service79;
92
- const access = yield* Service17;
93
- const permission = yield* Service64;
92
+ const access = yield* Service20;
93
+ const permission = yield* Service66;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name7,
95
+ name: name10,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input7,
99
- output: Output5,
98
+ input: Input10,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name7,
105
+ action: name10,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin23 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent3(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin23 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name7, Input7, Output5, toModelContent3, Plugin23, exports_grep };
157
+ export { name10, Input10, Output7, toModelContent5, Plugin45, exports_grep };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service79
3
- } from "./image-5d0yg4wn.js";
3
+ } from "./file-access-3r15nznh.js";
4
4
  import {
5
- Service58
6
- } from "./image-mz8r1y5r.js";
5
+ Service49
6
+ } from "./file-access-r55eyngd.js";
7
7
  import {
8
- Service20,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./image-nfq1y937.js";
11
+ } from "./file-access-7rhez3ay.js";
12
12
  import {
13
- Service15
14
- } from "./image-q400cd05.js";
13
+ Service19
14
+ } from "./file-access-myjzxhnr.js";
15
15
  import {
16
- Service64
17
- } from "./image-cejtc14z.js";
16
+ Service66
17
+ } from "./file-access-587z1aba.js";
18
18
  import {
19
- Service17,
19
+ Service20,
20
20
  resolvePath2
21
- } from "./image-0835j86p.js";
21
+ } from "./file-access-dmaq6vaq.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./image-6prwharc.js";
24
+ } from "./file-access-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./image-9rqn6x4v.js";
27
+ } from "./file-access-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
34
- Output: () => Output3,
35
- Plugin: () => Plugin20,
36
- name: () => name4
33
+ Input: () => Input7,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin42,
36
+ name: () => name7
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name7 = "edit";
43
+ var Input7 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin20 = {
106
+ var Plugin42 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service17;
110
- const fileMutation = yield* Service20;
111
- const environment = yield* Service58;
112
- const formatter = yield* Service15;
109
+ const access = yield* Service20;
110
+ const fileMutation = yield* Service14;
111
+ const environment = yield* Service49;
112
+ const formatter = yield* Service19;
113
113
  const location = yield* Service79;
114
- const permission = yield* Service64;
114
+ const permission = yield* Service66;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name4,
116
+ name: name7,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input4,
120
- output: Output3,
119
+ input: Input7,
120
+ output: Output4,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin20 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name4, Input4, Output3, Plugin20, exports_edit };
197
+ export { name7, Input7, Output4, Plugin42, exports_edit };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./image-tgf2ymth.js";
4
+ } from "./file-access-qb83d845.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./image-rdw6cm16.js";
8
+ } from "./file-access-rdw6cm16.js";
9
9
  import {
10
10
  ID14,
11
11
  Service76,
12
12
  node80,
13
13
  Event18
14
- } from "./image-rvtsy6rd.js";
14
+ } from "./file-access-nbbbac21.js";
15
15
  import {
16
16
  key2
17
- } from "./image-h6r3nrb9.js";
17
+ } from "./file-access-h6r3nrb9.js";
18
18
  import {
19
19
  Service79,
20
20
  node83
21
- } from "./image-5d0yg4wn.js";
21
+ } from "./file-access-3r15nznh.js";
22
22
  import {
23
23
  __export
24
- } from "./image-9rqn6x4v.js";
24
+ } from "./file-access-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
9
  make: () => make14,
10
- render: () => render3
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
30
30
 
31
31
  // src/session/system-prompt.ts
32
32
  function make14(tools) {
33
- return render3(system_default, tools);
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./image-tgf2ymth.js";
4
+ } from "./file-access-qb83d845.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./image-5d0yg4wn.js";
8
+ } from "./file-access-3r15nznh.js";
9
9
  import {
10
- ID10,
11
- Service68,
10
+ ID11,
11
+ Service69,
12
12
  node72
13
- } from "./image-hmfwemxz.js";
13
+ } from "./file-access-nnbww75a.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./image-wxffcvth.js";
16
+ } from "./file-access-984xje6x.js";
17
17
  import {
18
- Service66,
18
+ Service67,
19
19
  node70
20
- } from "./image-t0jj3952.js";
20
+ } from "./file-access-m8pm17pr.js";
21
21
  import {
22
22
  match2
23
- } from "./image-y1fvbwt7.js";
24
- import {
25
- Service65,
26
- node69
27
- } from "./image-68cpew65.js";
23
+ } from "./file-access-y1fvbwt7.js";
28
24
  import {
29
- Service67,
25
+ Service68,
30
26
  node71
31
- } from "./image-g1sxm558.js";
27
+ } from "./file-access-83whvwx3.js";
28
+ import {
29
+ Service70,
30
+ node73
31
+ } from "./file-access-73kdj4zj.js";
32
32
  import {
33
33
  __export
34
- } from "./image-9rqn6x4v.js";
34
+ } from "./file-access-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,7 +42,7 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event12,
45
+ Event: () => Event13,
46
46
  ID: () => ID8,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
@@ -51,21 +51,21 @@ __export(exports_permission2, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
55
- Source: () => Source5,
54
+ Service: () => Service66,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node68
58
+ node: () => node69
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event12 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID8 = Permission.ID;
68
- var Source5 = Permission.Source;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -79,7 +79,7 @@ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
80
  id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
85
  requestID: ID8,
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service66 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
131
131
  const bus = yield* Service82;
132
132
  const location = yield* Service79;
133
- const agents = yield* Service68;
134
- const sessions = yield* Service66;
135
- const saved = yield* Service65;
136
- const hooks = yield* Service67;
133
+ const agents = yield* Service69;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service68;
136
+ const hooks = yield* Service70;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service64.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service66.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node68 = makeLocationNode({
303
- service: Service64,
302
+ var node69 = makeLocationNode({
303
+ service: Service66,
304
304
  layer,
305
- deps: [node86, node83, node72, node70, node69, node71]
305
+ deps: [node86, node83, node72, node70, node71, node73]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission2, Rule3, Ruleset2, Event12 };
308
+ export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node69, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./image-6msgmcgs.js";
4
+ } from "./file-access-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./image-qfa1cgps.js";
7
+ } from "./file-access-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./image-dj2t23y0.js";
10
+ } from "./file-access-dj2t23y0.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};