@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
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID13,
2
+ ID10,
3
3
  Family2
4
- } from "./file-mutation-186z8ksc.js";
4
+ } from "./rpc-15v2jbpx.js";
5
5
  import {
6
- Service65
7
- } from "./file-mutation-ze2evx92.js";
6
+ Service52
7
+ } from "./rpc-ehz7tvfk.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-mutation-vxg24fff.js";
10
+ } from "./rpc-e10pngcb.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service65;
53
+ const config = yield* Service52;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID13.make(item.model);
80
+ model.modelID = ID10.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make5();
154
+ var OllamaPlugin2 = make6();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make5, OllamaPlugin2 };
173
+ export { make6, OllamaPlugin2 };
@@ -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
  loadSDKFactory2
6
- } from "./file-mutation-hjbc5kem.js";
6
+ } from "./rpc-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID16.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID16.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -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/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID10,
3
- Service55
4
- } from "./file-mutation-cd746zc3.js";
2
+ ID14,
3
+ Service73
4
+ } from "./rpc-s2v4v98g.js";
5
5
  import {
6
6
  latest2,
7
- Service65
8
- } from "./file-mutation-ze2evx92.js";
7
+ Service52
8
+ } from "./rpc-ehz7tvfk.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./file-mutation-bwshncvd.js";
11
+ } from "./rpc-j7wq2tw5.js";
12
12
  import {
13
- Service57
14
- } from "./file-mutation-tz7np2q7.js";
13
+ Service60
14
+ } from "./rpc-vczw2nmh.js";
15
15
  import {
16
16
  evaluate2,
17
- Service52
18
- } from "./file-mutation-hhc8hmsq.js";
17
+ Service70
18
+ } from "./rpc-392203pj.js";
19
19
  import {
20
20
  Service17
21
- } from "./file-mutation-dwmg9hrb.js";
21
+ } from "./rpc-gaqsv9vz.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./file-mutation-x1ezjp6w.js";
24
+ } from "./rpc-x1ezjp6w.js";
25
25
  import {
26
26
  make10
27
- } from "./file-mutation-bb3j3psa.js";
27
+ } from "./rpc-ntefk5q2.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/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input7,
36
- Output: () => Output6,
37
- Plugin: () => Plugin38,
35
+ Input: () => Input8,
36
+ Output: () => Output5,
37
+ Plugin: () => Plugin39,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description4,
40
- name: () => name7
39
+ description: () => description5,
40
+ name: () => name8
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name7 = "subagent";
44
+ var name8 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input7 = Schema.Struct({
55
+ var Input8 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input7 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output6 = Schema.Struct({
66
+ var Output5 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description4 = [
71
+ var description5 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin38 = {
80
+ var Plugin39 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
83
  const sessions = yield* Service17;
84
- const jobs = yield* Service57;
85
- const agents = yield* Service55;
86
- const config = yield* Service65;
87
- const permission = yield* Service52;
84
+ const jobs = yield* Service60;
85
+ const agents = yield* Service73;
86
+ const config = yield* Service52;
87
+ const permission = yield* Service70;
88
88
  const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name7,
90
+ name: name8,
91
91
  options: { codemode: false },
92
- description: description4,
93
- input: Input7,
94
- output: Output6,
92
+ description: description5,
93
+ input: Input8,
94
+ output: Output5,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin38 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name7,
114
+ action: name8,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin38 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID10.make(input.agent),
137
+ agent: ID14.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name7];
187
+ const tool = event.tools[name8];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name7, Input7, Output6, description4, Plugin38, exports_subagent };
207
+ export { name8, Input8, Output5, description5, Plugin39, exports_subagent };
@@ -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/id/id.ts
6
6
  var exports_id = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./file-mutation-pqeratpj.js";
3
+ node85
4
+ } from "./rpc-s8rzfbyd.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-mutation-jwcy2c2z.js";
7
+ } from "./rpc-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node75
12
- } from "./file-mutation-45hw2ke2.js";
11
+ node57
12
+ } from "./rpc-gkk129yf.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./file-mutation-faypxj3z.js";
15
+ } from "./rpc-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID14,
25
- Info: () => Info29,
24
+ ID: () => ID7,
25
+ Info: () => Info9,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service71,
27
+ Service: () => Service51,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured10,
30
- node: () => node74
29
+ configured: () => configured9,
30
+ node: () => node56
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID14 = Workspace.ID;
38
+ var ID7 = Workspace.ID;
39
39
 
