@opencode/core 0.0.0-beta-19283 → 0.0.0-beta-19289

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-mutation-e1r2x6f9.js → rpc-04b36cpa.js} +31 -31
  9. package/dist/chunks/{file-mutation-67ta7bkj.js → rpc-05hyq7v6.js} +29 -29
  10. package/dist/chunks/{file-mutation-kj8eeftq.js → rpc-0c1xkqdk.js} +18 -18
  11. package/dist/chunks/{file-mutation-8s1fj8xg.js → rpc-0h54jqbs.js} +8 -8
  12. package/dist/chunks/{file-mutation-3a14va3x.js → rpc-0h7m7rve.js} +11 -11
  13. package/dist/chunks/{file-mutation-0hpxrkyb.js → rpc-0hpxrkyb.js} +2 -2
  14. package/dist/chunks/rpc-0mesazry.js +4 -0
  15. package/dist/chunks/{file-mutation-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-mutation-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-mutation-beahn02f.js → rpc-0q73gbaw.js} +27 -27
  18. package/dist/chunks/{file-mutation-186z8ksc.js → rpc-15v2jbpx.js} +10 -10
  19. package/dist/chunks/{file-mutation-q7eqe2cf.js → rpc-160bp6er.js} +28 -28
  20. package/dist/chunks/{file-mutation-c4xf5pcw.js → rpc-1acwhj11.js} +20 -20
  21. package/dist/chunks/{file-mutation-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{file-mutation-6p3xbzsx.js → rpc-1hc11dc4.js} +4 -4
  23. package/dist/chunks/{file-mutation-0vyd0s5c.js → rpc-1p9hnvwm.js} +9 -9
  24. package/dist/chunks/rpc-1x11rq2a.js +18 -0
  25. package/dist/chunks/{file-mutation-21r38tys.js → rpc-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-mutation-2402vzrj.js → rpc-2402vzrj.js} +1 -1
  27. package/dist/chunks/{file-mutation-jxhw35st.js → rpc-25yddx8d.js} +11 -11
  28. package/dist/chunks/{file-mutation-jbpw8vb5.js → rpc-28ysey72.js} +7 -7
  29. package/dist/chunks/{file-mutation-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-mutation-rqg3gf8y.js → rpc-2agmps7v.js} +14 -14
  31. package/dist/chunks/{file-mutation-9jq9dwvq.js → rpc-2gzv1x1z.js} +16 -16
  32. package/dist/chunks/{file-mutation-ptrg1k2p.js → rpc-2n7n6h49.js} +11 -11
  33. package/dist/chunks/{file-mutation-s9abe6v6.js → rpc-32ybvsf8.js} +20 -20
  34. package/dist/chunks/{file-mutation-h2gyv3sg.js → rpc-380vjcmd.js} +1 -1
  35. package/dist/chunks/{file-mutation-hhc8hmsq.js → rpc-392203pj.js} +57 -57
  36. package/dist/chunks/{file-mutation-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-mutation-09bre2bs.js → rpc-3g2tz5tg.js} +27 -27
  38. package/dist/chunks/{file-mutation-0p6seckt.js → rpc-3gf7mgb6.js} +22 -22
  39. package/dist/chunks/{file-mutation-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{file-mutation-gb3cfaes.js → rpc-3p5z01cg.js} +15 -15
  41. package/dist/chunks/{file-mutation-kjcr15p7.js → rpc-3q1jyqhd.js} +1 -1
  42. package/dist/chunks/{file-mutation-p5c89f54.js → rpc-3qdjr5ym.js} +6 -6
  43. package/dist/chunks/{file-mutation-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{file-mutation-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{file-mutation-es821efa.js → rpc-3vfpksxc.js} +8 -8
  46. package/dist/chunks/{file-mutation-tw7brqvw.js → rpc-46ea3zw7.js} +23 -23
  47. package/dist/chunks/{file-mutation-3trbxeqx.js → rpc-4b6bntqd.js} +1 -1
  48. package/dist/chunks/{file-mutation-1q5awywt.js → rpc-4drgpw32.js} +5 -5
  49. package/dist/chunks/{file-mutation-3tkzazqm.js → rpc-4dw97hmp.js} +25 -25
  50. package/dist/chunks/{file-mutation-s5zy3det.js → rpc-4hxqvqxk.js} +11 -11
  51. package/dist/chunks/{file-mutation-dakvsad3.js → rpc-4nfkbmq5.js} +25 -25
  52. package/dist/chunks/{file-mutation-82mcaj86.js → rpc-4v4y0ay6.js} +10 -10
  53. package/dist/chunks/rpc-4ya6vrc4.js +22 -0
  54. package/dist/chunks/{file-mutation-pvfgf3c8.js → rpc-4zxzqmp0.js} +23 -23
  55. package/dist/chunks/{file-mutation-q1a91n7k.js → rpc-51e3a5p7.js} +2 -2
  56. package/dist/chunks/{file-mutation-6x0tkb6y.js → rpc-5a0ch1qz.js} +25 -25
  57. package/dist/chunks/{file-mutation-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  58. package/dist/chunks/{file-mutation-pqhj6ddm.js → rpc-5dqwwgx5.js} +43 -43
  59. package/dist/chunks/{file-mutation-a5gt7g2r.js → rpc-5kptn8c0.js} +9 -9
  60. package/dist/chunks/{file-mutation-8rndkrc9.js → rpc-5qta70ca.js} +20 -20
  61. package/dist/chunks/{file-mutation-55fsb9kg.js → rpc-5r1r91je.js} +24 -24
  62. package/dist/chunks/{file-mutation-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{file-mutation-06e9b0r5.js → rpc-5vs4yzkb.js} +4 -4
  64. package/dist/chunks/{file-mutation-pq4st5kv.js → rpc-63bt3mag.js} +2 -2
  65. package/dist/chunks/{file-mutation-d19y6w96.js → rpc-6680k98e.js} +42 -42
  66. package/dist/chunks/{file-mutation-669tq793.js → rpc-669tq793.js} +1 -1
  67. package/dist/chunks/{file-mutation-40snepyt.js → rpc-6dgk4twc.js} +30 -30
  68. package/dist/chunks/{file-mutation-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{file-mutation-vzm76b3t.js → rpc-6sth7kcr.js} +6 -6
  70. package/dist/chunks/{file-mutation-ftnkmamc.js → rpc-71hg3n7c.js} +20 -20
  71. package/dist/chunks/{file-mutation-71q4at8m.js → rpc-71q4at8m.js} +1 -1
  72. package/dist/chunks/{file-mutation-y6xnddjk.js → rpc-78hqr335.js} +4 -4
  73. package/dist/chunks/{file-mutation-5xtgfte3.js → rpc-7b15y959.js} +8 -8
  74. package/dist/chunks/{file-mutation-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{file-mutation-fcrkznn8.js → rpc-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{file-mutation-93qrahcj.js → rpc-7etk2hzb.js} +9 -9
  77. package/dist/chunks/{file-mutation-gm1k8myf.js → rpc-7g61tyhv.js} +11 -11
  78. package/dist/chunks/{file-mutation-bcvv562x.js → rpc-7mqmxrx0.js} +15 -15
  79. package/dist/chunks/{file-mutation-3qm34taf.js → rpc-7rvtqatg.js} +11 -11
  80. package/dist/chunks/{file-mutation-t8ksxzma.js → rpc-7ryxtne2.js} +18 -18
  81. package/dist/chunks/{file-mutation-fq1h1v14.js → rpc-7ybwwvvx.js} +3 -3
  82. package/dist/chunks/{file-mutation-994yq7gs.js → rpc-812pdnj9.js} +15 -15
  83. package/dist/chunks/{file-mutation-f58s2wyk.js → rpc-81k39a0h.js} +11 -11
  84. package/dist/chunks/{file-mutation-9ctpkay6.js → rpc-82mbhkby.js} +24 -24
  85. package/dist/chunks/{file-mutation-8m0rbw91.js → rpc-848g7kq8.js} +6 -6
  86. package/dist/chunks/{file-mutation-gnbcfc85.js → rpc-86azpgyb.js} +36 -36
  87. package/dist/chunks/{file-mutation-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{file-mutation-0kmn1fe5.js → rpc-8eafbdk1.js} +9 -9
  89. package/dist/chunks/{file-mutation-sd8x8c65.js → rpc-8kfkccvf.js} +28 -28
  90. package/dist/chunks/{file-mutation-kx5d5bhr.js → rpc-8kndfjmn.js} +11 -11
  91. package/dist/chunks/{file-mutation-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{file-mutation-rvv37x7m.js → rpc-8qexswn4.js} +49 -49
  93. package/dist/chunks/{file-mutation-mv0zd19e.js → rpc-8rmy5ya5.js} +6 -6
  94. package/dist/chunks/{file-mutation-2s50d4an.js → rpc-8sghyhzw.js} +8 -8
  95. package/dist/chunks/{file-mutation-nvbnysz2.js → rpc-8tjfcq3e.js} +12 -12
  96. package/dist/chunks/{file-mutation-n7gchs3r.js → rpc-9ej4f3gs.js} +42 -42
  97. package/dist/chunks/{file-mutation-8d8kddd4.js → rpc-9ezh3pre.js} +14 -14
  98. package/dist/chunks/{file-mutation-whqd4cg2.js → rpc-9kgmhgf7.js} +18 -18
  99. package/dist/chunks/{file-mutation-81swgkk7.js → rpc-9pv0dm11.js} +9 -9
  100. package/dist/chunks/{file-mutation-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{file-mutation-806j49yq.js → rpc-a2ew8a62.js} +4 -4
  102. package/dist/chunks/{file-mutation-y9dm3m96.js → rpc-a5hqaec8.js} +5 -5
  103. package/dist/chunks/{file-mutation-t51qk8jz.js → rpc-a8bn8zg0.js} +21 -21
  104. package/dist/chunks/{file-mutation-49w8mb30.js → rpc-a8zr1srk.js} +11 -11
  105. package/dist/chunks/{file-mutation-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-mutation-3xq6eagg.js → rpc-ad8rjs1d.js} +57 -57
  107. package/dist/chunks/{file-mutation-hnz0zg2g.js → rpc-aeget6rx.js} +16 -16
  108. package/dist/chunks/{file-mutation-hh8z4pbg.js → rpc-ajzgx9s2.js} +6 -6
  109. package/dist/chunks/{file-mutation-nchh3q1h.js → rpc-at0srrj9.js} +17 -17
  110. package/dist/chunks/{file-mutation-rcwb6wwf.js → rpc-ave7p2tf.js} +43 -43
  111. package/dist/chunks/{file-mutation-88adr1q9.js → rpc-ay95kvxt.js} +12 -12
  112. package/dist/chunks/{file-mutation-zhsgacjb.js → rpc-aydj3jpn.js} +5 -5
  113. package/dist/chunks/{file-mutation-p4rfye9r.js → rpc-aykm855c.js} +16 -16
  114. package/dist/chunks/{file-mutation-9k2v62xn.js → rpc-b2jx7zxs.js} +1 -1
  115. package/dist/chunks/{file-mutation-r365bz61.js → rpc-b452245p.js} +18 -18
  116. package/dist/chunks/{file-mutation-5qczcnpy.js → rpc-b4jtvy14.js} +22 -22
  117. package/dist/chunks/{file-mutation-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{file-mutation-n0hfs6vw.js → rpc-bets30rh.js} +35 -35
  119. package/dist/chunks/{file-mutation-bve5mb3t.js → rpc-bhm0wwej.js} +9 -9
  120. package/dist/chunks/{file-mutation-9jwfms7w.js → rpc-bnvsd47h.js} +28 -28
  121. package/dist/chunks/{file-mutation-2y04n8jz.js → rpc-bvx334ga.js} +5 -5
  122. package/dist/chunks/{file-mutation-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{file-mutation-t4pq13ck.js → rpc-cknngr8n.js} +7 -7
  124. package/dist/chunks/{file-mutation-j2kgjx3g.js → rpc-cqyppt87.js} +5 -5
  125. package/dist/chunks/{file-mutation-mbfhs0cg.js → rpc-cv3pfd1g.js} +32 -32
  126. package/dist/chunks/{file-mutation-gyt4xc7p.js → rpc-cy023x00.js} +11 -11
  127. package/dist/chunks/{file-mutation-rsqw0z3c.js → rpc-d1gmhgze.js} +3 -3
  128. package/dist/chunks/rpc-d3edv76n.js +247 -0
  129. package/dist/chunks/{file-mutation-c95cvesc.js → rpc-d9sn21bc.js} +2 -2
  130. package/dist/chunks/{file-mutation-he7r1j7z.js → rpc-dmky53ph.js} +13 -13
  131. package/dist/chunks/{file-mutation-g2emr326.js → rpc-drf46963.js} +27 -27
  132. package/dist/chunks/{file-mutation-prg0vcqa.js → rpc-dyy3hg9v.js} +27 -27
  133. package/dist/chunks/{file-mutation-vxg24fff.js → rpc-e10pngcb.js} +7 -7
  134. package/dist/chunks/{file-mutation-ca7w653e.js → rpc-e2hjzebn.js} +4 -4
  135. package/dist/chunks/{file-mutation-2wyjv582.js → rpc-e6jkap1f.js} +4 -4
  136. package/dist/chunks/{file-mutation-pgg8zxmg.js → rpc-efmeagt0.js} +16 -16
  137. package/dist/chunks/{file-mutation-ze2evx92.js → rpc-ehz7tvfk.js} +42 -42
  138. package/dist/chunks/{file-mutation-bj38exev.js → rpc-enjqvhhk.js} +4 -4
  139. package/dist/chunks/{file-mutation-e3qr8qh7.js → rpc-ermacy2g.js} +11 -11
  140. package/dist/chunks/{file-mutation-0atcf9qv.js → rpc-escwhzbq.js} +21 -21
  141. package/dist/chunks/{file-mutation-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{file-mutation-2qp6y8xf.js → rpc-evbgk2k8.js} +5 -5
  143. package/dist/chunks/{file-mutation-8hzg5heq.js → rpc-f1qr80xv.js} +10 -10
  144. package/dist/chunks/{file-mutation-f828m53h.js → rpc-f828m53h.js} +2 -2
  145. package/dist/chunks/{file-mutation-3hf7z3yq.js → rpc-fd4fwae4.js} +11 -11
  146. package/dist/chunks/{file-mutation-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{file-mutation-m1yhe7vf.js → rpc-fypygjtf.js} +7 -7
  148. package/dist/chunks/{file-mutation-4fjbcyqb.js → rpc-g0xjywn0.js} +24 -24
  149. package/dist/chunks/{file-mutation-actbqwdw.js → rpc-ga3kzjxn.js} +3 -3
  150. package/dist/chunks/{file-mutation-dwmg9hrb.js → rpc-gaqsv9vz.js} +80 -80
  151. package/dist/chunks/{file-mutation-b28dsp24.js → rpc-gcbhdhgt.js} +35 -35
  152. package/dist/chunks/{file-mutation-5vn17cm2.js → rpc-gd1x23dm.js} +18 -18
  153. package/dist/chunks/{file-mutation-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{file-mutation-45hw2ke2.js → rpc-gkk129yf.js} +8 -8
  155. package/dist/chunks/{file-mutation-xryrtgfh.js → rpc-gpjchng5.js} +4 -4
  156. package/dist/chunks/{file-mutation-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{file-mutation-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
  158. package/dist/chunks/{file-mutation-6hvfbh91.js → rpc-h0ddxr27.js} +13 -13
  159. package/dist/chunks/{file-mutation-hxmjvm96.js → rpc-h196em3s.js} +41 -41
  160. package/dist/chunks/{file-mutation-jw70sp16.js → rpc-h1n238ac.js} +4 -4
  161. package/dist/chunks/{file-mutation-tjxznqzk.js → rpc-h2t2tw2n.js} +11 -11
  162. package/dist/chunks/{file-mutation-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{file-mutation-6ydb37tg.js → rpc-h8f3xwjj.js} +284 -284
  164. package/dist/chunks/{file-mutation-8x19mfpd.js → rpc-hav6ns8c.js} +13 -13
  165. package/dist/chunks/{file-mutation-38q3t4w4.js → rpc-hemec0th.js} +39 -39
  166. package/dist/chunks/{file-mutation-vkxpz7g2.js → rpc-hfdr1yjj.js} +4 -4
  167. package/dist/chunks/{file-mutation-2vcmvr51.js → rpc-hjhqf936.js} +4 -4
  168. package/dist/chunks/{file-mutation-fa129hwe.js → rpc-hn6ar8tx.js} +26 -26
  169. package/dist/chunks/{file-mutation-f3bk3ss6.js → rpc-hpwz0gyy.js} +6 -6
  170. package/dist/chunks/{file-mutation-80738sq9.js → rpc-j0ewz58p.js} +74 -74
  171. package/dist/chunks/{file-mutation-c1nn02ak.js → rpc-j36g4ek5.js} +39 -39
  172. package/dist/chunks/{file-mutation-1zgrek1b.js → rpc-j3xb24h1.js} +18 -18
  173. package/dist/chunks/{file-mutation-ym15bmrz.js → rpc-j5208yae.js} +7 -7
  174. package/dist/chunks/{file-mutation-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  175. package/dist/chunks/{file-mutation-bwshncvd.js → rpc-j7wq2tw5.js} +3 -3
  176. package/dist/chunks/{file-mutation-c48kwzew.js → rpc-jh9q333t.js} +6 -6
  177. package/dist/chunks/{file-mutation-1v9ym5jr.js → rpc-jt8wkmq3.js} +20 -20
  178. package/dist/chunks/{file-mutation-84tssp1s.js → rpc-jtp7wgq3.js} +8 -8
  179. package/dist/chunks/{file-mutation-ryfyd5fe.js → rpc-jvhgncaf.js} +11 -11
  180. package/dist/chunks/{file-mutation-py90b8jm.js → rpc-jwx4y25k.js} +9 -9
  181. package/dist/chunks/{file-mutation-g6ww450v.js → rpc-k4ggf7wz.js} +6 -6
  182. package/dist/chunks/{file-mutation-vypqtakx.js → rpc-kcwf74x3.js} +1 -1
  183. package/dist/chunks/{file-mutation-shh6fz4q.js → rpc-keat3kjn.js} +4 -4
  184. package/dist/chunks/{file-mutation-kg06axw8.js → rpc-kg06axw8.js} +1 -1
  185. package/dist/chunks/{file-mutation-qz2vwnt8.js → rpc-knpgx9zf.js} +13 -13
  186. package/dist/chunks/{file-mutation-5f3v4jqn.js → rpc-kvvjzsre.js} +13 -13
  187. package/dist/chunks/{file-mutation-0kmr7qxb.js → rpc-kyf09390.js} +28 -28
  188. package/dist/chunks/{file-mutation-3sxqrh4h.js → rpc-m2shnn4e.js} +31 -31
  189. package/dist/chunks/{file-mutation-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{file-mutation-1ygqh575.js → rpc-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{file-mutation-mkcjrzeh.js → rpc-mkcjrzeh.js} +1 -1
  192. package/dist/chunks/{file-mutation-1bbkgx8g.js → rpc-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{file-mutation-d8dqhcx6.js → rpc-mwaq9hpm.js} +19 -19
  194. package/dist/chunks/{file-mutation-drfdf3ak.js → rpc-mzvapydn.js} +11 -11
  195. package/dist/chunks/{file-mutation-rt6kd21k.js → rpc-n8w2n8mt.js} +13 -13
  196. package/dist/chunks/{file-mutation-y2vrj84a.js → rpc-nbddwgy7.js} +6 -6
  197. package/dist/chunks/{file-mutation-mgaz471z.js → rpc-nh2r5jdq.js} +1 -1
  198. package/dist/chunks/{file-mutation-hjt4xg1x.js → rpc-nhy5jxhy.js} +4 -4
  199. package/dist/chunks/{file-mutation-t599r0en.js → rpc-nngsh4zc.js} +8 -8
  200. package/dist/chunks/{file-mutation-bb3j3psa.js → rpc-ntefk5q2.js} +6 -6
  201. package/dist/chunks/{file-mutation-9phvn7ns.js → rpc-nzwv9chv.js} +3 -3
  202. package/dist/chunks/{file-mutation-3cz8rj72.js → rpc-p44d8wdy.js} +5 -5
  203. package/dist/chunks/{file-mutation-j935v87r.js → rpc-paphc93g.js} +2 -2
  204. package/dist/chunks/{file-mutation-h9sh19qw.js → rpc-pe8twcp1.js} +8 -8
  205. package/dist/chunks/{file-mutation-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-mutation-c4wn80s8.js → rpc-pk8pw837.js} +17 -17
  207. package/dist/chunks/{file-mutation-pknna89w.js → rpc-pknna89w.js} +1 -1
  208. package/dist/chunks/{file-mutation-zt5c7qyf.js → rpc-pqd1mzxt.js} +9 -9
  209. package/dist/chunks/{file-mutation-vabb23s0.js → rpc-q1c4k7jk.js} +1 -1
  210. package/dist/chunks/{file-mutation-2336b01z.js → rpc-q6d53jre.js} +8 -8
  211. package/dist/chunks/{file-mutation-c5c317t5.js → rpc-q98kh21b.js} +8 -8
  212. package/dist/chunks/{file-mutation-vwntjgrk.js → rpc-qn236mkj.js} +26 -26
  213. package/dist/chunks/{file-mutation-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-mutation-1tq060df.js → rpc-r33ff4dw.js} +4 -4
  215. package/dist/chunks/{file-mutation-8vkd33e4.js → rpc-r4qn2xe9.js} +161 -161
  216. package/dist/chunks/{file-mutation-ve4pfa0n.js → rpc-r98e92ep.js} +4 -4
  217. package/dist/chunks/{file-mutation-6j4ag5pz.js → rpc-rd1v4kcy.js} +35 -35
  218. package/dist/chunks/{file-mutation-yp2x3t23.js → rpc-rhraev7y.js} +4 -4
  219. package/dist/chunks/{file-mutation-esdnemd6.js → rpc-rstnkd3y.js} +1 -1
  220. package/dist/chunks/{file-mutation-m9q90vtq.js → rpc-s0b2yntt.js} +9 -9
  221. package/dist/chunks/{file-mutation-cd746zc3.js → rpc-s2v4v98g.js} +27 -27
  222. package/dist/chunks/{file-mutation-0gdmqesm.js → rpc-s8d7rejh.js} +4 -4
  223. package/dist/chunks/{file-mutation-pqeratpj.js → rpc-s8rzfbyd.js} +11 -11
  224. package/dist/chunks/{file-mutation-h0gknw34.js → rpc-sa0a5p27.js} +26 -26
  225. package/dist/chunks/{file-mutation-bmgez2f1.js → rpc-sf7x1fj7.js} +17 -17
  226. package/dist/chunks/{file-mutation-jps1ny4p.js → rpc-sn0jzx2p.js} +46 -46
  227. package/dist/chunks/{file-mutation-y62rmnsx.js → rpc-st700yg7.js} +11 -11
  228. package/dist/chunks/{file-mutation-dbkk30e5.js → rpc-sw4fypgs.js} +31 -31
  229. package/dist/chunks/{file-mutation-rk2ahbr8.js → rpc-t3de4bw4.js} +13 -13
  230. package/dist/chunks/{file-mutation-5qzxerzy.js → rpc-t4g30a11.js} +63 -63
  231. package/dist/chunks/{file-mutation-n763yaxc.js → rpc-t4yvbv2m.js} +8 -8
  232. package/dist/chunks/{file-mutation-2s407pyf.js → rpc-t5n4sn49.js} +10 -10
  233. package/dist/chunks/{file-mutation-mrw4weg4.js → rpc-t8r3ep1g.js} +5 -5
  234. package/dist/chunks/{file-mutation-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{file-mutation-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{file-mutation-tdstcens.js → rpc-tdstcens.js} +1 -1
  237. package/dist/chunks/{file-mutation-nw1kez4j.js → rpc-tf05515k.js} +37 -37
  238. package/dist/chunks/{file-mutation-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  239. package/dist/chunks/{file-mutation-b6tpec7v.js → rpc-twxs2vfq.js} +27 -27
  240. package/dist/chunks/{file-mutation-rt3pmekg.js → rpc-tz3f8yzd.js} +33 -33
  241. package/dist/chunks/{file-mutation-ks65mm2v.js → rpc-v3a8d439.js} +21 -21
  242. package/dist/chunks/{file-mutation-qwqr3n23.js → rpc-v5wzvjc3.js} +7 -7
  243. package/dist/chunks/{file-mutation-zqgpk263.js → rpc-vazxcjns.js} +20 -20
  244. package/dist/chunks/{file-mutation-tz7np2q7.js → rpc-vczw2nmh.js} +17 -17
  245. package/dist/chunks/{file-mutation-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-mutation-vhqk6wt7.js → rpc-vj8a64wy.js} +11 -11
  247. package/dist/chunks/{file-mutation-hyt7xt3b.js → rpc-vj8jh5p3.js} +32 -32
  248. package/dist/chunks/{file-mutation-kf6yd70a.js → rpc-vjcp5cnv.js} +9 -9
  249. package/dist/chunks/{file-mutation-t171jc14.js → rpc-vpzh5kyk.js} +10 -10
  250. package/dist/chunks/{file-mutation-s2dewncd.js → rpc-vwhnhdwa.js} +19 -19
  251. package/dist/chunks/{file-mutation-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{file-mutation-zedst77g.js → rpc-w07mqhec.js} +33 -33
  253. package/dist/chunks/{file-mutation-w21xwbmq.js → rpc-w12rp218.js} +9 -9
  254. package/dist/chunks/{file-mutation-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-mutation-3ea0hr43.js → rpc-w7jvtf3d.js} +28 -28
  256. package/dist/chunks/{file-mutation-6hb1nw02.js → rpc-w8gexp6v.js} +32 -32
  257. package/dist/chunks/{file-mutation-510m7gjw.js → rpc-wbkyxrgf.js} +5 -5
  258. package/dist/chunks/{file-mutation-z7k8rsga.js → rpc-wcc6gayv.js} +12 -12
  259. package/dist/chunks/{file-mutation-wd87259q.js → rpc-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-mutation-e3pe5yny.js → rpc-wgktjw56.js} +3 -3
  261. package/dist/chunks/{file-mutation-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{file-mutation-x43y2vfs.js → rpc-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{file-mutation-m0jtk5b3.js → rpc-x8jcsx7d.js} +19 -19
  264. package/dist/chunks/{file-mutation-fhs97t90.js → rpc-xekzrwwc.js} +8 -8
  265. package/dist/chunks/{file-mutation-nsfhb685.js → rpc-xhfcg5z5.js} +26 -26
  266. package/dist/chunks/{file-mutation-m5shh40j.js → rpc-xp7stfgp.js} +2 -2
  267. package/dist/chunks/{file-mutation-rs226bz6.js → rpc-xsdh20fb.js} +5 -5
  268. package/dist/chunks/{file-mutation-8trxq8gn.js → rpc-xzda1vkx.js} +13 -13
  269. package/dist/chunks/{file-mutation-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{file-mutation-feeq33m8.js → rpc-y4ze8nqa.js} +14 -14
  271. package/dist/chunks/{file-mutation-h1fkweye.js → rpc-y53bff5k.js} +17 -17
  272. package/dist/chunks/{file-mutation-jwcy2c2z.js → rpc-y71avatq.js} +4 -4
  273. package/dist/chunks/{file-mutation-m3w486dh.js → rpc-yk9e0cpf.js} +4 -4
  274. package/dist/chunks/{file-mutation-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-mutation-s4enseaf.js → rpc-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-mutation-ttr98dqn.js → rpc-z03wer5m.js} +26 -26
  277. package/dist/chunks/{file-mutation-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-mutation-1vnghje2.js → rpc-z152v5gf.js} +15 -15
  279. package/dist/chunks/{file-mutation-29x78va6.js → rpc-z63w68vq.js} +6 -6
  280. package/dist/chunks/{file-mutation-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-mutation-4k8h272a.js → rpc-zej54b25.js} +7 -7
  282. package/dist/chunks/{file-mutation-c1k9yc14.js → rpc-zfytcyng.js} +16 -16
  283. package/dist/chunks/{file-mutation-j7rdq0sg.js → rpc-zg0hmsgg.js} +6 -6
  284. package/dist/chunks/{file-mutation-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{file-mutation-ka2e7rey.js → rpc-zr9h837b.js} +22 -22
  286. package/dist/chunks/{file-mutation-3x45ad37.js → rpc-zvrat7w3.js} +22 -22
  287. package/dist/chunks/{file-mutation-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{file-mutation-wdnn29qe.js → rpc-zymgq775.js} +23 -23
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +70 -70
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +93 -93
  429. package/dist/git.js +5 -5
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +81 -81
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +80 -80
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +81 -81
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +145 -145
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +216 -216
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +73 -73
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +88 -88
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +111 -111
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +108 -108
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +211 -211
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +4 -4
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +105 -105
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +115 -115
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +116 -116
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +115 -115
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +104 -104
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +92 -92
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/file-mutation-53555yf5.js +0 -247
  687. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  688. package/dist/chunks/file-mutation-j71snt67.js +0 -22
  689. package/dist/chunks/file-mutation-qdyb70sk.js +0 -18
  690. /package/dist/chunks/{file-mutation-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{file-mutation-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{file-mutation-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{file-mutation-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{file-mutation-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{file-mutation-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{file-mutation-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3asan66x.js → rpc-3asan66x.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{file-mutation-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-mutation-53557ph1.js → rpc-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-mutation-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-mutation-6prwharc.js → rpc-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-mutation-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-mutation-822emrt2.js → rpc-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-mutation-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-mutation-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-mutation-922hggd3.js → rpc-922hggd3.js} +0 -0
  715. /package/dist/chunks/{file-mutation-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-mutation-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{file-mutation-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{file-mutation-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{file-mutation-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{file-mutation-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{file-mutation-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{file-mutation-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{file-mutation-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{file-mutation-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{file-mutation-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{file-mutation-df08tz66.js → rpc-df08tz66.js} +0 -0
  732. /package/dist/chunks/{file-mutation-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-mutation-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-mutation-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-mutation-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-mutation-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-mutation-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-mutation-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-mutation-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-mutation-g86h250q.js → rpc-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-mutation-gftt206x.js → rpc-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{file-mutation-hk9envan.js → rpc-hk9envan.js} +0 -0
  749. /package/dist/chunks/{file-mutation-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{file-mutation-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{file-mutation-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mutation-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-mutation-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-mutation-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-mutation-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-mutation-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-mutation-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-mutation-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-mutation-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-mutation-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-mutation-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{file-mutation-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{file-mutation-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-mutation-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-mutation-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-mutation-x61499pn.js → rpc-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-mutation-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-mutation-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-mutation-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-mutation-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -2,44 +2,44 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-mutation-2a5m3afh.js";
5
+ } from "./rpc-2a5m3afh.js";
6
6
  import {
7
7
  Service75
8
- } from "./file-mutation-93qrahcj.js";
8
+ } from "./rpc-7etk2hzb.js";
9
9
  import {
10
- Service70
11
- } from "./file-mutation-5qczcnpy.js";
10
+ Service47
11
+ } from "./rpc-b4jtvy14.js";
12
12
  import {
13
- Service74
14
- } from "./file-mutation-hnz0zg2g.js";
13
+ Service36
14
+ } from "./rpc-aeget6rx.js";
15
15
  import {
16
- Service69,
16
+ Service14,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-mutation-5f3v4jqn.js";
19
+ } from "./rpc-kvvjzsre.js";
20
20
  import {
21
- Service52
22
- } from "./file-mutation-hhc8hmsq.js";
21
+ Service70
22
+ } from "./rpc-392203pj.js";
23
23
  import {
24
- Service51,
24
+ Service69,
25
25
  resolvePath2
26
- } from "./file-mutation-9jq9dwvq.js";
26
+ } from "./rpc-2gzv1x1z.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./file-mutation-6prwharc.js";
29
+ } from "./rpc-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./file-mutation-9rqn6x4v.js";
32
+ } from "./rpc-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input4,
39
- Output: () => Output4,
38
+ Input: () => Input9,
39
+ Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin35,
42
- name: () => name4,
41
+ Plugin: () => Plugin40,
42
+ name: () => name9,
43
43
  toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name4 = "patch";
89
- var Input4 = Schema.Struct({
88
+ var name9 = "patch";
89
+ var Input9 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output4 = Schema.Struct({
99
+ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
@@ -105,21 +105,21 @@ var toModelContent3 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin35 = {
108
+ var Plugin40 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service70;
112
- const access = yield* Service51;
113
- const fileMutation = yield* Service69;
114
- const formatter = yield* Service74;
111
+ const environment = yield* Service47;
112
+ const access = yield* Service69;
113
+ const fileMutation = yield* Service14;
114
+ const formatter = yield* Service36;
115
115
  const location = yield* Service75;
116
- const permission = yield* Service52;
116
+ const permission = yield* Service70;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name9,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input4,
122
- output: Output4,
121
+ input: Input9,
122
+ output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name4, Input4, Applied2, Output4, toModelContent3, Plugin35, exports_patch };
326
+ export { name9, Input9, Applied2, Output6, toModelContent3, Plugin40, exports_patch };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-mutation-922hggd3.js";
4
+ } from "./rpc-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service77,
9
- node81
10
- } from "./file-mutation-y2vrj84a.js";
9
+ node82
10
+ } from "./rpc-nbddwgy7.js";
11
11
  import {
12
12
  Service75,
13
- node79
14
- } from "./file-mutation-93qrahcj.js";
13
+ node80
14
+ } from "./rpc-7etk2hzb.js";
15
15
  import {
16
16
  create3
17
- } from "./file-mutation-kg06axw8.js";
17
+ } from "./rpc-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./rpc-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID15,
27
- Service: () => Service72,
25
+ Error: () => Error2,
26
+ ID: () => ID5,
27
+ Service: () => Service30,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node76,
30
- noopLayer: () => noopLayer3
29
+ node: () => node34,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID15 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service72 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service30 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service72, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service77;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID15.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service72.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service30.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node76 = makeLocationNode({
139
- service: Service72,
138
+ var node34 = makeLocationNode({
139
+ service: Service30,
140
140
  layer,
141
- deps: [FSUtil.node, node81, Global.node, node79]
141
+ deps: [FSUtil.node, node82, Global.node, node80]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service72, Service72.of({
143
+ var noopLayer2 = Layer.succeed(Service30, Service30.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service72, Service72.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error5 && cause.operation === operation)
152
+ if (cause instanceof Error2 && cause.operation === operation)
153
153
  return cause;
154
- return new Error5({
154
+ return new Error2({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID15, Error5, Service72, node76, noopLayer3, exports_snapshot2 };
161
+ export { ID5, Error2, Service30, node34, noopLayer2, exports_snapshot2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  Service75
6
- } from "./file-mutation-93qrahcj.js";
6
+ } from "./rpc-7etk2hzb.js";
7
7
  import {
8
- Service51
9
- } from "./file-mutation-9jq9dwvq.js";
8
+ Service69
9
+ } from "./rpc-2gzv1x1z.js";
10
10
  import {
11
11
  Service11
12
- } from "./file-mutation-rk2ahbr8.js";
12
+ } from "./rpc-t3de4bw4.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./file-mutation-2a5m3afh.js";
15
+ } from "./rpc-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service12
27
- } from "./file-mutation-kx5d5bhr.js";
27
+ } from "./rpc-8kndfjmn.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./rpc-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin40,
35
+ Input: () => Input11,
36
+ Plugin: () => Plugin43,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
38
+ name: () => name11,
39
39
  toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name9 = "read";
45
+ var name11 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input11 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin40 = {
58
+ var Plugin43 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service12;
62
- const access = yield* Service51;
62
+ const access = yield* Service69;
63
63
  const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service75;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
67
+ name: name11,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input9,
70
+ input: Input11,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name9, Input9, Plugin40, toModelContent5, exports_read };
182
+ export { name11, Input11, Plugin43, toModelContent5, exports_read };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service61,
8
+ Service: () => Service40,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node64
10
+ node: () => node44
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service61 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service61, () => {
17
+ var layer = Layer.sync(Service40, () => {
18
18
  const environments = new Map;
19
- return Service61.of({
19
+ return Service40.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service61, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [] });
29
+ var node44 = makeGlobalNode({ service: Service40, layer, deps: [] });
30
30
 
31
- export { Service61, node64, exports_environment };
31
+ export { Service40, node44, exports_environment };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service65
3
- } from "./file-mutation-ze2evx92.js";
2
+ Service52
3
+ } from "./rpc-ehz7tvfk.js";
4
4
  import {
5
- Service7
6
- } from "./file-mutation-a5gt7g2r.js";
5
+ Service10
6
+ } from "./rpc-5kptn8c0.js";
7
7
  import {
8
8
  observe2
9
- } from "./file-mutation-qsdy395h.js";
9
+ } from "./rpc-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher = {};
16
16
  __export(exports_location_watcher, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin17
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin15 = define({
22
+ var Plugin17 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service65;
26
- const policy = yield* Service7;
25
+ const config = yield* Service52;
26
+ const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin15, exports_location_watcher };
38
+ export { Plugin17, exports_location_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-mutation-gftt206x.js";
3
+ } from "./rpc-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID2 } from "@opencode/schema/pty";
3
+
4
+ export { ID2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-mutation-c1k9yc14.js";
2
+ Service79,
3
+ node84
4
+ } from "./rpc-zfytcyng.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-mutation-2402vzrj.js";
11
+ } from "./rpc-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-mutation-922hggd3.js";
14
+ } from "./rpc-922hggd3.js";
15
15
  import {
16
- Service40,
17
- node43
18
- } from "./file-mutation-r365bz61.js";
16
+ Service32,
17
+ node36
18
+ } from "./rpc-b452245p.js";
19
19
  import {
20
20
  create3
21
- } from "./file-mutation-kg06axw8.js";
21
+ } from "./rpc-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./rpc-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event5,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info6,
31
+ Info: () => Info5,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service39,
34
+ Service: () => Service31,
35
35
  Source: () => Source3,
36
- node: () => node42
36
+ node: () => node35
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event5 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info6 = Reference.Info;
46
+ var Info5 = Reference.Info;
47
47
 
48
- class Service39 extends Context.Service()("@opencode/Reference") {
48
+ class Service31 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service39, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service78;
53
- const cache = yield* Service40;
52
+ const bus = yield* Service79;
53
+ const cache = yield* Service32;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info6.make({ ...info, path: source.path })];
63
+ return [Info5.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info6.make({
75
+ Info5.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service39.of({
107
+ return Service31.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node42 = makeLocationNode({
116
- service: Service39,
115
+ var node35 = makeLocationNode({
116
+ service: Service31,
117
117
  layer,
118
- deps: [Global.node, node82, node43]
118
+ deps: [Global.node, node84, node36]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info6, Service39, node42, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source3, Info5, Service31, node35, exports_reference2, Event5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID16
3
- } from "./file-mutation-84tssp1s.js";
2
+ ID11
3
+ } from "./rpc-jtp7wgq3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,8 +12,8 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID13,
16
- Info: () => Info28,
15
+ ID: () => ID10,
16
+ Info: () => Info23,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
19
  Ref: () => Ref3,
@@ -22,7 +22,7 @@ __export(exports_model2, {
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID13 = Model.ID;
25
+ var ID10 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
32
  var Ref3 = Model.Ref;
33
- var Info28 = Model.Info;
33
+ var Info23 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID13.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID13, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };
49
+ export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info23, compatibility2, parse5, exports_model2 };