@opencode/core 0.0.0-dev-20728 → 0.0.0-dev-20732

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{schema-a1jye2k7.js → location-018g50k6.js} +6 -6
  8. package/dist/chunks/{schema-g2y161wv.js → location-05xfxpq7.js} +5 -5
  9. package/dist/chunks/{schema-m87mmgzw.js → location-0hmrebdx.js} +36 -36
  10. package/dist/chunks/{schema-0j77ygfz.js → location-0j77ygfz.js} +2 -2
  11. package/dist/chunks/{schema-dh0webm5.js → location-0meaf1wg.js} +7 -7
  12. package/dist/chunks/{schema-erjffywh.js → location-0mprnhvr.js} +18 -18
  13. package/dist/chunks/{schema-02g264nc.js → location-0n2ztf6h.js} +12 -12
  14. package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{schema-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{schema-rp4sdv0x.js → location-11ddt8jx.js} +3 -3
  17. package/dist/chunks/{schema-4zmcj57q.js → location-124d3sga.js} +13 -13
  18. package/dist/chunks/{schema-h74kgs22.js → location-12arssw0.js} +28 -28
  19. package/dist/chunks/{schema-yp2x3t23.js → location-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{schema-84h8c373.js → location-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{schema-840fpbhq.js → location-1h05fpfc.js} +1 -1
  23. package/dist/chunks/{schema-hk2k4rxs.js → location-1kn9js94.js} +1 -1
  24. package/dist/chunks/{schema-y415rrbf.js → location-1v83qqqa.js} +35 -35
  25. package/dist/chunks/{schema-1ygqh575.js → location-1ygqh575.js} +2 -2
  26. package/dist/chunks/{schema-yd8mzne0.js → location-1z74wxwj.js} +24 -24
  27. package/dist/chunks/{schema-vykevjvn.js → location-207ajt2h.js} +5 -5
  28. package/dist/chunks/{schema-pdeqb1sv.js → location-26tgw3q9.js} +14 -14
  29. package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{schema-2ccvkpx1.js → location-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/{schema-z7rpvhac.js → location-2d90wz9s.js} +9 -9
  32. package/dist/chunks/{schema-ykt494b9.js → location-2m8jawch.js} +4 -4
  33. package/dist/chunks/{schema-kt27ghqn.js → location-31c09hs0.js} +5 -5
  34. package/dist/chunks/{schema-daptfcmc.js → location-327nxpht.js} +19 -19
  35. package/dist/chunks/{schema-w9cms8xc.js → location-339acx8g.js} +5 -5
  36. package/dist/chunks/{schema-rjjkcyvm.js → location-34f7k92p.js} +42 -42
  37. package/dist/chunks/{schema-2s47eas1.js → location-36663d4h.js} +26 -26
  38. package/dist/chunks/{schema-2hmemtj6.js → location-3df827ch.js} +3 -3
  39. package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{schema-tdhpy44v.js → location-43355rh8.js} +20 -20
  45. package/dist/chunks/{schema-rrpq0de9.js → location-4bk00v8h.js} +12 -12
  46. package/dist/chunks/{schema-5byh5fbq.js → location-4f3k4dbg.js} +15 -15
  47. package/dist/chunks/{schema-crh2qmpd.js → location-4nqe1xb5.js} +11 -11
  48. package/dist/chunks/{schema-ymaah0de.js → location-4z2gahf8.js} +23 -23
  49. package/dist/chunks/{schema-4z58m4b4.js → location-4z58m4b4.js} +1 -1
  50. package/dist/chunks/{schema-r94pvvab.js → location-54ma36ye.js} +4 -4
  51. package/dist/chunks/{schema-xea99qfv.js → location-5dbyheb1.js} +47 -47
  52. package/dist/chunks/{schema-82kvrph2.js → location-5e7vn2h5.js} +16 -16
  53. package/dist/chunks/{schema-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{schema-tjtvkmkx.js → location-5z77wtmw.js} +3 -3
  56. package/dist/chunks/{schema-snvwhan6.js → location-6355zzhx.js} +5 -5
  57. package/dist/chunks/{schema-k60d36ch.js → location-69yjwdf1.js} +20 -20
  58. package/dist/chunks/{schema-rewxngkf.js → location-6ga60bwb.js} +32 -32
  59. package/dist/chunks/{schema-47rn6gb0.js → location-6jz79czp.js} +3 -3
  60. package/dist/chunks/{schema-zs20n4td.js → location-6r5wz7qt.js} +18 -18
  61. package/dist/chunks/{schema-vsp1fds9.js → location-6sr3ve8g.js} +4 -4
  62. package/dist/chunks/{schema-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{schema-xr03j6kv.js → location-6zbg9ej9.js} +49 -49
  64. package/dist/chunks/{schema-f75zav2x.js → location-71az546q.js} +2 -2
  65. package/dist/chunks/{schema-zs6nm7rs.js → location-72zy0jqs.js} +9 -9
  66. package/dist/chunks/{schema-2663q2cr.js → location-73r4cdwa.js} +17 -17
  67. package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{schema-6gkjayg0.js → location-7c2a2ky2.js} +7 -7
  69. package/dist/chunks/{schema-mhrxr73y.js → location-7dcrx3ae.js} +15 -15
  70. package/dist/chunks/{schema-jtr36q24.js → location-7veege35.js} +12 -12
  71. package/dist/chunks/{schema-3v4eqn68.js → location-84hvk1m2.js} +16 -16
  72. package/dist/chunks/{schema-kxhhe7ks.js → location-862dge66.js} +11 -11
  73. package/dist/chunks/{schema-rj8ch5sw.js → location-8bwmh9pn.js} +10 -10
  74. package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{schema-ywmq76e1.js → location-8dtbrnbt.js} +23 -23
  76. package/dist/chunks/{schema-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{schema-jn24yy65.js → location-8pxx9679.js} +93 -93
  78. package/dist/chunks/{schema-j9hprypc.js → location-95f4yj9r.js} +11 -11
  79. package/dist/chunks/{schema-1v4g0mnm.js → location-98875m2v.js} +20 -20
  80. package/dist/chunks/{schema-5vnqvhdy.js → location-99wenzhp.js} +18 -18
  81. package/dist/chunks/{schema-kb9j3d72.js → location-9e5bzkjp.js} +3 -3
  82. package/dist/chunks/{schema-g5x9spb3.js → location-9e7ntz7n.js} +13 -13
  83. package/dist/chunks/{schema-8xpvx0xf.js → location-9ktdg2kj.js} +18 -18
  84. package/dist/chunks/{schema-yv6pefj2.js → location-9mr8vnz8.js} +14 -14
  85. package/dist/chunks/{schema-qcy2fs5h.js → location-9n10r3b6.js} +22 -22
  86. package/dist/chunks/{schema-7yymr8c1.js → location-9p6p0atc.js} +18 -18
  87. package/dist/chunks/{schema-gva94evv.js → location-9prv77hx.js} +9 -9
  88. package/dist/chunks/location-9sh4wc5j.js +18 -0
  89. package/dist/chunks/{schema-4qh5k59y.js → location-9zzqkcja.js} +11 -11
  90. package/dist/chunks/{schema-a2ew8a62.js → location-a2ew8a62.js} +1 -1
  91. package/dist/chunks/{schema-a3c7ahw6.js → location-a3c7ahw6.js} +1 -1
  92. package/dist/chunks/{schema-tjpmwyed.js → location-a6w7x0dp.js} +3 -3
  93. package/dist/chunks/{schema-k5mqd01k.js → location-a9jnh2ry.js} +10 -10
  94. package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
  95. package/dist/chunks/{schema-4922bdcs.js → location-aagvde34.js} +32 -32
  96. package/dist/chunks/{schema-addxnjmp.js → location-addxnjmp.js} +1 -1
  97. package/dist/chunks/{schema-z208n99h.js → location-adz22r75.js} +13 -13
  98. package/dist/chunks/{schema-scgrse2b.js → location-b3f8fkhc.js} +5 -5
  99. package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{schema-rwv28x5t.js → location-bapvy5v2.js} +3 -3
  101. package/dist/chunks/{schema-wgqbq6kr.js → location-bsjw1qxa.js} +4 -4
  102. package/dist/chunks/{schema-kr1ymz84.js → location-bty85w2p.js} +24 -24
  103. package/dist/chunks/{schema-j1fsx5qw.js → location-c2x78mxc.js} +35 -35
  104. package/dist/chunks/{schema-vr3aek46.js → location-ca0nj0by.js} +22 -22
  105. package/dist/chunks/{schema-rczq51rp.js → location-cdqe3acw.js} +6 -6
  106. package/dist/chunks/{schema-7dcnqvbr.js → location-cf6066tf.js} +31 -22
  107. package/dist/chunks/{schema-w92k2e0p.js → location-cfsekr6v.js} +8 -8
  108. package/dist/chunks/{schema-4xr8m0aa.js → location-d4rbh6ak.js} +9 -9
  109. package/dist/chunks/{schema-n5jf03an.js → location-d8s2zm1x.js} +7 -7
  110. package/dist/chunks/{schema-bskqsgt5.js → location-daz4xq7q.js} +11 -11
  111. package/dist/chunks/{schema-jta96yax.js → location-dchhcxvn.js} +9 -9
  112. package/dist/chunks/{schema-zf5859yh.js → location-dfd5mgtk.js} +31 -31
  113. package/dist/chunks/{schema-pxcy2v4k.js → location-djq871tb.js} +4 -4
  114. package/dist/chunks/{schema-erbnzk8y.js → location-dn50s6hc.js} +41 -41
  115. package/dist/chunks/{schema-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{schema-e9w2ffer.js → location-dzy5aakp.js} +12 -12
  117. package/dist/chunks/{schema-v2m3q5y9.js → location-e1raa5mm.js} +7 -7
  118. package/dist/chunks/{schema-jgjgcm7r.js → location-e2mk3tg3.js} +4 -4
  119. package/dist/chunks/{schema-sr36t4tg.js → location-e5mvmyh8.js} +10 -10
  120. package/dist/chunks/{schema-g46t4tqm.js → location-e9de3xxg.js} +6 -6
  121. package/dist/chunks/{schema-3chxap05.js → location-eaz2j5p8.js} +6 -6
  122. package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{schema-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
  124. package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{schema-skeejxkf.js → location-f20kv32e.js} +9 -9
  126. package/dist/chunks/{schema-y70rs0tm.js → location-f23k8efd.js} +33 -33
  127. package/dist/chunks/{schema-ka78afm3.js → location-f2mfbnxq.js} +7 -7
  128. package/dist/chunks/{schema-9795rgjt.js → location-f3b2zyky.js} +4 -4
  129. package/dist/chunks/{schema-0dqvt60g.js → location-fa5a6z34.js} +2 -2
  130. package/dist/chunks/{schema-fcrkznn8.js → location-fcrkznn8.js} +1 -1
  131. package/dist/chunks/{schema-3k6hnjpv.js → location-ff1nx8de.js} +304 -304
  132. package/dist/chunks/{schema-0y5bnsvv.js → location-fjzgnj6k.js} +13 -13
  133. package/dist/chunks/{schema-qj7nrkn4.js → location-fzncz4bm.js} +20 -20
  134. package/dist/chunks/{schema-5yzzbxa7.js → location-g0445xdp.js} +8 -8
  135. package/dist/chunks/{schema-bghdypt9.js → location-g0kw0tj5.js} +14 -14
  136. package/dist/chunks/{schema-ytk7n60r.js → location-g32vcz6j.js} +36 -36
  137. package/dist/chunks/{schema-57b9ws8p.js → location-g5w8qwbj.js} +7 -7
  138. package/dist/chunks/{schema-gd0tnyjc.js → location-gd0tnyjc.js} +1 -1
  139. package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{schema-7vyzxw8y.js → location-gdaft186.js} +9 -9
  141. package/dist/chunks/{schema-nh510fz3.js → location-gdxj8ks4.js} +24 -24
  142. package/dist/chunks/{schema-fjb6gf5c.js → location-gmpz9h40.js} +27 -27
  143. package/dist/chunks/{schema-bahvtqv2.js → location-gnvmv7zt.js} +18 -18
  144. package/dist/chunks/{schema-eqv7r0bw.js → location-gqft2nrr.js} +6 -6
  145. package/dist/chunks/{schema-npa44ypb.js → location-grhdqs63.js} +15 -15
  146. package/dist/chunks/{schema-gaphvq12.js → location-gt93hrec.js} +11 -11
  147. package/dist/chunks/{schema-3cegwx68.js → location-h2b79v29.js} +2 -2
  148. package/dist/chunks/{schema-6yk1gpns.js → location-h4kgzxf5.js} +2 -2
  149. package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{schema-n7p1k2qf.js → location-h9wy77ww.js} +3 -3
  151. package/dist/chunks/{schema-ft5semx5.js → location-hapgv9v5.js} +26 -26
  152. package/dist/chunks/{schema-1wn14s7w.js → location-hkwpvpak.js} +19 -19
  153. package/dist/chunks/{schema-28qgffdg.js → location-hq78km43.js} +21 -21
  154. package/dist/chunks/{schema-6zaqt7dr.js → location-hvtsb2k8.js} +9 -9
  155. package/dist/chunks/{schema-y10cx7wx.js → location-j151k726.js} +33 -33
  156. package/dist/chunks/{schema-zn1w914b.js → location-j2kw60gk.js} +13 -13
  157. package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
  158. package/dist/chunks/{schema-yp66jxhs.js → location-jdg8p4tj.js} +9 -9
  159. package/dist/chunks/{schema-9yrh9n06.js → location-jdrd3c06.js} +1 -1
  160. package/dist/chunks/{schema-ca5q3sa4.js → location-jkzf7ay7.js} +6 -6
  161. package/dist/chunks/{schema-9ja4ygxc.js → location-jt92w6zc.js} +23 -23
  162. package/dist/chunks/{schema-9adgdhyd.js → location-k212rrg8.js} +4 -4
  163. package/dist/chunks/{schema-hn57h045.js → location-k76fn4kw.js} +4 -4
  164. package/dist/chunks/{schema-p8s02wn2.js → location-k9anv2x6.js} +14 -14
  165. package/dist/chunks/{schema-8zv3wp18.js → location-karyz3y9.js} +10 -10
  166. package/dist/chunks/{schema-m3t9151j.js → location-kbe6f2sn.js} +25 -25
  167. package/dist/chunks/{schema-4erjtqpw.js → location-kg64916e.js} +3 -3
  168. package/dist/chunks/{schema-xgwtbm8x.js → location-kmg3b8a8.js} +83 -83
  169. package/dist/chunks/{schema-0ps91a7a.js → location-ksatnkbz.js} +23 -23
  170. package/dist/chunks/{schema-wdfmv1rt.js → location-m242qanr.js} +40 -40
  171. package/dist/chunks/{schema-hdnjgwej.js → location-m30qs711.js} +29 -29
  172. package/dist/chunks/{schema-2b5wyz52.js → location-m3c0a78p.js} +9 -9
  173. package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{schema-jsczegrp.js → location-m70vqwee.js} +16 -16
  175. package/dist/chunks/{schema-8byxt7bq.js → location-m793x516.js} +141 -141
  176. package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{schema-kvjzkr2v.js → location-mawpmn43.js} +8 -8
  178. package/dist/chunks/{schema-efxe2svv.js → location-mek16e5d.js} +11 -11
  179. package/dist/chunks/{schema-fg6c7q2e.js → location-mqvx1r3j.js} +8 -8
  180. package/dist/chunks/{schema-dh3p6hwj.js → location-mvw81cf0.js} +24 -24
  181. package/dist/chunks/{schema-0kjv6zqm.js → location-n1exqw8h.js} +1 -1
  182. package/dist/chunks/{schema-mz7wxez8.js → location-n38m8ysg.js} +35 -35
  183. package/dist/chunks/{schema-n8sna2wb.js → location-n8sna2wb.js} +2 -2
  184. package/dist/chunks/{schema-69ct9x9k.js → location-n8wxvzz9.js} +8 -8
  185. package/dist/chunks/{schema-2zds0nxm.js → location-nb0mgk1p.js} +24 -24
  186. package/dist/chunks/{schema-abtvfq1n.js → location-nc6y641n.js} +19 -19
  187. package/dist/chunks/{schema-pm2wwawt.js → location-nfcraa34.js} +23 -23
  188. package/dist/chunks/{schema-qr2c2ezf.js → location-nj66ja0z.js} +56 -56
  189. package/dist/chunks/{schema-s0y0yn56.js → location-nwav4b6k.js} +8 -8
  190. package/dist/chunks/{schema-kt83d922.js → location-p7vebjqd.js} +14 -14
  191. package/dist/chunks/{schema-kb6gw2zp.js → location-pcxghkgz.js} +4 -4
  192. package/dist/chunks/{schema-5gh2y96e.js → location-pdz1qa80.js} +8 -8
  193. package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
  195. package/dist/chunks/{schema-fhz5gfgy.js → location-pp7e5es3.js} +5 -5
  196. package/dist/chunks/{schema-hd4remjx.js → location-pqst28f9.js} +23 -23
  197. package/dist/chunks/{schema-t0ghfsqf.js → location-pqza79a5.js} +33 -33
  198. package/dist/chunks/{schema-sxmar18p.js → location-pv7j4d88.js} +22 -22
  199. package/dist/chunks/{schema-t58jyhmh.js → location-pz79f5fk.js} +9 -9
  200. package/dist/chunks/{schema-ma3d88bb.js → location-q3ra36g2.js} +32 -32
  201. package/dist/chunks/{schema-cb8p393h.js → location-q552wz1s.js} +14 -14
  202. package/dist/chunks/{schema-4n4r02ph.js → location-qkseqq5s.js} +27 -27
  203. package/dist/chunks/{schema-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
  205. package/dist/chunks/{schema-qxjc9qry.js → location-qxjc9qry.js} +3 -3
  206. package/dist/chunks/{schema-9c0xcsgg.js → location-r0dh3q8k.js} +20 -20
  207. package/dist/chunks/{schema-cwa6csj7.js → location-r2m716tb.js} +9 -9
  208. package/dist/chunks/{schema-8jzt4s7q.js → location-r3hk3vvb.js} +41 -41
  209. package/dist/chunks/{schema-r9w3djhf.js → location-r9w3djhf.js} +2 -2
  210. package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{schema-x16rpnsn.js → location-rhchahe3.js} +8 -8
  212. package/dist/chunks/{schema-k1gkpfdk.js → location-rvf0m9x6.js} +8 -8
  213. package/dist/chunks/{schema-r71qq8yj.js → location-rwkyravt.js} +16 -16
  214. package/dist/chunks/{schema-5xtbbr0r.js → location-s13q9xsn.js} +22 -22
  215. package/dist/chunks/{schema-989f601q.js → location-s7hewkcj.js} +18 -18
  216. package/dist/chunks/{schema-eayw6x4j.js → location-s8mh1nra.js} +3 -3
  217. package/dist/chunks/{schema-b703kh14.js → location-sdgwcra8.js} +4 -4
  218. package/dist/chunks/{schema-eday4pdr.js → location-sgszqgg5.js} +32 -32
  219. package/dist/chunks/{schema-kwa05qgn.js → location-smss3raw.js} +16 -16
  220. package/dist/chunks/{schema-wy3px6vj.js → location-sqfjvg79.js} +24 -24
  221. package/dist/chunks/{schema-9t7a50xb.js → location-t550f9t1.js} +4 -4
  222. package/dist/chunks/{schema-78tqvked.js → location-taen15gp.js} +22 -22
  223. package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{schema-bn3rhc52.js → location-tbe4vfsv.js} +8 -8
  225. package/dist/chunks/{schema-6gvr7rcm.js → location-tbmv8js2.js} +73 -73
  226. package/dist/chunks/{schema-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
  228. package/dist/chunks/{schema-ajbv8hsx.js → location-tgrcp62g.js} +17 -17
  229. package/dist/chunks/{schema-vbfgae2j.js → location-tjedn1bk.js} +4 -4
  230. package/dist/chunks/{schema-sfwz2x9n.js → location-tmtg3qgf.js} +46 -46
  231. package/dist/chunks/{schema-v0es1rhs.js → location-v0es1rhs.js} +2 -2
  232. package/dist/chunks/{schema-vqbxe4wk.js → location-v7qwwke9.js} +16 -16
  233. package/dist/chunks/{schema-ppv2hyee.js → location-v812q89j.js} +12 -12
  234. package/dist/chunks/{schema-45y05w21.js → location-v882ey3h.js} +2 -2
  235. package/dist/chunks/{schema-b7j864yj.js → location-vcjw93zb.js} +29 -29
  236. package/dist/chunks/{schema-7bda4q4e.js → location-vdygypy1.js} +6 -6
  237. package/dist/chunks/{schema-aw65rq9m.js → location-vepwfmka.js} +2 -2
  238. package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
  239. package/dist/chunks/{schema-yh1w7tjp.js → location-vn0evt42.js} +9 -9
  240. package/dist/chunks/{schema-21wwxtv3.js → location-vrts8c30.js} +13 -13
  241. package/dist/chunks/{schema-bv9672m4.js → location-vz992avt.js} +13 -13
  242. package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{schema-84txncab.js → location-w1eejvng.js} +5 -5
  244. package/dist/chunks/{schema-6yz0wx8n.js → location-w2h15q85.js} +5 -5
  245. package/dist/chunks/{schema-cznmaky0.js → location-w2khkhy7.js} +30 -30
  246. package/dist/chunks/{schema-460nts6z.js → location-w3766evm.js} +19 -19
  247. package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{schema-0t9wd588.js → location-w3x9v1nk.js} +8 -8
  249. package/dist/chunks/{schema-qne3fa44.js → location-wbgabvvj.js} +5 -5
  250. package/dist/chunks/{schema-f06qsttd.js → location-wcp7fp92.js} +47 -47
  251. package/dist/chunks/{schema-thswf6hg.js → location-wd6s3dg2.js} +34 -34
  252. package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
  253. package/dist/chunks/{schema-0ce7fh3z.js → location-wp27whg1.js} +10 -10
  254. package/dist/chunks/{schema-80gr5d03.js → location-wtn9vyqv.js} +11 -11
  255. package/dist/chunks/{schema-7vayj4m5.js → location-x9grm7g9.js} +8 -8
  256. package/dist/chunks/{schema-04ct73zt.js → location-xbp45kg1.js} +15 -15
  257. package/dist/chunks/{schema-vqfzq50h.js → location-xcd0eash.js} +6 -6
  258. package/dist/chunks/{schema-4vpz4hmt.js → location-xd2nvtk7.js} +15 -15
  259. package/dist/chunks/{schema-t5r5qq5q.js → location-xfe76f1r.js} +24 -24
  260. package/dist/chunks/{schema-pneb2gse.js → location-xg1vnfsw.js} +3 -3
  261. package/dist/chunks/{schema-5epte933.js → location-xkhfjrgz.js} +3 -3
  262. package/dist/chunks/{schema-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  263. package/dist/chunks/{schema-xmgjmham.js → location-xmgjmham.js} +3 -3
  264. package/dist/chunks/{schema-nvmy2keh.js → location-xrbnp9j2.js} +4 -4
  265. package/dist/chunks/{schema-2hm1ng2y.js → location-xwd6n8tx.js} +149 -149
  266. package/dist/chunks/{schema-ew7x097j.js → location-y0tgs2ts.js} +33 -33
  267. package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{schema-0enxvnkq.js → location-y9t8hm03.js} +13 -13
  269. package/dist/chunks/{schema-93qeztph.js → location-ydq3cy3j.js} +14 -14
  270. package/dist/chunks/{schema-hvfbn6et.js → location-yjnzakaj.js} +4 -4
  271. package/dist/chunks/{schema-n4pjvd7j.js → location-ypw6bvy6.js} +9 -9
  272. package/dist/chunks/{schema-xm8y3y9s.js → location-yqjnaa28.js} +19 -19
  273. package/dist/chunks/{schema-hgtd7sxh.js → location-yvb4exc7.js} +13 -13
  274. package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{schema-b4sr5cxy.js → location-z0m1wg4b.js} +4 -4
  276. package/dist/chunks/{schema-174q612y.js → location-z8w2whtk.js} +1 -1
  277. package/dist/chunks/{schema-qp9vg2jq.js → location-zd7wpxs7.js} +2 -2
  278. package/dist/chunks/{schema-xzgm84yq.js → location-zhkbw3m9.js} +5 -5
  279. package/dist/chunks/{schema-f9bf6ave.js → location-zn575rda.js} +11 -11
  280. package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{schema-vfynekpt.js → location-zv7jazps.js} +26 -26
  282. package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{schema-24xn4nrh.js → location-zxraynqz.js} +32 -32
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +80 -80
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +117 -117
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +119 -119
  301. package/dist/config/plugin/mcp.js +124 -124
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +134 -134
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +112 -112
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +80 -80
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration.gen.js +50 -50
  385. package/dist/database/migration.js +52 -52
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +75 -75
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +221 -221
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +104 -104
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +3 -3
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +100 -100
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +4 -4
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +88 -88
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +82 -82
  456. package/dist/job.js +79 -79
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +135 -135
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +86 -86
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +92 -92
  466. package/dist/mcp/index.js +110 -110
  467. package/dist/mcp/instructions.js +130 -130
  468. package/dist/mcp/oauth.js +76 -76
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +100 -100
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +93 -93
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +75 -75
  485. package/dist/plugin/command.js +101 -101
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +116 -116
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +95 -95
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +113 -113
  505. package/dist/plugin/provider/digitalocean.js +94 -94
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +96 -96
  509. package/dist/plugin/provider/gitlab.js +94 -94
  510. package/dist/plugin/provider/google-vertex.js +91 -91
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +79 -79
  513. package/dist/plugin/provider/lmstudio.js +117 -117
  514. package/dist/plugin/provider/local.js +114 -114
  515. package/dist/plugin/provider/modal.js +93 -93
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +117 -117
  518. package/dist/plugin/provider/openai.js +96 -96
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +71 -71
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +133 -133
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +344 -344
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +2 -2
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +94 -94
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +98 -98
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +82 -82
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +98 -98
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +3 -3
  567. package/dist/session/command.js +75 -75
  568. package/dist/session/compaction.js +136 -136
  569. package/dist/session/context.js +154 -154
  570. package/dist/session/diff.js +89 -89
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +128 -128
  576. package/dist/session/generate.js +155 -155
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +80 -80
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +98 -98
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +121 -121
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +130 -130
  588. package/dist/session/projector.js +87 -87
  589. package/dist/session/prompt.js +106 -106
  590. package/dist/session/provider-context.js +1 -1
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +99 -99
  597. package/dist/session/runner/publish-llm-event.js +114 -114
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +126 -126
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +165 -165
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +106 -106
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +88 -88
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +158 -158
  612. package/dist/session/to-session-error.js +112 -112
  613. package/dist/session/transfer.js +214 -214
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +210 -210
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +108 -108
  623. package/dist/skill.js +109 -109
  624. package/dist/snapshot.js +94 -94
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +129 -129
  629. package/dist/tool/plugin/edit.js +121 -121
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +123 -123
  636. package/dist/tool/plugin/question.js +106 -106
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +209 -209
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +113 -113
  643. package/dist/tool/plugin/write.js +123 -123
  644. package/dist/tool/read-filesystem.js +101 -101
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +1 -1
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +93 -93
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +94 -94
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +90 -90
  669. package/dist/websearch.js +85 -85
  670. package/dist/wellknown/plugin.js +77 -77
  671. package/dist/wellknown.js +74 -74
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +79 -79
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +90 -90
  679. package/dist/worktree.js +97 -97
  680. package/package.json +8 -8
  681. package/dist/chunks/schema-pf31ssb9.js +0 -18
  682. /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
  688. /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  692. /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
  694. /package/dist/chunks/{schema-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  695. /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  697. /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  701. /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
  703. /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
  705. /package/dist/chunks/{schema-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  706. /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
  709. /package/dist/chunks/{schema-84wd9syh.js → location-84wd9syh.js} +0 -0
  710. /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
  729. /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{schema-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
  731. /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
  743. /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
  745. /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
  746. /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
  773. /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service34,
8
+ Service: () => Service44,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node37
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service34 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service34, () => {
17
+ var layer = Layer.sync(Service44, () => {
18
18
  const environments = new Map;
19
- return Service34.of({
19
+ return Service44.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service34, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node37 = makeGlobalNode({ service: Service34, layer, deps: [] });
29
+ var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
30
30
 
31
- export { Service34, node37, exports_environment };
31
+ export { Service44, node47, exports_environment };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info17,
12
+ Info: () => Info20,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info17 = Schema.Struct({
64
+ var Info20 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info17, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info20, exports_provider2 };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-dpkg50ah.js";
3
+ } from "./location-dpkg50ah.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./schema-02g264nc.js";
5
+ Service82,
6
+ node86
7
+ } from "./location-0n2ztf6h.js";
8
8
  import {
9
- Event19,
9
+ Event20,
10
10
  Service78,
11
11
  node82
12
- } from "./schema-2s47eas1.js";
12
+ } from "./location-36663d4h.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./schema-cb8p393h.js";
17
- import {
18
- Service55,
19
- node57
20
- } from "./schema-2zds0nxm.js";
21
- import {
22
- ID16,
23
14
  Service79,
24
15
  node83
25
- } from "./schema-ymaah0de.js";
16
+ } from "./location-q552wz1s.js";
17
+ import {
18
+ Service48,
19
+ node51
20
+ } from "./location-nb0mgk1p.js";
21
+ import {
22
+ ID15,
23
+ Service77,
24
+ node81
25
+ } from "./location-4z2gahf8.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./schema-rdw6cm16.js";
29
+ } from "./location-rdw6cm16.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
- Service77,
34
- node81
35
- } from "./schema-zs20n4td.js";
33
+ Service76,
34
+ node80
35
+ } from "./location-6r5wz7qt.js";
36
36
  import {
37
37
  __export
38
- } from "./schema-9rqn6x4v.js";
38
+ } from "./location-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: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service28,
52
+ Service: () => Service39,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer13,
57
- node: () => node31
55
+ configured: () => configured5,
56
+ layer: () => layer15,
57
+ node: () => node42
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,20 +103,20 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service28 extends Context.Service()("@opencode/MCP") {
106
+ class Service39 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options3 = Schema.Struct({
108
+ var Options5 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
115
- const location = yield* Service80;
116
- const environment = yield* Service55;
117
- const bus = yield* Service83;
118
- const forms = yield* Service79;
119
- const integration = yield* Service77;
114
+ var layer15 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
+ const location = yield* Service79;
116
+ const environment = yield* Service48;
117
+ const bus = yield* Service82;
118
+ const forms = yield* Service77;
119
+ const integration = yield* Service76;
120
120
  const credentials = yield* Service78;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
@@ -154,7 +154,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError5({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -166,7 +166,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID16.create();
169
+ const formID = ID15.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- 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(Service55, environment), Scope.provide(scope));
272
+ 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(Service48, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service28.of({
423
+ return Service39.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured3(options) {
533
+ function configured5(options) {
534
534
  return makeLocationNode({
535
- service: Service28,
536
- layer: layer13(options),
537
- deps: [node84, node57, node87, node83, node81, node82]
535
+ service: Service39,
536
+ layer: layer15(options),
537
+ deps: [node83, node51, node86, node81, node80, node82]
538
538
  });
539
539
  }
540
- var node31 = configured3();
540
+ var node42 = configured5();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service28, Options3, layer13, configured3, node31, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer15, configured5, node42, exports_mcp4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84
3
- } from "./schema-rp4sdv0x.js";
3
+ } from "./location-11ddt8jx.js";
4
4
  import {
5
- Service83
6
- } from "./schema-02g264nc.js";
5
+ Service82
6
+ } from "./location-0n2ztf6h.js";
7
7
  import {
8
- Service41
9
- } from "./schema-vqfzq50h.js";
8
+ Service52
9
+ } from "./location-xcd0eash.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./schema-vzs5sf6e.js";
12
+ } from "./location-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./schema-gftt206x.js";
15
+ } from "./location-gftt206x.js";
16
16
  import {
17
17
  NotFoundError8,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./schema-47rn6gb0.js";
23
+ } from "./location-6jz79czp.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./schema-ec1grn59.js";
26
+ } from "./location-ec1grn59.js";
27
27
  import {
28
- Service66
29
- } from "./schema-yv6pefj2.js";
28
+ Service62
29
+ } from "./location-9mr8vnz8.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service39
34
- } from "./schema-pm2wwawt.js";
33
+ Service54
34
+ } from "./location-nfcraa34.js";
35
35
  import {
36
- Service37
37
- } from "./schema-wdfmv1rt.js";
36
+ Service50
37
+ } from "./location-m242qanr.js";
38
38
  import {
39
39
  prepare2
40
- } from "./schema-jsczegrp.js";
40
+ } from "./location-m70vqwee.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./schema-ywmq76e1.js";
45
+ } from "./location-8dtbrnbt.js";
46
46
  import {
47
47
  start2
48
- } from "./schema-t58jyhmh.js";
48
+ } from "./location-pz79f5fk.js";
49
49
  import {
50
- get5
51
- } from "./schema-e9w2ffer.js";
50
+ get4
51
+ } from "./location-dzy5aakp.js";
52
52
  import {
53
53
  __export
54
- } from "./schema-9rqn6x4v.js";
54
+ } from "./location-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make14
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service83;
65
+ var make14 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service82;
67
67
  const database = yield* Service84;
68
- const store = yield* Service66;
69
- const instances = yield* Service41;
70
- const execution = yield* Service37;
71
- const admission = yield* Service39;
68
+ const store = yield* Service62;
69
+ const instances = yield* Service52;
70
+ const execution = yield* Service50;
71
+ const admission = yield* Service54;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service82, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make13, exports_session2 };
332
+ export { make14, exports_session2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./schema-emrn6kk6.js";
4
+ } from "./location-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./schema-rp4sdv0x.js";
4
+ } from "./location-11ddt8jx.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./schema-3hepkmqq.js";
7
+ } from "./location-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service75,
17
- node: () => node79
16
+ Service: () => Service83,
17
+ node: () => node87
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service75 extends Context.Service()("@opencode/KV") {
22
+ class Service83 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service75, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service75.of({
26
+ return Service83.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
54
+ var node87 = makeGlobalNode({ service: Service83, layer, deps: [node88] });
55
55
 
56
- export { Service75, node79, exports_kv };
56
+ export { Service83, node87, exports_kv };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./schema-tazgh4e4.js";
3
+ } from "./location-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service32
7
- } from "./schema-y10cx7wx.js";
5
+ ID10,
6
+ Service69
7
+ } from "./location-j151k726.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./schema-5epte933.js";
10
+ } from "./location-xkhfjrgz.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./schema-47rn6gb0.js";
13
+ } from "./location-6jz79czp.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./schema-kb9j3d72.js";
16
+ } from "./location-9e5bzkjp.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service32;
84
+ const snapshot = yield* Service69;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID10.make(from),
91
+ to: ID10.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service71
3
- } from "./schema-tdhpy44v.js";
3
+ } from "./location-43355rh8.js";
4
4
  import {
5
- Service28
6
- } from "./schema-f06qsttd.js";
5
+ Service39
6
+ } from "./location-wcp7fp92.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin30,
15
+ Plugin: () => Plugin35,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin30 = define({
20
+ var Plugin35 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
@@ -25,7 +25,7 @@ var Plugin30 = define({
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
27
  const config = yield* Service71;
28
- const mcp = yield* Service28;
28
+ const mcp = yield* Service39;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin30, register2, exports_mcp2 };
49
+ export { Plugin35, register2, exports_mcp2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./schema-rp4sdv0x.js";
4
+ } from "./location-11ddt8jx.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make22,
8
+ make19,
9
9
  combine2
10
- } from "./schema-9t7a50xb.js";
10
+ } from "./location-t550f9t1.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./schema-kb9j3d72.js";
13
+ } from "./location-9e5bzkjp.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service25,
25
+ Service: () => Service40,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node29,
29
+ node: () => node43,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service25 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service40 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make22({
64
+ var source = (entry) => make19({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make22({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service25, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service25.of({ list, put, remove, load });
111
+ return Service40.of({ list, put, remove, load });
112
112
  }));
113
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node88] });
113
+ var node43 = makeLocationNode({ service: Service40, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service40, node43, exports_instruction_entry };