@opencode/core 0.0.0-dev-20150 → 0.0.0-dev-20154

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{kv-tffkxf13.js → formatter-05bs18sm.js} +7 -7
  8. package/dist/chunks/{kv-kht4mc5p.js → formatter-08hn3w1t.js} +3 -3
  9. package/dist/chunks/{kv-0jq9fyba.js → formatter-0996nyz8.js} +9 -9
  10. package/dist/chunks/{kv-ne53z7qe.js → formatter-0en4mdfg.js} +3 -3
  11. package/dist/chunks/{kv-0ccn2szc.js → formatter-0f9zpd1z.js} +20 -20
  12. package/dist/chunks/{kv-3cfn41g4.js → formatter-0fvxp85d.js} +35 -35
  13. package/dist/chunks/formatter-0mesazry.js +4 -0
  14. package/dist/chunks/{kv-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{kv-3rtxz4nr.js → formatter-0t9wd588.js} +8 -8
  16. package/dist/chunks/{kv-rqw4z3y5.js → formatter-1085njgr.js} +45 -45
  17. package/dist/chunks/{kv-4pqsajg3.js → formatter-11fqwpp6.js} +15 -15
  18. package/dist/chunks/{kv-dn3bqgaq.js → formatter-11xftm32.js} +27 -27
  19. package/dist/chunks/{kv-s80hxv6c.js → formatter-1ad61yzs.js} +24 -24
  20. package/dist/chunks/{kv-1cfb3ja4.js → formatter-1cfb3ja4.js} +5 -5
  21. package/dist/chunks/{kv-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{kv-y24ys8sf.js → formatter-1fw82rrz.js} +41 -41
  23. package/dist/chunks/{kv-kmka22ma.js → formatter-1k7ys8s2.js} +26 -26
  24. package/dist/chunks/{kv-5qsh0v84.js → formatter-1mnksntc.js} +2 -2
  25. package/dist/chunks/{kv-x2g1scrt.js → formatter-1szmg2fp.js} +26 -26
  26. package/dist/chunks/{kv-1ygqh575.js → formatter-1ygqh575.js} +2 -2
  27. package/dist/chunks/{kv-21r38tys.js → formatter-21r38tys.js} +1 -1
  28. package/dist/chunks/{kv-0jgz5j6j.js → formatter-22zp2z9f.js} +5 -5
  29. package/dist/chunks/{kv-ahw5pyz9.js → formatter-23rszh6g.js} +9 -9
  30. package/dist/chunks/{kv-2402vzrj.js → formatter-2402vzrj.js} +1 -1
  31. package/dist/chunks/{kv-mvxkgq5y.js → formatter-25b126yv.js} +24 -24
  32. package/dist/chunks/{kv-fwvq52tk.js → formatter-29eb1e1z.js} +7 -7
  33. package/dist/chunks/{kv-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{kv-gs3s1a1g.js → formatter-2eegacq4.js} +8 -8
  35. package/dist/chunks/{kv-2k8khapm.js → formatter-2k8khapm.js} +1 -1
  36. package/dist/chunks/{kv-57ez7d0k.js → formatter-2w6fc0zt.js} +7 -7
  37. package/dist/chunks/{kv-grd9cd6m.js → formatter-3051r0mf.js} +22 -22
  38. package/dist/chunks/{kv-xnyn1cgh.js → formatter-32hkxnxv.js} +5 -5
  39. package/dist/chunks/{kv-j8zzr2am.js → formatter-3e147rt9.js} +7 -7
  40. package/dist/chunks/{kv-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{kv-d82m1p2r.js → formatter-3fsxnh3r.js} +9 -9
  42. package/dist/chunks/{kv-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{kv-nzq7ck9f.js → formatter-3ppptnan.js} +6 -6
  44. package/dist/chunks/{kv-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{kv-weh2f3a0.js → formatter-3syeyv6h.js} +12 -12
  46. package/dist/chunks/{kv-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{kv-dj9sq318.js → formatter-3w0fmcng.js} +5 -5
  48. package/dist/chunks/{kv-a8vqk219.js → formatter-3wgaynme.js} +19 -19
  49. package/dist/chunks/{kv-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{kv-4eaqzgc4.js → formatter-3zynn388.js} +6 -6
  51. package/dist/chunks/{kv-pazfb172.js → formatter-4000bm05.js} +28 -28
  52. package/dist/chunks/{kv-8wpsay1h.js → formatter-43d6531p.js} +12 -12
  53. package/dist/chunks/{kv-h6310vsd.js → formatter-44ak30pa.js} +4 -4
  54. package/dist/chunks/{kv-vhp89w17.js → formatter-48h2kp0z.js} +12 -12
  55. package/dist/chunks/{kv-ncjresk4.js → formatter-4arb9zza.js} +8 -8
  56. package/dist/chunks/{kv-c0pm8rrr.js → formatter-4j5rd3nb.js} +22 -22
  57. package/dist/chunks/{kv-2kzjx7wg.js → formatter-4t0vqfa4.js} +2 -2
  58. package/dist/chunks/{kv-gfj9qsaq.js → formatter-4v6j91f0.js} +16 -16
  59. package/dist/chunks/{kv-nsarsp7q.js → formatter-4y72ap3v.js} +12 -12
  60. package/dist/chunks/{kv-6b0fgk81.js → formatter-4ykhr99h.js} +32 -32
  61. package/dist/chunks/{kv-xmwwj3b1.js → formatter-4z1dccvf.js} +16 -16
  62. package/dist/chunks/{kv-2cqzhaz4.js → formatter-526x9cfz.js} +4 -4
  63. package/dist/chunks/{kv-qbnb7c74.js → formatter-5601sb2r.js} +6 -6
  64. package/dist/chunks/{kv-r5z7p6xw.js → formatter-5age93ge.js} +45 -45
  65. package/dist/chunks/{kv-wahgg9pj.js → formatter-5d4fs1ac.js} +20 -20
  66. package/dist/chunks/{kv-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  67. package/dist/chunks/{kv-z8k2pwn3.js → formatter-5nvg4m9b.js} +10 -10
  68. package/dist/chunks/{kv-jb05x2td.js → formatter-5sh5mty0.js} +25 -25
  69. package/dist/chunks/{kv-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{kv-8fe4dz4x.js → formatter-5tfn2ep9.js} +8 -8
  71. package/dist/chunks/{kv-2jmrv99g.js → formatter-64hfcqtn.js} +20 -20
  72. package/dist/chunks/{kv-vhy7cj2x.js → formatter-65tn6s1e.js} +13 -13
  73. package/dist/chunks/{kv-669tq793.js → formatter-669tq793.js} +1 -1
  74. package/dist/chunks/{kv-b14nvtsk.js → formatter-66g1srzz.js} +25 -25
  75. package/dist/chunks/{kv-ft0vvk11.js → formatter-684eg8p8.js} +48 -48
  76. package/dist/chunks/{kv-1d4ma8zv.js → formatter-6g36ydm3.js} +40 -40
  77. package/dist/chunks/{kv-b905h8ee.js → formatter-6k0ykvm3.js} +35 -35
  78. package/dist/chunks/{kv-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{kv-3z59g7s8.js → formatter-6skxyfkw.js} +10 -10
  80. package/dist/chunks/{kv-yzb0c9yw.js → formatter-6t2yfq6r.js} +31 -31
  81. package/dist/chunks/{kv-v60patpd.js → formatter-6wf7w9m0.js} +43 -43
  82. package/dist/chunks/{kv-n7kjx2f1.js → formatter-6zxhhdw2.js} +8 -8
  83. package/dist/chunks/{kv-qab90vdt.js → formatter-725ga7b7.js} +18 -18
  84. package/dist/chunks/{kv-85xbdk8f.js → formatter-7apqwha9.js} +20 -20
  85. package/dist/chunks/{kv-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{kv-1qpw2tv6.js → formatter-7fdq7649.js} +10 -10
  87. package/dist/chunks/{kv-4phm5153.js → formatter-7gvwkz6m.js} +5 -5
  88. package/dist/chunks/{kv-0cw0akfc.js → formatter-7qjsfbt0.js} +96 -96
  89. package/dist/chunks/{kv-xyazt5zc.js → formatter-7sq8yzkh.js} +50 -50
  90. package/dist/chunks/formatter-7t0nnsk4.js +252 -0
  91. package/dist/chunks/{kv-fe39wqx3.js → formatter-7yb49614.js} +35 -35
  92. package/dist/chunks/{kv-cb2d4jeh.js → formatter-7z59ztsa.js} +17 -17
  93. package/dist/chunks/{kv-k8d0aa5r.js → formatter-83mkg5xj.js} +18 -18
  94. package/dist/chunks/{kv-zecw12g0.js → formatter-866na523.js} +24 -24
  95. package/dist/chunks/{kv-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{kv-zzkddxa9.js → formatter-8m98rn39.js} +22 -22
  97. package/dist/chunks/{kv-kbyhapax.js → formatter-8vsvfqbf.js} +18 -18
  98. package/dist/chunks/{kv-1jxxd7zj.js → formatter-928yj5t7.js} +4 -4
  99. package/dist/chunks/{kv-ksbzcvfq.js → formatter-92qtda8h.js} +17 -17
  100. package/dist/chunks/{kv-br4s61vx.js → formatter-931f43hd.js} +17 -17
  101. package/dist/chunks/{kv-gfvb90ym.js → formatter-94ek1h2f.js} +2 -2
  102. package/dist/chunks/{kv-d1vj0asq.js → formatter-9csj8dz4.js} +10 -10
  103. package/dist/chunks/{kv-st3ef2tx.js → formatter-9eww13ym.js} +13 -13
  104. package/dist/chunks/{kv-2gt6ag0v.js → formatter-9fz1q3tm.js} +12 -12
  105. package/dist/chunks/{kv-f63mczk8.js → formatter-9nsvfy1y.js} +3 -3
  106. package/dist/chunks/{kv-akzgx552.js → formatter-9r4gdqmt.js} +11 -11
  107. package/dist/chunks/{kv-7yxa3nsp.js → formatter-9sjhkssp.js} +17 -17
  108. package/dist/chunks/{kv-xtkxvazr.js → formatter-9thbxafe.js} +36 -36
  109. package/dist/chunks/{kv-0x6jpydm.js → formatter-9w14rhya.js} +4 -4
  110. package/dist/chunks/formatter-9zdhvgqs.js +18 -0
  111. package/dist/chunks/{kv-nq7strse.js → formatter-a4fy1m9y.js} +60 -60
  112. package/dist/chunks/{kv-dxqpzvvj.js → formatter-a8eqz3x1.js} +44 -44
  113. package/dist/chunks/{kv-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  114. package/dist/chunks/{kv-yvdqgwj0.js → formatter-acej97kd.js} +21 -21
  115. package/dist/chunks/{kv-wmpza86g.js → formatter-ae1cz8vk.js} +11 -11
  116. package/dist/chunks/{kv-kx3xh5q2.js → formatter-aew6e1r0.js} +33 -33
  117. package/dist/chunks/{kv-0mm9aq32.js → formatter-akqk8sab.js} +17 -17
  118. package/dist/chunks/{kv-bra465g3.js → formatter-aq6m5w8t.js} +22 -22
  119. package/dist/chunks/{kv-xwgfrhxd.js → formatter-axz2hwv9.js} +34 -34
  120. package/dist/chunks/{kv-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{kv-tp1gp6c2.js → formatter-c6d91fap.js} +5 -5
  122. package/dist/chunks/{kv-r2m716tb.js → formatter-c765mh8b.js} +5 -5
  123. package/dist/chunks/{kv-69jdjb90.js → formatter-c8ft1bdk.js} +32 -32
  124. package/dist/chunks/{kv-fee0bcte.js → formatter-cfb9s96d.js} +25 -25
  125. package/dist/chunks/{kv-54tcyq79.js → formatter-ckecvw8r.js} +2 -2
  126. package/dist/chunks/{kv-e90a3qe2.js → formatter-cmfqg0mx.js} +316 -316
  127. package/dist/chunks/{kv-hqjh5bwg.js → formatter-cmtkhjf7.js} +25 -25
  128. package/dist/chunks/{kv-5yzzbxa7.js → formatter-cmwkp3r5.js} +8 -8
  129. package/dist/chunks/{kv-a4e2f35m.js → formatter-ct1vechy.js} +8 -8
  130. package/dist/chunks/{kv-ycaz76dz.js → formatter-cv5z6vfr.js} +11 -11
  131. package/dist/chunks/{kv-kkd8fck1.js → formatter-cwtz3r9h.js} +31 -31
  132. package/dist/chunks/{kv-cxn490c7.js → formatter-cx34d9wd.js} +11 -11
  133. package/dist/chunks/{kv-qzyph8ek.js → formatter-cy3xvb8m.js} +11 -11
  134. package/dist/chunks/{kv-vchs86sn.js → formatter-cz5kh9x9.js} +91 -91
  135. package/dist/chunks/{kv-nng2ktcm.js → formatter-d2anxpr8.js} +2 -2
  136. package/dist/chunks/{kv-5epaarjt.js → formatter-d3vcvacx.js} +10 -10
  137. package/dist/chunks/{kv-smm23mye.js → formatter-d5fhp67k.js} +27 -27
  138. package/dist/chunks/{kv-z1h9w40p.js → formatter-d7zs612j.js} +35 -35
  139. package/dist/chunks/{kv-1ypg9fph.js → formatter-d8e4wj50.js} +23 -23
  140. package/dist/chunks/{kv-jq9p4h1b.js → formatter-d9axs6w3.js} +11 -11
  141. package/dist/chunks/{kv-ph842b28.js → formatter-dbmc5gjs.js} +4 -4
  142. package/dist/chunks/{kv-hykkawe6.js → formatter-deh802mt.js} +10 -10
  143. package/dist/chunks/{kv-00z3vp5f.js → formatter-dfe8djrf.js} +4 -4
  144. package/dist/chunks/{kv-qqeeq2t9.js → formatter-drwq78ky.js} +7 -7
  145. package/dist/chunks/{kv-tmkptqtt.js → formatter-e6qka3d3.js} +51 -51
  146. package/dist/chunks/{kv-rhjbct0v.js → formatter-eaj1djv9.js} +8 -8
  147. package/dist/chunks/{kv-ecfe7b91.js → formatter-ecfe7b91.js} +2 -2
  148. package/dist/chunks/{kv-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  149. package/dist/chunks/{kv-d569heh4.js → formatter-ehm6q3mk.js} +13 -13
  150. package/dist/chunks/{kv-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{kv-50mzsvk4.js → formatter-f3ngv102.js} +4 -4
  152. package/dist/chunks/{kv-zbejwb54.js → formatter-fdvpjyek.js} +4 -4
  153. package/dist/chunks/{kv-j98bxvq8.js → formatter-ffkgrkm6.js} +31 -31
  154. package/dist/chunks/{kv-dw9h4d1s.js → formatter-fhb1f05r.js} +18 -18
  155. package/dist/chunks/{kv-s3e1hqdt.js → formatter-fkgw8j18.js} +24 -24
  156. package/dist/chunks/{kv-3xaf2hpn.js → formatter-fkkzdrjv.js} +1 -1
  157. package/dist/chunks/{kv-1tah3m9p.js → formatter-fs6pqh0k.js} +22 -22
  158. package/dist/chunks/{kv-10pg2g46.js → formatter-fsnf83td.js} +3 -3
  159. package/dist/chunks/{kv-s2c14x69.js → formatter-fsr35fn4.js} +17 -17
  160. package/dist/chunks/{kv-7w99qc9d.js → formatter-fvxg17y2.js} +3 -3
  161. package/dist/chunks/{kv-qrzvehp7.js → formatter-fym05vea.js} +22 -22
  162. package/dist/chunks/{kv-zercbd28.js → formatter-g07qwdrd.js} +15 -15
  163. package/dist/chunks/{kv-7jddr6gf.js → formatter-g5zgqdyh.js} +178 -178
  164. package/dist/chunks/{kv-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{kv-x3461c9x.js → formatter-gfsc44x2.js} +3 -3
  166. package/dist/chunks/{kv-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{kv-xzfsztn4.js → formatter-gxfd8hef.js} +7 -7
  168. package/dist/chunks/{kv-e4bz7cx2.js → formatter-h69103sp.js} +13 -13
  169. package/dist/chunks/{kv-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{kv-nbzsj80d.js → formatter-hdthj1pw.js} +8 -8
  171. package/dist/chunks/{kv-n4r3xatb.js → formatter-hn57h045.js} +4 -4
  172. package/dist/chunks/{kv-9gavmhjr.js → formatter-hna2c7ca.js} +23 -23
  173. package/dist/chunks/{kv-2567g30s.js → formatter-j3a689hg.js} +76 -76
  174. package/dist/chunks/{kv-4cadcykb.js → formatter-j3m92qrb.js} +22 -22
  175. package/dist/chunks/{kv-n5jgxgrs.js → formatter-j517qxmb.js} +9 -9
  176. package/dist/chunks/{kv-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  177. package/dist/chunks/{kv-c1twzmh3.js → formatter-j8a6srd3.js} +24 -24
  178. package/dist/chunks/{kv-qdc1vz6s.js → formatter-j8rcbgwk.js} +17 -17
  179. package/dist/chunks/{kv-p5j3t9y2.js → formatter-jhq43s5h.js} +11 -11
  180. package/dist/chunks/{kv-f6xb9bw7.js → formatter-jqtwzasb.js} +23 -23
  181. package/dist/chunks/{kv-akes9ecd.js → formatter-jy0qaq37.js} +32 -32
  182. package/dist/chunks/{kv-nzks3jc8.js → formatter-k3c624dm.js} +3 -3
  183. package/dist/chunks/{kv-jf8mckk9.js → formatter-k4q8v3a9.js} +8 -8
  184. package/dist/chunks/{kv-q9ejhwtc.js → formatter-k562kksb.js} +13 -13
  185. package/dist/chunks/{kv-ssdqnhy0.js → formatter-k9d40v1y.js} +4 -4
  186. package/dist/chunks/{kv-spqcpneg.js → formatter-kb3wdknj.js} +6 -6
  187. package/dist/chunks/{kv-6ekhnjfk.js → formatter-khshe69x.js} +9 -9
  188. package/dist/chunks/{kv-m8f4r6n9.js → formatter-kjqk90ac.js} +43 -43
  189. package/dist/chunks/{kv-3td06z3c.js → formatter-kmb8tf68.js} +20 -20
  190. package/dist/chunks/{kv-3w0ncrsd.js → formatter-kr0xcp8s.js} +14 -14
  191. package/dist/chunks/{kv-dda0p7y7.js → formatter-kvjzkr2v.js} +9 -9
  192. package/dist/chunks/{kv-fng9e0je.js → formatter-kxpygcw9.js} +4 -4
  193. package/dist/chunks/{kv-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{kv-v9mws2y8.js → formatter-m3v5f3y9.js} +11 -11
  195. package/dist/chunks/{kv-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{kv-ptk7yd9k.js → formatter-mfaaf469.js} +5 -5
  197. package/dist/chunks/{kv-1bbkgx8g.js → formatter-mhkvc446.js} +3 -3
  198. package/dist/chunks/{kv-kbj1xfy6.js → formatter-mwvjswkd.js} +11 -11
  199. package/dist/chunks/{kv-8f4w13p0.js → formatter-ne59kr8e.js} +10 -10
  200. package/dist/chunks/{kv-k9v0rycf.js → formatter-nfgj4eq6.js} +5 -5
  201. package/dist/chunks/{kv-826khv63.js → formatter-nrryk3yj.js} +6 -6
  202. package/dist/chunks/{kv-h6r3nrb9.js → formatter-nzyhnfxz.js} +4 -4
  203. package/dist/chunks/{kv-55gmjfj6.js → formatter-p11x5atc.js} +8 -8
  204. package/dist/chunks/{kv-62wqep1k.js → formatter-p1a9ajhc.js} +33 -33
  205. package/dist/chunks/{kv-ts6j1d2x.js → formatter-p5bpgybb.js} +32 -32
  206. package/dist/chunks/{kv-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{kv-pknna89w.js → formatter-pknna89w.js} +1 -1
  208. package/dist/chunks/{kv-xwwy1hth.js → formatter-pnc9qwkd.js} +58 -58
  209. package/dist/chunks/{kv-xk747vep.js → formatter-pnv527nz.js} +5 -5
  210. package/dist/chunks/{kv-8mfdap3f.js → formatter-pw9v3g6d.js} +6 -6
  211. package/dist/chunks/{kv-ys7r2z0j.js → formatter-q07xjvq6.js} +11 -11
  212. package/dist/chunks/{kv-mt3kkmj0.js → formatter-q8rsswcz.js} +8 -8
  213. package/dist/chunks/{kv-tkmwgdpd.js → formatter-qa3qhgw8.js} +7 -7
  214. package/dist/chunks/{kv-6w2h0fz9.js → formatter-qcnsepw6.js} +9 -9
  215. package/dist/chunks/{kv-zzrdptt8.js → formatter-qgcrhj3x.js} +8 -8
  216. package/dist/chunks/{kv-k9avtbwf.js → formatter-qrc64xzg.js} +6 -6
  217. package/dist/chunks/{kv-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  218. package/dist/chunks/{kv-67qa6aef.js → formatter-qvfxvj2b.js} +5 -5
  219. package/dist/chunks/{kv-6ymymyv8.js → formatter-r04gnbv5.js} +8 -8
  220. package/dist/chunks/{kv-kvpggjmb.js → formatter-r0w37vnc.js} +44 -44
  221. package/dist/chunks/{kv-8qq09bkg.js → formatter-r7jcr2kw.js} +5 -5
  222. package/dist/chunks/{kv-v1qy4m3p.js → formatter-r9wn2x15.js} +15 -15
  223. package/dist/chunks/{kv-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{kv-dxfvb7hs.js → formatter-rdwveckh.js} +4 -4
  225. package/dist/chunks/{kv-61a47mvy.js → formatter-rg6pqn6b.js} +17 -17
  226. package/dist/chunks/{kv-7fkffz83.js → formatter-rkprpv83.js} +4 -4
  227. package/dist/chunks/{kv-kbe0ygze.js → formatter-rpdcp9d6.js} +34 -34
  228. package/dist/chunks/{kv-rnf8vhs0.js → formatter-rrfze9aq.js} +24 -24
  229. package/dist/chunks/{kv-zedk1dgy.js → formatter-s0fdkca3.js} +36 -36
  230. package/dist/chunks/{kv-amrmn45z.js → formatter-s20e8eba.js} +43 -43
  231. package/dist/chunks/{kv-ps782kke.js → formatter-s2pdfmmv.js} +22 -22
  232. package/dist/chunks/{kv-4yqnp489.js → formatter-sgsfh0h8.js} +12 -12
  233. package/dist/chunks/{kv-v3sgzvyr.js → formatter-sqy4ahhk.js} +1 -1
  234. package/dist/chunks/{kv-kxgz3y9a.js → formatter-t3tkefaq.js} +5 -5
  235. package/dist/chunks/{kv-3x1dzzzh.js → formatter-t43ffz5t.js} +20 -20
  236. package/dist/chunks/{kv-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{kv-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{kv-tdstcens.js → formatter-tdstcens.js} +1 -1
  239. package/dist/chunks/{kv-myesr8mc.js → formatter-tfj9sgam.js} +12 -12
  240. package/dist/chunks/{kv-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  241. package/dist/chunks/{kv-smswgpd0.js → formatter-v0xfw1m3.js} +8 -8
  242. package/dist/chunks/{kv-wtqdd1td.js → formatter-v1ceefev.js} +13 -13
  243. package/dist/chunks/{kv-xbhcscsb.js → formatter-v45qnrg9.js} +25 -25
  244. package/dist/chunks/{kv-0h7tmae7.js → formatter-v4zfgca1.js} +25 -25
  245. package/dist/chunks/{kv-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  246. package/dist/chunks/{kv-jwm5syjz.js → formatter-vhpkrxj6.js} +11 -11
  247. package/dist/chunks/{kv-y1zjbrv5.js → formatter-vme3s0y6.js} +15 -15
  248. package/dist/chunks/{kv-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{kv-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{kv-3t7xaxq6.js → formatter-w29yw4p7.js} +32 -32
  251. package/dist/chunks/{kv-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{kv-0511jhxe.js → formatter-w6hxg8ga.js} +18 -18
  253. package/dist/chunks/{kv-ms46b7as.js → formatter-wbe2v8yt.js} +29 -29
  254. package/dist/chunks/{kv-psazpmmj.js → formatter-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{kv-wd87259q.js → formatter-wd87259q.js} +1 -1
  256. package/dist/chunks/{kv-d8cw0a7r.js → formatter-wq4mmp7m.js} +4 -4
  257. package/dist/chunks/{kv-j3edxzqq.js → formatter-wyzbecmn.js} +19 -19
  258. package/dist/chunks/{kv-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{kv-qdbakdjh.js → formatter-x2rw7g36.js} +5 -5
  260. package/dist/chunks/{kv-btyqbk06.js → formatter-x6qvwyqy.js} +4 -4
  261. package/dist/chunks/{kv-4e3xp5h4.js → formatter-x6wkahxa.js} +20 -20
  262. package/dist/chunks/{kv-kptebxnn.js → formatter-xe7vm6z4.js} +11 -11
  263. package/dist/chunks/{kv-gpk5d2zr.js → formatter-xep4qe5p.js} +25 -25
  264. package/dist/chunks/{kv-y1k6q191.js → formatter-xj3z6972.js} +6 -6
  265. package/dist/chunks/{kv-xkntkrq7.js → formatter-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{kv-3geyhfdf.js → formatter-xspb0jaw.js} +1 -1
  267. package/dist/chunks/{kv-7abdfd9g.js → formatter-xx72zbe5.js} +22 -22
  268. package/dist/chunks/{kv-gc4fb455.js → formatter-xxndcd6m.js} +4 -4
  269. package/dist/chunks/{kv-rqbbsdjw.js → formatter-xzb3sydb.js} +6 -6
  270. package/dist/chunks/{kv-p9vmbpee.js → formatter-xzhq159g.js} +19 -19
  271. package/dist/chunks/{kv-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{kv-52w8pz0g.js → formatter-y3kwjdg3.js} +15 -15
  273. package/dist/chunks/{kv-9393pfnj.js → formatter-y4a0ndt6.js} +30 -30
  274. package/dist/chunks/{kv-y71avatq.js → formatter-y71avatq.js} +1 -1
  275. package/dist/chunks/{kv-mqbtwxg0.js → formatter-y7pvd72b.js} +3 -3
  276. package/dist/chunks/{kv-0d5t8cba.js → formatter-ydbbb7n3.js} +11 -11
  277. package/dist/chunks/{kv-hfa2dsm1.js → formatter-yjcmw3qg.js} +28 -28
  278. package/dist/chunks/{kv-bgxcxs0p.js → formatter-yjptyezs.js} +5 -5
  279. package/dist/chunks/{kv-r8xr0va3.js → formatter-yp2x3t23.js} +4 -4
  280. package/dist/chunks/{kv-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{kv-yrznvahk.js → formatter-yrznvahk.js} +2 -2
  282. package/dist/chunks/{kv-pyk6nw3v.js → formatter-yz5r218v.js} +27 -27
  283. package/dist/chunks/{kv-bjtzbw4r.js → formatter-z07pqspn.js} +3 -3
  284. package/dist/chunks/{kv-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{kv-5xk3y1mg.js → formatter-z0zbz97e.js} +7 -7
  286. package/dist/chunks/{kv-z63w68vq.js → formatter-z63w68vq.js} +2 -2
  287. package/dist/chunks/{kv-kj11q6np.js → formatter-z6f8ymea.js} +19 -19
  288. package/dist/chunks/{kv-bdhvfwg8.js → formatter-za3g8gy4.js} +37 -37
  289. package/dist/chunks/{kv-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{kv-9rbjm57m.js → formatter-znf1d9xg.js} +32 -32
  291. package/dist/chunks/{kv-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{kv-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +13 -13
  432. package/dist/filesystem.js +98 -98
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +79 -79
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +104 -104
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +113 -113
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +88 -88
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +97 -97
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +100 -100
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +84 -84
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +119 -119
  556. package/dist/plugin/websearch/exa.js +5 -5
  557. package/dist/plugin/websearch/firecrawl.js +6 -6
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +2 -2
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +4 -4
  562. package/dist/plugin/websearch/tinyfish.js +6 -6
  563. package/dist/plugin.js +229 -229
  564. package/dist/project/schema.js +6 -6
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +86 -86
  567. package/dist/provider.js +101 -101
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -98
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +89 -89
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +132 -132
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +224 -224
  588. package/dist/session/execution.js +128 -128
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +90 -90
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +93 -93
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +170 -170
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +75 -75
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +208 -208
  623. package/dist/session/system-prompt.js +5 -5
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +223 -223
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +216 -216
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +15 -15
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +4 -4
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +127 -127
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +103 -103
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +209 -209
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +110 -110
  656. package/dist/tool/plugin/write.js +118 -118
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +1 -1
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +87 -87
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/kv-58bm0art.js +0 -252
  703. package/dist/chunks/kv-dxj72tfx.js +0 -18
  704. package/dist/chunks/kv-hxa7m5za.js +0 -4
  705. /package/dist/chunks/{kv-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{kv-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{kv-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{kv-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{kv-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{kv-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{kv-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{kv-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{kv-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{kv-34c7v6d4.js → formatter-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{kv-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{kv-3asan66x.js → formatter-3asan66x.js} +0 -0
  717. /package/dist/chunks/{kv-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{kv-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{kv-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{kv-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{kv-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{kv-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{kv-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{kv-53557ph1.js → formatter-53557ph1.js} +0 -0
  725. /package/dist/chunks/{kv-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{kv-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{kv-6prwharc.js → formatter-6prwharc.js} +0 -0
  728. /package/dist/chunks/{kv-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{kv-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{kv-822emrt2.js → formatter-822emrt2.js} +0 -0
  731. /package/dist/chunks/{kv-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{kv-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{kv-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{kv-922hggd3.js → formatter-922hggd3.js} +0 -0
  735. /package/dist/chunks/{kv-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{kv-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{kv-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{kv-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{kv-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{kv-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{kv-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{kv-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{kv-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{kv-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{kv-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{kv-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{kv-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{kv-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{kv-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{kv-df08tz66.js → formatter-df08tz66.js} +0 -0
  751. /package/dist/chunks/{kv-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{kv-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{kv-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{kv-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{kv-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{kv-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{kv-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{kv-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{kv-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{kv-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{kv-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{kv-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{kv-g86h250q.js → formatter-g86h250q.js} +0 -0
  764. /package/dist/chunks/{kv-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{kv-gftt206x.js → formatter-gftt206x.js} +0 -0
  766. /package/dist/chunks/{kv-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{kv-hk9envan.js → formatter-hk9envan.js} +0 -0
  768. /package/dist/chunks/{kv-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{kv-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{kv-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{kv-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{kv-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{kv-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{kv-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{kv-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{kv-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{kv-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{kv-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{kv-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{kv-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{kv-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{kv-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{kv-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{kv-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{kv-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{kv-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{kv-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{kv-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{kv-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{kv-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{kv-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{kv-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{kv-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{kv-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{kv-x61499pn.js → formatter-x61499pn.js} +0 -0
  796. /package/dist/chunks/{kv-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{kv-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{kv-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{kv-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{kv-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{kv-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./kv-y71avatq.js";
3
+ } from "./formatter-y71avatq.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./kv-gfj9qsaq.js";
5
+ Service83,
6
+ node87
7
+ } from "./formatter-4v6j91f0.js";
8
8
  import {
9
- Event20,
10
- Service76,
11
- node80
12
- } from "./kv-3cfn41g4.js";
9
+ Event15,
10
+ Service70,
11
+ node74
12
+ } from "./formatter-0fvxp85d.js";
13
13
  import {
14
- Service79,
15
- node83
16
- } from "./kv-3w0ncrsd.js";
14
+ Service78,
15
+ node82
16
+ } from "./formatter-kr0xcp8s.js";
17
17
  import {
18
- Service52,
19
- node55
20
- } from "./kv-rnf8vhs0.js";
18
+ Service50,
19
+ node53
20
+ } from "./formatter-rrfze9aq.js";
21
21
  import {
22
- ID15,
23
- Service75,
24
- node79
25
- } from "./kv-hfa2dsm1.js";
22
+ ID10,
23
+ Service71,
24
+ node75
25
+ } from "./formatter-yjcmw3qg.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./kv-rdw6cm16.js";
29
+ } from "./formatter-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID8,
32
32
  MethodID2,
33
- Service74,
34
- node78
35
- } from "./kv-69jdjb90.js";
33
+ Service69,
34
+ node73
35
+ } from "./formatter-c8ft1bdk.js";
36
36
  import {
37
37
  __export
38
- } from "./kv-9rqn6x4v.js";
38
+ } from "./formatter-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
44
+ NotFoundError: () => NotFoundError5,
45
45
  Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service26,
53
+ Service: () => Service36,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
56
  configured: () => configured4,
57
- layer: () => layer13,
58
- node: () => node30
57
+ layer: () => layer14,
58
+ node: () => node39
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,7 +93,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service26 extends Context.Service()("@opencode/MCP") {
96
+ class Service36 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
98
  var Options4 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
@@ -101,13 +101,13 @@ var Options4 = Schema.Struct({
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
105
- const location = yield* Service79;
106
- const environment = yield* Service52;
107
- const bus = yield* Service82;
108
- const forms = yield* Service75;
109
- const integration = yield* Service74;
110
- const credentials = yield* Service76;
104
+ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
105
+ const location = yield* Service78;
106
+ const environment = yield* Service50;
107
+ const bus = yield* Service83;
108
+ const forms = yield* Service71;
109
+ const integration = yield* Service69;
110
+ const credentials = yield* Service70;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID14.make(suffix);
122
+ const integrationID = ID8.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError4({ server: name });
147
+ return yield* new NotFoundError5({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID15.create();
159
+ const formID = ID10.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -259,7 +259,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
259
259
  entry.scope = scope;
260
260
  const authProvider = yield* connectProvider(entry);
261
261
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
262
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service52, environment), Scope.provide(scope));
262
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service50, environment), Scope.provide(scope));
263
263
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
264
264
  if (Exit.isSuccess(result)) {
265
265
  entry.client = result.value.connection;
@@ -384,7 +384,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
384
384
  yield* startServer(name, entry);
385
385
  }).pipe(locks.withLock(name));
386
386
  });
387
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
387
+ fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
388
388
  const state = create3({
389
389
  name: "mcp",
390
390
  initial: () => ({
@@ -410,7 +410,7 @@ var layer13 = (options) => Layer.effect(Service26, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service26.of({
413
+ return Service36.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -518,12 +518,12 @@ function mergeCatalogs(catalogs) {
518
518
  }
519
519
  function configured4(options) {
520
520
  return makeLocationNode({
521
- service: Service26,
522
- layer: layer13(options),
523
- deps: [node83, node55, node86, node79, node78, node80]
521
+ service: Service36,
522
+ layer: layer14(options),
523
+ deps: [node82, node53, node87, node75, node73, node74]
524
524
  });
525
525
  }
526
- var node30 = configured4();
526
+ var node39 = configured4();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service26, Options4, layer13, configured4, node30, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options4, layer14, configured4, node39, exports_mcp4 };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node80
3
+ } from "./formatter-1ad61yzs.js";
4
+ import {
5
+ node75
6
+ } from "./formatter-yjcmw3qg.js";
7
+ import {
8
+ node73
9
+ } from "./formatter-c8ft1bdk.js";
10
+ import {
11
+ node82,
12
+ boundNode2
13
+ } from "./formatter-kr0xcp8s.js";
14
+ import {
15
+ node72
16
+ } from "./formatter-7yb49614.js";
17
+ import {
18
+ node70
19
+ } from "./formatter-ydbbb7n3.js";
20
+ import {
21
+ node71
22
+ } from "./formatter-p1a9ajhc.js";
23
+ import {
24
+ node48
25
+ } from "./formatter-1k7ys8s2.js";
26
+ import {
27
+ configured8,
28
+ node57
29
+ } from "./formatter-a8eqz3x1.js";
30
+ import {
31
+ node53
32
+ } from "./formatter-rrfze9aq.js";
33
+ import {
34
+ node18
35
+ } from "./formatter-k562kksb.js";
36
+ import {
37
+ node66
38
+ } from "./formatter-w6hxg8ga.js";
39
+ import {
40
+ node17
41
+ } from "./formatter-866na523.js";
42
+ import {
43
+ node16
44
+ } from "./formatter-xzhq159g.js";
45
+ import {
46
+ node69
47
+ } from "./formatter-r0w37vnc.js";
48
+ import {
49
+ node68
50
+ } from "./formatter-xep4qe5p.js";
51
+ import {
52
+ node67
53
+ } from "./formatter-kvjzkr2v.js";
54
+ import {
55
+ node39
56
+ } from "./formatter-7sq8yzkh.js";
57
+ import {
58
+ Service40,
59
+ node42
60
+ } from "./formatter-3ppptnan.js";
61
+ import {
62
+ node32
63
+ } from "./formatter-x6wkahxa.js";
64
+ import {
65
+ node81
66
+ } from "./formatter-2eegacq4.js";
67
+ import {
68
+ node77
69
+ } from "./formatter-pnc9qwkd.js";
70
+ import {
71
+ node43
72
+ } from "./formatter-65tn6s1e.js";
73
+ import {
74
+ configured5,
75
+ node45
76
+ } from "./formatter-jqtwzasb.js";
77
+ import {
78
+ node31
79
+ } from "./formatter-z6f8ymea.js";
80
+ import {
81
+ node65
82
+ } from "./formatter-j8a6srd3.js";
83
+ import {
84
+ node38
85
+ } from "./formatter-znf1d9xg.js";
86
+ import {
87
+ node52
88
+ } from "./formatter-11xftm32.js";
89
+ import {
90
+ node29
91
+ } from "./formatter-kmb8tf68.js";
92
+ import {
93
+ node76
94
+ } from "./formatter-1szmg2fp.js";
95
+ import {
96
+ node30
97
+ } from "./formatter-j3m92qrb.js";
98
+ import {
99
+ node28
100
+ } from "./formatter-cz5kh9x9.js";
101
+ import {
102
+ node63
103
+ } from "./formatter-aew6e1r0.js";
104
+ import {
105
+ node62
106
+ } from "./formatter-fs6pqh0k.js";
107
+ import {
108
+ node47
109
+ } from "./formatter-tfj9sgam.js";
110
+ import {
111
+ node36
112
+ } from "./formatter-e6qka3d3.js";
113
+ import {
114
+ node51
115
+ } from "./formatter-fhb1f05r.js";
116
+ import {
117
+ node64
118
+ } from "./formatter-t43ffz5t.js";
119
+ import {
120
+ node85
121
+ } from "./formatter-5sh5mty0.js";
122
+ import {
123
+ node50
124
+ } from "./formatter-acej97kd.js";
125
+ import {
126
+ node24
127
+ } from "./formatter-aq6m5w8t.js";
128
+ import {
129
+ node4
130
+ } from "./formatter-axz2hwv9.js";
131
+ import {
132
+ Service20,
133
+ node22
134
+ } from "./formatter-9thbxafe.js";
135
+ import {
136
+ node15
137
+ } from "./formatter-83mkg5xj.js";
138
+ import {
139
+ node7,
140
+ bound2
141
+ } from "./formatter-cmwkp3r5.js";
142
+ import {
143
+ node12
144
+ } from "./formatter-4000bm05.js";
145
+ import {
146
+ node13
147
+ } from "./formatter-r9wn2x15.js";
148
+ import {
149
+ node14
150
+ } from "./formatter-vme3s0y6.js";
151
+ import {
152
+ node5
153
+ } from "./formatter-5age93ge.js";
154
+ import {
155
+ node20
156
+ } from "./formatter-za3g8gy4.js";
157
+ import {
158
+ node3
159
+ } from "./formatter-w29yw4p7.js";
160
+ import {
161
+ node2
162
+ } from "./formatter-j3a689hg.js";
163
+ import {
164
+ __export
165
+ } from "./formatter-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service40,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node42
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node82,
181
+ node22,
182
+ node53,
183
+ node57,
184
+ node80,
185
+ node48,
186
+ node52,
187
+ node51,
188
+ node85,
189
+ node73,
190
+ node72,
191
+ node71,
192
+ node69,
193
+ node70,
194
+ node24,
195
+ node81,
196
+ node7,
197
+ node5,
198
+ node50,
199
+ node17,
200
+ node16,
201
+ node62,
202
+ node20,
203
+ node36,
204
+ node76,
205
+ node31,
206
+ node45,
207
+ node15,
208
+ node18,
209
+ node66,
210
+ node39,
211
+ node77,
212
+ node65,
213
+ node47,
214
+ node67,
215
+ node30,
216
+ node29,
217
+ node32,
218
+ node75,
219
+ node68,
220
+ node14,
221
+ node38,
222
+ node13,
223
+ node43,
224
+ node12,
225
+ node3,
226
+ node28,
227
+ node63,
228
+ node2,
229
+ node64,
230
+ node4
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node57.replace(configured8({ project: false, global: false })),
235
+ node45.replace(configured5({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node82.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node7.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service20).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./kv-gfj9qsaq.js";
2
+ Service83,
3
+ node87
4
+ } from "./formatter-4v6j91f0.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./kv-rdw6cm16.js";
8
+ } from "./formatter-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service74,
12
- node78,
13
- Event18
14
- } from "./kv-69jdjb90.js";
10
+ ID8,
11
+ Service69,
12
+ node73,
13
+ Event14
14
+ } from "./formatter-c8ft1bdk.js";
15
15
  import {
16
16
  key2
17
- } from "./kv-h6r3nrb9.js";
17
+ } from "./formatter-nzyhnfxz.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./kv-3w0ncrsd.js";
19
+ Service78,
20
+ node82
21
+ } from "./formatter-kr0xcp8s.js";
22
22
  import {
23
23
  __export
24
- } from "./kv-9rqn6x4v.js";
24
+ } from "./formatter-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event17,
41
- ID: () => ID13,
42
- Info: () => Info27,
40
+ Event: () => Event13,
41
+ ID: () => ID7,
42
+ Info: () => Info22,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request3,
46
- Service: () => Service73,
45
+ Request: () => Request2,
46
+ Service: () => Service68,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node77,
56
+ node: () => node72,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event17 } from "@opencode/schema/provider";
68
- var ID13 = Provider.ID;
67
+ import { Event as Event13 } from "@opencode/schema/provider";
68
+ var ID7 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request3 = Provider.Request;
209
+ var Request2 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info27 = Provider.Info;
213
+ var Info22 = Provider.Info;
214
214
 
215
- class Service73 extends Context.Service()("@opencode/Provider") {
215
+ class Service68 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service73, Effect.gen(function* () {
229
- const bus = yield* Service82;
230
- const integrations = yield* Service74;
231
- const location = yield* Service79;
228
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
229
+ const bus = yield* Service83;
230
+ const integrations = yield* Service69;
231
+ const location = yield* Service78;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info27.empty(id), models: new Map };
242
+ const added = { provider: Info22.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service73.of({
349
+ yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service68.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node86, node78, node83] });
359
+ var node72 = makeLocationNode({ service: Service68, layer, deps: [node87, node73, node82] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
625
625
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
626
626
  var decode = Schema2.decodeUnknownSync(Legacy);
627
627
 
628
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service73, node77, exports_provider3, Event17 };
628
+ export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info22, Service68, node72, exports_provider3, Event13 };