@opencode/core 0.0.0-dev-20757 → 0.0.0-dev-20758

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{persistent-pty-h1yqkxn4.js → plugin-05jdftm3.js} +32 -32
  8. package/dist/chunks/{persistent-pty-pcdbh0j4.js → plugin-06b8tjqm.js} +42 -42
  9. package/dist/chunks/{persistent-pty-504xcjap.js → plugin-06ggqby9.js} +10 -10
  10. package/dist/chunks/{persistent-pty-ckf8nxjz.js → plugin-06x8he3q.js} +4 -4
  11. package/dist/chunks/{persistent-pty-ppjqgbs9.js → plugin-07nvsf4k.js} +30 -30
  12. package/dist/chunks/{persistent-pty-0tncg1vv.js → plugin-08azx7vb.js} +20 -20
  13. package/dist/chunks/{persistent-pty-r21y2bjh.js → plugin-08hjnr4e.js} +75 -75
  14. package/dist/chunks/{persistent-pty-vxzn4mjm.js → plugin-092bevw2.js} +4 -4
  15. package/dist/chunks/{persistent-pty-9dztgy31.js → plugin-0anxg2hy.js} +4 -4
  16. package/dist/chunks/{persistent-pty-v0es1rhs.js → plugin-0bg0bx69.js} +5 -5
  17. package/dist/chunks/{persistent-pty-9dp025y5.js → plugin-0j5ch4x2.js} +7 -7
  18. package/dist/chunks/{persistent-pty-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{persistent-pty-0n1wmc6t.js → plugin-0rq97exp.js} +25 -25
  20. package/dist/chunks/{persistent-pty-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
  21. package/dist/chunks/{persistent-pty-yb0yv9hj.js → plugin-1027hae5.js} +11 -11
  22. package/dist/chunks/{persistent-pty-9dfpqakj.js → plugin-11c8pj9k.js} +80 -80
  23. package/dist/chunks/{persistent-pty-prq7hedt.js → plugin-11dqjexa.js} +9 -9
  24. package/dist/chunks/{persistent-pty-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{persistent-pty-d2gszh5q.js → plugin-1dm5w4wz.js} +49 -49
  26. package/dist/chunks/{persistent-pty-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
  27. package/dist/chunks/{persistent-pty-1h6cxm7v.js → plugin-1kxpc97h.js} +20 -20
  28. package/dist/chunks/{persistent-pty-py3kkmfq.js → plugin-1p07q0wb.js} +4 -4
  29. package/dist/chunks/{persistent-pty-37sfe3bm.js → plugin-1pdpjhqt.js} +17 -17
  30. package/dist/chunks/{persistent-pty-mfqp6xfm.js → plugin-1ygqh575.js} +6 -6
  31. package/dist/chunks/{persistent-pty-9dvjqq84.js → plugin-1ysbc1zp.js} +30 -30
  32. package/dist/chunks/{persistent-pty-ymjtnym2.js → plugin-1z5p1kvf.js} +5 -5
  33. package/dist/chunks/{persistent-pty-96thbmfj.js → plugin-2429x8vg.js} +11 -11
  34. package/dist/chunks/{persistent-pty-094m2jc0.js → plugin-26ebw5j8.js} +7 -7
  35. package/dist/chunks/{persistent-pty-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{persistent-pty-ge24w6v9.js → plugin-2c5zhkam.js} +4 -4
  37. package/dist/chunks/{persistent-pty-mx64x80q.js → plugin-2gyx27wv.js} +9 -9
  38. package/dist/chunks/{persistent-pty-5ns9c0w0.js → plugin-2jjf33bd.js} +10 -10
  39. package/dist/chunks/{persistent-pty-qgn6gcr1.js → plugin-2k8khapm.js} +5 -5
  40. package/dist/chunks/{persistent-pty-61mpxj7t.js → plugin-2nd8jksd.js} +17 -17
  41. package/dist/chunks/{persistent-pty-qnpg3zjj.js → plugin-2pcxzsf7.js} +21 -21
  42. package/dist/chunks/{persistent-pty-hwg9mkt4.js → plugin-320bjqex.js} +5 -5
  43. package/dist/chunks/{persistent-pty-kxrxvkx4.js → plugin-32awjfk4.js} +43 -43
  44. package/dist/chunks/{persistent-pty-cbmf5txa.js → plugin-32egw0ep.js} +3 -3
  45. package/dist/chunks/{persistent-pty-ygny92wv.js → plugin-32q55df5.js} +3 -3
  46. package/dist/chunks/{persistent-pty-ff4e8v5q.js → plugin-33b8ym45.js} +30 -30
  47. package/dist/chunks/{persistent-pty-eavrwy4k.js → plugin-34hmfy8j.js} +32 -32
  48. package/dist/chunks/{persistent-pty-m3frg8rt.js → plugin-391fy393.js} +13 -13
  49. package/dist/chunks/{persistent-pty-ketf4sa0.js → plugin-3c4qezr9.js} +11 -11
  50. package/dist/chunks/{persistent-pty-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  51. package/dist/chunks/plugin-3gh35byt.js +26 -0
  52. package/dist/chunks/{persistent-pty-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{persistent-pty-1wrsvdt8.js → plugin-3j8jg9nw.js} +22 -22
  54. package/dist/chunks/{persistent-pty-fswapqhq.js → plugin-3jjcx604.js} +11 -11
  55. package/dist/chunks/{persistent-pty-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  56. package/dist/chunks/{persistent-pty-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  57. package/dist/chunks/{persistent-pty-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{persistent-pty-8rdqkcsb.js → plugin-493pwkwy.js} +13 -13
  59. package/dist/chunks/{persistent-pty-wksxstam.js → plugin-4e5pjfnh.js} +25 -25
  60. package/dist/chunks/{persistent-pty-j65xwarf.js → plugin-4f6aj8kt.js} +5 -5
  61. package/dist/chunks/{persistent-pty-nmdtbfzh.js → plugin-4gaxa8kh.js} +49 -49
  62. package/dist/chunks/{persistent-pty-42sykk0b.js → plugin-4hrcm8j6.js} +3 -3
  63. package/dist/chunks/{persistent-pty-bgs46qwx.js → plugin-4k06pz28.js} +8 -8
  64. package/dist/chunks/{persistent-pty-e4bp7q5e.js → plugin-4m8vjzqx.js} +11 -11
  65. package/dist/chunks/{persistent-pty-8nmyydee.js → plugin-4mhzv44w.js} +12 -12
  66. package/dist/chunks/{persistent-pty-49exe669.js → plugin-4n607a2z.js} +5 -5
  67. package/dist/chunks/{persistent-pty-vxzh5eqq.js → plugin-4nzwy074.js} +4 -4
  68. package/dist/chunks/{persistent-pty-4ts7tf6z.js → plugin-4ts7tf6z.js} +2 -2
  69. package/dist/chunks/{persistent-pty-8kkb60sm.js → plugin-4xsb3hs6.js} +14 -14
  70. package/dist/chunks/{persistent-pty-50mzsvk4.js → plugin-50mzsvk4.js} +1 -1
  71. package/dist/chunks/{persistent-pty-54ma36ye.js → plugin-54ma36ye.js} +1 -1
  72. package/dist/chunks/{persistent-pty-0qd1w1j5.js → plugin-55n23649.js} +9 -9
  73. package/dist/chunks/{persistent-pty-xfkkasph.js → plugin-57b9ws8p.js} +7 -7
  74. package/dist/chunks/{persistent-pty-fw6qy902.js → plugin-5c3bjzbg.js} +18 -18
  75. package/dist/chunks/{persistent-pty-ja6fbgv5.js → plugin-5czaavyq.js} +15 -15
  76. package/dist/chunks/{persistent-pty-82vtwhxh.js → plugin-5enbrya0.js} +2 -2
  77. package/dist/chunks/{persistent-pty-yqntd9h0.js → plugin-5f41ny5v.js} +22 -22
  78. package/dist/chunks/{persistent-pty-bkkeq90m.js → plugin-5k6cp939.js} +35 -35
  79. package/dist/chunks/{persistent-pty-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
  80. package/dist/chunks/{persistent-pty-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  81. package/dist/chunks/{persistent-pty-hekf1c5w.js → plugin-5ta9513b.js} +12 -12
  82. package/dist/chunks/{persistent-pty-drnf6xwf.js → plugin-63db42yp.js} +2 -2
  83. package/dist/chunks/{persistent-pty-eh16wa7e.js → plugin-65sxyan4.js} +15 -15
  84. package/dist/chunks/{persistent-pty-vws08ngw.js → plugin-65v7h52e.js} +29 -29
  85. package/dist/chunks/{persistent-pty-9x9fdyge.js → plugin-6kgskxtw.js} +6 -6
  86. package/dist/chunks/{persistent-pty-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
  87. package/dist/chunks/{persistent-pty-71az546q.js → plugin-71az546q.js} +2 -2
  88. package/dist/chunks/{persistent-pty-bdremd90.js → plugin-7272kpvj.js} +11 -11
  89. package/dist/chunks/{persistent-pty-eq1pz5kg.js → plugin-73tb2d7t.js} +3 -3
  90. package/dist/chunks/{persistent-pty-32c2s8c6.js → plugin-7adggac6.js} +15 -15
  91. package/dist/chunks/{persistent-pty-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{persistent-pty-9g5ba4sr.js → plugin-7dad3kfy.js} +9 -9
  93. package/dist/chunks/{persistent-pty-y5kja2xp.js → plugin-7kv0j4s7.js} +3 -3
  94. package/dist/chunks/{persistent-pty-1a2vdc32.js → plugin-7sth8apw.js} +11 -11
  95. package/dist/chunks/{persistent-pty-qy7fdy02.js → plugin-7sv012e1.js} +26 -26
  96. package/dist/chunks/{persistent-pty-ejr9s24d.js → plugin-7w1f2z6x.js} +5 -5
  97. package/dist/chunks/{persistent-pty-g0gfcgav.js → plugin-7zrsc3f5.js} +22 -22
  98. package/dist/chunks/{persistent-pty-pnzf6mjf.js → plugin-7zt5x37y.js} +1 -1
  99. package/dist/chunks/{persistent-pty-n4wpfnv1.js → plugin-88wnevm5.js} +21 -21
  100. package/dist/chunks/{persistent-pty-3md3hry7.js → plugin-8a60hsqh.js} +26 -26
  101. package/dist/chunks/{persistent-pty-0asdx158.js → plugin-8bchjepv.js} +1 -1
  102. package/dist/chunks/{persistent-pty-sgqg2f8q.js → plugin-8cvfc0bm.js} +4 -4
  103. package/dist/chunks/{persistent-pty-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  104. package/dist/chunks/{persistent-pty-mvf6nh1j.js → plugin-8e73z6s7.js} +24 -24
  105. package/dist/chunks/{persistent-pty-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
  106. package/dist/chunks/{persistent-pty-s87ygg5r.js → plugin-8mffgybp.js} +10 -10
  107. package/dist/chunks/{persistent-pty-zx4j0b0b.js → plugin-8n3kmt1c.js} +14 -14
  108. package/dist/chunks/{persistent-pty-v6ry9q01.js → plugin-8t65gaz4.js} +22 -22
  109. package/dist/chunks/{persistent-pty-8ehqpd8r.js → plugin-91dde8t4.js} +32 -32
  110. package/dist/chunks/{persistent-pty-ysge6ncn.js → plugin-930ytmjr.js} +42 -42
  111. package/dist/chunks/{persistent-pty-peecsdy0.js → plugin-99xqbvzd.js} +14 -14
  112. package/dist/chunks/{persistent-pty-7kyfdp6z.js → plugin-9d8a2yy3.js} +6 -6
  113. package/dist/chunks/{persistent-pty-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
  114. package/dist/chunks/{persistent-pty-mhnyy3p3.js → plugin-9f9kx6t9.js} +11 -11
  115. package/dist/chunks/{persistent-pty-g0445xdp.js → plugin-9hn6k4tm.js} +8 -8
  116. package/dist/chunks/{persistent-pty-emyk28wm.js → plugin-9p27s66n.js} +17 -17
  117. package/dist/chunks/{persistent-pty-scvmve7w.js → plugin-9vvef7vj.js} +7 -7
  118. package/dist/chunks/{persistent-pty-0rgtz50w.js → plugin-9wnskma6.js} +34 -34
  119. package/dist/chunks/{persistent-pty-b7j3e6pa.js → plugin-9wsb121e.js} +7 -7
  120. package/dist/chunks/{persistent-pty-6t4hr8r6.js → plugin-a3c7ahw6.js} +4 -4
  121. package/dist/chunks/{persistent-pty-y54kce5q.js → plugin-a8zkv2pe.js} +15 -15
  122. package/dist/chunks/{persistent-pty-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  123. package/dist/chunks/{persistent-pty-2vh07w6d.js → plugin-ae9b2d22.js} +22 -22
  124. package/dist/chunks/{persistent-pty-ws2vmpjm.js → plugin-akmb2x75.js} +25 -25
  125. package/dist/chunks/{persistent-pty-7n4w6ry8.js → plugin-amvtxfe6.js} +18 -18
  126. package/dist/chunks/{persistent-pty-xn95c7ne.js → plugin-amwnzxwh.js} +18 -18
  127. package/dist/chunks/{persistent-pty-nam5nxhh.js → plugin-aqag2c9v.js} +4 -4
  128. package/dist/chunks/{persistent-pty-xv04d7wa.js → plugin-ar26kh34.js} +17 -17
  129. package/dist/chunks/{persistent-pty-5sjzzvdy.js → plugin-avwgryr9.js} +17 -17
  130. package/dist/chunks/{persistent-pty-tjwtrm03.js → plugin-b179z9aa.js} +5 -5
  131. package/dist/chunks/{persistent-pty-snd67510.js → plugin-b18be9y0.js} +30 -30
  132. package/dist/chunks/{persistent-pty-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  133. package/dist/chunks/{persistent-pty-q76v78a4.js → plugin-b6w32ww0.js} +23 -23
  134. package/dist/chunks/{persistent-pty-1d4qa1yv.js → plugin-b6y062z6.js} +20 -20
  135. package/dist/chunks/{persistent-pty-zhaqhg6g.js → plugin-b74dvs76.js} +16 -16
  136. package/dist/chunks/{persistent-pty-xvedb59m.js → plugin-bft59c27.js} +9 -9
  137. package/dist/chunks/{persistent-pty-xf92ehtp.js → plugin-bgnxh9ws.js} +3 -3
  138. package/dist/chunks/{persistent-pty-z1fz22vh.js → plugin-bp6nxkyb.js} +9 -9
  139. package/dist/chunks/{persistent-pty-9mbx3c6g.js → plugin-c5gbtkrm.js} +32 -32
  140. package/dist/chunks/{persistent-pty-xn1vbmeg.js → plugin-c6fg679z.js} +15 -15
  141. package/dist/chunks/{persistent-pty-dysmr7k2.js → plugin-c9rjf8cy.js} +32 -32
  142. package/dist/chunks/{persistent-pty-wxagtd6d.js → plugin-cbhkx3tr.js} +44 -44
  143. package/dist/chunks/{persistent-pty-abkq1pjw.js → plugin-ck862t9c.js} +15 -15
  144. package/dist/chunks/{persistent-pty-rn484enx.js → plugin-cnw1ybh9.js} +13 -13
  145. package/dist/chunks/{persistent-pty-1gg3s3st.js → plugin-cyj9nmfd.js} +8 -8
  146. package/dist/chunks/{persistent-pty-9jzr21ep.js → plugin-d82y3xth.js} +8 -8
  147. package/dist/chunks/{persistent-pty-x661k3y3.js → plugin-db2wf4at.js} +4 -4
  148. package/dist/chunks/{persistent-pty-dpkg50ah.js → plugin-dpkg50ah.js} +1 -1
  149. package/dist/chunks/{persistent-pty-tmrd8qpe.js → plugin-dr3mn59c.js} +9 -9
  150. package/dist/chunks/{persistent-pty-map7adnp.js → plugin-e0trdp3d.js} +32 -32
  151. package/dist/chunks/{persistent-pty-hqhz58vx.js → plugin-e2mhf28a.js} +4 -4
  152. package/dist/chunks/{persistent-pty-h2saytx3.js → plugin-e4ncs75c.js} +18 -18
  153. package/dist/chunks/{persistent-pty-52aykxm2.js → plugin-e66nesxb.js} +20 -20
  154. package/dist/chunks/{persistent-pty-g7tbsqx0.js → plugin-e7c78a3c.js} +13 -13
  155. package/dist/chunks/{persistent-pty-d0gvmkv5.js → plugin-e7ewrzh6.js} +65 -65
  156. package/dist/chunks/{persistent-pty-v06x2rvj.js → plugin-e7hm9j0w.js} +3 -3
  157. package/dist/chunks/{persistent-pty-3q5w9v8n.js → plugin-e7ypp41t.js} +3 -3
  158. package/dist/chunks/{persistent-pty-7dy85ahw.js → plugin-e8vwfchq.js} +6 -6
  159. package/dist/chunks/{persistent-pty-6pb6sdx8.js → plugin-ebq1f2c4.js} +4 -4
  160. package/dist/chunks/{persistent-pty-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  161. package/dist/chunks/{persistent-pty-ked9vqb3.js → plugin-ek1j26r9.js} +17 -17
  162. package/dist/chunks/{persistent-pty-sjraay0z.js → plugin-em9t7gzc.js} +27 -27
  163. package/dist/chunks/{persistent-pty-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  164. package/dist/chunks/{persistent-pty-ccdvrwrq.js → plugin-ev3erbeg.js} +8 -8
  165. package/dist/chunks/{persistent-pty-6m05awva.js → plugin-f1p9y8zj.js} +55 -55
  166. package/dist/chunks/{persistent-pty-bp6a26mh.js → plugin-f59n54pq.js} +9 -9
  167. package/dist/chunks/{persistent-pty-38aq64y5.js → plugin-fhay06rt.js} +20 -20
  168. package/dist/chunks/{persistent-pty-t1dawjzh.js → plugin-fqtvmpfq.js} +8 -8
  169. package/dist/chunks/{persistent-pty-y8swg4d6.js → plugin-fwnv5zf0.js} +41 -41
  170. package/dist/chunks/{persistent-pty-g6yfr6ja.js → plugin-g6yfr6ja.js} +2 -2
  171. package/dist/chunks/{persistent-pty-6zxqk44r.js → plugin-g7dz6sma.js} +6 -6
  172. package/dist/chunks/{persistent-pty-yq6mmt2t.js → plugin-ga0hptyh.js} +4 -4
  173. package/dist/chunks/{persistent-pty-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  174. package/dist/chunks/{persistent-pty-rh75w547.js → plugin-gtrhej8x.js} +19 -19
  175. package/dist/chunks/{persistent-pty-yrcj3v3g.js → plugin-gw7cjrad.js} +4 -4
  176. package/dist/chunks/{persistent-pty-40mpssyg.js → plugin-h237y1hp.js} +30 -30
  177. package/dist/chunks/{persistent-pty-h2b79v29.js → plugin-h2b79v29.js} +2 -2
  178. package/dist/chunks/{persistent-pty-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  179. package/dist/chunks/{persistent-pty-t0cpmee7.js → plugin-ha18sq8v.js} +11 -11
  180. package/dist/chunks/plugin-ht5y0zrb.js +18 -0
  181. package/dist/chunks/{persistent-pty-6zwqfqhk.js → plugin-hw0qwmn2.js} +11 -11
  182. package/dist/chunks/{persistent-pty-1276degm.js → plugin-j1n7agav.js} +24 -24
  183. package/dist/chunks/{persistent-pty-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  184. package/dist/chunks/{persistent-pty-mjr85pze.js → plugin-j6e2c7xw.js} +11 -11
  185. package/dist/chunks/{persistent-pty-4ngp4gmj.js → plugin-jahgpaz9.js} +23 -23
  186. package/dist/chunks/{persistent-pty-e173yrwe.js → plugin-jnqz9a2w.js} +12 -12
  187. package/dist/chunks/{persistent-pty-frm38rby.js → plugin-k0xk7f5q.js} +28 -28
  188. package/dist/chunks/{persistent-pty-dddzyqpc.js → plugin-k3s89w80.js} +13 -13
  189. package/dist/chunks/{persistent-pty-2des930g.js → plugin-k5t7rshj.js} +32 -32
  190. package/dist/chunks/{persistent-pty-gep6bbz4.js → plugin-k6ktwx3w.js} +36 -36
  191. package/dist/chunks/{persistent-pty-5tcm9639.js → plugin-k70p9jzb.js} +9 -9
  192. package/dist/chunks/{persistent-pty-fjedc0n6.js → plugin-k83ja6p9.js} +27 -27
  193. package/dist/chunks/{persistent-pty-vbv96av7.js → plugin-kdb0wxfy.js} +14 -14
  194. package/dist/chunks/{persistent-pty-8tb93y3v.js → plugin-kdbeyht2.js} +8 -8
  195. package/dist/chunks/{persistent-pty-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{persistent-pty-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{persistent-pty-77zs8g8n.js → plugin-mbwetfdd.js} +14 -14
  198. package/dist/chunks/{persistent-pty-t845f9hx.js → plugin-mdwhmar9.js} +15 -15
  199. package/dist/chunks/{persistent-pty-yp3cv92q.js → plugin-nb1ky5fj.js} +16 -16
  200. package/dist/chunks/{persistent-pty-d2m6d01v.js → plugin-nf6gg3qx.js} +20 -20
  201. package/dist/chunks/{persistent-pty-52w7dg7x.js → plugin-nf8t0c59.js} +25 -25
  202. package/dist/chunks/{persistent-pty-4hc31b97.js → plugin-npzmw89e.js} +22 -22
  203. package/dist/chunks/{persistent-pty-c957ak9e.js → plugin-nrztd3hq.js} +14 -14
  204. package/dist/chunks/{persistent-pty-sq20rjr1.js → plugin-ntycb3pe.js} +5 -5
  205. package/dist/chunks/{persistent-pty-qnn75meq.js → plugin-nvzkeydp.js} +6 -6
  206. package/dist/chunks/{persistent-pty-a5r4xth4.js → plugin-nvzxqk3k.js} +13 -13
  207. package/dist/chunks/{persistent-pty-qwfjbs6q.js → plugin-p4vbx1px.js} +13 -13
  208. package/dist/chunks/{persistent-pty-gye40d0j.js → plugin-paa5t61c.js} +14 -14
  209. package/dist/chunks/{persistent-pty-1t9yseh2.js → plugin-pbahbm87.js} +1 -1
  210. package/dist/chunks/{persistent-pty-bdz6xynk.js → plugin-pcgtvjtb.js} +11 -11
  211. package/dist/chunks/plugin-pej1tjty.js +253 -0
  212. package/dist/chunks/{persistent-pty-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{persistent-pty-pknna89w.js → plugin-pknna89w.js} +1 -1
  214. package/dist/chunks/{persistent-pty-as7cf5zz.js → plugin-pkqb68ka.js} +4 -4
  215. package/dist/chunks/{persistent-pty-pa5kmbm8.js → plugin-pnhy747t.js} +20 -20
  216. package/dist/chunks/{persistent-pty-ghr1eecf.js → plugin-ps8620kg.js} +10 -10
  217. package/dist/chunks/{persistent-pty-d3t94897.js → plugin-pskvvnw1.js} +23 -23
  218. package/dist/chunks/{persistent-pty-q0xm7vwc.js → plugin-q0xm7vwc.js} +2 -2
  219. package/dist/chunks/plugin-q20jv0rb.js +507 -0
  220. package/dist/chunks/{persistent-pty-3j0nkq0d.js → plugin-q40dj8e5.js} +21 -21
  221. package/dist/chunks/{persistent-pty-2fd2am7y.js → plugin-q51c7908.js} +18 -18
  222. package/dist/chunks/{persistent-pty-ea8jtqgg.js → plugin-q70t7gd8.js} +9 -9
  223. package/dist/chunks/{persistent-pty-rgpk8c3t.js → plugin-qgvxkg4m.js} +179 -179
  224. package/dist/chunks/{persistent-pty-fc43n6xf.js → plugin-qkkm507d.js} +8 -8
  225. package/dist/chunks/{persistent-pty-cwa6csj7.js → plugin-qmqgtz8f.js} +9 -9
  226. package/dist/chunks/{persistent-pty-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
  227. package/dist/chunks/{persistent-pty-2bz9k98p.js → plugin-qsd76w7z.js} +7 -7
  228. package/dist/chunks/{persistent-pty-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  229. package/dist/chunks/{persistent-pty-ch4t865s.js → plugin-rav9e4bf.js} +8 -8
  230. package/dist/chunks/{persistent-pty-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{persistent-pty-kwdk7p8f.js → plugin-rmpfz9qj.js} +26 -26
  232. package/dist/chunks/{persistent-pty-smespjaf.js → plugin-rxxzktnj.js} +5 -5
  233. package/dist/chunks/{persistent-pty-yhf6nfj4.js → plugin-ry3mjkdh.js} +24 -24
  234. package/dist/chunks/{persistent-pty-qygbw77c.js → plugin-scgrse2b.js} +5 -5
  235. package/dist/chunks/{persistent-pty-msptq8w2.js → plugin-sdte03hf.js} +30 -30
  236. package/dist/chunks/{persistent-pty-k1dde556.js → plugin-snth2vya.js} +11 -11
  237. package/dist/chunks/{persistent-pty-dh6ejakv.js → plugin-sntjch4w.js} +11 -11
  238. package/dist/chunks/{persistent-pty-my4zabxr.js → plugin-ss358qx3.js} +3 -3
  239. package/dist/chunks/{persistent-pty-6j10w38a.js → plugin-sshtd9fz.js} +21 -21
  240. package/dist/chunks/{persistent-pty-2h6g5cw7.js → plugin-ssrwn3ya.js} +47 -47
  241. package/dist/chunks/{persistent-pty-8q9myf25.js → plugin-sxzvkvgj.js} +6 -6
  242. package/dist/chunks/{persistent-pty-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{persistent-pty-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{persistent-pty-tdstcens.js → plugin-tdstcens.js} +1 -1
  245. package/dist/chunks/{persistent-pty-9yj6y0aa.js → plugin-tgp6r9x7.js} +11 -11
  246. package/dist/chunks/{persistent-pty-5kbfdsfa.js → plugin-tmjk8msh.js} +10 -10
  247. package/dist/chunks/{persistent-pty-6kgg59pf.js → plugin-v1sag97x.js} +5 -5
  248. package/dist/chunks/{persistent-pty-v5dkyp31.js → plugin-v5dkyp31.js} +1 -1
  249. package/dist/chunks/{persistent-pty-yb9kj8pc.js → plugin-v65hw006.js} +27 -27
  250. package/dist/chunks/{persistent-pty-zgtbcyex.js → plugin-v71c1a1v.js} +4 -4
  251. package/dist/chunks/{persistent-pty-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  252. package/dist/chunks/{persistent-pty-qvb3nf84.js → plugin-vgx6weyf.js} +8 -8
  253. package/dist/chunks/{persistent-pty-j3yw4q5j.js → plugin-vhen0w1n.js} +5 -5
  254. package/dist/chunks/plugin-vnard5rx.js +166 -0
  255. package/dist/chunks/{persistent-pty-20ykreb2.js → plugin-vv067ckv.js} +11 -11
  256. package/dist/chunks/{persistent-pty-9pkkzrmj.js → plugin-vxp3kcg3.js} +5 -5
  257. package/dist/chunks/{persistent-pty-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{persistent-pty-84txncab.js → plugin-w1eejvng.js} +5 -5
  259. package/dist/chunks/{persistent-pty-x8nragah.js → plugin-w24qmnvj.js} +43 -43
  260. package/dist/chunks/{persistent-pty-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{persistent-pty-wd87259q.js → plugin-wd87259q.js} +1 -1
  262. package/dist/chunks/{persistent-pty-9rghtk6e.js → plugin-wfmxrmcp.js} +20 -20
  263. package/dist/chunks/{persistent-pty-ptvvbxck.js → plugin-wsv2n53z.js} +6 -6
  264. package/dist/chunks/{persistent-pty-rhjbct0v.js → plugin-wv396vej.js} +8 -8
  265. package/dist/chunks/{persistent-pty-xcwya4hk.js → plugin-x4d5q8t7.js} +9 -9
  266. package/dist/chunks/{persistent-pty-cywnvfy5.js → plugin-xakhm4tn.js} +10 -10
  267. package/dist/chunks/{persistent-pty-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{persistent-pty-tfzngn12.js → plugin-xxxym934.js} +4 -4
  269. package/dist/chunks/{persistent-pty-xyafkbt0.js → plugin-xyafkbt0.js} +3 -3
  270. package/dist/chunks/{persistent-pty-p2r9c57w.js → plugin-y0411vg4.js} +35 -35
  271. package/dist/chunks/{persistent-pty-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{persistent-pty-zsg7tck2.js → plugin-y3h5g7g6.js} +25 -25
  273. package/dist/chunks/{persistent-pty-5ttg62tg.js → plugin-yfbpz9gr.js} +17 -17
  274. package/dist/chunks/{persistent-pty-rhraev7y.js → plugin-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{persistent-pty-qm2kbj48.js → plugin-yy74f440.js} +45 -45
  276. package/dist/chunks/{persistent-pty-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{persistent-pty-0r3c1bmw.js → plugin-z6c3x22d.js} +5 -5
  278. package/dist/chunks/{persistent-pty-ybpy5619.js → plugin-zdfqscx7.js} +37 -37
  279. package/dist/chunks/{persistent-pty-27v5mrzz.js → plugin-zekzssjs.js} +3 -3
  280. package/dist/chunks/{persistent-pty-4f0xd74p.js → plugin-zf67r54m.js} +32 -32
  281. package/dist/chunks/{persistent-pty-mw3kjfgh.js → plugin-zqskxcvf.js} +16 -16
  282. package/dist/chunks/{persistent-pty-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{persistent-pty-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +82 -82
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +119 -119
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +117 -117
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +138 -138
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +120 -120
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +122 -122
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +86 -86
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +96 -96
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +71 -71
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +219 -219
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +101 -101
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +102 -102
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +92 -92
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +82 -82
  452. package/dist/instructions/builtins.js +86 -86
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +88 -88
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +132 -132
  460. package/dist/location-lifecycle.js +104 -104
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +86 -86
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +104 -104
  467. package/dist/mcp/instructions.js +130 -130
  468. package/dist/mcp/oauth.js +79 -79
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +92 -92
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +103 -103
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +114 -114
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +77 -77
  485. package/dist/plugin/command.js +103 -103
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +118 -118
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +114 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +117 -117
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +94 -94
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +73 -73
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +135 -135
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +217 -217
  551. package/dist/project/schema.js +4 -4
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +102 -102
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +90 -90
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +92 -92
  560. package/dist/repository-cache.js +82 -82
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +136 -136
  569. package/dist/session/context.js +152 -152
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +212 -212
  575. package/dist/session/execution.js +128 -128
  576. package/dist/session/generate.js +153 -153
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +80 -80
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +98 -98
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +128 -128
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +126 -126
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +163 -163
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +104 -104
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +88 -88
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +158 -158
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +206 -206
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +7 -7
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +108 -108
  623. package/dist/skill.js +113 -113
  624. package/dist/snapshot.js +94 -94
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +127 -127
  629. package/dist/tool/plugin/edit.js +121 -121
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +125 -125
  632. package/dist/tool/plugin/grep.js +125 -125
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +123 -123
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +126 -126
  638. package/dist/tool/plugin/shell.js +209 -209
  639. package/dist/tool/plugin/skill.js +112 -112
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +123 -123
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +12 -12
  648. package/dist/types/plugin/provider/google-vertex.d.ts +5 -1
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +1 -1
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +2 -2
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +1 -1
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +92 -92
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +90 -90
  670. package/dist/websearch.js +83 -83
  671. package/dist/wellknown/plugin.js +77 -77
  672. package/dist/wellknown.js +80 -80
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +81 -81
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +97 -97
  681. package/package.json +8 -8
  682. package/dist/chunks/persistent-pty-67c7by3v.js +0 -26
  683. package/dist/chunks/persistent-pty-er5qhcv3.js +0 -253
  684. package/dist/chunks/persistent-pty-phz3h32g.js +0 -18
  685. package/dist/chunks/persistent-pty-qfqfjc74.js +0 -69
  686. package/dist/chunks/persistent-pty-vk7m4zfp.js +0 -507
  687. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{persistent-pty-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-3asan66x.js → plugin-3asan66x.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-53557ph1.js → plugin-53557ph1.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-6prwharc.js → plugin-6prwharc.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-822emrt2.js → plugin-822emrt2.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-84wd9syh.js → plugin-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-df08tz66.js → plugin-df08tz66.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-g86h250q.js → plugin-g86h250q.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-gftt206x.js → plugin-gftt206x.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-hk9envan.js → plugin-hk9envan.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-x61499pn.js → plugin-x61499pn.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,253 +0,0 @@
1
- import {
2
- node66
3
- } from "./persistent-pty-3j0nkq0d.js";
4
- import {
5
- node79
6
- } from "./persistent-pty-wksxstam.js";
7
- import {
8
- node78
9
- } from "./persistent-pty-40mpssyg.js";
10
- import {
11
- node84,
12
- boundNode2
13
- } from "./persistent-pty-8kkb60sm.js";
14
- import {
15
- node77
16
- } from "./persistent-pty-dysmr7k2.js";
17
- import {
18
- node75
19
- } from "./persistent-pty-9yj6y0aa.js";
20
- import {
21
- node76
22
- } from "./persistent-pty-h1yqkxn4.js";
23
- import {
24
- node40
25
- } from "./persistent-pty-fw6qy902.js";
26
- import {
27
- configured7,
28
- node50
29
- } from "./persistent-pty-kxrxvkx4.js";
30
- import {
31
- node46
32
- } from "./persistent-pty-1276degm.js";
33
- import {
34
- node19
35
- } from "./persistent-pty-rn484enx.js";
36
- import {
37
- node58
38
- } from "./persistent-pty-eh16wa7e.js";
39
- import {
40
- node18
41
- } from "./persistent-pty-msptq8w2.js";
42
- import {
43
- DirectoryNotFoundError2,
44
- node17
45
- } from "./persistent-pty-n4wpfnv1.js";
46
- import {
47
- node74
48
- } from "./persistent-pty-qm2kbj48.js";
49
- import {
50
- node49
51
- } from "./persistent-pty-61mpxj7t.js";
52
- import {
53
- node55
54
- } from "./persistent-pty-xvedb59m.js";
55
- import {
56
- node37
57
- } from "./persistent-pty-wxagtd6d.js";
58
- import {
59
- Service57,
60
- node61
61
- } from "./persistent-pty-8q9myf25.js";
62
- import {
63
- node32
64
- } from "./persistent-pty-ked9vqb3.js";
65
- import {
66
- node67
67
- } from "./persistent-pty-t1dawjzh.js";
68
- import {
69
- node63
70
- } from "./persistent-pty-6m05awva.js";
71
- import {
72
- node62
73
- } from "./persistent-pty-qwfjbs6q.js";
74
- import {
75
- configured5,
76
- node41
77
- } from "./persistent-pty-4hc31b97.js";
78
- import {
79
- node29
80
- } from "./persistent-pty-abkq1pjw.js";
81
- import {
82
- node54
83
- } from "./persistent-pty-1wrsvdt8.js";
84
- import {
85
- node36
86
- } from "./persistent-pty-52w7dg7x.js";
87
- import {
88
- node38
89
- } from "./persistent-pty-frm38rby.js";
90
- import {
91
- node31
92
- } from "./persistent-pty-1d4qa1yv.js";
93
- import {
94
- node39
95
- } from "./persistent-pty-yhf6nfj4.js";
96
- import {
97
- node30
98
- } from "./persistent-pty-v6ry9q01.js";
99
- import {
100
- node28
101
- } from "./persistent-pty-9dfpqakj.js";
102
- import {
103
- node71
104
- } from "./persistent-pty-eavrwy4k.js";
105
- import {
106
- node70
107
- } from "./persistent-pty-bdremd90.js";
108
- import {
109
- node45
110
- } from "./persistent-pty-mhnyy3p3.js";
111
- import {
112
- node43
113
- } from "./persistent-pty-2h6g5cw7.js";
114
- import {
115
- node23
116
- } from "./persistent-pty-32c2s8c6.js";
117
- import {
118
- node24
119
- } from "./persistent-pty-6j10w38a.js";
120
- import {
121
- node53
122
- } from "./persistent-pty-d3t94897.js";
123
- import {
124
- node82
125
- } from "./persistent-pty-qnpg3zjj.js";
126
- import {
127
- node22
128
- } from "./persistent-pty-zhaqhg6g.js";
129
- import {
130
- node13
131
- } from "./persistent-pty-vws08ngw.js";
132
- import {
133
- Service13,
134
- node15
135
- } from "./persistent-pty-zsg7tck2.js";
136
- import {
137
- node56
138
- } from "./persistent-pty-7n4w6ry8.js";
139
- import {
140
- node6,
141
- bound2
142
- } from "./persistent-pty-g0445xdp.js";
143
- import {
144
- node12
145
- } from "./persistent-pty-pcdbh0j4.js";
146
- import {
147
- node10
148
- } from "./persistent-pty-rh75w547.js";
149
- import {
150
- node7
151
- } from "./persistent-pty-t845f9hx.js";
152
- import {
153
- node2
154
- } from "./persistent-pty-map7adnp.js";
155
- import {
156
- node16
157
- } from "./persistent-pty-52aykxm2.js";
158
- import {
159
- node11
160
- } from "./persistent-pty-ws2vmpjm.js";
161
- import {
162
- node9
163
- } from "./persistent-pty-d0gvmkv5.js";
164
- import {
165
- __export
166
- } from "./persistent-pty-9rqn6x4v.js";
167
-
168
- // src/instance.ts
169
- var exports_instance = {};
170
- __export(exports_instance, {
171
- Instance: () => exports_instance,
172
- Service: () => Service57,
173
- graph: () => graph2,
174
- layer: () => layer2,
175
- node: () => node61
176
- });
177
- import { Context, Effect, Layer } from "effect";
178
- import { LayerNode } from "@opencode/util/effect/layer-node";
179
- import { Node } from "@opencode/util/effect/app-node";
180
- var nodes = [
181
- node84,
182
- node15,
183
- node46,
184
- node50,
185
- node66,
186
- node40,
187
- node38,
188
- node23,
189
- node53,
190
- node78,
191
- node77,
192
- node76,
193
- node74,
194
- node75,
195
- node22,
196
- node67,
197
- node6,
198
- node2,
199
- node82,
200
- node18,
201
- node17,
202
- node70,
203
- node16,
204
- node43,
205
- node39,
206
- node29,
207
- node41,
208
- node56,
209
- node19,
210
- node58,
211
- node37,
212
- node63,
213
- node54,
214
- node45,
215
- node55,
216
- node30,
217
- node31,
218
- node32,
219
- node79,
220
- node49,
221
- node7,
222
- node36,
223
- node10,
224
- node62,
225
- node12,
226
- node11,
227
- node28,
228
- node71,
229
- node9,
230
- node24,
231
- node13
232
- ];
233
- var graph2 = LayerNode.group(nodes);
234
- var vanillaReplacements = [
235
- node50.replace(configured7({ project: false, global: false })),
236
- node41.replace(configured5({ project: false, global: false }))
237
- ];
238
- function layer2(ref, options = {}) {
239
- const startedAt = performance.now();
240
- const replacements = [
241
- ...options.discovery === false ? vanillaReplacements : [],
242
- ...options.replacements ?? [],
243
- node84.replace(boundNode2(ref)),
244
- node6.replace(bound2(options.plugins ?? []))
245
- ];
246
- return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
- directory: ref.directory,
248
- workspaceID: ref.workspaceID,
249
- durationMs: Math.round(performance.now() - startedAt)
250
- })));
251
- }
252
-
253
- export { graph2, layer2, exports_instance };
@@ -1,18 +0,0 @@
1
- import {
2
- __export
3
- } from "./persistent-pty-9rqn6x4v.js";
4
-
5
- // src/plugin/service.ts
6
- var exports_service = {};
7
- __export(exports_service, {
8
- Plugin: () => exports_service,
9
- Service: () => Service23,
10
- awaitActivation: () => awaitActivation2
11
- });
12
- import { Context } from "effect";
13
-
14
- class Service23 extends Context.Service()("@opencode/Plugin") {
15
- }
16
- var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
-
18
- export { Service23, awaitActivation2, exports_service };
@@ -1,69 +0,0 @@
1
- import {
2
- ID13
3
- } from "./persistent-pty-dysmr7k2.js";
4
-
5
- // src/plugin/provider/google-vertex.ts
6
- import { Effect } from "effect";
7
- import { define } from "@opencode/plugin/effect/plugin";
8
- function resolveProject(options) {
9
- return options.project ?? process.env.GOOGLE_VERTEX_PROJECT ?? process.env.GOOGLE_CLOUD_PROJECT ?? process.env.GCP_PROJECT ?? process.env.GCLOUD_PROJECT;
10
- }
11
- function resolveLocation(options) {
12
- return options.location ?? process.env.GOOGLE_VERTEX_LOCATION ?? process.env.GOOGLE_CLOUD_LOCATION ?? process.env.VERTEX_LOCATION ?? "global";
13
- }
14
- function vertexEndpoint(location) {
15
- if (location === "global")
16
- return "aiplatform.googleapis.com";
17
- return `${location}-aiplatform.googleapis.com`;
18
- }
19
- function replaceVertexVars(value, project, location) {
20
- return value.replaceAll("${GOOGLE_VERTEX_PROJECT}", project ?? "${GOOGLE_VERTEX_PROJECT}").replaceAll("${GOOGLE_VERTEX_LOCATION}", location).replaceAll("${GOOGLE_VERTEX_ENDPOINT}", vertexEndpoint(location));
21
- }
22
- var GoogleVertexPlugin2 = define({
23
- id: "opencode.provider.google.vertex",
24
- effect: Effect.fn(function* (ctx) {
25
- yield* ctx.provider.transform((evt) => {
26
- for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
- continue;
29
- const project = resolveProject(item.provider.settings ?? {});
30
- const location = String(resolveLocation(item.provider.settings ?? {}));
31
- evt.update(item.provider.id, (provider) => {
32
- if (project && provider.activation === "auto")
33
- provider.activation = "enabled";
34
- provider.settings = {
35
- ...provider.settings,
36
- ...project ? { project } : {},
37
- location,
38
- ...typeof provider.settings?.baseURL === "string" ? { baseURL: replaceVertexVars(provider.settings.baseURL, project, location) } : {}
39
- };
40
- });
41
- }
42
- });
43
- yield* ctx.model.transform((models) => {
44
- for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
- continue;
47
- const project = resolveProject(item.provider.settings ?? {});
48
- const location = String(resolveLocation(item.provider.settings ?? {}));
49
- for (const model of models.list(item.provider.id)) {
50
- if (typeof model.settings?.baseURL !== "string")
51
- continue;
52
- models.update(item.provider.id, model.id, (draft) => {
53
- draft.settings = {
54
- ...draft.settings,
55
- baseURL: replaceVertexVars(String(draft.settings?.baseURL), project, location)
56
- };
57
- });
58
- }
59
- }
60
- });
61
- yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID13.googleVertex)
63
- return;
64
- evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
- }));
66
- })
67
- });
68
-
69
- export { GoogleVertexPlugin2 };