@opencode/core 0.0.0-dev-21709 → 0.0.0-dev-21730

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{file-mutation-fv8tw6aa.js → model-resolver-01t4jxfe.js} +4 -4
  8. package/dist/chunks/{file-mutation-034tev2y.js → model-resolver-034tev2y.js} +2 -2
  9. package/dist/chunks/{file-mutation-9z3zqrcq.js → model-resolver-042my71g.js} +18 -18
  10. package/dist/chunks/{file-mutation-z2a3rv7v.js → model-resolver-0b0dvc3v.js} +11 -11
  11. package/dist/chunks/{file-mutation-1k8pspw3.js → model-resolver-0d85nndc.js} +35 -35
  12. package/dist/chunks/{file-mutation-997dsrmm.js → model-resolver-0gka690g.js} +4 -4
  13. package/dist/chunks/{file-mutation-jfqpy2va.js → model-resolver-0h5mky2z.js} +24 -24
  14. package/dist/chunks/{file-mutation-n5h7v18c.js → model-resolver-0trvysgd.js} +5 -5
  15. package/dist/chunks/{file-mutation-ganf5qds.js → model-resolver-14enk98j.js} +28 -28
  16. package/dist/chunks/{file-mutation-3n1ze0gv.js → model-resolver-17r7g020.js} +36 -36
  17. package/dist/chunks/{file-mutation-7rp33d8t.js → model-resolver-186bq886.js} +16 -16
  18. package/dist/chunks/{file-mutation-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{file-mutation-bfp67d1e.js → model-resolver-1qsx4797.js} +9 -9
  20. package/dist/chunks/{file-mutation-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{file-mutation-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
  22. package/dist/chunks/{file-mutation-29kdrth0.js → model-resolver-249p08pd.js} +6 -6
  23. package/dist/chunks/{file-mutation-g113tq3g.js → model-resolver-256dg9vb.js} +4 -4
  24. package/dist/chunks/model-resolver-267g1ppg.js +257 -0
  25. package/dist/chunks/{file-mutation-mgvc1gk7.js → model-resolver-26zk5kqv.js} +14 -14
  26. package/dist/chunks/{file-mutation-b8wpdthk.js → model-resolver-288p6brk.js} +21 -21
  27. package/dist/chunks/{file-mutation-kd4chd64.js → model-resolver-2kj7f5bg.js} +4 -4
  28. package/dist/chunks/{file-mutation-3g9qcz5y.js → model-resolver-2n1v95fn.js} +11 -11
  29. package/dist/chunks/{file-mutation-ew73g2zp.js → model-resolver-2ny6xyme.js} +4 -4
  30. package/dist/chunks/{file-mutation-ejx5chcx.js → model-resolver-2yxcna2e.js} +33 -33
  31. package/dist/chunks/{file-mutation-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
  32. package/dist/chunks/{file-mutation-hsb38h3t.js → model-resolver-2zpzp2bh.js} +25 -25
  33. package/dist/chunks/{file-mutation-xs3xca8c.js → model-resolver-3dy2brb4.js} +20 -20
  34. package/dist/chunks/{file-mutation-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-mutation-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{file-mutation-1qgwrgfd.js → model-resolver-4dmmmd7w.js} +18 -18
  37. package/dist/chunks/{file-mutation-2y6rfkwc.js → model-resolver-4rgde0gy.js} +9 -9
  38. package/dist/chunks/{file-mutation-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  39. package/dist/chunks/{file-mutation-rf80fxgj.js → model-resolver-4v4bfvma.js} +5 -5
  40. package/dist/chunks/{file-mutation-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
  41. package/dist/chunks/{file-mutation-03cjnd07.js → model-resolver-52rn342d.js} +32 -32
  42. package/dist/chunks/{file-mutation-e28v8y2t.js → model-resolver-55w0c6dm.js} +31 -31
  43. package/dist/chunks/{file-mutation-nmmvaykg.js → model-resolver-57a19r08.js} +24 -24
  44. package/dist/chunks/{file-mutation-ts7thg7k.js → model-resolver-58t9v70a.js} +43 -43
  45. package/dist/chunks/{file-mutation-gkq9xxxw.js → model-resolver-59x0c00c.js} +36 -36
  46. package/dist/chunks/{file-mutation-h65mpfhc.js → model-resolver-5c5bthfb.js} +43 -43
  47. package/dist/chunks/{file-mutation-w2eysc6j.js → model-resolver-5enarcya.js} +6 -6
  48. package/dist/chunks/{file-mutation-2c4qk5dm.js → model-resolver-5jkzvvxq.js} +18 -18
  49. package/dist/chunks/{file-mutation-y456hjcf.js → model-resolver-5k8yxqxr.js} +36 -36
  50. package/dist/chunks/{file-mutation-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{file-mutation-kd8e7gdr.js → model-resolver-5p1zsrt3.js} +1 -1
  52. package/dist/chunks/{file-mutation-yz63e4xv.js → model-resolver-5zryechk.js} +2 -2
  53. package/dist/chunks/{file-mutation-f2rre9xz.js → model-resolver-65shdcb9.js} +10 -10
  54. package/dist/chunks/{file-mutation-0zc3gznn.js → model-resolver-69ea4gs9.js} +24 -24
  55. package/dist/chunks/{file-mutation-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  56. package/dist/chunks/{file-mutation-eqzqqxkz.js → model-resolver-6f6tsj36.js} +17 -17
  57. package/dist/chunks/{file-mutation-k4x8dxyy.js → model-resolver-6gn7yv20.js} +7 -7
  58. package/dist/chunks/{file-mutation-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
  59. package/dist/chunks/{file-mutation-egmw08v6.js → model-resolver-6wq3ehfr.js} +5 -5
  60. package/dist/chunks/{file-mutation-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
  61. package/dist/chunks/{file-mutation-5vmh6pxt.js → model-resolver-7859jp66.js} +28 -28
  62. package/dist/chunks/{file-mutation-0421tmwc.js → model-resolver-799ckdtf.js} +9 -9
  63. package/dist/chunks/{file-mutation-zgmrepvs.js → model-resolver-7ag3s6hb.js} +4 -4
  64. package/dist/chunks/{file-mutation-dm5qwjy7.js → model-resolver-7agbanmz.js} +20 -20
  65. package/dist/chunks/{file-mutation-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{file-mutation-ay6kp039.js → model-resolver-7g125bra.js} +4 -4
  67. package/dist/chunks/{file-mutation-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  68. package/dist/chunks/{file-mutation-kf6qbgb5.js → model-resolver-83rat119.js} +3 -3
  69. package/dist/chunks/{file-mutation-d5w8jy03.js → model-resolver-8bkscwtx.js} +14 -14
  70. package/dist/chunks/{file-mutation-h406p1d4.js → model-resolver-8gxpx3mz.js} +18 -18
  71. package/dist/chunks/{file-mutation-8jztxfpf.js → model-resolver-8jztxfpf.js} +1 -1
  72. package/dist/chunks/{file-mutation-y9xrhqjb.js → model-resolver-8mjwfqkh.js} +8 -8
  73. package/dist/chunks/{file-mutation-v6x8rhc3.js → model-resolver-8na9xnnb.js} +3 -3
  74. package/dist/chunks/{file-mutation-e8zbksk4.js → model-resolver-8nhp9y4m.js} +4 -4
  75. package/dist/chunks/{file-mutation-rz9csvhz.js → model-resolver-8njhevex.js} +11 -11
  76. package/dist/chunks/{file-mutation-ejryywa8.js → model-resolver-8rdd1j7g.js} +43 -43
  77. package/dist/chunks/{file-mutation-j110d6ac.js → model-resolver-8sttbfsr.js} +11 -11
  78. package/dist/chunks/{file-mutation-6pe7vn7p.js → model-resolver-8thk20xz.js} +13 -13
  79. package/dist/chunks/{file-mutation-m14375f6.js → model-resolver-8vhkf3wd.js} +21 -21
  80. package/dist/chunks/{file-mutation-n6v2b7cw.js → model-resolver-8wc2fpae.js} +5 -5
  81. package/dist/chunks/{file-mutation-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{file-mutation-40jy4byv.js → model-resolver-917s922w.js} +21 -21
  83. package/dist/chunks/{file-mutation-91rj84md.js → model-resolver-91rj84md.js} +1 -1
  84. package/dist/chunks/{file-mutation-5rv30s6t.js → model-resolver-95jjqqz3.js} +81 -81
  85. package/dist/chunks/{file-mutation-998yhzzq.js → model-resolver-998yhzzq.js} +3 -3
  86. package/dist/chunks/{file-mutation-416sv9a0.js → model-resolver-9bgp8a97.js} +13 -13
  87. package/dist/chunks/{file-mutation-q1xw7kgx.js → model-resolver-9chjwwnc.js} +4 -4
  88. package/dist/chunks/{file-mutation-dg69zav8.js → model-resolver-9d19w6f1.js} +15 -15
  89. package/dist/chunks/{file-mutation-atxt4sm9.js → model-resolver-9d64739r.js} +8 -8
  90. package/dist/chunks/{file-mutation-c2b1zq20.js → model-resolver-9e09nyr2.js} +32 -32
  91. package/dist/chunks/{file-mutation-3w6s660c.js → model-resolver-9ej1024d.js} +18 -18
  92. package/dist/chunks/{file-mutation-we6venq8.js → model-resolver-9epsjbby.js} +8 -8
  93. package/dist/chunks/{file-mutation-1daas5y7.js → model-resolver-9jh4j41s.js} +66 -66
  94. package/dist/chunks/{file-mutation-hvh7vr4z.js → model-resolver-9rqahw18.js} +5 -5
  95. package/dist/chunks/{file-mutation-gh9nzn29.js → model-resolver-9rrv4vns.js} +22 -22
  96. package/dist/chunks/{file-mutation-czxr0pk5.js → model-resolver-a05vx38g.js} +45 -45
  97. package/dist/chunks/{file-mutation-3405mbpt.js → model-resolver-amjb1f6j.js} +18 -18
  98. package/dist/chunks/{file-mutation-cfbwa52m.js → model-resolver-avkwaw75.js} +9 -9
  99. package/dist/chunks/{file-mutation-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{file-mutation-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
  101. package/dist/chunks/{file-mutation-c9t2ty9q.js → model-resolver-b1pn0vxn.js} +4 -4
  102. package/dist/chunks/{file-mutation-n0cek02z.js → model-resolver-b2zdt2y6.js} +5 -5
  103. package/dist/chunks/{file-mutation-04ppth10.js → model-resolver-b5h3d3b4.js} +17 -17
  104. package/dist/chunks/{file-mutation-ctagr9g7.js → model-resolver-b5sgdy3n.js} +7 -7
  105. package/dist/chunks/{file-mutation-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  106. package/dist/chunks/{file-mutation-06ddj0xt.js → model-resolver-bjzh04bx.js} +16 -16
  107. package/dist/chunks/{file-mutation-4kxjpvmm.js → model-resolver-bm6kf062.js} +27 -27
  108. package/dist/chunks/{file-mutation-acjz1v7j.js → model-resolver-bn231r82.js} +11 -11
  109. package/dist/chunks/{file-mutation-r2m1wrpm.js → model-resolver-bp5sb8yv.js} +17 -17
  110. package/dist/chunks/{file-mutation-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  111. package/dist/chunks/{file-mutation-00zh2tpm.js → model-resolver-c4vfmmrn.js} +8 -8
  112. package/dist/chunks/{file-mutation-gx0r2313.js → model-resolver-cabw4y3p.js} +3 -3
  113. package/dist/chunks/{file-mutation-hr21agsb.js → model-resolver-cb2t80kt.js} +84 -84
  114. package/dist/chunks/{file-mutation-zhv6stc2.js → model-resolver-cgdq2tez.js} +4 -4
  115. package/dist/chunks/{file-mutation-2jmbxqq8.js → model-resolver-d4fqamkg.js} +16 -16
  116. package/dist/chunks/{file-mutation-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  117. package/dist/chunks/{file-mutation-2cvbz1q2.js → model-resolver-d7kh2pfg.js} +17 -17
  118. package/dist/chunks/{file-mutation-nz1awqkw.js → model-resolver-d910c31a.js} +35 -35
  119. package/dist/chunks/{file-mutation-w7ceskr2.js → model-resolver-de152cyr.js} +13 -13
  120. package/dist/chunks/{file-mutation-jx89vj1k.js → model-resolver-dh62xe4r.js} +3 -3
  121. package/dist/chunks/{file-mutation-m6yx9010.js → model-resolver-dh9mz5xr.js} +11 -11
  122. package/dist/chunks/{file-mutation-jwswcnbf.js → model-resolver-dphsmz0w.js} +20 -20
  123. package/dist/chunks/{file-mutation-bjhhq9t1.js → model-resolver-dt9gh0d3.js} +13 -13
  124. package/dist/chunks/{file-mutation-kb3vw7p8.js → model-resolver-dw589k72.js} +24 -24
  125. package/dist/chunks/{file-mutation-cw4h5047.js → model-resolver-e12mrd8m.js} +41 -41
  126. package/dist/chunks/{file-mutation-e1nbxf8q.js → model-resolver-e1b6vpy5.js} +14 -14
  127. package/dist/chunks/{file-mutation-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{file-mutation-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  129. package/dist/chunks/{file-mutation-rehp1ca5.js → model-resolver-e893v5n6.js} +21 -21
  130. package/dist/chunks/{file-mutation-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{file-mutation-d8c7zwkj.js → model-resolver-eff1wqft.js} +24 -24
  132. package/dist/chunks/{file-mutation-7r2864x8.js → model-resolver-egspkehf.js} +10 -10
  133. package/dist/chunks/{file-mutation-kz13mb51.js → model-resolver-ehjrwymt.js} +24 -24
  134. package/dist/chunks/{file-mutation-kvd7rme4.js → model-resolver-ejnxmkmt.js} +2 -2
  135. package/dist/chunks/{file-mutation-7w4z2a19.js → model-resolver-ethxtnrp.js} +54 -54
  136. package/dist/chunks/{file-mutation-51wwr1cb.js → model-resolver-ev24k3w5.js} +7 -7
  137. package/dist/chunks/{file-mutation-2v6yzfrh.js → model-resolver-ew2d9bn2.js} +26 -26
  138. package/dist/chunks/{file-mutation-gzr767ae.js → model-resolver-f2kkq0wr.js} +45 -45
  139. package/dist/chunks/{file-mutation-9s6n3p5d.js → model-resolver-f5xnbmcd.js} +50 -50
  140. package/dist/chunks/{file-mutation-f535s2sq.js → model-resolver-f6r0dzq4.js} +15 -15
  141. package/dist/chunks/{file-mutation-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{file-mutation-k9kmnnb3.js → model-resolver-fgr7hd3e.js} +12 -12
  143. package/dist/chunks/{file-mutation-zhbs0pmw.js → model-resolver-fj95ckg7.js} +35 -35
  144. package/dist/chunks/{file-mutation-bpzpc9vw.js → model-resolver-fvp60fwe.js} +5 -5
  145. package/dist/chunks/{file-mutation-kkh6p5hg.js → model-resolver-fw6eeex0.js} +4 -4
  146. package/dist/chunks/{file-mutation-0h8y3ex8.js → model-resolver-fznmdakp.js} +4 -4
  147. package/dist/chunks/{file-mutation-c5kjsz6q.js → model-resolver-g42b6ca9.js} +4 -4
  148. package/dist/chunks/{file-mutation-6b8h7563.js → model-resolver-g4n4wp2d.js} +5 -5
  149. package/dist/chunks/{file-mutation-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{file-mutation-5jn2rvwm.js → model-resolver-g80tn5h1.js} +19 -19
  151. package/dist/chunks/{file-mutation-0jy8s6kx.js → model-resolver-gnqfcwar.js} +18 -18
  152. package/dist/chunks/{file-mutation-mz1zez7g.js → model-resolver-h1abq7en.js} +49 -49
  153. package/dist/chunks/{file-mutation-vaqsjg05.js → model-resolver-h97v9g1b.js} +3 -3
  154. package/dist/chunks/{file-mutation-dkkf5xq4.js → model-resolver-hdcqmdk3.js} +24 -24
  155. package/dist/chunks/{file-mutation-bn1zwxk7.js → model-resolver-hv07rj1n.js} +11 -11
  156. package/dist/chunks/{file-mutation-5ahehfm9.js → model-resolver-j0b81h47.js} +17 -17
  157. package/dist/chunks/{file-mutation-j113cymg.js → model-resolver-j113cymg.js} +1 -1
  158. package/dist/chunks/{file-mutation-713f9fkw.js → model-resolver-j1y01s4s.js} +188 -188
  159. package/dist/chunks/{file-mutation-293dk3rs.js → model-resolver-j440n9b6.js} +19 -19
  160. package/dist/chunks/{file-mutation-nad4mkqt.js → model-resolver-j77g158z.js} +8 -8
  161. package/dist/chunks/{file-mutation-n0n6a7ps.js → model-resolver-j7kazd1q.js} +6 -6
  162. package/dist/chunks/{file-mutation-qpxdw9gm.js → model-resolver-j8wtckwx.js} +8 -8
  163. package/dist/chunks/{file-mutation-rt0txz63.js → model-resolver-jcqm84fr.js} +8 -8
  164. package/dist/chunks/{file-mutation-0z1e74sk.js → model-resolver-jfavpyep.js} +11 -11
  165. package/dist/chunks/{file-mutation-27bs79w9.js → model-resolver-jhtz5kdf.js} +2 -2
  166. package/dist/chunks/{file-mutation-jneg3k74.js → model-resolver-jneg3k74.js} +1 -1
  167. package/dist/chunks/{file-mutation-zmk1cqnw.js → model-resolver-jwrjw8tj.js} +40 -40
  168. package/dist/chunks/{file-mutation-ph89xtmw.js → model-resolver-jzrjgn5s.js} +33 -33
  169. package/dist/chunks/{file-mutation-psvnc0zj.js → model-resolver-k0ykqcdp.js} +26 -26
  170. package/dist/chunks/{file-mutation-mfd21a06.js → model-resolver-k352a69z.js} +4 -4
  171. package/dist/chunks/{file-mutation-m6r2ag02.js → model-resolver-k7hnktg1.js} +5 -5
  172. package/dist/chunks/{file-mutation-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  173. package/dist/chunks/{file-mutation-f10m4awg.js → model-resolver-kc3bzs90.js} +3 -3
  174. package/dist/chunks/{file-mutation-hrwtt92m.js → model-resolver-kf7rszbb.js} +32 -32
  175. package/dist/chunks/{file-mutation-s4rs4ktr.js → model-resolver-kfwqqrwd.js} +28 -28
  176. package/dist/chunks/{file-mutation-h931zhe2.js → model-resolver-knfnv5xd.js} +47 -47
  177. package/dist/chunks/{file-mutation-bd3818sh.js → model-resolver-kntpyapc.js} +4 -4
  178. package/dist/chunks/{file-mutation-jcapkbe6.js → model-resolver-kqw486ce.js} +4 -4
  179. package/dist/chunks/{file-mutation-dz55c0zm.js → model-resolver-kw1hde90.js} +8 -8
  180. package/dist/chunks/{file-mutation-0fn7fmmf.js → model-resolver-kxeaxsag.js} +11 -11
  181. package/dist/chunks/{file-mutation-m1714858.js → model-resolver-m1714858.js} +1 -1
  182. package/dist/chunks/{file-mutation-gy8yxpp1.js → model-resolver-m8jzyt6a.js} +6 -6
  183. package/dist/chunks/{file-mutation-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{file-mutation-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  185. package/dist/chunks/{file-mutation-kaen2cat.js → model-resolver-mbb71zxb.js} +23 -23
  186. package/dist/chunks/{file-mutation-j144xwzw.js → model-resolver-md2ky9q0.js} +9 -9
  187. package/dist/chunks/model-resolver-me0dhgxs.js +18 -0
  188. package/dist/chunks/{file-mutation-d2dx6a7h.js → model-resolver-mmx1mfjr.js} +9 -9
  189. package/dist/chunks/{file-mutation-rvw14dk0.js → model-resolver-mwk65ptt.js} +29 -29
  190. package/dist/chunks/{file-mutation-n0p0277s.js → model-resolver-n0p0277s.js} +1 -1
  191. package/dist/chunks/{file-mutation-yk7z3cd9.js → model-resolver-n3hhze48.js} +19 -19
  192. package/dist/chunks/{file-mutation-5q3wnkda.js → model-resolver-n48tsgyy.js} +9 -9
  193. package/dist/chunks/{file-mutation-p47da6wh.js → model-resolver-n527a7dv.js} +23 -23
  194. package/dist/chunks/{file-mutation-yy2s616e.js → model-resolver-n65a2gzt.js} +10 -10
  195. package/dist/chunks/{file-mutation-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  196. package/dist/chunks/{file-mutation-pr21x5ks.js → model-resolver-ng64mz8r.js} +30 -30
  197. package/dist/chunks/{file-mutation-xmjq5dsw.js → model-resolver-njnmff7p.js} +18 -18
  198. package/dist/chunks/{file-mutation-6tkfv6vy.js → model-resolver-nt5q7dy9.js} +19 -19
  199. package/dist/chunks/{file-mutation-vm0wcjea.js → model-resolver-nzf6z8jh.js} +10 -10
  200. package/dist/chunks/{file-mutation-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  201. package/dist/chunks/{file-mutation-fvc4bqe2.js → model-resolver-pacbbjc0.js} +5 -5
  202. package/dist/chunks/{file-mutation-3f3erb08.js → model-resolver-pfght9z5.js} +8 -8
  203. package/dist/chunks/{file-mutation-rt3jy22f.js → model-resolver-pfjg1qnb.js} +21 -21
  204. package/dist/chunks/{file-mutation-dr3mewcq.js → model-resolver-pgt2b3dq.js} +15 -15
  205. package/dist/chunks/{file-mutation-hbkf0bb7.js → model-resolver-pj41ajb0.js} +3 -3
  206. package/dist/chunks/{file-mutation-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-mutation-qgk279fs.js → model-resolver-pve0p3g2.js} +35 -35
  208. package/dist/chunks/{file-mutation-p7bm53gt.js → model-resolver-q8rzw8xh.js} +10 -10
  209. package/dist/chunks/{file-mutation-tn2pqadg.js → model-resolver-qcchxstm.js} +16 -16
  210. package/dist/chunks/{file-mutation-537zfnwd.js → model-resolver-qfjcwetg.js} +12 -12
  211. package/dist/chunks/{file-mutation-z11v4z0j.js → model-resolver-qpj4fywd.js} +20 -20
  212. package/dist/chunks/model-resolver-qyndfgfp.js +523 -0
  213. package/dist/chunks/{file-mutation-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{file-mutation-ajmrn4wa.js → model-resolver-r28byzty.js} +32 -32
  215. package/dist/chunks/{file-mutation-57k3rf66.js → model-resolver-r3hept05.js} +17 -17
  216. package/dist/chunks/{file-mutation-c3kxzd3k.js → model-resolver-r73hsa18.js} +21 -21
  217. package/dist/chunks/{file-mutation-t9e9esc1.js → model-resolver-r7qkw0sp.js} +12 -12
  218. package/dist/chunks/{file-mutation-d8qd4w10.js → model-resolver-r7xar5ns.js} +11 -11
  219. package/dist/chunks/{file-mutation-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{file-mutation-4qeetvzp.js → model-resolver-rcgvv2s7.js} +13 -13
  221. package/dist/chunks/{file-mutation-1eaqqsxz.js → model-resolver-rsmyvrz3.js} +29 -29
  222. package/dist/chunks/{file-mutation-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{file-mutation-0t3ga4zv.js → model-resolver-s0t4rwnt.js} +11 -11
  224. package/dist/chunks/{file-mutation-rrad2nt9.js → model-resolver-s626qfae.js} +4 -4
  225. package/dist/chunks/{file-mutation-s7112yyh.js → model-resolver-s6zqpwam.js} +21 -21
  226. package/dist/chunks/{file-mutation-q8ks7c1m.js → model-resolver-sn02bkrk.js} +19 -19
  227. package/dist/chunks/{file-mutation-kp4a0nkj.js → model-resolver-snpgexks.js} +48 -48
  228. package/dist/chunks/{file-mutation-r0zz2cdc.js → model-resolver-snwj5w21.js} +1 -1
  229. package/dist/chunks/{file-mutation-vxnb1daw.js → model-resolver-spep79sh.js} +28 -28
  230. package/dist/chunks/{file-mutation-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{file-mutation-2qv8esx8.js → model-resolver-sshe6cnz.js} +24 -24
  232. package/dist/chunks/{file-mutation-3jt9gp25.js → model-resolver-t7x5nw9y.js} +22 -22
  233. package/dist/chunks/{file-mutation-cg703a76.js → model-resolver-t9qyj45c.js} +14 -14
  234. package/dist/chunks/{file-mutation-3y39jmrc.js → model-resolver-ta21jq92.js} +17 -17
  235. package/dist/chunks/{file-mutation-8sxdqgb0.js → model-resolver-tasvem1v.js} +6 -6
  236. package/dist/chunks/{file-mutation-vbmz9jev.js → model-resolver-tc5pmsfr.js} +21 -21
  237. package/dist/chunks/{file-mutation-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  238. package/dist/chunks/{file-mutation-tqx9c315.js → model-resolver-tg1vr1qt.js} +8 -8
  239. package/dist/chunks/{file-mutation-mmkbt6v3.js → model-resolver-tkmwn4n3.js} +9 -9
  240. package/dist/chunks/{file-mutation-sbegqkxp.js → model-resolver-tn5gxkrv.js} +6 -6
  241. package/dist/chunks/{file-mutation-3dcnb5me.js → model-resolver-tw4wrdz4.js} +8 -8
  242. package/dist/chunks/{file-mutation-0j1f7v6y.js → model-resolver-tw8wcj15.js} +7 -7
  243. package/dist/chunks/{file-mutation-tw8zr1ps.js → model-resolver-tw8zr1ps.js} +1 -1
  244. package/dist/chunks/{file-mutation-3vf4gpqx.js → model-resolver-tw97zmqb.js} +10 -10
  245. package/dist/chunks/{file-mutation-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{file-mutation-4xg6svek.js → model-resolver-tyfqe8mq.js} +35 -35
  247. package/dist/chunks/{file-mutation-b2fa49hh.js → model-resolver-tyfsk4mw.js} +5 -5
  248. package/dist/chunks/{file-mutation-906g5kdk.js → model-resolver-v27kyr9e.js} +9 -9
  249. package/dist/chunks/{file-mutation-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  250. package/dist/chunks/{file-mutation-wqvpyqgm.js → model-resolver-v5d8y8eg.js} +24 -24
  251. package/dist/chunks/{file-mutation-hwg1rf37.js → model-resolver-v79kmtvw.js} +17 -17
  252. package/dist/chunks/{file-mutation-fr0fh1nj.js → model-resolver-v9e2a6a3.js} +20 -20
  253. package/dist/chunks/{file-mutation-mr7gd4pm.js → model-resolver-vcxs933z.js} +8 -8
  254. package/dist/chunks/{file-mutation-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
  255. package/dist/chunks/{file-mutation-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  256. package/dist/chunks/{file-mutation-7cbjmmn9.js → model-resolver-vg0zp5sr.js} +12 -12
  257. package/dist/chunks/{file-mutation-g7esga4v.js → model-resolver-vmfhgzt5.js} +5 -5
  258. package/dist/chunks/{file-mutation-zh89wwz7.js → model-resolver-vn71xy6d.js} +10 -10
  259. package/dist/chunks/{file-mutation-3bnc55rz.js → model-resolver-vv5h4bmz.js} +3 -3
  260. package/dist/chunks/{file-mutation-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{file-mutation-ad8q6rp3.js → model-resolver-w4ynznac.js} +11 -11
  262. package/dist/chunks/{file-mutation-vx3jgdek.js → model-resolver-w8yd89gy.js} +3 -3
  263. package/dist/chunks/{file-mutation-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{file-mutation-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  265. package/dist/chunks/{file-mutation-e5yz98j3.js → model-resolver-wy7bdrzd.js} +6 -6
  266. package/dist/chunks/{file-mutation-8zf098kr.js → model-resolver-wzbm9yap.js} +17 -17
  267. package/dist/chunks/{file-mutation-abr51mnh.js → model-resolver-x7pzp06w.js} +8 -8
  268. package/dist/chunks/{file-mutation-pafr3hmb.js → model-resolver-xj5vncmq.js} +30 -30
  269. package/dist/chunks/{file-mutation-rgv2frq9.js → model-resolver-xs05vffk.js} +13 -13
  270. package/dist/chunks/{file-mutation-4bm89b1z.js → model-resolver-y71ddsac.js} +9 -9
  271. package/dist/chunks/{file-mutation-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{file-mutation-3p1jq0np.js → model-resolver-yc4xwjk4.js} +9 -9
  273. package/dist/chunks/{file-mutation-myc1cmw5.js → model-resolver-yg834er4.js} +18 -18
  274. package/dist/chunks/{file-mutation-1bb7jn70.js → model-resolver-yh4ym469.js} +4 -4
  275. package/dist/chunks/{file-mutation-rmv7btfw.js → model-resolver-ysdmcr0h.js} +18 -18
  276. package/dist/chunks/{file-mutation-m6yg81he.js → model-resolver-yvktxnyk.js} +13 -13
  277. package/dist/chunks/{file-mutation-9vyfkg2v.js → model-resolver-ywtfgq8q.js} +11 -11
  278. package/dist/chunks/{file-mutation-jd41cg63.js → model-resolver-yxb96n0x.js} +44 -44
  279. package/dist/chunks/{file-mutation-ys14c7h6.js → model-resolver-yzex6x75.js} +20 -20
  280. package/dist/chunks/{file-mutation-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-mutation-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  282. package/dist/chunks/{file-mutation-9y9qs21w.js → model-resolver-z49nhv4t.js} +15 -15
  283. package/dist/chunks/{file-mutation-3a12p9c1.js → model-resolver-z7724tht.js} +11 -11
  284. package/dist/chunks/{file-mutation-r5zmcn5f.js → model-resolver-z9pdc6em.js} +15 -15
  285. package/dist/chunks/{file-mutation-yt06m8xx.js → model-resolver-zj7p4na3.js} +15 -15
  286. package/dist/chunks/model-resolver-zk2w4fb9.js +26 -0
  287. package/dist/chunks/{file-mutation-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{file-mutation-zkgq49d1.js → model-resolver-zkgq49d1.js} +4 -4
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +85 -85
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +118 -118
  306. package/dist/config/plugin/mcp.js +123 -123
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +114 -114
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +116 -116
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +1 -1
  313. package/dist/config/plugin/skill.js +134 -134
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +117 -117
  316. package/dist/config/plugin/tool-output.js +115 -115
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +119 -119
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +94 -94
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +72 -72
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +104 -104
  430. package/dist/form.js +86 -86
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +107 -107
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +101 -101
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +91 -91
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +156 -156
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +91 -91
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +109 -109
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +101 -101
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +76 -76
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +116 -116
  531. package/dist/plugin/provider/opencode.js +103 -103
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +171 -171
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +95 -95
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +87 -87
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +99 -99
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +3 -3
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +164 -164
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +97 -97
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +5 -5
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -102
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +216 -216
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +11 -11
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +4 -4
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +139 -139
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +115 -115
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +136 -136
  654. package/dist/tool/plugin/webfetch.js +115 -115
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +104 -104
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +89 -89
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +82 -82
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/file-mutation-a610t88q.js +0 -18
  693. package/dist/chunks/file-mutation-k1mgqf2s.js +0 -26
  694. package/dist/chunks/file-mutation-rz0hcvs1.js +0 -523
  695. package/dist/chunks/file-mutation-vz42csha.js +0 -257
  696. /package/dist/chunks/{file-mutation-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{file-mutation-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{file-mutation-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{file-mutation-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{file-mutation-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{file-mutation-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{file-mutation-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{file-mutation-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{file-mutation-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{file-mutation-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  706. /package/dist/chunks/{file-mutation-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{file-mutation-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{file-mutation-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{file-mutation-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{file-mutation-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{file-mutation-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{file-mutation-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  713. /package/dist/chunks/{file-mutation-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{file-mutation-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{file-mutation-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  716. /package/dist/chunks/{file-mutation-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{file-mutation-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{file-mutation-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{file-mutation-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  720. /package/dist/chunks/{file-mutation-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{file-mutation-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{file-mutation-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{file-mutation-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{file-mutation-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{file-mutation-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{file-mutation-a058387c.js → model-resolver-a058387c.js} +0 -0
  727. /package/dist/chunks/{file-mutation-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{file-mutation-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{file-mutation-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{file-mutation-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{file-mutation-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{file-mutation-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{file-mutation-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{file-mutation-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{file-mutation-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{file-mutation-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{file-mutation-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{file-mutation-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{file-mutation-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  741. /package/dist/chunks/{file-mutation-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{file-mutation-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{file-mutation-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{file-mutation-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{file-mutation-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{file-mutation-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{file-mutation-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{file-mutation-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{file-mutation-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{file-mutation-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{file-mutation-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  753. /package/dist/chunks/{file-mutation-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{file-mutation-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  755. /package/dist/chunks/{file-mutation-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{file-mutation-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  757. /package/dist/chunks/{file-mutation-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{file-mutation-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{file-mutation-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{file-mutation-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{file-mutation-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  765. /package/dist/chunks/{file-mutation-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{file-mutation-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{file-mutation-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{file-mutation-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{file-mutation-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{file-mutation-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{file-mutation-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{file-mutation-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{file-mutation-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{file-mutation-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{file-mutation-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{file-mutation-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{file-mutation-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{file-mutation-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{file-mutation-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{file-mutation-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{file-mutation-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  789. /package/dist/chunks/{file-mutation-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{file-mutation-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{file-mutation-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{file-mutation-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{file-mutation-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{file-mutation-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -2,27 +2,27 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-mutation-z5v4ffb3.js";
5
+ } from "./model-resolver-z5v4ffb3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./file-mutation-jfqpy2va.js";
7
+ Service55,
8
+ node59
9
+ } from "./model-resolver-0h5mky2z.js";
10
10
  import {
11
11
  Content3
12
- } from "./file-mutation-pr21x5ks.js";
12
+ } from "./model-resolver-ng64mz8r.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-mutation-2z1j29yd.js";
15
+ } from "./model-resolver-2z1j29yd.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
22
22
  __export(exports_read_filesystem, {
23
23
  BinaryFileError: () => BinaryFileError2,
24
24
  FileContent: () => FileContent2,
25
- ListEntry: () => ListEntry3,
25
+ ListEntry: () => ListEntry2,
26
26
  ListPage: () => ListPage2,
27
27
  MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
28
28
  MAX_READ_BYTES: () => MAX_READ_BYTES2,
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service32,
36
+ Service: () => Service25,
37
37
  TextPage: () => TextPage2,
38
- node: () => node36,
38
+ node: () => node29,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
101
101
  next: Schema.optionalKey(PositiveInt2)
102
102
  }) {
103
103
  }
104
- var ListEntry3 = Schema.Struct({
104
+ var ListEntry2 = Schema.Struct({
105
105
  path: RelativePath2,
106
106
  type: Schema.Literals(["file", "directory", "symlink"])
107
107
  }).annotate({ identifier: "ReadTool.ListEntry" });
108
108
 
109
109
  class ListPage2 extends Schema.Class("ReadTool.ListPage")({
110
110
  type: Schema.Literal("list-page"),
111
- entries: Schema.Array(ListEntry3),
111
+ entries: Schema.Array(ListEntry2),
112
112
  truncated: Schema.Boolean,
113
113
  next: Schema.optionalKey(PositiveInt2)
114
114
  }) {
115
115
  }
116
116
 
117
- class Service32 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service25 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -227,7 +227,7 @@ var list = (items, page) => {
227
227
  const offset = page.offset || 1;
228
228
  const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
229
229
  const visible = items.flatMap((item) => item.type === "other" ? [] : [
230
- ListEntry3.make({
230
+ ListEntry2.make({
231
231
  path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
232
232
  type: item.type
233
233
  })
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service32, Effect.gen(function* () {
334
- const environment = yield* Service63;
335
- return Service32.of({
333
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
334
+ const environment = yield* Service55;
335
+ return Service25.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node66] });
340
+ var node29 = makeLocationNode({ service: Service25, layer, deps: [node59] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service32, read2, node36, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service25, read2, node29, exports_read_filesystem };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./file-mutation-h65mpfhc.js";
6
+ } from "./model-resolver-5c5bthfb.js";
7
7
  import {
8
- Service78,
9
- node82
10
- } from "./file-mutation-57k3rf66.js";
8
+ Service81,
9
+ node85
10
+ } from "./model-resolver-r3hept05.js";
11
11
  import {
12
- Service68,
13
- node72
14
- } from "./file-mutation-kp4a0nkj.js";
12
+ Service66,
13
+ node70
14
+ } from "./model-resolver-snpgexks.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service67,
26
- node: () => node71,
25
+ Service: () => Service36,
26
+ node: () => node39,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service67 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service36 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service67, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service78;
55
- const permission = yield* Service68;
54
+ const location = yield* Service81;
55
+ const permission = yield* Service66;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service67.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service36.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node71 = makeLocationNode({ service: Service67, layer, deps: [FSUtil.node, node82, node72] });
106
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [FSUtil.node, node85, node70] });
107
107
 
108
- export { Kind2, ResolveInput2, Service67, resolvePath2, node71, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service36, resolvePath2, node39, exports_file_access };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-mutation-8jztxfpf.js";
3
+ } from "./model-resolver-8jztxfpf.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./file-mutation-q1xw7kgx.js";
7
+ } from "./model-resolver-9chjwwnc.js";
8
8
  import {
9
- Event19,
10
- Service83,
11
- node87
12
- } from "./file-mutation-s4rs4ktr.js";
9
+ Event18,
10
+ Service79,
11
+ node83
12
+ } from "./model-resolver-kfwqqrwd.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./file-mutation-57k3rf66.js";
14
+ Service81,
15
+ node85
16
+ } from "./model-resolver-r3hept05.js";
17
17
  import {
18
- Service63,
19
- node66
20
- } from "./file-mutation-jfqpy2va.js";
18
+ Service55,
19
+ node59
20
+ } from "./model-resolver-0h5mky2z.js";
21
21
  import {
22
- ID18,
23
- Service84,
24
- node88
25
- } from "./file-mutation-dkkf5xq4.js";
22
+ ID14,
23
+ Service78,
24
+ node82
25
+ } from "./model-resolver-hdcqmdk3.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-mutation-vd3b3yk9.js";
29
+ } from "./model-resolver-vd3b3yk9.js";
30
30
  import {
31
- ID16,
31
+ ID12,
32
32
  MethodID2,
33
- Service82,
34
- node86
35
- } from "./file-mutation-vxnb1daw.js";
33
+ Service76,
34
+ node80
35
+ } from "./model-resolver-spep79sh.js";
36
36
  import {
37
37
  __export
38
- } from "./file-mutation-9rqn6x4v.js";
38
+ } from "./model-resolver-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service34,
52
+ Service: () => Service26,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured4,
56
- layer: () => layer16,
57
- node: () => node37
55
+ configured: () => configured3,
56
+ layer: () => layer13,
57
+ node: () => node30
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service34 extends Context.Service()("@opencode/MCP") {
107
+ class Service26 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
- var Options4 = Schema.Struct({
109
+ var Options3 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
111
111
  name: Schema.String,
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
116
- const location = yield* Service78;
117
- const environment = yield* Service63;
115
+ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
116
+ const location = yield* Service81;
117
+ const environment = yield* Service55;
118
118
  const bus = yield* Service85;
119
- const forms = yield* Service84;
120
- const integration = yield* Service82;
121
- const credentials = yield* Service83;
119
+ const forms = yield* Service78;
120
+ const integration = yield* Service76;
121
+ const credentials = yield* Service79;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
133
133
  return;
134
134
  const remote = entry.config;
135
135
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
136
- const integrationID = ID16.make(suffix);
136
+ const integrationID = ID12.make(suffix);
137
137
  entry.integrationID = integrationID;
138
138
  owned.add(integrationID);
139
139
  const methodID = MethodID2.make(suffix);
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -164,12 +164,12 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
171
171
  if (input.params.mode === "url") {
172
- const formID = ID18.create();
172
+ const formID = ID14.create();
173
173
  const elicitationID = input.params.elicitationId;
174
174
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
175
175
  if (key)
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
275
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service34.of({
481
+ return Service26.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -606,14 +606,14 @@ function mergeCatalogs(catalogs) {
606
606
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
607
607
  });
608
608
  }
609
- function configured4(options) {
609
+ function configured3(options) {
610
610
  return makeLocationNode({
611
- service: Service34,
612
- layer: layer16(options),
613
- deps: [node82, node66, node89, node88, node86, node87]
611
+ service: Service26,
612
+ layer: layer13(options),
613
+ deps: [node85, node59, node89, node82, node80, node83]
614
614
  });
615
615
  }
616
- var node37 = configured4();
616
+ var node30 = configured3();
617
617
  function toElicitationField(key, property, required) {
618
618
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
619
619
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
664
664
  }
665
665
  }
666
666
 
667
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer16, configured4, node37, exports_mcp4 };
667
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service26, Options3, layer13, configured3, node30, exports_mcp4 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./file-mutation-emrn6kk6.js";
3
+ } from "./model-resolver-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./file-mutation-51wwr1cb.js";
6
+ } from "./model-resolver-ev24k3w5.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./file-mutation-kd8e7gdr.js";
9
+ } from "./model-resolver-5p1zsrt3.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-q1xw7kgx.js";
4
+ } from "./model-resolver-9chjwwnc.js";
5
5
  import {
6
6
  __export
7
- } from "./file-mutation-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info29,
19
+ ID: () => ID14,
20
+ Info: () => Info24,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError12,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service84,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node88,
28
+ layer: () => layer26,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID14 = Form.ID;
39
+ var Info24 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID14
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID14
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID14
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID14,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service84 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
84
+ var layer26 = Layer.effect(Service78, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID14.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service84.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node88 = makeLocationNode({ service: Service84, layer: layer27, deps: [node89] });
167
+ var node82 = makeLocationNode({ service: Service78, layer: layer26, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node88, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer26, node82, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID10,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-mutation-3jt9gp25.js";
5
+ } from "./model-resolver-t7x5nw9y.js";
6
6
  import {
7
7
  __export
8
- } from "./file-mutation-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
11
  var exports_agent2 = {};
12
12
  __export(exports_agent2, {
13
13
  AgentPlugin: () => exports_agent2,
14
- Plugin: () => Plugin47
14
+ Plugin: () => Plugin31
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin47 = define({
60
+ var Plugin31 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin47 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID10.make("general"), (item) => {
70
+ editor.update(ID9.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID10.make("explore"), (item) => {
76
+ editor.update(ID9.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID10.make("compaction"), (item) => {
83
+ editor.update(ID9.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID10.make("title"), (item) => {
88
+ editor.update(ID9.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID10.make("summary"), (item) => {
95
+ editor.update(ID9.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin47 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin47, exports_agent2 };
106
+ export { Plugin31, exports_agent2 };