@opencode/core 0.0.0-dev-19391 → 0.0.0-dev-19393

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{git-7t2bfs77.js → file-mutation-01fzq3z7.js} +28 -28
  9. package/dist/chunks/{git-jngqetej.js → file-mutation-02k69zs7.js} +31 -31
  10. package/dist/chunks/{git-fkzsndak.js → file-mutation-066m6yk3.js} +7 -7
  11. package/dist/chunks/{git-bby00dsd.js → file-mutation-08z5qwsn.js} +8 -8
  12. package/dist/chunks/{git-s8d7rejh.js → file-mutation-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{git-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{git-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{git-0m9zqasy.js → file-mutation-0xtcr6w3.js} +15 -15
  16. package/dist/chunks/{git-00fexjy9.js → file-mutation-0yhvqzdr.js} +45 -45
  17. package/dist/chunks/{git-5d0wqk5a.js → file-mutation-0zn40hbb.js} +62 -62
  18. package/dist/chunks/{git-bvqzzpnc.js → file-mutation-12rfhcvn.js} +5 -5
  19. package/dist/chunks/{git-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{git-7sdps93t.js → file-mutation-1eyaby9q.js} +5 -5
  21. package/dist/chunks/{git-qmr73083.js → file-mutation-1fa9ans5.js} +1 -1
  22. package/dist/chunks/{git-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  23. package/dist/chunks/{git-drknmmyh.js → file-mutation-240ffee7.js} +9 -9
  24. package/dist/chunks/{git-29x78va6.js → file-mutation-29x78va6.js} +2 -2
  25. package/dist/chunks/{git-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{git-v6xr4mhk.js → file-mutation-2bt6bea8.js} +9 -9
  27. package/dist/chunks/{git-1ah30sey.js → file-mutation-2ee8pmxs.js} +2 -2
  28. package/dist/chunks/{git-a3vgeg8v.js → file-mutation-2hfp5ger.js} +20 -20
  29. package/dist/chunks/{git-kkz4yv35.js → file-mutation-2npmwd02.js} +9 -9
  30. package/dist/chunks/{git-6ht6hv3f.js → file-mutation-2sef7jx7.js} +13 -13
  31. package/dist/chunks/{git-9v94xm60.js → file-mutation-2ttxt4rm.js} +2 -2
  32. package/dist/chunks/{git-h3ekzffn.js → file-mutation-2zheyzhp.js} +8 -8
  33. package/dist/chunks/{git-80e0yyk8.js → file-mutation-34wjyeek.js} +7 -7
  34. package/dist/chunks/{git-et1r2jf6.js → file-mutation-3bzftg35.js} +13 -13
  35. package/dist/chunks/{git-2qp6y8xf.js → file-mutation-3cfzdc8e.js} +5 -5
  36. package/dist/chunks/{git-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{git-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{git-mf8gs4da.js → file-mutation-3kxmfjgw.js} +18 -18
  39. package/dist/chunks/{git-r3q6pmcz.js → file-mutation-3rqkssp8.js} +8 -8
  40. package/dist/chunks/{git-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{git-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{git-6jqkynh6.js → file-mutation-3zbb0e4x.js} +11 -11
  43. package/dist/chunks/{git-1k8wtqrp.js → file-mutation-42b6pzh7.js} +8 -8
  44. package/dist/chunks/{git-nwd3ssra.js → file-mutation-49w8mb30.js} +8 -8
  45. package/dist/chunks/{git-qe26s0zb.js → file-mutation-4c2df9zx.js} +8 -8
  46. package/dist/chunks/{git-43710w3q.js → file-mutation-4cwh3a5t.js} +9 -9
  47. package/dist/chunks/{git-8fjt75y9.js → file-mutation-4f5v0gkp.js} +17 -17
  48. package/dist/chunks/{git-mexw47yp.js → file-mutation-4jd5h8hr.js} +4 -4
  49. package/dist/chunks/{git-e49xbsfe.js → file-mutation-4k2qawm0.js} +18 -18
  50. package/dist/chunks/{git-967tbwmz.js → file-mutation-56fawgj4.js} +52 -52
  51. package/dist/chunks/{git-1ygqh575.js → file-mutation-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{git-6gekrhsf.js → file-mutation-56xqqp2b.js} +6 -6
  53. package/dist/chunks/{git-fxm9f60t.js → file-mutation-587k4qqh.js} +16 -16
  54. package/dist/chunks/{git-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  55. package/dist/chunks/{git-p1wf2k30.js → file-mutation-5kptn8c0.js} +9 -9
  56. package/dist/chunks/{git-dh4vxs71.js → file-mutation-5t37q54p.js} +28 -28
  57. package/dist/chunks/{git-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{git-vqskmh9d.js → file-mutation-5y7nmd31.js} +26 -26
  59. package/dist/chunks/{git-hrndf12w.js → file-mutation-64kphnzf.js} +4 -4
  60. package/dist/chunks/{git-669tq793.js → file-mutation-669tq793.js} +1 -1
  61. package/dist/chunks/{git-2402vzrj.js → file-mutation-6h73sxmp.js} +5 -5
  62. package/dist/chunks/{git-sv9bpgvh.js → file-mutation-6jex2xta.js} +1 -1
  63. package/dist/chunks/{git-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{git-wa88tsz1.js → file-mutation-6v41k3zq.js} +36 -36
  65. package/dist/chunks/{git-nn6nb4dq.js → file-mutation-71acpfn8.js} +13 -13
  66. package/dist/chunks/{git-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
  67. package/dist/chunks/{git-7by8wea0.js → file-mutation-74bmvg0d.js} +5 -5
  68. package/dist/chunks/{git-60ng23p3.js → file-mutation-74sc3jhk.js} +2 -2
  69. package/dist/chunks/{git-yx8yz41b.js → file-mutation-78s53s6s.js} +38 -38
  70. package/dist/chunks/{git-q26tgv94.js → file-mutation-7b15y959.js} +8 -8
  71. package/dist/chunks/{git-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{git-fcrkznn8.js → file-mutation-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{git-wttsyvcc.js → file-mutation-7g683t1r.js} +24 -24
  74. package/dist/chunks/{git-56gnm113.js → file-mutation-7ncadwe6.js} +8 -8
  75. package/dist/chunks/{git-xsz6vv8y.js → file-mutation-7r2070ss.js} +55 -55
  76. package/dist/chunks/{git-31dz7cp4.js → file-mutation-7s02b6me.js} +1 -1
  77. package/dist/chunks/{git-gk8mfka9.js → file-mutation-7tske91h.js} +23 -23
  78. package/dist/chunks/{git-dv250zvr.js → file-mutation-7w99qc9d.js} +3 -3
  79. package/dist/chunks/{git-8234338a.js → file-mutation-7x56vw45.js} +18 -18
  80. package/dist/chunks/{git-h5dbjsx9.js → file-mutation-80wms6w9.js} +33 -33
  81. package/dist/chunks/{git-msn3ckcs.js → file-mutation-8bwmgdjs.js} +18 -18
  82. package/dist/chunks/{git-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{git-8p4f9s12.js → file-mutation-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{git-znt1ym30.js → file-mutation-9g0zx7x8.js} +9 -9
  85. package/dist/chunks/{git-ssybtts3.js → file-mutation-9n4afpv3.js} +6 -6
  86. package/dist/chunks/{git-mrem20pc.js → file-mutation-9pa9rw3z.js} +16 -16
  87. package/dist/chunks/{git-sgystvcz.js → file-mutation-9pwkmyz6.js} +8 -8
  88. package/dist/chunks/{git-wnpvrkxy.js → file-mutation-9py05vep.js} +22 -22
  89. package/dist/chunks/{git-m1qcsqkx.js → file-mutation-9shade1g.js} +22 -22
  90. package/dist/chunks/{git-a1bz86dw.js → file-mutation-a1bz86dw.js} +3 -3
  91. package/dist/chunks/{git-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  92. package/dist/chunks/{git-cybh4q4m.js → file-mutation-ak7my4zs.js} +15 -15
  93. package/dist/chunks/{git-1a6p2twq.js → file-mutation-an7cqtb7.js} +4 -4
  94. package/dist/chunks/{git-tcxw2wsh.js → file-mutation-ar85mn2m.js} +23 -23
  95. package/dist/chunks/{git-n776arpk.js → file-mutation-as9sp7sj.js} +8 -8
  96. package/dist/chunks/{git-stz96qh8.js → file-mutation-b036pw45.js} +32 -32
  97. package/dist/chunks/{git-0fgcnd78.js → file-mutation-b45nt1f1.js} +11 -11
  98. package/dist/chunks/{git-cz8ja6bv.js → file-mutation-b6d4fm4d.js} +32 -32
  99. package/dist/chunks/{git-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{git-5a7skn1d.js → file-mutation-b9vx810x.js} +35 -35
  101. package/dist/chunks/{git-b7zanwxg.js → file-mutation-bbzhmj3e.js} +28 -28
  102. package/dist/chunks/{git-kp844bkx.js → file-mutation-bpbqk74e.js} +11 -11
  103. package/dist/chunks/{git-k304t88f.js → file-mutation-brx509wv.js} +43 -43
  104. package/dist/chunks/{git-nhvhf6q8.js → file-mutation-bv56xrks.js} +2 -2
  105. package/dist/chunks/{git-p0n6b7j7.js → file-mutation-c12c3ebf.js} +14 -14
  106. package/dist/chunks/{git-xcmxfd3t.js → file-mutation-c19c6034.js} +16 -16
  107. package/dist/chunks/{git-k0zzqzfm.js → file-mutation-c4tqdq5t.js} +4 -4
  108. package/dist/chunks/{git-q6mfqnjt.js → file-mutation-c9av52v1.js} +1 -1
  109. package/dist/chunks/{git-cfpkc3c9.js → file-mutation-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{git-17rjwhd8.js → file-mutation-cj8em3nn.js} +24 -24
  111. package/dist/chunks/{git-z7wfm2nz.js → file-mutation-cn5kgcxn.js} +23 -23
  112. package/dist/chunks/{git-zbynka28.js → file-mutation-d1w5q26k.js} +28 -28
  113. package/dist/chunks/{git-f90chkmn.js → file-mutation-d2aac7k2.js} +5 -5
  114. package/dist/chunks/{git-v87fc2n4.js → file-mutation-d40aa9ht.js} +35 -35
  115. package/dist/chunks/{git-5rcfzxhb.js → file-mutation-dafzyq9v.js} +11 -11
  116. package/dist/chunks/{git-tqckr4z0.js → file-mutation-df2tx5pe.js} +13 -13
  117. package/dist/chunks/{git-wfeyvemf.js → file-mutation-dpje9hvt.js} +11 -11
  118. package/dist/chunks/{git-5c7438wj.js → file-mutation-dsfwte3g.js} +17 -17
  119. package/dist/chunks/{git-2d6j2h4j.js → file-mutation-dt849bc4.js} +4 -4
  120. package/dist/chunks/{git-e2wxm4gs.js → file-mutation-dzgwpfm4.js} +71 -71
  121. package/dist/chunks/{git-cb0b94q1.js → file-mutation-e15qh3wq.js} +11 -11
  122. package/dist/chunks/{git-qr42g2ex.js → file-mutation-e379cr0y.js} +12 -12
  123. package/dist/chunks/{git-4rbykmww.js → file-mutation-earnevqz.js} +41 -41
  124. package/dist/chunks/{git-2evyaa68.js → file-mutation-ec8389mk.js} +4 -4
  125. package/dist/chunks/{git-2vrs9bvz.js → file-mutation-edca6z4t.js} +29 -29
  126. package/dist/chunks/{git-nmv7fedf.js → file-mutation-en460j1e.js} +9 -9
  127. package/dist/chunks/{git-7xvabjvw.js → file-mutation-en8fd2fz.js} +29 -29
  128. package/dist/chunks/{git-81btcj5e.js → file-mutation-eqbtmbad.js} +16 -16
  129. package/dist/chunks/{git-6xy3x0mr.js → file-mutation-et23rmd2.js} +28 -28
  130. package/dist/chunks/{git-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{git-rernzhsx.js → file-mutation-f1q1bdfb.js} +31 -31
  132. package/dist/chunks/{git-y116a4zg.js → file-mutation-f5hjq1vh.js} +23 -23
  133. package/dist/chunks/{git-q3hev8r4.js → file-mutation-f79e7acg.js} +2 -2
  134. package/dist/chunks/{git-f828m53h.js → file-mutation-f828m53h.js} +2 -2
  135. package/dist/chunks/{git-8bdgxx6d.js → file-mutation-ff8m8qd7.js} +37 -37
  136. package/dist/chunks/{git-t4pzxwv6.js → file-mutation-fjvydvzm.js} +7 -7
  137. package/dist/chunks/{git-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{git-wgvbtfqc.js → file-mutation-g56g034v.js} +25 -25
  139. package/dist/chunks/{git-7verde8t.js → file-mutation-g8stra9y.js} +4 -4
  140. package/dist/chunks/{git-cm4cwf14.js → file-mutation-ga7wvnj5.js} +6 -6
  141. package/dist/chunks/{git-7yfaff3y.js → file-mutation-gb6mvkxt.js} +9 -9
  142. package/dist/chunks/{git-3cxhyqx9.js → file-mutation-gb9kwzg5.js} +22 -22
  143. package/dist/chunks/{git-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{git-wk2zc65r.js → file-mutation-gfz0jyfh.js} +6 -6
  145. package/dist/chunks/{git-th5km1p3.js → file-mutation-gv6a8nnw.js} +5 -5
  146. package/dist/chunks/{git-9gyd2w40.js → file-mutation-gx1zhcta.js} +1 -1
  147. package/dist/chunks/{git-9smnhnck.js → file-mutation-gyyh633g.js} +90 -90
  148. package/dist/chunks/{git-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{git-4cp288bt.js → file-mutation-h4y4mq8e.js} +92 -92
  150. package/dist/chunks/{git-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{git-yzejvhvn.js → file-mutation-ha607pgt.js} +6 -6
  152. package/dist/chunks/{git-5jtdmvnp.js → file-mutation-hf8cnsjw.js} +1 -1
  153. package/dist/chunks/{git-nhy5jxhy.js → file-mutation-hjt4xg1x.js} +4 -4
  154. package/dist/chunks/file-mutation-hkpycv99.js +462 -0
  155. package/dist/chunks/{git-6k7qnnge.js → file-mutation-hqrxp9gj.js} +13 -13
  156. package/dist/chunks/{git-57rb2d2p.js → file-mutation-hthj0rnm.js} +14 -14
  157. package/dist/chunks/{git-saq61fd1.js → file-mutation-hxpkdzb7.js} +3 -3
  158. package/dist/chunks/{git-azt3fn9h.js → file-mutation-hz456w6n.js} +9 -9
  159. package/dist/chunks/{git-wxqedpd9.js → file-mutation-hzx83h4g.js} +44 -44
  160. package/dist/chunks/{git-dn02v3xn.js → file-mutation-j0n617hx.js} +46 -46
  161. package/dist/chunks/{git-t8g0rz63.js → file-mutation-j2nqzmcv.js} +21 -21
  162. package/dist/chunks/{git-epqeryd2.js → file-mutation-j3mwg7nd.js} +34 -34
  163. package/dist/chunks/{git-qc5bn8wy.js → file-mutation-j4028k8z.js} +11 -11
  164. package/dist/chunks/{git-sexm24t3.js → file-mutation-j4p7emeb.js} +8 -8
  165. package/dist/chunks/{git-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  166. package/dist/chunks/{git-8ey0tjev.js → file-mutation-jeq3avzd.js} +18 -18
  167. package/dist/chunks/{git-cyj3cv9r.js → file-mutation-jspz1h3e.js} +22 -22
  168. package/dist/chunks/{git-3stj0jvq.js → file-mutation-jsvhw8mk.js} +11 -11
  169. package/dist/chunks/{git-zf4p5794.js → file-mutation-jvybmm27.js} +21 -21
  170. package/dist/chunks/{git-9kqp7g4a.js → file-mutation-k0qa26hr.js} +28 -28
  171. package/dist/chunks/{git-fbxzb085.js → file-mutation-k1xjzmxg.js} +20 -20
  172. package/dist/chunks/{git-0sgtxrs8.js → file-mutation-k23hrhwv.js} +4 -4
  173. package/dist/chunks/{git-aezjx6de.js → file-mutation-k3swrpg8.js} +4 -4
  174. package/dist/chunks/{git-5fbvx1w6.js → file-mutation-kekx75qk.js} +1 -1
  175. package/dist/chunks/{git-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  176. package/dist/chunks/{git-rjrt7vbj.js → file-mutation-km7shbm8.js} +15 -15
  177. package/dist/chunks/{git-s6h26ryx.js → file-mutation-kywk84af.js} +17 -17
  178. package/dist/chunks/{git-gve6vxyf.js → file-mutation-m0c4px45.js} +29 -29
  179. package/dist/chunks/{git-chg3p55r.js → file-mutation-m42b0bke.js} +6 -6
  180. package/dist/chunks/{git-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{git-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
  182. package/dist/chunks/{git-9edcvf27.js → file-mutation-mkh51v61.js} +10 -10
  183. package/dist/chunks/{git-971xr3xt.js → file-mutation-mwbx7r51.js} +7 -7
  184. package/dist/chunks/{git-f9bavhm2.js → file-mutation-n5zjdcc0.js} +1 -1
  185. package/dist/chunks/file-mutation-n95b3jav.js +18 -0
  186. package/dist/chunks/{git-hb60fmtr.js → file-mutation-nc6emx03.js} +8 -8
  187. package/dist/chunks/{git-wvgmydwz.js → file-mutation-nmjsacd1.js} +5 -5
  188. package/dist/chunks/{git-81swgkk7.js → file-mutation-ntghn7gv.js} +9 -9
  189. package/dist/chunks/{git-68fh3z7z.js → file-mutation-nvgad3v2.js} +18 -18
  190. package/dist/chunks/{git-7hsf2613.js → file-mutation-nx72h4d9.js} +12 -12
  191. package/dist/chunks/{git-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{git-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  193. package/dist/chunks/{git-stzp5pqk.js → file-mutation-psxzv6yb.js} +8 -8
  194. package/dist/chunks/{git-zj4wpktz.js → file-mutation-q5th50z6.js} +16 -16
  195. package/dist/chunks/{git-jw59a53t.js → file-mutation-q6c9rh6v.js} +15 -15
  196. package/dist/chunks/{git-hc0zr8pa.js → file-mutation-q8rqxe25.js} +29 -29
  197. package/dist/chunks/{git-fkxhr6rb.js → file-mutation-qg1dvv3d.js} +27 -27
  198. package/dist/chunks/{git-5n9f6zmz.js → file-mutation-qgnx4pxt.js} +11 -11
  199. package/dist/chunks/{git-mpnn67vs.js → file-mutation-qp0yc7dx.js} +13 -13
  200. package/dist/chunks/{git-pck3w1ab.js → file-mutation-qpxqmgt2.js} +4 -4
  201. package/dist/chunks/{git-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  202. package/dist/chunks/{git-v8ch97zc.js → file-mutation-qssq5wvh.js} +1 -1
  203. package/dist/chunks/{git-qte5z7bc.js → file-mutation-qte5z7bc.js} +2 -2
  204. package/dist/chunks/{git-rpk3p4vp.js → file-mutation-qvf21x62.js} +46 -46
  205. package/dist/chunks/{git-4y21m883.js → file-mutation-qyy5cpnn.js} +11 -11
  206. package/dist/chunks/{git-mhkvc446.js → file-mutation-r5x6zcsm.js} +3 -3
  207. package/dist/chunks/{git-at5d07az.js → file-mutation-ratrq7cm.js} +4 -4
  208. package/dist/chunks/{git-xaxrq1k6.js → file-mutation-rc1e819m.js} +4 -4
  209. package/dist/chunks/{git-07q9q0s0.js → file-mutation-rh108m8v.js} +5 -5
  210. package/dist/chunks/{git-0t098hqn.js → file-mutation-rkdvqggb.js} +5 -5
  211. package/dist/chunks/{git-hsbe2v8d.js → file-mutation-rmnn1kcj.js} +30 -30
  212. package/dist/chunks/{git-1zbe0hwx.js → file-mutation-rsh6k2qs.js} +27 -27
  213. package/dist/chunks/{git-7r4pq86q.js → file-mutation-rtq8p3gy.js} +28 -28
  214. package/dist/chunks/{git-6420c4zj.js → file-mutation-rvyzmxt1.js} +165 -165
  215. package/dist/chunks/{git-bj18y5e0.js → file-mutation-s1fbxc7t.js} +24 -24
  216. package/dist/chunks/{git-dng8y5a3.js → file-mutation-s36eea25.js} +20 -20
  217. package/dist/chunks/{git-s4enseaf.js → file-mutation-s4enseaf.js} +2 -2
  218. package/dist/chunks/{git-rf04hjb3.js → file-mutation-s5d18ttv.js} +32 -32
  219. package/dist/chunks/{git-2gnzn4g6.js → file-mutation-sdc25ghc.js} +32 -32
  220. package/dist/chunks/{git-f4wfpfa2.js → file-mutation-snbak2yk.js} +9 -9
  221. package/dist/chunks/{git-1tq060df.js → file-mutation-ss0awb04.js} +4 -4
  222. package/dist/chunks/{git-r66r7cmm.js → file-mutation-stnw2p2s.js} +15 -15
  223. package/dist/chunks/{git-4x81xeqa.js → file-mutation-sx5j1r78.js} +14 -14
  224. package/dist/chunks/{git-53nby2n7.js → file-mutation-t0ycew93.js} +24 -24
  225. package/dist/chunks/{git-jy16bfac.js → file-mutation-t1bhcjx3.js} +1 -1
  226. package/dist/chunks/{git-mcq2hdeb.js → file-mutation-t26h1xea.js} +23 -23
  227. package/dist/chunks/{git-7547p87k.js → file-mutation-t3aqcp13.js} +5 -5
  228. package/dist/chunks/{git-zepncfka.js → file-mutation-t51qk8jz.js} +4 -4
  229. package/dist/chunks/{git-gvphacjb.js → file-mutation-t9ja5v0m.js} +6 -6
  230. package/dist/chunks/{git-sgy72gpz.js → file-mutation-t9n23y5a.js} +32 -32
  231. package/dist/chunks/{git-7yd68jh1.js → file-mutation-t9nzygtk.js} +20 -20
  232. package/dist/chunks/{git-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{git-sfv52yq4.js → file-mutation-tcaez8z7.js} +13 -13
  234. package/dist/chunks/{git-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{git-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  236. package/dist/chunks/{git-5a1z0ner.js → file-mutation-tfmchqhk.js} +13 -13
  237. package/dist/chunks/file-mutation-tg8gtkmk.js +22 -0
  238. package/dist/chunks/{git-ezys8rkd.js → file-mutation-thm2xcas.js} +17 -17
  239. package/dist/chunks/{git-99j83k2z.js → file-mutation-tmr9h4zs.js} +12 -12
  240. package/dist/chunks/{git-prp4t9gw.js → file-mutation-tp176rca.js} +6 -6
  241. package/dist/chunks/{git-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  242. package/dist/chunks/{git-5gfn8sdf.js → file-mutation-tx71xht9.js} +51 -51
  243. package/dist/chunks/{git-jxxmrcps.js → file-mutation-v1q7vfww.js} +6 -6
  244. package/dist/chunks/{git-gnn1fpcv.js → file-mutation-v3wxxz2a.js} +6 -6
  245. package/dist/chunks/{git-9p3a0bey.js → file-mutation-v4c6wwdp.js} +7 -7
  246. package/dist/chunks/{git-v4b36nj3.js → file-mutation-v68haqbh.js} +2 -2
  247. package/dist/chunks/{git-vzm76b3t.js → file-mutation-ve6nm2s5.js} +6 -6
  248. package/dist/chunks/{git-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  249. package/dist/chunks/{git-hfdr1yjj.js → file-mutation-vkxpz7g2.js} +4 -4
  250. package/dist/chunks/{git-5cvbs26k.js → file-mutation-vtrt0ewb.js} +43 -43
  251. package/dist/chunks/{git-y1p1x618.js → file-mutation-vvcwpm63.js} +13 -13
  252. package/dist/chunks/{git-z8kcrd6j.js → file-mutation-vw3mnqj9.js} +15 -15
  253. package/dist/chunks/{git-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{git-ep79ehza.js → file-mutation-w1rhahvp.js} +16 -16
  255. package/dist/chunks/{git-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{git-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  257. package/dist/chunks/{git-f1afprnz.js → file-mutation-wf5akpyb.js} +8 -8
  258. package/dist/chunks/{git-5skvzk75.js → file-mutation-wwdjya87.js} +33 -33
  259. package/dist/chunks/{git-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{git-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{git-k79tzb9n.js → file-mutation-xhmq8qgk.js} +9 -9
  262. package/dist/chunks/{git-33yrb4zc.js → file-mutation-xnvnravs.js} +33 -33
  263. package/dist/chunks/{git-qkhbq9gn.js → file-mutation-xrhv95d6.js} +23 -23
  264. package/dist/chunks/{git-fp7bntjd.js → file-mutation-xxhb5m41.js} +9 -9
  265. package/dist/chunks/{git-dr9j5dyg.js → file-mutation-y14xz5fd.js} +31 -31
  266. package/dist/chunks/{git-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{git-2f3d9t1j.js → file-mutation-y6b78k7r.js} +43 -43
  268. package/dist/chunks/{git-dpkg50ah.js → file-mutation-y71avatq.js} +4 -4
  269. package/dist/chunks/{git-b2x839n7.js → file-mutation-y7kh6pdy.js} +8 -8
  270. package/dist/chunks/{git-8g26s1rr.js → file-mutation-yakg16c7.js} +11 -11
  271. package/dist/chunks/{git-a4exdnt3.js → file-mutation-yhd29gma.js} +2 -2
  272. package/dist/chunks/{git-w1ad28wa.js → file-mutation-yhgxvs9m.js} +8 -8
  273. package/dist/chunks/file-mutation-ymkfqb6w.js +247 -0
  274. package/dist/chunks/{git-f2n192rq.js → file-mutation-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{git-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{git-79xankta.js → file-mutation-ywt3z907.js} +17 -17
  277. package/dist/chunks/{git-dn5grvbk.js → file-mutation-yymb8v2v.js} +26 -26
  278. package/dist/chunks/{git-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{git-ca7w653e.js → file-mutation-zcrspsvn.js} +4 -4
  280. package/dist/chunks/{git-8n0zdm8f.js → file-mutation-zd95htgz.js} +18 -18
  281. package/dist/chunks/{git-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{git-n7t5qjpz.js → file-mutation-zhedf7h9.js} +11 -11
  283. package/dist/chunks/{git-qr27hz8v.js → file-mutation-zn4kggxy.js} +4 -4
  284. package/dist/chunks/{git-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{git-gyeht8yw.js → file-mutation-zrz3rv3v.js} +15 -15
  286. package/dist/chunks/{git-6c0cft2p.js → file-mutation-zxcqb81j.js} +24 -24
  287. package/dist/chunks/{git-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +79 -79
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +115 -115
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +93 -93
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +84 -84
  427. package/dist/generate.js +89 -89
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +106 -106
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  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 +117 -117
  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 +158 -158
  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 +343 -343
  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 +6 -6
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  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 +85 -85
  555. package/dist/provider.js +3 -3
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +92 -92
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  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 +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +88 -88
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  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 +110 -110
  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 +73 -73
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  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 +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  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 +7 -7
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  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 +121 -121
  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 +120 -120
  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 +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  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 +108 -108
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +107 -107
  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 +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  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 +5 -5
  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 +2 -2
  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 +3 -3
  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 +2 -2
  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 +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +340 -340
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/git-d7szvhg8.js +0 -247
  687. package/dist/chunks/git-q509s3k3.js +0 -18
  688. package/dist/chunks/git-wqy8zhmg.js +0 -22
  689. package/dist/chunks/git-y5rc9adv.js +0 -462
  690. /package/dist/chunks/{git-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{git-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{git-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{git-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{git-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{git-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{git-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{git-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{git-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{git-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  700. /package/dist/chunks/{git-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{git-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{git-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{git-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{git-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{git-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{git-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{git-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  708. /package/dist/chunks/{git-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{git-6kdq0pjd.js → file-mutation-6kdq0pjd.js} +0 -0
  710. /package/dist/chunks/{git-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  711. /package/dist/chunks/{git-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{git-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{git-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  714. /package/dist/chunks/{git-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{git-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{git-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  717. /package/dist/chunks/{git-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{git-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{git-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{git-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{git-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{git-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{git-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{git-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{git-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{git-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{git-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{git-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{git-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{git-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{git-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{git-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  733. /package/dist/chunks/{git-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{git-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{git-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{git-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{git-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{git-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{git-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{git-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{git-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{git-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{git-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{git-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{git-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  746. /package/dist/chunks/{git-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{git-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  748. /package/dist/chunks/{git-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{git-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  750. /package/dist/chunks/{git-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{git-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{git-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{git-j935v87r.js → file-mutation-j935v87r.js} +0 -0
  754. /package/dist/chunks/{git-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{git-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{git-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{git-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{git-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{git-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{git-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{git-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{git-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{git-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{git-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{git-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{git-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{git-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{git-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{git-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{git-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{git-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{git-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{git-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{git-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{git-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{git-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{git-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  778. /package/dist/chunks/{git-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{git-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{git-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{git-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{git-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-5n9f6zmz.js";
3
+ } from "./file-mutation-qgnx4pxt.js";
4
4
  import {
5
5
  ID15
6
- } from "./git-2d6j2h4j.js";
6
+ } from "./file-mutation-dt849bc4.js";
7
7
  import {
8
8
  iife2
9
- } from "./git-1kg9ymc8.js";
9
+ } from "./file-mutation-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./git-9p3a0bey.js";
12
+ } from "./file-mutation-v4c6wwdp.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./git-wfeyvemf.js";
2
+ Service80,
3
+ node85
4
+ } from "./file-mutation-dpje9hvt.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make21,
8
+ make18,
9
9
  combine2
10
- } from "./git-s8d7rejh.js";
10
+ } from "./file-mutation-0gdmqesm.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./git-a1bz86dw.js";
13
+ } from "./file-mutation-a1bz86dw.js";
14
14
  import {
15
15
  __export
16
- } from "./git-9rqn6x4v.js";
16
+ } from "./file-mutation-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service26,
25
+ Service: () => Service33,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node30,
29
+ node: () => node38,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service26 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service33 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make18({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service26, Effect.gen(function* () {
79
- const { db } = yield* Service79;
78
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
79
+ const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service26.of({ list, put, remove, load });
111
+ return Service33.of({ list, put, remove, load });
112
112
  }));
113
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node84] });
113
+ var node38 = makeLocationNode({ service: Service33, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node30, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node38, exports_instruction_entry };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-dpkg50ah.js";
3
+ } from "./file-mutation-y71avatq.js";
4
4
  import {
5
+ Service79,
6
+ node84
7
+ } from "./file-mutation-c19c6034.js";
8
+ import {
9
+ Event20,
5
10
  Service78,
6
11
  node83
7
- } from "./git-xcmxfd3t.js";
8
- import {
9
- Event19,
10
- Service73,
11
- node78
12
- } from "./git-33yrb4zc.js";
12
+ } from "./file-mutation-xnvnravs.js";
13
13
  import {
14
- Service75,
15
- node80
16
- } from "./git-ezys8rkd.js";
14
+ Service69,
15
+ node73
16
+ } from "./file-mutation-thm2xcas.js";
17
17
  import {
18
- Service50,
19
- node53
20
- } from "./git-6c0cft2p.js";
18
+ Service67,
19
+ node70
20
+ } from "./file-mutation-zxcqb81j.js";
21
21
  import {
22
- ID8,
23
- Service62,
24
- node67
25
- } from "./git-7xvabjvw.js";
22
+ ID17,
23
+ Service77,
24
+ node82
25
+ } from "./file-mutation-en8fd2fz.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./git-kg06axw8.js";
29
+ } from "./file-mutation-kg06axw8.js";
30
30
  import {
31
- ID7,
31
+ ID16,
32
32
  MethodID2,
33
- Service61,
34
- node66
35
- } from "./git-gve6vxyf.js";
33
+ Service76,
34
+ node81
35
+ } from "./file-mutation-m0c4px45.js";
36
36
  import {
37
37
  __export
38
- } from "./git-9rqn6x4v.js";
38
+ } from "./file-mutation-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options5,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service28,
59
+ Service: () => Service38,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured4,
66
- layer: () => layer13,
67
- node: () => node32
65
+ configured: () => configured5,
66
+ layer: () => layer16,
67
+ node: () => node43
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID7.pipe(Schema.optional)
84
+ integrationID: ID16.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service28 extends Context.Service()("@opencode/MCP") {
168
+ class Service38 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options4 = Schema.Struct({
170
+ var Options5 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
177
- const location = yield* Service75;
178
- const environment = yield* Service50;
179
- const bus = yield* Service78;
180
- const forms = yield* Service62;
181
- const integration = yield* Service61;
182
- const credentials = yield* Service73;
176
+ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
177
+ const location = yield* Service69;
178
+ const environment = yield* Service67;
179
+ const bus = yield* Service79;
180
+ const forms = yield* Service77;
181
+ const integration = yield* Service76;
182
+ const credentials = yield* Service78;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID7.make(suffix);
194
+ const integrationID = ID16.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError2({ server: name });
219
+ return yield* new NotFoundError4({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID8.create();
318
+ const formID = ID17.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service50, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
587
587
  concurrency: "unbounded",
588
588
  discard: true
589
589
  }));
590
- return Service28.of({
590
+ return Service38.of({
591
591
  transform: state.transform,
592
592
  reload: state.reload,
593
593
  servers: Effect.fn("MCP.servers")(function* () {
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured4(options) {
710
+ function configured5(options) {
711
711
  return makeLocationNode({
712
- service: Service28,
713
- layer: layer13(options),
714
- deps: [node80, node53, node83, node67, node66, node78]
712
+ service: Service38,
713
+ layer: layer16(options),
714
+ deps: [node73, node70, node84, node82, node81, node83]
715
715
  });
716
716
  }
717
- var node32 = configured4();
717
+ var node43 = configured5();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options4, layer13, configured4, node32, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options5, layer16, configured5, node43, exports_mcp4 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./git-3v8g72cx.js";
3
+ } from "./file-mutation-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp,
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
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_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 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_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} 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_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./git-5daktx2q.js";
3
+ } from "./file-mutation-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./git-922hggd3.js";
6
+ } from "./file-mutation-922hggd3.js";
7
7
  import {
8
- ID9,
8
+ ID5,
9
9
  Name2
10
- } from "./git-7t2bfs77.js";
10
+ } from "./file-mutation-01fzq3z7.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID9.make(id),
60
+ id: ID5.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service80
3
- } from "./git-drknmmyh.js";
2
+ Service73
3
+ } from "./file-mutation-240ffee7.js";
4
4
  import {
5
- Service34
6
- } from "./git-vzm76b3t.js";
5
+ Service43
6
+ } from "./file-mutation-ve6nm2s5.js";
7
7
  import {
8
8
  detect2
9
- } from "./git-3smtnn6g.js";
9
+ } from "./file-mutation-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./git-q509s3k3.js";
12
+ } from "./file-mutation-n95b3jav.js";
13
13
  import {
14
- Service68
15
- } from "./git-bby00dsd.js";
14
+ Service74
15
+ } from "./file-mutation-08z5qwsn.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./git-jxxmrcps.js";
19
+ } from "./file-mutation-v1q7vfww.js";
20
20
  import {
21
21
  prepare3,
22
- Service63
23
- } from "./git-7t2bfs77.js";
22
+ Service48
23
+ } from "./file-mutation-01fzq3z7.js";
24
24
  import {
25
25
  __export
26
- } from "./git-9rqn6x4v.js";
26
+ } from "./file-mutation-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service34;
42
+ const instances = yield* Service43;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service74;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service63;
64
+ const skillService = yield* Service48;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service80;
128
+ const image = yield* Service73;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./git-kg06axw8.js";
3
+ } from "./file-mutation-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node12
12
+ Service: () => Service10,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service10.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
52
52
 
53
- export { Service9, node12, exports_location_watcher_policy };
53
+ export { Service10, node13, exports_location_watcher_policy };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID12,
3
- Service67
4
- } from "./git-17rjwhd8.js";
5
- import {
6
- Service75
7
- } from "./git-ezys8rkd.js";
2
+ ID9,
3
+ Service57
4
+ } from "./file-mutation-cj8em3nn.js";
8
5
  import {
9
6
  Service69
10
- } from "./git-2f3d9t1j.js";
7
+ } from "./file-mutation-thm2xcas.js";
8
+ import {
9
+ Service60
10
+ } from "./file-mutation-y6b78k7r.js";
11
11
  import {
12
- Service54,
12
+ Service59,
13
13
  args2
14
- } from "./git-n7t5qjpz.js";
14
+ } from "./file-mutation-zhedf7h9.js";
15
15
  import {
16
- Service18
17
- } from "./git-9smnhnck.js";
16
+ Service27
17
+ } from "./file-mutation-gyyh633g.js";
18
18
  import {
19
- make10
20
- } from "./git-0fgcnd78.js";
19
+ make6
20
+ } from "./file-mutation-b45nt1f1.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./git-5daktx2q.js";
23
+ } from "./file-mutation-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./git-9rqn6x4v.js";
26
+ } from "./file-mutation-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin41
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin23
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin41 = define({
44
+ var Plugin23 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service69;
47
+ const config = yield* Service60;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin41 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service75;
57
+ const location = yield* Service69;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service54;
60
- const sessions = yield* Service18;
61
- const agents = yield* Service67;
62
- const subagents = yield* make10;
59
+ const shell = yield* Service59;
60
+ const sessions = yield* Service27;
61
+ const agents = yield* Service57;
62
+ const subagents = yield* make6;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin41 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin41, exports_command2 };
207
+ export { Plugin23, exports_command };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./git-y8cydn3q.js";
3
+ } from "./file-mutation-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};