@opencode/core 0.0.0-dev-21317 → 0.0.0-dev-21318

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{rpc-88sybas5.js → persistent-pty-035sr1nw.js} +20 -20
  8. package/dist/chunks/{rpc-0996nyz8.js → persistent-pty-0996nyz8.js} +2 -2
  9. package/dist/chunks/{rpc-g8xp5ryd.js → persistent-pty-0fjq3n4t.js} +18 -18
  10. package/dist/chunks/{rpc-ndq3tns3.js → persistent-pty-0jmk01at.js} +17 -17
  11. package/dist/chunks/{rpc-7dqw4kz8.js → persistent-pty-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{rpc-nd22kdkt.js → persistent-pty-0nndfddn.js} +30 -30
  13. package/dist/chunks/{rpc-hyay7qq8.js → persistent-pty-0rhcgknv.js} +5 -5
  14. package/dist/chunks/{rpc-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{rpc-davd2qck.js → persistent-pty-17d5gh3d.js} +32 -32
  16. package/dist/chunks/{rpc-bjx1sjef.js → persistent-pty-1ffvrpkg.js} +6 -6
  17. package/dist/chunks/{rpc-g1p1atpp.js → persistent-pty-1fj32kga.js} +18 -18
  18. package/dist/chunks/{rpc-8t9rjyy6.js → persistent-pty-1p3zcfwq.js} +11 -11
  19. package/dist/chunks/{rpc-njexvj4x.js → persistent-pty-1t2v27cd.js} +51 -51
  20. package/dist/chunks/{rpc-9p6wdtc7.js → persistent-pty-1wsnph7m.js} +7 -7
  21. package/dist/chunks/{rpc-gec39g60.js → persistent-pty-20hv8fes.js} +29 -29
  22. package/dist/chunks/{rpc-qzm6q9ch.js → persistent-pty-23zvew7z.js} +6 -6
  23. package/dist/chunks/{rpc-dgbwxr57.js → persistent-pty-24f3f4ex.js} +2 -2
  24. package/dist/chunks/{rpc-tt8gc4fv.js → persistent-pty-25yddszk.js} +3 -3
  25. package/dist/chunks/{rpc-vnb8gzb8.js → persistent-pty-2688anfm.js} +21 -21
  26. package/dist/chunks/{rpc-kc4pmtd7.js → persistent-pty-2cd9y53g.js} +17 -17
  27. package/dist/chunks/{rpc-wddqga6e.js → persistent-pty-2jqwmjzy.js} +11 -11
  28. package/dist/chunks/{rpc-4hqc72tv.js → persistent-pty-2saep75g.js} +13 -13
  29. package/dist/chunks/{rpc-3vydj3kq.js → persistent-pty-33b5xt83.js} +5 -5
  30. package/dist/chunks/{rpc-00jxnzb9.js → persistent-pty-36qpgp0j.js} +3 -3
  31. package/dist/chunks/{rpc-z2595r2k.js → persistent-pty-38963ezr.js} +15 -15
  32. package/dist/chunks/{rpc-zq01xz8r.js → persistent-pty-3cqwnyj9.js} +8 -8
  33. package/dist/chunks/{rpc-enkv1cah.js → persistent-pty-3dk6vdcf.js} +10 -10
  34. package/dist/chunks/{rpc-08pm112b.js → persistent-pty-3f2ed3kj.js} +46 -46
  35. package/dist/chunks/{rpc-yy4dw9jz.js → persistent-pty-3gdz7m67.js} +33 -33
  36. package/dist/chunks/{rpc-2ywtyz89.js → persistent-pty-3h7b0ae1.js} +3 -3
  37. package/dist/chunks/{rpc-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{rpc-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{rpc-z9eaewrq.js → persistent-pty-3r96jsjz.js} +14 -14
  40. package/dist/chunks/{rpc-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{rpc-j0cdr2fc.js → persistent-pty-3ssz1k3q.js} +8 -8
  42. package/dist/chunks/{rpc-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{rpc-zz959vma.js → persistent-pty-3y24yfnm.js} +9 -9
  44. package/dist/chunks/{rpc-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{rpc-ct53serg.js → persistent-pty-4071dj26.js} +8 -8
  46. package/dist/chunks/{rpc-cyaf7x2b.js → persistent-pty-45swxcnn.js} +43 -43
  47. package/dist/chunks/{rpc-k9vfwqcy.js → persistent-pty-4e4yjs3s.js} +1 -1
  48. package/dist/chunks/{rpc-by7vy9ry.js → persistent-pty-4ghta6c5.js} +14 -14
  49. package/dist/chunks/{rpc-w8djw5a7.js → persistent-pty-4y7j986s.js} +9 -9
  50. package/dist/chunks/{rpc-0jsbygf3.js → persistent-pty-4zvfssd5.js} +15 -15
  51. package/dist/chunks/{rpc-q3ctsp6k.js → persistent-pty-514z3gf3.js} +19 -19
  52. package/dist/chunks/{rpc-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
  53. package/dist/chunks/{rpc-9q9ehedv.js → persistent-pty-55vsgkjg.js} +20 -20
  54. package/dist/chunks/{rpc-h9v1428w.js → persistent-pty-583x3kah.js} +20 -20
  55. package/dist/chunks/{rpc-ch6w3xdz.js → persistent-pty-5b77hntt.js} +4 -4
  56. package/dist/chunks/{rpc-q65b0zw3.js → persistent-pty-5bes61s4.js} +47 -47
  57. package/dist/chunks/{rpc-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{rpc-5rw40y9k.js → persistent-pty-5mz3x8vb.js} +27 -27
  59. package/dist/chunks/{rpc-jwwcvrfa.js → persistent-pty-5r7ac250.js} +8 -8
  60. package/dist/chunks/{rpc-stw4zx2z.js → persistent-pty-5tad8fcc.js} +17 -17
  61. package/dist/chunks/{rpc-45z2phwr.js → persistent-pty-5wfxtdqx.js} +10 -10
  62. package/dist/chunks/persistent-pty-5wm8vv17.js +257 -0
  63. package/dist/chunks/{rpc-qv0sc65t.js → persistent-pty-5xqqgpy7.js} +6 -6
  64. package/dist/chunks/{rpc-pedttwxr.js → persistent-pty-5y480sgp.js} +8 -8
  65. package/dist/chunks/{rpc-f7wb66b8.js → persistent-pty-5z5javj1.js} +33 -33
  66. package/dist/chunks/{rpc-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
  67. package/dist/chunks/{rpc-4032msc3.js → persistent-pty-6bazcnan.js} +14 -14
  68. package/dist/chunks/{rpc-dn3c1mcf.js → persistent-pty-6d7mtdks.js} +38 -38
  69. package/dist/chunks/{rpc-t3p0q4cs.js → persistent-pty-6e60yqyp.js} +28 -28
  70. package/dist/chunks/{rpc-a28109tc.js → persistent-pty-6wqpa5p1.js} +17 -17
  71. package/dist/chunks/{rpc-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{rpc-x0t5pnxf.js → persistent-pty-6znwa2ze.js} +14 -14
  73. package/dist/chunks/{rpc-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
  74. package/dist/chunks/{rpc-anrp8nyn.js → persistent-pty-77awh5p4.js} +24 -24
  75. package/dist/chunks/{rpc-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{rpc-nfaj7hc4.js → persistent-pty-7ht1svp9.js} +8 -8
  77. package/dist/chunks/{rpc-tynxprqf.js → persistent-pty-7k2k32yg.js} +9 -9
  78. package/dist/chunks/{rpc-n0aztcqq.js → persistent-pty-7nskfpwv.js} +22 -22
  79. package/dist/chunks/{rpc-tgv1vth5.js → persistent-pty-8058wneq.js} +15 -15
  80. package/dist/chunks/{rpc-84txncab.js → persistent-pty-84txncab.js} +1 -1
  81. package/dist/chunks/{rpc-f15bp7fc.js → persistent-pty-86sh86sv.js} +15 -15
  82. package/dist/chunks/{rpc-7tv5fpf7.js → persistent-pty-8e9wk3v6.js} +4 -4
  83. package/dist/chunks/{rpc-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{rpc-8mywswrd.js → persistent-pty-8mywswrd.js} +1 -1
  85. package/dist/chunks/{rpc-g255r8kb.js → persistent-pty-93c0dbkk.js} +5 -5
  86. package/dist/chunks/{rpc-ymek8a0n.js → persistent-pty-983z13s5.js} +11 -11
  87. package/dist/chunks/{rpc-hde8myxm.js → persistent-pty-9a5j5arz.js} +3 -3
  88. package/dist/chunks/{rpc-2b3xhh1f.js → persistent-pty-9eq17axm.js} +9 -9
  89. package/dist/chunks/{rpc-td2fazyb.js → persistent-pty-9m1d1fqb.js} +9 -9
  90. package/dist/chunks/{rpc-enftz5nt.js → persistent-pty-9mawegkx.js} +182 -182
  91. package/dist/chunks/{rpc-e3gdw1r1.js → persistent-pty-9md2mt7s.js} +24 -24
  92. package/dist/chunks/persistent-pty-9sh4wc5j.js +18 -0
  93. package/dist/chunks/{rpc-a20pjse5.js → persistent-pty-a20pjse5.js} +3 -3
  94. package/dist/chunks/persistent-pty-a3q4bfq8.js +26 -0
  95. package/dist/chunks/{rpc-0w14remh.js → persistent-pty-a546n9dx.js} +5 -5
  96. package/dist/chunks/{rpc-x9bjgwq0.js → persistent-pty-a5v8ppv0.js} +11 -11
  97. package/dist/chunks/{rpc-8frgrze6.js → persistent-pty-a8nkje97.js} +11 -11
  98. package/dist/chunks/{rpc-4ej1p9w4.js → persistent-pty-adeqnqa8.js} +3 -3
  99. package/dist/chunks/{rpc-h1sbay6j.js → persistent-pty-am4eehff.js} +12 -12
  100. package/dist/chunks/{rpc-g7yr8gcf.js → persistent-pty-amtxxzg7.js} +23 -23
  101. package/dist/chunks/{rpc-1ve1hva8.js → persistent-pty-aqebbdxj.js} +18 -18
  102. package/dist/chunks/{rpc-58hz9pw6.js → persistent-pty-asnz67s1.js} +32 -32
  103. package/dist/chunks/{rpc-zrhb62f8.js → persistent-pty-b39zvbqb.js} +14 -14
  104. package/dist/chunks/{rpc-ecwjgqwb.js → persistent-pty-b5wyey98.js} +36 -36
  105. package/dist/chunks/{rpc-1mrh27g9.js → persistent-pty-bmc8ajke.js} +17 -17
  106. package/dist/chunks/{rpc-893fyb3c.js → persistent-pty-btd9bnp8.js} +12 -12
  107. package/dist/chunks/{rpc-bzeyqsqd.js → persistent-pty-bzeyqsqd.js} +1 -1
  108. package/dist/chunks/{rpc-rj3eygr5.js → persistent-pty-c41wscbt.js} +2 -2
  109. package/dist/chunks/{rpc-sa8ekw3f.js → persistent-pty-c8ax2afj.js} +2 -2
  110. package/dist/chunks/{rpc-tyttjw0w.js → persistent-pty-carh3x97.js} +37 -37
  111. package/dist/chunks/{rpc-rjnv3zd2.js → persistent-pty-cb7pdjkb.js} +22 -22
  112. package/dist/chunks/{rpc-pqhm9z8g.js → persistent-pty-cjx84n6d.js} +16 -16
  113. package/dist/chunks/{rpc-8d6fvqda.js → persistent-pty-cpccs97c.js} +28 -28
  114. package/dist/chunks/{rpc-d4he2qe1.js → persistent-pty-cwa6csj7.js} +9 -9
  115. package/dist/chunks/{rpc-s4b91j0y.js → persistent-pty-d4a9a1gx.js} +11 -11
  116. package/dist/chunks/{rpc-5fgmhshs.js → persistent-pty-drdy3fh6.js} +4 -4
  117. package/dist/chunks/{rpc-drwq78ky.js → persistent-pty-drwq78ky.js} +1 -1
  118. package/dist/chunks/{rpc-33v3hd7n.js → persistent-pty-eajddnhb.js} +10 -10
  119. package/dist/chunks/{rpc-dchhc6c0.js → persistent-pty-eamzdkr9.js} +6 -6
  120. package/dist/chunks/{rpc-6hh8tjw2.js → persistent-pty-edrmdtr5.js} +7 -7
  121. package/dist/chunks/{rpc-6thh7prw.js → persistent-pty-edx5d1yh.js} +9 -9
  122. package/dist/chunks/{rpc-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{rpc-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{rpc-zezswsb1.js → persistent-pty-ef9fmmj9.js} +11 -11
  125. package/dist/chunks/{rpc-zqq0bw5m.js → persistent-pty-eksc9b63.js} +17 -17
  126. package/dist/chunks/{rpc-cyawa949.js → persistent-pty-emhr29ne.js} +15 -15
  127. package/dist/chunks/{rpc-h1p8pfjz.js → persistent-pty-ep3f3pzc.js} +85 -85
  128. package/dist/chunks/{rpc-7gzma787.js → persistent-pty-eqefekej.js} +4 -4
  129. package/dist/chunks/{rpc-rccf3xte.js → persistent-pty-er69x7n9.js} +46 -46
  130. package/dist/chunks/{rpc-c1fqxshp.js → persistent-pty-es1vcfrp.js} +3 -3
  131. package/dist/chunks/{rpc-k142x1ht.js → persistent-pty-ez3v055x.js} +7 -7
  132. package/dist/chunks/{rpc-kw8539bv.js → persistent-pty-f6pky1vc.js} +27 -27
  133. package/dist/chunks/{rpc-5tqfz9j8.js → persistent-pty-fcs9x2eq.js} +16 -16
  134. package/dist/chunks/{rpc-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
  135. package/dist/chunks/{rpc-0b3mjyaj.js → persistent-pty-fjr4y1sz.js} +35 -35
  136. package/dist/chunks/{rpc-7jj686hc.js → persistent-pty-fs2f0xkk.js} +19 -19
  137. package/dist/chunks/{rpc-rptgsz2k.js → persistent-pty-fx5bd5w2.js} +24 -24
  138. package/dist/chunks/{rpc-zkdr3trz.js → persistent-pty-g0fh3ss2.js} +24 -24
  139. package/dist/chunks/{rpc-byfnn1yt.js → persistent-pty-g4f8ytex.js} +7 -7
  140. package/dist/chunks/{rpc-j6ktnsbj.js → persistent-pty-g8mv3vbb.js} +12 -12
  141. package/dist/chunks/{rpc-r7vb4k0a.js → persistent-pty-gbe60986.js} +12 -12
  142. package/dist/chunks/{rpc-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{rpc-nw0vbtkz.js → persistent-pty-h03re434.js} +10 -10
  144. package/dist/chunks/{rpc-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{rpc-dtqg9ce1.js → persistent-pty-h9rm1rrn.js} +5 -5
  146. package/dist/chunks/{rpc-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
  147. package/dist/chunks/{rpc-hq3c8me3.js → persistent-pty-hq3c8me3.js} +1 -1
  148. package/dist/chunks/{rpc-6f0mpgjx.js → persistent-pty-hq42ga31.js} +4 -4
  149. package/dist/chunks/{rpc-fjat486w.js → persistent-pty-hsm9kfyy.js} +20 -20
  150. package/dist/chunks/{rpc-cq9r63kb.js → persistent-pty-hsnnjyxg.js} +25 -25
  151. package/dist/chunks/{rpc-2csyvhj5.js → persistent-pty-j0aph1pe.js} +11 -11
  152. package/dist/chunks/{rpc-benkh0ne.js → persistent-pty-j15m0rxy.js} +7 -7
  153. package/dist/chunks/{rpc-4586qpea.js → persistent-pty-j1ycnkr6.js} +4 -4
  154. package/dist/chunks/{rpc-t8yrtgjx.js → persistent-pty-j4fafyv9.js} +16 -14
  155. package/dist/chunks/{rpc-cr81ydc1.js → persistent-pty-j6hdhn3t.js} +4 -4
  156. package/dist/chunks/{rpc-z5xa59k4.js → persistent-pty-jfp883ba.js} +3 -3
  157. package/dist/chunks/{rpc-spdyatzf.js → persistent-pty-jg4qz7te.js} +24 -24
  158. package/dist/chunks/{rpc-veff5j2c.js → persistent-pty-jyj86nsz.js} +21 -21
  159. package/dist/chunks/{rpc-9tk9j4pe.js → persistent-pty-k0y4bd87.js} +29 -29
  160. package/dist/chunks/{rpc-xhht67kb.js → persistent-pty-k2e5s4re.js} +18 -18
  161. package/dist/chunks/{rpc-yhvd17me.js → persistent-pty-k41hn50r.js} +25 -23
  162. package/dist/chunks/{rpc-k76fn4kw.js → persistent-pty-k76fn4kw.js} +1 -1
  163. package/dist/chunks/{rpc-7a74wjkd.js → persistent-pty-k9rjnmc5.js} +4 -4
  164. package/dist/chunks/{rpc-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
  165. package/dist/chunks/{rpc-sce1vgyn.js → persistent-pty-m662wk7b.js} +3 -3
  166. package/dist/chunks/{rpc-q2rh4y1n.js → persistent-pty-m9sgcpcv.js} +4 -4
  167. package/dist/chunks/{rpc-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  168. package/dist/chunks/{rpc-bbdjexyb.js → persistent-pty-makc3bj9.js} +32 -32
  169. package/dist/chunks/{rpc-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  170. package/dist/chunks/{rpc-csqy2ej0.js → persistent-pty-mb1r8vg9.js} +29 -29
  171. package/dist/chunks/{rpc-wgcwex3a.js → persistent-pty-me0hkc2z.js} +11 -11
  172. package/dist/chunks/{rpc-hrfx14v9.js → persistent-pty-mgx30ams.js} +13 -13
  173. package/dist/chunks/{rpc-02ap8j7c.js → persistent-pty-mk51tt9h.js} +19 -19
  174. package/dist/chunks/{rpc-nrnz1hj7.js → persistent-pty-mm2wf4xp.js} +47 -47
  175. package/dist/chunks/{rpc-f4rze370.js → persistent-pty-msxpg58k.js} +5 -5
  176. package/dist/chunks/{rpc-dpa5xhb4.js → persistent-pty-mxfgkdzc.js} +42 -42
  177. package/dist/chunks/{rpc-gyyzyjff.js → persistent-pty-mxnmfhj8.js} +31 -31
  178. package/dist/chunks/{rpc-qjfd8twb.js → persistent-pty-mywch70t.js} +36 -36
  179. package/dist/chunks/{rpc-fav346qz.js → persistent-pty-n0kentm7.js} +45 -45
  180. package/dist/chunks/{rpc-3zmp6mvq.js → persistent-pty-n26v5e0b.js} +32 -32
  181. package/dist/chunks/{rpc-86qzxe6p.js → persistent-pty-n2srvep7.js} +4 -4
  182. package/dist/chunks/{rpc-kpc1hm91.js → persistent-pty-n87gffhn.js} +9 -9
  183. package/dist/chunks/{rpc-895gdsnd.js → persistent-pty-na1s3jgb.js} +21 -21
  184. package/dist/chunks/{rpc-y7nndgyc.js → persistent-pty-nd4tfyg0.js} +9 -9
  185. package/dist/chunks/{rpc-jhsnzz9y.js → persistent-pty-ny7egkeb.js} +32 -32
  186. package/dist/chunks/{rpc-pzkkvw2v.js → persistent-pty-nyydq7ew.js} +5 -5
  187. package/dist/chunks/{rpc-79dmsh4f.js → persistent-pty-nz47wyzy.js} +10 -10
  188. package/dist/chunks/{rpc-nz56sr1f.js → persistent-pty-nz56sr1f.js} +2 -2
  189. package/dist/chunks/{rpc-zjx3dfpq.js → persistent-pty-pah6vszw.js} +54 -54
  190. package/dist/chunks/{rpc-hqqv916v.js → persistent-pty-phvw6tnp.js} +18 -18
  191. package/dist/chunks/{rpc-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{rpc-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  193. package/dist/chunks/{rpc-4bgz7na6.js → persistent-pty-pv0cg4pn.js} +13 -13
  194. package/dist/chunks/{rpc-8brhn7pv.js → persistent-pty-pzs9fcbn.js} +82 -82
  195. package/dist/chunks/{rpc-m772a2nk.js → persistent-pty-q2mbf3pn.js} +23 -23
  196. package/dist/chunks/{rpc-bx9tw11q.js → persistent-pty-q37amjjg.js} +8 -8
  197. package/dist/chunks/{rpc-sygj34gt.js → persistent-pty-q7468z42.js} +21 -21
  198. package/dist/chunks/{rpc-kyn2zspx.js → persistent-pty-qaswbwd2.js} +18 -18
  199. package/dist/chunks/{rpc-6e5y98rw.js → persistent-pty-qeee8n96.js} +2 -2
  200. package/dist/chunks/{rpc-7hx68391.js → persistent-pty-qkt0m9pt.js} +25 -25
  201. package/dist/chunks/{rpc-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{rpc-dsdptgac.js → persistent-pty-qnjyk5by.js} +38 -38
  203. package/dist/chunks/{rpc-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  204. package/dist/chunks/{rpc-r2z489rp.js → persistent-pty-r2z489rp.js} +1 -1
  205. package/dist/chunks/{rpc-nxwp04ag.js → persistent-pty-r66vvgts.js} +22 -22
  206. package/dist/chunks/{rpc-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  207. package/dist/chunks/persistent-pty-rety19fn.js +517 -0
  208. package/dist/chunks/{rpc-rkprpv83.js → persistent-pty-rkprpv83.js} +2 -2
  209. package/dist/chunks/{rpc-p7ewv77c.js → persistent-pty-rq7yc33n.js} +5 -5
  210. package/dist/chunks/{rpc-ss358qx3.js → persistent-pty-rrt0a0ha.js} +3 -3
  211. package/dist/chunks/{rpc-qc67d349.js → persistent-pty-rs9qg7cf.js} +11 -11
  212. package/dist/chunks/{rpc-bc9tah8j.js → persistent-pty-rzs3gq0x.js} +8 -8
  213. package/dist/chunks/{rpc-txm3e8qz.js → persistent-pty-s2z0d44b.js} +4 -4
  214. package/dist/chunks/{rpc-77a8pby6.js → persistent-pty-s33waz5b.js} +26 -26
  215. package/dist/chunks/{rpc-czvnsba0.js → persistent-pty-s670sq9m.js} +11 -11
  216. package/dist/chunks/{rpc-76yfn11e.js → persistent-pty-s6an5wth.js} +21 -21
  217. package/dist/chunks/{rpc-pb6e7513.js → persistent-pty-sk770vk8.js} +34 -34
  218. package/dist/chunks/{rpc-70wbgdde.js → persistent-pty-sm301jd3.js} +5 -5
  219. package/dist/chunks/{rpc-hw77q6fs.js → persistent-pty-sqk4q3nv.js} +11 -11
  220. package/dist/chunks/{rpc-b6ksnx6d.js → persistent-pty-sqmmasjp.js} +19 -19
  221. package/dist/chunks/{rpc-bc1qbg2y.js → persistent-pty-sx8q409h.js} +50 -50
  222. package/dist/chunks/{rpc-7pgfbpgc.js → persistent-pty-sxvetcyn.js} +25 -25
  223. package/dist/chunks/{rpc-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
  224. package/dist/chunks/{rpc-q2wkjcq3.js → persistent-pty-t1ndffwz.js} +11 -11
  225. package/dist/chunks/{rpc-2s32b1pm.js → persistent-pty-t4b6mted.js} +2 -2
  226. package/dist/chunks/{rpc-jr66w75k.js → persistent-pty-t4q75hqt.js} +5 -5
  227. package/dist/chunks/{rpc-eaj1djv9.js → persistent-pty-t550f9t1.js} +8 -8
  228. package/dist/chunks/{rpc-jsba75yt.js → persistent-pty-t7errb51.js} +4 -4
  229. package/dist/chunks/{rpc-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{rpc-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{rpc-4kvrjvaf.js → persistent-pty-tcyndk34.js} +13 -13
  232. package/dist/chunks/{rpc-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  233. package/dist/chunks/{rpc-rert0e01.js → persistent-pty-tkb22qbm.js} +2 -2
  234. package/dist/chunks/{rpc-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{rpc-cmwkp3r5.js → persistent-pty-tpw6cwsb.js} +8 -8
  236. package/dist/chunks/{rpc-ftm64v0w.js → persistent-pty-tv4xwgy3.js} +18 -18
  237. package/dist/chunks/{rpc-5pczf1s7.js → persistent-pty-ty2f7v9a.js} +10 -10
  238. package/dist/chunks/{rpc-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
  239. package/dist/chunks/{rpc-01eq5551.js → persistent-pty-v40z4tye.js} +55 -55
  240. package/dist/chunks/{rpc-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{rpc-5bjhv7bx.js → persistent-pty-v9dvedb1.js} +13 -13
  242. package/dist/chunks/{rpc-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{rpc-hkq80jaq.js → persistent-pty-vh14538p.js} +16 -16
  244. package/dist/chunks/{rpc-aha1yb52.js → persistent-pty-vhgfq7sf.js} +19 -19
  245. package/dist/chunks/{rpc-5dsat6dj.js → persistent-pty-vpzmhxff.js} +9 -9
  246. package/dist/chunks/{rpc-mmpzk464.js → persistent-pty-vqeemvyx.js} +20 -20
  247. package/dist/chunks/{rpc-ggbh8asv.js → persistent-pty-vqsk1a30.js} +13 -13
  248. package/dist/chunks/{rpc-g6yfr6ja.js → persistent-pty-vrrq7v3g.js} +5 -5
  249. package/dist/chunks/{rpc-5qrjjsm0.js → persistent-pty-vy5j2tyc.js} +1 -1
  250. package/dist/chunks/{rpc-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{rpc-ccnr14qc.js → persistent-pty-w1w1g3rz.js} +11 -11
  252. package/dist/chunks/{rpc-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{rpc-1g16v4dv.js → persistent-pty-w7vq87x6.js} +16 -16
  254. package/dist/chunks/{rpc-v7z2bvyd.js → persistent-pty-wa9g86nq.js} +4 -4
  255. package/dist/chunks/{rpc-cdpaedqb.js → persistent-pty-wbk0qewy.js} +11 -11
  256. package/dist/chunks/{rpc-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  257. package/dist/chunks/{rpc-972jds6k.js → persistent-pty-wgahhr0x.js} +8 -8
  258. package/dist/chunks/{rpc-sq13d96m.js → persistent-pty-whb9jbcp.js} +8 -8
  259. package/dist/chunks/{rpc-0hy8befc.js → persistent-pty-x39rm370.js} +21 -21
  260. package/dist/chunks/{rpc-db2wf4at.js → persistent-pty-x661k3y3.js} +4 -4
  261. package/dist/chunks/{rpc-1vm2jr1m.js → persistent-pty-x6msxz42.js} +21 -21
  262. package/dist/chunks/{rpc-v210v162.js → persistent-pty-x8ga927e.js} +7 -7
  263. package/dist/chunks/{rpc-7vws6z87.js → persistent-pty-x9yke5vr.js} +11 -11
  264. package/dist/chunks/{rpc-xjz1052a.js → persistent-pty-xaazkcd4.js} +15 -15
  265. package/dist/chunks/{rpc-0hf9g8pg.js → persistent-pty-xcd0eash.js} +6 -6
  266. package/dist/chunks/{rpc-teyvr9pn.js → persistent-pty-xda8t08s.js} +15 -15
  267. package/dist/chunks/{rpc-q5acm4m4.js → persistent-pty-xnc4q7tf.js} +19 -19
  268. package/dist/chunks/{rpc-wwrfz3b0.js → persistent-pty-xxsrzv4p.js} +36 -36
  269. package/dist/chunks/{rpc-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{rpc-hy1sb00p.js → persistent-pty-y40k0vp3.js} +30 -30
  271. package/dist/chunks/{rpc-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  272. package/dist/chunks/{rpc-sw038fb9.js → persistent-pty-y8p4cb47.js} +15 -15
  273. package/dist/chunks/{rpc-f5arb8be.js → persistent-pty-ydkcdr9n.js} +26 -26
  274. package/dist/chunks/{rpc-6q7pxhem.js → persistent-pty-ye0tt9gc.js} +4 -4
  275. package/dist/chunks/{rpc-megydfs1.js → persistent-pty-yf9n42xk.js} +6 -6
  276. package/dist/chunks/{rpc-gj71zhbs.js → persistent-pty-ygdna4kr.js} +5 -5
  277. package/dist/chunks/{rpc-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{rpc-8fvc1552.js → persistent-pty-yysedm6f.js} +30 -30
  279. package/dist/chunks/{rpc-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{rpc-gbtxxg6d.js → persistent-pty-z0gbbqnd.js} +33 -33
  281. package/dist/chunks/{rpc-z18fegx4.js → persistent-pty-z18fegx4.js} +1 -1
  282. package/dist/chunks/{rpc-wr93r6cw.js → persistent-pty-zft5sqdw.js} +18 -18
  283. package/dist/chunks/{rpc-76rvckpe.js → persistent-pty-zjtrsxny.js} +5 -5
  284. package/dist/chunks/{rpc-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{rpc-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{rpc-9z8xgd1b.js → persistent-pty-zz9094w6.js} +15 -15
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +215 -215
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +98 -98
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +115 -115
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +2 -2
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +219 -219
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +103 -103
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +213 -213
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +91 -91
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +1 -1
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +118 -118
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +107 -107
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +82 -82
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/rpc-1rnp160z.js +0 -257
  692. package/dist/chunks/rpc-vnkjks7b.js +0 -18
  693. package/dist/chunks/rpc-y9sqk9tm.js +0 -517
  694. package/dist/chunks/rpc-zgrqbn7y.js +0 -26
  695. /package/dist/chunks/{rpc-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{rpc-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{rpc-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{rpc-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{rpc-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{rpc-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{rpc-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{rpc-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{rpc-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{rpc-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{rpc-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{rpc-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  707. /package/dist/chunks/{rpc-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{rpc-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{rpc-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{rpc-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{rpc-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{rpc-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{rpc-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{rpc-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  715. /package/dist/chunks/{rpc-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{rpc-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{rpc-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  718. /package/dist/chunks/{rpc-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{rpc-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{rpc-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{rpc-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  722. /package/dist/chunks/{rpc-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{rpc-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{rpc-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{rpc-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{rpc-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{rpc-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{rpc-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{rpc-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{rpc-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{rpc-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{rpc-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{rpc-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{rpc-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{rpc-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{rpc-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{rpc-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{rpc-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{rpc-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{rpc-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{rpc-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  742. /package/dist/chunks/{rpc-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{rpc-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{rpc-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{rpc-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{rpc-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{rpc-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{rpc-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{rpc-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{rpc-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{rpc-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{rpc-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{rpc-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  754. /package/dist/chunks/{rpc-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{rpc-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  756. /package/dist/chunks/{rpc-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{rpc-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  758. /package/dist/chunks/{rpc-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{rpc-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{rpc-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{rpc-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{rpc-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{rpc-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{rpc-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{rpc-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  766. /package/dist/chunks/{rpc-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{rpc-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{rpc-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{rpc-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{rpc-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{rpc-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{rpc-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{rpc-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{rpc-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{rpc-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{rpc-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{rpc-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{rpc-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{rpc-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{rpc-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{rpc-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{rpc-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{rpc-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{rpc-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{rpc-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{rpc-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{rpc-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{rpc-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{rpc-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{rpc-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{rpc-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{rpc-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{rpc-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{rpc-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{rpc-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{rpc-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./rpc-z5v4ffb3.js";
5
+ } from "./persistent-pty-z5v4ffb3.js";
6
6
  import {
7
- Service64,
8
- node67
9
- } from "./rpc-rptgsz2k.js";
7
+ Service80,
8
+ node83
9
+ } from "./persistent-pty-fx5bd5w2.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./rpc-maspj1v3.js";
12
+ } from "./persistent-pty-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./rpc-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service41,
24
- node: () => node45
23
+ Service: () => Service79,
24
+ node: () => node82
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service41 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service79 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error3({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service41, Effect.gen(function* () {
67
- const environment = yield* Service64;
66
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
67
+ const environment = yield* Service80;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service41.of({
95
+ return Service79.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node45 = makeLocationNode({ service: Service41, layer, deps: [node67, RipgrepBinary2.node] });
178
+ var node82 = makeLocationNode({ service: Service79, layer, deps: [node83, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service41, node45, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service79, node82, exports_ripgrep };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./rpc-q2wkjcq3.js";
3
+ } from "./persistent-pty-t1ndffwz.js";
4
4
  import {
5
5
  Service85
6
- } from "./rpc-6f0mpgjx.js";
6
+ } from "./persistent-pty-hq42ga31.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./rpc-hy1sb00p.js";
9
+ Event19
10
+ } from "./persistent-pty-y40k0vp3.js";
11
11
  import {
12
12
  key2
13
- } from "./rpc-db2wf4at.js";
13
+ } from "./persistent-pty-x661k3y3.js";
14
14
  import {
15
- ID10,
15
+ ID13,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./rpc-8fvc1552.js";
18
+ } from "./persistent-pty-yysedm6f.js";
19
19
  import {
20
- Service37
21
- } from "./rpc-nw0vbtkz.js";
20
+ Service64
21
+ } from "./persistent-pty-h03re434.js";
22
22
  import {
23
- ID9,
23
+ ID12,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./rpc-3zmp6mvq.js";
26
+ } from "./persistent-pty-n26v5e0b.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./rpc-gyyzyjff.js";
29
+ } from "./persistent-pty-mxnmfhj8.js";
30
30
  import {
31
31
  supports2,
32
- resolve2
33
- } from "./rpc-megydfs1.js";
32
+ resolve3
33
+ } from "./persistent-pty-yf9n42xk.js";
34
34
  import {
35
35
  ID3,
36
36
  Input14,
37
37
  Response2
38
- } from "./rpc-hqqv916v.js";
38
+ } from "./persistent-pty-phvw6tnp.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, FiberHandle, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID10.make("opencode"),
115
+ integrationID: ID13.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
179
179
  const bus = yield* Service85;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service37;
182
+ const managed = yield* Service64;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID10.make("opencode");
234
+ provider.integrationID = ID13.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -265,9 +265,11 @@ var OpencodePlugin2 = define({
265
265
  model.body = mergeOverlay2(model.body, config.body);
266
266
  if (config.limit !== undefined)
267
267
  model.limit = { ...model.limit, ...config.limit };
268
+ });
269
+ providers.models.update(providerID, modelID, (model) => {
268
270
  if (config.capabilities?.reasoning !== undefined)
269
271
  model.variants = [
270
- ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
272
+ ...resolve3({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
271
273
  ];
272
274
  for (const variant of config.variants ?? []) {
273
275
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -303,7 +305,7 @@ var OpencodePlugin2 = define({
303
305
  sourceConnection: snapshot.connection
304
306
  });
305
307
  }
306
- const item = providers.get(ID9.opencode);
308
+ const item = providers.get(ID12.opencode);
307
309
  if (!item)
308
310
  return;
309
311
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +317,7 @@ var OpencodePlugin2 = define({
315
317
  });
316
318
  });
317
319
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID9.opencode);
320
+ const item = models.provider.get(ID12.opencode);
319
321
  if (!item)
320
322
  return;
321
323
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -404,7 +406,7 @@ var OpencodePlugin2 = define({
404
406
  });
405
407
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
408
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
409
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
410
  });
409
411
  yield* guard(snapshot);
410
412
  const polling = yield* FiberHandle.make();
@@ -415,7 +417,7 @@ var OpencodePlugin2 = define({
415
417
  onlyIfMissing: true
416
418
  });
417
419
  });
418
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
420
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
419
421
  yield* poll();
420
422
  })
421
423
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./rpc-tm0kqsz3.js";
5
+ } from "./persistent-pty-tm0kqsz3.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./rpc-3zmp6mvq.js";
9
+ } from "./persistent-pty-n26v5e0b.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./rpc-gyyzyjff.js";
13
+ } from "./persistent-pty-mxnmfhj8.js";
14
14
  import {
15
15
  __export
16
- } from "./rpc-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./rpc-bc1qbg2y.js";
3
+ } from "./persistent-pty-sx8q409h.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./rpc-pkyv6v7h.js";
6
+ } from "./persistent-pty-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./rpc-550bvhaj.js";
3
+ } from "./persistent-pty-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./rpc-j5zkgpj8.js";
6
+ } from "./persistent-pty-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./rpc-3asan66x.js";
9
+ } from "./persistent-pty-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./rpc-dtqg9ce1.js";
12
+ } from "./persistent-pty-h9rm1rrn.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./rpc-emrn6kk6.js";
7
+ } from "./persistent-pty-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./rpc-db2wf4at.js";
3
+ } from "./persistent-pty-x661k3y3.js";
4
4
  import {
5
5
  Service85
6
- } from "./rpc-6f0mpgjx.js";
6
+ } from "./persistent-pty-hq42ga31.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./rpc-hy1sb00p.js";
9
+ Event19
10
+ } from "./persistent-pty-y40k0vp3.js";
11
11
  import {
12
- ID10,
12
+ ID13,
13
13
  MethodID2
14
- } from "./rpc-8fvc1552.js";
14
+ } from "./persistent-pty-yysedm6f.js";
15
15
  import {
16
- ID9,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service69
20
- } from "./rpc-3zmp6mvq.js";
19
+ Service72
20
+ } from "./persistent-pty-n26v5e0b.js";
21
21
  import {
22
- ID5
23
- } from "./rpc-gyyzyjff.js";
22
+ ID11
23
+ } from "./persistent-pty-mxnmfhj8.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./rpc-czvnsba0.js";
27
+ } from "./persistent-pty-s670sq9m.js";
28
28
  import {
29
29
  useragent2
30
- } from "./rpc-q2wkjcq3.js";
30
+ } from "./persistent-pty-t1ndffwz.js";
31
31
  import {
32
- ID15
33
- } from "./rpc-76yfn11e.js";
32
+ ID9
33
+ } from "./persistent-pty-s6an5wth.js";
34
34
  import {
35
35
  get5
36
- } from "./rpc-54ma36ye.js";
36
+ } from "./persistent-pty-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID10.make("github-copilot"),
68
+ integrationID: ID13.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service69;
166
+ const providers = yield* Service72;
167
167
  const bus = yield* Service85;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID9.githubCopilot);
183
+ const provider = yield* providers.get(ID12.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID9.githubCopilot);
205
+ const item = evt.get(ID12.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID9.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
234
- models.update(ID9.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
234
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID9.githubCopilot)
243
+ if (evt.model.providerID !== ID12.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID9.githubCopilot)
252
+ if (evt.model.providerID !== ID12.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID9.githubCopilot });
262
+ }), { providerID: ID12.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID9.githubCopilot)
264
+ if (evt.model.providerID !== ID12.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID9.githubCopilot });
279
+ }), { providerID: ID12.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID9.githubCopilot)
281
+ if (evt.model.providerID !== ID12.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID9.githubCopilot });
289
+ }), { providerID: ID12.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID9.githubCopilot)
291
+ if (evt.model.providerID !== ID12.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./rpc-qaymkmh1.js";
3
+ } from "./persistent-pty-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./rpc-6f0mpgjx.js";
4
+ } from "./persistent-pty-hq42ga31.js";
5
5
  import {
6
- Service27,
7
- node30
8
- } from "./rpc-njexvj4x.js";
6
+ Service33,
7
+ node36
8
+ } from "./persistent-pty-1t2v27cd.js";
9
9
  import {
10
- Service77,
11
- node81
12
- } from "./rpc-01eq5551.js";
10
+ Service58,
11
+ node60
12
+ } from "./persistent-pty-v40z4tye.js";
13
13
  import {
14
- Service36,
15
- node40
16
- } from "./rpc-e3gdw1r1.js";
14
+ Service38,
15
+ node41
16
+ } from "./persistent-pty-9md2mt7s.js";
17
17
  import {
18
18
  __export
19
- } from "./rpc-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service26,
26
- layer: () => layer12,
27
- name: () => name15,
25
+ Service: () => Service31,
26
+ layer: () => layer13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node29
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service26 extends Context.Service()("@opencode/McpTool") {
38
+ class Service31 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service26, Effect.gen(function* () {
41
- const mcp = yield* Service27;
42
- const tools = yield* Service36;
40
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
41
+ const mcp = yield* Service33;
42
+ const tools = yield* Service38;
43
43
  const bus = yield* Service85;
44
- const permission = yield* Service77;
44
+ const permission = yield* Service58;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name15(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: { input: input ?? {} },
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node29 = makeLocationNode({
124
- service: Service26,
125
- layer: layer12,
126
- deps: [node40, node30, node89, node81]
123
+ var node35 = makeLocationNode({
124
+ service: Service31,
125
+ layer: layer13,
126
+ deps: [node41, node36, node89, node60]
127
127
  });
128
128
 
129
- export { namespace2, name15, Service26, layer12, node29, exports_mcp3 };
129
+ export { namespace2, name14, Service31, layer13, node35, exports_mcp3 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service47
3
- } from "./rpc-rccf3xte.js";
2
+ Service39
3
+ } from "./persistent-pty-er69x7n9.js";
4
4
  import {
5
- Service73
6
- } from "./rpc-w8djw5a7.js";
5
+ Service78
6
+ } from "./persistent-pty-4y7j986s.js";
7
7
  import {
8
8
  observe2
9
- } from "./rpc-qsdy395h.js";
9
+ } from "./persistent-pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./rpc-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin44
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin36 = define({
22
+ var Plugin44 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service47;
26
- const image = yield* Service73;
25
+ const config = yield* Service39;
26
+ const image = yield* Service78;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin36 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin36, exports_image };
46
+ export { Plugin44, exports_image };