@opencode/core 0.0.0-dev-19699 → 0.0.0-dev-19703

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 (787) 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/{wellknown-sx1w5c9b.js → file-access-02dhzryh.js} +33 -33
  8. package/dist/chunks/{wellknown-t6vv26m3.js → file-access-0629b45g.js} +14 -14
  9. package/dist/chunks/{wellknown-ettrbj24.js → file-access-06wf8qef.js} +1 -1
  10. package/dist/chunks/{wellknown-bqyrc6kt.js → file-access-06wngq9c.js} +11 -11
  11. package/dist/chunks/{wellknown-qr116c46.js → file-access-0bbtsd9p.js} +4 -4
  12. package/dist/chunks/{wellknown-2x6qb6j3.js → file-access-0bz652bt.js} +15 -15
  13. package/dist/chunks/{wellknown-vddt8e92.js → file-access-0cjrfvab.js} +14 -14
  14. package/dist/chunks/file-access-0mesazry.js +4 -0
  15. package/dist/chunks/{wellknown-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{wellknown-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{wellknown-0jyq87xe.js → file-access-0qg760de.js} +6 -6
  18. package/dist/chunks/{wellknown-0tz7ckg3.js → file-access-0v8926jc.js} +4 -4
  19. package/dist/chunks/{wellknown-fdms3n6w.js → file-access-11dqjexa.js} +2 -2
  20. package/dist/chunks/{wellknown-f5djnss5.js → file-access-18ar9p8m.js} +2 -2
  21. package/dist/chunks/{wellknown-9vwffpq4.js → file-access-19avvbhq.js} +24 -24
  22. package/dist/chunks/{wellknown-yp2x3t23.js → file-access-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{wellknown-eq1pz5kg.js → file-access-1bbkgx8g.js} +3 -3
  24. package/dist/chunks/{wellknown-18fke3sp.js → file-access-1czez65r.js} +26 -26
  25. package/dist/chunks/{wellknown-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{wellknown-nwge8jy8.js → file-access-1m8m29bm.js} +2 -2
  27. package/dist/chunks/{wellknown-qt4n3gg0.js → file-access-1rcsefny.js} +6 -6
  28. package/dist/chunks/{wellknown-chtesddx.js → file-access-1xyy6rsd.js} +19 -19
  29. package/dist/chunks/{wellknown-1ygqh575.js → file-access-1ygqh575.js} +2 -2
  30. package/dist/chunks/{wellknown-45ww0dfj.js → file-access-21edhy6x.js} +7 -7
  31. package/dist/chunks/{wellknown-21r38tys.js → file-access-21r38tys.js} +1 -1
  32. package/dist/chunks/{wellknown-gctnpdhs.js → file-access-22bkwpcc.js} +28 -28
  33. package/dist/chunks/{wellknown-2402vzrj.js → file-access-2402vzrj.js} +1 -1
  34. package/dist/chunks/{wellknown-d858xzj7.js → file-access-277eer69.js} +4 -4
  35. package/dist/chunks/{wellknown-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{wellknown-5asa4ssx.js → file-access-2dq278xz.js} +15 -15
  37. package/dist/chunks/{wellknown-xcy0ccxh.js → file-access-2kvvzhgt.js} +9 -9
  38. package/dist/chunks/{wellknown-7qwxv68y.js → file-access-2pp64kj2.js} +9 -9
  39. package/dist/chunks/{wellknown-j15ahbfv.js → file-access-2s4yk9pe.js} +15 -15
  40. package/dist/chunks/{wellknown-bkxyw0dr.js → file-access-2xx6zsf3.js} +9 -9
  41. package/dist/chunks/{wellknown-sbp6zker.js → file-access-2zpbtqxj.js} +1 -1
  42. package/dist/chunks/{wellknown-j48xzn17.js → file-access-3801m5vm.js} +11 -11
  43. package/dist/chunks/{wellknown-1f7e444c.js → file-access-3a0232v4.js} +20 -20
  44. package/dist/chunks/{wellknown-a2p103pg.js → file-access-3eqe7sdb.js} +5 -5
  45. package/dist/chunks/{wellknown-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{wellknown-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{wellknown-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{wellknown-thr3r15w.js → file-access-3tgpfszz.js} +14 -14
  49. package/dist/chunks/{wellknown-k9kj6xed.js → file-access-3tq5qxbk.js} +4 -4
  50. package/dist/chunks/{wellknown-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{wellknown-1rkjqmq1.js → file-access-3we3xrym.js} +10 -10
  52. package/dist/chunks/{wellknown-0gr7cw0d.js → file-access-3ythc6yv.js} +4 -4
  53. package/dist/chunks/{wellknown-b1pnbeng.js → file-access-44bvyb52.js} +11 -11
  54. package/dist/chunks/{wellknown-38r79mk0.js → file-access-4cszjckh.js} +28 -28
  55. package/dist/chunks/{wellknown-j0dzqqfs.js → file-access-4ejj3q4x.js} +102 -102
  56. package/dist/chunks/{wellknown-858rcgn7.js → file-access-4ny6685e.js} +2 -2
  57. package/dist/chunks/{wellknown-xkawgvmm.js → file-access-4pre79ma.js} +8 -8
  58. package/dist/chunks/{wellknown-7y9nfy68.js → file-access-4wev30ht.js} +6 -6
  59. package/dist/chunks/{wellknown-xr2zjj6s.js → file-access-51d5tev5.js} +19 -19
  60. package/dist/chunks/{wellknown-xfkkasph.js → file-access-57b9ws8p.js} +7 -7
  61. package/dist/chunks/{wellknown-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{wellknown-a1bz86dw.js → file-access-5c4hm403.js} +3 -3
  63. package/dist/chunks/{wellknown-tr7w9brq.js → file-access-5csss1c9.js} +8 -8
  64. package/dist/chunks/{wellknown-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  65. package/dist/chunks/{wellknown-hxgex57t.js → file-access-5ghg905x.js} +8 -8
  66. package/dist/chunks/{wellknown-ewn3dy9s.js → file-access-5n6bcn55.js} +43 -43
  67. package/dist/chunks/{wellknown-e3qxr5gk.js → file-access-5qd3pb7m.js} +2 -2
  68. package/dist/chunks/{wellknown-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{wellknown-3q2hx7qx.js → file-access-5xcpr46j.js} +14 -14
  70. package/dist/chunks/{wellknown-hv51d5cw.js → file-access-5y2zy18c.js} +11 -11
  71. package/dist/chunks/{wellknown-669tq793.js → file-access-669tq793.js} +1 -1
  72. package/dist/chunks/{wellknown-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{wellknown-5z3pmdav.js → file-access-6q9g2n1x.js} +24 -24
  74. package/dist/chunks/{wellknown-1ddyqjqr.js → file-access-6qnrq8yy.js} +18 -18
  75. package/dist/chunks/{wellknown-qmn2804t.js → file-access-6rmp6rp3.js} +13 -13
  76. package/dist/chunks/{wellknown-g0k6m2dv.js → file-access-76p6jepc.js} +21 -21
  77. package/dist/chunks/{wellknown-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{wellknown-7kx617rh.js → file-access-7cswzy6x.js} +8 -8
  79. package/dist/chunks/{wellknown-megepw3e.js → file-access-7cwd1pjj.js} +10 -7
  80. package/dist/chunks/{wellknown-fcrkznn8.js → file-access-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{wellknown-1x2j9kyw.js → file-access-7t80x2xm.js} +6 -6
  82. package/dist/chunks/{wellknown-as1xxm31.js → file-access-818pfwc9.js} +11 -11
  83. package/dist/chunks/{wellknown-vaw8eek1.js → file-access-81rrhs1k.js} +6 -6
  84. package/dist/chunks/{wellknown-wfn03waw.js → file-access-88j73mdv.js} +1 -1
  85. package/dist/chunks/{wellknown-d6r8xqx0.js → file-access-89wf2w34.js} +20 -20
  86. package/dist/chunks/{wellknown-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{wellknown-sm55rqp8.js → file-access-8zqg477x.js} +11 -11
  88. package/dist/chunks/{wellknown-89ce2975.js → file-access-954kwt2t.js} +15 -15
  89. package/dist/chunks/{wellknown-97j4gngf.js → file-access-984xje6x.js} +7 -7
  90. package/dist/chunks/{wellknown-wwrtpvbz.js → file-access-9eg80yv1.js} +44 -44
  91. package/dist/chunks/{wellknown-p37cw4rj.js → file-access-9hn6k4tm.js} +8 -8
  92. package/dist/chunks/{wellknown-nxx05gp4.js → file-access-9j7zq8ze.js} +59 -59
  93. package/dist/chunks/{wellknown-85m7w1zb.js → file-access-9w62p15t.js} +278 -278
  94. package/dist/chunks/{wellknown-dccad321.js → file-access-9wq3ewc0.js} +14 -14
  95. package/dist/chunks/{wellknown-62kg8r9z.js → file-access-9z5hezg5.js} +17 -17
  96. package/dist/chunks/{wellknown-9zdhvgqs.js → file-access-9zdhvgqs.js} +1 -1
  97. package/dist/chunks/{wellknown-1eamemeq.js → file-access-a9yj8d57.js} +36 -36
  98. package/dist/chunks/{wellknown-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  99. package/dist/chunks/{wellknown-tz49nvh7.js → file-access-abx7hpq0.js} +3 -3
  100. package/dist/chunks/{wellknown-nk87491m.js → file-access-achc067e.js} +1 -1
  101. package/dist/chunks/{wellknown-phcney37.js → file-access-adk83k7n.js} +5 -5
  102. package/dist/chunks/{wellknown-2re9my94.js → file-access-ajspsemm.js} +15 -15
  103. package/dist/chunks/{wellknown-sk6q27c4.js → file-access-amt0nx1c.js} +11 -11
  104. package/dist/chunks/{wellknown-a11sa989.js → file-access-anh923dz.js} +9 -9
  105. package/dist/chunks/{wellknown-5twhmeh2.js → file-access-aq8s4k4t.js} +6 -6
  106. package/dist/chunks/{wellknown-fjvydvzm.js → file-access-awaee7qt.js} +6 -6
  107. package/dist/chunks/{wellknown-kbegyq1c.js → file-access-b09hzw3k.js} +2 -2
  108. package/dist/chunks/{wellknown-nbrd663h.js → file-access-b0ra039m.js} +13 -13
  109. package/dist/chunks/{wellknown-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{wellknown-y5faqwyj.js → file-access-be2svbmq.js} +11 -11
  111. package/dist/chunks/{wellknown-0rkmmx2h.js → file-access-bmvs43mp.js} +24 -24
  112. package/dist/chunks/{wellknown-h817dscy.js → file-access-bnjwzb7k.js} +19 -19
  113. package/dist/chunks/{wellknown-jbm78rjc.js → file-access-bzxmwb0h.js} +3 -3
  114. package/dist/chunks/{wellknown-bhs1apdh.js → file-access-c30xvc1n.js} +20 -20
  115. package/dist/chunks/{wellknown-bw274x7r.js → file-access-cjjq7ynh.js} +36 -36
  116. package/dist/chunks/{wellknown-2sejkfem.js → file-access-cpneeje0.js} +9 -9
  117. package/dist/chunks/{wellknown-rdtn0193.js → file-access-csc9knvx.js} +79 -79
  118. package/dist/chunks/{wellknown-05frfhne.js → file-access-czv8zr4c.js} +29 -29
  119. package/dist/chunks/{wellknown-8h6ypk9j.js → file-access-d0qjmbf7.js} +7 -7
  120. package/dist/chunks/{wellknown-02vq89j5.js → file-access-d2zcqnyn.js} +11 -11
  121. package/dist/chunks/{wellknown-4y72ap3v.js → file-access-db54agdm.js} +5 -5
  122. package/dist/chunks/{wellknown-8p4f9s12.js → file-access-dj2t23y0.js} +2 -2
  123. package/dist/chunks/{wellknown-dws6p1jx.js → file-access-dmz87gs1.js} +12 -12
  124. package/dist/chunks/{wellknown-mbn2hkww.js → file-access-dp8qva4p.js} +31 -31
  125. package/dist/chunks/{wellknown-y71avatq.js → file-access-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{wellknown-kha7fq0w.js → file-access-dqmqj95b.js} +23 -23
  127. package/dist/chunks/{wellknown-h21tm5bp.js → file-access-dr2361rz.js} +23 -23
  128. package/dist/chunks/{wellknown-qggfgy6q.js → file-access-dtqdzr8b.js} +8 -8
  129. package/dist/chunks/{wellknown-dbkx7kkc.js → file-access-dtr4ty96.js} +47 -47
  130. package/dist/chunks/{wellknown-zcrspsvn.js → file-access-e2hjzebn.js} +4 -4
  131. package/dist/chunks/file-access-e34shv79.js +247 -0
  132. package/dist/chunks/{wellknown-5jrz7pq0.js → file-access-ed2mmm6e.js} +4 -4
  133. package/dist/chunks/{wellknown-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{wellknown-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{wellknown-2f0bjgcj.js → file-access-evbgk2k8.js} +5 -5
  136. package/dist/chunks/{wellknown-ave4adqk.js → file-access-f65xcp97.js} +5 -5
  137. package/dist/chunks/{wellknown-rd45dmm7.js → file-access-f835brta.js} +14 -14
  138. package/dist/chunks/{wellknown-6tt5evqq.js → file-access-fab8hzt3.js} +4 -4
  139. package/dist/chunks/{wellknown-xre3mbt3.js → file-access-fbav83js.js} +2 -2
  140. package/dist/chunks/{wellknown-gyhk607v.js → file-access-fjggvb5d.js} +11 -11
  141. package/dist/chunks/{wellknown-ct958zhq.js → file-access-fkfqzgqy.js} +14 -14
  142. package/dist/chunks/{wellknown-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{wellknown-s8j6jbjj.js → file-access-g190xswt.js} +21 -21
  144. package/dist/chunks/{wellknown-frwp1sqd.js → file-access-g65esk8v.js} +4 -4
  145. package/dist/chunks/{wellknown-yjyb1rhv.js → file-access-g8f066zd.js} +18 -18
  146. package/dist/chunks/{wellknown-m2f3pxpa.js → file-access-gbkwq1jx.js} +14 -14
  147. package/dist/chunks/{wellknown-zth67p6s.js → file-access-gd2xe63m.js} +11 -11
  148. package/dist/chunks/{wellknown-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{wellknown-7cy86ee7.js → file-access-ghcpnks2.js} +9 -9
  150. package/dist/chunks/{wellknown-qvhhnas7.js → file-access-grgxgp5r.js} +14 -14
  151. package/dist/chunks/{wellknown-g1sxm558.js → file-access-gs3s1a1g.js} +8 -8
  152. package/dist/chunks/{wellknown-khec1x9r.js → file-access-gssk1ffy.js} +13 -13
  153. package/dist/chunks/{wellknown-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{wellknown-cyhsea0k.js → file-access-gwydwvmj.js} +8 -8
  155. package/dist/chunks/{wellknown-xft24mgj.js → file-access-gxvja00a.js} +6 -6
  156. package/dist/chunks/{wellknown-6wpb9dtm.js → file-access-gzj2wbzm.js} +24 -24
  157. package/dist/chunks/{wellknown-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
  158. package/dist/chunks/{wellknown-h6r3nrb9.js → file-access-h6r3nrb9.js} +1 -1
  159. package/dist/chunks/{wellknown-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{wellknown-f828m53h.js → file-access-hdnk95c8.js} +2 -2
  161. package/dist/chunks/{wellknown-703epsd2.js → file-access-hx5z5b4w.js} +13 -13
  162. package/dist/chunks/{wellknown-zg736tz1.js → file-access-j3v8g4y4.js} +34 -34
  163. package/dist/chunks/{wellknown-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  164. package/dist/chunks/{wellknown-p3ghsg1d.js → file-access-j5wn78xe.js} +3 -3
  165. package/dist/chunks/{wellknown-fzgxakwn.js → file-access-jh28hxeq.js} +8 -8
  166. package/dist/chunks/{wellknown-1hf93j3g.js → file-access-jha770e0.js} +33 -33
  167. package/dist/chunks/{wellknown-j4a32nwn.js → file-access-jmsa0jj4.js} +13 -13
  168. package/dist/chunks/{wellknown-pds4s9w6.js → file-access-jmsss6r4.js} +12 -12
  169. package/dist/chunks/{wellknown-jppvw2tx.js → file-access-jppvw2tx.js} +2 -2
  170. package/dist/chunks/{wellknown-3jcgvabz.js → file-access-jy98dczt.js} +20 -20
  171. package/dist/chunks/{wellknown-frrk65se.js → file-access-k3rgfb3p.js} +3 -3
  172. package/dist/chunks/{wellknown-8pv0kv37.js → file-access-k7n8e2gq.js} +24 -24
  173. package/dist/chunks/{wellknown-p9vpdv56.js → file-access-kd0g1c6x.js} +27 -27
  174. package/dist/chunks/{wellknown-3672w6ev.js → file-access-kjyvdtgs.js} +12 -12
  175. package/dist/chunks/{wellknown-06aztdta.js → file-access-knywsfmy.js} +10 -10
  176. package/dist/chunks/{wellknown-zfh5y184.js → file-access-krh4kqam.js} +14 -14
  177. package/dist/chunks/{wellknown-ytzkehyx.js → file-access-kx6tnhgm.js} +8 -8
  178. package/dist/chunks/{wellknown-cfpkc3c9.js → file-access-m0jqrx5p.js} +2 -2
  179. package/dist/chunks/{wellknown-n6keassd.js → file-access-m0k9mes5.js} +7 -7
  180. package/dist/chunks/{wellknown-nrwk3scp.js → file-access-m39b1xen.js} +16 -16
  181. package/dist/chunks/{wellknown-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{wellknown-tdpf2yw9.js → file-access-m59fsk9k.js} +13 -13
  183. package/dist/chunks/{wellknown-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{wellknown-49w8r3q3.js → file-access-ma73scwd.js} +13 -13
  185. package/dist/chunks/{wellknown-b5a0cfst.js → file-access-mk65yns0.js} +32 -32
  186. package/dist/chunks/{wellknown-y0dwvd8v.js → file-access-mpydz36k.js} +5 -5
  187. package/dist/chunks/{wellknown-mtfwx8wg.js → file-access-ms72sz6n.js} +27 -27
  188. package/dist/chunks/{wellknown-6p3xbzsx.js → file-access-msq0jde0.js} +4 -4
  189. package/dist/chunks/{wellknown-xsv73v2g.js → file-access-mt5b2h3m.js} +4 -4
  190. package/dist/chunks/{wellknown-b8hzf7nw.js → file-access-mvzp9w89.js} +3 -3
  191. package/dist/chunks/{wellknown-9fc3v4re.js → file-access-mzx6x42j.js} +4 -4
  192. package/dist/chunks/{wellknown-fz8c2kxy.js → file-access-n00t81pt.js} +28 -28
  193. package/dist/chunks/{wellknown-e3qz7xqh.js → file-access-ndzqf7n9.js} +11 -11
  194. package/dist/chunks/{wellknown-22m6agjv.js → file-access-nfts78ts.js} +23 -23
  195. package/dist/chunks/{wellknown-bsakc679.js → file-access-nvtgz84x.js} +39 -39
  196. package/dist/chunks/{wellknown-k3c624dm.js → file-access-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{wellknown-m16hdrdp.js → file-access-p4p3q63t.js} +24 -24
  198. package/dist/chunks/{wellknown-e6z92hp1.js → file-access-pbqgg0c7.js} +4 -4
  199. package/dist/chunks/{wellknown-87zw2hyv.js → file-access-pc4xavgz.js} +1 -1
  200. package/dist/chunks/{wellknown-xvzq63g5.js → file-access-pebkr8tk.js} +8 -8
  201. package/dist/chunks/{wellknown-4en4q4yc.js → file-access-pg8m7vcw.js} +25 -25
  202. package/dist/chunks/{wellknown-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{wellknown-pknna89w.js → file-access-pknna89w.js} +1 -1
  204. package/dist/chunks/{wellknown-1veccysx.js → file-access-pkt4pt77.js} +16 -16
  205. package/dist/chunks/{wellknown-j5786zrt.js → file-access-pstg3rfm.js} +1 -1
  206. package/dist/chunks/{wellknown-djv3jzct.js → file-access-px7sw6zq.js} +15 -15
  207. package/dist/chunks/{wellknown-66r9f6z1.js → file-access-qa7075pb.js} +5 -5
  208. package/dist/chunks/{wellknown-meahrvbf.js → file-access-qgqy5arr.js} +22 -22
  209. package/dist/chunks/{wellknown-hcz3zddy.js → file-access-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{wellknown-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  211. package/dist/chunks/{wellknown-mjtk0fpq.js → file-access-qwkdvvqq.js} +32 -32
  212. package/dist/chunks/{wellknown-xe5c0ha1.js → file-access-qxr1wd94.js} +26 -26
  213. package/dist/chunks/{wellknown-cgw5at3k.js → file-access-qzyph8ek.js} +11 -11
  214. package/dist/chunks/{wellknown-8wjsrxa5.js → file-access-r6tv0ky9.js} +24 -24
  215. package/dist/chunks/{wellknown-1qhzf4x8.js → file-access-rc0drnx6.js} +46 -46
  216. package/dist/chunks/{wellknown-f70agvkv.js → file-access-rcazvk2s.js} +14 -14
  217. package/dist/chunks/{wellknown-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{wellknown-8mv22bfd.js → file-access-rgmz38d8.js} +3 -3
  219. package/dist/chunks/{wellknown-s8d7rejh.js → file-access-rhjbct0v.js} +4 -4
  220. package/dist/chunks/{wellknown-xb02k0wq.js → file-access-ryr25ayn.js} +4 -4
  221. package/dist/chunks/{wellknown-ezjfbph4.js → file-access-rzeja39m.js} +11 -11
  222. package/dist/chunks/{wellknown-w7t5jt7v.js → file-access-s0wc4b3p.js} +12 -12
  223. package/dist/chunks/{wellknown-q3h4ed11.js → file-access-s2f2xds9.js} +5 -5
  224. package/dist/chunks/{wellknown-gzmp8t1a.js → file-access-s43s5bf0.js} +10 -10
  225. package/dist/chunks/{wellknown-rv5n0yay.js → file-access-se5ev5q6.js} +33 -33
  226. package/dist/chunks/{wellknown-an7cqtb7.js → file-access-sx1n432n.js} +4 -4
  227. package/dist/chunks/{wellknown-djfnsed5.js → file-access-szchxhm4.js} +24 -24
  228. package/dist/chunks/{wellknown-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{wellknown-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{wellknown-nbzxak9z.js → file-access-tcpzf8a4.js} +11 -11
  231. package/dist/chunks/{wellknown-tdstcens.js → file-access-tdstcens.js} +1 -1
  232. package/dist/chunks/{wellknown-4b1y0hxr.js → file-access-thacshfj.js} +26 -26
  233. package/dist/chunks/{wellknown-yn1wpys1.js → file-access-tmgf2zx0.js} +18 -18
  234. package/dist/chunks/{wellknown-tbhgqgrp.js → file-access-tnyz8ww6.js} +6 -6
  235. package/dist/chunks/{wellknown-2jvdvk0y.js → file-access-ts86mgej.js} +9 -9
  236. package/dist/chunks/{wellknown-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  237. package/dist/chunks/{wellknown-0evgz6jk.js → file-access-ty23yq33.js} +9 -9
  238. package/dist/chunks/{wellknown-wbyztnvg.js → file-access-v20321fw.js} +16 -16
  239. package/dist/chunks/{wellknown-mp6rxbgf.js → file-access-v7h74zgk.js} +7 -7
  240. package/dist/chunks/{wellknown-13rkag4v.js → file-access-vc49b7t2.js} +33 -33
  241. package/dist/chunks/{wellknown-apg30w74.js → file-access-ve2kmhc3.js} +18 -18
  242. package/dist/chunks/{wellknown-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  243. package/dist/chunks/{wellknown-r94yb0nv.js → file-access-vjy1cxwb.js} +15 -15
  244. package/dist/chunks/{wellknown-6t4xh0bm.js → file-access-vmb1bd1w.js} +4 -4
  245. package/dist/chunks/{wellknown-d4h7w4jx.js → file-access-vqq4e7dm.js} +3 -3
  246. package/dist/chunks/{wellknown-mszgpyrk.js → file-access-vs126s66.js} +9 -9
  247. package/dist/chunks/{wellknown-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{wellknown-1w2cbjd8.js → file-access-w2x5ntbm.js} +8 -8
  249. package/dist/chunks/{wellknown-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{wellknown-p0b4ytnr.js → file-access-w4arg62q.js} +6 -6
  251. package/dist/chunks/{wellknown-nycb949q.js → file-access-w8n9ztcq.js} +3 -3
  252. package/dist/chunks/{wellknown-a9rp9621.js → file-access-wbte7afj.js} +11 -11
  253. package/dist/chunks/{wellknown-0g6j1py3.js → file-access-wc7jx7mw.js} +8 -8
  254. package/dist/chunks/{wellknown-wd87259q.js → file-access-wd87259q.js} +1 -1
  255. package/dist/chunks/{wellknown-2tw2jb74.js → file-access-wpj4mgew.js} +13 -13
  256. package/dist/chunks/{wellknown-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{wellknown-wrtk7tx3.js → file-access-x7565nz3.js} +11 -11
  258. package/dist/chunks/{wellknown-5dy7rswa.js → file-access-xcem76eb.js} +18 -18
  259. package/dist/chunks/{wellknown-v5s4bq9p.js → file-access-xea0fvxv.js} +9 -9
  260. package/dist/chunks/{wellknown-pnv527nz.js → file-access-xk747vep.js} +5 -5
  261. package/dist/chunks/{wellknown-53bv3qst.js → file-access-xmrmk6tf.js} +1 -1
  262. package/dist/chunks/{wellknown-ed3ymh90.js → file-access-xnnqatdr.js} +3 -3
  263. package/dist/chunks/{wellknown-pddfpf4s.js → file-access-xq2cctfq.js} +14 -14
  264. package/dist/chunks/{wellknown-37syhnnj.js → file-access-xqjqksda.js} +31 -31
  265. package/dist/chunks/{wellknown-3xt9d42j.js → file-access-xtfhmm69.js} +24 -24
  266. package/dist/chunks/{wellknown-srejxs9b.js → file-access-xxs8dkg5.js} +3 -3
  267. package/dist/chunks/{wellknown-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/file-access-y2hsm13z.js +26 -0
  269. package/dist/chunks/{wellknown-x9c7yp0e.js → file-access-y42csyyd.js} +16 -16
  270. package/dist/chunks/{wellknown-n7d88tpn.js → file-access-y6f0p4jw.js} +2 -2
  271. package/dist/chunks/{wellknown-jhgpt0kn.js → file-access-yjmyzswg.js} +9 -9
  272. package/dist/chunks/{wellknown-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{wellknown-s4enseaf.js → file-access-yrznvahk.js} +2 -2
  274. package/dist/chunks/{wellknown-mtft99cd.js → file-access-yt0fqk68.js} +5 -5
  275. package/dist/chunks/{wellknown-hpfvhvya.js → file-access-yvvvp4gn.js} +8 -8
  276. package/dist/chunks/{wellknown-5c9je0v9.js → file-access-yz626d1a.js} +4 -4
  277. package/dist/chunks/{wellknown-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{wellknown-z32px5c3.js → file-access-z5ph5zj9.js} +12 -12
  279. package/dist/chunks/{wellknown-29x78va6.js → file-access-z63w68vq.js} +6 -6
  280. package/dist/chunks/{wellknown-rjrw51c9.js → file-access-z7qrt6z4.js} +9 -9
  281. package/dist/chunks/{wellknown-5z99wved.js → file-access-zcrz93sz.js} +72 -72
  282. package/dist/chunks/{wellknown-4mwpykj0.js → file-access-zdwe30dy.js} +6 -6
  283. package/dist/chunks/{wellknown-9q0tgr1n.js → file-access-zeap8wq0.js} +1 -1
  284. package/dist/chunks/{wellknown-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{wellknown-5xtp168v.js → file-access-zgpdaewh.js} +40 -40
  286. package/dist/chunks/{wellknown-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{wellknown-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +80 -80
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +96 -96
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +79 -79
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +98 -98
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +98 -98
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +356 -356
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +75 -75
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +68 -68
  464. package/dist/location-activity.js +129 -129
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +80 -80
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +101 -101
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +98 -98
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +89 -89
  478. package/dist/models-dev.js +100 -100
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +108 -108
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +79 -79
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +73 -73
  537. package/dist/plugin/service.js +1 -1
  538. package/dist/plugin/skill.js +138 -138
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +226 -226
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +88 -88
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +97 -97
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +96 -96
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +221 -221
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +229 -229
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +111 -111
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +3 -3
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +207 -207
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +211 -211
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +137 -137
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +106 -106
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +92 -92
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +216 -216
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +216 -216
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +113 -113
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +79 -79
  679. package/dist/wellknown/plugin.js +73 -73
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +8 -8
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +84 -84
  688. package/dist/worktree.js +93 -93
  689. package/package.json +8 -8
  690. package/dist/chunks/wellknown-d6bs0g6r.js +0 -26
  691. package/dist/chunks/wellknown-qapv375x.js +0 -4
  692. package/dist/chunks/wellknown-vg8dhn5e.js +0 -247
  693. /package/dist/chunks/{wellknown-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{wellknown-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{wellknown-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{wellknown-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{wellknown-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{wellknown-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{wellknown-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{wellknown-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{wellknown-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{wellknown-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{wellknown-3asan66x.js → file-access-3asan66x.js} +0 -0
  704. /package/dist/chunks/{wellknown-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{wellknown-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{wellknown-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{wellknown-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{wellknown-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{wellknown-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{wellknown-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{wellknown-53557ph1.js → file-access-53557ph1.js} +0 -0
  712. /package/dist/chunks/{wellknown-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{wellknown-6prwharc.js → file-access-6prwharc.js} +0 -0
  714. /package/dist/chunks/{wellknown-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{wellknown-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{wellknown-822emrt2.js → file-access-822emrt2.js} +0 -0
  717. /package/dist/chunks/{wellknown-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{wellknown-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{wellknown-922hggd3.js → file-access-922hggd3.js} +0 -0
  720. /package/dist/chunks/{wellknown-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{wellknown-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{wellknown-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{wellknown-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{wellknown-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{wellknown-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{wellknown-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{wellknown-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{wellknown-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{wellknown-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{wellknown-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{wellknown-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{wellknown-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{wellknown-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{wellknown-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{wellknown-df08tz66.js → file-access-df08tz66.js} +0 -0
  736. /package/dist/chunks/{wellknown-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{wellknown-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{wellknown-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{wellknown-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{wellknown-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{wellknown-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{wellknown-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{wellknown-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{wellknown-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{wellknown-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{wellknown-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{wellknown-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{wellknown-g86h250q.js → file-access-g86h250q.js} +0 -0
  749. /package/dist/chunks/{wellknown-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{wellknown-gftt206x.js → file-access-gftt206x.js} +0 -0
  751. /package/dist/chunks/{wellknown-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{wellknown-hk9envan.js → file-access-hk9envan.js} +0 -0
  753. /package/dist/chunks/{wellknown-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{wellknown-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{wellknown-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{wellknown-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{wellknown-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{wellknown-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{wellknown-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{wellknown-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{wellknown-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{wellknown-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{wellknown-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{wellknown-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{wellknown-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{wellknown-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{wellknown-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{wellknown-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{wellknown-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{wellknown-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{wellknown-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{wellknown-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{wellknown-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{wellknown-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{wellknown-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{wellknown-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{wellknown-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{wellknown-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{wellknown-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{wellknown-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{wellknown-x61499pn.js → file-access-x61499pn.js} +0 -0
  782. /package/dist/chunks/{wellknown-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{wellknown-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{wellknown-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{wellknown-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{wellknown-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{wellknown-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./wellknown-y71avatq.js";
3
+ } from "./file-access-dpkg50ah.js";
4
4
  import {
5
- Service62,
6
- node65
7
- } from "./wellknown-g0k6m2dv.js";
5
+ Service48,
6
+ node51
7
+ } from "./file-access-76p6jepc.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service61,
17
- node: () => node64,
16
+ Service: () => Service14,
17
+ node: () => node16,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service61 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service14 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service61, Effect.gen(function* () {
38
- const environment = yield* Service62;
37
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
38
+ const environment = yield* Service48;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service61.of({ withLock, write, writeTextPreservingBom });
59
+ return Service14.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node64 = makeLocationNode({ service: Service61, layer, deps: [node65] });
61
+ var node16 = makeLocationNode({ service: Service14, layer, deps: [node51] });
62
62
 
63
- export { Service61, readText2, syncTextBom2, node64, exports_file_mutation };
63
+ export { Service14, readText2, syncTextBom2, node16, exports_file_mutation };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./wellknown-2a5m3afh.js";
5
+ } from "./file-access-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./wellknown-9rqn6x4v.js";
8
+ } from "./file-access-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service69
4
- } from "./wellknown-5xtp168v.js";
3
+ Service45
4
+ } from "./file-access-zgpdaewh.js";
5
5
  import {
6
- Service38
7
- } from "./wellknown-18fke3sp.js";
6
+ Service64
7
+ } from "./file-access-1czez65r.js";
8
8
  import {
9
9
  observe2
10
- } from "./wellknown-qsdy395h.js";
10
+ } from "./file-access-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin32
19
+ Plugin: () => Plugin24
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin32 = define({
23
+ var Plugin24 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service69;
27
- const snapshot = yield* Service38;
26
+ const config = yield* Service45;
27
+ const snapshot = yield* Service64;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin32 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin32, exports_snapshot };
38
+ export { Plugin24, exports_snapshot };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./wellknown-3w5fmr99.js";
7
+ } from "./file-access-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./wellknown-k3c624dm.js";
11
+ } from "./file-access-nzks3jc8.js";
12
12
  import {
13
13
  create3
14
- } from "./wellknown-rdw6cm16.js";
14
+ } from "./file-access-rdw6cm16.js";
15
15
  import {
16
- Service49,
17
- node51
18
- } from "./wellknown-bkxyw0dr.js";
16
+ Service54,
17
+ node58
18
+ } from "./file-access-2xx6zsf3.js";
19
19
  import {
20
- Service67,
21
- node71
22
- } from "./wellknown-g1sxm558.js";
20
+ Service69,
21
+ node72
22
+ } from "./file-access-gs3s1a1g.js";
23
23
  import {
24
24
  match2
25
- } from "./wellknown-y1fvbwt7.js";
25
+ } from "./file-access-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./wellknown-9rqn6x4v.js";
28
+ } from "./file-access-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error3,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service39,
38
+ Service: () => Service53,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node42
41
+ node: () => node57
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service39 extends Context.Service()("@opencode/Tool") {
54
+ class Service53 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service39, Effect.gen(function* () {
57
- const hooks = yield* Service67;
58
- const image = yield* Service49;
56
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
+ const hooks = yield* Service69;
58
+ const image = yield* Service54;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service39.of({
187
+ return Service53.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -272,10 +272,10 @@ function namespaceError(name) {
272
272
  return;
273
273
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
274
274
  }
275
- var node42 = makeLocationNode({
276
- service: Service39,
275
+ var node57 = makeLocationNode({
276
+ service: Service53,
277
277
  layer,
278
- deps: [node71, node51]
278
+ deps: [node72, node58]
279
279
  });
280
280
 
281
- export { RegistrationError2, Service39, node42, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
281
+ export { RegistrationError2, Service53, node57, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  Service78,
6
6
  node82
7
- } from "./wellknown-nwge8jy8.js";
7
+ } from "./file-access-1m8m29bm.js";
8
8
  import {
9
- Service57,
10
- node60
11
- } from "./wellknown-5dy7rswa.js";
9
+ Service17,
10
+ node19
11
+ } from "./file-access-xcem76eb.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./wellknown-tcezcvh9.js";
15
+ } from "./file-access-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
24
  Options: () => Options2,
25
- Service: () => Service15,
25
+ Service: () => Service16,
26
26
  configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
28
  layer: () => layer8,
29
- node: () => node17,
29
+ node: () => node18,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
62
62
  const location = yield* Service78;
63
- const ripgrep = yield* Service57;
63
+ const ripgrep = yield* Service17;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service15.of({
108
+ return Service16.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
116
116
  const location = yield* Service78;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service15.of({
129
+ return Service16.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service15.of({
134
+ return Service16.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -183,8 +183,8 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
185
  function configured2(options) {
186
- return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node82, node60] });
186
+ return makeLocationNode({ service: Service16, layer: layer8(options), deps: [node82, node19] });
187
187
  }
188
- var node17 = configured2();
188
+ var node18 = configured2();
189
189
 
190
- export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
190
+ export { Options2, Service16, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./wellknown-p3ghsg1d.js";
4
+ } from "./file-access-j5wn78xe.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./wellknown-3hepkmqq.js";
7
+ } from "./file-access-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service64
3
- } from "./wellknown-rv5n0yay.js";
2
+ Service65
3
+ } from "./file-access-se5ev5q6.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./wellknown-4vcrnpx2.js";
7
+ } from "./file-access-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./wellknown-3v8g72cx.js";
10
+ } from "./file-access-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input10,
19
+ Input: () => Input3,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin25,
22
+ Plugin: () => Plugin35,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name10
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name10 = "webfetch";
33
+ var name3 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input10 = Schema.Struct({
41
+ var Input3 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input10.fields.format,
51
+ format: Input3.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin25 = {
95
+ var Plugin35 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service64;
99
+ const permission = yield* Service65;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name10,
101
+ name: name3,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input10,
103
+ description: description3,
104
+ input: Input3,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin25 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name3,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin25, extractTextFromHTML2, exports_webfetch };
170
+ export { name3, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input3, Plugin35, extractTextFromHTML2, exports_webfetch };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./wellknown-p3ghsg1d.js";
4
+ } from "./file-access-j5wn78xe.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./wellknown-xsv73v2g.js";
8
+ } from "./file-access-mt5b2h3m.js";
9
9
  import {
10
- Service45,
11
- node47
12
- } from "./wellknown-zfh5y184.js";
10
+ Service61,
11
+ node64
12
+ } from "./file-access-krh4kqam.js";
13
13
  import {
14
- Service43,
15
- node45
16
- } from "./wellknown-4mwpykj0.js";
14
+ Service58,
15
+ node61
16
+ } from "./file-access-zdwe30dy.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./wellknown-ec1grn59.js";
19
+ } from "./file-access-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./wellknown-yp2x3t23.js";
21
+ make17
22
+ } from "./file-access-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service41
26
- } from "./wellknown-zcrspsvn.js";
25
+ Service56
26
+ } from "./file-access-e2hjzebn.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./wellknown-97j4gngf.js";
29
+ } from "./file-access-984xje6x.js";
30
30
  import {
31
31
  Service66,
32
- node70
33
- } from "./wellknown-w7t5jt7v.js";
32
+ node69
33
+ } from "./file-access-s0wc4b3p.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./wellknown-5jrz7pq0.js";
36
+ } from "./file-access-ed2mmm6e.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./wellknown-m16hdrdp.js";
39
+ } from "./file-access-p4p3q63t.js";
40
40
  import {
41
41
  __export
42
- } from "./wellknown-9rqn6x4v.js";
42
+ } from "./file-access-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service40,
47
+ Service: () => Service55,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer17,
50
- node: () => node43,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer21,
50
+ node: () => node59,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service40 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service55 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer17 = Layer.effect(Service40, Effect.gen(function* () {
68
+ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
69
69
  const store = yield* Service66;
70
- const instances = yield* Service43;
70
+ const instances = yield* Service58;
71
71
  const bus = yield* Service81;
72
- const jobs = yield* Service45;
72
+ const jobs = yield* Service61;
73
73
  const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service41.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service56.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make16({
91
+ const coordinator = yield* make17({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service40.of({
112
+ return Service55.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node43 = makeGlobalNode({
132
- service: Service40,
133
- layer: layer17,
134
- deps: [node70, node45, node85, node86, node47]
131
+ var node59 = makeGlobalNode({
132
+ service: Service55,
133
+ layer: layer21,
134
+ deps: [node69, node61, node85, node86, node64]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service40, Service40.of({
136
+ var noopLayer2 = Layer.succeed(Service55, Service55.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service40, Service40.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service40, terminal2, layer17, node43, noopLayer3, exports_execution };
145
+ export { Service55, terminal2, layer21, node59, noopLayer2, exports_execution };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./wellknown-rdw6cm16.js";
3
+ } from "./file-access-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service11,
13
- node: () => node13
12
+ Service: () => Service8,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service11, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service11.of({
44
+ return Service8.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
52
52
 
53
- export { Service11, node13, exports_location_watcher_policy };
53
+ export { Service8, node9, exports_location_watcher_policy };