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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{instruction-discovery-tneyjf48.js → schema-02g264nc.js} +4 -4
  8. package/dist/chunks/{instruction-discovery-rzhagf9y.js → schema-04ct73zt.js} +15 -15
  9. package/dist/chunks/{instruction-discovery-m1y5ga02.js → schema-0ce7fh3z.js} +10 -10
  10. package/dist/chunks/{instruction-discovery-1cb25qpm.js → schema-0dqvt60g.js} +1 -1
  11. package/dist/chunks/{instruction-discovery-8xyg3w2m.js → schema-0enxvnkq.js} +13 -13
  12. package/dist/chunks/{instruction-discovery-0j77ygfz.js → schema-0j77ygfz.js} +2 -2
  13. package/dist/chunks/{instruction-discovery-fjve5t31.js → schema-0kjv6zqm.js} +3 -3
  14. package/dist/chunks/{instruction-discovery-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{instruction-discovery-3ja7vgc7.js → schema-0ps91a7a.js} +26 -26
  16. package/dist/chunks/{instruction-discovery-w49382pb.js → schema-0t9wd588.js} +8 -8
  17. package/dist/chunks/{instruction-discovery-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{instruction-discovery-dv7jc8dx.js → schema-0y5bnsvv.js} +18 -18
  19. package/dist/chunks/{instruction-discovery-m47cqq2j.js → schema-174q612y.js} +1 -1
  20. package/dist/chunks/{instruction-discovery-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{instruction-discovery-shd3tjfd.js → schema-1v4g0mnm.js} +23 -23
  22. package/dist/chunks/{instruction-discovery-w35vncqw.js → schema-1wn14s7w.js} +15 -15
  23. package/dist/chunks/{instruction-discovery-56gdpj1q.js → schema-1ygqh575.js} +9 -9
  24. package/dist/chunks/{instruction-discovery-qdpn0p3b.js → schema-21wwxtv3.js} +11 -11
  25. package/dist/chunks/{instruction-discovery-xgks750j.js → schema-24xn4nrh.js} +30 -30
  26. package/dist/chunks/{instruction-discovery-wtbb01vz.js → schema-2663q2cr.js} +17 -17
  27. package/dist/chunks/{instruction-discovery-a1xkz11p.js → schema-28qgffdg.js} +16 -16
  28. package/dist/chunks/{instruction-discovery-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{instruction-discovery-g8x52gsw.js → schema-2b5wyz52.js} +11 -11
  30. package/dist/chunks/{instruction-discovery-2ccvkpx1.js → schema-2ccvkpx1.js} +2 -2
  31. package/dist/chunks/schema-2hm1ng2y.js +253 -0
  32. package/dist/chunks/{instruction-discovery-273h6293.js → schema-2hmemtj6.js} +6 -6
  33. package/dist/chunks/{instruction-discovery-8v7xd1wr.js → schema-2s47eas1.js} +28 -28
  34. package/dist/chunks/{instruction-discovery-xkyz97qj.js → schema-2zds0nxm.js} +21 -21
  35. package/dist/chunks/{instruction-discovery-h2b79v29.js → schema-3cegwx68.js} +2 -2
  36. package/dist/chunks/{instruction-discovery-rhz3ppas.js → schema-3chxap05.js} +8 -8
  37. package/dist/chunks/{instruction-discovery-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{instruction-discovery-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  39. package/dist/chunks/schema-3k6hnjpv.js +507 -0
  40. package/dist/chunks/{instruction-discovery-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{instruction-discovery-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-d2y2z992.js → schema-3v4eqn68.js} +10 -10
  43. package/dist/chunks/{instruction-discovery-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{instruction-discovery-js6dfb5w.js → schema-45y05w21.js} +2 -2
  45. package/dist/chunks/{instruction-discovery-6qbsjcxz.js → schema-460nts6z.js} +21 -21
  46. package/dist/chunks/{instruction-discovery-dz9417ry.js → schema-47rn6gb0.js} +6 -6
  47. package/dist/chunks/{instruction-discovery-z1ectzgg.js → schema-4922bdcs.js} +25 -25
  48. package/dist/chunks/{instruction-discovery-ked90xm8.js → schema-4erjtqpw.js} +5 -5
  49. package/dist/chunks/{instruction-discovery-k3tvypcp.js → schema-4n4r02ph.js} +23 -23
  50. package/dist/chunks/{instruction-discovery-f2trvhwb.js → schema-4qh5k59y.js} +11 -11
  51. package/dist/chunks/{instruction-discovery-sq5cmb50.js → schema-4vpz4hmt.js} +15 -15
  52. package/dist/chunks/{instruction-discovery-m5qzdqgg.js → schema-4xr8m0aa.js} +35 -22
  53. package/dist/chunks/{instruction-discovery-1rn5pcm9.js → schema-4z58m4b4.js} +4 -4
  54. package/dist/chunks/{instruction-discovery-zsqm7vff.js → schema-4zmcj57q.js} +13 -13
  55. package/dist/chunks/{instruction-discovery-xfkkasph.js → schema-57b9ws8p.js} +7 -7
  56. package/dist/chunks/{instruction-discovery-ahqb0ma5.js → schema-5byh5fbq.js} +11 -11
  57. package/dist/chunks/{instruction-discovery-vtgxp655.js → schema-5epte933.js} +2 -2
  58. package/dist/chunks/{instruction-discovery-gse2418f.js → schema-5gh2y96e.js} +8 -8
  59. package/dist/chunks/{instruction-discovery-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{instruction-discovery-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{instruction-discovery-w96th336.js → schema-5vnqvhdy.js} +22 -22
  62. package/dist/chunks/{instruction-discovery-y8c3vgnd.js → schema-5xtbbr0r.js} +16 -16
  63. package/dist/chunks/{instruction-discovery-p37cw4rj.js → schema-5yzzbxa7.js} +8 -8
  64. package/dist/chunks/{instruction-discovery-8qhmnsmm.js → schema-69ct9x9k.js} +7 -7
  65. package/dist/chunks/{instruction-discovery-99xfcv7k.js → schema-6gkjayg0.js} +11 -11
  66. package/dist/chunks/{instruction-discovery-gvnbcx9f.js → schema-6gvr7rcm.js} +71 -71
  67. package/dist/chunks/{instruction-discovery-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{instruction-discovery-4sfcqppx.js → schema-6yk1gpns.js} +2 -2
  69. package/dist/chunks/{instruction-discovery-57myy5jh.js → schema-6yz0wx8n.js} +5 -5
  70. package/dist/chunks/{instruction-discovery-1j3k7k9d.js → schema-6zaqt7dr.js} +7 -7
  71. package/dist/chunks/{instruction-discovery-2f3mhj6p.js → schema-78tqvked.js} +8 -8
  72. package/dist/chunks/{instruction-discovery-d6n2rq0s.js → schema-7bda4q4e.js} +6 -6
  73. package/dist/chunks/{instruction-discovery-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{instruction-discovery-h4y5xjrc.js → schema-7dcnqvbr.js} +293 -293
  75. package/dist/chunks/{instruction-discovery-k54318qp.js → schema-7vayj4m5.js} +13 -13
  76. package/dist/chunks/{instruction-discovery-gqwek975.js → schema-7vyzxw8y.js} +11 -11
  77. package/dist/chunks/{instruction-discovery-hcx8qsr8.js → schema-7yymr8c1.js} +16 -16
  78. package/dist/chunks/{instruction-discovery-b41jq38g.js → schema-80gr5d03.js} +11 -11
  79. package/dist/chunks/{instruction-discovery-a1sz969t.js → schema-82kvrph2.js} +18 -18
  80. package/dist/chunks/{instruction-discovery-hvy0zjq9.js → schema-840fpbhq.js} +1 -1
  81. package/dist/chunks/{instruction-discovery-1dvck2a7.js → schema-84h8c373.js} +2 -2
  82. package/dist/chunks/{instruction-discovery-w1eejvng.js → schema-84txncab.js} +5 -5
  83. package/dist/chunks/{instruction-discovery-qmvs021c.js → schema-8byxt7bq.js} +138 -138
  84. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{instruction-discovery-n0hrvkpe.js → schema-8jzt4s7q.js} +34 -34
  86. package/dist/chunks/{instruction-discovery-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{instruction-discovery-jsfxrkh5.js → schema-8xpvx0xf.js} +24 -24
  88. package/dist/chunks/{instruction-discovery-0y6tdt34.js → schema-8zv3wp18.js} +25 -25
  89. package/dist/chunks/{instruction-discovery-b7nzkckh.js → schema-93qeztph.js} +17 -17
  90. package/dist/chunks/{instruction-discovery-vrxrx1v5.js → schema-9795rgjt.js} +4 -4
  91. package/dist/chunks/{instruction-discovery-94mc2ky6.js → schema-989f601q.js} +14 -14
  92. package/dist/chunks/{instruction-discovery-3nkhjpbq.js → schema-9adgdhyd.js} +4 -4
  93. package/dist/chunks/{instruction-discovery-cna82en0.js → schema-9c0xcsgg.js} +18 -18
  94. package/dist/chunks/{instruction-discovery-q8c3pb1q.js → schema-9ja4ygxc.js} +21 -21
  95. package/dist/chunks/{instruction-discovery-s8d7rejh.js → schema-9t7a50xb.js} +4 -4
  96. package/dist/chunks/{instruction-discovery-52zfrmt1.js → schema-9yrh9n06.js} +1 -1
  97. package/dist/chunks/{instruction-discovery-eq1pz5kg.js → schema-a1gpj94z.js} +3 -3
  98. package/dist/chunks/{instruction-discovery-0tec47cr.js → schema-a1jye2k7.js} +8 -8
  99. package/dist/chunks/{instruction-discovery-ryr25ayn.js → schema-a2ew8a62.js} +4 -4
  100. package/dist/chunks/{instruction-discovery-knevfgda.js → schema-a3c7ahw6.js} +4 -4
  101. package/dist/chunks/{instruction-discovery-aaet6srn.js → schema-aaet6srn.js} +2 -2
  102. package/dist/chunks/{instruction-discovery-eqbd9z3m.js → schema-abtvfq1n.js} +24 -24
  103. package/dist/chunks/{instruction-discovery-addxnjmp.js → schema-addxnjmp.js} +1 -1
  104. package/dist/chunks/{instruction-discovery-gzf0jey7.js → schema-ajbv8hsx.js} +17 -17
  105. package/dist/chunks/{instruction-discovery-ht7r5zjn.js → schema-aw65rq9m.js} +2 -2
  106. package/dist/chunks/{instruction-discovery-3vnr3awt.js → schema-b4sr5cxy.js} +4 -4
  107. package/dist/chunks/{instruction-discovery-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{instruction-discovery-0mk7ebd2.js → schema-b703kh14.js} +4 -4
  109. package/dist/chunks/{instruction-discovery-kdpmtwd0.js → schema-b7j864yj.js} +26 -26
  110. package/dist/chunks/{instruction-discovery-1a777xbb.js → schema-bahvtqv2.js} +11 -11
  111. package/dist/chunks/{instruction-discovery-7ynwestw.js → schema-bghdypt9.js} +7 -7
  112. package/dist/chunks/{instruction-discovery-ygwzgsmj.js → schema-bn3rhc52.js} +8 -8
  113. package/dist/chunks/{instruction-discovery-gag4gr43.js → schema-bskqsgt5.js} +11 -11
  114. package/dist/chunks/{instruction-discovery-b4b58vta.js → schema-bv9672m4.js} +12 -12
  115. package/dist/chunks/{instruction-discovery-v8dws5ha.js → schema-ca5q3sa4.js} +6 -6
  116. package/dist/chunks/{instruction-discovery-krrp65g5.js → schema-cb8p393h.js} +2 -2
  117. package/dist/chunks/{instruction-discovery-qyx604d0.js → schema-crh2qmpd.js} +14 -14
  118. package/dist/chunks/{instruction-discovery-5d607bsg.js → schema-cwa6csj7.js} +9 -9
  119. package/dist/chunks/{instruction-discovery-c85sm9p4.js → schema-cznmaky0.js} +25 -25
  120. package/dist/chunks/{instruction-discovery-fy6pbx2f.js → schema-daptfcmc.js} +18 -18
  121. package/dist/chunks/{instruction-discovery-6xcvjy28.js → schema-dh0webm5.js} +14 -14
  122. package/dist/chunks/{instruction-discovery-fqhagtyc.js → schema-dh3p6hwj.js} +21 -21
  123. package/dist/chunks/{instruction-discovery-nxm207yx.js → schema-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{instruction-discovery-a13vbfft.js → schema-e9w2ffer.js} +10 -10
  125. package/dist/chunks/{instruction-discovery-d1ccpy7q.js → schema-eayw6x4j.js} +3 -3
  126. package/dist/chunks/{instruction-discovery-095fq8r9.js → schema-eday4pdr.js} +40 -40
  127. package/dist/chunks/{instruction-discovery-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{instruction-discovery-f2mw6jyj.js → schema-efxe2svv.js} +11 -11
  129. package/dist/chunks/{instruction-discovery-fdjyeynq.js → schema-eqv7r0bw.js} +6 -6
  130. package/dist/chunks/{instruction-discovery-cr5fdqpw.js → schema-erbnzk8y.js} +45 -45
  131. package/dist/chunks/{instruction-discovery-2h6dd64w.js → schema-erjffywh.js} +15 -15
  132. package/dist/chunks/{instruction-discovery-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{instruction-discovery-f17728fj.js → schema-ew7x097j.js} +30 -30
  134. package/dist/chunks/{instruction-discovery-zgtek2y9.js → schema-f06qsttd.js} +43 -43
  135. package/dist/chunks/{instruction-discovery-71az546q.js → schema-f75zav2x.js} +2 -2
  136. package/dist/chunks/{instruction-discovery-zbdjk1jq.js → schema-f9bf6ave.js} +13 -13
  137. package/dist/chunks/{instruction-discovery-qgn6gcr1.js → schema-fcrkznn8.js} +5 -5
  138. package/dist/chunks/{instruction-discovery-spa4s1dn.js → schema-fg6c7q2e.js} +8 -8
  139. package/dist/chunks/{instruction-discovery-axs6pdy0.js → schema-fhz5gfgy.js} +5 -5
  140. package/dist/chunks/{instruction-discovery-5cq1fbn9.js → schema-fjb6gf5c.js} +33 -33
  141. package/dist/chunks/{instruction-discovery-kfgkevm8.js → schema-ft5semx5.js} +26 -26
  142. package/dist/chunks/{instruction-discovery-qm7jrdpz.js → schema-g2y161wv.js} +8 -8
  143. package/dist/chunks/{instruction-discovery-shxd18c6.js → schema-g46t4tqm.js} +10 -10
  144. package/dist/chunks/{instruction-discovery-ycvydahw.js → schema-g5x9spb3.js} +10 -10
  145. package/dist/chunks/{instruction-discovery-d5x8dsx5.js → schema-gaphvq12.js} +11 -11
  146. package/dist/chunks/{instruction-discovery-68wqtz75.js → schema-gd0tnyjc.js} +1 -1
  147. package/dist/chunks/{instruction-discovery-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{instruction-discovery-sr2dv6dj.js → schema-gva94evv.js} +7 -7
  149. package/dist/chunks/{instruction-discovery-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{instruction-discovery-my0mhq6c.js → schema-h74kgs22.js} +24 -24
  151. package/dist/chunks/{instruction-discovery-6azxvrpq.js → schema-hd4remjx.js} +15 -15
  152. package/dist/chunks/{instruction-discovery-3dhqmxsn.js → schema-hdnjgwej.js} +21 -21
  153. package/dist/chunks/{instruction-discovery-chrxq3ex.js → schema-hgtd7sxh.js} +18 -18
  154. package/dist/chunks/{instruction-discovery-4ed0x5yc.js → schema-hk2k4rxs.js} +1 -1
  155. package/dist/chunks/{instruction-discovery-2vs2nh1n.js → schema-hn57h045.js} +4 -4
  156. package/dist/chunks/{instruction-discovery-x1ns2rmk.js → schema-hvfbn6et.js} +4 -4
  157. package/dist/chunks/{instruction-discovery-jah1syx0.js → schema-j1fsx5qw.js} +32 -32
  158. package/dist/chunks/{instruction-discovery-j56e64zr.js → schema-j56e64zr.js} +1 -1
  159. package/dist/chunks/{instruction-discovery-g60p7p49.js → schema-j9hprypc.js} +9 -9
  160. package/dist/chunks/{instruction-discovery-6gkym5fp.js → schema-jgjgcm7r.js} +4 -4
  161. package/dist/chunks/{instruction-discovery-dmd82ryh.js → schema-jn24yy65.js} +78 -78
  162. package/dist/chunks/{instruction-discovery-9408e2ey.js → schema-jsczegrp.js} +14 -14
  163. package/dist/chunks/{instruction-discovery-9grbqn9y.js → schema-jta96yax.js} +9 -9
  164. package/dist/chunks/schema-jtr36q24.js +26 -0
  165. package/dist/chunks/{instruction-discovery-3a83a0n4.js → schema-k1gkpfdk.js} +8 -8
  166. package/dist/chunks/{instruction-discovery-fba5j9yy.js → schema-k5mqd01k.js} +10 -10
  167. package/dist/chunks/{instruction-discovery-5bpbs3y8.js → schema-k60d36ch.js} +17 -17
  168. package/dist/chunks/{instruction-discovery-4wnp65at.js → schema-ka78afm3.js} +7 -7
  169. package/dist/chunks/{instruction-discovery-xb50yt4b.js → schema-kb6gw2zp.js} +4 -4
  170. package/dist/chunks/{instruction-discovery-9e5bzkjp.js → schema-kb9j3d72.js} +3 -3
  171. package/dist/chunks/{instruction-discovery-y2jstp7y.js → schema-kr1ymz84.js} +26 -26
  172. package/dist/chunks/{instruction-discovery-tn29v157.js → schema-kt27ghqn.js} +5 -5
  173. package/dist/chunks/{instruction-discovery-14fppf3b.js → schema-kt83d922.js} +13 -13
  174. package/dist/chunks/{instruction-discovery-pnkbpv6t.js → schema-kvjzkr2v.js} +9 -9
  175. package/dist/chunks/{instruction-discovery-1kk0y7r1.js → schema-kwa05qgn.js} +13 -13
  176. package/dist/chunks/{instruction-discovery-j5e03z9p.js → schema-kxhhe7ks.js} +13 -13
  177. package/dist/chunks/{instruction-discovery-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{instruction-discovery-84xdhjgb.js → schema-m3t9151j.js} +29 -29
  179. package/dist/chunks/{instruction-discovery-feny6ayn.js → schema-m87mmgzw.js} +27 -27
  180. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{instruction-discovery-wzbah92y.js → schema-ma3d88bb.js} +30 -30
  182. package/dist/chunks/{instruction-discovery-fzbgn245.js → schema-mhrxr73y.js} +20 -20
  183. package/dist/chunks/{instruction-discovery-fghrj984.js → schema-mz7wxez8.js} +20 -20
  184. package/dist/chunks/{instruction-discovery-6gy81bm0.js → schema-n4pjvd7j.js} +9 -9
  185. package/dist/chunks/{instruction-discovery-7hnnfp9c.js → schema-n5jf03an.js} +11 -11
  186. package/dist/chunks/{instruction-discovery-ebxy8v40.js → schema-n7p1k2qf.js} +7 -7
  187. package/dist/chunks/{instruction-discovery-c01nkytp.js → schema-n8sna2wb.js} +9 -9
  188. package/dist/chunks/{instruction-discovery-c6s977gm.js → schema-nh510fz3.js} +26 -26
  189. package/dist/chunks/{instruction-discovery-ej7r9z0m.js → schema-npa44ypb.js} +11 -11
  190. package/dist/chunks/{instruction-discovery-k4jm2qx2.js → schema-nvmy2keh.js} +4 -4
  191. package/dist/chunks/{instruction-discovery-xtrrk7k3.js → schema-p8s02wn2.js} +10 -10
  192. package/dist/chunks/{instruction-discovery-mwgcj3fx.js → schema-pdeqb1sv.js} +9 -9
  193. package/dist/chunks/schema-pf31ssb9.js +18 -0
  194. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{instruction-discovery-pknna89w.js → schema-pknna89w.js} +1 -1
  196. package/dist/chunks/{instruction-discovery-7ks1423n.js → schema-pm2wwawt.js} +18 -18
  197. package/dist/chunks/{instruction-discovery-e116hgz1.js → schema-pneb2gse.js} +3 -3
  198. package/dist/chunks/{instruction-discovery-f94nwnzd.js → schema-ppv2hyee.js} +14 -14
  199. package/dist/chunks/{instruction-discovery-z8713354.js → schema-pxcy2v4k.js} +4 -4
  200. package/dist/chunks/{instruction-discovery-wvvb86qc.js → schema-qcy2fs5h.js} +25 -25
  201. package/dist/chunks/{instruction-discovery-trykadmf.js → schema-qj7nrkn4.js} +21 -21
  202. package/dist/chunks/{instruction-discovery-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{instruction-discovery-0r3c1bmw.js → schema-qne3fa44.js} +5 -5
  204. package/dist/chunks/{instruction-discovery-jv5qmp9w.js → schema-qp9vg2jq.js} +2 -2
  205. package/dist/chunks/{instruction-discovery-a5jrsvab.js → schema-qr2c2ezf.js} +46 -46
  206. package/dist/chunks/{instruction-discovery-qsdy395h.js → schema-qsdy395h.js} +1 -1
  207. package/dist/chunks/{instruction-discovery-qxjc9qry.js → schema-qxjc9qry.js} +3 -3
  208. package/dist/chunks/{instruction-discovery-v4p3p0ps.js → schema-r71qq8yj.js} +8 -8
  209. package/dist/chunks/{instruction-discovery-54ma36ye.js → schema-r94pvvab.js} +4 -4
  210. package/dist/chunks/{instruction-discovery-e3q4ya86.js → schema-r9w3djhf.js} +9 -9
  211. package/dist/chunks/{instruction-discovery-hj5bkg0c.js → schema-rczq51rp.js} +6 -6
  212. package/dist/chunks/{instruction-discovery-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{instruction-discovery-wm42kgen.js → schema-rewxngkf.js} +32 -32
  214. package/dist/chunks/{instruction-discovery-8ghbvaa0.js → schema-rj8ch5sw.js} +8 -8
  215. package/dist/chunks/{instruction-discovery-02xbtx70.js → schema-rjjkcyvm.js} +42 -42
  216. package/dist/chunks/{instruction-discovery-m45m4ven.js → schema-rp4sdv0x.js} +3 -3
  217. package/dist/chunks/{instruction-discovery-qv8c18b1.js → schema-rrpq0de9.js} +5 -5
  218. package/dist/chunks/{instruction-discovery-qqm50ya3.js → schema-rwv28x5t.js} +3 -3
  219. package/dist/chunks/{instruction-discovery-esnyhwy5.js → schema-s0y0yn56.js} +6 -6
  220. package/dist/chunks/{instruction-discovery-qygbw77c.js → schema-scgrse2b.js} +5 -5
  221. package/dist/chunks/{instruction-discovery-2seb41mk.js → schema-sfwz2x9n.js} +49 -49
  222. package/dist/chunks/{instruction-discovery-knd4nc5f.js → schema-skeejxkf.js} +11 -11
  223. package/dist/chunks/{instruction-discovery-sz2337zw.js → schema-snvwhan6.js} +7 -7
  224. package/dist/chunks/{instruction-discovery-tyzzbzqn.js → schema-sr36t4tg.js} +10 -10
  225. package/dist/chunks/{instruction-discovery-m2cgbxd0.js → schema-sxmar18p.js} +25 -20
  226. package/dist/chunks/{instruction-discovery-gybq0q5b.js → schema-t0ghfsqf.js} +33 -33
  227. package/dist/chunks/{instruction-discovery-ybpa7sx2.js → schema-t58jyhmh.js} +7 -7
  228. package/dist/chunks/{instruction-discovery-mxvb5adp.js → schema-t5r5qq5q.js} +25 -25
  229. package/dist/chunks/{instruction-discovery-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{instruction-discovery-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{instruction-discovery-24ptn3c0.js → schema-tdhpy44v.js} +42 -46
  232. package/dist/chunks/{instruction-discovery-tdstcens.js → schema-tdstcens.js} +1 -1
  233. package/dist/chunks/{instruction-discovery-v0jnr6tg.js → schema-thswf6hg.js} +25 -25
  234. package/dist/chunks/{instruction-discovery-pr8kmtqq.js → schema-tjpmwyed.js} +3 -3
  235. package/dist/chunks/{instruction-discovery-nn1ppfgc.js → schema-tjtvkmkx.js} +1 -1
  236. package/dist/chunks/{instruction-discovery-v0es1rhs.js → schema-v0es1rhs.js} +2 -2
  237. package/dist/chunks/{instruction-discovery-q08m6yqc.js → schema-v2m3q5y9.js} +9 -9
  238. package/dist/chunks/{instruction-discovery-r66xghd9.js → schema-vbfgae2j.js} +4 -4
  239. package/dist/chunks/{instruction-discovery-veqvce7d.js → schema-veqvce7d.js} +1 -1
  240. package/dist/chunks/{instruction-discovery-v48grkq5.js → schema-vfynekpt.js} +24 -24
  241. package/dist/chunks/{instruction-discovery-6rs83x58.js → schema-vqbxe4wk.js} +14 -14
  242. package/dist/chunks/{instruction-discovery-vqfzq50h.js → schema-vqfzq50h.js} +1 -1
  243. package/dist/chunks/{instruction-discovery-aavbrgwt.js → schema-vr3aek46.js} +22 -22
  244. package/dist/chunks/{instruction-discovery-6m42r3np.js → schema-vsp1fds9.js} +4 -4
  245. package/dist/chunks/{instruction-discovery-8ryk0bb9.js → schema-vykevjvn.js} +5 -5
  246. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{instruction-discovery-8sze2n9a.js → schema-w92k2e0p.js} +4 -4
  249. package/dist/chunks/{instruction-discovery-vt3fyw5y.js → schema-w9cms8xc.js} +5 -5
  250. package/dist/chunks/{instruction-discovery-wd87259q.js → schema-wd87259q.js} +1 -1
  251. package/dist/chunks/{instruction-discovery-v93t099t.js → schema-wdfmv1rt.js} +31 -31
  252. package/dist/chunks/{instruction-discovery-tvwj13n0.js → schema-wgqbq6kr.js} +6 -6
  253. package/dist/chunks/{instruction-discovery-60m87ftc.js → schema-wy3px6vj.js} +17 -17
  254. package/dist/chunks/{instruction-discovery-3ye70ha2.js → schema-x16rpnsn.js} +6 -6
  255. package/dist/chunks/{instruction-discovery-p056yhxs.js → schema-xea99qfv.js} +42 -42
  256. package/dist/chunks/{instruction-discovery-rmnkmmsy.js → schema-xgwtbm8x.js} +82 -82
  257. package/dist/chunks/{instruction-discovery-dmqcgk4z.js → schema-xkntkrq7.js} +5 -5
  258. package/dist/chunks/{instruction-discovery-ra8aazcz.js → schema-xm8y3y9s.js} +19 -19
  259. package/dist/chunks/{instruction-discovery-fdteztds.js → schema-xmgjmham.js} +22 -22
  260. package/dist/chunks/{instruction-discovery-4bh92p7n.js → schema-xr03j6kv.js} +49 -49
  261. package/dist/chunks/{instruction-discovery-mkamd2cf.js → schema-xzgm84yq.js} +3 -3
  262. package/dist/chunks/{instruction-discovery-xy7nxqqh.js → schema-y10cx7wx.js} +25 -25
  263. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{instruction-discovery-38vxzh90.js → schema-y415rrbf.js} +33 -33
  265. package/dist/chunks/{instruction-discovery-qzka7dgq.js → schema-y70rs0tm.js} +36 -36
  266. package/dist/chunks/{instruction-discovery-k9gzbdyr.js → schema-yd8mzne0.js} +19 -19
  267. package/dist/chunks/{instruction-discovery-nfw5wevp.js → schema-yh1w7tjp.js} +9 -9
  268. package/dist/chunks/{instruction-discovery-zfs8ae4p.js → schema-ykt494b9.js} +4 -4
  269. package/dist/chunks/{instruction-discovery-kcy9dg9d.js → schema-ymaah0de.js} +20 -20
  270. package/dist/chunks/{instruction-discovery-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{instruction-discovery-5zezd1p9.js → schema-yp66jxhs.js} +9 -9
  272. package/dist/chunks/{instruction-discovery-d19zb9v6.js → schema-ytk7n60r.js} +31 -31
  273. package/dist/chunks/{instruction-discovery-pmm1qj4p.js → schema-yv6pefj2.js} +14 -14
  274. package/dist/chunks/{instruction-discovery-wyt7mtfs.js → schema-ywmq76e1.js} +17 -17
  275. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{instruction-discovery-xspa99bm.js → schema-z208n99h.js} +13 -13
  277. package/dist/chunks/{instruction-discovery-1z87ab07.js → schema-z7rpvhac.js} +11 -11
  278. package/dist/chunks/{instruction-discovery-cvwz8r7d.js → schema-zf5859yh.js} +27 -27
  279. package/dist/chunks/{instruction-discovery-kn5t47nc.js → schema-zn1w914b.js} +13 -13
  280. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{instruction-discovery-d815wfjk.js → schema-zs20n4td.js} +10 -10
  282. package/dist/chunks/{instruction-discovery-chqzd9wq.js → schema-zs6nm7rs.js} +11 -11
  283. package/dist/chunks/{instruction-discovery-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +11 -11
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +83 -83
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +100 -100
  292. package/dist/config/plugin/agent.js +119 -119
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +155 -155
  295. package/dist/config/plugin/compatibility.js +135 -135
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +117 -117
  299. package/dist/config/plugin/instruction.js +91 -91
  300. package/dist/config/plugin/location-watcher.js +119 -119
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +118 -118
  303. package/dist/config/plugin/provider.js +117 -117
  304. package/dist/config/plugin/reference.js +119 -119
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +103 -103
  307. package/dist/config/plugin/skill.js +138 -138
  308. package/dist/config/plugin/snapshot.js +117 -117
  309. package/dist/config/plugin/source.js +120 -120
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +116 -116
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +122 -122
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +67 -67
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +358 -358
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +94 -94
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +96 -96
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +71 -71
  409. package/dist/file-access.js +105 -105
  410. package/dist/file-mutation.js +95 -95
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +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 +15 -15
  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 +102 -102
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +92 -92
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +1 -1
  450. package/dist/instance.js +351 -351
  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 +78 -78
  456. package/dist/job.js +77 -77
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +74 -74
  459. package/dist/location-activity.js +132 -132
  460. package/dist/location-lifecycle.js +108 -108
  461. package/dist/location-service-map.js +87 -87
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +82 -82
  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 +79 -79
  469. package/dist/mcp/stdio.js +91 -91
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +92 -92
  472. package/dist/model-resolver.js +99 -99
  473. package/dist/model.js +103 -103
  474. package/dist/models-dev.js +108 -108
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +83 -83
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +112 -112
  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 +89 -89
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +76 -76
  484. package/dist/plugin/agent.js +77 -77
  485. package/dist/plugin/command.js +103 -103
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +212 -212
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +97 -97
  493. package/dist/plugin/module.js +118 -118
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +103 -103
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  498. package/dist/plugin/provider/azure.js +118 -118
  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 +94 -94
  519. package/dist/plugin/provider/opencode.js +98 -98
  520. package/dist/plugin/provider/openrouter.js +92 -92
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +80 -80
  523. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  524. package/dist/plugin/provider/sap-ai-core.js +92 -92
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  527. package/dist/plugin/provider/vercel.js +91 -91
  528. package/dist/plugin/provider/vllm.js +117 -117
  529. package/dist/plugin/provider/xai.js +92 -92
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +77 -77
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +135 -135
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +344 -344
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +87 -87
  540. package/dist/plugin/vcs/hg.js +87 -87
  541. package/dist/plugin/verbosity.js +94 -94
  542. package/dist/plugin/warming.js +115 -115
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  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 +219 -219
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +81 -81
  554. package/dist/provider.js +90 -90
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +92 -92
  558. package/dist/reference/instructions.js +90 -90
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +87 -87
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +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 +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +215 -215
  575. package/dist/session/execution.js +126 -126
  576. package/dist/session/generate.js +153 -153
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +87 -87
  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 +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +119 -119
  586. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  591. package/dist/session/revert.js +91 -91
  592. package/dist/session/run-coordinator.js +1 -1
  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 +3 -3
  602. package/dist/session/session.js +163 -163
  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 +206 -206
  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 +6 -6
  622. package/dist/skill/instructions.js +106 -106
  623. package/dist/skill.js +115 -115
  624. package/dist/snapshot.js +92 -92
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +127 -127
  629. package/dist/tool/plugin/edit.js +121 -121
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +125 -125
  632. package/dist/tool/plugin/grep.js +125 -125
  633. package/dist/tool/plugin/mcp-resource.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +121 -121
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +126 -126
  638. package/dist/tool/plugin/shell.js +205 -205
  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 +113 -113
  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/types/session/runner/publish-llm-event.d.ts +1 -1
  649. package/dist/types/wellknown.d.ts +3 -0
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +93 -93
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +94 -94
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +90 -90
  671. package/dist/websearch.js +83 -83
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +82 -82
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +81 -81
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +90 -90
  681. package/dist/worktree.js +97 -97
  682. package/package.json +8 -8
  683. package/dist/chunks/instruction-discovery-02n47b9r.js +0 -507
  684. package/dist/chunks/instruction-discovery-d507n1ar.js +0 -253
  685. package/dist/chunks/instruction-discovery-gyce5qg1.js +0 -18
  686. package/dist/chunks/instruction-discovery-r54jadsm.js +0 -26
  687. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{instruction-discovery-24dcb14g.js → schema-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{instruction-discovery-2710q6r3.js → schema-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  697. /package/dist/chunks/{instruction-discovery-359p4xyc.js → schema-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{instruction-discovery-3asan66x.js → schema-3asan66x.js} +0 -0
  699. /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-53557ph1.js → schema-53557ph1.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-550bvhaj.js → schema-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-6prwharc.js → schema-6prwharc.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-7m9af43g.js → schema-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-822emrt2.js → schema-822emrt2.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-84wd9syh.js → schema-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-8n3pysct.js → schema-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-af5trqkr.js → schema-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-afrmfg78.js → schema-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-d9fn303g.js → schema-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-dajrwvna.js → schema-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-dap0rakb.js → schema-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-df08tz66.js → schema-df08tz66.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-dy18nga0.js → schema-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-e3qxr5gk.js → schema-e3qxr5gk.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-ec1grn59.js → schema-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-faypxj3z.js → schema-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-fd410y7t.js → schema-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-g86h250q.js → schema-g86h250q.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-gftt206x.js → schema-gftt206x.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-hk9envan.js → schema-hk9envan.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-mp448xyj.js → schema-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-njntx4h6.js → schema-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-q74kybfr.js → schema-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-w803qqfp.js → schema-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-wtztk69x.js → schema-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-x61499pn.js → schema-x61499pn.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-y44na4kk.js → schema-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-y8f7s663.js → schema-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-ym463w8f.js → schema-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./instruction-discovery-gftt206x.js";
3
+ } from "./schema-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./instruction-discovery-vtgxp655.js";
6
+ } from "./schema-5epte933.js";
7
7
  import {
8
8
  __export
9
- } from "./instruction-discovery-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -19,7 +19,7 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError7,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
31
31
  import { Skill } from "@opencode/schema/skill";
32
32
  import { SessionError } from "@opencode/schema/session-error";
33
33
 
34
- class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
35
  sessionID: SessionSchema2.ID
36
36
  }) {
37
37
  }
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
119
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-tneyjf48.js";
4
+ } from "./schema-02g264nc.js";
5
5
  import {
6
- Service32,
7
- node35
8
- } from "./instruction-discovery-zgtek2y9.js";
6
+ Service28,
7
+ node31
8
+ } from "./schema-f06qsttd.js";
9
9
  import {
10
- Service46,
11
- node48
12
- } from "./instruction-discovery-2seb41mk.js";
10
+ Service65,
11
+ node69
12
+ } from "./schema-sfwz2x9n.js";
13
13
  import {
14
- Service50,
15
- node52
16
- } from "./instruction-discovery-mxvb5adp.js";
14
+ Service30,
15
+ node33
16
+ } from "./schema-t5r5qq5q.js";
17
17
  import {
18
18
  __export
19
- } from "./instruction-discovery-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service31,
26
- layer: () => layer13,
25
+ Service: () => Service27,
26
+ layer: () => layer12,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node34
29
+ node: () => node30
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service31 extends Context.Service()("@opencode/McpTool") {
38
+ class Service27 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service31, Effect.gen(function* () {
41
- const mcp = yield* Service32;
42
- const tools = yield* Service50;
40
+ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
41
+ const mcp = yield* Service28;
42
+ const tools = yield* Service30;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service46;
44
+ const permission = yield* Service65;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node34 = makeLocationNode({
124
- service: Service31,
125
- layer: layer13,
126
- deps: [node52, node35, node87, node48]
123
+ var node30 = makeLocationNode({
124
+ service: Service27,
125
+ layer: layer12,
126
+ deps: [node33, node31, node87, node69]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service31, layer13, node34, exports_mcp3 };
129
+ export { namespace2, name14, Service27, layer12, node30, exports_mcp3 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./instruction-discovery-52zfrmt1.js";
5
+ } from "./schema-9yrh9n06.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make24,
10
10
  makeWithDefaults2
11
- } from "./instruction-discovery-273h6293.js";
11
+ } from "./schema-2hmemtj6.js";
12
12
  import {
13
13
  __export
14
- } from "./instruction-discovery-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make24,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-tneyjf48.js";
4
+ } from "./schema-02g264nc.js";
5
5
  import {
6
- Service63,
7
- node66
8
- } from "./instruction-discovery-m1y5ga02.js";
6
+ Service75,
7
+ node79
8
+ } from "./schema-0ce7fh3z.js";
9
9
  import {
10
10
  create3
11
- } from "./instruction-discovery-rdw6cm16.js";
11
+ } from "./schema-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./instruction-discovery-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event8,
21
- ID: () => ID5,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service35,
31
+ Service: () => Service31,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node38
33
+ node: () => node34
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event8 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
40
+ import { Event as Event5 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service35 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service31 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service35, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
69
69
  const bus = yield* Service83;
70
- const kv = yield* Service63;
70
+ const kv = yield* Service75;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service35.of({
127
+ return Service31.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node38 = makeLocationNode({
188
- service: Service35,
187
+ var node34 = makeLocationNode({
188
+ service: Service31,
189
189
  layer,
190
- deps: [node87, node66]
190
+ deps: [node87, node79]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service35, node38, exports_websearch3, Event8 };
193
+ export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service31, node34, exports_websearch3, Event5 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
5
  Service80
6
- } from "./instruction-discovery-krrp65g5.js";
6
+ } from "./schema-cb8p393h.js";
7
7
  import {
8
- Service54
9
- } from "./instruction-discovery-24ptn3c0.js";
8
+ Service71
9
+ } from "./schema-tdhpy44v.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./instruction-discovery-3dhqmxsn.js";
13
+ } from "./schema-hdnjgwej.js";
14
14
  import {
15
15
  observe2
16
- } from "./instruction-discovery-qsdy395h.js";
16
+ } from "./schema-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./instruction-discovery-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin17
25
+ Plugin: () => Plugin27
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin17 = define({
31
+ var Plugin27 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service54;
34
+ const config = yield* Service71;
35
35
  const location = yield* Service80;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin17, exports_reference };
75
+ export { Plugin27, exports_reference };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service80
3
- } from "./instruction-discovery-krrp65g5.js";
3
+ } from "./schema-cb8p393h.js";
4
4
  import {
5
- Service54
6
- } from "./instruction-discovery-24ptn3c0.js";
5
+ Service71
6
+ } from "./schema-tdhpy44v.js";
7
7
  import {
8
- Service65
9
- } from "./instruction-discovery-ahqb0ma5.js";
8
+ Service51
9
+ } from "./schema-5byh5fbq.js";
10
10
  import {
11
- make8
12
- } from "./instruction-discovery-eq1pz5kg.js";
11
+ make11
12
+ } from "./schema-a1gpj94z.js";
13
13
  import {
14
14
  observe2
15
- } from "./instruction-discovery-qsdy395h.js";
15
+ } from "./schema-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./instruction-discovery-9rqn6x4v.js";
18
+ } from "./schema-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin18
24
+ Plugin: () => Plugin29
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin18 = define({
32
+ var Plugin29 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service54;
36
- const formatter = yield* Service65;
35
+ const config = yield* Service71;
36
+ const formatter = yield* Service51;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
39
  const location = yield* Service80;
@@ -44,7 +44,7 @@ var Plugin18 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make8({
47
+ const builtIns = make11({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin18, exports_formatter };
88
+ export { Plugin29, exports_formatter };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./instruction-discovery-tneyjf48.js";
5
+ } from "./schema-02g264nc.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./instruction-discovery-m1y5ga02.js";
7
+ Service75,
8
+ node79
9
+ } from "./schema-0ce7fh3z.js";
10
10
  import {
11
11
  __export
12
- } from "./instruction-discovery-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event12,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service56,
22
+ Service: () => Service73,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node59,
26
- resolve: () => resolve3
25
+ node: () => node77,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service56 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service73 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event12 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,14 +75,17 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service56, Effect.gen(function* () {
78
+ var manifestKey = (origin) => `wellknown:manifest:${origin}`;
79
+ var configKey = (origin) => `wellknown:config:${origin}`;
80
+ var Configs = Schema.Array(Config2);
81
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
79
82
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service63;
83
+ const kv = yield* Service75;
81
84
  const bus = yield* Service83;
82
85
  const cache = yield* Ref.make(new Map);
83
86
  const lock = Semaphore.makeUnsafe(1);
84
87
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
85
- const manifest = yield* inspect2(origin).pipe(Effect.provideService(HttpClient.HttpClient, http));
88
+ const manifest = yield* inspect2(origin).pipe(Effect.provideService(HttpClient.HttpClient, http), Effect.tap((manifest) => kv.set(manifestKey(origin), manifest)), Effect.catch((error) => kv.get(manifestKey(origin)).pipe(Effect.flatMap((cached) => Schema.is(Manifest2)(cached) ? Effect.logWarning("failed to load wellknown manifest", { origin, error }).pipe(Effect.as(cached)) : Effect.fail(error)))));
86
89
  return { origin, integrationID: Integration.ID.make(origin), manifest };
87
90
  });
88
91
  const load = Effect.fn("WellKnown.load")(function* () {
@@ -109,10 +112,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
109
112
  if (!changed)
110
113
  return false;
111
114
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event12.Updated, {});
115
+ yield* bus.publish(Event15.Updated, {});
113
116
  return true;
114
117
  }, (effect) => lock.withPermit(effect));
115
- return Service56.of({
118
+ return Service73.of({
116
119
  entries: load,
117
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
121
  refresh,
@@ -125,7 +128,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
125
128
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
129
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
130
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event12.Updated, {});
131
+ yield* bus.publish(Event15.Updated, {});
129
132
  return entry;
130
133
  }, (effect, _value) => lock.withPermit(effect)),
131
134
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -133,16 +136,26 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
133
136
  const sources = yield* kv.get(sourcesKey);
134
137
  const origins = Schema.is(Sources)(sources) ? sources : [];
135
138
  yield* kv.set(sourcesKey, origins.filter((item) => item !== origin));
139
+ yield* kv.remove(manifestKey(origin));
140
+ yield* kv.remove(configKey(origin));
136
141
  yield* Ref.update(cache, (current) => {
137
142
  const next = new Map(current);
138
143
  next.delete(origin);
139
144
  return next;
140
145
  });
141
- yield* bus.publish(Event12.Updated, {});
146
+ yield* bus.publish(Event15.Updated, {});
142
147
  }, (effect, _value) => lock.withPermit(effect)),
143
- resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
148
+ resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
149
+ const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
150
+ yield* kv.set(configKey(entry.origin), configs);
151
+ return configs;
152
+ }),
153
+ cached: Effect.fn("WellKnown.cached")(function* (origin) {
154
+ const value = yield* kv.get(configKey(origin));
155
+ return Schema.is(Configs)(value) ? [...value] : [];
156
+ })
144
157
  });
145
158
  }));
146
- var node59 = makeGlobalNode({ service: Service56, layer, deps: [httpClient, node66, node87] });
159
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node79, node87] });
147
160
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service56, Event12, inspect2, resolve3, node59, exports_wellknown };
161
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event15, inspect2, resolve4, node77, exports_wellknown };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info9,
8
+ Info: () => Info11,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info9 = SessionProviderContext.Info;
22
+ var Info11 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info9, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service55
3
- } from "./instruction-discovery-fdteztds.js";
2
+ Service72
3
+ } from "./schema-xmgjmham.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./instruction-discovery-s8d7rejh.js";
6
+ } from "./schema-9t7a50xb.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./instruction-discovery-z5v4ffb3.js";
9
+ } from "./schema-z5v4ffb3.js";
10
10
  import {
11
11
  File2,
12
- Service69
13
- } from "./instruction-discovery-my0mhq6c.js";
12
+ Service36
13
+ } from "./schema-h74kgs22.js";
14
14
  import {
15
15
  Service80
16
- } from "./instruction-discovery-krrp65g5.js";
16
+ } from "./schema-cb8p393h.js";
17
17
  import {
18
18
  __export
19
- } from "./instruction-discovery-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin14
25
+ Plugin: () => Plugin35
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
30
30
  import { sameDirectory } from "@opencode/util/path";
31
31
  import { dirname, join } from "path";
32
32
  import { Effect, PubSub, Semaphore, Stream } from "effect";
33
- var Plugin14 = define({
33
+ var Plugin35 = define({
34
34
  id: "opencode.config.instruction",
35
35
  effect: Effect.fn(function* () {
36
- const discovery = yield* Service69;
36
+ const discovery = yield* Service36;
37
37
  if (!discovery.project && !discovery.global)
38
38
  return;
39
39
  yield* Effect.gen(function* () {
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const location = yield* Service80;
43
- const watcher = yield* Service55;
43
+ const watcher = yield* Service72;
44
44
  const changes = yield* PubSub.sliding(1);
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  const start = yield* fs.resolve(location.directory);
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
115
115
  return [start, ...ancestorDirectories(dirname(start), stop)];
116
116
  }
117
117
 
118
- export { Plugin14, exports_instruction };
118
+ export { Plugin35, exports_instruction };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
10
- render: () => render3
9
+ make: () => make14,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
33
- return render3(system_default, tools);
32
+ function make14(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render2, exports_system_prompt };