@opencode/core 0.0.0-dev-20579 → 0.0.0-dev-20583

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{models-dev-0fh6f5vp.js → file-mutation-05j2y7x7.js} +7 -7
  8. package/dist/chunks/{models-dev-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{models-dev-3pt1f740.js → file-mutation-0pzykd19.js} +34 -34
  10. package/dist/chunks/{models-dev-5c4z4tyd.js → file-mutation-0qtgexh9.js} +49 -49
  11. package/dist/chunks/{models-dev-sxmaz3jq.js → file-mutation-0swngr03.js} +24 -24
  12. package/dist/chunks/{models-dev-23r766dh.js → file-mutation-0t7934bj.js} +28 -28
  13. package/dist/chunks/{models-dev-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{models-dev-zfa7ynd8.js → file-mutation-10t9a2f3.js} +13 -13
  15. package/dist/chunks/{models-dev-nvxt8qcf.js → file-mutation-123xm1e3.js} +9 -9
  16. package/dist/chunks/{models-dev-kjm0dggs.js → file-mutation-12wrqg79.js} +23 -23
  17. package/dist/chunks/{models-dev-30846h32.js → file-mutation-166kng33.js} +8 -8
  18. package/dist/chunks/{models-dev-h6pyrv6e.js → file-mutation-180jb965.js} +19 -19
  19. package/dist/chunks/{models-dev-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{models-dev-1dvck2a7.js → file-mutation-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{models-dev-wt5nmafz.js → file-mutation-1kprmeav.js} +33 -33
  22. package/dist/chunks/{models-dev-4bx1eqaf.js → file-mutation-1qxsyfe0.js} +25 -25
  23. package/dist/chunks/{models-dev-rtwceye3.js → file-mutation-1r1edwa1.js} +29 -29
  24. package/dist/chunks/{models-dev-bw2wjxzg.js → file-mutation-21kzj585.js} +12 -12
  25. package/dist/chunks/{models-dev-h08prmky.js → file-mutation-24wzahvd.js} +15 -15
  26. package/dist/chunks/{models-dev-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{models-dev-67g972p8.js → file-mutation-2cwknq7w.js} +11 -11
  28. package/dist/chunks/{models-dev-kyr28d2w.js → file-mutation-2j93mrye.js} +11 -11
  29. package/dist/chunks/file-mutation-2r7ew65j.js +26 -0
  30. package/dist/chunks/{models-dev-g80ve2xz.js → file-mutation-2sq0rgeb.js} +23 -23
  31. package/dist/chunks/{models-dev-9ecvsxx5.js → file-mutation-2st2vgs8.js} +19 -19
  32. package/dist/chunks/{models-dev-hapxt7b6.js → file-mutation-2w56afta.js} +4 -4
  33. package/dist/chunks/{models-dev-e7710hd6.js → file-mutation-2w5dyyz8.js} +5 -5
  34. package/dist/chunks/{models-dev-hw0q1v6w.js → file-mutation-39kj94aj.js} +13 -13
  35. package/dist/chunks/{models-dev-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{models-dev-ve78naxq.js → file-mutation-3gepn018.js} +8 -8
  37. package/dist/chunks/{models-dev-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{models-dev-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{models-dev-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{models-dev-28pkm0f9.js → file-mutation-3xe73pcq.js} +19 -19
  41. package/dist/chunks/{models-dev-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{models-dev-xsqksm9t.js → file-mutation-40bnz8b2.js} +11 -11
  43. package/dist/chunks/{models-dev-tsnhj991.js → file-mutation-43mj7s4s.js} +11 -11
  44. package/dist/chunks/{models-dev-jagm7tt7.js → file-mutation-47qpzrds.js} +44 -44
  45. package/dist/chunks/{models-dev-f69hr2t8.js → file-mutation-48cwc0wb.js} +24 -24
  46. package/dist/chunks/{models-dev-h4z1mxff.js → file-mutation-49exe669.js} +5 -5
  47. package/dist/chunks/{models-dev-82rhge12.js → file-mutation-4rt0ga34.js} +9 -9
  48. package/dist/chunks/{models-dev-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{models-dev-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
  50. package/dist/chunks/{models-dev-065f5jqd.js → file-mutation-58mk5nmy.js} +18 -18
  51. package/dist/chunks/{models-dev-ydrjdpcc.js → file-mutation-5cz6gggr.js} +22 -22
  52. package/dist/chunks/{models-dev-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  53. package/dist/chunks/{models-dev-vzstn3vw.js → file-mutation-5h9mcdhs.js} +25 -25
  54. package/dist/chunks/{models-dev-vxrd0dht.js → file-mutation-5qrrcsc2.js} +9 -9
  55. package/dist/chunks/{models-dev-h6vzd6py.js → file-mutation-5s0bmr25.js} +20 -20
  56. package/dist/chunks/{models-dev-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{models-dev-sp7ve3f0.js → file-mutation-5w26m471.js} +11 -11
  58. package/dist/chunks/{models-dev-3r0f49pj.js → file-mutation-608kr7kb.js} +10 -10
  59. package/dist/chunks/{models-dev-b0w1x349.js → file-mutation-6136cgh5.js} +50 -50
  60. package/dist/chunks/{models-dev-669tq793.js → file-mutation-669tq793.js} +1 -1
  61. package/dist/chunks/{models-dev-sk11m9ar.js → file-mutation-68cfq5az.js} +25 -25
  62. package/dist/chunks/{models-dev-8wxr6w3c.js → file-mutation-6a6378pm.js} +25 -25
  63. package/dist/chunks/{models-dev-ct9q0q83.js → file-mutation-6b9m9qth.js} +11 -11
  64. package/dist/chunks/{models-dev-c43encnq.js → file-mutation-6hbe8yta.js} +13 -13
  65. package/dist/chunks/{models-dev-vwgad00t.js → file-mutation-6nwe3trr.js} +10 -10
  66. package/dist/chunks/{models-dev-tx4w3zvw.js → file-mutation-6s812hbs.js} +24 -24
  67. package/dist/chunks/{models-dev-j8vmxrd4.js → file-mutation-6wz7chbs.js} +3 -3
  68. package/dist/chunks/{models-dev-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{models-dev-71az546q.js → file-mutation-71az546q.js} +2 -2
  70. package/dist/chunks/{models-dev-z7hhbxsd.js → file-mutation-72p9t9gb.js} +29 -29
  71. package/dist/chunks/{models-dev-0hkfhkek.js → file-mutation-77hgjsk3.js} +38 -37
  72. package/dist/chunks/{models-dev-kz287eh6.js → file-mutation-79ajbfyg.js} +4 -4
  73. package/dist/chunks/{models-dev-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{models-dev-e1b8dpn9.js → file-mutation-7jdtyktx.js} +9 -9
  75. package/dist/chunks/{models-dev-3gk6d5bg.js → file-mutation-7jvbf81s.js} +24 -24
  76. package/dist/chunks/{models-dev-6q44kjsg.js → file-mutation-7q62a8nt.js} +11 -11
  77. package/dist/chunks/{models-dev-5bsdf67q.js → file-mutation-7tt1yyek.js} +20 -20
  78. package/dist/chunks/{models-dev-yf0pn2h0.js → file-mutation-7y74vpaj.js} +15 -15
  79. package/dist/chunks/{models-dev-xh27xnk0.js → file-mutation-7zkbhs7g.js} +11 -11
  80. package/dist/chunks/{models-dev-84txncab.js → file-mutation-84txncab.js} +1 -1
  81. package/dist/chunks/{models-dev-pfsrde56.js → file-mutation-84xy7cmd.js} +3 -3
  82. package/dist/chunks/{models-dev-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/file-mutation-8fke18e1.js +253 -0
  84. package/dist/chunks/{models-dev-21sd2q2p.js → file-mutation-8gqyy45k.js} +18 -18
  85. package/dist/chunks/{models-dev-8hkfkb27.js → file-mutation-8hkfkb27.js} +3 -3
  86. package/dist/chunks/{models-dev-qvh9eqkc.js → file-mutation-8k1b3hgn.js} +22 -22
  87. package/dist/chunks/{models-dev-m69jc7nt.js → file-mutation-8ne23mfp.js} +13 -13
  88. package/dist/chunks/{models-dev-chkwe70y.js → file-mutation-90hpmr2t.js} +9 -9
  89. package/dist/chunks/{models-dev-t8kkt2nv.js → file-mutation-93cdtzk6.js} +11 -11
  90. package/dist/chunks/{models-dev-y5p3mzqv.js → file-mutation-93t1mf90.js} +11 -11
  91. package/dist/chunks/{models-dev-9gea571p.js → file-mutation-93ygb5af.js} +6 -6
  92. package/dist/chunks/{models-dev-snkpwrj1.js → file-mutation-94mz8ebf.js} +32 -32
  93. package/dist/chunks/{models-dev-vjtea3hn.js → file-mutation-94qxd8wt.js} +3 -3
  94. package/dist/chunks/{models-dev-9h1qtdky.js → file-mutation-97jxdyep.js} +47 -47
  95. package/dist/chunks/{models-dev-9e5bzkjp.js → file-mutation-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{models-dev-ktw141zw.js → file-mutation-9kr929zm.js} +3 -3
  97. package/dist/chunks/{models-dev-p3bfjnb3.js → file-mutation-9n9hgcd8.js} +18 -18
  98. package/dist/chunks/{models-dev-p6g1xawz.js → file-mutation-9qwqd80z.js} +12 -12
  99. package/dist/chunks/{models-dev-qdtb2r9y.js → file-mutation-9txt07q0.js} +81 -81
  100. package/dist/chunks/{models-dev-e7ydkzjj.js → file-mutation-9xb4p3aq.js} +7 -7
  101. package/dist/chunks/{models-dev-v85q2xfv.js → file-mutation-9z4end1d.js} +13 -13
  102. package/dist/chunks/{models-dev-gvhmaxka.js → file-mutation-a026aj5z.js} +35 -35
  103. package/dist/chunks/{models-dev-r5x6zcsm.js → file-mutation-a1gpj94z.js} +3 -3
  104. package/dist/chunks/{models-dev-rkp0d28g.js → file-mutation-a81dbpn4.js} +46 -46
  105. package/dist/chunks/{models-dev-a8bn8zg0.js → file-mutation-a8bn8zg0.js} +1 -1
  106. package/dist/chunks/{models-dev-3zqzd8hk.js → file-mutation-a9bm1b1m.js} +45 -45
  107. package/dist/chunks/{models-dev-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  108. package/dist/chunks/{models-dev-8tfctm8b.js → file-mutation-aawfa1p8.js} +1 -1
  109. package/dist/chunks/{models-dev-j69age7f.js → file-mutation-ab0bv3vs.js} +10 -10
  110. package/dist/chunks/{models-dev-zff80ehc.js → file-mutation-agrw7dk4.js} +13 -13
  111. package/dist/chunks/{models-dev-8r052h48.js → file-mutation-anfj9sc3.js} +8 -8
  112. package/dist/chunks/{models-dev-cd2ckykk.js → file-mutation-awnyytxj.js} +33 -33
  113. package/dist/chunks/{models-dev-7qxz1a4h.js → file-mutation-awzyrsce.js} +9 -9
  114. package/dist/chunks/{models-dev-p4ebz0q2.js → file-mutation-ayb65py8.js} +6 -6
  115. package/dist/chunks/{models-dev-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{models-dev-at1jtn93.js → file-mutation-b6nfqgtw.js} +10 -10
  117. package/dist/chunks/{models-dev-amsd198e.js → file-mutation-bj8e23yz.js} +20 -20
  118. package/dist/chunks/{models-dev-n8h5s4z5.js → file-mutation-bmdr62wy.js} +5 -5
  119. package/dist/chunks/{models-dev-bp8fbaqn.js → file-mutation-btbmdjwj.js} +4 -4
  120. package/dist/chunks/{models-dev-8ct0y6hk.js → file-mutation-bx1kzrbd.js} +21 -21
  121. package/dist/chunks/{models-dev-wp6ep95q.js → file-mutation-bygr0fca.js} +42 -42
  122. package/dist/chunks/{models-dev-9qx683h5.js → file-mutation-c779czcw.js} +9 -9
  123. package/dist/chunks/{models-dev-veajjj4z.js → file-mutation-capa8hmm.js} +8 -8
  124. package/dist/chunks/{models-dev-enm6tv2q.js → file-mutation-cdbfhxhg.js} +15 -15
  125. package/dist/chunks/{models-dev-etz1tp3f.js → file-mutation-cdy1429m.js} +17 -17
  126. package/dist/chunks/{models-dev-nm4299rz.js → file-mutation-ceetf7sw.js} +6 -6
  127. package/dist/chunks/{models-dev-5xmyk187.js → file-mutation-ceze7etz.js} +3 -3
  128. package/dist/chunks/{models-dev-cwa6csj7.js → file-mutation-cwa6csj7.js} +2 -2
  129. package/dist/chunks/{models-dev-5g2350sa.js → file-mutation-cwsxj1fy.js} +14 -14
  130. package/dist/chunks/{models-dev-414z3zsn.js → file-mutation-d15mmqf3.js} +14 -14
  131. package/dist/chunks/{models-dev-5dsr6e61.js → file-mutation-d2vx756y.js} +6 -6
  132. package/dist/chunks/{models-dev-qesb4fb2.js → file-mutation-d3gcvv3k.js} +10 -10
  133. package/dist/chunks/{models-dev-s6yyz18a.js → file-mutation-d7y24xev.js} +13 -13
  134. package/dist/chunks/{models-dev-a527gmk9.js → file-mutation-d9ygp6ze.js} +7 -7
  135. package/dist/chunks/{models-dev-4556yem3.js → file-mutation-dra5cftj.js} +2 -2
  136. package/dist/chunks/{models-dev-69ae2gc0.js → file-mutation-dsq8k9r4.js} +33 -33
  137. package/dist/chunks/{models-dev-g6yfr6ja.js → file-mutation-dssbfrwz.js} +5 -5
  138. package/dist/chunks/{models-dev-n0vcjzwx.js → file-mutation-dx2gcj3s.js} +22 -22
  139. package/dist/chunks/{models-dev-67bex8mg.js → file-mutation-dzbkcwn2.js} +16 -16
  140. package/dist/chunks/{models-dev-cerphmjy.js → file-mutation-e2k83wgv.js} +5 -5
  141. package/dist/chunks/{models-dev-7re3496y.js → file-mutation-e2t1g78s.js} +183 -183
  142. package/dist/chunks/{models-dev-1ffrhb6a.js → file-mutation-eea3fma5.js} +30 -30
  143. package/dist/chunks/{models-dev-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{models-dev-scwth786.js → file-mutation-ehn96ckv.js} +17 -17
  145. package/dist/chunks/{models-dev-b76kedzd.js → file-mutation-en7r6a3x.js} +11 -11
  146. package/dist/chunks/{models-dev-c26tg910.js → file-mutation-ep44p4pe.js} +12 -12
  147. package/dist/chunks/{models-dev-p5c89f54.js → file-mutation-eqv7r0bw.js} +6 -6
  148. package/dist/chunks/{models-dev-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{models-dev-q93trqjw.js → file-mutation-exm9kzsb.js} +5 -5
  150. package/dist/chunks/{models-dev-g1r3wepg.js → file-mutation-f27gt3fb.js} +62 -62
  151. package/dist/chunks/{models-dev-zsr4wwhv.js → file-mutation-f29mbr7f.js} +4 -4
  152. package/dist/chunks/{models-dev-4j1v512x.js → file-mutation-f3d9psnk.js} +34 -34
  153. package/dist/chunks/{models-dev-d9p3jxc1.js → file-mutation-f56msdte.js} +51 -51
  154. package/dist/chunks/{models-dev-f73rjn58.js → file-mutation-f73rjn58.js} +1 -1
  155. package/dist/chunks/{models-dev-9nccr2nz.js → file-mutation-fbck328a.js} +18 -18
  156. package/dist/chunks/{models-dev-nbr98sng.js → file-mutation-ft0c77xz.js} +18 -18
  157. package/dist/chunks/{models-dev-w222d1b2.js → file-mutation-ftmsc343.js} +17 -17
  158. package/dist/chunks/{models-dev-dzd6gt19.js → file-mutation-g1epjwmz.js} +8 -8
  159. package/dist/chunks/{models-dev-srq8z0b0.js → file-mutation-g31erja1.js} +9 -9
  160. package/dist/chunks/{models-dev-44b5mvgm.js → file-mutation-g5krbyz9.js} +15 -15
  161. package/dist/chunks/{models-dev-b1tb8gws.js → file-mutation-g60yh954.js} +35 -35
  162. package/dist/chunks/{models-dev-gaky33x9.js → file-mutation-g8srsgrp.js} +5 -5
  163. package/dist/chunks/{models-dev-47zss2vy.js → file-mutation-gapccta5.js} +20 -20
  164. package/dist/chunks/{models-dev-6b584fx1.js → file-mutation-gbdpq833.js} +12 -12
  165. package/dist/chunks/{models-dev-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  166. package/dist/chunks/{models-dev-nzcmq5s7.js → file-mutation-gez6wwhh.js} +15 -15
  167. package/dist/chunks/{models-dev-c9m7c5t2.js → file-mutation-gka6nvrt.js} +15 -15
  168. package/dist/chunks/{models-dev-x661k3y3.js → file-mutation-gqtdsdt7.js} +4 -4
  169. package/dist/chunks/{models-dev-q97fzf0b.js → file-mutation-gxxtbefb.js} +26 -26
  170. package/dist/chunks/{models-dev-9fr4q37e.js → file-mutation-h0tn9bp1.js} +24 -24
  171. package/dist/chunks/{models-dev-h2b79v29.js → file-mutation-h2b79v29.js} +2 -2
  172. package/dist/chunks/{models-dev-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  173. package/dist/chunks/{models-dev-b832nfdp.js → file-mutation-hh8qm7ej.js} +22 -22
  174. package/dist/chunks/{models-dev-ydx2zdq6.js → file-mutation-j3qw8rc6.js} +23 -23
  175. package/dist/chunks/{models-dev-75t52x5s.js → file-mutation-j4dpp98w.js} +27 -27
  176. package/dist/chunks/{models-dev-3wjay3ka.js → file-mutation-j4jm9w3p.js} +23 -23
  177. package/dist/chunks/{models-dev-777x33ga.js → file-mutation-j4k4y6cp.js} +45 -45
  178. package/dist/chunks/{models-dev-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  179. package/dist/chunks/{models-dev-qvna2bbv.js → file-mutation-j8k9xj39.js} +33 -33
  180. package/dist/chunks/{models-dev-tfyyarmg.js → file-mutation-jcvj30yp.js} +16 -16
  181. package/dist/chunks/{models-dev-77pm2nty.js → file-mutation-jpqsftmp.js} +37 -37
  182. package/dist/chunks/{models-dev-tv1qkmca.js → file-mutation-k09a0f44.js} +12 -12
  183. package/dist/chunks/{models-dev-yf10kn3d.js → file-mutation-k1qrnqst.js} +8 -8
  184. package/dist/chunks/{models-dev-pm50wqr4.js → file-mutation-k66mh8t8.js} +4 -4
  185. package/dist/chunks/{models-dev-mhgx8wws.js → file-mutation-kb6vbnxp.js} +4 -4
  186. package/dist/chunks/{models-dev-xdtzmxbg.js → file-mutation-kc6n47mc.js} +4 -3
  187. package/dist/chunks/file-mutation-kjjjense.js +507 -0
  188. package/dist/chunks/{models-dev-hmgc5cz7.js → file-mutation-kzrvy21g.js} +12 -12
  189. package/dist/chunks/{models-dev-72a3060e.js → file-mutation-m1khtztb.js} +5 -5
  190. package/dist/chunks/{models-dev-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{models-dev-rt73gy88.js → file-mutation-m80q8nre.js} +2 -2
  192. package/dist/chunks/{models-dev-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{models-dev-pd7n37kn.js → file-mutation-mbgxsypk.js} +33 -33
  194. package/dist/chunks/{models-dev-ah58gg7p.js → file-mutation-mbrh99t5.js} +5 -5
  195. package/dist/chunks/{models-dev-56gdpj1q.js → file-mutation-mfqp6xfm.js} +6 -6
  196. package/dist/chunks/{models-dev-89v4egbf.js → file-mutation-n9vhqagr.js} +30 -30
  197. package/dist/chunks/{models-dev-tj0wg4nv.js → file-mutation-ngt3qdhm.js} +5 -5
  198. package/dist/chunks/{models-dev-ygrc3zp9.js → file-mutation-nkh7czpt.js} +22 -22
  199. package/dist/chunks/{models-dev-y71avatq.js → file-mutation-nxm207yx.js} +4 -4
  200. package/dist/chunks/{models-dev-pa8pe2x7.js → file-mutation-pa8pe2x7.js} +1 -1
  201. package/dist/chunks/{models-dev-hzbfr2zb.js → file-mutation-peptrfgf.js} +29 -29
  202. package/dist/chunks/{models-dev-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{models-dev-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  204. package/dist/chunks/{models-dev-0hv6rsw5.js → file-mutation-pwk6y6g7.js} +33 -33
  205. package/dist/chunks/{models-dev-y16p1w2y.js → file-mutation-px76j0pk.js} +9 -9
  206. package/dist/chunks/{models-dev-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{models-dev-02pnmv3p.js → file-mutation-q752a12t.js} +18 -18
  208. package/dist/chunks/{models-dev-2k8khapm.js → file-mutation-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{models-dev-hcstjrnh.js → file-mutation-qkrdv68w.js} +30 -30
  210. package/dist/chunks/{models-dev-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{models-dev-04sffrgv.js → file-mutation-qpjyd557.js} +15 -15
  212. package/dist/chunks/{models-dev-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  213. package/dist/chunks/{models-dev-15nepkqg.js → file-mutation-qvb3nf84.js} +8 -8
  214. package/dist/chunks/{models-dev-xyafkbt0.js → file-mutation-qxjc9qry.js} +3 -3
  215. package/dist/chunks/{models-dev-fszy1g6v.js → file-mutation-qykvrrtg.js} +11 -11
  216. package/dist/chunks/{models-dev-dpepwdxp.js → file-mutation-r6s1zymw.js} +33 -33
  217. package/dist/chunks/{models-dev-r8xr0va3.js → file-mutation-r8xr0va3.js} +1 -1
  218. package/dist/chunks/file-mutation-rap9a73h.js +18 -0
  219. package/dist/chunks/{models-dev-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{models-dev-ncnm8wen.js → file-mutation-rk1r2hx8.js} +1 -1
  221. package/dist/chunks/{models-dev-66376qmm.js → file-mutation-rpfmaskv.js} +84 -84
  222. package/dist/chunks/{models-dev-fqb2p7cx.js → file-mutation-ryr25ayn.js} +4 -4
  223. package/dist/chunks/{models-dev-70z09tsz.js → file-mutation-rzg0yy35.js} +11 -11
  224. package/dist/chunks/{models-dev-kb426ejq.js → file-mutation-s1gjyzhy.js} +12 -12
  225. package/dist/chunks/{models-dev-x2qjtq82.js → file-mutation-s1wxmayf.js} +10 -10
  226. package/dist/chunks/{models-dev-kg03ydgp.js → file-mutation-s7h584sa.js} +9 -9
  227. package/dist/chunks/{models-dev-cyef1244.js → file-mutation-sazhseep.js} +11 -11
  228. package/dist/chunks/{models-dev-we3tv5d1.js → file-mutation-skq3snf0.js} +3 -3
  229. package/dist/chunks/{models-dev-t0nr6jrg.js → file-mutation-sxsdhb2f.js} +31 -31
  230. package/dist/chunks/{models-dev-fepbnb8j.js → file-mutation-sznyev98.js} +5 -5
  231. package/dist/chunks/{models-dev-94ak9ask.js → file-mutation-t6fvfsyt.js} +1 -1
  232. package/dist/chunks/{models-dev-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{models-dev-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{models-dev-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  235. package/dist/chunks/{models-dev-fyfa4fhw.js → file-mutation-tfj6v96f.js} +44 -44
  236. package/dist/chunks/{models-dev-cdxjqe9v.js → file-mutation-th8qagft.js} +8 -8
  237. package/dist/chunks/{models-dev-tvdvkfya.js → file-mutation-tmjgp03p.js} +40 -35
  238. package/dist/chunks/{models-dev-w92k2e0p.js → file-mutation-ts23464c.js} +6 -6
  239. package/dist/chunks/{models-dev-t8a4yqen.js → file-mutation-v03f7qed.js} +8 -8
  240. package/dist/chunks/{models-dev-hg3614cy.js → file-mutation-v0es1rhs.js} +9 -9
  241. package/dist/chunks/{models-dev-00z7knq4.js → file-mutation-v5azp370.js} +48 -48
  242. package/dist/chunks/{models-dev-g9r9zbx9.js → file-mutation-vc6v0gj3.js} +4 -4
  243. package/dist/chunks/{models-dev-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  244. package/dist/chunks/{models-dev-707t01nb.js → file-mutation-vkt86nx4.js} +21 -21
  245. package/dist/chunks/{models-dev-5fsrq7yk.js → file-mutation-vxmhavab.js} +10 -10
  246. package/dist/chunks/{models-dev-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{models-dev-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{models-dev-57b9ws8p.js → file-mutation-w19d8598.js} +4 -4
  249. package/dist/chunks/{models-dev-z2e87qev.js → file-mutation-w22zc6e5.js} +13 -13
  250. package/dist/chunks/{models-dev-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{models-dev-6fgkgcg0.js → file-mutation-w48dyk57.js} +11 -11
  252. package/dist/chunks/{models-dev-v0t6dd4w.js → file-mutation-w6pb9j5w.js} +12 -12
  253. package/dist/chunks/{models-dev-6xkzja4k.js → file-mutation-w7n29mqq.js} +6 -6
  254. package/dist/chunks/{models-dev-q18332b7.js → file-mutation-w7w59cfp.js} +11 -11
  255. package/dist/chunks/{models-dev-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  256. package/dist/chunks/{models-dev-mha52fg8.js → file-mutation-wecqtg5s.js} +5 -5
  257. package/dist/chunks/{models-dev-xx57t6qj.js → file-mutation-wjmj7svf.js} +24 -24
  258. package/dist/chunks/{models-dev-k64rxz1r.js → file-mutation-wtr910ek.js} +19 -19
  259. package/dist/chunks/{models-dev-rhjbct0v.js → file-mutation-wv396vej.js} +8 -8
  260. package/dist/chunks/{models-dev-g6xefnek.js → file-mutation-wyahmztr.js} +5 -5
  261. package/dist/chunks/{models-dev-6g7n6n48.js → file-mutation-wzpg4398.js} +5 -5
  262. package/dist/chunks/{models-dev-zghtsczn.js → file-mutation-x48v3pqg.js} +8 -8
  263. package/dist/chunks/{models-dev-xx8ravma.js → file-mutation-x6n59cg4.js} +12 -12
  264. package/dist/chunks/{models-dev-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{models-dev-9xjshrng.js → file-mutation-xtqdhsn8.js} +3 -3
  266. package/dist/chunks/{models-dev-qt130byj.js → file-mutation-xz8rcs7k.js} +25 -25
  267. package/dist/chunks/{models-dev-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{models-dev-9pa8tak9.js → file-mutation-y5beyqvm.js} +2 -2
  269. package/dist/chunks/{models-dev-wj76ss2k.js → file-mutation-y6mhz57t.js} +4 -4
  270. package/dist/chunks/{models-dev-9841pv10.js → file-mutation-ybtvq2mj.js} +15 -15
  271. package/dist/chunks/{models-dev-4d76t1fx.js → file-mutation-yeav80qa.js} +21 -21
  272. package/dist/chunks/{models-dev-bx0gyb4h.js → file-mutation-ygdna4kr.js} +5 -5
  273. package/dist/chunks/{models-dev-as7cf5zz.js → file-mutation-yjx32v1s.js} +4 -4
  274. package/dist/chunks/{models-dev-wkcrcmm0.js → file-mutation-yvd37te7.js} +19 -19
  275. package/dist/chunks/{models-dev-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{models-dev-5bmhz7h8.js → file-mutation-z39s51pd.js} +20 -20
  277. package/dist/chunks/{models-dev-w8mfq855.js → file-mutation-zkpkevqb.js} +22 -22
  278. package/dist/chunks/{models-dev-k9qdemdz.js → file-mutation-zqcjw91e.js} +17 -17
  279. package/dist/chunks/{models-dev-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{models-dev-cgz3dhkc.js → file-mutation-zrtb0087.js} +10 -10
  281. package/dist/chunks/{models-dev-143qq2q9.js → file-mutation-zx95ftzb.js} +3 -3
  282. package/dist/chunks/{models-dev-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{models-dev-16rafmdt.js → file-mutation-zy0jt0ey.js} +36 -36
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +79 -79
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +91 -91
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +93 -93
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +2 -2
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +97 -97
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +98 -98
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +101 -101
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +1 -1
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +121 -121
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +84 -84
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +1 -1
  593. package/dist/session/runner/llm.js +222 -222
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +206 -206
  638. package/dist/tool/plugin/skill.js +105 -105
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/types/aisdk-native.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +3 -3
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +1 -1
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +77 -77
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/models-dev-by5v678g.js +0 -18
  682. package/dist/chunks/models-dev-k0b2y79r.js +0 -253
  683. package/dist/chunks/models-dev-pkx2dq04.js +0 -507
  684. package/dist/chunks/models-dev-x7z75zrq.js +0 -26
  685. /package/dist/chunks/{models-dev-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{models-dev-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{models-dev-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{models-dev-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{models-dev-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{models-dev-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{models-dev-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{models-dev-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{models-dev-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{models-dev-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{models-dev-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{models-dev-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  697. /package/dist/chunks/{models-dev-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{models-dev-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{models-dev-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{models-dev-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{models-dev-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{models-dev-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{models-dev-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{models-dev-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{models-dev-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  706. /package/dist/chunks/{models-dev-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{models-dev-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{models-dev-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  709. /package/dist/chunks/{models-dev-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{models-dev-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{models-dev-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  712. /package/dist/chunks/{models-dev-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{models-dev-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{models-dev-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{models-dev-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{models-dev-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{models-dev-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{models-dev-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{models-dev-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{models-dev-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{models-dev-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{models-dev-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{models-dev-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{models-dev-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{models-dev-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{models-dev-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{models-dev-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{models-dev-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{models-dev-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{models-dev-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  731. /package/dist/chunks/{models-dev-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{models-dev-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{models-dev-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{models-dev-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{models-dev-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{models-dev-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{models-dev-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{models-dev-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{models-dev-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{models-dev-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{models-dev-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{models-dev-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{models-dev-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  744. /package/dist/chunks/{models-dev-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{models-dev-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  746. /package/dist/chunks/{models-dev-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{models-dev-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  748. /package/dist/chunks/{models-dev-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{models-dev-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{models-dev-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{models-dev-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{models-dev-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{models-dev-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{models-dev-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{models-dev-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{models-dev-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{models-dev-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{models-dev-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{models-dev-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{models-dev-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{models-dev-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{models-dev-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{models-dev-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{models-dev-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{models-dev-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{models-dev-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{models-dev-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{models-dev-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{models-dev-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{models-dev-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{models-dev-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{models-dev-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{models-dev-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{models-dev-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  775. /package/dist/chunks/{models-dev-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{models-dev-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{models-dev-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{models-dev-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{models-dev-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{models-dev-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{models-dev-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./models-dev-kb426ejq.js";
2
+ Service83,
3
+ node87
4
+ } from "./file-mutation-s1gjyzhy.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./models-dev-rdw6cm16.js";
8
+ } from "./file-mutation-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./models-dev-x661k3y3.js";
11
+ } from "./file-mutation-gqtdsdt7.js";
12
12
  import {
13
- ID11,
14
- Service72,
15
- node76,
16
- Event17
17
- } from "./models-dev-qvna2bbv.js";
13
+ ID8,
14
+ Service67,
15
+ node70,
16
+ Event16
17
+ } from "./file-mutation-j8k9xj39.js";
18
18
  import {
19
- Service77,
20
- node81
21
- } from "./models-dev-tfyyarmg.js";
19
+ Service80,
20
+ node84
21
+ } from "./file-mutation-jcvj30yp.js";
22
22
  import {
23
23
  __export
24
- } from "./models-dev-9rqn6x4v.js";
24
+ } from "./file-mutation-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event16,
42
- ID: () => ID10,
43
- Info: () => Info21,
41
+ Event: () => Event15,
42
+ ID: () => ID7,
43
+ Info: () => Info17,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request3,
47
- Service: () => Service71,
46
+ Request: () => Request2,
47
+ Service: () => Service66,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node75,
57
+ node: () => node69,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event16 } from "@opencode/schema/provider";
72
- var ID10 = Provider.ID;
71
+ import { Event as Event15 } from "@opencode/schema/provider";
72
+ var ID7 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -227,13 +227,13 @@ function mergeHeaders2(base, overlay) {
227
227
  return result;
228
228
  }, new Map).values());
229
229
  }
230
- var Request3 = Provider.Request;
230
+ var Request2 = Provider.Request;
231
231
  var Compaction3 = Provider.Compaction;
232
232
  var Transport2 = Provider.Transport;
233
233
  var Settings2 = Provider.Settings;
234
- var Info21 = Provider.Info;
234
+ var Info17 = Provider.Info;
235
235
 
236
- class Service71 extends Context.Service()("@opencode/Provider") {
236
+ class Service66 extends Context.Service()("@opencode/Provider") {
237
237
  }
238
238
  var definitions = new WeakMap;
239
239
  function index(providerID, models) {
@@ -246,10 +246,10 @@ function index(providerID, models) {
246
246
  definitions.set(models, indexes);
247
247
  return result;
248
248
  }
249
- var layer = Layer.effect(Service71, Effect.gen(function* () {
250
- const bus = yield* Service81;
251
- const integrations = yield* Service72;
252
- const location = yield* Service77;
249
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
250
+ const bus = yield* Service83;
251
+ const integrations = yield* Service67;
252
+ const location = yield* Service80;
253
253
  const state = create3({
254
254
  name: "provider",
255
255
  initial: () => new Map,
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
260
260
  const current = records.get(id);
261
261
  if (current)
262
262
  return current;
263
- const added = { provider: Info21.empty(id), models: new Map };
263
+ const added = { provider: Info17.empty(id), models: new Map };
264
264
  records.set(id, added);
265
265
  maps.add(added.models);
266
266
  return added;
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
341
341
  const available = Array.from(records.values()).filter((record) => {
342
342
  if (record.provider.activation === "disabled")
343
343
  return false;
344
- const integration = byID.get(record.provider.integrationID ?? ID11.make(record.provider.id));
344
+ const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
345
345
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
346
346
  return false;
347
347
  if (record.provider.activation === "enabled")
@@ -367,8 +367,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
367
367
  location: { directory: location.directory, workspaceID: location.workspaceID }
368
368
  });
369
369
  });
370
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
371
- return Service71.of({
370
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
371
+ return Service66.of({
372
372
  transform: state.transform,
373
373
  reload: state.reload,
374
374
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
377
377
  snapshot
378
378
  });
379
379
  }));
380
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node85, node76, node81] });
380
+ var node69 = makeLocationNode({ service: Service66, layer, deps: [node87, node70, node84] });
381
381
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
382
382
  const module = yield* Effect.tryPromise({
383
383
  try: () => {
@@ -502,10 +502,11 @@ function native2(npm, context) {
502
502
  return host;
503
503
  if (npm === "@ai-sdk/amazon-bedrock/mantle")
504
504
  return mantle(context.modelID);
505
- if (npm === "@ai-sdk/azure" && context.settings?.useCompletionUrls === true)
505
+ if (npm === "@ai-sdk/azure" && azureChat(context))
506
506
  return "@opencode/ai/providers/azure/chat";
507
507
  return PACKAGES[npm];
508
508
  }
509
+ var azureChat = (context) => context.shape === "completions" || context.settings?.useCompletionUrls === true;
509
510
  var mantle = (modelID) => {
510
511
  if (modelID === undefined)
511
512
  return "@opencode/ai/providers/amazon-bedrock/mantle";
@@ -517,7 +518,7 @@ function resolve(specifier, context) {
517
518
  return native2(npm, context);
518
519
  if (npm === "@opencode/ai/providers/amazon-bedrock/mantle")
519
520
  return mantle(context.modelID);
520
- if (npm === "@opencode/ai/providers/azure/responses" && context.settings?.useCompletionUrls === true)
521
+ if (npm === "@opencode/ai/providers/azure/responses" && azureChat(context))
521
522
  return "@opencode/ai/providers/azure/chat";
522
523
  return NATIVE.has(npm) ? npm : undefined;
523
524
  }
@@ -650,4 +651,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
650
651
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
651
652
  var decode = Schema2.decodeUnknownSync(Legacy);
652
653
 
653
- export { rewrite2, native2, exports_aisdk_native, ID10, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service71, node75, exports_provider3, Event16 };
654
+ export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service66, node69, exports_provider3, Event15 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./models-dev-02pnmv3p.js";
4
+ } from "./file-mutation-q752a12t.js";
5
5
  import {
6
6
  lazy2
7
- } from "./models-dev-88xbtdfr.js";
7
+ } from "./file-mutation-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./models-dev-y1fvbwt7.js";
10
+ } from "./file-mutation-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./models-dev-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./models-dev-emrn6kk6.js";
5
+ } from "./file-mutation-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./models-dev-6q44kjsg.js";
3
+ } from "./file-mutation-7q62a8nt.js";
4
4
  import {
5
5
  call2
6
- } from "./models-dev-56gdpj1q.js";
6
+ } from "./file-mutation-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./models-dev-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin38,
14
+ Plugin: () => Plugin26,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint5 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin38 = define({
50
+ var Plugin26 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin38 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin38 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin38, exports_parallel };
96
+ export { endpoint5, Plugin26, exports_parallel };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./models-dev-z5v4ffb3.js";
4
+ } from "./file-mutation-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service79,
9
- node83
10
- } from "./models-dev-c26tg910.js";
8
+ Service82,
9
+ node86
10
+ } from "./file-mutation-ep44p4pe.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./models-dev-tfyyarmg.js";
12
+ Service80,
13
+ node84
14
+ } from "./file-mutation-jcvj30yp.js";
15
15
  import {
16
16
  create3
17
- } from "./models-dev-rdw6cm16.js";
17
+ } from "./file-mutation-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./models-dev-9rqn6x4v.js";
20
+ } from "./file-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error5,
26
- ID: () => ID14,
27
- Service: () => Service75,
26
+ ID: () => ID16,
27
+ Service: () => Service79,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node79,
29
+ node: () => node83,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID14 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service75 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service79 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service75, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID14.make(yield* git.tree.capture({
85
+ return ID16.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service75.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node79 = makeLocationNode({
144
- service: Service75,
143
+ var node83 = makeLocationNode({
144
+ service: Service79,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node81]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service75, Service75.of({
148
+ var noopLayer3 = Layer.succeed(Service79, Service79.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID14, Error5, Service75, node79, noopLayer3, exports_snapshot2 };
166
+ export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured10,
11
- layer: () => layer24,
12
- make: () => make21,
13
- node: () => node73,
10
+ configured: () => configured9,
11
+ layer: () => layer19,
12
+ make: () => make17,
13
+ node: () => node53,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make17()
20
20
  });
21
- function make21(input = {}) {
21
+ function make17(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
- var node73 = configured10();
31
+ var layer19 = (input) => Layer.succeed(Metadata2, make17(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
+ var node53 = configured9();
34
34
 
35
- export { Metadata2, make21, useragent2, layer24, configured10, node73, exports_app };
35
+ export { Metadata2, make17, useragent2, layer19, configured9, node53, exports_app };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./models-dev-z5v4ffb3.js";
3
+ } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./models-dev-c26tg910.js";
5
+ Service82,
6
+ node86
7
+ } from "./file-mutation-ep44p4pe.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./models-dev-84txncab.js";
13
+ } from "./file-mutation-84txncab.js";
14
14
  import {
15
- Service83,
16
- node87
17
- } from "./models-dev-3r0f49pj.js";
15
+ Service62,
16
+ node65
17
+ } from "./file-mutation-608kr7kb.js";
18
18
  import {
19
19
  __export
20
- } from "./models-dev-9rqn6x4v.js";
20
+ } from "./file-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service42,
33
+ Service: () => Service39,
34
34
  isError: () => isError2,
35
- node: () => node45,
35
+ node: () => node42,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service42 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service39 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service42, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service79;
106
+ const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service83;
110
- return Service42.of({
109
+ const kv = yield* Service62;
110
+ return Service39.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node45 = makeGlobalNode({
171
- service: Service42,
170
+ var node42 = makeGlobalNode({
171
+ service: Service39,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node87]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node65]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service42, isError2, validateBranch2, node45, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service39, isError2, validateBranch2, node42, exports_repository_cache };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
4
- node85
5
- } from "./models-dev-kb426ejq.js";
6
- import {
7
3
  Service83,
8
4
  node87
9
- } from "./models-dev-3r0f49pj.js";
5
+ } from "./file-mutation-s1gjyzhy.js";
6
+ import {
7
+ Service62,
8
+ node65
9
+ } from "./file-mutation-608kr7kb.js";
10
10
  import {
11
11
  __export
12
- } from "./models-dev-9rqn6x4v.js";
12
+ } from "./file-mutation-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,10 +19,10 @@ __export(exports_wellknown, {
19
19
  Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service49,
22
+ Service: () => Service45,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node52,
25
+ node: () => node48,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service49 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service45 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service49, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service83;
81
- const bus = yield* Service81;
80
+ const kv = yield* Service62;
81
+ const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
112
112
  yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service49.of({
115
+ return Service45.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node87, node85] });
146
+ var node48 = makeGlobalNode({ service: Service45, layer, deps: [httpClient, node65, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event10, inspect2, resolve3, node52, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service45, Event10, inspect2, resolve3, node48, exports_wellknown };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./models-dev-gd4qta3r.js";
3
+ } from "./file-mutation-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./models-dev-rdw6cm16.js";
6
+ } from "./file-mutation-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./models-dev-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service69,
18
+ Service: () => Service46,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node72
21
+ node: () => node49
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service69 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service46 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service69, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service69.of({
119
+ return Service46.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node72 = makeLocationNode({
137
- service: Service69,
136
+ var node49 = makeLocationNode({
137
+ service: Service46,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service69, node72, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service46, node49, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};