40
- class Info29 extends Schema.Class("Workspace.Info")({
41
- id: ID14,
40
+ class Info9 extends Schema.Class("Workspace.Info")({
41
+ id: ID7,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID14 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID14,
53
+ workspaceID: ID7,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service71 extends Context.Service()("@opencode/Workspace") {
59
+ class Service51 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured10 = (options = {}) => makeGlobalNode({
62
- service: Service71,
61
+ var configured9 = (options = {}) => makeGlobalNode({
62
+ service: Service51,
63
63
  layer: layer(options),
64
- deps: [node84, node75]
64
+ deps: [node85, node57]
65
65
  });
66
- var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info29({
83
+ const info = (row, binding) => new Info9({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service71.of({
157
+ return Service51.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID14.create();
159
+ const workspaceID = input.id ?? ID7.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node74 = configured10();
224
+ var node56 = configured9();
225
225
 
226
- export { ID14, Info29, NotFound3, CreateConflict2, Service71, configured10, node74, exports_workspace };
226
+ export { ID7, Info9, NotFound3, CreateConflict2, Service51, configured9, node56, exports_workspace };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-mutation-2a5m3afh.js";
3
+ } from "./rpc-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./rpc-922hggd3.js";
7
7
  import {
8
8
  Service75
9
- } from "./file-mutation-93qrahcj.js";
9
+ } from "./rpc-7etk2hzb.js";
10
10
  import {
11
- Service70
12
- } from "./file-mutation-5qczcnpy.js";
11
+ Service47
12
+ } from "./rpc-b4jtvy14.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service41
16
- } from "./file-mutation-whqd4cg2.js";
15
+ Service46
16
+ } from "./rpc-9kgmhgf7.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-mutation-wdnn29qe.js";
23
+ } from "./rpc-zymgq775.js";
24
24
  import {
25
- Service52
26
- } from "./file-mutation-hhc8hmsq.js";
25
+ Service70
26
+ } from "./rpc-392203pj.js";
27
27
  import {
28
- Service51
29
- } from "./file-mutation-9jq9dwvq.js";
28
+ Service69
29
+ } from "./rpc-2gzv1x1z.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/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin32,
41
- name: () => name2,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin44,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name2 = "grep";
48
- var Input2 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output2 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin32 = {
86
+ var Plugin44 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service70;
90
- const ripgrep = yield* Service41;
89
+ const environment = yield* Service47;
90
+ const ripgrep = yield* Service46;
91
91
  const location = yield* Service75;
92
- const access = yield* Service51;
93
- const permission = yield* Service52;
92
+ const access = yield* Service69;
93
+ const permission = yield* Service70;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input2,
99
- output: Output2,
98
+ input: Input12,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name2,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin32 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin32 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name2, Input2, Output2, toModelContent2, Plugin32, exports_grep };
157
+ export { name12, Input12, Output8, toModelContent6, Plugin44, exports_grep };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service78,
4
- node82
5
- } from "./file-mutation-c1k9yc14.js";
6
- import {
7
3
  Service79,
8
- node83
9
- } from "./file-mutation-f58s2wyk.js";
4
+ node84
5
+ } from "./rpc-zfytcyng.js";
6
+ import {
7
+ Service67,
8
+ node72
9
+ } from "./rpc-81k39a0h.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event18,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service67,
22
+ Service: () => Service54,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node70,
25
+ node: () => node60,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service67 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service54 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event18 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service67, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service79;
81
- const bus = yield* Service78;
80
+ const kv = yield* Service67;
81
+ const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event18.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service67.of({
115
+ return Service54.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event18.Updated, {});
128
+ yield* bus.publish(Event13.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event18.Updated, {});
141
+ yield* bus.publish(Event13.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node70 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node83, node82] });
146
+ var node60 = makeGlobalNode({ service: Service54, layer, deps: [httpClient, node72, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event18, inspect2, resolve3, node70, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service54, Event13, inspect2, resolve3, node60, exports_wellknown };