@opencode/core 0.0.0-dev-146 → 0.0.0-dev-149

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 (819) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{formatter-6t1z78dt.js → plugin-023350j2.js} +25 -25
  8. package/dist/chunks/{formatter-hgd7c2hz.js → plugin-02xem3g7.js} +9 -9
  9. package/dist/chunks/{formatter-wtn2pt4a.js → plugin-0artd7x6.js} +6 -6
  10. package/dist/chunks/{formatter-80kvr5bw.js → plugin-0b7gzexh.js} +8 -8
  11. package/dist/chunks/{formatter-v519ksy7.js → plugin-0byhdbpk.js} +48 -48
  12. package/dist/chunks/{formatter-advnjzs0.js → plugin-0gc20grr.js} +32 -32
  13. package/dist/chunks/{formatter-zv35kxex.js → plugin-0j0hgpg3.js} +16 -16
  14. package/dist/chunks/{formatter-60g5e9a4.js → plugin-0sp0v5x6.js} +15 -15
  15. package/dist/chunks/{formatter-g9jxkka8.js → plugin-0vypjg2b.js} +11 -11
  16. package/dist/chunks/{formatter-k63k4b1f.js → plugin-0xhcwp0e.js} +24 -24
  17. package/dist/chunks/{formatter-c9hwcyhb.js → plugin-0zfb02tz.js} +18 -18
  18. package/dist/chunks/{formatter-a609rjt8.js → plugin-10krap29.js} +11 -11
  19. package/dist/chunks/{formatter-8jztxfpf.js → plugin-11hfp36g.js} +4 -4
  20. package/dist/chunks/{formatter-9ctbbx4t.js → plugin-13sfv54y.js} +5 -5
  21. package/dist/chunks/{formatter-da1nsxc2.js → plugin-197frfyp.js} +12 -12
  22. package/dist/chunks/{formatter-1kn6jdkn.js → plugin-1kn6jdkn.js} +1 -1
  23. package/dist/chunks/{formatter-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{formatter-02f3mwsw.js → plugin-1xpesaja.js} +55 -55
  25. package/dist/chunks/{formatter-204s3925.js → plugin-204s3925.js} +1 -1
  26. package/dist/chunks/{formatter-vaq1yek0.js → plugin-26x8chrq.js} +6 -6
  27. package/dist/chunks/{formatter-1ep2p91f.js → plugin-27w5k9zf.js} +2 -2
  28. package/dist/chunks/{formatter-7ngzeq25.js → plugin-2aj7fkzc.js} +11 -11
  29. package/dist/chunks/{formatter-mpswt61j.js → plugin-2bf9kvgn.js} +1 -1
  30. package/dist/chunks/{formatter-9t0k5eya.js → plugin-2cy9cbrx.js} +11 -11
  31. package/dist/chunks/{formatter-fq6avx26.js → plugin-2dpmrcw8.js} +31 -31
  32. package/dist/chunks/{formatter-nrv1y2q0.js → plugin-2gyck6q0.js} +2 -2
  33. package/dist/chunks/{formatter-65f11974.js → plugin-2ht51f9z.js} +6 -6
  34. package/dist/chunks/{formatter-yqveydy6.js → plugin-2mbjfaxd.js} +4 -4
  35. package/dist/chunks/{formatter-whtafen9.js → plugin-2n0r37q4.js} +12 -12
  36. package/dist/chunks/{formatter-h4p3pyf8.js → plugin-2yvtks3w.js} +6 -6
  37. package/dist/chunks/{formatter-hhe1ee49.js → plugin-3167kh59.js} +3 -3
  38. package/dist/chunks/{formatter-c2gy53he.js → plugin-31z3tt8p.js} +8 -8
  39. package/dist/chunks/{formatter-31wms35x.js → plugin-360yt0tf.js} +8 -8
  40. package/dist/chunks/{formatter-75evnb93.js → plugin-36cj4gmt.js} +9 -9
  41. package/dist/chunks/{formatter-pd78jttv.js → plugin-37eted7f.js} +16 -16
  42. package/dist/chunks/{formatter-2xwkyk0m.js → plugin-38adaqc0.js} +5 -5
  43. package/dist/chunks/{formatter-35zt77b2.js → plugin-38hqgsk1.js} +26 -26
  44. package/dist/chunks/{formatter-kz7z5vjf.js → plugin-38qaxswc.js} +9 -9
  45. package/dist/chunks/{formatter-ayjs7tqn.js → plugin-3cbjf1nt.js} +2 -2
  46. package/dist/chunks/{formatter-sjchwnp0.js → plugin-3gp97vax.js} +25 -25
  47. package/dist/chunks/{formatter-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{formatter-3kdbrncp.js → plugin-3kdbrncp.js} +2 -2
  49. package/dist/chunks/{formatter-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{formatter-jq9280ps.js → plugin-3rcscnb1.js} +4 -4
  51. package/dist/chunks/{formatter-9zcxsq7k.js → plugin-3tjrgpk4.js} +10 -10
  52. package/dist/chunks/{formatter-ghfyfjkc.js → plugin-3vwws94n.js} +25 -25
  53. package/dist/chunks/{formatter-h659ea78.js → plugin-3ytse99a.js} +4 -4
  54. package/dist/chunks/{formatter-fmt2zjvb.js → plugin-42rqyp4k.js} +22 -22
  55. package/dist/chunks/{formatter-vrx9q2v9.js → plugin-43e24x2b.js} +12 -12
  56. package/dist/chunks/{formatter-bc4s7aac.js → plugin-457hahnb.js} +16 -16
  57. package/dist/chunks/{formatter-4pyp9zr9.js → plugin-4pyp9zr9.js} +1 -1
  58. package/dist/chunks/{formatter-4v008n1t.js → plugin-4v008n1t.js} +1 -1
  59. package/dist/chunks/{formatter-brwf83f1.js → plugin-5kb7v1wv.js} +23 -23
  60. package/dist/chunks/{formatter-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{formatter-6dra8ttr.js → plugin-5qrcxmcm.js} +37 -37
  62. package/dist/chunks/{formatter-1yq9hg58.js → plugin-5zrxpy3q.js} +5 -5
  63. package/dist/chunks/{formatter-9v0dawq3.js → plugin-60k7rxvs.js} +13 -13
  64. package/dist/chunks/{formatter-54ptjt3c.js → plugin-623yr967.js} +6 -6
  65. package/dist/chunks/{formatter-tbhy4r12.js → plugin-64c707zx.js} +2 -2
  66. package/dist/chunks/{formatter-3ykedks4.js → plugin-6c2a7p2k.js} +18 -18
  67. package/dist/chunks/{formatter-6esdw8yj.js → plugin-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{formatter-76cb1hcw.js → plugin-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{formatter-nah043kf.js → plugin-770pw0s1.js} +4 -4
  70. package/dist/chunks/{formatter-cxx4120z.js → plugin-79cgpb4a.js} +6 -6
  71. package/dist/chunks/{formatter-zayt27d7.js → plugin-7aq8rkr3.js} +15 -15
  72. package/dist/chunks/{formatter-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{formatter-yhn7d48k.js → plugin-7fvcpx9m.js} +12 -12
  74. package/dist/chunks/{formatter-vjbxdeb8.js → plugin-7smxv6qm.js} +14 -14
  75. package/dist/chunks/{formatter-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{formatter-ka1bgm7s.js → plugin-7x516nkt.js} +46 -46
  77. package/dist/chunks/{formatter-6v5r3k3y.js → plugin-7ycxtgxb.js} +35 -35
  78. package/dist/chunks/{formatter-176yg0jf.js → plugin-7yz3nkr2.js} +23 -23
  79. package/dist/chunks/{formatter-7ye1cp98.js → plugin-82776bsn.js} +10 -10
  80. package/dist/chunks/{formatter-ngxbkp8v.js → plugin-8ft3xw2m.js} +5 -5
  81. package/dist/chunks/{formatter-envv585q.js → plugin-8jvwjrps.js} +54 -54
  82. package/dist/chunks/{formatter-67dmgvxj.js → plugin-8n7h5d4s.js} +27 -27
  83. package/dist/chunks/{formatter-8ykqf5wm.js → plugin-8rgb2cvr.js} +7 -7
  84. package/dist/chunks/{formatter-t87050pk.js → plugin-8w7pper6.js} +5 -5
  85. package/dist/chunks/{formatter-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{formatter-90zstvax.js → plugin-90zstvax.js} +1 -1
  87. package/dist/chunks/{formatter-mq5znjk8.js → plugin-91y6r506.js} +13 -13
  88. package/dist/chunks/{formatter-ssnx7b4e.js → plugin-927xh9nh.js} +21 -21
  89. package/dist/chunks/{formatter-cjce029x.js → plugin-93a9jndt.js} +34 -34
  90. package/dist/chunks/{formatter-mwx8k457.js → plugin-96h9ajm3.js} +23 -23
  91. package/dist/chunks/{formatter-hz5mdqd1.js → plugin-97c5t57a.js} +18 -18
  92. package/dist/chunks/{formatter-30wq98rm.js → plugin-9brshkr5.js} +17 -17
  93. package/dist/chunks/{formatter-6add78pk.js → plugin-9dja39nt.js} +50 -50
  94. package/dist/chunks/{formatter-pt7m923m.js → plugin-9ebmah4g.js} +11 -11
  95. package/dist/chunks/{formatter-8yhc7zrg.js → plugin-9f3sjfep.js} +9 -9
  96. package/dist/chunks/{formatter-enxh4fyk.js → plugin-9hr3w0ac.js} +16 -16
  97. package/dist/chunks/{formatter-8430rgvc.js → plugin-9kpkhjk2.js} +8 -8
  98. package/dist/chunks/{formatter-zg5q7ejm.js → plugin-a01n3spq.js} +63 -63
  99. package/dist/chunks/{formatter-8843840p.js → plugin-a15jtcfa.js} +3 -3
  100. package/dist/chunks/{formatter-9tacn0cp.js → plugin-a3vjmkxr.js} +2 -2
  101. package/dist/chunks/{formatter-hdfrs5mg.js → plugin-af0k6e03.js} +9 -9
  102. package/dist/chunks/{formatter-034tev2y.js → plugin-aj7mw0zk.js} +2 -2
  103. package/dist/chunks/{formatter-kjjfjqy3.js → plugin-ajnhcgwj.js} +15 -15
  104. package/dist/chunks/{formatter-6rt7ts86.js → plugin-amcehceb.js} +4 -4
  105. package/dist/chunks/{formatter-0qf1t2tf.js → plugin-atx93y9v.js} +9 -9
  106. package/dist/chunks/{formatter-b6vsg801.js → plugin-b6vsg801.js} +2 -2
  107. package/dist/chunks/{formatter-r85hedwm.js → plugin-b8987e27.js} +9 -9
  108. package/dist/chunks/{formatter-cymxkkyw.js → plugin-bb2gy873.js} +32 -32
  109. package/dist/chunks/{formatter-91za51b6.js → plugin-bcastkv0.js} +13 -13
  110. package/dist/chunks/{formatter-mjz2tdxa.js → plugin-bddgjnn0.js} +16 -16
  111. package/dist/chunks/{formatter-afbxbw72.js → plugin-brtbsxkn.js} +11 -11
  112. package/dist/chunks/{formatter-bph6tfhv.js → plugin-bycfeyc6.js} +17 -17
  113. package/dist/chunks/{formatter-8ymr7d4s.js → plugin-c1qqsdsb.js} +24 -24
  114. package/dist/chunks/{formatter-r2h6cvw2.js → plugin-cn335rzh.js} +1 -1
  115. package/dist/chunks/{formatter-yy19he2s.js → plugin-cr66ykxa.js} +32 -32
  116. package/dist/chunks/{formatter-cwrgdav8.js → plugin-cwrgdav8.js} +2 -2
  117. package/dist/chunks/{formatter-a9atne55.js → plugin-d2w1yggf.js} +5 -5
  118. package/dist/chunks/{formatter-zwjwjj82.js → plugin-d3ssywhq.js} +16 -16
  119. package/dist/chunks/{formatter-m7fwq7c0.js → plugin-d4qn5jcn.js} +25 -25
  120. package/dist/chunks/{formatter-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
  121. package/dist/chunks/{formatter-tg1vr1qt.js → plugin-ddvn7d3w.js} +8 -8
  122. package/dist/chunks/{formatter-s7xmnr8t.js → plugin-drvbhkez.js} +6 -6
  123. package/dist/chunks/{formatter-dt77769w.js → plugin-dt77769w.js} +1 -1
  124. package/dist/chunks/{formatter-s3g9ecv2.js → plugin-dys0nn3x.js} +24 -24
  125. package/dist/chunks/{formatter-0jjwjx0v.js → plugin-e2ry9241.js} +33 -33
  126. package/dist/chunks/{formatter-hp39vnpe.js → plugin-e4tm35ss.js} +33 -33
  127. package/dist/chunks/{formatter-e834z07m.js → plugin-e834z07m.js} +1 -1
  128. package/dist/chunks/{formatter-gsrcb0q9.js → plugin-e9z9ekwf.js} +36 -36
  129. package/dist/chunks/{formatter-gg8p9cgs.js → plugin-ep59zg61.js} +3 -3
  130. package/dist/chunks/{formatter-6asz9jay.js → plugin-epkrfhse.js} +11 -11
  131. package/dist/chunks/{formatter-6td4j3g2.js → plugin-etfsdzn3.js} +2 -2
  132. package/dist/chunks/{formatter-yh2xpw0b.js → plugin-eykczw6s.js} +20 -20
  133. package/dist/chunks/{formatter-c46s9eb3.js → plugin-f01y088k.js} +5 -5
  134. package/dist/chunks/{formatter-4vxvd6mv.js → plugin-f7jj8f84.js} +6 -6
  135. package/dist/chunks/plugin-f8ma18fn.js +18 -0
  136. package/dist/chunks/{formatter-3zjnpbwd.js → plugin-fcbsb19f.js} +29 -29
  137. package/dist/chunks/{formatter-7hmjb961.js → plugin-fchc5cs2.js} +21 -21
  138. package/dist/chunks/{formatter-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
  139. package/dist/chunks/{formatter-fg9p65nk.js → plugin-fg9p65nk.js} +2 -2
  140. package/dist/chunks/{formatter-ay20v4cr.js → plugin-fjjkker5.js} +4 -4
  141. package/dist/chunks/{formatter-xwyda8kd.js → plugin-fqjwhs84.js} +6 -6
  142. package/dist/chunks/{formatter-pkh3c91y.js → plugin-fqjx0mtk.js} +27 -27
  143. package/dist/chunks/{formatter-rc57nzph.js → plugin-g1bf65h0.js} +17 -17
  144. package/dist/chunks/{formatter-pwzrj9r4.js → plugin-g2tn4t9t.js} +27 -27
  145. package/dist/chunks/{formatter-n98b5x95.js → plugin-gb4m33x1.js} +4 -4
  146. package/dist/chunks/{formatter-vrcsa8qx.js → plugin-gcjdgkn2.js} +9 -9
  147. package/dist/chunks/{formatter-chgm1tby.js → plugin-gcrehvxf.js} +4 -4
  148. package/dist/chunks/{formatter-3jw91zxn.js → plugin-gg56aea0.js} +22 -22
  149. package/dist/chunks/{formatter-hyaynvgx.js → plugin-ggxt8q7a.js} +25 -25
  150. package/dist/chunks/{formatter-9nkjg9qd.js → plugin-h2xt6wet.js} +6 -6
  151. package/dist/chunks/{formatter-8phszwmc.js → plugin-h6evkf2m.js} +11 -11
  152. package/dist/chunks/{formatter-vmfhgzt5.js → plugin-hfgk9wzg.js} +4 -4
  153. package/dist/chunks/{formatter-rvbdf6ee.js → plugin-hgfpvvhf.js} +16 -16
  154. package/dist/chunks/{formatter-5x26af84.js → plugin-hj8dv2fv.js} +4 -4
  155. package/dist/chunks/{formatter-hpg1pkwy.js → plugin-hpg1pkwy.js} +1 -1
  156. package/dist/chunks/{formatter-9r0x1bva.js → plugin-hs9b4b47.js} +9 -9
  157. package/dist/chunks/{formatter-1eqvcz7d.js → plugin-hv8gebrm.js} +21 -21
  158. package/dist/chunks/{formatter-3qgpmfb2.js → plugin-j8yg66kd.js} +23 -23
  159. package/dist/chunks/{formatter-2vjv0qpa.js → plugin-jb98ea0v.js} +12 -12
  160. package/dist/chunks/{formatter-jfaecv01.js → plugin-jfaecv01.js} +1 -1
  161. package/dist/chunks/{formatter-2saggmey.js → plugin-jgr9rt82.js} +24 -24
  162. package/dist/chunks/{formatter-2zp5a6yg.js → plugin-jh74jycr.js} +3 -3
  163. package/dist/chunks/{formatter-b5rjhvjd.js → plugin-jj25aphh.js} +14 -14
  164. package/dist/chunks/{formatter-wkztgnzq.js → plugin-jm1kbgn5.js} +24 -24
  165. package/dist/chunks/{formatter-ge85sm10.js → plugin-jn9v78dn.js} +29 -29
  166. package/dist/chunks/{formatter-jtnps1zs.js → plugin-jtnps1zs.js} +2 -2
  167. package/dist/chunks/{formatter-tknbc31d.js → plugin-jzsddmmt.js} +7 -7
  168. package/dist/chunks/{formatter-70agar2m.js → plugin-k2zdq3mp.js} +2 -2
  169. package/dist/chunks/{formatter-pa0ex826.js → plugin-k31rcwbk.js} +11 -11
  170. package/dist/chunks/{formatter-x7gm0ha8.js → plugin-k5c2ssdt.js} +1 -1
  171. package/dist/chunks/{formatter-k814nvkf.js → plugin-k814nvkf.js} +1 -1
  172. package/dist/chunks/{formatter-jwxccdg8.js → plugin-k83ve1kc.js} +6 -6
  173. package/dist/chunks/{formatter-54bnvst0.js → plugin-k87qgv3b.js} +43 -43
  174. package/dist/chunks/{formatter-w307e9wj.js → plugin-k9zkdd2y.js} +4 -4
  175. package/dist/chunks/{formatter-34b2q3dm.js → plugin-kna34kpp.js} +29 -29
  176. package/dist/chunks/{formatter-gc1mvsnx.js → plugin-kpaptj6h.js} +10 -10
  177. package/dist/chunks/{formatter-00pktjsy.js → plugin-kpbwe1qr.js} +21 -21
  178. package/dist/chunks/plugin-kq90df9y.js +26 -0
  179. package/dist/chunks/{formatter-kt3bjfbg.js → plugin-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{formatter-jvcwjysj.js → plugin-ktg919s3.js} +178 -178
  181. package/dist/chunks/{formatter-c6qe9nk0.js → plugin-m07vw4yt.js} +19 -19
  182. package/dist/chunks/{formatter-mwq3mt8e.js → plugin-m10c82vj.js} +32 -32
  183. package/dist/chunks/{formatter-m1714858.js → plugin-m1714858.js} +1 -1
  184. package/dist/chunks/{formatter-q2zh2gwm.js → plugin-m4x6ymdg.js} +17 -17
  185. package/dist/chunks/{formatter-npbdyff7.js → plugin-m9s6j6x5.js} +30 -30
  186. package/dist/chunks/{formatter-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{formatter-180ps155.js → plugin-meevhkww.js} +46 -46
  188. package/dist/chunks/{formatter-s7zt2hwe.js → plugin-mkk6jxrn.js} +23 -23
  189. package/dist/chunks/{formatter-grv0jex9.js → plugin-msya5s3a.js} +11 -11
  190. package/dist/chunks/{formatter-k00f7hr2.js → plugin-n10b8vxr.js} +21 -21
  191. package/dist/chunks/{formatter-t0dansjm.js → plugin-n6adtcwm.js} +5 -5
  192. package/dist/chunks/{formatter-t2z71z34.js → plugin-n72e3dxd.js} +5 -5
  193. package/dist/chunks/{formatter-7hqt66pc.js → plugin-n74ky04a.js} +28 -28
  194. package/dist/chunks/{formatter-9k3wnwh3.js → plugin-npg5se5z.js} +6 -6
  195. package/dist/chunks/{formatter-vx3jgdek.js → plugin-nvxqht09.js} +3 -3
  196. package/dist/chunks/{formatter-p015t6z3.js → plugin-p015t6z3.js} +2 -2
  197. package/dist/chunks/{formatter-3h9jmy66.js → plugin-p0fnxbrs.js} +27 -27
  198. package/dist/chunks/{formatter-qqg9c0kv.js → plugin-p0tsr9h6.js} +4 -4
  199. package/dist/chunks/{formatter-xzqqj5cv.js → plugin-p3rndcyt.js} +10 -10
  200. package/dist/chunks/{formatter-pknna89w.js → plugin-pknna89w.js} +1 -1
  201. package/dist/chunks/{formatter-01awnnjy.js → plugin-pz2hbxnb.js} +324 -324
  202. package/dist/chunks/{formatter-qw68mmce.js → plugin-q5pv97qv.js} +5 -5
  203. package/dist/chunks/{formatter-q63cb7ap.js → plugin-q63cb7ap.js} +3 -3
  204. package/dist/chunks/{formatter-zzg16z9m.js → plugin-q6vpdb57.js} +11 -11
  205. package/dist/chunks/{formatter-thvf23q9.js → plugin-q7cvrf9n.js} +7 -7
  206. package/dist/chunks/{formatter-q39rmv9p.js → plugin-qgrpvdhs.js} +98 -98
  207. package/dist/chunks/{formatter-yara3q77.js → plugin-qkw2jr9b.js} +2 -2
  208. package/dist/chunks/{formatter-hbdn8m45.js → plugin-qmysd79e.js} +33 -33
  209. package/dist/chunks/{formatter-qp7r0hxv.js → plugin-qp7r0hxv.js} +1 -1
  210. package/dist/chunks/{formatter-fahcx4cp.js → plugin-qr5d7g8r.js} +74 -74
  211. package/dist/chunks/{formatter-4e1keyg1.js → plugin-qrez554k.js} +13 -13
  212. package/dist/chunks/{formatter-htx3sbcr.js → plugin-qs4830ty.js} +28 -28
  213. package/dist/chunks/{formatter-ec29h8ha.js → plugin-qzwtc0ad.js} +50 -50
  214. package/dist/chunks/{formatter-r0yr0wbs.js → plugin-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{formatter-j9revkc6.js → plugin-r1y4q7eg.js} +48 -48
  216. package/dist/chunks/{formatter-40za9wsf.js → plugin-r41sfy63.js} +6 -6
  217. package/dist/chunks/{formatter-r542h3bh.js → plugin-r542h3bh.js} +1 -1
  218. package/dist/chunks/{formatter-e5qfbzbw.js → plugin-r72fjvgr.js} +9 -9
  219. package/dist/chunks/{formatter-206jryat.js → plugin-r7xk0eym.js} +32 -32
  220. package/dist/chunks/{formatter-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{formatter-xzwcmcya.js → plugin-rckzcncc.js} +14 -14
  222. package/dist/chunks/{formatter-afhdzj43.js → plugin-rp6tyec3.js} +29 -29
  223. package/dist/chunks/{formatter-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{formatter-tp0wxn7d.js → plugin-rvsw30t9.js} +5 -5
  225. package/dist/chunks/{formatter-v6z303eq.js → plugin-rvte90y7.js} +29 -29
  226. package/dist/chunks/{formatter-nsevj23t.js → plugin-s3xbe3tv.js} +17 -17
  227. package/dist/chunks/{formatter-mgcsgjq4.js → plugin-s4f8ct6t.js} +4 -4
  228. package/dist/chunks/{formatter-s7kyse9r.js → plugin-s7kyse9r.js} +1 -1
  229. package/dist/chunks/{formatter-wxrt44b6.js → plugin-s7qpx3zw.js} +37 -37
  230. package/dist/chunks/{formatter-ze827wmr.js → plugin-s9eh0yy5.js} +35 -35
  231. package/dist/chunks/{formatter-sa3fpqfw.js → plugin-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{formatter-4k8v9b7f.js → plugin-sqcd90z6.js} +6 -6
  233. package/dist/chunks/{formatter-sqjzf8x2.js → plugin-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{formatter-65q9xmpy.js → plugin-sr3pe222.js} +21 -21
  235. package/dist/chunks/{formatter-c9t2ty9q.js → plugin-ssfehs1z.js} +4 -4
  236. package/dist/chunks/{formatter-27bs79w9.js → plugin-st7p3hwb.js} +2 -2
  237. package/dist/chunks/{formatter-svcy3p9a.js → plugin-svcy3p9a.js} +1 -1
  238. package/dist/chunks/{formatter-k15fpqjy.js → plugin-syqc1q91.js} +11 -11
  239. package/dist/chunks/{formatter-hn3gdjg3.js → plugin-sz0km235.js} +36 -36
  240. package/dist/chunks/{formatter-3gbv69k7.js → plugin-t3y9r3y2.js} +32 -32
  241. package/dist/chunks/{formatter-we007nbv.js → plugin-t57f7ggb.js} +23 -23
  242. package/dist/chunks/{formatter-enj9pb4k.js → plugin-t9qkp5rw.js} +9 -9
  243. package/dist/chunks/{formatter-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
  244. package/dist/chunks/{formatter-twssxy5n.js → plugin-twssxy5n.js} +2 -2
  245. package/dist/chunks/{formatter-xwc4j8ee.js → plugin-ty2rqtrv.js} +12 -12
  246. package/dist/chunks/{formatter-v2r1d0zg.js → plugin-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{formatter-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  248. package/dist/chunks/{formatter-g6wkcjn2.js → plugin-vk3nwvaj.js} +12 -12
  249. package/dist/chunks/{formatter-hx6gesf1.js → plugin-vq1ppevj.js} +8 -8
  250. package/dist/chunks/{formatter-95qeadzf.js → plugin-vw2s6thg.js} +22 -22
  251. package/dist/chunks/{formatter-q35sm1em.js → plugin-vxp4ss06.js} +1 -1
  252. package/dist/chunks/{formatter-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{formatter-w687dnns.js → plugin-w687dnns.js} +1 -1
  254. package/dist/chunks/{formatter-1tz3dvpf.js → plugin-w8waja94.js} +28 -28
  255. package/dist/chunks/{formatter-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{formatter-r0pbn82r.js → plugin-wcqyq6xg.js} +11 -11
  257. package/dist/chunks/{formatter-wd87259q.js → plugin-wd87259q.js} +1 -1
  258. package/dist/chunks/{formatter-wnhgecwx.js → plugin-wnhgecwx.js} +1 -1
  259. package/dist/chunks/{formatter-fnac5zc8.js → plugin-wvm11qkm.js} +13 -13
  260. package/dist/chunks/{formatter-2jexqb4b.js → plugin-wyhjxk24.js} +21 -21
  261. package/dist/chunks/{formatter-y03y2908.js → plugin-wzsnw9zx.js} +13 -13
  262. package/dist/chunks/{formatter-58t0t45t.js → plugin-x19938zk.js} +13 -13
  263. package/dist/chunks/{formatter-kgzzqqhe.js → plugin-x41rd3ct.js} +9 -9
  264. package/dist/chunks/{formatter-fdthysjs.js → plugin-xbzzjpen.js} +26 -26
  265. package/dist/chunks/{formatter-bstexjd6.js → plugin-xd9cc171.js} +5 -5
  266. package/dist/chunks/{formatter-zj8xsvef.js → plugin-xh3etvdp.js} +25 -25
  267. package/dist/chunks/{formatter-b727e2mf.js → plugin-xjrcpxys.js} +6 -6
  268. package/dist/chunks/{formatter-0tqctwjc.js → plugin-xkrr3nbc.js} +21 -21
  269. package/dist/chunks/{formatter-hvkex31a.js → plugin-xp2r83c8.js} +19 -19
  270. package/dist/chunks/{formatter-zma8xknj.js → plugin-xt3tj154.js} +15 -15
  271. package/dist/chunks/{formatter-yb13j5xb.js → plugin-xty73vjp.js} +5 -5
  272. package/dist/chunks/{formatter-2br6b2v9.js → plugin-xv9vyde2.js} +13 -13
  273. package/dist/chunks/{formatter-m0azqb84.js → plugin-xwffaj6p.js} +11 -11
  274. package/dist/chunks/{formatter-az02dgt5.js → plugin-xys8w9aj.js} +17 -17
  275. package/dist/chunks/{formatter-znaw7jdf.js → plugin-y4w3wqv8.js} +14 -14
  276. package/dist/chunks/{formatter-9can0ppv.js → plugin-y6zkfemf.js} +13 -13
  277. package/dist/chunks/{formatter-tmd438dm.js → plugin-y78g3j1n.js} +3 -3
  278. package/dist/chunks/{formatter-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{formatter-n8p4chj2.js → plugin-ycn3cwaw.js} +7 -7
  280. package/dist/chunks/{formatter-g7gshgt7.js → plugin-yexzw78a.js} +4 -4
  281. package/dist/chunks/{formatter-g3enaqm9.js → plugin-yg3znkte.js} +18 -18
  282. package/dist/chunks/{formatter-0f8tg23y.js → plugin-ymz7p2c9.js} +3 -3
  283. package/dist/chunks/{formatter-3ysmapca.js → plugin-yrvrwg16.js} +70 -70
  284. package/dist/chunks/{formatter-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{formatter-k4d71d02.js → plugin-z2cf1fxy.js} +8 -8
  286. package/dist/chunks/{formatter-z38nccrw.js → plugin-z38nccrw.js} +1 -1
  287. package/dist/chunks/{formatter-z4rk52fe.js → plugin-z5vsfvmb.js} +20 -20
  288. package/dist/chunks/{formatter-tmpv8qhk.js → plugin-zd8qpfyv.js} +9 -9
  289. package/dist/chunks/plugin-zjx96n3w.js +257 -0
  290. package/dist/chunks/{formatter-0ks8sfjc.js → plugin-zkbcvvjq.js} +33 -33
  291. package/dist/chunks/{formatter-yhcrwr1f.js → plugin-znft027p.js} +15 -15
  292. package/dist/chunks/{formatter-re90sanf.js → plugin-znt4182k.js} +11 -11
  293. package/dist/chunks/{formatter-8qnchk02.js → plugin-zz4wg0fg.js} +54 -54
  294. package/dist/chunks/{formatter-bjhzkqyk.js → plugin-zzdv5d93.js} +4 -4
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +87 -87
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +121 -121
  305. package/dist/config/plugin/command.js +219 -219
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +123 -123
  313. package/dist/config/plugin/mcp.js +128 -128
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +123 -123
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +3 -3
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +122 -122
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +126 -126
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +76 -76
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +103 -103
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +3 -3
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -103
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +1 -1
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +102 -102
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +86 -86
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +234 -234
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +105 -105
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +11 -11
  442. package/dist/filesystem.js +110 -110
  443. package/dist/form.js +88 -88
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +115 -115
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +99 -99
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +5 -5
  472. package/dist/instance.js +372 -372
  473. package/dist/instruction-discovery.js +88 -88
  474. package/dist/instructions/builtins.js +95 -95
  475. package/dist/instructions/index.js +1 -1
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +95 -95
  478. package/dist/job.js +84 -84
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +166 -166
  482. package/dist/location-lifecycle.js +142 -142
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -369
  485. package/dist/location.js +97 -97
  486. package/dist/managed-policy.js +3 -3
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +117 -117
  489. package/dist/mcp/instructions.js +164 -164
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +99 -99
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +104 -104
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +116 -116
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +88 -88
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +145 -145
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +96 -96
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +80 -80
  510. package/dist/plugin/command.js +108 -108
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +227 -227
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +5 -5
  515. package/dist/plugin/internal.js +342 -342
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +123 -123
  519. package/dist/plugin/optimize.js +4 -4
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +123 -123
  547. package/dist/plugin/provider/opencode.js +124 -124
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +130 -130
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -175
  560. package/dist/plugin/sdk.js +82 -82
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +361 -361
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +119 -119
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +6 -6
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +4 -4
  575. package/dist/plugin/websearch/parallel.js +6 -6
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +236 -236
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +8 -8
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +98 -98
  583. package/dist/provider.js +101 -101
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +104 -104
  587. package/dist/reference/instructions.js +96 -96
  588. package/dist/reference.js +96 -96
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +3 -3
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +105 -105
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +158 -158
  599. package/dist/session/context.js +184 -184
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +5 -5
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +231 -231
  605. package/dist/session/execution.js +154 -154
  606. package/dist/session/generate.js +190 -190
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +138 -138
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +85 -85
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +2 -2
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +3 -3
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +108 -108
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +154 -154
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +5 -5
  632. package/dist/session/session.js +172 -172
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +81 -81
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +215 -215
  641. package/dist/session/system-prompt.js +3 -3
  642. package/dist/session/title.js +192 -192
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +230 -230
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +225 -225
  647. package/dist/shell/parse.js +8 -8
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +13 -13
  651. package/dist/shell.js +137 -137
  652. package/dist/skill/discovery.js +6 -6
  653. package/dist/skill/instructions.js +143 -143
  654. package/dist/skill.js +146 -146
  655. package/dist/snapshot.js +101 -101
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +163 -163
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +158 -158
  663. package/dist/tool/plugin/grep.js +158 -158
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +156 -156
  667. package/dist/tool/plugin/question.js +138 -138
  668. package/dist/tool/plugin/read.js +161 -161
  669. package/dist/tool/plugin/shell.js +224 -224
  670. package/dist/tool/plugin/skill.js +149 -149
  671. package/dist/tool/plugin/subagent.js +224 -224
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +149 -149
  674. package/dist/tool/plugin/websearch.js +147 -147
  675. package/dist/tool/plugin/write.js +156 -156
  676. package/dist/tool/read-filesystem.js +110 -110
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +16 -16
  680. package/dist/usage-limits.js +95 -95
  681. package/dist/util/error-summary.js +1 -1
  682. package/dist/util/git-executable.js +3 -3
  683. package/dist/util/lazy.js +1 -1
  684. package/dist/util/slug.js +1 -1
  685. package/dist/util/token.js +1 -1
  686. package/dist/util/which.js +1 -1
  687. package/dist/util/wildcard.js +1 -1
  688. package/dist/v1/config/agent.js +5 -5
  689. package/dist/v1/config/command.js +3 -3
  690. package/dist/v1/config/mcp.js +4 -4
  691. package/dist/v1/config/migrate.js +100 -100
  692. package/dist/v1/config/permission.js +1 -1
  693. package/dist/v1/config/plugin.js +3 -3
  694. package/dist/v1/config/provider-options.js +1 -1
  695. package/dist/v1/config/provider.js +2 -2
  696. package/dist/variant.js +99 -99
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +97 -97
  699. package/dist/voice.js +92 -92
  700. package/dist/websearch.js +90 -90
  701. package/dist/wellknown/plugin.js +82 -82
  702. package/dist/wellknown.js +87 -87
  703. package/dist/workspace/driver.js +5 -5
  704. package/dist/workspace/sql.js +1 -1
  705. package/dist/workspace.js +86 -86
  706. package/dist/worktree/directory.js +2 -2
  707. package/dist/worktree/git.js +11 -11
  708. package/dist/worktree/sql.js +5 -5
  709. package/dist/worktree/strategies.js +97 -97
  710. package/dist/worktree.js +106 -106
  711. package/package.json +8 -8
  712. package/dist/chunks/formatter-6tn508k7.js +0 -257
  713. package/dist/chunks/formatter-brxvtjfc.js +0 -26
  714. package/dist/chunks/formatter-vdh3rgac.js +0 -18
  715. /package/dist/chunks/{formatter-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  716. /package/dist/chunks/{formatter-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  717. /package/dist/chunks/{formatter-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  718. /package/dist/chunks/{formatter-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  719. /package/dist/chunks/{formatter-1jakw16s.js → plugin-1jakw16s.js} +0 -0
  720. /package/dist/chunks/{formatter-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  721. /package/dist/chunks/{formatter-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  722. /package/dist/chunks/{formatter-2bv980vf.js → plugin-2bv980vf.js} +0 -0
  723. /package/dist/chunks/{formatter-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  724. /package/dist/chunks/{formatter-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  725. /package/dist/chunks/{formatter-3asan66x.js → plugin-3asan66x.js} +0 -0
  726. /package/dist/chunks/{formatter-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  727. /package/dist/chunks/{formatter-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  728. /package/dist/chunks/{formatter-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  729. /package/dist/chunks/{formatter-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  730. /package/dist/chunks/{formatter-4m86bj6y.js → plugin-4m86bj6y.js} +0 -0
  731. /package/dist/chunks/{formatter-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  732. /package/dist/chunks/{formatter-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  733. /package/dist/chunks/{formatter-53557ph1.js → plugin-53557ph1.js} +0 -0
  734. /package/dist/chunks/{formatter-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  735. /package/dist/chunks/{formatter-5w3e23ze.js → plugin-5w3e23ze.js} +0 -0
  736. /package/dist/chunks/{formatter-6prwharc.js → plugin-6prwharc.js} +0 -0
  737. /package/dist/chunks/{formatter-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
  738. /package/dist/chunks/{formatter-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  739. /package/dist/chunks/{formatter-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  740. /package/dist/chunks/{formatter-822emrt2.js → plugin-822emrt2.js} +0 -0
  741. /package/dist/chunks/{formatter-84wd9syh.js → plugin-84wd9syh.js} +0 -0
  742. /package/dist/chunks/{formatter-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  743. /package/dist/chunks/{formatter-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  744. /package/dist/chunks/{formatter-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  745. /package/dist/chunks/{formatter-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  746. /package/dist/chunks/{formatter-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  747. /package/dist/chunks/{formatter-a058387c.js → plugin-a058387c.js} +0 -0
  748. /package/dist/chunks/{formatter-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  749. /package/dist/chunks/{formatter-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  750. /package/dist/chunks/{formatter-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  751. /package/dist/chunks/{formatter-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  752. /package/dist/chunks/{formatter-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  753. /package/dist/chunks/{formatter-beh6qq61.js → plugin-beh6qq61.js} +0 -0
  754. /package/dist/chunks/{formatter-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  755. /package/dist/chunks/{formatter-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  756. /package/dist/chunks/{formatter-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  757. /package/dist/chunks/{formatter-cqv5kn06.js → plugin-cqv5kn06.js} +0 -0
  758. /package/dist/chunks/{formatter-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  759. /package/dist/chunks/{formatter-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  760. /package/dist/chunks/{formatter-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  761. /package/dist/chunks/{formatter-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  762. /package/dist/chunks/{formatter-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  763. /package/dist/chunks/{formatter-df08tz66.js → plugin-df08tz66.js} +0 -0
  764. /package/dist/chunks/{formatter-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  765. /package/dist/chunks/{formatter-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  766. /package/dist/chunks/{formatter-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  767. /package/dist/chunks/{formatter-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  768. /package/dist/chunks/{formatter-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  769. /package/dist/chunks/{formatter-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  770. /package/dist/chunks/{formatter-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  771. /package/dist/chunks/{formatter-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  772. /package/dist/chunks/{formatter-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  773. /package/dist/chunks/{formatter-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  774. /package/dist/chunks/{formatter-fkpq3x5p.js → plugin-fkpq3x5p.js} +0 -0
  775. /package/dist/chunks/{formatter-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  776. /package/dist/chunks/{formatter-g86h250q.js → plugin-g86h250q.js} +0 -0
  777. /package/dist/chunks/{formatter-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  778. /package/dist/chunks/{formatter-gftt206x.js → plugin-gftt206x.js} +0 -0
  779. /package/dist/chunks/{formatter-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
  780. /package/dist/chunks/{formatter-hk9envan.js → plugin-hk9envan.js} +0 -0
  781. /package/dist/chunks/{formatter-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  782. /package/dist/chunks/{formatter-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  783. /package/dist/chunks/{formatter-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  784. /package/dist/chunks/{formatter-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  785. /package/dist/chunks/{formatter-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  786. /package/dist/chunks/{formatter-jwr30sdr.js → plugin-jwr30sdr.js} +0 -0
  787. /package/dist/chunks/{formatter-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
  788. /package/dist/chunks/{formatter-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  789. /package/dist/chunks/{formatter-m18g726c.js → plugin-m18g726c.js} +0 -0
  790. /package/dist/chunks/{formatter-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  791. /package/dist/chunks/{formatter-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  792. /package/dist/chunks/{formatter-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  793. /package/dist/chunks/{formatter-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  794. /package/dist/chunks/{formatter-ncqqe42p.js → plugin-ncqqe42p.js} +0 -0
  795. /package/dist/chunks/{formatter-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  796. /package/dist/chunks/{formatter-p71gwv9c.js → plugin-p71gwv9c.js} +0 -0
  797. /package/dist/chunks/{formatter-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  798. /package/dist/chunks/{formatter-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  799. /package/dist/chunks/{formatter-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  800. /package/dist/chunks/{formatter-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  801. /package/dist/chunks/{formatter-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  802. /package/dist/chunks/{formatter-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  803. /package/dist/chunks/{formatter-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  804. /package/dist/chunks/{formatter-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  805. /package/dist/chunks/{formatter-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  806. /package/dist/chunks/{formatter-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  807. /package/dist/chunks/{formatter-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
  808. /package/dist/chunks/{formatter-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  809. /package/dist/chunks/{formatter-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  810. /package/dist/chunks/{formatter-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  811. /package/dist/chunks/{formatter-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  812. /package/dist/chunks/{formatter-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  813. /package/dist/chunks/{formatter-x61499pn.js → plugin-x61499pn.js} +0 -0
  814. /package/dist/chunks/{formatter-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  815. /package/dist/chunks/{formatter-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  816. /package/dist/chunks/{formatter-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  817. /package/dist/chunks/{formatter-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  818. /package/dist/chunks/{formatter-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  819. /package/dist/chunks/{formatter-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82
3
- } from "./formatter-30wq98rm.js";
2
+ Service76
3
+ } from "./plugin-9brshkr5.js";
4
4
  import {
5
- Service62
6
- } from "./formatter-s3g9ecv2.js";
5
+ Service59
6
+ } from "./plugin-dys0nn3x.js";
7
7
  import {
8
- Service13,
8
+ Service16,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./formatter-2br6b2v9.js";
11
+ } from "./plugin-xv9vyde2.js";
12
12
  import {
13
- Service55
14
- } from "./formatter-zma8xknj.js";
13
+ Service13
14
+ } from "./plugin-xt3tj154.js";
15
15
  import {
16
- Service65
17
- } from "./formatter-v519ksy7.js";
16
+ Service60
17
+ } from "./plugin-0byhdbpk.js";
18
18
  import {
19
- Service15,
19
+ Service19,
20
20
  resolvePath2
21
- } from "./formatter-hyaynvgx.js";
21
+ } from "./plugin-ggxt8q7a.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./formatter-6prwharc.js";
24
+ } from "./plugin-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./formatter-9rqn6x4v.js";
27
+ } from "./plugin-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input2,
34
- Output: () => Output2,
35
- Plugin: () => Plugin36,
36
- name: () => name2
33
+ Input: () => Input10,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin13,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai/effect";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name2 = "edit";
43
- var Input2 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output2 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin36 = {
193
+ var Plugin13 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service15;
197
- const fileMutation = yield* Service13;
198
- const environment = yield* Service62;
199
- const formatter = yield* Service55;
200
- const location = yield* Service82;
201
- const permission = yield* Service65;
196
+ const access = yield* Service19;
197
+ const fileMutation = yield* Service16;
198
+ const environment = yield* Service59;
199
+ const formatter = yield* Service13;
200
+ const location = yield* Service76;
201
+ const permission = yield* Service60;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name2,
203
+ name: name10,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input2,
207
- output: Output2,
206
+ input: Input10,
207
+ output: Output7,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin36 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name2, Input2, Output2, Plugin36, exports_edit };
279
+ export { name10, Input10, Output7, Plugin13, exports_edit };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./formatter-z5v4ffb3.js";
3
+ } from "./plugin-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./formatter-30wq98rm.js";
5
+ Service76
6
+ } from "./plugin-9brshkr5.js";
7
7
  import {
8
- Service69
9
- } from "./formatter-6add78pk.js";
8
+ Service63
9
+ } from "./plugin-9dja39nt.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./formatter-34b2q3dm.js";
13
+ } from "./plugin-kna34kpp.js";
14
14
  import {
15
15
  observe2
16
- } from "./formatter-hpg1pkwy.js";
16
+ } from "./plugin-hpg1pkwy.js";
17
17
  import {
18
18
  __export
19
- } from "./formatter-9rqn6x4v.js";
19
+ } from "./plugin-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin27
25
+ Plugin: () => Plugin39
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin27 = define({
31
+ var Plugin39 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service69;
35
- const location = yield* Service82;
34
+ const config = yield* Service63;
35
+ const location = yield* Service76;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin27, exports_reference };
75
+ export { Plugin39, exports_reference };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-zzg16z9m.js";
3
+ } from "./plugin-q6vpdb57.js";
4
4
  import {
5
- Service85
6
- } from "./formatter-rvbdf6ee.js";
5
+ Service81
6
+ } from "./plugin-hgfpvvhf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./formatter-cjce029x.js";
9
+ Event19
10
+ } from "./plugin-93a9jndt.js";
11
11
  import {
12
12
  key2
13
- } from "./formatter-bjhzkqyk.js";
13
+ } from "./plugin-zzdv5d93.js";
14
14
  import {
15
- ID14,
15
+ ID16,
16
16
  MethodID2
17
- } from "./formatter-fq6avx26.js";
17
+ } from "./plugin-2dpmrcw8.js";
18
18
  import {
19
19
  ID13,
20
20
  aisdk2,
21
21
  Service75
22
- } from "./formatter-35zt77b2.js";
22
+ } from "./plugin-38hqgsk1.js";
23
23
  import {
24
24
  ID12,
25
- Info21
26
- } from "./formatter-3jw91zxn.js";
25
+ Info22
26
+ } from "./plugin-gg56aea0.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./formatter-yb20nhc3.js";
30
+ } from "./plugin-yb20nhc3.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -36,7 +36,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
38
  var providerID = ID13.gitlab;
39
- var integrationID = ID14.make("gitlab");
39
+ var integrationID = ID16.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -58,7 +58,7 @@ var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
60
  const providers = yield* Service75;
61
- const bus = yield* Service85;
61
+ const bus = yield* Service81;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info21.default(providerID, ID12.make(model.id)),
188
+ ...Info22.default(providerID, ID12.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./formatter-p015t6z3.js";
3
+ } from "./plugin-p015t6z3.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./plugin-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service34,
11
+ Service: () => Service36,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer17,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node37
15
+ node: () => node39
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service34.of({ bind, close, closeAll });
370
+ return Service36.of({ bind, close, closeAll });
371
371
  }));
372
- var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node37 = makeGlobalNode({ service: Service34, layer: layer17, deps: [webSocketConstructor2] });
375
+ var node39 = makeGlobalNode({ service: Service36, layer: layer16, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service34, makeLayer2, layer17, node37, exports_model_transport };
377
+ export { Service36, makeLayer2, layer16, node39, exports_model_transport };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service68,
3
- node72
4
- } from "./formatter-2jexqb4b.js";
2
+ Service66,
3
+ node69
4
+ } from "./plugin-wyhjxk24.js";
5
5
  import {
6
- Service53,
7
- node55
8
- } from "./formatter-wkztgnzq.js";
6
+ Service70,
7
+ node74
8
+ } from "./plugin-jm1kbgn5.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./formatter-vx3jgdek.js";
11
+ } from "./plugin-nvxqht09.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./plugin-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service46,
21
+ Service: () => Service48,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node48,
23
+ node: () => node51,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service46, Effect.gen(function* () {
62
- const resolver = yield* Service53;
63
- const agents = yield* Service68;
64
- return Service46.of({
61
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
62
+ const resolver = yield* Service70;
63
+ const agents = yield* Service66;
64
+ return Service48.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node48 = makeLocationNode({ service: Service46, layer, deps: [node55, node72] });
84
+ var node51 = makeLocationNode({ service: Service48, layer, deps: [node74, node69] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node51, exports_model };
@@ -1,49 +1,49 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./formatter-pt7m923m.js";
2
+ Service84,
3
+ node88
4
+ } from "./plugin-9ebmah4g.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./formatter-1ep2p91f.js";
7
+ } from "./plugin-27w5k9zf.js";
8
8
  import {
9
9
  __export
10
- } from "./formatter-9rqn6x4v.js";
10
+ } from "./plugin-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID9,
17
- Info: () => Info13,
18
- NotFoundError: () => NotFoundError9,
16
+ ID: () => ID8,
17
+ Info: () => Info12,
18
+ NotFoundError: () => NotFoundError8,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service66,
21
- node: () => node70
20
+ Service: () => Service61,
21
+ node: () => node64
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info13 = PermissionSaved.Info;
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info12 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID9
31
+ class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID8
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID9,
37
+ id: ID8,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service66 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service61 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service66, Effect.gen(function* () {
46
- const db = (yield* Service86).db;
45
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
46
+ const db = (yield* Service84).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
49
49
  return rows.map(info);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID9.create(),
55
+ id: ID8.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError9({ id: input.id });
64
+ return yield* new NotFoundError8({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError9({ id: input.id });
69
+ return yield* new NotFoundError8({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service66.of({ list, add, update, remove });
75
+ return Service61.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node90] });
93
+ var node64 = makeGlobalNode({ service: Service61, layer, deps: [node88] });
94
94
 
95
- export { ID9, Info13, NotFoundError9, ConflictError2, Service66, node70, exports_saved };
95
+ export { ID8, Info12, NotFoundError8, ConflictError2, Service61, node64, exports_saved };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID12
3
- } from "./formatter-3jw91zxn.js";
3
+ } from "./plugin-gg56aea0.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";