@opencode/core 0.0.0-dev-20317 → 0.0.0-dev-20327

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-mutation-1j3s8w22.js → repository-03yhb5ad.js} +17 -17
  8. package/dist/chunks/{file-mutation-mg46656p.js → repository-092bevw2.js} +4 -4
  9. package/dist/chunks/{file-mutation-shg5zjww.js → repository-0aejbemy.js} +18 -18
  10. package/dist/chunks/{file-mutation-k8kd3x6v.js → repository-0nf4068s.js} +29 -29
  11. package/dist/chunks/{file-mutation-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-mutation-s749x1jp.js → repository-0tnq87cq.js} +15 -15
  13. package/dist/chunks/{file-mutation-an7cqtb7.js → repository-1a6p2twq.js} +4 -4
  14. package/dist/chunks/{file-mutation-mvfsc1pv.js → repository-1bbkgx8g.js} +3 -3
  15. package/dist/chunks/{file-mutation-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  16. package/dist/chunks/repository-1g8ttbme.js +26 -0
  17. package/dist/chunks/{file-mutation-yeb3g8kd.js → repository-1j5pt4ft.js} +49 -49
  18. package/dist/chunks/{file-mutation-mjqym6kr.js → repository-1ncm4hts.js} +3 -3
  19. package/dist/chunks/{file-mutation-ss0awb04.js → repository-1tq060df.js} +4 -4
  20. package/dist/chunks/{file-mutation-66pjjr98.js → repository-20gsadav.js} +15 -15
  21. package/dist/chunks/{file-mutation-21r38tys.js → repository-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-mutation-drqsxggm.js → repository-23nv5e2k.js} +23 -23
  23. package/dist/chunks/{file-mutation-t0avyhks.js → repository-256vj6ze.js} +23 -23
  24. package/dist/chunks/{file-mutation-29x78va6.js → repository-29x78va6.js} +2 -2
  25. package/dist/chunks/{file-mutation-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{file-mutation-77j67fjn.js → repository-2ccxq8sz.js} +54 -54
  27. package/dist/chunks/{file-mutation-87jaft4q.js → repository-2fj6nf2m.js} +22 -22
  28. package/dist/chunks/{file-mutation-b04b8x2j.js → repository-2p8k3371.js} +5 -5
  29. package/dist/chunks/{file-mutation-g9r4tham.js → repository-2qzws9he.js} +3 -3
  30. package/dist/chunks/{file-mutation-q7n5hrtn.js → repository-2sabx5kp.js} +5 -5
  31. package/dist/chunks/{file-mutation-hv7mkmtw.js → repository-2wts5qzq.js} +8 -8
  32. package/dist/chunks/{file-mutation-67j3xgk5.js → repository-330w2vey.js} +85 -85
  33. package/dist/chunks/{file-mutation-3qbaz8ss.js → repository-346y6mfm.js} +3 -3
  34. package/dist/chunks/{file-mutation-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{file-mutation-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{file-mutation-4r0vv8rp.js → repository-3qtmwhvy.js} +18 -18
  37. package/dist/chunks/{file-mutation-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-mutation-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-mutation-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{file-mutation-hew90mp0.js → repository-44khr5w8.js} +24 -24
  41. package/dist/chunks/{file-mutation-958zgc5t.js → repository-46m0hjzr.js} +4 -4
  42. package/dist/chunks/{file-mutation-m66zvs2c.js → repository-46vthg38.js} +9 -9
  43. package/dist/chunks/{file-mutation-3nktdnhj.js → repository-46zwd712.js} +24 -24
  44. package/dist/chunks/{file-mutation-4eq8w0dz.js → repository-4nzwy074.js} +4 -4
  45. package/dist/chunks/{file-mutation-axthpvgz.js → repository-4pnr4hhq.js} +8 -8
  46. package/dist/chunks/repository-4rsbbpr6.js +252 -0
  47. package/dist/chunks/{file-mutation-9hemy9a5.js → repository-4xrsv61j.js} +1 -1
  48. package/dist/chunks/{file-mutation-asw2t9gs.js → repository-51b08hzt.js} +13 -13
  49. package/dist/chunks/{file-mutation-b511pycq.js → repository-51bqn9hx.js} +14 -14
  50. package/dist/chunks/{file-mutation-t8cpjbvm.js → repository-522c72ec.js} +1 -1
  51. package/dist/chunks/{file-mutation-909p1r3q.js → repository-52hb404k.js} +6 -6
  52. package/dist/chunks/{file-mutation-54ma36ye.js → repository-54ma36ye.js} +1 -1
  53. package/dist/chunks/{file-mutation-3nxb9rvh.js → repository-57ez7d0k.js} +9 -9
  54. package/dist/chunks/{file-mutation-5daktx2q.js → repository-5daktx2q.js} +1 -1
  55. package/dist/chunks/{file-mutation-61hacpwr.js → repository-5khs75m3.js} +29 -29
  56. package/dist/chunks/{file-mutation-sds13m34.js → repository-5ngaw42y.js} +12 -12
  57. package/dist/chunks/{file-mutation-fc1vxnxc.js → repository-5ph46173.js} +27 -27
  58. package/dist/chunks/{file-mutation-s1vk8abd.js → repository-5pwkv57x.js} +5 -5
  59. package/dist/chunks/{file-mutation-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{file-mutation-qvrnhx4y.js → repository-5v36bsqd.js} +35 -35
  61. package/dist/chunks/{file-mutation-q7azfttr.js → repository-5xpznt2d.js} +4 -4
  62. package/dist/chunks/{file-mutation-5mzagth7.js → repository-62jtkyqj.js} +4 -4
  63. package/dist/chunks/{file-mutation-53vsygtf.js → repository-64d4fz0c.js} +24 -24
  64. package/dist/chunks/{file-mutation-669tq793.js → repository-669tq793.js} +1 -1
  65. package/dist/chunks/{file-mutation-am6v6khg.js → repository-6abfc7az.js} +26 -26
  66. package/dist/chunks/{file-mutation-3m0rnywy.js → repository-6cxm58b5.js} +3 -3
  67. package/dist/chunks/{file-mutation-b0dgvpy7.js → repository-6hjx5zpb.js} +9 -9
  68. package/dist/chunks/{file-mutation-c3n1cp32.js → repository-6hr9dd4j.js} +22 -22
  69. package/dist/chunks/{file-mutation-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{file-mutation-6e00a2ht.js → repository-6ty81bja.js} +15 -15
  71. package/dist/chunks/{file-mutation-1ce1gjkr.js → repository-6yea8ax2.js} +9 -9
  72. package/dist/chunks/{file-mutation-3c6wqyb6.js → repository-6ytch5ea.js} +18 -18
  73. package/dist/chunks/{file-mutation-37rhwr93.js → repository-734ywdzp.js} +43 -43
  74. package/dist/chunks/{file-mutation-enyc8xn2.js → repository-74n4xpv9.js} +25 -25
  75. package/dist/chunks/{file-mutation-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-mutation-2k8khapm.js → repository-7dqw4kz8.js} +5 -5
  77. package/dist/chunks/{file-mutation-yvz1hsk0.js → repository-7ec2pg6r.js} +9 -9
  78. package/dist/chunks/{file-mutation-qnx1cae3.js → repository-7g7rfneh.js} +22 -22
  79. package/dist/chunks/{file-mutation-7dbwzgk5.js → repository-7mx8b6x1.js} +13 -13
  80. package/dist/chunks/{file-mutation-xqcx71xb.js → repository-7resshyd.js} +21 -21
  81. package/dist/chunks/{file-mutation-ewfhazpw.js → repository-7sg25f73.js} +6 -6
  82. package/dist/chunks/{file-mutation-tt3k95t3.js → repository-84qcc0z6.js} +20 -20
  83. package/dist/chunks/{file-mutation-w1eejvng.js → repository-84txncab.js} +5 -5
  84. package/dist/chunks/{file-mutation-xkhj08b5.js → repository-8a17t1bw.js} +5 -5
  85. package/dist/chunks/{file-mutation-srb6kc6w.js → repository-8c1hkqew.js} +14 -14
  86. package/dist/chunks/{file-mutation-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-mutation-ag6syf74.js → repository-8rkn0jpj.js} +23 -23
  88. package/dist/chunks/{file-mutation-py3kkmfq.js → repository-8sze2n9a.js} +6 -6
  89. package/dist/chunks/{file-mutation-5rs2e4ae.js → repository-8wz7d5k9.js} +27 -27
  90. package/dist/chunks/{file-mutation-f13f6cny.js → repository-8x0w9677.js} +4 -4
  91. package/dist/chunks/{file-mutation-wbkyxrgf.js → repository-92a4ap4w.js} +5 -5
  92. package/dist/chunks/{file-mutation-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{file-mutation-18pyqb3h.js → repository-94vf58n3.js} +12 -12
  94. package/dist/chunks/{file-mutation-6gepwcpk.js → repository-9esrwjy0.js} +171 -171
  95. package/dist/chunks/{file-mutation-j4g2zvzf.js → repository-9f5fzrca.js} +29 -29
  96. package/dist/chunks/{file-mutation-4nk0fpy7.js → repository-9skhgxq9.js} +30 -30
  97. package/dist/chunks/{file-mutation-y2rbnnsy.js → repository-9v98as8j.js} +13 -13
  98. package/dist/chunks/{file-mutation-f7cas2m9.js → repository-a1x9jh75.js} +1 -1
  99. package/dist/chunks/{file-mutation-b27vhd2z.js → repository-a2ew8a62.js} +4 -4
  100. package/dist/chunks/{file-mutation-3jxxch2v.js → repository-a2skee4f.js} +22 -22
  101. package/dist/chunks/{file-mutation-rb1yyema.js → repository-a5bnh3fe.js} +11 -11
  102. package/dist/chunks/{file-mutation-r4dzbc5a.js → repository-a67k4gtk.js} +15 -15
  103. package/dist/chunks/{file-mutation-aaet6srn.js → repository-aaet6srn.js} +2 -2
  104. package/dist/chunks/{file-mutation-xxcmm6w8.js → repository-ar00q028.js} +8 -8
  105. package/dist/chunks/{file-mutation-ar8ppt4n.js → repository-awbq9rs1.js} +10 -10
  106. package/dist/chunks/{file-mutation-txnk5zrz.js → repository-azbzvrwt.js} +11 -11
  107. package/dist/chunks/{file-mutation-wx0mbdwc.js → repository-b5rh7nhk.js} +11 -11
  108. package/dist/chunks/{file-mutation-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{file-mutation-d3d3msnn.js → repository-bahkxd2v.js} +16 -16
  110. package/dist/chunks/repository-bk8heh08.js +507 -0
  111. package/dist/chunks/{file-mutation-ry3her87.js → repository-bkzqp4j5.js} +20 -20
  112. package/dist/chunks/{file-mutation-bs4gwx6b.js → repository-bvjb2t71.js} +32 -32
  113. package/dist/chunks/{file-mutation-9nxw8271.js → repository-bx61kp2z.js} +27 -27
  114. package/dist/chunks/{file-mutation-dwh27apr.js → repository-bzrp7q37.js} +13 -13
  115. package/dist/chunks/{file-mutation-h2k6r1dw.js → repository-c4sra46q.js} +9 -9
  116. package/dist/chunks/{file-mutation-t5srjmkn.js → repository-c8e8p37w.js} +36 -36
  117. package/dist/chunks/{file-mutation-vpj1j15r.js → repository-cadhwe8h.js} +9 -9
  118. package/dist/chunks/{file-mutation-y5cgb14q.js → repository-cgvtq6pd.js} +28 -28
  119. package/dist/chunks/{file-mutation-54tcyq79.js → repository-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{file-mutation-7xgv489k.js → repository-cme5mnrk.js} +13 -13
  121. package/dist/chunks/{file-mutation-h52fda0c.js → repository-cqbspedd.js} +17 -17
  122. package/dist/chunks/{file-mutation-4pd5ctp7.js → repository-d2ksf4va.js} +17 -17
  123. package/dist/chunks/{file-mutation-bhnd6jbc.js → repository-d8r9gpwm.js} +10 -10
  124. package/dist/chunks/{file-mutation-z3nvzw5r.js → repository-ddwbawsj.js} +40 -40
  125. package/dist/chunks/{file-mutation-qadgxe9y.js → repository-djj2fqjh.js} +16 -16
  126. package/dist/chunks/{file-mutation-xkntkrq7.js → repository-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{file-mutation-t8b05y9y.js → repository-dn8jpt1b.js} +11 -11
  128. package/dist/chunks/{file-mutation-068serwz.js → repository-dnxkq42g.js} +4 -4
  129. package/dist/chunks/{file-mutation-tn0aqsam.js → repository-dqmwfghx.js} +5 -5
  130. package/dist/chunks/{file-mutation-bqgg56a2.js → repository-dt4h0wgn.js} +8 -8
  131. package/dist/chunks/{file-mutation-snym9n01.js → repository-dxy9rwgs.js} +17 -17
  132. package/dist/chunks/{file-mutation-p4ghe5eg.js → repository-e0a154fg.js} +6 -6
  133. package/dist/chunks/{file-mutation-jqearavb.js → repository-e2vme18q.js} +41 -41
  134. package/dist/chunks/{file-mutation-80b4jn6q.js → repository-e4xyx1jr.js} +29 -29
  135. package/dist/chunks/{file-mutation-a2m1fs74.js → repository-e6v2k67t.js} +1 -1
  136. package/dist/chunks/{file-mutation-k2z2bpyb.js → repository-e8g69mg2.js} +24 -24
  137. package/dist/chunks/{file-mutation-7gvwkz6m.js → repository-ead3g9p8.js} +5 -5
  138. package/dist/chunks/{file-mutation-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
  139. package/dist/chunks/{file-mutation-2hr5nhwa.js → repository-eeaf82dq.js} +8 -8
  140. package/dist/chunks/{file-mutation-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{file-mutation-xxp5c75e.js → repository-ekmk2epb.js} +42 -42
  142. package/dist/chunks/{file-mutation-mp4w3xb3.js → repository-end8q9yf.js} +71 -71
  143. package/dist/chunks/{file-mutation-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-mutation-k56bzbcg.js → repository-etsm0c4w.js} +16 -16
  145. package/dist/chunks/{file-mutation-ttk49waq.js → repository-evfe50z6.js} +17 -17
  146. package/dist/chunks/{file-mutation-6edkmfn9.js → repository-evh8asg6.js} +24 -24
  147. package/dist/chunks/{file-mutation-5yz7xas9.js → repository-ewbysjez.js} +10 -10
  148. package/dist/chunks/{file-mutation-3b7qszte.js → repository-ezbqyzn4.js} +11 -11
  149. package/dist/chunks/{file-mutation-3arsr4w4.js → repository-f3h1v3p4.js} +8 -8
  150. package/dist/chunks/{file-mutation-zvt5dnpc.js → repository-f73rjn58.js} +4 -4
  151. package/dist/chunks/{file-mutation-gzbkpp9m.js → repository-fjvydvzm.js} +4 -4
  152. package/dist/chunks/{file-mutation-qz709pp3.js → repository-fnrmajhb.js} +12 -12
  153. package/dist/chunks/{file-mutation-m5e49ftz.js → repository-fnwzaghr.js} +29 -29
  154. package/dist/chunks/{file-mutation-v4gb911t.js → repository-fzhjq0vw.js} +8 -8
  155. package/dist/chunks/{file-mutation-br0tr5aq.js → repository-g0445xdp.js} +8 -8
  156. package/dist/chunks/{file-mutation-nng2ktcm.js → repository-g2yz86wh.js} +2 -2
  157. package/dist/chunks/{file-mutation-vhjvzfv4.js → repository-g3mc5kfg.js} +28 -28
  158. package/dist/chunks/{file-mutation-h6b02349.js → repository-g5agzp2h.js} +5 -5
  159. package/dist/chunks/{file-mutation-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{file-mutation-aspx9532.js → repository-ghat809j.js} +25 -25
  161. package/dist/chunks/{file-mutation-kgtr5kgz.js → repository-gtf1jrjg.js} +26 -26
  162. package/dist/chunks/{file-mutation-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{file-mutation-vkfhbx9v.js → repository-gycdx838.js} +9 -9
  164. package/dist/chunks/{file-mutation-tt4s4s8q.js → repository-h1hhz3wc.js} +13 -13
  165. package/dist/chunks/{file-mutation-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-mutation-h9wp8z5w.js → repository-h9wp8z5w.js} +1 -1
  167. package/dist/chunks/{file-mutation-ncemd8be.js → repository-hafbkqsf.js} +11 -11
  168. package/dist/chunks/{file-mutation-nstt2xrf.js → repository-hgvwc7cd.js} +20 -20
  169. package/dist/chunks/{file-mutation-40fw65m2.js → repository-hhvyr323.js} +46 -46
  170. package/dist/chunks/{file-mutation-n54s188w.js → repository-hm4b16ap.js} +37 -37
  171. package/dist/chunks/{file-mutation-z5txp1x4.js → repository-hmy61pfr.js} +10 -10
  172. package/dist/chunks/{file-mutation-dzjy8w6a.js → repository-hrspk2jv.js} +15 -15
  173. package/dist/chunks/repository-ht5y0zrb.js +18 -0
  174. package/dist/chunks/{file-mutation-9k4sympr.js → repository-hwce49kt.js} +18 -18
  175. package/dist/chunks/{file-mutation-j56e64zr.js → repository-j56e64zr.js} +1 -1
  176. package/dist/chunks/{file-mutation-5nrv86h4.js → repository-j91df599.js} +34 -34
  177. package/dist/chunks/{file-mutation-bgc5ggmx.js → repository-jpqeh2wc.js} +4 -4
  178. package/dist/chunks/{file-mutation-acq1stk5.js → repository-jr4dxy5c.js} +3 -3
  179. package/dist/chunks/{file-mutation-frt80p94.js → repository-jx6w3tcg.js} +26 -26
  180. package/dist/chunks/{file-mutation-j8hz64q6.js → repository-k2yahx9c.js} +5 -5
  181. package/dist/chunks/{file-mutation-k3c624dm.js → repository-k3c624dm.js} +3 -3
  182. package/dist/chunks/{file-mutation-y34xv2bc.js → repository-k91hc397.js} +10 -10
  183. package/dist/chunks/{file-mutation-wcymzgpk.js → repository-k9psjfbd.js} +3 -3
  184. package/dist/chunks/{file-mutation-essjy5q3.js → repository-kfahhyhy.js} +10 -10
  185. package/dist/chunks/{file-mutation-ba0a1fvg.js → repository-knx6vc55.js} +24 -24
  186. package/dist/chunks/{file-mutation-6hg3tsfm.js → repository-krbat558.js} +4 -4
  187. package/dist/chunks/{file-mutation-j49qe88t.js → repository-ksdq3yt2.js} +21 -21
  188. package/dist/chunks/{file-mutation-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{file-mutation-w9khvjrv.js → repository-m76a2k0m.js} +6 -6
  190. package/dist/chunks/{file-mutation-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{file-mutation-xq930m5y.js → repository-mb7qsxty.js} +12 -12
  192. package/dist/chunks/{file-mutation-56gdpj1q.js → repository-mfqp6xfm.js} +6 -6
  193. package/dist/chunks/{file-mutation-97qcqtmp.js → repository-mrg70h1v.js} +13 -13
  194. package/dist/chunks/{file-mutation-cf7gn0yj.js → repository-mv2ay9dz.js} +17 -17
  195. package/dist/chunks/{file-mutation-nzrpksqv.js → repository-mwhefvvw.js} +1 -1
  196. package/dist/chunks/{file-mutation-c66ced72.js → repository-nj1j17x6.js} +8 -8
  197. package/dist/chunks/{file-mutation-typw0tyn.js → repository-nk8qx497.js} +19 -19
  198. package/dist/chunks/{file-mutation-zd30eb5w.js → repository-nyqx1cb3.js} +5 -5
  199. package/dist/chunks/{file-mutation-sapd4br0.js → repository-p3expsqa.js} +11 -11
  200. package/dist/chunks/{file-mutation-krqvwc4f.js → repository-p5gmb07n.js} +2 -2
  201. package/dist/chunks/{file-mutation-2pzcg6zy.js → repository-pdz52ded.js} +20 -20
  202. package/dist/chunks/{file-mutation-wez1ajrw.js → repository-pen903sm.js} +7 -7
  203. package/dist/chunks/{file-mutation-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{file-mutation-pknna89w.js → repository-pknna89w.js} +1 -1
  205. package/dist/chunks/{file-mutation-6qh5a7cm.js → repository-pkve43rd.js} +46 -46
  206. package/dist/chunks/{file-mutation-yw8t9dwe.js → repository-pnaxc6j9.js} +8 -8
  207. package/dist/chunks/{file-mutation-n5wndne1.js → repository-pp2vfp84.js} +27 -24
  208. package/dist/chunks/{file-mutation-npacb0de.js → repository-pqwcs79a.js} +18 -18
  209. package/dist/chunks/{file-mutation-byx5r1nf.js → repository-pw3aqa3b.js} +21 -21
  210. package/dist/chunks/{file-mutation-1qs5jxd8.js → repository-q26xrw20.js} +16 -16
  211. package/dist/chunks/{file-mutation-64mbz47k.js → repository-q5zafh14.js} +6 -6
  212. package/dist/chunks/{file-mutation-fcgr6fpe.js → repository-qe2vk4xy.js} +7 -7
  213. package/dist/chunks/{file-mutation-6tv02psk.js → repository-qmyetdfw.js} +19 -19
  214. package/dist/chunks/{file-mutation-6hd5cqs1.js → repository-qn1kcwf1.js} +35 -35
  215. package/dist/chunks/{file-mutation-qsdy395h.js → repository-qsdy395h.js} +1 -1
  216. package/dist/chunks/{file-mutation-jxn92pv1.js → repository-qyd0022c.js} +29 -29
  217. package/dist/chunks/{file-mutation-gzncnxwb.js → repository-qz061pbh.js} +11 -11
  218. package/dist/chunks/{file-mutation-d4he2qe1.js → repository-r2m716tb.js} +9 -9
  219. package/dist/chunks/{file-mutation-yp2x3t23.js → repository-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{file-mutation-kt9wpgz0.js → repository-rb6gffef.js} +28 -28
  221. package/dist/chunks/{file-mutation-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{file-mutation-0yt4n5hc.js → repository-rftjbn8p.js} +1 -1
  223. package/dist/chunks/{file-mutation-m5c90g06.js → repository-rgaw6yy6.js} +11 -11
  224. package/dist/chunks/{file-mutation-pnv527nz.js → repository-rhafb4aa.js} +9 -9
  225. package/dist/chunks/{file-mutation-6gg229te.js → repository-rwdmhfe9.js} +2 -2
  226. package/dist/chunks/{file-mutation-s4enseaf.js → repository-s4enseaf.js} +2 -2
  227. package/dist/chunks/{file-mutation-stw2mskd.js → repository-s5vjzjxc.js} +35 -35
  228. package/dist/chunks/{file-mutation-eaj1djv9.js → repository-s8d7rejh.js} +6 -6
  229. package/dist/chunks/{file-mutation-cqsb273d.js → repository-sf5q03y5.js} +45 -45
  230. package/dist/chunks/{file-mutation-2qg4zkvz.js → repository-sjm6y15r.js} +10 -10
  231. package/dist/chunks/{file-mutation-qdbfnsyg.js → repository-sp7fmdjf.js} +10 -10
  232. package/dist/chunks/{file-mutation-v6p67kws.js → repository-stwc6554.js} +10 -10
  233. package/dist/chunks/{file-mutation-2atcfb4x.js → repository-tap773t1.js} +16 -14
  234. package/dist/chunks/{file-mutation-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{file-mutation-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{file-mutation-tdstcens.js → repository-tdstcens.js} +1 -1
  237. package/dist/chunks/{file-mutation-tvtrv512.js → repository-tvtrv512.js} +1 -1
  238. package/dist/chunks/{file-mutation-xf8ame85.js → repository-v81gfb7z.js} +11 -11
  239. package/dist/chunks/{file-mutation-veqvce7d.js → repository-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-mutation-h273y0zk.js → repository-vk6t1kw2.js} +9 -9
  241. package/dist/chunks/{file-mutation-rkdvqggb.js → repository-vxp3kcg3.js} +5 -5
  242. package/dist/chunks/{file-mutation-6t298p2h.js → repository-vy4zg7qh.js} +12 -12
  243. package/dist/chunks/{file-mutation-bazjz6tt.js → repository-vybhs2ww.js} +11 -11
  244. package/dist/chunks/{file-mutation-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{file-mutation-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{file-mutation-5kqae2td.js → repository-w0nrm5hv.js} +25 -25
  247. package/dist/chunks/{file-mutation-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{file-mutation-vynmvp9h.js → repository-w3yyykta.js} +9 -9
  249. package/dist/chunks/{file-mutation-jn2kvrv2.js → repository-w4tc47y0.js} +30 -30
  250. package/dist/chunks/{file-mutation-t5mpbn54.js → repository-w6yj84m2.js} +8 -8
  251. package/dist/chunks/{file-mutation-98t95rqs.js → repository-wd11n6zd.js} +4 -4
  252. package/dist/chunks/{file-mutation-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
  253. package/dist/chunks/{file-mutation-wd87259q.js → repository-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-mutation-cm62f9mw.js → repository-wgjgjn1f.js} +15 -15
  255. package/dist/chunks/{file-mutation-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{file-mutation-1fm7vbk4.js → repository-x6p7tmnf.js} +12 -12
  257. package/dist/chunks/{file-mutation-gc5ccx6v.js → repository-x7rhc6wm.js} +3 -3
  258. package/dist/chunks/{file-mutation-t51qk8jz.js → repository-xdk9p2qn.js} +4 -4
  259. package/dist/chunks/{file-mutation-xfkkasph.js → repository-xfkkasph.js} +1 -1
  260. package/dist/chunks/{file-mutation-2c4k1w8p.js → repository-xgfgp5z3.js} +18 -18
  261. package/dist/chunks/{file-mutation-7w99qc9d.js → repository-xkhfjrgz.js} +3 -3
  262. package/dist/chunks/{file-mutation-4p8gn76r.js → repository-xnbva5hb.js} +20 -20
  263. package/dist/chunks/{file-mutation-44k13xcn.js → repository-xwatpa0g.js} +86 -86
  264. package/dist/chunks/{file-mutation-kp8a4fhm.js → repository-xwbd059y.js} +48 -48
  265. package/dist/chunks/{file-mutation-cahsh00e.js → repository-xy1m2s0m.js} +5 -5
  266. package/dist/chunks/{file-mutation-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-mutation-4zt21fh0.js → repository-y24krm64.js} +11 -11
  268. package/dist/chunks/{file-mutation-y71avatq.js → repository-y71avatq.js} +1 -1
  269. package/dist/chunks/{file-mutation-wh90q83w.js → repository-yb1xnzya.js} +9 -9
  270. package/dist/chunks/{file-mutation-4hwjm9tk.js → repository-yb2az3xg.js} +3 -3
  271. package/dist/chunks/{file-mutation-am4z9aae.js → repository-yk5hfv3m.js} +28 -28
  272. package/dist/chunks/{file-mutation-ahkpgjye.js → repository-ypjj027g.js} +11 -11
  273. package/dist/chunks/{file-mutation-kpnprcv1.js → repository-ypyd1n4s.js} +9 -9
  274. package/dist/chunks/{file-mutation-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-mutation-4hm20dka.js → repository-yxn7kx7v.js} +41 -41
  276. package/dist/chunks/{file-mutation-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
  277. package/dist/chunks/{file-mutation-kkp8zx71.js → repository-z0aj456m.js} +4 -4
  278. package/dist/chunks/{file-mutation-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-mutation-xghkepxw.js → repository-z2hzy96q.js} +3 -3
  280. package/dist/chunks/{file-mutation-2yap4c42.js → repository-z45mjmxx.js} +22 -22
  281. package/dist/chunks/{file-mutation-nxwbgnvg.js → repository-z8fpy401.js} +8 -8
  282. package/dist/chunks/{file-mutation-gtkq5kdv.js → repository-z983jzxa.js} +23 -23
  283. package/dist/chunks/{file-mutation-pb9kg3x1.js → repository-zeasar47.js} +12 -12
  284. package/dist/chunks/{file-mutation-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-mutation-r5g918rf.js → repository-zf9fes0n.js} +14 -14
  286. package/dist/chunks/{file-mutation-jg38snma.js → repository-zgt0ygn8.js} +8 -8
  287. package/dist/chunks/{file-mutation-znsx74x0.js → repository-znsx74x0.js} +1 -1
  288. package/dist/chunks/{file-mutation-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-mutation-49w8mb30.js → repository-zsm3phbg.js} +8 -8
  290. package/dist/chunks/{file-mutation-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{file-mutation-x6v9ff69.js → repository-zy8av054.js} +2 -2
  292. package/dist/chunks/{file-mutation-qzcncrcf.js → repository-zyc1d5mg.js} +15 -15
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +89 -89
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +87 -87
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +215 -215
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +120 -120
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +216 -216
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/types/form.d.ts +5 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/file-mutation-8p6pfqwt.js +0 -26
  702. package/dist/chunks/file-mutation-qg70aggb.js +0 -252
  703. package/dist/chunks/file-mutation-qqg2th7x.js +0 -507
  704. package/dist/chunks/file-mutation-vsdyktar.js +0 -18
  705. /package/dist/chunks/{file-mutation-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{file-mutation-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{file-mutation-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{file-mutation-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{file-mutation-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{file-mutation-24dcb14g.js → repository-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{file-mutation-2710q6r3.js → repository-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{file-mutation-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{file-mutation-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{file-mutation-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{file-mutation-359p4xyc.js → repository-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{file-mutation-3asan66x.js → repository-3asan66x.js} +0 -0
  717. /package/dist/chunks/{file-mutation-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{file-mutation-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{file-mutation-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{file-mutation-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{file-mutation-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{file-mutation-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{file-mutation-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{file-mutation-53557ph1.js → repository-53557ph1.js} +0 -0
  725. /package/dist/chunks/{file-mutation-550bvhaj.js → repository-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{file-mutation-6prwharc.js → repository-6prwharc.js} +0 -0
  727. /package/dist/chunks/{file-mutation-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{file-mutation-7m9af43g.js → repository-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{file-mutation-822emrt2.js → repository-822emrt2.js} +0 -0
  730. /package/dist/chunks/{file-mutation-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{file-mutation-8n3pysct.js → repository-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{file-mutation-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{file-mutation-922hggd3.js → repository-922hggd3.js} +0 -0
  734. /package/dist/chunks/{file-mutation-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{file-mutation-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{file-mutation-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{file-mutation-af5trqkr.js → repository-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{file-mutation-afrmfg78.js → repository-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{file-mutation-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{file-mutation-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{file-mutation-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{file-mutation-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{file-mutation-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{file-mutation-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{file-mutation-d9fn303g.js → repository-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{file-mutation-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{file-mutation-dajrwvna.js → repository-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{file-mutation-dap0rakb.js → repository-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{file-mutation-df08tz66.js → repository-df08tz66.js} +0 -0
  750. /package/dist/chunks/{file-mutation-dy18nga0.js → repository-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{file-mutation-e3qxr5gk.js → repository-e3qxr5gk.js} +0 -0
  752. /package/dist/chunks/{file-mutation-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{file-mutation-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{file-mutation-ec1grn59.js → repository-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{file-mutation-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{file-mutation-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{file-mutation-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{file-mutation-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{file-mutation-faypxj3z.js → repository-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{file-mutation-fd410y7t.js → repository-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{file-mutation-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{file-mutation-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{file-mutation-g86h250q.js → repository-g86h250q.js} +0 -0
  764. /package/dist/chunks/{file-mutation-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{file-mutation-gftt206x.js → repository-gftt206x.js} +0 -0
  766. /package/dist/chunks/{file-mutation-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{file-mutation-hk9envan.js → repository-hk9envan.js} +0 -0
  768. /package/dist/chunks/{file-mutation-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{file-mutation-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{file-mutation-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{file-mutation-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{file-mutation-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{file-mutation-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{file-mutation-mp448xyj.js → repository-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{file-mutation-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{file-mutation-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{file-mutation-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{file-mutation-njntx4h6.js → repository-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{file-mutation-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{file-mutation-q74kybfr.js → repository-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{file-mutation-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{file-mutation-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{file-mutation-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{file-mutation-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{file-mutation-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{file-mutation-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{file-mutation-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{file-mutation-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{file-mutation-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{file-mutation-w803qqfp.js → repository-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{file-mutation-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{file-mutation-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{file-mutation-wtztk69x.js → repository-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{file-mutation-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{file-mutation-x61499pn.js → repository-x61499pn.js} +0 -0
  796. /package/dist/chunks/{file-mutation-y44na4kk.js → repository-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{file-mutation-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{file-mutation-y8f7s663.js → repository-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{file-mutation-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{file-mutation-ym463w8f.js → repository-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{file-mutation-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-mutation-f13f6cny.js";
4
+ } from "./repository-8x0w9677.js";
5
5
  import {
6
6
  create3
7
- } from "./file-mutation-rdw6cm16.js";
7
+ } from "./repository-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event8,
16
+ Event: () => Event7,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info8,
19
- NotFoundError: () => NotFoundError7,
20
- Service: () => Service50,
21
- layer: () => layer19,
22
- node: () => node52
18
+ Info: () => Info7,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service41,
21
+ layer: () => layer16,
22
+ node: () => node44
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info8 = Command.Info;
27
+ import { Event as Event7 } from "@opencode/schema/command";
28
+ var Info7 = Command.Info;
29
29
 
30
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service50 extends Context.Service()("@opencode/Command") {
42
+ class Service41 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service50, Effect.gen(function* () {
44
+ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info8.make({
54
+ const info = (definition) => Info7.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service50.of({
58
+ return Service41.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node52 = makeLocationNode({
75
- service: Service50,
76
- layer: layer19,
74
+ var node44 = makeLocationNode({
75
+ service: Service41,
76
+ layer: layer16,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info8, NotFoundError7, ExecutionError2, Service50, layer19, node52, exports_command4, Event8 };
89
+ export { Info7, NotFoundError6, ExecutionError2, Service41, layer16, node44, exports_command4, Event7 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-mutation-f13f6cny.js";
3
+ } from "./repository-8x0w9677.js";
4
4
  import {
5
- Service29,
6
- Event7
7
- } from "./file-mutation-j4g2zvzf.js";
5
+ Service21,
6
+ Event4
7
+ } from "./repository-9f5fzrca.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service29;
32
+ const modelsDev = yield* Service21;
33
33
  const bus = yield* Service83;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./file-mutation-emrn6kk6.js";
7
+ } from "./repository-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-t8b05y9y.js";
3
+ } from "./repository-dn8jpt1b.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-mutation-f13f6cny.js";
6
+ } from "./repository-8x0w9677.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20
10
- } from "./file-mutation-3jxxch2v.js";
10
+ } from "./repository-a2skee4f.js";
11
11
  import {
12
12
  key2
13
- } from "./file-mutation-068serwz.js";
13
+ } from "./repository-dnxkq42g.js";
14
14
  import {
15
- ID16,
15
+ ID14,
16
16
  MethodID2
17
- } from "./file-mutation-jn2kvrv2.js";
17
+ } from "./repository-w4tc47y0.js";
18
18
  import {
19
19
  ID13,
20
20
  aisdk2,
21
- Service75
22
- } from "./file-mutation-ag6syf74.js";
21
+ Service76
22
+ } from "./repository-8rkn0jpj.js";
23
23
  import {
24
24
  ID12,
25
25
  Info26
26
- } from "./file-mutation-53vsygtf.js";
26
+ } from "./repository-64d4fz0c.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./file-mutation-pjvnvgmy.js";
30
+ } from "./repository-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -36,7 +36,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstab
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
38
  var providerID = ID13.gitlab;
39
- var integrationID = ID16.make("gitlab");
39
+ var integrationID = ID14.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service75;
60
+ const providers = yield* Service76;
61
61
  const bus = yield* Service83;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./file-mutation-3v8g72cx.js";
3
+ } from "./repository-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp2 = {};
10
10
  __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
12
  WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-t8b05y9y.js";
3
+ } from "./repository-dn8jpt1b.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-mutation-f13f6cny.js";
6
+ } from "./repository-8x0w9677.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event20
10
- } from "./file-mutation-3jxxch2v.js";
10
+ } from "./repository-a2skee4f.js";
11
11
  import {
12
- ID16,
12
+ ID14,
13
13
  MethodID2
14
- } from "./file-mutation-jn2kvrv2.js";
14
+ } from "./repository-w4tc47y0.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./file-mutation-pjvnvgmy.js";
18
+ } from "./repository-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./file-mutation-ag6syf74.js";
23
+ } from "./repository-8rkn0jpj.js";
24
24
  import {
25
25
  get5
26
- } from "./file-mutation-54ma36ye.js";
26
+ } from "./repository-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID16.make("openai"),
50
+ integrationID: ID14.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID16.make("openai"),
123
+ integrationID: ID14.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin2 = define({
165
+ var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
168
  const bus = yield* Service83;
@@ -238,7 +238,7 @@ var OpenAIPlugin2 = define({
238
238
  for (const name of ["context", "compaction"])
239
239
  yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin2 };
332
+ export { OpenAIPlugin3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./file-mutation-byx5r1nf.js";
2
+ ID10
3
+ } from "./repository-pw3aqa3b.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./repository-922hggd3.js";
7
7
  import {
8
- Info22
9
- } from "./file-mutation-49w8mb30.js";
8
+ Info19
9
+ } from "./repository-zsm3phbg.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-mutation-958zgc5t.js";
12
+ } from "./repository-46m0hjzr.js";
13
13
  import {
14
14
  latest2,
15
- Service62
16
- } from "./file-mutation-4hm20dka.js";
15
+ Service71
16
+ } from "./repository-yxn7kx7v.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-mutation-5daktx2q.js";
19
+ } from "./repository-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./file-mutation-9rqn6x4v.js";
22
+ } from "./repository-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin24
28
+ Plugin: () => Plugin3
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info22);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin24 = define({
47
+ var Plugin3 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service62;
50
+ const config = yield* Service71;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin24 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID10.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin24, exports_agent };
164
+ export { Plugin3, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./file-mutation-ag6syf74.js";
3
+ } from "./repository-8rkn0jpj.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service18,
10
- node: () => node21
9
+ Service: () => Service20,
10
+ node: () => node22
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service20 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service18, () => {
17
+ var layer = Layer.sync(Service20, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service18.of({
19
+ return Service20.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node21 = makeGlobalNode({ service: Service18, layer, deps: [] });
26
+ var node22 = makeGlobalNode({ service: Service20, layer, deps: [] });
27
27
 
28
- export { Service18, node21, exports_managed_policy };
28
+ export { Service20, node22, exports_managed_policy };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- node82
6
- } from "./file-mutation-6t298p2h.js";
5
+ node86
6
+ } from "./repository-vy4zg7qh.js";
7
7
  import {
8
- Service76,
9
- node80
10
- } from "./file-mutation-h52fda0c.js";
8
+ Service80,
9
+ node84
10
+ } from "./repository-cqbspedd.js";
11
11
  import {
12
12
  create3
13
- } from "./file-mutation-rdw6cm16.js";
13
+ } from "./repository-rdw6cm16.js";
14
14
  import {
15
15
  make12
16
- } from "./file-mutation-b04b8x2j.js";
16
+ } from "./repository-2p8k3371.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service21,
24
+ Service: () => Service24,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node24
26
+ node: () => node27
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service21 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service21, Effect.gen(function* () {
37
- const location = yield* Service76;
36
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
37
+ const location = yield* Service80;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make12;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service21.of({ ...state, directory: location.directory });
58
+ return Service24.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node24 = makeLocationNode({
61
- service: Service21,
60
+ var node27 = makeLocationNode({
61
+ service: Service24,
62
62
  layer,
63
- deps: [node80, Global.node, node82, FSUtil.node]
63
+ deps: [node84, Global.node, node86, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service21, node24, exports_strategies };
66
+ export { Service24, node27, exports_strategies };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./file-mutation-3w5fmr99.js";
3
+ } from "./repository-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin42,
11
+ Plugin: () => Plugin33,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin42 = define({
18
+ var Plugin33 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin42, exports_tool_input_repair };
123
+ export { Plugin33, exports_tool_input_repair };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-mutation-f13f6cny.js";
3
+ } from "./repository-8x0w9677.js";
4
4
  import {
5
- Service76
6
- } from "./file-mutation-h52fda0c.js";
5
+ Service80
6
+ } from "./repository-cqbspedd.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service41
10
- } from "./file-mutation-yeb3g8kd.js";
9
+ Service37
10
+ } from "./repository-1j5pt4ft.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./repository-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin43
19
+ Plugin: () => Plugin27
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin43 = define({
196
+ var Plugin27 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service76;
200
- const mcp = yield* Service41;
199
+ const location = yield* Service80;
200
+ const mcp = yield* Service37;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin43, exports_command2 };
283
+ export { Plugin27, exports_command2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./file-mutation-ag6syf74.js";
3
+ } from "./repository-8rkn0jpj.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./file-mutation-hjbc5kem.js";
6
+ } from "./repository-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";