@opencode/core 0.0.0-dev-20523 → 0.0.0-dev-20526

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{vcs-ayrfqrmp.js → mime-0c6yq8cp.js} +13 -13
  8. package/dist/chunks/{vcs-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{vcs-znge2k26.js → mime-0pdhpgys.js} +9 -9
  10. package/dist/chunks/{vcs-2xdh0w28.js → mime-0r3c1bmw.js} +5 -5
  11. package/dist/chunks/{vcs-15jxxpks.js → mime-0t3vddyb.js} +35 -35
  12. package/dist/chunks/{vcs-m3pq9nvw.js → mime-0th6fty1.js} +11 -11
  13. package/dist/chunks/{vcs-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{vcs-ert91amk.js → mime-0zgyafam.js} +8 -8
  15. package/dist/chunks/{vcs-gg1q1rgs.js → mime-108bw82g.js} +39 -39
  16. package/dist/chunks/{vcs-k017qpd0.js → mime-15t5vs8z.js} +6 -6
  17. package/dist/chunks/{vcs-e5245gfw.js → mime-16nrxpzh.js} +19 -19
  18. package/dist/chunks/{vcs-engz9tk1.js → mime-16p8624c.js} +13 -13
  19. package/dist/chunks/{vcs-1acjjqhc.js → mime-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{vcs-698jedh3.js → mime-1d9m2a5b.js} +19 -19
  21. package/dist/chunks/{vcs-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{vcs-1dvck2a7.js → mime-1dvck2a7.js} +2 -2
  23. package/dist/chunks/{vcs-rtk327b3.js → mime-20cs2f2v.js} +13 -13
  24. package/dist/chunks/{vcs-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{vcs-3fp39bc5.js → mime-2g40h5tz.js} +11 -11
  26. package/dist/chunks/{vcs-d3d03f5w.js → mime-2g8e9x92.js} +6 -6
  27. package/dist/chunks/{vcs-yq9f48r1.js → mime-2h7ysm63.js} +3 -3
  28. package/dist/chunks/{vcs-ay23zzs3.js → mime-2hy5grvm.js} +35 -35
  29. package/dist/chunks/{vcs-qgn6gcr1.js → mime-2k8khapm.js} +5 -5
  30. package/dist/chunks/{vcs-twtpbk14.js → mime-2q2r0hje.js} +27 -27
  31. package/dist/chunks/{vcs-rn39wzk6.js → mime-2xdd25f7.js} +28 -28
  32. package/dist/chunks/{vcs-gy16a72j.js → mime-3a1zngsq.js} +5 -5
  33. package/dist/chunks/{vcs-1ysz3b88.js → mime-3eb0edj5.js} +49 -49
  34. package/dist/chunks/{vcs-y1ztjnch.js → mime-3eg14x28.js} +19 -19
  35. package/dist/chunks/{vcs-j5rxtxht.js → mime-3ewed21c.js} +4 -4
  36. package/dist/chunks/{vcs-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{vcs-tn76sa66.js → mime-3g92af4t.js} +24 -24
  38. package/dist/chunks/{vcs-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{vcs-t4dttzpk.js → mime-3n1988wa.js} +9 -9
  40. package/dist/chunks/{vcs-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{vcs-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{vcs-dj8dytcn.js → mime-3v3z8g8b.js} +50 -50
  43. package/dist/chunks/{vcs-ha3enmw3.js → mime-3y2j8cb3.js} +22 -22
  44. package/dist/chunks/{vcs-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{vcs-p4vte420.js → mime-43aqaj6z.js} +25 -25
  46. package/dist/chunks/{vcs-m8835y2n.js → mime-4a0vena2.js} +14 -14
  47. package/dist/chunks/{vcs-r71n597x.js → mime-4dkxmh69.js} +3 -3
  48. package/dist/chunks/{vcs-3xqy4ymt.js → mime-4rskew4a.js} +25 -25
  49. package/dist/chunks/{vcs-4ts7tf6z.js → mime-4ts7tf6z.js} +2 -2
  50. package/dist/chunks/mime-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{vcs-g8w68j7a.js → mime-4vc0ehpv.js} +22 -22
  52. package/dist/chunks/{vcs-jk03ymz1.js → mime-4wdayzmh.js} +16 -16
  53. package/dist/chunks/{vcs-6qm8nm6h.js → mime-4wv1d4kf.js} +35 -35
  54. package/dist/chunks/{vcs-mx9vqzsb.js → mime-51f5btjf.js} +6 -6
  55. package/dist/chunks/{vcs-sv59d8wy.js → mime-523e74da.js} +17 -17
  56. package/dist/chunks/{vcs-54ma36ye.js → mime-54ma36ye.js} +1 -1
  57. package/dist/chunks/{vcs-33w4ejhs.js → mime-56gdpj1q.js} +6 -6
  58. package/dist/chunks/{vcs-5fykfdj7.js → mime-57myy5jh.js} +5 -5
  59. package/dist/chunks/{vcs-cwa6csj7.js → mime-5d607bsg.js} +9 -9
  60. package/dist/chunks/{vcs-5daktx2q.js → mime-5daktx2q.js} +1 -1
  61. package/dist/chunks/{vcs-2pqkge4e.js → mime-5g1wsd0f.js} +9 -9
  62. package/dist/chunks/{vcs-p5p5kne1.js → mime-5pyjqqve.js} +2 -2
  63. package/dist/chunks/{vcs-asjhz5jz.js → mime-5rgss48q.js} +8 -8
  64. package/dist/chunks/{vcs-e0378qy6.js → mime-5rnnm2b5.js} +9 -9
  65. package/dist/chunks/{vcs-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{vcs-xagkhdgg.js → mime-5x7bbgzr.js} +15 -15
  67. package/dist/chunks/{vcs-p6czjpb3.js → mime-5z44n1zm.js} +33 -33
  68. package/dist/chunks/{vcs-bmyw6ydg.js → mime-613axv8y.js} +29 -29
  69. package/dist/chunks/{vcs-tbnf0mzz.js → mime-618j7cty.js} +38 -38
  70. package/dist/chunks/{vcs-1xsx8vwt.js → mime-63jk1vmm.js} +25 -25
  71. package/dist/chunks/{vcs-6e2c24zy.js → mime-65rtbs6q.js} +29 -29
  72. package/dist/chunks/{vcs-669tq793.js → mime-669tq793.js} +1 -1
  73. package/dist/chunks/{vcs-642sd9r2.js → mime-68t36xwj.js} +22 -22
  74. package/dist/chunks/{vcs-0n6s3he6.js → mime-69ejy697.js} +20 -20
  75. package/dist/chunks/{vcs-652g5ww1.js → mime-6azy7pm5.js} +26 -26
  76. package/dist/chunks/{vcs-6qkjgc87.js → mime-6pbfkrn8.js} +9 -9
  77. package/dist/chunks/{vcs-3318eyp5.js → mime-6pm4tc4k.js} +3 -3
  78. package/dist/chunks/{vcs-f5gy8qwh.js → mime-6ysrkrkr.js} +8 -8
  79. package/dist/chunks/{vcs-71az546q.js → mime-71az546q.js} +2 -2
  80. package/dist/chunks/{vcs-r8518j31.js → mime-71c2tdcf.js} +11 -11
  81. package/dist/chunks/{vcs-143vszks.js → mime-71t26km0.js} +9 -9
  82. package/dist/chunks/{vcs-z249rqtp.js → mime-787mccs8.js} +30 -30
  83. package/dist/chunks/{vcs-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{vcs-n47yxx3n.js → mime-7v89zxnz.js} +32 -32
  85. package/dist/chunks/{vcs-2tsvqd0c.js → mime-7x3zazyt.js} +20 -20
  86. package/dist/chunks/{vcs-84txncab.js → mime-84txncab.js} +1 -1
  87. package/dist/chunks/{vcs-8zp34bdd.js → mime-8654st4n.js} +12 -12
  88. package/dist/chunks/{vcs-kym3tbjm.js → mime-86vxxqtm.js} +9 -9
  89. package/dist/chunks/{vcs-pvpz454p.js → mime-86zp6h1p.js} +13 -13
  90. package/dist/chunks/{vcs-sm4ranxy.js → mime-898dwsbb.js} +11 -11
  91. package/dist/chunks/{vcs-px5rzwm9.js → mime-89p27cv2.js} +24 -24
  92. package/dist/chunks/{vcs-m6peh6cd.js → mime-8ccws1rf.js} +22 -22
  93. package/dist/chunks/{vcs-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{vcs-b34sdxkh.js → mime-8qh6anns.js} +6 -6
  95. package/dist/chunks/{vcs-esmd944f.js → mime-8t32jfb4.js} +18 -18
  96. package/dist/chunks/{vcs-g53b9crq.js → mime-8ybym829.js} +10 -10
  97. package/dist/chunks/{vcs-7h0e419p.js → mime-8z6q4zg3.js} +1 -1
  98. package/dist/chunks/{vcs-q86e9bsp.js → mime-90b8eqf4.js} +11 -11
  99. package/dist/chunks/{vcs-5g992y3e.js → mime-92dck0g3.js} +17 -17
  100. package/dist/chunks/{vcs-atpksgz1.js → mime-944pe8w2.js} +5 -5
  101. package/dist/chunks/{vcs-xs53z2pm.js → mime-96ctqc5x.js} +4 -4
  102. package/dist/chunks/{vcs-dsgjd3rn.js → mime-98rkmnx4.js} +6 -6
  103. package/dist/chunks/{vcs-9e5bzkjp.js → mime-9e5bzkjp.js} +3 -3
  104. package/dist/chunks/{vcs-9zdhcr13.js → mime-9mpafgh5.js} +58 -58
  105. package/dist/chunks/{vcs-ha3s5v70.js → mime-9n437wmn.js} +44 -44
  106. package/dist/chunks/{vcs-4y5cztj8.js → mime-9shrky9m.js} +15 -15
  107. package/dist/chunks/{vcs-kxd45bf8.js → mime-9t111gh9.js} +6 -6
  108. package/dist/chunks/{vcs-2eegacq4.js → mime-9y0w708y.js} +8 -8
  109. package/dist/chunks/{vcs-0f2k15r0.js → mime-9y5n1c4v.js} +22 -22
  110. package/dist/chunks/{vcs-bfh2072t.js → mime-a2wvdp5g.js} +20 -20
  111. package/dist/chunks/{vcs-d7x58568.js → mime-a7v9wceq.js} +23 -23
  112. package/dist/chunks/{vcs-p9zzjwz0.js → mime-a9qg49ta.js} +16 -16
  113. package/dist/chunks/{vcs-aaet6srn.js → mime-aaet6srn.js} +2 -2
  114. package/dist/chunks/{vcs-8jnczxdz.js → mime-ab66fk0a.js} +5 -5
  115. package/dist/chunks/{vcs-xf7k239c.js → mime-abg70evd.js} +7 -7
  116. package/dist/chunks/{vcs-x87d2c5t.js → mime-ac8xbrkv.js} +45 -45
  117. package/dist/chunks/{vcs-gqtdsdt7.js → mime-addxnjmp.js} +4 -4
  118. package/dist/chunks/{vcs-mk899n6x.js → mime-ag0cyztb.js} +13 -13
  119. package/dist/chunks/{vcs-41ssepmq.js → mime-aj015p4r.js} +11 -11
  120. package/dist/chunks/{vcs-1kfk229s.js → mime-apmtag91.js} +33 -33
  121. package/dist/chunks/{vcs-7pgd7918.js → mime-awmqyyvb.js} +37 -37
  122. package/dist/chunks/{vcs-3qaj82j9.js → mime-axs6pdy0.js} +5 -5
  123. package/dist/chunks/{vcs-qygbw77c.js → mime-b3f8fkhc.js} +5 -5
  124. package/dist/chunks/{vcs-anpxxvvk.js → mime-b5nk4gnq.js} +11 -11
  125. package/dist/chunks/{vcs-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  126. package/dist/chunks/{vcs-8xd7pg9c.js → mime-bhg4bmfs.js} +10 -10
  127. package/dist/chunks/{vcs-8m5xe4tx.js → mime-bsprd9wx.js} +6 -6
  128. package/dist/chunks/{vcs-g99bb5tx.js → mime-bwkkkbxh.js} +19 -19
  129. package/dist/chunks/{vcs-qbfvtt5h.js → mime-c5tpfa0r.js} +18 -18
  130. package/dist/chunks/{vcs-jh6se4gm.js → mime-c83dc2pg.js} +8 -8
  131. package/dist/chunks/{vcs-0v2qpmda.js → mime-cegsa1ts.js} +43 -43
  132. package/dist/chunks/{vcs-cfsekr6v.js → mime-cfsekr6v.js} +2 -2
  133. package/dist/chunks/{vcs-8qyfkx8k.js → mime-ckbnwpw7.js} +11 -11
  134. package/dist/chunks/{vcs-0w8wvs1r.js → mime-d47gva27.js} +8 -8
  135. package/dist/chunks/{vcs-6tfrbyrn.js → mime-d4ttvd2m.js} +32 -32
  136. package/dist/chunks/{vcs-4rev9cvp.js → mime-dhda0sfg.js} +15 -15
  137. package/dist/chunks/{vcs-m3qcfrsh.js → mime-dk6462jd.js} +16 -16
  138. package/dist/chunks/{vcs-2rvt81jv.js → mime-dk90hdkx.js} +8 -8
  139. package/dist/chunks/{vcs-nxm207yx.js → mime-dpkg50ah.js} +4 -4
  140. package/dist/chunks/{vcs-v2p4rfxw.js → mime-e0vtkr8g.js} +6 -6
  141. package/dist/chunks/{vcs-cvd0t7zh.js → mime-e3yr13n7.js} +22 -22
  142. package/dist/chunks/{vcs-1xpf0exr.js → mime-e4t8r070.js} +15 -15
  143. package/dist/chunks/{vcs-x8xp47jc.js → mime-e76pw870.js} +34 -34
  144. package/dist/chunks/{vcs-9dmf3jht.js → mime-ec5havvq.js} +5 -5
  145. package/dist/chunks/{vcs-ezy85fdf.js → mime-eeg0gr3a.js} +32 -32
  146. package/dist/chunks/{vcs-a9myb2xz.js → mime-ef0w8kcj.js} +23 -23
  147. package/dist/chunks/{vcs-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{vcs-73tb2d7t.js → mime-eq1pz5kg.js} +3 -3
  149. package/dist/chunks/{vcs-zac3hdf5.js → mime-eqn2j9ra.js} +17 -17
  150. package/dist/chunks/{vcs-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{vcs-dddf77t3.js → mime-eyasq7v2.js} +18 -18
  152. package/dist/chunks/{vcs-cmwkp3r5.js → mime-eys57y9b.js} +8 -8
  153. package/dist/chunks/{vcs-2fsnkaeb.js → mime-ffhkx1j7.js} +10 -10
  154. package/dist/chunks/{vcs-dy50r7f0.js → mime-fjq9394b.js} +27 -27
  155. package/dist/chunks/{vcs-yjfktaj5.js → mime-fm03cyjv.js} +15 -15
  156. package/dist/chunks/{vcs-8nn5nyt2.js → mime-fy5c28xk.js} +41 -41
  157. package/dist/chunks/{vcs-w1sywbce.js → mime-g2b71yqp.js} +22 -22
  158. package/dist/chunks/{vcs-g5w8qwbj.js → mime-g5w8qwbj.js} +1 -1
  159. package/dist/chunks/mime-g7w798jn.js +26 -0
  160. package/dist/chunks/{vcs-ngcyadx4.js → mime-g8gztt5b.js} +41 -41
  161. package/dist/chunks/{vcs-52f2jrtr.js → mime-gc6269q7.js} +20 -20
  162. package/dist/chunks/{vcs-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  163. package/dist/chunks/{vcs-z6fm47wz.js → mime-grrv6e2y.js} +11 -11
  164. package/dist/chunks/{vcs-h2b79v29.js → mime-h2b79v29.js} +2 -2
  165. package/dist/chunks/mime-h2ckq0fq.js +253 -0
  166. package/dist/chunks/{vcs-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{vcs-s6vagn1s.js → mime-hc47jsp6.js} +96 -96
  168. package/dist/chunks/{vcs-rzs3gq0x.js → mime-hpfvhvya.js} +8 -8
  169. package/dist/chunks/{vcs-xdax5pw4.js → mime-hsnr0pdx.js} +27 -27
  170. package/dist/chunks/{vcs-j56e64zr.js → mime-j56e64zr.js} +1 -1
  171. package/dist/chunks/{vcs-emy2mr0p.js → mime-jfgsppse.js} +16 -16
  172. package/dist/chunks/{vcs-bzawqrey.js → mime-jgdpgqgj.js} +4 -4
  173. package/dist/chunks/{vcs-1x3tt5d7.js → mime-jpr19x4b.js} +14 -14
  174. package/dist/chunks/{vcs-jpvtfgsr.js → mime-jt46dgte.js} +18 -18
  175. package/dist/chunks/{vcs-9pd3a9ej.js → mime-jvnht3j4.js} +74 -74
  176. package/dist/chunks/{vcs-w347braj.js → mime-k8v4d5hq.js} +24 -24
  177. package/dist/chunks/{vcs-4jyvzrab.js → mime-kdq8v965.js} +9 -9
  178. package/dist/chunks/{vcs-8bqprwpq.js → mime-kphdywnf.js} +19 -19
  179. package/dist/chunks/{vcs-154fjpss.js → mime-ktzfshgy.js} +8 -8
  180. package/dist/chunks/{vcs-q781ceqg.js → mime-kwy4nt5m.js} +25 -25
  181. package/dist/chunks/{vcs-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{vcs-xkq4qhjg.js → mime-m4k0yg9x.js} +4 -4
  183. package/dist/chunks/{vcs-j0qpe3xs.js → mime-m54tfmvb.js} +13 -13
  184. package/dist/chunks/{vcs-ygnv88eq.js → mime-m6d4j3h9.js} +4 -4
  185. package/dist/chunks/{vcs-7f5fnqp2.js → mime-m7ydhh7t.js} +7 -7
  186. package/dist/chunks/{vcs-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{vcs-kvvk39gs.js → mime-magykp64.js} +4 -4
  188. package/dist/chunks/{vcs-c0wyzfrh.js → mime-mbmw6p79.js} +26 -26
  189. package/dist/chunks/{vcs-m2rmbrrw.js → mime-me85bt6d.js} +4 -4
  190. package/dist/chunks/{vcs-w3bk7c2d.js → mime-mgz7mky6.js} +36 -36
  191. package/dist/chunks/{vcs-0b83k0qn.js → mime-mz8gnksm.js} +5 -5
  192. package/dist/chunks/{vcs-30pk4ngn.js → mime-n1hw437h.js} +11 -11
  193. package/dist/chunks/{vcs-f29mbr7f.js → mime-n1n192bv.js} +4 -4
  194. package/dist/chunks/{vcs-gh5z95q3.js → mime-n8sna2wb.js} +9 -9
  195. package/dist/chunks/{vcs-263mmtss.js → mime-n9hpjtfs.js} +52 -52
  196. package/dist/chunks/{vcs-dypdtx22.js → mime-njq320dc.js} +10 -10
  197. package/dist/chunks/{vcs-y1n096b6.js → mime-nq3cpa63.js} +27 -27
  198. package/dist/chunks/{vcs-rk1r2hx8.js → mime-ns3eape4.js} +1 -1
  199. package/dist/chunks/{vcs-ns33pmaz.js → mime-nz3b0w12.js} +11 -11
  200. package/dist/chunks/{vcs-wkwj6cw5.js → mime-p0jxbjmq.js} +11 -11
  201. package/dist/chunks/{vcs-w1bc1hs8.js → mime-p558d1j2.js} +5 -5
  202. package/dist/chunks/{vcs-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{vcs-pknna89w.js → mime-pknna89w.js} +1 -1
  204. package/dist/chunks/{vcs-xaccx4pc.js → mime-pyq30meh.js} +5 -5
  205. package/dist/chunks/{vcs-q0xm7vwc.js → mime-q0xm7vwc.js} +2 -2
  206. package/dist/chunks/{vcs-9rzbrnek.js → mime-q3e7ejxm.js} +30 -30
  207. package/dist/chunks/{vcs-96te9d4b.js → mime-q4fmv0xv.js} +5 -5
  208. package/dist/chunks/{vcs-6nn06123.js → mime-q7q1dj79.js} +19 -19
  209. package/dist/chunks/{vcs-psn196xm.js → mime-qdhzfkrq.js} +36 -36
  210. package/dist/chunks/{vcs-875tjbvc.js → mime-qeayp8bq.js} +5 -5
  211. package/dist/chunks/{vcs-4w0k5wea.js → mime-qfxvgh06.js} +10 -10
  212. package/dist/chunks/{vcs-64s65d1n.js → mime-qm7jrdpz.js} +8 -8
  213. package/dist/chunks/{vcs-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{vcs-xry2b1cq.js → mime-qrdpeksr.js} +34 -34
  215. package/dist/chunks/{vcs-qsdy395h.js → mime-qsdy395h.js} +1 -1
  216. package/dist/chunks/{vcs-qxjc9qry.js → mime-qxjc9qry.js} +3 -3
  217. package/dist/chunks/{vcs-g34qytme.js → mime-qztw7pyw.js} +13 -13
  218. package/dist/chunks/{vcs-dfjxtsf9.js → mime-r44petzp.js} +12 -12
  219. package/dist/chunks/{vcs-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{vcs-wv396vej.js → mime-rhjbct0v.js} +8 -8
  221. package/dist/chunks/{vcs-4fdg3v2k.js → mime-rjm2fn4k.js} +9 -9
  222. package/dist/chunks/{vcs-17gjvyxf.js → mime-rjt2bsyt.js} +22 -22
  223. package/dist/chunks/{vcs-yjg24re3.js → mime-rnp3p4gd.js} +18 -18
  224. package/dist/chunks/{vcs-edrmdtr5.js → mime-ryr25ayn.js} +7 -7
  225. package/dist/chunks/{vcs-waza03q7.js → mime-s08q7c06.js} +20 -20
  226. package/dist/chunks/{vcs-pkqb68ka.js → mime-s0b7t9fd.js} +4 -4
  227. package/dist/chunks/{vcs-ekaexw2z.js → mime-s0xt187s.js} +330 -330
  228. package/dist/chunks/{vcs-39vpe6qw.js → mime-s3d46ba8.js} +22 -22
  229. package/dist/chunks/{vcs-3etjgs1z.js → mime-s4kq9h0g.js} +316 -316
  230. package/dist/chunks/{vcs-c6fqm3pf.js → mime-s5666wwp.js} +27 -27
  231. package/dist/chunks/{vcs-vg24h9cg.js → mime-sd7az2cx.js} +6 -6
  232. package/dist/chunks/{vcs-437mn6c1.js → mime-sesb8crn.js} +24 -24
  233. package/dist/chunks/{vcs-r9pkg3wj.js → mime-sfgte76k.js} +22 -22
  234. package/dist/chunks/{vcs-whzv333q.js → mime-shh3msea.js} +5 -5
  235. package/dist/chunks/{vcs-v6eqk4q9.js → mime-spvja0zg.js} +17 -17
  236. package/dist/chunks/{vcs-8dnd3zn1.js → mime-sq5xvr65.js} +84 -84
  237. package/dist/chunks/{vcs-5f3z425y.js → mime-sy2k7xk8.js} +59 -59
  238. package/dist/chunks/{vcs-apm9d5pk.js → mime-t74a4f50.js} +4 -4
  239. package/dist/chunks/{vcs-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{vcs-89znhe33.js → mime-tcezcvh9.js} +4 -4
  241. package/dist/chunks/{vcs-tdstcens.js → mime-tdstcens.js} +1 -1
  242. package/dist/chunks/{vcs-v5mwb5nv.js → mime-tt3ha5ks.js} +24 -24
  243. package/dist/chunks/{vcs-y4xh0pmk.js → mime-v0es1rhs.js} +7 -7
  244. package/dist/chunks/{vcs-gb88hfpn.js → mime-vapg3z9n.js} +3 -3
  245. package/dist/chunks/{vcs-00c9h3yh.js → mime-vd4e7scs.js} +28 -28
  246. package/dist/chunks/{vcs-89rvcjqs.js → mime-vdn23gb8.js} +8 -8
  247. package/dist/chunks/{vcs-veqvce7d.js → mime-veqvce7d.js} +1 -1
  248. package/dist/chunks/{vcs-1avcv9p8.js → mime-vj8yzvgx.js} +32 -32
  249. package/dist/chunks/{vcs-qbt3t408.js → mime-vks5txr6.js} +2 -2
  250. package/dist/chunks/{vcs-8whp40kv.js → mime-vx3jgdek.js} +3 -3
  251. package/dist/chunks/{vcs-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{vcs-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{vcs-1yzcjwqk.js → mime-w16xktph.js} +175 -175
  254. package/dist/chunks/{vcs-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{vcs-wd87259q.js → mime-wd87259q.js} +1 -1
  256. package/dist/chunks/{vcs-98d9cgwq.js → mime-wnm2730d.js} +24 -24
  257. package/dist/chunks/{vcs-273heg4k.js → mime-wnw44jfj.js} +3 -3
  258. package/dist/chunks/{vcs-fe5va1gq.js → mime-ww52myg8.js} +18 -18
  259. package/dist/chunks/{vcs-b58yghq3.js → mime-wyja02d2.js} +34 -34
  260. package/dist/chunks/{vcs-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{vcs-x7ypjh20.js → mime-x339f5qa.js} +12 -12
  262. package/dist/chunks/{vcs-c34wdaxc.js → mime-xdb2at9q.js} +18 -18
  263. package/dist/chunks/{vcs-qqjzd42y.js → mime-xgp0qdrr.js} +1 -1
  264. package/dist/chunks/{vcs-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{vcs-dr3cfjye.js → mime-xnyz6zyr.js} +18 -18
  266. package/dist/chunks/{vcs-72ct2ksy.js → mime-xxkch54m.js} +48 -48
  267. package/dist/chunks/{vcs-4dmfh7tm.js → mime-xztw10wv.js} +11 -11
  268. package/dist/chunks/{vcs-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{vcs-bws3grwa.js → mime-y5pysmm8.js} +5 -5
  270. package/dist/chunks/{vcs-0a1yp5ev.js → mime-y5rf7nzv.js} +4 -4
  271. package/dist/chunks/{vcs-eqzw3791.js → mime-y6w2b009.js} +10 -10
  272. package/dist/chunks/{vcs-q05af3em.js → mime-y968wptn.js} +20 -20
  273. package/dist/chunks/{vcs-hvr28mne.js → mime-ygz1yfbt.js} +11 -11
  274. package/dist/chunks/{vcs-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{vcs-4rrjew3c.js → mime-yxj72d5f.js} +44 -44
  276. package/dist/chunks/{vcs-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{vcs-gfmgy62m.js → mime-z1p8jhdj.js} +28 -28
  278. package/dist/chunks/{vcs-75jaekcr.js → mime-zbfa0p50.js} +9 -9
  279. package/dist/chunks/{vcs-kne8f3cn.js → mime-zcrspsvn.js} +4 -4
  280. package/dist/chunks/{vcs-58rdqtcw.js → mime-zgyaz76r.js} +32 -32
  281. package/dist/chunks/{vcs-j6f1xn30.js → mime-zr0r55n7.js} +11 -11
  282. package/dist/chunks/{vcs-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{vcs-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{vcs-g60qacmp.js → mime-zz8ge4b6.js} +6 -6
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +70 -70
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  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 +79 -79
  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 +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 +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  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 +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  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 +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +105 -105
  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 +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +123 -123
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +99 -99
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  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 +82 -82
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  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 +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +115 -115
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +101 -101
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +89 -89
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +89 -89
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +131 -131
  570. package/dist/session/context.js +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +154 -154
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +162 -162
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +75 -75
  608. package/dist/session/store.js +87 -87
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +216 -216
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +110 -110
  625. package/dist/snapshot.js +91 -91
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +120 -120
  630. package/dist/tool/plugin/edit.js +118 -118
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +124 -124
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +103 -103
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +111 -111
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +110 -110
  643. package/dist/tool/plugin/websearch.js +106 -106
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +98 -98
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +84 -84
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +94 -94
  681. package/package.json +8 -8
  682. package/dist/chunks/vcs-9zdhvgqs.js +0 -18
  683. package/dist/chunks/vcs-c2rqwj43.js +0 -253
  684. package/dist/chunks/vcs-r1as3zj2.js +0 -26
  685. /package/dist/chunks/{vcs-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{vcs-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{vcs-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{vcs-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{vcs-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{vcs-24dcb14g.js → mime-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{vcs-2710q6r3.js → mime-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{vcs-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{vcs-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{vcs-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{vcs-359p4xyc.js → mime-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{vcs-3asan66x.js → mime-3asan66x.js} +0 -0
  697. /package/dist/chunks/{vcs-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{vcs-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{vcs-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{vcs-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{vcs-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{vcs-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{vcs-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{vcs-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{vcs-53557ph1.js → mime-53557ph1.js} +0 -0
  706. /package/dist/chunks/{vcs-550bvhaj.js → mime-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{vcs-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{vcs-6prwharc.js → mime-6prwharc.js} +0 -0
  709. /package/dist/chunks/{vcs-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{vcs-7m9af43g.js → mime-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{vcs-822emrt2.js → mime-822emrt2.js} +0 -0
  712. /package/dist/chunks/{vcs-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{vcs-8n3pysct.js → mime-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{vcs-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{vcs-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{vcs-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{vcs-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{vcs-af5trqkr.js → mime-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{vcs-afrmfg78.js → mime-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{vcs-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{vcs-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{vcs-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{vcs-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{vcs-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{vcs-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{vcs-d9fn303g.js → mime-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{vcs-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{vcs-dajrwvna.js → mime-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{vcs-dap0rakb.js → mime-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{vcs-df08tz66.js → mime-df08tz66.js} +0 -0
  731. /package/dist/chunks/{vcs-dy18nga0.js → mime-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{vcs-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{vcs-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{vcs-ec1grn59.js → mime-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{vcs-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{vcs-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{vcs-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{vcs-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{vcs-faypxj3z.js → mime-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{vcs-fd410y7t.js → mime-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{vcs-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{vcs-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{vcs-g86h250q.js → mime-g86h250q.js} +0 -0
  744. /package/dist/chunks/{vcs-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{vcs-gftt206x.js → mime-gftt206x.js} +0 -0
  746. /package/dist/chunks/{vcs-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{vcs-hk9envan.js → mime-hk9envan.js} +0 -0
  748. /package/dist/chunks/{vcs-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{vcs-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{vcs-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{vcs-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{vcs-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{vcs-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{vcs-mp448xyj.js → mime-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{vcs-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{vcs-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{vcs-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{vcs-njntx4h6.js → mime-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{vcs-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{vcs-q74kybfr.js → mime-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{vcs-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{vcs-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{vcs-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{vcs-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{vcs-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{vcs-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{vcs-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{vcs-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{vcs-w803qqfp.js → mime-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{vcs-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{vcs-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{vcs-wtztk69x.js → mime-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{vcs-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{vcs-x61499pn.js → mime-x61499pn.js} +0 -0
  775. /package/dist/chunks/{vcs-y44na4kk.js → mime-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{vcs-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{vcs-y8f7s663.js → mime-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{vcs-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{vcs-ym463w8f.js → mime-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{vcs-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{vcs-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./vcs-emy2mr0p.js";
6
- import {
7
3
  Service82,
8
4
  node86
9
- } from "./vcs-mk899n6x.js";
5
+ } from "./mime-jfgsppse.js";
6
+ import {
7
+ Service69,
8
+ node73
9
+ } from "./mime-ag0cyztb.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./mime-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: () => Event8,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service41,
22
+ Service: () => Service57,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node44,
26
- resolve: () => resolve2
25
+ node: () => node60,
26
+ resolve: () => resolve3
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 Service41 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service57 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event8 = {
51
+ var Event13 = {
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 resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = 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,10 +75,10 @@ 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(Service41, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service82;
81
- const bus = yield* Service83;
80
+ const kv = yield* Service69;
81
+ const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event8.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service41.of({
115
+ return Service57.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event8.Updated, {});
128
+ yield* bus.publish(Event13.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event8.Updated, {});
141
+ yield* bus.publish(Event13.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node44 = makeGlobalNode({ service: Service41, layer, deps: [httpClient, node86, node87] });
146
+ var node60 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node73, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service41, Event8, inspect2, resolve2, node44, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event13, inspect2, resolve3, node60, exports_wellknown };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service40,
3
- node43
4
- } from "./vcs-dy50r7f0.js";
2
+ Service45,
3
+ node47
4
+ } from "./mime-fjq9394b.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
- make22,
8
+ make20,
9
9
  diffByKey2
10
- } from "./vcs-wv396vej.js";
10
+ } from "./mime-rhjbct0v.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service29,
20
- node: () => node33
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service36,
20
+ node: () => node39
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service36 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service29, Effect.gen(function* () {
63
- const references = yield* Service40;
64
- return Service29.of({
62
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
63
+ const references = yield* Service45;
64
+ return Service36.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make22({
72
- key: Key4.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node33 = makeLocationNode({ service: Service29, layer, deps: [node43] });
84
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [node47] });
85
85
 
86
- export { Service29, node33, exports_instructions3 };
86
+ export { Service36, node39, exports_instructions5 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID7,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./vcs-3etjgs1z.js";
4
+ } from "./mime-s4kq9h0g.js";
5
5
  import {
6
- ID4,
6
+ ID12,
7
7
  VariantID2,
8
- Info13,
8
+ Info21,
9
9
  compatibility2
10
- } from "./vcs-b58yghq3.js";
10
+ } from "./mime-wyja02d2.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID7.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID4.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID4.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info13.make({
98
- ...Info13.default(providerID, id),
97
+ return Info21.make({
98
+ ...Info21.default(providerID, id),
99
99
  id,
100
- modelID: ID4.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./vcs-mk899n6x.js";
2
+ Service69,
3
+ node73
4
+ } from "./mime-ag0cyztb.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./vcs-gftt206x.js";
7
+ } from "./mime-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./vcs-8whp40kv.js";
10
+ } from "./mime-vx3jgdek.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./mime-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service47,
20
- make: () => make19,
21
- node: () => node49
19
+ Service: () => Service68,
20
+ make: () => make22,
21
+ node: () => node72
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service47 extends Context.Service()("@opencode/Job") {
51
+ class Service68 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make19 = Effect.gen(function* () {
87
- const kv = yield* Service82;
86
+ var make22 = Effect.gen(function* () {
87
+ const kv = yield* Service69;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -342,7 +342,7 @@ var make19 = Effect.gen(function* () {
342
342
  next.delete(entry[0]);
343
343
  return next;
344
344
  })));
345
- return Service47.of({
345
+ return Service68.of({
346
346
  get,
347
347
  start,
348
348
  wait,
@@ -354,7 +354,7 @@ var make19 = Effect.gen(function* () {
354
354
  completeBackground
355
355
  });
356
356
  });
357
- var layer = Layer.effect(Service47, make19);
358
- var node49 = makeGlobalNode({ service: Service47, layer, deps: [node86] });
357
+ var layer = Layer.effect(Service68, make22);
358
+ var node72 = makeGlobalNode({ service: Service68, layer, deps: [node73] });
359
359
 
360
- export { Service47, make19, node49, exports_job };
360
+ export { Service68, make22, node72, exports_job };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./vcs-2a5m3afh.js";
5
+ } from "./mime-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./vcs-9rqn6x4v.js";
8
+ } from "./mime-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID8,
3
- Service66
4
- } from "./vcs-p6czjpb3.js";
2
+ ID14,
3
+ Service76
4
+ } from "./mime-5z44n1zm.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service66;
12
+ const integrations = yield* Service76;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID8.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service38
4
- } from "./vcs-1ysz3b88.js";
3
+ Service55
4
+ } from "./mime-3eb0edj5.js";
5
5
  import {
6
6
  __export
7
- } from "./vcs-9rqn6x4v.js";
7
+ } from "./mime-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin23,
12
+ Plugin: () => Plugin49,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin23 = define({
22
+ var Plugin49 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service38;
25
+ const config = yield* Service55;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin23 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin23, exports_warming };
99
+ export { Plugin49, exports_warming };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID14,
3
- Service76
4
- } from "./vcs-w347braj.js";
2
+ ID9,
3
+ Service64
4
+ } from "./mime-k8v4d5hq.js";
5
5
  import {
6
6
  Ref2,
7
- Service52
8
- } from "./vcs-b58yghq3.js";
7
+ Service74
8
+ } from "./mime-wyja02d2.js";
9
9
  import {
10
10
  latest2,
11
- Service38
12
- } from "./vcs-1ysz3b88.js";
11
+ Service55
12
+ } from "./mime-3eb0edj5.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./vcs-8whp40kv.js";
15
+ } from "./mime-vx3jgdek.js";
16
16
  import {
17
- Service47
18
- } from "./vcs-p9zzjwz0.js";
17
+ Service68
18
+ } from "./mime-a9qg49ta.js";
19
19
  import {
20
20
  evaluate2,
21
- Service73
22
- } from "./vcs-9zdhcr13.js";
21
+ Service61
22
+ } from "./mime-9mpafgh5.js";
23
23
  import {
24
- Service23
25
- } from "./vcs-s6vagn1s.js";
24
+ Service27
25
+ } from "./mime-hc47jsp6.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./vcs-x1ezjp6w.js";
28
+ } from "./mime-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./vcs-anpxxvvk.js";
30
+ make11
31
+ } from "./mime-b5nk4gnq.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./mime-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input4,
40
- Output: () => Output3,
41
- Plugin: () => Plugin5,
39
+ Input: () => Input6,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin7,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name4
43
+ description: () => description3,
44
+ name: () => name6
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name4 = "subagent";
48
+ var name6 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input4 = Schema.Struct({
59
+ var Input6 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input4 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output3 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin5 = {
89
+ var Plugin7 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service23;
93
- const jobs = yield* Service47;
94
- const agents = yield* Service76;
95
- const config = yield* Service38;
96
- const permission = yield* Service73;
97
- const models = yield* Service52;
98
- const subagents = yield* make9;
92
+ const sessions = yield* Service27;
93
+ const jobs = yield* Service68;
94
+ const agents = yield* Service64;
95
+ const config = yield* Service55;
96
+ const permission = yield* Service61;
97
+ const models = yield* Service74;
98
+ const subagents = yield* make11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin5 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name6,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input4,
122
- output: Output3,
120
+ description: description3,
121
+ input: Input6,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin5 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name4,
142
+ action: name6,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin5 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID14.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name4 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name6 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name4];
233
+ const tool = event.tools[name6];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name4, Input4, Output3, description2, Plugin5, exports_subagent };
256
+ export { name6, Input6, Output5, description3, Plugin7, exports_subagent };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info19,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info19 = Connection.Info;
18
+ var Info24 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info19, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };