@opencode/core 0.0.0-dev-21524 → 0.0.0-dev-21530

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-02mvvr71.js → schema-02mvvr71.js} +3 -3
  8. package/dist/chunks/{model-x4wqyer7.js → schema-02ve1zyw.js} +19 -19
  9. package/dist/chunks/{model-78mjm5mv.js → schema-044xr5hv.js} +53 -53
  10. package/dist/chunks/{model-v210v162.js → schema-0bg0bx69.js} +7 -7
  11. package/dist/chunks/{model-s8d7rejh.js → schema-0gdmqesm.js} +4 -4
  12. package/dist/chunks/{model-7dqw4kz8.js → schema-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{model-982vmajw.js → schema-0tn9bjc5.js} +21 -21
  14. package/dist/chunks/{model-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{model-85hqxn6b.js → schema-15esv6g5.js} +3 -3
  16. package/dist/chunks/{model-b41wgp24.js → schema-1afj0k1v.js} +13 -13
  17. package/dist/chunks/{model-j29dqnz3.js → schema-1dxbsdj5.js} +9 -9
  18. package/dist/chunks/{model-1pfpt4tm.js → schema-1g5hkw1w.js} +25 -25
  19. package/dist/chunks/{model-sxsnqyan.js → schema-1mx78vzr.js} +25 -25
  20. package/dist/chunks/{model-d2pvcv7q.js → schema-1svhfytg.js} +22 -22
  21. package/dist/chunks/{model-khmqacep.js → schema-1w2wqhfv.js} +4 -4
  22. package/dist/chunks/{model-cswhtaxk.js → schema-247gbw12.js} +3 -3
  23. package/dist/chunks/{model-q1xk2b8v.js → schema-25gmhyge.js} +1 -1
  24. package/dist/chunks/{model-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{model-j00wdpt2.js → schema-2gta2q4r.js} +35 -35
  26. package/dist/chunks/{model-dhmh7aw6.js → schema-2vs2nh1n.js} +4 -4
  27. package/dist/chunks/schema-2xehkjwm.js +257 -0
  28. package/dist/chunks/{model-j1n1yte6.js → schema-2yr926wd.js} +13 -13
  29. package/dist/chunks/{model-m190hr7s.js → schema-38a6f3y0.js} +13 -13
  30. package/dist/chunks/{model-tbmac1c7.js → schema-3ewed21c.js} +4 -4
  31. package/dist/chunks/{model-gr0f51d3.js → schema-3ghrgbf8.js} +9 -9
  32. package/dist/chunks/{model-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{model-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{model-zra0rasq.js → schema-3qb95gy8.js} +4 -4
  35. package/dist/chunks/{model-xq5wk8w5.js → schema-3qm998m2.js} +11 -11
  36. package/dist/chunks/{model-395q6j9z.js → schema-3t06g8dq.js} +6 -6
  37. package/dist/chunks/{model-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{model-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{model-k4s0h02e.js → schema-40ac0r3r.js} +11 -11
  40. package/dist/chunks/{model-p9ynbv9r.js → schema-42kdbcte.js} +25 -25
  41. package/dist/chunks/{model-3pkscm61.js → schema-47rxzzmb.js} +9 -9
  42. package/dist/chunks/{model-snpsxx8p.js → schema-4axgq110.js} +35 -35
  43. package/dist/chunks/{model-yb5mq618.js → schema-4c8ty7y6.js} +15 -15
  44. package/dist/chunks/{model-jtcz2vdp.js → schema-4g2jt153.js} +25 -25
  45. package/dist/chunks/{model-8ypwf7te.js → schema-4tsfkw9e.js} +11 -11
  46. package/dist/chunks/{model-r71c6ngf.js → schema-4w411070.js} +1 -1
  47. package/dist/chunks/{model-gx5mqccr.js → schema-4w9ygdqj.js} +18 -18
  48. package/dist/chunks/{model-54ma36ye.js → schema-54ma36ye.js} +1 -1
  49. package/dist/chunks/{model-52v62pe3.js → schema-56j2d20k.js} +8 -8
  50. package/dist/chunks/{model-s5vae3n3.js → schema-586k1tpv.js} +6 -6
  51. package/dist/chunks/{model-wq3ev71f.js → schema-5acb438f.js} +6 -6
  52. package/dist/chunks/{model-aj0k59hj.js → schema-5hzj2gnj.js} +1 -1
  53. package/dist/chunks/{model-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{model-k82vbxay.js → schema-5yqngkrh.js} +3 -3
  55. package/dist/chunks/{model-m8gvtb3w.js → schema-60bb96q1.js} +12 -12
  56. package/dist/chunks/{model-6827pfxn.js → schema-6827pfxn.js} +1 -1
  57. package/dist/chunks/{model-shttdtza.js → schema-6jk406cr.js} +30 -30
  58. package/dist/chunks/{model-py3kkmfq.js → schema-6pc27hjz.js} +6 -6
  59. package/dist/chunks/{model-p0wpjn6w.js → schema-6qbhemwa.js} +37 -37
  60. package/dist/chunks/{model-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{model-7myyj22h.js → schema-70xh0458.js} +19 -19
  62. package/dist/chunks/{model-775gj3j1.js → schema-775gj3j1.js} +2 -2
  63. package/dist/chunks/{model-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{model-zy04nmr9.js → schema-7ec2v9ed.js} +12 -12
  65. package/dist/chunks/{model-a4xe52vp.js → schema-7j1zf1qw.js} +15 -15
  66. package/dist/chunks/{model-zkvdcdcs.js → schema-7n76hb68.js} +12 -12
  67. package/dist/chunks/{model-h3fgmb1c.js → schema-7ph0n1vg.js} +20 -20
  68. package/dist/chunks/{model-ygp5nrda.js → schema-7q165t4g.js} +22 -24
  69. package/dist/chunks/{model-0taht25s.js → schema-7vdznjcr.js} +8 -8
  70. package/dist/chunks/{model-fh95s1e3.js → schema-7zafwtqv.js} +28 -28
  71. package/dist/chunks/{model-j1kq1abh.js → schema-88tf66q2.js} +9 -9
  72. package/dist/chunks/{model-tcezcvh9.js → schema-89znhe33.js} +4 -4
  73. package/dist/chunks/{model-8bc2ahr8.js → schema-8bc2ahr8.js} +1 -1
  74. package/dist/chunks/{model-dxjxmw6m.js → schema-8ce0521a.js} +15 -15
  75. package/dist/chunks/{model-wrmbd4ct.js → schema-8dj74pby.js} +3 -3
  76. package/dist/chunks/{model-n10am2gf.js → schema-8hdppygf.js} +22 -22
  77. package/dist/chunks/{model-yj7k2rcj.js → schema-8hej200e.js} +6 -6
  78. package/dist/chunks/{model-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{model-xxrcdmhk.js → schema-8mc7s0wd.js} +11 -11
  80. package/dist/chunks/{model-8mywswrd.js → schema-8mywswrd.js} +1 -1
  81. package/dist/chunks/{model-vpdzpye8.js → schema-8nbq5p6s.js} +15 -15
  82. package/dist/chunks/{model-xw9fg8fb.js → schema-8vcf4cwr.js} +2 -2
  83. package/dist/chunks/{model-32hg4evb.js → schema-9brafa5j.js} +18 -18
  84. package/dist/chunks/{model-45nvas02.js → schema-9fp5cy9e.js} +32 -45
  85. package/dist/chunks/{model-kbnh7qbc.js → schema-9fshpcpc.js} +28 -28
  86. package/dist/chunks/{model-0r3c1bmw.js → schema-9hwaqfsw.js} +5 -5
  87. package/dist/chunks/{model-93zp451d.js → schema-9m5m65a4.js} +29 -29
  88. package/dist/chunks/schema-9sh4wc5j.js +18 -0
  89. package/dist/chunks/{model-9wev2pgg.js → schema-9wev2pgg.js} +1 -1
  90. package/dist/chunks/{model-3zsxkakk.js → schema-a2950d4b.js} +11 -11
  91. package/dist/chunks/{model-addxnjmp.js → schema-addxnjmp.js} +1 -1
  92. package/dist/chunks/{model-034tev2y.js → schema-aj7mw0zk.js} +2 -2
  93. package/dist/chunks/{model-fmn3naam.js → schema-ajmz7z9n.js} +2 -2
  94. package/dist/chunks/{model-0z7r50za.js → schema-ap73x2p1.js} +4 -4
  95. package/dist/chunks/{model-36kcv1n0.js → schema-apm2b389.js} +1 -1
  96. package/dist/chunks/{model-tx9w5tca.js → schema-aq5y8b9e.js} +8 -8
  97. package/dist/chunks/{model-7dcyjm60.js → schema-atz56vhv.js} +24 -24
  98. package/dist/chunks/{model-wbbr97jc.js → schema-atzyg80d.js} +55 -56
  99. package/dist/chunks/{model-b11a7tx7.js → schema-b11a7tx7.js} +1 -1
  100. package/dist/chunks/{model-ehpng7sz.js → schema-b1vpyjsr.js} +6 -6
  101. package/dist/chunks/{model-n5m4rk1f.js → schema-b7az7nzg.js} +5 -5
  102. package/dist/chunks/{model-2bmg2vc4.js → schema-b82aynba.js} +15 -15
  103. package/dist/chunks/{model-237rnmz7.js → schema-b8y1c3zn.js} +18 -18
  104. package/dist/chunks/{model-366hmgxs.js → schema-bb2erevm.js} +2 -2
  105. package/dist/chunks/{model-vgx6weyf.js → schema-be7qvw84.js} +8 -8
  106. package/dist/chunks/{model-5vd2fz1r.js → schema-bjx4q2dn.js} +42 -42
  107. package/dist/chunks/{model-9my2wv8a.js → schema-bkrhp30v.js} +4 -4
  108. package/dist/chunks/{model-zw72nhpe.js → schema-bmheq9zx.js} +34 -34
  109. package/dist/chunks/{model-nr3qt1qj.js → schema-bnbbr2d0.js} +36 -36
  110. package/dist/chunks/{model-ammk3pd4.js → schema-bnjeam3m.js} +11 -11
  111. package/dist/chunks/{model-f9qpw35r.js → schema-bswnba0x.js} +4 -4
  112. package/dist/chunks/{model-bzeyqsqd.js → schema-bzeyqsqd.js} +1 -1
  113. package/dist/chunks/{model-2sejkfem.js → schema-c765mh8b.js} +9 -9
  114. package/dist/chunks/{model-nxqbvwsg.js → schema-cbmrewd6.js} +21 -21
  115. package/dist/chunks/{model-vxhbzv6h.js → schema-cbywt2p6.js} +37 -37
  116. package/dist/chunks/{model-8sfj8fnn.js → schema-cjrse1k0.js} +15 -15
  117. package/dist/chunks/{model-z5c3cgws.js → schema-cm7rzrpy.js} +4 -4
  118. package/dist/chunks/{model-vchaqpjh.js → schema-cmp3rkz8.js} +28 -28
  119. package/dist/chunks/{model-nz56sr1f.js → schema-cr9hweqv.js} +4 -3
  120. package/dist/chunks/{model-n6v6dc4x.js → schema-cs5q1j33.js} +5 -5
  121. package/dist/chunks/{model-138x3wa4.js → schema-d3cjz2rg.js} +36 -36
  122. package/dist/chunks/{model-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  123. package/dist/chunks/{model-jx5cnddy.js → schema-dqj1x724.js} +18 -18
  124. package/dist/chunks/{model-xfkkasph.js → schema-drwq78ky.js} +4 -4
  125. package/dist/chunks/{model-rn6wqvas.js → schema-dta6adxg.js} +15 -15
  126. package/dist/chunks/{model-998yhzzq.js → schema-dvj9ct8m.js} +3 -3
  127. package/dist/chunks/{model-pxxsc0qj.js → schema-dzz2f3za.js} +27 -27
  128. package/dist/chunks/{model-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
  129. package/dist/chunks/{model-77enp1c1.js → schema-e6748pxh.js} +10 -10
  130. package/dist/chunks/{model-tde5hqcz.js → schema-ecz00bat.js} +13 -13
  131. package/dist/chunks/{model-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{model-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{model-4tp8et91.js → schema-eh1n47qm.js} +33 -40
  134. package/dist/chunks/{model-fcy631f0.js → schema-fcy631f0.js} +1 -1
  135. package/dist/chunks/{model-es4zr9pq.js → schema-few1k6py.js} +5 -5
  136. package/dist/chunks/{model-rb179d86.js → schema-ftrv57z3.js} +30 -30
  137. package/dist/chunks/{model-zhbn17yy.js → schema-fwd7f3n7.js} +41 -42
  138. package/dist/chunks/{model-j7m3jefb.js → schema-g6kecgse.js} +86 -86
  139. package/dist/chunks/{model-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{model-chj6c0n9.js → schema-gd5ks2q2.js} +30 -30
  141. package/dist/chunks/{model-hw24m6dt.js → schema-gegxtyrp.js} +10 -10
  142. package/dist/chunks/{model-my4zabxr.js → schema-grqp3cmb.js} +3 -3
  143. package/dist/chunks/{model-2ctfzdhd.js → schema-gt4kt70v.js} +19 -19
  144. package/dist/chunks/{model-wx0b07pw.js → schema-gtt9vv4e.js} +5 -5
  145. package/dist/chunks/{model-t9ax25ae.js → schema-gtz7nked.js} +24 -24
  146. package/dist/chunks/{model-sn8sfdg7.js → schema-gymq2tgt.js} +9 -9
  147. package/dist/chunks/{model-bm9kjebc.js → schema-h6r4200x.js} +14 -14
  148. package/dist/chunks/{model-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{model-2abxxfn3.js → schema-hba2d548.js} +23 -23
  150. package/dist/chunks/{model-tr5tmnty.js → schema-hfjg8gb5.js} +22 -30
  151. package/dist/chunks/{model-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{model-q34ypbna.js → schema-j8qhg9bw.js} +1 -1
  153. package/dist/chunks/{model-2z7chnet.js → schema-jfh9q8qf.js} +14 -14
  154. package/dist/chunks/{model-x4yng9z3.js → schema-jh9qevh8.js} +27 -30
  155. package/dist/chunks/{model-jwhwgpnp.js → schema-jn3svvm7.js} +15 -15
  156. package/dist/chunks/{model-d78ak1q6.js → schema-jpypjf72.js} +22 -22
  157. package/dist/chunks/{model-jgddfxwr.js → schema-k6kw0x3x.js} +13 -13
  158. package/dist/chunks/{model-0y6p8wpj.js → schema-k8naqxk9.js} +8 -8
  159. package/dist/chunks/{model-jmca7p9y.js → schema-kbwg7qyy.js} +28 -28
  160. package/dist/chunks/{model-04w2mvty.js → schema-kdnmkssn.js} +4 -4
  161. package/dist/chunks/{model-s6w3zs6m.js → schema-kgjy8mzn.js} +23 -23
  162. package/dist/chunks/{model-y7nndgyc.js → schema-kjd40bgk.js} +9 -9
  163. package/dist/chunks/{model-nsnt4z7f.js → schema-kjqvt6c0.js} +4 -4
  164. package/dist/chunks/{model-c4q7v4g7.js → schema-kjxerx4y.js} +145 -145
  165. package/dist/chunks/{model-k2a3w999.js → schema-kmvrn13k.js} +10 -10
  166. package/dist/chunks/{model-5td63qzk.js → schema-kn8ed5j7.js} +19 -19
  167. package/dist/chunks/{model-nw91k3fh.js → schema-knevfgda.js} +4 -4
  168. package/dist/chunks/{model-7ea6gyb7.js → schema-krb84gwz.js} +26 -26
  169. package/dist/chunks/{model-dgz1jfsn.js → schema-ks795mkk.js} +12 -12
  170. package/dist/chunks/{model-kwb1v3vj.js → schema-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{model-v9qp1ycg.js → schema-kxbkpg81.js} +27 -27
  172. package/dist/chunks/{model-jejz1x9w.js → schema-kxf3nz33.js} +9 -9
  173. package/dist/chunks/{model-03p31ykv.js → schema-m1rbdz0y.js} +14 -14
  174. package/dist/chunks/{model-nthdcap5.js → schema-m71k82xx.js} +10 -10
  175. package/dist/chunks/{model-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{model-maspj1v3.js → schema-maspj1v3.js} +1 -1
  177. package/dist/chunks/{model-z1r9xewk.js → schema-md39vkm3.js} +33 -37
  178. package/dist/chunks/{model-4q9fsd81.js → schema-mpd49xq9.js} +10 -10
  179. package/dist/chunks/{model-g4j5dqmm.js → schema-mt5v9ry9.js} +16 -16
  180. package/dist/chunks/{model-apng734m.js → schema-mych7xnr.js} +32 -32
  181. package/dist/chunks/{model-tx641jmv.js → schema-n2ew48d4.js} +32 -32
  182. package/dist/chunks/{model-whakkw5c.js → schema-n44fvqa5.js} +3 -3
  183. package/dist/chunks/{model-56jx3k9n.js → schema-nnsw46vg.js} +2 -2
  184. package/dist/chunks/{model-x9fa4xnb.js → schema-nxc81nce.js} +18 -18
  185. package/dist/chunks/{model-z44d18ne.js → schema-p33ckn3v.js} +9 -9
  186. package/dist/chunks/{model-2223rexw.js → schema-pgqyayq7.js} +13 -13
  187. package/dist/chunks/{model-0qcccqbx.js → schema-phdpwmhe.js} +12 -12
  188. package/dist/chunks/{model-br0tr5aq.js → schema-phstrbs2.js} +8 -8
  189. package/dist/chunks/{model-xtpp21nj.js → schema-phwvtd3y.js} +16 -16
  190. package/dist/chunks/{model-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{model-pknna89w.js → schema-pknna89w.js} +1 -1
  192. package/dist/chunks/{model-8ctdzpjq.js → schema-pp9nj0b2.js} +23 -23
  193. package/dist/chunks/{model-y0bjakjk.js → schema-prjrmqps.js} +50 -50
  194. package/dist/chunks/{model-1sb845w2.js → schema-q490b428.js} +26 -26
  195. package/dist/chunks/{model-rfnecwar.js → schema-q5eftdkn.js} +76 -76
  196. package/dist/chunks/{model-r3whvpya.js → schema-qb6nzafx.js} +2 -2
  197. package/dist/chunks/{model-ajxqx4ms.js → schema-qg6wj6c5.js} +22 -22
  198. package/dist/chunks/{model-hh9qf8x4.js → schema-qnk07h1p.js} +3 -3
  199. package/dist/chunks/{model-hdqa26x6.js → schema-qs4w04g8.js} +13 -13
  200. package/dist/chunks/{model-qsdy395h.js → schema-qsdy395h.js} +1 -1
  201. package/dist/chunks/{model-7yh6cecr.js → schema-qsr7754b.js} +32 -32
  202. package/dist/chunks/{model-p8ncetbn.js → schema-qvfnp1sk.js} +13 -13
  203. package/dist/chunks/{model-vtc2n9tc.js → schema-qymj231q.js} +2 -2
  204. package/dist/chunks/{model-w6zk8pbt.js → schema-r01t9b5y.js} +8 -8
  205. package/dist/chunks/{model-g3s5p3ce.js → schema-r0dp87ge.js} +26 -26
  206. package/dist/chunks/{model-f9k0h0ak.js → schema-r2kbwwh1.js} +6 -6
  207. package/dist/chunks/{model-jdjv7g0p.js → schema-r335j1fq.js} +26 -26
  208. package/dist/chunks/{model-pvj8mvr4.js → schema-r41txaew.js} +15 -15
  209. package/dist/chunks/{model-2trzfzeg.js → schema-r5wxxd2p.js} +48 -48
  210. package/dist/chunks/{model-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{model-mqqhst8y.js → schema-rkg4v3e5.js} +8 -8
  212. package/dist/chunks/{model-dm7d4a8z.js → schema-rxxgwrt9.js} +14 -14
  213. package/dist/chunks/{model-8sxctv71.js → schema-rztgzzkf.js} +26 -26
  214. package/dist/chunks/{model-3zbenxk9.js → schema-se052hy2.js} +3 -3
  215. package/dist/chunks/{model-seaswkff.js → schema-sf2p74k8.js} +24 -41
  216. package/dist/chunks/{model-81rrwaz0.js → schema-shrrr7kk.js} +10 -10
  217. package/dist/chunks/{model-4q4r5eys.js → schema-stbcvrcx.js} +20 -20
  218. package/dist/chunks/{model-sm9b1dk6.js → schema-sxswpjsy.js} +3 -3
  219. package/dist/chunks/{model-d216944b.js → schema-sxz6gkc3.js} +4 -4
  220. package/dist/chunks/{model-v8jfbz3g.js → schema-sxzvkvgj.js} +6 -6
  221. package/dist/chunks/{model-5qv5h1zk.js → schema-sy3r6n62.js} +32 -32
  222. package/dist/chunks/{model-6xw3seg4.js → schema-sykc9y4a.js} +5 -5
  223. package/dist/chunks/{model-syv4x271.js → schema-syv4x271.js} +1 -1
  224. package/dist/chunks/{model-z7yh2dxd.js → schema-t0jwwps0.js} +42 -44
  225. package/dist/chunks/{model-j18wnwp4.js → schema-t8w5j2tp.js} +12 -12
  226. package/dist/chunks/{model-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{model-bfyf7jfe.js → schema-tc11merm.js} +10 -10
  228. package/dist/chunks/{model-tdstcens.js → schema-tdstcens.js} +1 -1
  229. package/dist/chunks/{model-7e23ehrj.js → schema-thq5mtmm.js} +11 -11
  230. package/dist/chunks/{model-tpr917c7.js → schema-tmmkgp6g.js} +25 -25
  231. package/dist/chunks/{model-rpsmjfyf.js → schema-tnj6rg6w.js} +11 -11
  232. package/dist/chunks/{model-szszjrwy.js → schema-tp3t781r.js} +4 -4
  233. package/dist/chunks/{model-4h41swc2.js → schema-tqw72dge.js} +14 -17
  234. package/dist/chunks/{model-q25wacer.js → schema-tvcjbwgd.js} +14 -14
  235. package/dist/chunks/{model-tyytaxap.js → schema-tyytaxap.js} +1 -1
  236. package/dist/chunks/schema-v0yck56n.js +26 -0
  237. package/dist/chunks/{model-evw6zxwh.js → schema-v1d51sdw.js} +11 -11
  238. package/dist/chunks/{model-k5amtbxh.js → schema-v6gqda18.js} +13 -13
  239. package/dist/chunks/{model-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{model-7w2nkvmv.js → schema-v9ktrhzk.js} +14 -14
  241. package/dist/chunks/{model-np48z6yp.js → schema-vc0tgat8.js} +51 -51
  242. package/dist/chunks/{model-5g57z1ma.js → schema-vep9yay1.js} +4 -4
  243. package/dist/chunks/{model-veqvce7d.js → schema-veqvce7d.js} +1 -1
  244. package/dist/chunks/{model-b66zg7n1.js → schema-vnt3yn01.js} +22 -22
  245. package/dist/chunks/{model-ywm7vzgw.js → schema-vsgt0m8t.js} +6 -6
  246. package/dist/chunks/{model-9f3d5qaa.js → schema-vxqrmefd.js} +23 -23
  247. package/dist/chunks/{model-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{model-w1eejvng.js → schema-w1eejvng.js} +1 -1
  249. package/dist/chunks/{model-4bvsmycz.js → schema-w2bpkvh3.js} +11 -11
  250. package/dist/chunks/{model-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{model-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  252. package/dist/chunks/{model-1rh4yqvv.js → schema-wbt9zsn3.js} +9 -9
  253. package/dist/chunks/{model-wd87259q.js → schema-wd87259q.js} +1 -1
  254. package/dist/chunks/{model-wh6zw745.js → schema-wh6zw745.js} +2 -2
  255. package/dist/chunks/{model-y9b0tqk5.js → schema-wk0f6cnb.js} +7 -7
  256. package/dist/chunks/{model-n1xdyw2d.js → schema-wvyymv1h.js} +8 -8
  257. package/dist/chunks/{model-03ysqxec.js → schema-x13wf28v.js} +16 -16
  258. package/dist/chunks/{model-rmymfw9c.js → schema-x5by4g9q.js} +345 -345
  259. package/dist/chunks/{model-mcm8q642.js → schema-x9xt4rzp.js} +13 -13
  260. package/dist/chunks/{model-jz851vma.js → schema-xb2raker.js} +3 -3
  261. package/dist/chunks/{model-wzekn62n.js → schema-xqyrxmej.js} +17 -17
  262. package/dist/chunks/{model-662wmyj4.js → schema-xtxypabt.js} +12 -12
  263. package/dist/chunks/{model-twdpq1df.js → schema-xyd93zwz.js} +46 -46
  264. package/dist/chunks/{model-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{model-3swakehk.js → schema-y38m9zb5.js} +13 -13
  266. package/dist/chunks/{model-y56ehv6b.js → schema-y56ehv6b.js} +2 -2
  267. package/dist/chunks/{model-91vccmjy.js → schema-yc36fn85.js} +7 -7
  268. package/dist/chunks/{model-h9eg9w87.js → schema-ycefwdcs.js} +8 -8
  269. package/dist/chunks/{model-jxf1ya3g.js → schema-yds4b9yz.js} +43 -43
  270. package/dist/chunks/{model-60yc8kfz.js → schema-ygxsryh2.js} +38 -39
  271. package/dist/chunks/{model-xtqhbb9e.js → schema-ykw333za.js} +5 -5
  272. package/dist/chunks/{model-s5t6xt4x.js → schema-ys6xw3x7.js} +21 -21
  273. package/dist/chunks/{model-jpgepvgj.js → schema-ysbkpfh3.js} +16 -16
  274. package/dist/chunks/{model-6h8x4cfa.js → schema-ysy9ysqp.js} +61 -61
  275. package/dist/chunks/{model-ywt8jp22.js → schema-ywt8jp22.js} +2 -2
  276. package/dist/chunks/{model-tnq17713.js → schema-yxxhm6wn.js} +55 -81
  277. package/dist/chunks/{model-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-z18fegx4.js → schema-z18fegx4.js} +1 -1
  279. package/dist/chunks/{model-dv8ssvc2.js → schema-zctrycv6.js} +96 -96
  280. package/dist/chunks/{model-z6pj4dcy.js → schema-zdjfzqgx.js} +25 -25
  281. package/dist/chunks/{model-ehm8gabj.js → schema-zdvv5291.js} +2 -2
  282. package/dist/chunks/{model-hxvkjxz4.js → schema-zhpk82ba.js} +11 -11
  283. package/dist/chunks/{model-azfq4cq8.js → schema-zjznsnv6.js} +14 -14
  284. package/dist/chunks/{model-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{model-hx3e3ka9.js → schema-zv150g5a.js} +25 -25
  286. package/dist/chunks/{model-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{model-0szsamay.js → schema-zxxfwhgr.js} +13 -13
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +114 -114
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +81 -81
  323. package/dist/database/database.js +74 -74
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +81 -81
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -107
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -17
  428. package/dist/filesystem.js +106 -112
  429. package/dist/form.js +78 -78
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +99 -99
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +98 -98
  481. package/dist/models-dev.js +105 -105
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -90
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +117 -123
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +166 -166
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +223 -223
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +116 -116
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +118 -118
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +109 -109
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/filesystem/search.d.ts +4 -8
  659. package/dist/types/filesystem/watcher.d.ts +6 -49
  660. package/dist/types/filesystem.d.ts +11 -13
  661. package/dist/types/permission/saved.d.ts +14 -22
  662. package/dist/types/permission.d.ts +14 -39
  663. package/dist/util/error-summary.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +3 -3
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/mcp.js +2 -2
  673. package/dist/v1/config/migrate.js +94 -94
  674. package/dist/v1/config/permission.js +5 -5
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/variant.js +93 -93
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +91 -91
  681. package/dist/voice.js +90 -90
  682. package/dist/websearch.js +86 -86
  683. package/dist/wellknown/plugin.js +78 -78
  684. package/dist/wellknown.js +83 -83
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +80 -80
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +91 -91
  692. package/dist/worktree.js +102 -102
  693. package/package.json +8 -8
  694. package/dist/chunks/model-7fj5dwt0.js +0 -18
  695. package/dist/chunks/model-b8bsqqcp.js +0 -257
  696. package/dist/chunks/model-tgfdy5x8.js +0 -26
  697. /package/dist/chunks/{model-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{model-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{model-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{model-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{model-24dcb14g.js → schema-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{model-2710q6r3.js → schema-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{model-2bv980vf.js → schema-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{model-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{model-359p4xyc.js → schema-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{model-3asan66x.js → schema-3asan66x.js} +0 -0
  707. /package/dist/chunks/{model-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{model-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{model-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{model-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{model-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{model-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{model-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{model-53557ph1.js → schema-53557ph1.js} +0 -0
  715. /package/dist/chunks/{model-550bvhaj.js → schema-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{model-5fjb7ams.js → schema-5fjb7ams.js} +0 -0
  717. /package/dist/chunks/{model-6prwharc.js → schema-6prwharc.js} +0 -0
  718. /package/dist/chunks/{model-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{model-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{model-7m9af43g.js → schema-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{model-822emrt2.js → schema-822emrt2.js} +0 -0
  722. /package/dist/chunks/{model-84wd9syh.js → schema-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{model-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{model-8n3pysct.js → schema-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{model-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{model-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{model-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{model-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{model-af5trqkr.js → schema-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{model-afrmfg78.js → schema-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{model-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{model-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{model-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{model-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{model-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{model-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{model-d9fn303g.js → schema-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{model-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{model-dajrwvna.js → schema-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{model-dap0rakb.js → schema-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{model-df08tz66.js → schema-df08tz66.js} +0 -0
  742. /package/dist/chunks/{model-dy18nga0.js → schema-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{model-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-ec1grn59.js → schema-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-faypxj3z.js → schema-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-fd410y7t.js → schema-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{model-g86h250q.js → schema-g86h250q.js} +0 -0
  754. /package/dist/chunks/{model-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{model-gftt206x.js → schema-gftt206x.js} +0 -0
  756. /package/dist/chunks/{model-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{model-hk9envan.js → schema-hk9envan.js} +0 -0
  758. /package/dist/chunks/{model-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{model-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{model-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{model-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{model-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{model-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{model-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-m18g726c.js → schema-m18g726c.js} +0 -0
  766. /package/dist/chunks/{model-mp448xyj.js → schema-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-njntx4h6.js → schema-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{model-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{model-q74kybfr.js → schema-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{model-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{model-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{model-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{model-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{model-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{model-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{model-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{model-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{model-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{model-w803qqfp.js → schema-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{model-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{model-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{model-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{model-wtztk69x.js → schema-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{model-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{model-x61499pn.js → schema-x61499pn.js} +0 -0
  790. /package/dist/chunks/{model-y44na4kk.js → schema-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{model-y8f7s663.js → schema-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{model-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{model-ym463w8f.js → schema-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{model-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{model-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./model-7ea6gyb7.js";
3
+ } from "./schema-krb84gwz.js";
4
4
  import {
5
5
  ID14,
6
6
  MethodID2
7
- } from "./model-9f3d5qaa.js";
7
+ } from "./schema-vxqrmefd.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./model-pjvnvgmy.js";
11
+ } from "./schema-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./model-rdw6cm16.js";
3
+ } from "./schema-rdw6cm16.js";
4
4
  import {
5
- Service57
6
- } from "./model-78mjm5mv.js";
5
+ Service53
6
+ } from "./schema-044xr5hv.js";
7
7
  import {
8
8
  match2
9
- } from "./model-y1fvbwt7.js";
9
+ } from "./schema-y1fvbwt7.js";
10
10
  import {
11
- Service85,
11
+ Service15,
12
12
  statements2,
13
13
  decision2
14
- } from "./model-bfyf7jfe.js";
14
+ } from "./schema-tc11merm.js";
15
15
  import {
16
16
  observe2
17
- } from "./model-qsdy395h.js";
17
+ } from "./schema-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin33
26
+ Plugin: () => Plugin13
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin33 = define({
30
+ var Plugin13 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service57;
34
- const managed = yield* Service85;
33
+ const config = yield* Service53;
34
+ const managed = yield* Service15;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -76,4 +76,4 @@ var Plugin33 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin33, exports_policy };
79
+ export { Plugin13, exports_policy };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./model-tazgh4e4.js";
10
+ } from "./schema-tazgh4e4.js";
11
11
  import {
12
- Service80
13
- } from "./model-q25wacer.js";
12
+ Service82
13
+ } from "./schema-tvcjbwgd.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./model-7dcyjm60.js";
16
+ } from "./schema-atz56vhv.js";
17
17
  import {
18
18
  __export
19
- } from "./model-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin41,
24
+ Plugin: () => Plugin35,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin41 = define({
33
+ var Plugin35 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service80;
36
+ const location = yield* Service82;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin41, exports_hg };
201
+ export { Plugin35, exports_hg };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-xtpp21nj.js";
2
+ Service85,
3
+ node89
4
+ } from "./schema-phwvtd3y.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-rdw6cm16.js";
8
+ } from "./schema-rdw6cm16.js";
9
9
  import {
10
- Service80,
11
- node84
12
- } from "./model-q25wacer.js";
10
+ Service82,
11
+ node86
12
+ } from "./schema-tvcjbwgd.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service72,
20
- node76,
21
- Event17
22
- } from "./model-1sb845w2.js";
19
+ Service78,
20
+ node82,
21
+ Event16
22
+ } from "./schema-q490b428.js";
23
23
  import {
24
24
  __export
25
- } from "./model-9rqn6x4v.js";
25
+ } from "./schema-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
35
  ID: () => ID12,
36
36
  Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service71,
40
+ Service: () => Service77,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node75,
44
+ node: () => node81,
45
45
  parse: () => parse4,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,7 +49,7 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event16 } from "@opencode/schema/model";
52
+ import { Event as Event15 } from "@opencode/schema/model";
53
53
  var ID12 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
@@ -69,12 +69,12 @@ var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
70
  var Info21 = Model.Info;
71
71
 
72
- class Service71 extends Context.Service()("@opencode/Model") {
72
+ class Service77 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service71, Effect.gen(function* () {
75
- const providers = yield* Service72;
76
- const bus = yield* Service83;
77
- const location = yield* Service80;
74
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
75
+ const providers = yield* Service78;
76
+ const bus = yield* Service85;
77
+ const location = yield* Service82;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
79
79
  let input;
80
80
  const state = create3({
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
216
216
  location: { directory: location.directory, workspaceID: location.workspaceID }
217
217
  });
218
218
  });
219
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service71.of({
219
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
+ return Service77.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node87, node84] });
239
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [node82, node89, node86] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -268,4 +268,4 @@ function parse4(input) {
268
268
  };
269
269
  }
270
270
 
271
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service71, node75, supportsText2, compatibility2, parse4, exports_model2, Event16 };
271
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service77, node81, supportsText2, compatibility2, parse4, exports_model2, Event15 };
@@ -1,64 +1,64 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-m190hr7s.js";
2
+ Service86,
3
+ node90
4
+ } from "./schema-38a6f3y0.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service83,
8
- node87
9
- } from "./model-xtpp21nj.js";
7
+ Service85,
8
+ node89
9
+ } from "./schema-phwvtd3y.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./model-ec1grn59.js";
12
+ } from "./schema-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./model-gftt206x.js";
15
+ } from "./schema-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./model-nz56sr1f.js";
18
+ } from "./schema-cr9hweqv.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./model-z5v4ffb3.js";
22
+ } from "./schema-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./model-034tev2y.js";
25
+ } from "./schema-aj7mw0zk.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./model-998yhzzq.js";
30
+ } from "./schema-dvj9ct8m.js";
31
31
  import {
32
32
  apply2,
33
33
  initialize3,
34
34
  advanceEpoch2,
35
35
  rewind2
36
- } from "./model-szszjrwy.js";
36
+ } from "./schema-tp3t781r.js";
37
37
  import {
38
38
  decodeMessageRowSync2
39
- } from "./model-4h41swc2.js";
39
+ } from "./schema-tqw72dge.js";
40
40
  import {
41
41
  projectAdmitted2,
42
42
  projectDelivered2,
43
43
  projectCancelled2,
44
44
  projectDeliveryChanged2
45
- } from "./model-z1r9xewk.js";
45
+ } from "./schema-md39vkm3.js";
46
46
  import {
47
47
  initialize2
48
- } from "./model-3swakehk.js";
48
+ } from "./schema-y38m9zb5.js";
49
49
  import {
50
50
  Slug2
51
- } from "./model-gebd4c9n.js";
51
+ } from "./schema-gebd4c9n.js";
52
52
  import {
53
53
  __export
54
- } from "./model-9rqn6x4v.js";
54
+ } from "./schema-9rqn6x4v.js";
55
55
 
56
56
  // src/session/projector.ts
57
57
  var exports_projector = {};
58
58
  __export(exports_projector, {
59
59
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
60
60
  SessionProjector: () => exports_projector,
61
- node: () => node32
61
+ node: () => node26
62
62
  });
63
63
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
64
64
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -174,9 +174,9 @@ var projectFork = Effect.fn("SessionProjector.projectFork")(function* (db, event
174
174
  data: row.data
175
175
  };
176
176
  const keepID = row.type === "compaction" ? row.data.metadata?.keepID : undefined;
177
- if (typeof keepID !== "string")
177
+ if (!Schema.is(SessionMessage2.ID)(keepID))
178
178
  return copy;
179
- const kept = yield* db.select({ seq: SessionMessageTable2.seq }).from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, event.data.parentID), eq(SessionMessageTable2.id, SessionMessage2.ID.make(keepID)))).get().pipe(Effect.orDie);
179
+ const kept = yield* db.select({ seq: SessionMessageTable2.seq }).from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, event.data.parentID), eq(SessionMessageTable2.id, keepID))).get().pipe(Effect.orDie);
180
180
  if (!kept)
181
181
  return copy;
182
182
  return {
@@ -293,8 +293,8 @@ function projectIdle(db, event) {
293
293
  });
294
294
  }
295
295
  var layer = Layer.effectDiscard(Effect.gen(function* () {
296
- const bus = yield* Service83;
297
- const db = (yield* Service84).db;
296
+ const bus = yield* Service85;
297
+ const db = (yield* Service86).db;
298
298
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
299
299
  const stored = yield* db.insert(SessionTable2).values({
300
300
  id: event.data.sessionID,
@@ -483,6 +483,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
483
483
  return publishSessionUsage(db, bus, event.data.sessionID);
484
484
  }), Effect.forkScoped({ startImmediately: true }));
485
485
  }));
486
- var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
486
+ var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
487
487
 
488
- export { SessionAlreadyProjected2, node32, exports_projector };
488
+ export { SessionAlreadyProjected2, node26, exports_projector };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./model-775gj3j1.js";
3
+ } from "./schema-775gj3j1.js";
4
4
  import {
5
5
  ID14,
6
- Service73,
7
- node77
8
- } from "./model-9f3d5qaa.js";
6
+ Service79,
7
+ node83
8
+ } from "./schema-vxqrmefd.js";
9
9
  import {
10
10
  __export
11
- } from "./model-9rqn6x4v.js";
11
+ } from "./schema-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service22,
18
- UnavailableError: () => UnavailableError4,
17
+ Service: () => Service13,
18
+ UnavailableError: () => UnavailableError2,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer12,
21
- node: () => node25
20
+ layer: () => layer9,
21
+ node: () => node15
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,17 +31,17 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service22 extends Context.Service()("@opencode/Voice") {
40
+ class Service13 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer12 = Layer.effect(Service22, Effect.gen(function* () {
42
+ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service73;
44
+ const integrations = yield* Service79;
45
45
  let hosted;
46
46
  const findConnection = (provider) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
47
47
  const models = Effect.fn("Voice.models")(function* () {
@@ -70,13 +70,13 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
70
70
  if (hosted?.models.includes(input.model))
71
71
  return yield* hosted.session(input);
72
72
  const connection = yield* findConnection(engine.provider);
73
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
73
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
74
74
  if (credential?.type !== "key")
75
- return yield* new UnavailableError4({
75
+ return yield* new UnavailableError2({
76
76
  service: engine.provider,
77
77
  message: missingKeyMessage[engine.provider]
78
78
  });
79
- const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
79
+ const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
80
80
  return { transport };
81
81
  });
82
82
  const instruct = Effect.fn("Voice.instruct")(function* (input) {
@@ -84,7 +84,7 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
84
84
  return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
85
85
  return yield* hosted.instruct(input);
86
86
  });
87
- return Service22.of({
87
+ return Service13.of({
88
88
  models,
89
89
  session,
90
90
  instruct,
@@ -93,10 +93,10 @@ var layer12 = Layer.effect(Service22, Effect.gen(function* () {
93
93
  })
94
94
  });
95
95
  }));
96
- var node25 = makeLocationNode({
97
- service: Service22,
98
- layer: layer12,
99
- deps: [node77, requestExecutor2]
96
+ var node15 = makeLocationNode({
97
+ service: Service13,
98
+ layer: layer9,
99
+ deps: [node83, requestExecutor2]
100
100
  });
101
101
  var missingKeyMessage = {
102
102
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -104,4 +104,4 @@ var missingKeyMessage = {
104
104
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
105
105
  };
106
106
 
107
- export { InvalidRequestError2, UnavailableError4, Service22, layer12, node25, exports_voice };
107
+ export { InvalidRequestError2, UnavailableError2, Service13, layer9, node15, exports_voice };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer8,
9
+ layer: () => layer7,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer8, exports_unavailable };
22
+ export { spawner2, layer7, exports_unavailable };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./model-emrn6kk6.js";
3
+ } from "./schema-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./model-y9b0tqk5.js";
6
+ } from "./schema-wk0f6cnb.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./model-r71c6ngf.js";
9
+ } from "./schema-4w411070.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./model-zkvdcdcs.js";
3
+ } from "./schema-7n76hb68.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-qfa1cgps.js";
3
+ } from "./schema-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./model-034tev2y.js";
6
+ } from "./schema-aj7mw0zk.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-hgz4x7wa.js";
3
+ } from "./schema-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-z5v4ffb3.js";
6
+ } from "./schema-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./model-q25wacer.js";
8
+ Service82
9
+ } from "./schema-tvcjbwgd.js";
10
10
  import {
11
- Service63
12
- } from "./model-t9ax25ae.js";
11
+ Service68
12
+ } from "./schema-gtz7nked.js";
13
13
  import {
14
- Service62
15
- } from "./model-237rnmz7.js";
14
+ Service67
15
+ } from "./schema-b8y1c3zn.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-45nvas02.js";
21
+ } from "./schema-9fp5cy9e.js";
22
22
  import {
23
- Service65
24
- } from "./model-tnq17713.js";
23
+ Service48
24
+ } from "./schema-yxxhm6wn.js";
25
25
  import {
26
- Service14
27
- } from "./model-gx5mqccr.js";
26
+ Service17
27
+ } from "./schema-4w9ygdqj.js";
28
28
  import {
29
29
  __export
30
- } from "./model-9rqn6x4v.js";
30
+ } from "./schema-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input5,
37
- Output: () => Output3,
38
- Plugin: () => Plugin5,
39
- name: () => name5,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input10,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin29,
39
+ name: () => name10,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name5 = "glob";
46
- var Input5 = Schema.Struct({
45
+ var name10 = "glob";
46
+ var Input10 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin5 = {
66
+ var Plugin29 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service63;
70
- const ripgrep = yield* Service62;
71
- const location = yield* Service80;
72
- const access = yield* Service14;
73
- const permission = yield* Service65;
69
+ const environment = yield* Service68;
70
+ const ripgrep = yield* Service67;
71
+ const location = yield* Service82;
72
+ const access = yield* Service17;
73
+ const permission = yield* Service48;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name5,
75
+ name: name10,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input5,
79
- output: Output3,
78
+ input: Input10,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name5,
86
+ action: name10,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin5 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name5, Input5, Output3, toModelContent3, Plugin5, exports_glob };
128
+ export { name10, Input10, Output6, toModelContent4, Plugin29, exports_glob };