@opencode/core 0.0.0-dev-20794 → 0.0.0-dev-20796

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{file-mutation-511hp0pk.js → managed-policy-0095t6xs.js} +3 -3
  8. package/dist/chunks/{file-mutation-1er3e6yx.js → managed-policy-03t52yv7.js} +38 -38
  9. package/dist/chunks/{file-mutation-krr416t2.js → managed-policy-0dt2etgv.js} +24 -24
  10. package/dist/chunks/{file-mutation-001v9px8.js → managed-policy-0ejz2bga.js} +29 -29
  11. package/dist/chunks/{file-mutation-0emb60td.js → managed-policy-0emb60td.js} +2 -2
  12. package/dist/chunks/{file-mutation-q0xm7vwc.js → managed-policy-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{file-mutation-4nj4bn9q.js → managed-policy-0jq9fyba.js} +9 -9
  14. package/dist/chunks/{file-mutation-6128rfg2.js → managed-policy-0mynhp2e.js} +11 -11
  15. package/dist/chunks/{file-mutation-0paq2nw3.js → managed-policy-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-mutation-31prma8q.js → managed-policy-0ty2ah2b.js} +10 -10
  17. package/dist/chunks/{file-mutation-22vr6xcz.js → managed-policy-1cexapz8.js} +12 -12
  18. package/dist/chunks/managed-policy-1qthtmez.js +513 -0
  19. package/dist/chunks/{file-mutation-0bqktbhr.js → managed-policy-1xfnrnjm.js} +9 -9
  20. package/dist/chunks/{file-mutation-ermxvwhp.js → managed-policy-277eer69.js} +4 -4
  21. package/dist/chunks/{file-mutation-mkpy3z2x.js → managed-policy-29nt2qsf.js} +29 -29
  22. package/dist/chunks/{file-mutation-4ts7tf6z.js → managed-policy-2ccvkpx1.js} +2 -2
  23. package/dist/chunks/{file-mutation-tygvv2hj.js → managed-policy-2gx6ak9p.js} +29 -29
  24. package/dist/chunks/{file-mutation-mr2053vn.js → managed-policy-2j15jcy0.js} +8 -8
  25. package/dist/chunks/{file-mutation-h2cxmyv6.js → managed-policy-2jv40s7e.js} +181 -181
  26. package/dist/chunks/{file-mutation-sj77aade.js → managed-policy-2mk9f4rd.js} +10 -10
  27. package/dist/chunks/{file-mutation-a2zbpae8.js → managed-policy-2p6ac33g.js} +36 -36
  28. package/dist/chunks/{file-mutation-5hqd4evq.js → managed-policy-2q84hq5x.js} +30 -30
  29. package/dist/chunks/{file-mutation-2vvh33eb.js → managed-policy-2vvh33eb.js} +2 -2
  30. package/dist/chunks/{file-mutation-r2rtbtrq.js → managed-policy-2ynvj5gm.js} +11 -11
  31. package/dist/chunks/{file-mutation-h7s7r6s9.js → managed-policy-31xfzrxg.js} +5 -5
  32. package/dist/chunks/{file-mutation-pqzs1kgy.js → managed-policy-35qn11j2.js} +39 -39
  33. package/dist/chunks/{file-mutation-e8vwfchq.js → managed-policy-39yw09hp.js} +9 -9
  34. package/dist/chunks/{file-mutation-3cegwx68.js → managed-policy-3cegwx68.js} +2 -2
  35. package/dist/chunks/{file-mutation-1jk66z4d.js → managed-policy-3d2fx156.js} +40 -40
  36. package/dist/chunks/{file-mutation-3fc6dm20.js → managed-policy-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-mutation-16p3pjs3.js → managed-policy-3h569bqq.js} +22 -22
  38. package/dist/chunks/{file-mutation-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{file-mutation-3hwn7j4h.js → managed-policy-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{file-mutation-6k82atfh.js → managed-policy-3qbraf77.js} +11 -11
  41. package/dist/chunks/{file-mutation-3smtnn6g.js → managed-policy-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-mutation-3tvqynh2.js → managed-policy-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-mutation-8tma8yk9.js → managed-policy-3v5eda7f.js} +16 -16
  44. package/dist/chunks/{file-mutation-1ptst37f.js → managed-policy-3zb6dbrx.js} +45 -45
  45. package/dist/chunks/{file-mutation-55c2f9sd.js → managed-policy-3zq8frza.js} +38 -38
  46. package/dist/chunks/{file-mutation-3zsf4n22.js → managed-policy-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{file-mutation-q1v2ecrg.js → managed-policy-40aa18dw.js} +27 -27
  48. package/dist/chunks/{file-mutation-3rg2w6xv.js → managed-policy-42h50f95.js} +13 -13
  49. package/dist/chunks/{file-mutation-qmav61fh.js → managed-policy-44zcd2dp.js} +27 -27
  50. package/dist/chunks/{file-mutation-tbe3ncrs.js → managed-policy-4jt13wjz.js} +22 -22
  51. package/dist/chunks/{file-mutation-n9735yat.js → managed-policy-4m6cf33s.js} +28 -28
  52. package/dist/chunks/{file-mutation-k6geg3g4.js → managed-policy-4wft2je9.js} +7 -7
  53. package/dist/chunks/{file-mutation-gw7cjrad.js → managed-policy-4z58m4b4.js} +4 -4
  54. package/dist/chunks/{file-mutation-r94pvvab.js → managed-policy-54ma36ye.js} +4 -4
  55. package/dist/chunks/{file-mutation-abyvteg4.js → managed-policy-577m7d3n.js} +5 -5
  56. package/dist/chunks/{file-mutation-fyme91p9.js → managed-policy-5hn4xqfz.js} +7 -7
  57. package/dist/chunks/{file-mutation-6159pc4w.js → managed-policy-5kdshx1n.js} +11 -11
  58. package/dist/chunks/{file-mutation-5m9w47nd.js → managed-policy-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{file-mutation-413zckkp.js → managed-policy-5n3br0c5.js} +18 -18
  60. package/dist/chunks/{file-mutation-63db42yp.js → managed-policy-5pyjqqve.js} +2 -2
  61. package/dist/chunks/{file-mutation-emjccja6.js → managed-policy-5xb8ajmh.js} +4 -4
  62. package/dist/chunks/{file-mutation-0nchd41w.js → managed-policy-63fb6tqh.js} +26 -25
  63. package/dist/chunks/{file-mutation-sds13m34.js → managed-policy-659sfxq9.js} +12 -12
  64. package/dist/chunks/{file-mutation-wd9rzwsc.js → managed-policy-65yns8f5.js} +8 -8
  65. package/dist/chunks/{file-mutation-ncceg1m1.js → managed-policy-67bsharp.js} +30 -30
  66. package/dist/chunks/{file-mutation-4b4qgg5c.js → managed-policy-6c9khwmh.js} +35 -35
  67. package/dist/chunks/{file-mutation-30c1nq7z.js → managed-policy-6d6xcght.js} +6 -6
  68. package/dist/chunks/{file-mutation-g6cjcx64.js → managed-policy-6k95exvs.js} +11 -11
  69. package/dist/chunks/{file-mutation-8sze2n9a.js → managed-policy-6pc27hjz.js} +2 -2
  70. package/dist/chunks/{file-mutation-6xb47vfp.js → managed-policy-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{file-mutation-1rfarsz2.js → managed-policy-6ye8mhm1.js} +24 -24
  72. package/dist/chunks/{file-mutation-82v73sw7.js → managed-policy-72sxpf59.js} +3 -3
  73. package/dist/chunks/{file-mutation-4xfmg39d.js → managed-policy-79v37vv7.js} +15 -15
  74. package/dist/chunks/{file-mutation-dfd436bf.js → managed-policy-7b0237bg.js} +21 -21
  75. package/dist/chunks/{file-mutation-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-mutation-4an6wz3e.js → managed-policy-7c8vw2r4.js} +22 -22
  77. package/dist/chunks/{file-mutation-n9b0e670.js → managed-policy-7e6pxvzp.js} +8 -8
  78. package/dist/chunks/{file-mutation-q53wc5d1.js → managed-policy-7rjyg1hy.js} +5 -5
  79. package/dist/chunks/{file-mutation-52fpbh6z.js → managed-policy-7rwqf82v.js} +8 -8
  80. package/dist/chunks/{file-mutation-wqpqtk9p.js → managed-policy-7rzqws4w.js} +18 -18
  81. package/dist/chunks/{file-mutation-1795xh8n.js → managed-policy-7t2bz6hg.js} +10 -10
  82. package/dist/chunks/{file-mutation-84h8c373.js → managed-policy-84h8c373.js} +2 -2
  83. package/dist/chunks/{file-mutation-84txncab.js → managed-policy-84txncab.js} +1 -1
  84. package/dist/chunks/{file-mutation-r29xnvpy.js → managed-policy-88nk7jmm.js} +20 -20
  85. package/dist/chunks/{file-mutation-f63qcbt6.js → managed-policy-89mb6v00.js} +21 -21
  86. package/dist/chunks/{file-mutation-8m6m0r52.js → managed-policy-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{file-mutation-hm8d1c19.js → managed-policy-8tmjwe7f.js} +27 -27
  88. package/dist/chunks/{file-mutation-5nhcs1gc.js → managed-policy-8yxd76x6.js} +28 -28
  89. package/dist/chunks/{file-mutation-2pg08m5e.js → managed-policy-90kry7s8.js} +9 -9
  90. package/dist/chunks/{file-mutation-m8kxqagj.js → managed-policy-9fs5qpt0.js} +18 -18
  91. package/dist/chunks/{file-mutation-hkvdrpa0.js → managed-policy-9h63xw6f.js} +14 -14
  92. package/dist/chunks/{file-mutation-9p0ppmpk.js → managed-policy-9jnryt2t.js} +17 -17
  93. package/dist/chunks/{file-mutation-y9s6fa94.js → managed-policy-9sg2vfwj.js} +11 -11
  94. package/dist/chunks/{file-mutation-wwk9s6gm.js → managed-policy-9zy5e2hn.js} +4 -4
  95. package/dist/chunks/{file-mutation-q53z4mp6.js → managed-policy-ab5kzj5n.js} +65 -65
  96. package/dist/chunks/{file-mutation-e2f8ga9k.js → managed-policy-ac9vnb4d.js} +17 -17
  97. package/dist/chunks/{file-mutation-7q7krz9g.js → managed-policy-acb7ca12.js} +13 -13
  98. package/dist/chunks/{file-mutation-gqtdsdt7.js → managed-policy-addxnjmp.js} +4 -4
  99. package/dist/chunks/{file-mutation-j6g3s69e.js → managed-policy-ay6qsgxy.js} +11 -11
  100. package/dist/chunks/{file-mutation-emh6xp50.js → managed-policy-b2jm7sx5.js} +20 -20
  101. package/dist/chunks/{file-mutation-scgrse2b.js → managed-policy-b3f8fkhc.js} +5 -5
  102. package/dist/chunks/{file-mutation-1wjt2sv4.js → managed-policy-bawtyvfr.js} +2 -2
  103. package/dist/chunks/{file-mutation-xecxzrdp.js → managed-policy-bfwahzr5.js} +5 -5
  104. package/dist/chunks/{file-mutation-br43j30r.js → managed-policy-bh9186gz.js} +6 -6
  105. package/dist/chunks/{file-mutation-ma3c0nra.js → managed-policy-bje9ccwt.js} +4 -4
  106. package/dist/chunks/{file-mutation-wjr9rjd7.js → managed-policy-bjx1sjef.js} +6 -6
  107. package/dist/chunks/{file-mutation-5r0361rz.js → managed-policy-brpsysd3.js} +22 -22
  108. package/dist/chunks/{file-mutation-96fkfqj2.js → managed-policy-c0tqk5g1.js} +32 -32
  109. package/dist/chunks/{file-mutation-mb650nvc.js → managed-policy-cdfys174.js} +6 -6
  110. package/dist/chunks/{file-mutation-ns2ffs2h.js → managed-policy-cr8qarfx.js} +14 -14
  111. package/dist/chunks/{file-mutation-8n3kfz9t.js → managed-policy-ctf0kj8q.js} +7 -7
  112. package/dist/chunks/{file-mutation-b02gegf9.js → managed-policy-d1mtykxg.js} +6 -6
  113. package/dist/chunks/{file-mutation-jn8pq3zr.js → managed-policy-dbp972tj.js} +17 -17
  114. package/dist/chunks/{file-mutation-08pekkkp.js → managed-policy-ddmvbem7.js} +35 -35
  115. package/dist/chunks/{file-mutation-f73rjn58.js → managed-policy-ddt2bs9e.js} +4 -4
  116. package/dist/chunks/{file-mutation-nfmcnngg.js → managed-policy-deknbbjc.js} +22 -22
  117. package/dist/chunks/{file-mutation-1zr2pts9.js → managed-policy-dh7r0p7y.js} +51 -51
  118. package/dist/chunks/{file-mutation-4m4myvej.js → managed-policy-dhb2hta4.js} +5 -5
  119. package/dist/chunks/{file-mutation-xfkkasph.js → managed-policy-drwq78ky.js} +4 -4
  120. package/dist/chunks/{file-mutation-5qd3pb7m.js → managed-policy-e3qxr5gk.js} +2 -2
  121. package/dist/chunks/{file-mutation-nc2e17ej.js → managed-policy-e87ev190.js} +39 -39
  122. package/dist/chunks/{file-mutation-eaj1djv9.js → managed-policy-eaj1djv9.js} +1 -1
  123. package/dist/chunks/{file-mutation-eej6y6fw.js → managed-policy-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{file-mutation-ef5x83kb.js → managed-policy-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{file-mutation-e0rj9m82.js → managed-policy-eqv778qj.js} +40 -40
  126. package/dist/chunks/{file-mutation-8gnbq3mq.js → managed-policy-ew7sqdsx.js} +49 -49
  127. package/dist/chunks/{file-mutation-8ws6ad5b.js → managed-policy-ezgh6ex0.js} +4 -4
  128. package/dist/chunks/{file-mutation-tmh2szjd.js → managed-policy-f2h49ytb.js} +22 -22
  129. package/dist/chunks/{file-mutation-a9ztvwgh.js → managed-policy-f3g99wr6.js} +8 -8
  130. package/dist/chunks/{file-mutation-f75zav2x.js → managed-policy-f75zav2x.js} +2 -2
  131. package/dist/chunks/{file-mutation-w8xr7nv8.js → managed-policy-fepbnb8j.js} +5 -5
  132. package/dist/chunks/{file-mutation-pcj7teyq.js → managed-policy-fgx42ntb.js} +5 -5
  133. package/dist/chunks/{file-mutation-80c2enrh.js → managed-policy-fhnk8604.js} +13 -13
  134. package/dist/chunks/{file-mutation-vkaebcec.js → managed-policy-fkxy0ba9.js} +16 -16
  135. package/dist/chunks/{file-mutation-1v97ydhe.js → managed-policy-frv0n3qp.js} +29 -29
  136. package/dist/chunks/{file-mutation-t88w3btv.js → managed-policy-fsbj41n6.js} +24 -24
  137. package/dist/chunks/{file-mutation-r2m716tb.js → managed-policy-ft3hqk2c.js} +9 -9
  138. package/dist/chunks/{file-mutation-0xwjverx.js → managed-policy-g0tv4y1f.js} +27 -27
  139. package/dist/chunks/{file-mutation-m4bedved.js → managed-policy-g81bvmh4.js} +5 -5
  140. package/dist/chunks/{file-mutation-7zt5x37y.js → managed-policy-gd0tnyjc.js} +1 -1
  141. package/dist/chunks/{file-mutation-gd4qta3r.js → managed-policy-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{file-mutation-tgnk2hj2.js → managed-policy-gdfh3pex.js} +24 -24
  143. package/dist/chunks/{file-mutation-gk8qb678.js → managed-policy-gk8qb678.js} +1 -1
  144. package/dist/chunks/{file-mutation-y8wcetdn.js → managed-policy-gkcjs2dn.js} +11 -11
  145. package/dist/chunks/{file-mutation-kng38vy9.js → managed-policy-gmctdhmh.js} +63 -63
  146. package/dist/chunks/{file-mutation-2ktf0ed2.js → managed-policy-gs3s1a1g.js} +8 -8
  147. package/dist/chunks/{file-mutation-7xkbz91v.js → managed-policy-gwd56r7h.js} +11 -11
  148. package/dist/chunks/{file-mutation-q7mz9q6q.js → managed-policy-gwpsvqsq.js} +46 -46
  149. package/dist/chunks/{file-mutation-pnhxssdf.js → managed-policy-h0grdqdb.js} +1 -1
  150. package/dist/chunks/{file-mutation-tb0p0v3w.js → managed-policy-h2fpkd0z.js} +28 -28
  151. package/dist/chunks/{file-mutation-h6vf3j39.js → managed-policy-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{file-mutation-6t4hr8r6.js → managed-policy-h9pnpq88.js} +4 -4
  153. package/dist/chunks/{file-mutation-q4bmetfh.js → managed-policy-hgkbpxf3.js} +11 -11
  154. package/dist/chunks/{file-mutation-hgz4x7wa.js → managed-policy-hgz4x7wa.js} +1 -1
  155. package/dist/chunks/{file-mutation-4jfbp8dd.js → managed-policy-hkkrnsdk.js} +5 -5
  156. package/dist/chunks/managed-policy-ht5y0zrb.js +18 -0
  157. package/dist/chunks/{file-mutation-7vmkqt70.js → managed-policy-hw94yp8q.js} +46 -46
  158. package/dist/chunks/{file-mutation-ks1x06j6.js → managed-policy-hz912tc6.js} +33 -33
  159. package/dist/chunks/{file-mutation-7x9mkh61.js → managed-policy-hzn86bmv.js} +13 -13
  160. package/dist/chunks/{file-mutation-zh9hhqtd.js → managed-policy-j0tjf49y.js} +16 -16
  161. package/dist/chunks/{file-mutation-j56e64zr.js → managed-policy-j56e64zr.js} +1 -1
  162. package/dist/chunks/{file-mutation-792fxttk.js → managed-policy-j6qzwgn1.js} +20 -20
  163. package/dist/chunks/{file-mutation-jxy38crn.js → managed-policy-jqhbkm5d.js} +18 -18
  164. package/dist/chunks/{file-mutation-0mez6xtb.js → managed-policy-k5g401gn.js} +19 -19
  165. package/dist/chunks/{file-mutation-nk8pyrqt.js → managed-policy-k8z4td6d.js} +11 -11
  166. package/dist/chunks/{file-mutation-895hwfaf.js → managed-policy-kaz19rhm.js} +21 -21
  167. package/dist/chunks/{file-mutation-kb9j3d72.js → managed-policy-kb9j3d72.js} +3 -3
  168. package/dist/chunks/{file-mutation-x555xz49.js → managed-policy-kd9n2e6c.js} +23 -23
  169. package/dist/chunks/{file-mutation-e4xjgbbt.js → managed-policy-kevqzwew.js} +9 -9
  170. package/dist/chunks/{file-mutation-ngt4szzp.js → managed-policy-kj4ybkeg.js} +9 -9
  171. package/dist/chunks/{file-mutation-97aeaand.js → managed-policy-kqv3x6rj.js} +9 -9
  172. package/dist/chunks/{file-mutation-mbytadxt.js → managed-policy-m2trvhdw.js} +11 -11
  173. package/dist/chunks/{file-mutation-m3fdjcah.js → managed-policy-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{file-mutation-97x6zpcg.js → managed-policy-m5040gs4.js} +24 -24
  175. package/dist/chunks/{file-mutation-8spzkyqz.js → managed-policy-m7vbswan.js} +13 -13
  176. package/dist/chunks/{file-mutation-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{file-mutation-5zm63kxk.js → managed-policy-ma2xzyma.js} +24 -24
  178. package/dist/chunks/{file-mutation-d3sj2eet.js → managed-policy-majpnbt9.js} +15 -15
  179. package/dist/chunks/{file-mutation-fmcyb5kn.js → managed-policy-me7cye14.js} +19 -19
  180. package/dist/chunks/{file-mutation-x6gzkr09.js → managed-policy-mfyyvwf9.js} +14 -14
  181. package/dist/chunks/{file-mutation-z3nay82g.js → managed-policy-mphgtbj1.js} +9 -9
  182. package/dist/chunks/{file-mutation-0xvjdmzv.js → managed-policy-nf8fd7c7.js} +8 -8
  183. package/dist/chunks/{file-mutation-e80seqcp.js → managed-policy-nma959mg.js} +3 -3
  184. package/dist/chunks/{file-mutation-jmb3v5n8.js → managed-policy-ny46nx2m.js} +29 -29
  185. package/dist/chunks/{file-mutation-08w4ybrc.js → managed-policy-nzfbcyzy.js} +4 -4
  186. package/dist/chunks/{file-mutation-h6cmthvy.js → managed-policy-p000yqtg.js} +16 -16
  187. package/dist/chunks/{file-mutation-g7m5jc3s.js → managed-policy-p0bcxtqe.js} +13 -13
  188. package/dist/chunks/{file-mutation-p37cw4rj.js → managed-policy-p37cw4rj.js} +1 -1
  189. package/dist/chunks/{file-mutation-brkb82jv.js → managed-policy-p554r9vn.js} +6 -6
  190. package/dist/chunks/{file-mutation-czrk7eqc.js → managed-policy-pc793tw4.js} +15 -15
  191. package/dist/chunks/{file-mutation-h3kajr6j.js → managed-policy-pdhvxyv4.js} +4 -4
  192. package/dist/chunks/{file-mutation-4bxnfknc.js → managed-policy-peeesec9.js} +22 -22
  193. package/dist/chunks/{file-mutation-35s76chf.js → managed-policy-pj2fkx3r.js} +4 -4
  194. package/dist/chunks/{file-mutation-pjvnvgmy.js → managed-policy-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-mutation-pknna89w.js → managed-policy-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-mutation-ev47m0c9.js → managed-policy-pvhtckep.js} +18 -18
  197. package/dist/chunks/{file-mutation-0kj4k1tc.js → managed-policy-pxaa4p27.js} +54 -54
  198. package/dist/chunks/{file-mutation-2cjv1swf.js → managed-policy-q1pm9hgd.js} +5 -5
  199. package/dist/chunks/{file-mutation-5y9r66cr.js → managed-policy-q66a1b95.js} +33 -33
  200. package/dist/chunks/{file-mutation-5ezk1j40.js → managed-policy-qam5mqsj.js} +36 -36
  201. package/dist/chunks/{file-mutation-t1s1k5yy.js → managed-policy-qb63c3jr.js} +15 -15
  202. package/dist/chunks/{file-mutation-7dqw4kz8.js → managed-policy-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{file-mutation-svfda40e.js → managed-policy-qjwgf7q8.js} +33 -33
  204. package/dist/chunks/{file-mutation-qnc92qwc.js → managed-policy-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{file-mutation-cpa5tgd0.js → managed-policy-qqb9he30.js} +4 -4
  206. package/dist/chunks/{file-mutation-2p9rsret.js → managed-policy-qs80x40y.js} +11 -11
  207. package/dist/chunks/{file-mutation-qsdy395h.js → managed-policy-qsdy395h.js} +1 -1
  208. package/dist/chunks/{file-mutation-nm2znq5e.js → managed-policy-qwmzej72.js} +19 -19
  209. package/dist/chunks/{file-mutation-sv7n11b0.js → managed-policy-r0wfdb6d.js} +37 -37
  210. package/dist/chunks/{file-mutation-ryr25ayn.js → managed-policy-ratrq7cm.js} +4 -4
  211. package/dist/chunks/{file-mutation-rdw6cm16.js → managed-policy-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{file-mutation-hpz1ef6d.js → managed-policy-rj5c6npr.js} +22 -22
  213. package/dist/chunks/{file-mutation-2a12y9bg.js → managed-policy-rkz6szpf.js} +6 -6
  214. package/dist/chunks/{file-mutation-arkxpnc7.js → managed-policy-rmczj7pp.js} +16 -16
  215. package/dist/chunks/{file-mutation-tx6et3w6.js → managed-policy-rpwtfpdx.js} +93 -93
  216. package/dist/chunks/{file-mutation-nmc82f5r.js → managed-policy-rsynn8gj.js} +5 -5
  217. package/dist/chunks/{file-mutation-hdwqhw82.js → managed-policy-rx3g14zd.js} +3 -3
  218. package/dist/chunks/{file-mutation-9j45sp9y.js → managed-policy-rzd4zm6g.js} +3 -3
  219. package/dist/chunks/{file-mutation-rcm8yqz1.js → managed-policy-s0gprnmp.js} +5 -5
  220. package/dist/chunks/{file-mutation-5z6x68ky.js → managed-policy-s6mah6de.js} +11 -11
  221. package/dist/chunks/{file-mutation-x3j07sqv.js → managed-policy-s6ssf5zv.js} +1 -1
  222. package/dist/chunks/{file-mutation-br5x8hm0.js → managed-policy-sekvb3zk.js} +13 -13
  223. package/dist/chunks/{file-mutation-987t3db3.js → managed-policy-sf6e5k3g.js} +42 -42
  224. package/dist/chunks/{file-mutation-347k46de.js → managed-policy-skmcbxjc.js} +20 -20
  225. package/dist/chunks/{file-mutation-dx0zwnzh.js → managed-policy-sqyq9rzz.js} +15 -15
  226. package/dist/chunks/{file-mutation-2vwxxgve.js → managed-policy-srfnz2vv.js} +3 -3
  227. package/dist/chunks/{file-mutation-cb73d6eg.js → managed-policy-svbzbn35.js} +3 -3
  228. package/dist/chunks/{file-mutation-mfae1c65.js → managed-policy-syjcyykh.js} +16 -16
  229. package/dist/chunks/{file-mutation-rejzs90v.js → managed-policy-t0sdc4fh.js} +13 -13
  230. package/dist/chunks/{file-mutation-pttfvfkm.js → managed-policy-t8nnwc1z.js} +35 -35
  231. package/dist/chunks/{file-mutation-tazgh4e4.js → managed-policy-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{file-mutation-tcezcvh9.js → managed-policy-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{file-mutation-tdstcens.js → managed-policy-tdstcens.js} +1 -1
  234. package/dist/chunks/managed-policy-tjm1zksp.js +26 -0
  235. package/dist/chunks/{file-mutation-fvhg8gw5.js → managed-policy-tq3qe57n.js} +9 -9
  236. package/dist/chunks/{file-mutation-raq2v0bx.js → managed-policy-tsgjh42f.js} +5 -5
  237. package/dist/chunks/{file-mutation-tyytaxap.js → managed-policy-tyytaxap.js} +1 -1
  238. package/dist/chunks/{file-mutation-v7p4zvkq.js → managed-policy-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{file-mutation-pjbxg7y6.js → managed-policy-v82t1vw6.js} +5 -5
  240. package/dist/chunks/{file-mutation-c3nph5qn.js → managed-policy-v8761v3w.js} +24 -24
  241. package/dist/chunks/{file-mutation-swfq2ggm.js → managed-policy-vbrars45.js} +5 -5
  242. package/dist/chunks/{file-mutation-veqvce7d.js → managed-policy-veqvce7d.js} +1 -1
  243. package/dist/chunks/{file-mutation-pdt2jafh.js → managed-policy-veykjydx.js} +20 -20
  244. package/dist/chunks/{file-mutation-6gfcack1.js → managed-policy-vhbw1hsk.js} +28 -28
  245. package/dist/chunks/{file-mutation-3z5acqv0.js → managed-policy-vnkj8wxn.js} +23 -23
  246. package/dist/chunks/managed-policy-vq5rmp01.js +253 -0
  247. package/dist/chunks/{file-mutation-bx3a7gm0.js → managed-policy-vv7aw7qd.js} +32 -32
  248. package/dist/chunks/{file-mutation-ss358qx3.js → managed-policy-vx3jgdek.js} +3 -3
  249. package/dist/chunks/{file-mutation-vzs5sf6e.js → managed-policy-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{file-mutation-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-mutation-y2p23j5v.js → managed-policy-w8ae0pay.js} +18 -18
  252. package/dist/chunks/{file-mutation-7sh3javy.js → managed-policy-w985z6qw.js} +11 -11
  253. package/dist/chunks/{file-mutation-wd87259q.js → managed-policy-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-mutation-mmwgr206.js → managed-policy-wd8c5xz8.js} +27 -27
  255. package/dist/chunks/{file-mutation-6xsva56f.js → managed-policy-whzwx2xe.js} +27 -27
  256. package/dist/chunks/{file-mutation-cxyknwdq.js → managed-policy-wp7wjn3g.js} +30 -30
  257. package/dist/chunks/{file-mutation-zz6a9v66.js → managed-policy-wqpywhre.js} +13 -13
  258. package/dist/chunks/{file-mutation-dvnvp1s2.js → managed-policy-x174dnaa.js} +9 -9
  259. package/dist/chunks/{file-mutation-y9tr1e68.js → managed-policy-xb32h3e0.js} +59 -59
  260. package/dist/chunks/{file-mutation-0pfnnq19.js → managed-policy-xbkmh0rm.js} +9 -9
  261. package/dist/chunks/{file-mutation-gw9kxxex.js → managed-policy-xd8bv8k9.js} +26 -26
  262. package/dist/chunks/{file-mutation-4ffk7hnv.js → managed-policy-xfh5x0cd.js} +45 -45
  263. package/dist/chunks/{file-mutation-5t8ewn7s.js → managed-policy-xj126k1c.js} +20 -20
  264. package/dist/chunks/{file-mutation-66hgkdkn.js → managed-policy-xst6sh37.js} +12 -12
  265. package/dist/chunks/{file-mutation-y1fvbwt7.js → managed-policy-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-mutation-dpkg50ah.js → managed-policy-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-mutation-q0dpqjr6.js → managed-policy-y766kw39.js} +5 -5
  268. package/dist/chunks/{file-mutation-d1rwsgz6.js → managed-policy-yb18513g.js} +35 -35
  269. package/dist/chunks/{file-mutation-7qxkbnsm.js → managed-policy-ycbav82a.js} +4 -4
  270. package/dist/chunks/{file-mutation-fx15w7g6.js → managed-policy-yjn5rnwv.js} +95 -95
  271. package/dist/chunks/{file-mutation-y029vxmf.js → managed-policy-ym8m4c3j.js} +9 -9
  272. package/dist/chunks/{file-mutation-yp2x3t23.js → managed-policy-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{file-mutation-zpqaydr5.js → managed-policy-ypdtqe7w.js} +11 -11
  274. package/dist/chunks/{file-mutation-rxnjmc3f.js → managed-policy-yts98zcs.js} +35 -35
  275. package/dist/chunks/{file-mutation-8x85sx4p.js → managed-policy-ywm7vzgw.js} +6 -6
  276. package/dist/chunks/{file-mutation-z0bkrqjs.js → managed-policy-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-mutation-frjx316d.js → managed-policy-z16fya54.js} +32 -32
  278. package/dist/chunks/{file-mutation-h8ev6gqr.js → managed-policy-z1wx7neg.js} +22 -22
  279. package/dist/chunks/{file-mutation-2tnztyb4.js → managed-policy-z8dc5wxr.js} +19 -19
  280. package/dist/chunks/{file-mutation-n75va8h4.js → managed-policy-znv4xpsm.js} +14 -14
  281. package/dist/chunks/{file-mutation-8vmqdhw3.js → managed-policy-zpnhc326.js} +11 -11
  282. package/dist/chunks/{file-mutation-zr2ceqn5.js → managed-policy-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-mutation-e9myf44w.js → managed-policy-zva2nbrj.js} +12 -12
  284. package/dist/chunks/{file-mutation-zxq2ej10.js → managed-policy-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +119 -119
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +117 -117
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +138 -138
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +120 -120
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +118 -118
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +71 -71
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +80 -80
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +219 -219
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +87 -87
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +104 -104
  428. package/dist/git.js +10 -10
  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 +100 -100
  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/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +357 -357
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +354 -354
  464. package/dist/location.js +86 -86
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +100 -100
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +108 -108
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +118 -118
  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 +91 -91
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +77 -77
  486. package/dist/plugin/command.js +103 -103
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +1 -1
  491. package/dist/plugin/internal.js +329 -329
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +94 -94
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +96 -96
  511. package/dist/plugin/provider/gitlab.js +94 -94
  512. package/dist/plugin/provider/google-vertex.js +114 -114
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +79 -79
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/local.js +114 -114
  517. package/dist/plugin/provider/modal.js +93 -93
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai.js +94 -94
  522. package/dist/plugin/provider/opencode.js +98 -98
  523. package/dist/plugin/provider/openrouter.js +92 -92
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +80 -80
  526. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  527. package/dist/plugin/provider/sap-ai-core.js +92 -92
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  530. package/dist/plugin/provider/vercel.js +91 -91
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +92 -92
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +159 -159
  535. package/dist/plugin/sdk.js +77 -77
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +135 -135
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +344 -344
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +87 -87
  543. package/dist/plugin/vcs/hg.js +87 -87
  544. package/dist/plugin/verbosity.js +94 -94
  545. package/dist/plugin/warming.js +115 -115
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +221 -221
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +102 -102
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +100 -100
  561. package/dist/reference/instructions.js +90 -90
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +82 -82
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +98 -98
  567. package/dist/rpc.js +87 -87
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +75 -75
  571. package/dist/session/compaction.js +130 -130
  572. package/dist/session/context.js +154 -154
  573. package/dist/session/diff.js +89 -89
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +218 -218
  578. package/dist/session/execution.js +128 -128
  579. package/dist/session/generate.js +153 -153
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +91 -91
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +80 -80
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +98 -98
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +121 -121
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +130 -130
  591. package/dist/session/projector.js +87 -87
  592. package/dist/session/prompt.js +106 -106
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +91 -91
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +223 -223
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +99 -99
  600. package/dist/session/runner/publish-llm-event.js +114 -114
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +126 -126
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +165 -165
  606. package/dist/session/shell.js +131 -131
  607. package/dist/session/skill.js +106 -106
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +76 -76
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +206 -206
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +152 -152
  615. package/dist/session/to-session-error.js +112 -112
  616. package/dist/session/transfer.js +217 -217
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +210 -210
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +133 -133
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +108 -108
  626. package/dist/skill.js +115 -115
  627. package/dist/snapshot.js +90 -90
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +127 -127
  632. package/dist/tool/plugin/edit.js +121 -121
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +125 -125
  635. package/dist/tool/plugin/grep.js +125 -125
  636. package/dist/tool/plugin/mcp-resource.js +118 -118
  637. package/dist/tool/plugin/opencode.js +110 -110
  638. package/dist/tool/plugin/patch.js +123 -123
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +126 -126
  641. package/dist/tool/plugin/shell.js +211 -211
  642. package/dist/tool/plugin/skill.js +114 -114
  643. package/dist/tool/plugin/subagent.js +211 -211
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +115 -115
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +101 -101
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +93 -93
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +92 -92
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +90 -90
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +77 -77
  674. package/dist/wellknown.js +82 -82
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +81 -81
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +90 -90
  682. package/dist/worktree.js +99 -99
  683. package/package.json +8 -8
  684. package/dist/chunks/file-mutation-775h0p7n.js +0 -26
  685. package/dist/chunks/file-mutation-by5v678g.js +0 -18
  686. package/dist/chunks/file-mutation-ekpbha00.js +0 -513
  687. package/dist/chunks/file-mutation-h9wkgsjp.js +0 -253
  688. /package/dist/chunks/{file-mutation-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{file-mutation-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{file-mutation-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{file-mutation-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{file-mutation-1kg9ymc8.js → managed-policy-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{file-mutation-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{file-mutation-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-mutation-2axfhc9x.js → managed-policy-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2bv980vf.js → managed-policy-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{file-mutation-34c7v6d4.js → managed-policy-34c7v6d4.js} +0 -0
  699. /package/dist/chunks/{file-mutation-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3asan66x.js → managed-policy-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3t0ybcrp.js → managed-policy-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-mutation-3wcehsnq.js → managed-policy-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-mutation-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-mutation-4vcrnpx2.js → managed-policy-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-mutation-4y7fprxs.js → managed-policy-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-mutation-53557ph1.js → managed-policy-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-mutation-550bvhaj.js → managed-policy-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-mutation-6prwharc.js → managed-policy-6prwharc.js} +0 -0
  711. /package/dist/chunks/{file-mutation-6q2bdcd1.js → managed-policy-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{file-mutation-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-mutation-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-mutation-822emrt2.js → managed-policy-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-mutation-84wd9syh.js → managed-policy-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{file-mutation-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{file-mutation-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{file-mutation-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{file-mutation-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{file-mutation-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{file-mutation-a6k6eb26.js → managed-policy-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-mutation-af5trqkr.js → managed-policy-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-mutation-afrmfg78.js → managed-policy-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-mutation-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-mutation-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-mutation-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-mutation-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-mutation-bw78ga2c.js → managed-policy-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{file-mutation-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-mutation-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-mutation-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-mutation-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-mutation-dajrwvna.js → managed-policy-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-mutation-dap0rakb.js → managed-policy-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-mutation-df08tz66.js → managed-policy-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-mutation-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-mutation-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-e73j6tqm.js → managed-policy-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-mutation-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-mutation-eh3zwz77.js → managed-policy-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-mutation-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-mutation-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-mutation-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-mutation-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-mutation-g4wezp1m.js → managed-policy-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-mutation-g86h250q.js → managed-policy-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-mutation-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-mutation-gftt206x.js → managed-policy-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-mutation-hk9envan.js → managed-policy-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-mutation-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-mutation-j5zkgpj8.js → managed-policy-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{file-mutation-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{file-mutation-jze0r7bz.js → managed-policy-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{file-mutation-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-mutation-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-mutation-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-mutation-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-mutation-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-mutation-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-mutation-pyv0edze.js → managed-policy-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{file-mutation-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{file-mutation-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{file-mutation-qaymkmh1.js → managed-policy-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{file-mutation-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{file-mutation-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{file-mutation-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{file-mutation-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{file-mutation-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{file-mutation-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{file-mutation-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{file-mutation-ve7vex1e.js → managed-policy-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{file-mutation-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{file-mutation-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{file-mutation-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{file-mutation-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{file-mutation-x0ckcb58.js → managed-policy-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{file-mutation-x61499pn.js → managed-policy-x61499pn.js} +0 -0
  781. /package/dist/chunks/{file-mutation-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{file-mutation-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{file-mutation-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{file-mutation-ym463w8f.js → managed-policy-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{file-mutation-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
  786. /package/dist/chunks/{file-mutation-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service63,
3
- node65
4
- } from "./file-mutation-rejzs90v.js";
2
+ Service71,
3
+ node74
4
+ } from "./managed-policy-t0sdc4fh.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./file-mutation-gftt206x.js";
7
+ } from "./managed-policy-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./file-mutation-ss358qx3.js";
10
+ } from "./managed-policy-vx3jgdek.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./managed-policy-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service61,
20
- make: () => make18,
21
- node: () => node63
19
+ Service: () => Service45,
20
+ make: () => make19,
21
+ node: () => node48
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service61 extends Context.Service()("@opencode/Job") {
51
+ class Service45 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make18 = Effect.gen(function* () {
87
- const kv = yield* Service63;
86
+ var make19 = Effect.gen(function* () {
87
+ const kv = yield* Service71;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -342,7 +342,7 @@ var make18 = Effect.gen(function* () {
342
342
  next.delete(entry[0]);
343
343
  return next;
344
344
  })));
345
- return Service61.of({
345
+ return Service45.of({
346
346
  get,
347
347
  start,
348
348
  wait,
@@ -354,7 +354,7 @@ var make18 = Effect.gen(function* () {
354
354
  completeBackground
355
355
  });
356
356
  });
357
- var layer = Layer.effect(Service61, make18);
358
- var node63 = makeGlobalNode({ service: Service61, layer, deps: [node65] });
357
+ var layer = Layer.effect(Service45, make19);
358
+ var node48 = makeGlobalNode({ service: Service45, layer, deps: [node74] });
359
359
 
360
- export { Service61, make18, node63, exports_job };
360
+ export { Service45, make19, node48, exports_job };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service69
3
- } from "./file-mutation-krr416t2.js";
2
+ Service74
3
+ } from "./managed-policy-0dt2etgv.js";
4
4
  import {
5
- Service68,
5
+ Service16,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-mutation-zz6a9v66.js";
8
+ } from "./managed-policy-wqpywhre.js";
9
9
  import {
10
- Service24
11
- } from "./file-mutation-dx0zwnzh.js";
10
+ Service19
11
+ } from "./managed-policy-sqyq9rzz.js";
12
12
  import {
13
- Service76
14
- } from "./file-mutation-kng38vy9.js";
13
+ Service55
14
+ } from "./managed-policy-gmctdhmh.js";
15
15
  import {
16
- Service25
17
- } from "./file-mutation-y2p23j5v.js";
16
+ Service54
17
+ } from "./managed-policy-w8ae0pay.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./file-mutation-6prwharc.js";
20
+ } from "./managed-policy-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./file-mutation-9rqn6x4v.js";
23
+ } from "./managed-policy-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input6,
29
- Output: () => Output4,
30
- Plugin: () => Plugin41,
28
+ Input: () => Input7,
29
+ Output: () => Output5,
30
+ Plugin: () => Plugin23,
31
31
  WriteTool: () => exports_write,
32
- name: () => name6,
32
+ name: () => name7,
33
33
  toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name6 = "write";
39
- var Input6 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output4 = Schema.Struct({
45
+ var Output5 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin41 = {
52
+ var Plugin23 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service25;
56
- const fileMutation = yield* Service68;
57
- const environment = yield* Service69;
58
- const formatter = yield* Service24;
59
- const permission = yield* Service76;
55
+ const access = yield* Service54;
56
+ const fileMutation = yield* Service16;
57
+ const environment = yield* Service74;
58
+ const formatter = yield* Service19;
59
+ const permission = yield* Service55;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name6,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input6,
69
- output: Output4,
68
+ input: Input7,
69
+ output: Output5,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name6, Input6, Output4, toModelContent3, Plugin41, exports_write };
101
+ export { name7, Input7, Output5, toModelContent3, Plugin23, exports_write };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-mutation-88xbtdfr.js";
3
+ } from "./managed-policy-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./file-mutation-5qd3pb7m.js";
5
+ load5
6
+ } from "./managed-policy-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./managed-policy-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
17
- Service: () => Service52,
16
+ Options: () => Options8,
17
+ Service: () => Service67,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer20,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node55,
25
+ node: () => node70,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service52 extends Context.Service()("@opencode/Watcher") {
60
+ class Service67 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service52.of({ subscribe });
108
+ return Service67.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service52).subscribe,
134
+ subscribe: Context.get(context, Service67).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service52, layer: layer20(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service67, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node55 = configured9();
170
+ var node70 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options10, Service52, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured9, node55, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options8, Service67, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured8, node70, exports_watcher };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./file-mutation-rdw6cm16.js";
3
+ } from "./managed-policy-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./managed-policy-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: () => Service7,
13
- node: () => node8
12
+ Service: () => Service13,
13
+ node: () => node15
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service13 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service13, 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(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service13.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [] });
52
52
 
53
- export { Service7, node8, exports_location_watcher_policy };
53
+ export { Service13, node15, exports_location_watcher_policy };
@@ -1,39 +1,39 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./file-mutation-8tma8yk9.js";
2
+ Service84,
3
+ node88
4
+ } from "./managed-policy-3v5eda7f.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-mutation-84txncab.js";
11
+ } from "./managed-policy-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-mutation-z5v4ffb3.js";
14
+ } from "./managed-policy-z5v4ffb3.js";
15
15
  import {
16
- Service45,
17
- node48
18
- } from "./file-mutation-347k46de.js";
16
+ Service50,
17
+ node53
18
+ } from "./managed-policy-skmcbxjc.js";
19
19
  import {
20
20
  create3
21
- } from "./file-mutation-rdw6cm16.js";
21
+ } from "./managed-policy-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./managed-policy-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
29
  Event: () => Event9,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info9,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service43,
35
- Source: () => Source3,
36
- node: () => node46
34
+ Service: () => Service49,
35
+ Source: () => Source4,
36
+ node: () => node52
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -42,15 +42,15 @@ import { Global } from "@opencode/util/global";
42
42
  import { Event as Event9 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info9 = Reference.Info;
47
47
 
48
- class Service43 extends Context.Service()("@opencode/Reference") {
48
+ class Service49 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service43, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service45;
52
+ const bus = yield* Service84;
53
+ const cache = yield* Service50;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info9.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info9.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service43.of({
107
+ return Service49.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node46 = makeLocationNode({
116
- service: Service43,
115
+ var node52 = makeLocationNode({
116
+ service: Service49,
117
117
  layer,
118
- deps: [Global.node, node87, node48]
118
+ deps: [Global.node, node88, node53]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service43, node46, exports_reference2, Event9 };
121
+ export { LocalSource2, GitSource2, Source4, Info9, Service49, node52, exports_reference2, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./file-mutation-4b4qgg5c.js";
2
+ ID13
3
+ } from "./managed-policy-6c9khwmh.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID8.amazonBedrock,
38
+ integrationID: ID13.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID8.amazonBedrock,
42
+ integrationID: ID13.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID8.amazonBedrock,
46
+ integrationID: ID13.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./file-mutation-gw7cjrad.js";
4
+ } from "./managed-policy-4z58m4b4.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./managed-policy-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-mutation-pyv0edze.js";
7
+ } from "./managed-policy-pyv0edze.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-mutation-82v73sw7.js";
11
+ } from "./managed-policy-72sxpf59.js";
12
12
  import {
13
13
  create3
14
- } from "./file-mutation-rdw6cm16.js";
14
+ } from "./managed-policy-rdw6cm16.js";
15
15
  import {
16
- Service55,
17
- node58
18
- } from "./file-mutation-z3nay82g.js";
16
+ Service48,
17
+ node51
18
+ } from "./managed-policy-mphgtbj1.js";
19
19
  import {
20
- Service80,
21
- node84
22
- } from "./file-mutation-2ktf0ed2.js";
20
+ Service69,
21
+ node72
22
+ } from "./managed-policy-gs3s1a1g.js";
23
23
  import {
24
24
  match2
25
- } from "./file-mutation-y1fvbwt7.js";
25
+ } from "./managed-policy-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./file-mutation-9rqn6x4v.js";
28
+ } from "./managed-policy-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error4,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service42,
38
+ Service: () => Service47,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node45
41
+ node: () => node50
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service42 extends Context.Service()("@opencode/Tool") {
54
+ class Service47 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service42, Effect.gen(function* () {
57
- const hooks = yield* Service80;
58
- const image = yield* Service55;
56
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
57
+ const hooks = yield* Service69;
58
+ const image = yield* Service48;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service42.of({
187
+ return Service47.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node45 = makeLocationNode({
277
- service: Service42,
276
+ var node50 = makeLocationNode({
277
+ service: Service47,
278
278
  layer,
279
- deps: [node84, node58]
279
+ deps: [node72, node51]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service47, node50, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-mutation-qaymkmh1.js";
3
+ } from "./managed-policy-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";