@opencode/core 0.0.0-dev-21368 → 0.0.0-dev-21385

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{schema-chsnhwb3.js → variant-01133bs8.js} +12 -12
  8. package/dist/chunks/{schema-z41ahr7v.js → variant-039htanw.js} +11 -11
  9. package/dist/chunks/{schema-tej7bjmy.js → variant-06m78d2n.js} +20 -20
  10. package/dist/chunks/{schema-yhc4wv29.js → variant-07s4g8t9.js} +50 -50
  11. package/dist/chunks/{schema-kecqjjhm.js → variant-0cg871e2.js} +5 -5
  12. package/dist/chunks/{schema-zsep494j.js → variant-0g42q639.js} +3 -3
  13. package/dist/chunks/{schema-80jay3zv.js → variant-0kpfwrjz.js} +30 -30
  14. package/dist/chunks/{schema-e9vvnvyx.js → variant-0nxkqgg0.js} +9 -9
  15. package/dist/chunks/{schema-3rtxz4nr.js → variant-0r684n0p.js} +8 -8
  16. package/dist/chunks/{schema-sqmzwr9m.js → variant-0tmgye68.js} +9 -9
  17. package/dist/chunks/{schema-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  18. package/dist/chunks/variant-0x80k0hx.js +26 -0
  19. package/dist/chunks/{schema-rqkmn7me.js → variant-0y3k4c6h.js} +14 -14
  20. package/dist/chunks/{schema-3gasgs0k.js → variant-172eh8jk.js} +5 -5
  21. package/dist/chunks/{schema-yr2aghkb.js → variant-17hwac7t.js} +5 -5
  22. package/dist/chunks/{schema-kwr2em0p.js → variant-1jz3qj6p.js} +22 -22
  23. package/dist/chunks/{schema-7pest08f.js → variant-1v4wbcc5.js} +8 -8
  24. package/dist/chunks/{schema-hq3c8me3.js → variant-1w2wqhfv.js} +4 -4
  25. package/dist/chunks/{schema-pv4s4nxr.js → variant-1wj6nfaq.js} +15 -15
  26. package/dist/chunks/{schema-4d3127hb.js → variant-25nwtkd9.js} +19 -19
  27. package/dist/chunks/{schema-qt44r66w.js → variant-2gmpce6q.js} +3 -3
  28. package/dist/chunks/{schema-h6cpwytq.js → variant-2qj989z5.js} +52 -52
  29. package/dist/chunks/{schema-txyw6bh0.js → variant-2s32b1pm.js} +2 -2
  30. package/dist/chunks/{schema-q6chj63a.js → variant-2w37rd65.js} +30 -30
  31. package/dist/chunks/{schema-gjgye92n.js → variant-32gamwqc.js} +15 -15
  32. package/dist/chunks/{schema-fyzv33qs.js → variant-35gn8txb.js} +45 -45
  33. package/dist/chunks/{schema-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{schema-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{schema-s15d9z4p.js → variant-3j5xnwvt.js} +27 -27
  36. package/dist/chunks/{schema-ycc3121e.js → variant-3sa7tm9a.js} +4 -4
  37. package/dist/chunks/{schema-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{schema-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{schema-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{schema-zqr7hr21.js → variant-41t4yrkv.js} +9 -9
  41. package/dist/chunks/{schema-ghrfrbg4.js → variant-44ksx02e.js} +4 -4
  42. package/dist/chunks/{schema-1bs8104e.js → variant-4fse96mq.js} +8 -8
  43. package/dist/chunks/{schema-gwaz9r47.js → variant-4mwbxkt4.js} +4 -4
  44. package/dist/chunks/{schema-rkpm4y6y.js → variant-4q6tth2h.js} +11 -11
  45. package/dist/chunks/{schema-xqj10vmz.js → variant-4shp5hvj.js} +9 -9
  46. package/dist/chunks/{schema-4a32pvx7.js → variant-4z5bdeag.js} +1 -1
  47. package/dist/chunks/{schema-a7scjn5s.js → variant-50st65ms.js} +12 -12
  48. package/dist/chunks/{schema-e5cghe60.js → variant-534aq8ke.js} +1 -1
  49. package/dist/chunks/{schema-54ma36ye.js → variant-54ma36ye.js} +1 -1
  50. package/dist/chunks/{schema-e4771dax.js → variant-56cykqq2.js} +16 -16
  51. package/dist/chunks/{schema-2yjh3x6q.js → variant-59ec13pf.js} +11 -11
  52. package/dist/chunks/{schema-6w7d1qme.js → variant-5awj5jwe.js} +11 -11
  53. package/dist/chunks/{schema-dzyrc88t.js → variant-5ffmfybm.js} +6 -6
  54. package/dist/chunks/{schema-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{schema-75ytgrqn.js → variant-5qtxbxmk.js} +21 -21
  56. package/dist/chunks/{schema-r2z489rp.js → variant-5rzwp8tz.js} +3 -3
  57. package/dist/chunks/{schema-2znnk454.js → variant-675j5d4j.js} +11 -11
  58. package/dist/chunks/{schema-6827pfxn.js → variant-6827pfxn.js} +1 -1
  59. package/dist/chunks/{schema-hq279geq.js → variant-6d84m8eq.js} +23 -23
  60. package/dist/chunks/{schema-rt2zj1s0.js → variant-6pcx6jwm.js} +23 -23
  61. package/dist/chunks/{schema-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{schema-ek59gnbm.js → variant-6xfqa995.js} +69 -69
  63. package/dist/chunks/{schema-bzwj8dcr.js → variant-6yet44e5.js} +24 -24
  64. package/dist/chunks/{schema-1knv165j.js → variant-7174g72w.js} +26 -26
  65. package/dist/chunks/{schema-nf3p155y.js → variant-71mr81s1.js} +5 -5
  66. package/dist/chunks/{schema-4j4wwavy.js → variant-74mxst5h.js} +14 -14
  67. package/dist/chunks/{schema-775gj3j1.js → variant-775gj3j1.js} +2 -2
  68. package/dist/chunks/{schema-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{schema-7dqw4kz8.js → variant-7dqw4kz8.js} +1 -1
  70. package/dist/chunks/{schema-rw5jw54j.js → variant-7hgt1n33.js} +8 -8
  71. package/dist/chunks/{schema-fvgp290g.js → variant-7jdm1vab.js} +3 -3
  72. package/dist/chunks/{schema-3cn8netw.js → variant-7nx1mzpm.js} +21 -21
  73. package/dist/chunks/{schema-8ngzfdb0.js → variant-7rwcep1p.js} +13 -13
  74. package/dist/chunks/{schema-ccz6qt78.js → variant-7vfwfg0s.js} +11 -11
  75. package/dist/chunks/{schema-1xy3bbfj.js → variant-7w5g5nar.js} +324 -324
  76. package/dist/chunks/{schema-mccws065.js → variant-7x0ybmme.js} +2 -2
  77. package/dist/chunks/{schema-ma48de29.js → variant-7xyrrtj6.js} +5 -5
  78. package/dist/chunks/{schema-nqcscwec.js → variant-7zj2yvh0.js} +13 -13
  79. package/dist/chunks/{schema-84txncab.js → variant-84txncab.js} +1 -1
  80. package/dist/chunks/{schema-4459cj4r.js → variant-88ttrsfd.js} +8 -8
  81. package/dist/chunks/{schema-qx53j35n.js → variant-8ab3w9a1.js} +21 -21
  82. package/dist/chunks/{schema-6kp05j0h.js → variant-8aftd3yf.js} +18 -18
  83. package/dist/chunks/{schema-6xkcg1y6.js → variant-8apawthn.js} +21 -21
  84. package/dist/chunks/{schema-ttacmzh5.js → variant-8cqn97gn.js} +12 -12
  85. package/dist/chunks/{schema-yx0rmv9r.js → variant-8e1b1gzh.js} +6 -6
  86. package/dist/chunks/{schema-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{schema-8mywswrd.js → variant-8mywswrd.js} +1 -1
  88. package/dist/chunks/{schema-dk1ym1bf.js → variant-8r64qjsw.js} +23 -23
  89. package/dist/chunks/{schema-w4q7m0eq.js → variant-90prmkr9.js} +16 -16
  90. package/dist/chunks/variant-928hdk85.js +257 -0
  91. package/dist/chunks/{schema-xekvc3d8.js → variant-95wgg282.js} +15 -15
  92. package/dist/chunks/{schema-ejvnp2ks.js → variant-9e5gtvfc.js} +11 -11
  93. package/dist/chunks/{schema-xgmhetns.js → variant-9hvha7ke.js} +12 -12
  94. package/dist/chunks/{schema-p1p7f544.js → variant-9q9t7af4.js} +24 -24
  95. package/dist/chunks/{schema-84kr3hab.js → variant-9r4dpyf8.js} +8 -8
  96. package/dist/chunks/{schema-zdtbn3v6.js → variant-9scmkrsd.js} +14 -14
  97. package/dist/chunks/{schema-42kfqa6a.js → variant-9x9ct1g1.js} +32 -32
  98. package/dist/chunks/{schema-a20pjse5.js → variant-a20pjse5.js} +3 -3
  99. package/dist/chunks/{schema-gjkbr6zc.js → variant-af0tgjwm.js} +15 -15
  100. package/dist/chunks/{schema-5gydnkt7.js → variant-amdqtsez.js} +16 -16
  101. package/dist/chunks/{schema-mxvxcxwy.js → variant-azwe5p1w.js} +4 -4
  102. package/dist/chunks/{schema-v5dkyp31.js → variant-b27vhd2z.js} +4 -4
  103. package/dist/chunks/{schema-rtka9wvf.js → variant-b55ayt6p.js} +20 -20
  104. package/dist/chunks/{schema-fw9jjgyr.js → variant-bjq1rgcd.js} +22 -22
  105. package/dist/chunks/{schema-v20v5pjv.js → variant-bnpb9r0r.js} +30 -30
  106. package/dist/chunks/{schema-p37cw4rj.js → variant-br0tr5aq.js} +8 -8
  107. package/dist/chunks/{schema-vh1fw6yt.js → variant-brmnc5rc.js} +25 -25
  108. package/dist/chunks/{schema-c8bydgjz.js → variant-bw9zjykr.js} +6 -6
  109. package/dist/chunks/{schema-bzeyqsqd.js → variant-bzeyqsqd.js} +1 -1
  110. package/dist/chunks/{schema-0vfyfqrd.js → variant-c17c7gem.js} +6 -6
  111. package/dist/chunks/{schema-rj3eygr5.js → variant-c41wscbt.js} +2 -2
  112. package/dist/chunks/{schema-g4wty43c.js → variant-c60jy55t.js} +5 -5
  113. package/dist/chunks/{schema-remtvbha.js → variant-c6j5vg12.js} +3 -3
  114. package/dist/chunks/{schema-6fkw3p3r.js → variant-c7av8b5x.js} +4 -4
  115. package/dist/chunks/{schema-sa8ekw3f.js → variant-c8ax2afj.js} +2 -2
  116. package/dist/chunks/{schema-q9cqhrsb.js → variant-cd12tkte.js} +2 -2
  117. package/dist/chunks/{schema-kp7tszm4.js → variant-ck1687dj.js} +18 -18
  118. package/dist/chunks/{schema-hp36aydz.js → variant-cz4fyjvq.js} +21 -21
  119. package/dist/chunks/{schema-csndn1v6.js → variant-d1sqbt18.js} +15 -15
  120. package/dist/chunks/{schema-ydbf29gx.js → variant-d25qmaxv.js} +42 -42
  121. package/dist/chunks/{schema-g754c8fk.js → variant-d29451tq.js} +4 -4
  122. package/dist/chunks/{schema-vz2w9rtp.js → variant-dedzrhdb.js} +23 -23
  123. package/dist/chunks/{schema-2sejkfem.js → variant-djszqvmq.js} +9 -9
  124. package/dist/chunks/{schema-bnn3p74r.js → variant-dk2cs9kn.js} +4 -4
  125. package/dist/chunks/{schema-vwssb2rn.js → variant-dnjvpwy6.js} +4 -4
  126. package/dist/chunks/{schema-tt8gc4fv.js → variant-dq407baf.js} +6 -6
  127. package/dist/chunks/{schema-drwq78ky.js → variant-drwq78ky.js} +1 -1
  128. package/dist/chunks/{schema-9hhtrjbb.js → variant-dtj6q9re.js} +12 -12
  129. package/dist/chunks/{schema-wcp8qb9k.js → variant-dxm36xet.js} +14 -14
  130. package/dist/chunks/{schema-2ae0q92z.js → variant-dys7k0s0.js} +8 -8
  131. package/dist/chunks/{schema-d5t26v95.js → variant-e0har6f2.js} +27 -27
  132. package/dist/chunks/{schema-gp3kkx05.js → variant-e10gzyda.js} +26 -26
  133. package/dist/chunks/{schema-t550f9t1.js → variant-eaj1djv9.js} +8 -8
  134. package/dist/chunks/{schema-92zywa0s.js → variant-eayadx44.js} +20 -20
  135. package/dist/chunks/{schema-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{schema-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{schema-y89gydzy.js → variant-ejj11w5x.js} +11 -11
  138. package/dist/chunks/{schema-pwjp0qa3.js → variant-ervcbcv7.js} +30 -30
  139. package/dist/chunks/{schema-c1fqxshp.js → variant-es1vcfrp.js} +3 -3
  140. package/dist/chunks/{schema-yr7e010d.js → variant-es5a2c48.js} +10 -10
  141. package/dist/chunks/{schema-44ak30pa.js → variant-espax8zg.js} +4 -4
  142. package/dist/chunks/{schema-rp73s9pz.js → variant-ez4msjhj.js} +12 -12
  143. package/dist/chunks/{schema-8m22mfav.js → variant-fbp02deq.js} +27 -27
  144. package/dist/chunks/{schema-fcy631f0.js → variant-fcy631f0.js} +1 -1
  145. package/dist/chunks/{schema-5mbpffke.js → variant-fkj43v1r.js} +8 -8
  146. package/dist/chunks/{schema-xtpd89cm.js → variant-g7z4v8j3.js} +11 -11
  147. package/dist/chunks/{schema-4176b2yk.js → variant-g8barhva.js} +30 -30
  148. package/dist/chunks/{schema-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{schema-js1t3555.js → variant-gfn1f735.js} +9 -9
  150. package/dist/chunks/{schema-3q4zrqsz.js → variant-ghtkshk3.js} +41 -41
  151. package/dist/chunks/{schema-qa1bwf9y.js → variant-gqm71yrs.js} +17 -17
  152. package/dist/chunks/{schema-cc9fn44q.js → variant-gxgayqbn.js} +9 -9
  153. package/dist/chunks/{schema-d75x1326.js → variant-gxv082ck.js} +24 -24
  154. package/dist/chunks/{schema-man2x1hw.js → variant-h0k6zcwv.js} +17 -17
  155. package/dist/chunks/{schema-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{schema-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{schema-1f1kaem6.js → variant-hhecb7g7.js} +14 -14
  158. package/dist/chunks/{schema-p4p2ts1j.js → variant-hpyx0024.js} +9 -9
  159. package/dist/chunks/{schema-d0vc93hk.js → variant-hqqehcc0.js} +25 -25
  160. package/dist/chunks/{schema-5zscwwge.js → variant-hz3jevdr.js} +3 -3
  161. package/dist/chunks/{schema-1323fv79.js → variant-j933j9sw.js} +4 -4
  162. package/dist/chunks/{schema-4bgsdwgm.js → variant-jp8717cv.js} +28 -28
  163. package/dist/chunks/{schema-exevrqmg.js → variant-k8x2fpjf.js} +19 -19
  164. package/dist/chunks/{schema-0dzgkxam.js → variant-kbx7rh90.js} +30 -30
  165. package/dist/chunks/{schema-st4zt39s.js → variant-kct03rgr.js} +19 -19
  166. package/dist/chunks/{schema-pcb8yjd0.js → variant-kf0h36at.js} +7 -7
  167. package/dist/chunks/{schema-rz6yywgf.js → variant-khthv2ze.js} +30 -30
  168. package/dist/chunks/{schema-4xpgt2w9.js → variant-kjdm35cs.js} +5 -5
  169. package/dist/chunks/{schema-66fgvbn3.js → variant-knhekyq4.js} +13 -13
  170. package/dist/chunks/{schema-r4mzk1xx.js → variant-kqp9qa1j.js} +3 -3
  171. package/dist/chunks/{schema-kwb1v3vj.js → variant-kwb1v3vj.js} +1 -1
  172. package/dist/chunks/{schema-s1y79ssk.js → variant-ky9wwhcp.js} +18 -18
  173. package/dist/chunks/{schema-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{schema-4c7g6ymp.js → variant-m9xnn9r5.js} +30 -30
  175. package/dist/chunks/{schema-maspj1v3.js → variant-maspj1v3.js} +1 -1
  176. package/dist/chunks/{schema-wg91gmf4.js → variant-mb19mnqb.js} +34 -34
  177. package/dist/chunks/{schema-mvg2napp.js → variant-mc8agtnj.js} +11 -11
  178. package/dist/chunks/{schema-5t1axb3v.js → variant-myjtek88.js} +13 -13
  179. package/dist/chunks/{schema-tsftnbvm.js → variant-n3bbh3xq.js} +8 -8
  180. package/dist/chunks/{schema-nysxgq6d.js → variant-n78k5cgb.js} +11 -11
  181. package/dist/chunks/{schema-yw7v3j12.js → variant-nh571ch7.js} +24 -24
  182. package/dist/chunks/{schema-7erbtyx3.js → variant-nhpkjp8j.js} +11 -11
  183. package/dist/chunks/{schema-74mhpw3w.js → variant-nhzw2ksa.js} +19 -19
  184. package/dist/chunks/{schema-hz7aezfr.js → variant-nr5642w5.js} +25 -25
  185. package/dist/chunks/{schema-825jjjdc.js → variant-nrh2wv08.js} +26 -26
  186. package/dist/chunks/{schema-a110k9h9.js → variant-nttemcq1.js} +25 -25
  187. package/dist/chunks/{schema-v13b12ef.js → variant-nz56sr1f.js} +5 -5
  188. package/dist/chunks/{schema-6pxm0met.js → variant-p092c7br.js} +41 -41
  189. package/dist/chunks/{schema-30846h32.js → variant-pedttwxr.js} +8 -8
  190. package/dist/chunks/variant-pf31ssb9.js +18 -0
  191. package/dist/chunks/{schema-scvzwabm.js → variant-pfxa3h33.js} +11 -11
  192. package/dist/chunks/{schema-9zj7wbnh.js → variant-pg3754bv.js} +42 -42
  193. package/dist/chunks/{schema-bacj9t34.js → variant-phz50fbd.js} +9 -9
  194. package/dist/chunks/{schema-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{schema-pknna89w.js → variant-pknna89w.js} +1 -1
  196. package/dist/chunks/{schema-5j21s5mr.js → variant-pm8ty30j.js} +26 -26
  197. package/dist/chunks/{schema-phse5vhf.js → variant-q15tn0mf.js} +24 -24
  198. package/dist/chunks/{schema-d858xzj7.js → variant-qbqbaz6q.js} +4 -4
  199. package/dist/chunks/{schema-ezc52dw2.js → variant-qbqerjg9.js} +5 -5
  200. package/dist/chunks/{schema-phq9g6aj.js → variant-qmfsk48t.js} +16 -16
  201. package/dist/chunks/{schema-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{schema-47jkzegy.js → variant-qne3fa44.js} +5 -5
  203. package/dist/chunks/{schema-j05q090x.js → variant-qryqqwhy.js} +20 -20
  204. package/dist/chunks/{schema-qsdy395h.js → variant-qsdy395h.js} +1 -1
  205. package/dist/chunks/{schema-jxda656q.js → variant-qtk9pe34.js} +13 -13
  206. package/dist/chunks/{schema-ec5r24jz.js → variant-qv0sc65t.js} +6 -6
  207. package/dist/chunks/{schema-kcfh4jp8.js → variant-qy259e2y.js} +14 -14
  208. package/dist/chunks/{schema-7vx8fxzm.js → variant-qy6ss6as.js} +82 -82
  209. package/dist/chunks/{schema-f4g83bm7.js → variant-r10nvqfv.js} +11 -11
  210. package/dist/chunks/{schema-mcxxahwh.js → variant-r13wq28n.js} +43 -43
  211. package/dist/chunks/{schema-ke8th4a0.js → variant-r70qfazn.js} +16 -16
  212. package/dist/chunks/{schema-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{schema-brgccpge.js → variant-rg7a60r1.js} +25 -25
  214. package/dist/chunks/{schema-hcgx9r92.js → variant-rga01nkp.js} +12 -12
  215. package/dist/chunks/{schema-6pc27hjz.js → variant-rkprpv83.js} +6 -6
  216. package/dist/chunks/{schema-htvezcsh.js → variant-rkvys86f.js} +3 -3
  217. package/dist/chunks/{schema-87n3rrnw.js → variant-rn69d7hp.js} +34 -34
  218. package/dist/chunks/{schema-w1ej9fkt.js → variant-rnt9ng2n.js} +5 -5
  219. package/dist/chunks/{schema-8td2p5q2.js → variant-rt4gesys.js} +31 -31
  220. package/dist/chunks/{schema-z9c610pw.js → variant-rvw0c6fm.js} +13 -13
  221. package/dist/chunks/{schema-zzmpqpc3.js → variant-rz1bd73a.js} +10 -10
  222. package/dist/chunks/{schema-36gdk6sm.js → variant-s1rzhg3g.js} +15 -15
  223. package/dist/chunks/{schema-rhrxssrh.js → variant-s761s72c.js} +7 -7
  224. package/dist/chunks/{schema-at94sxth.js → variant-say7vrea.js} +9 -9
  225. package/dist/chunks/{schema-2bep3sk1.js → variant-sm0dhwyq.js} +4 -4
  226. package/dist/chunks/{schema-4j8ys442.js → variant-smq3am02.js} +81 -81
  227. package/dist/chunks/{schema-48kw51zw.js → variant-ss358qx3.js} +3 -3
  228. package/dist/chunks/{schema-syv4x271.js → variant-syv4x271.js} +1 -1
  229. package/dist/chunks/{schema-qhfwh6dg.js → variant-szkrnbvf.js} +25 -25
  230. package/dist/chunks/{schema-ahdc3t4z.js → variant-t147m43n.js} +10 -10
  231. package/dist/chunks/{schema-9n0pq0p1.js → variant-t5azbf2h.js} +8 -8
  232. package/dist/chunks/{schema-j9w080ad.js → variant-t9tm1b69.js} +2 -2
  233. package/dist/chunks/{schema-bbcbabsp.js → variant-t9tzyksx.js} +21 -21
  234. package/dist/chunks/{schema-d8j0mxkc.js → variant-tatecjgj.js} +7 -7
  235. package/dist/chunks/{schema-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{schema-3f75xvkg.js → variant-tc84sxpf.js} +23 -23
  237. package/dist/chunks/{schema-89znhe33.js → variant-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{schema-tdstcens.js → variant-tdstcens.js} +1 -1
  239. package/dist/chunks/{schema-rert0e01.js → variant-tkb22qbm.js} +2 -2
  240. package/dist/chunks/{schema-bygmh04z.js → variant-tkjmt9nc.js} +14 -14
  241. package/dist/chunks/{schema-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{schema-1ffg5m5z.js → variant-tw3hkfj3.js} +43 -43
  243. package/dist/chunks/{schema-tyytaxap.js → variant-tyytaxap.js} +1 -1
  244. package/dist/chunks/{schema-v210v162.js → variant-v210v162.js} +2 -2
  245. package/dist/chunks/{schema-vag86jwj.js → variant-v2hyeyf7.js} +6 -6
  246. package/dist/chunks/{schema-j73na0aw.js → variant-v3854d8f.js} +21 -21
  247. package/dist/chunks/{schema-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{schema-jm1wa9nf.js → variant-vdx8s558.js} +20 -20
  249. package/dist/chunks/{schema-hhyv66vq.js → variant-ve88pny4.js} +8 -8
  250. package/dist/chunks/{schema-veqvce7d.js → variant-veqvce7d.js} +1 -1
  251. package/dist/chunks/{schema-rvbf7bre.js → variant-vgr8962y.js} +15 -15
  252. package/dist/chunks/{schema-dhsdmd8f.js → variant-vj32cyzd.js} +37 -37
  253. package/dist/chunks/{schema-wp1sg2es.js → variant-vm6z49tp.js} +4 -4
  254. package/dist/chunks/{schema-h9r6r1hy.js → variant-vnvzhrpj.js} +26 -26
  255. package/dist/chunks/{schema-1skh4z6z.js → variant-vpge477k.js} +24 -24
  256. package/dist/chunks/{schema-hwq6p19n.js → variant-vrr7tc8c.js} +4 -4
  257. package/dist/chunks/{schema-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{schema-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{schema-81f7vt2z.js → variant-waskdk5r.js} +4 -4
  260. package/dist/chunks/{schema-1rmqtx3n.js → variant-wb7w7em4.js} +14 -14
  261. package/dist/chunks/{schema-cefkz2r6.js → variant-wcnw1vw1.js} +4 -4
  262. package/dist/chunks/{schema-wd87259q.js → variant-wd87259q.js} +1 -1
  263. package/dist/chunks/{schema-fdms3n6w.js → variant-wjqb2vp5.js} +9 -9
  264. package/dist/chunks/{schema-n4s909p2.js → variant-wpz9kdb9.js} +43 -43
  265. package/dist/chunks/{schema-gwj3kssr.js → variant-wqhaj406.js} +48 -48
  266. package/dist/chunks/{schema-v4b1xa27.js → variant-wrdz6b4b.js} +11 -11
  267. package/dist/chunks/{schema-arypdymn.js → variant-xamas9nz.js} +26 -26
  268. package/dist/chunks/{schema-4teq5az6.js → variant-xf2pv73g.js} +40 -40
  269. package/dist/chunks/{schema-6fyhx42r.js → variant-xjfe4nsj.js} +23 -23
  270. package/dist/chunks/{schema-j6ktnsbj.js → variant-xywjvjxx.js} +5 -5
  271. package/dist/chunks/{schema-rk5y8ke4.js → variant-y178fjw7.js} +15 -15
  272. package/dist/chunks/{schema-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{schema-y71avatq.js → variant-y71avatq.js} +1 -1
  274. package/dist/chunks/{schema-n46s7c5f.js → variant-ycbx61rz.js} +5 -5
  275. package/dist/chunks/{schema-bjx1sjef.js → variant-ywt8jp22.js} +9 -9
  276. package/dist/chunks/{schema-hh0a7fvf.js → variant-z0910jfv.js} +173 -173
  277. package/dist/chunks/{schema-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{schema-5g57z1ma.js → variant-z0ydvj27.js} +4 -4
  279. package/dist/chunks/{schema-fzz4ftgm.js → variant-z1593v92.js} +12 -12
  280. package/dist/chunks/{schema-z18fegx4.js → variant-z18fegx4.js} +1 -1
  281. package/dist/chunks/{schema-33srfa0b.js → variant-z2a96fzh.js} +8 -8
  282. package/dist/chunks/{schema-embw8kgh.js → variant-zee1rnkq.js} +4 -4
  283. package/dist/chunks/{schema-9nexcd99.js → variant-zhzgznba.js} +3 -3
  284. package/dist/chunks/{schema-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{schema-nwwgs0kh.js → variant-zxjbgbap.js} +10 -10
  286. package/dist/chunks/{schema-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +367 -367
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +87 -87
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +73 -73
  464. package/dist/location-activity.js +154 -154
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +86 -86
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +103 -103
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +115 -115
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +217 -217
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +208 -208
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/schema-ebe1aw40.js +0 -257
  692. package/dist/chunks/schema-hktg20kd.js +0 -26
  693. package/dist/chunks/schema-vnkjks7b.js +0 -18
  694. /package/dist/chunks/{schema-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{schema-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{schema-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{schema-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{schema-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{schema-24dcb14g.js → variant-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{schema-2710q6r3.js → variant-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{schema-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{schema-2bv980vf.js → variant-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{schema-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{schema-359p4xyc.js → variant-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{schema-3asan66x.js → variant-3asan66x.js} +0 -0
  706. /package/dist/chunks/{schema-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{schema-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{schema-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{schema-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{schema-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{schema-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{schema-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{schema-53557ph1.js → variant-53557ph1.js} +0 -0
  714. /package/dist/chunks/{schema-550bvhaj.js → variant-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{schema-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{schema-6prwharc.js → variant-6prwharc.js} +0 -0
  717. /package/dist/chunks/{schema-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{schema-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{schema-7m9af43g.js → variant-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{schema-822emrt2.js → variant-822emrt2.js} +0 -0
  721. /package/dist/chunks/{schema-84wd9syh.js → variant-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{schema-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{schema-8n3pysct.js → variant-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{schema-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{schema-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{schema-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{schema-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{schema-af5trqkr.js → variant-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{schema-afrmfg78.js → variant-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{schema-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{schema-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{schema-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{schema-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{schema-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{schema-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{schema-d9fn303g.js → variant-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{schema-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{schema-dajrwvna.js → variant-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{schema-dap0rakb.js → variant-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{schema-df08tz66.js → variant-df08tz66.js} +0 -0
  741. /package/dist/chunks/{schema-dy18nga0.js → variant-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{schema-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{schema-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{schema-ec1grn59.js → variant-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{schema-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{schema-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{schema-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{schema-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{schema-faypxj3z.js → variant-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{schema-fd410y7t.js → variant-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{schema-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{schema-g86h250q.js → variant-g86h250q.js} +0 -0
  753. /package/dist/chunks/{schema-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{schema-gftt206x.js → variant-gftt206x.js} +0 -0
  755. /package/dist/chunks/{schema-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{schema-hk9envan.js → variant-hk9envan.js} +0 -0
  757. /package/dist/chunks/{schema-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{schema-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{schema-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{schema-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{schema-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{schema-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{schema-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{schema-m18g726c.js → variant-m18g726c.js} +0 -0
  765. /package/dist/chunks/{schema-mp448xyj.js → variant-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{schema-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{schema-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{schema-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{schema-njntx4h6.js → variant-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{schema-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{schema-pyv0edze.js → variant-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{schema-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{schema-q74kybfr.js → variant-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{schema-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{schema-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{schema-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{schema-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{schema-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{schema-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{schema-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{schema-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{schema-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{schema-w803qqfp.js → variant-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{schema-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{schema-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{schema-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{schema-wtztk69x.js → variant-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{schema-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{schema-x61499pn.js → variant-x61499pn.js} +0 -0
  790. /package/dist/chunks/{schema-y44na4kk.js → variant-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{schema-y8f7s663.js → variant-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{schema-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{schema-ym463w8f.js → variant-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{schema-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{schema-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./schema-vwssb2rn.js";
4
+ } from "./variant-dnjvpwy6.js";
5
5
  import {
6
6
  Service74,
7
- node77
8
- } from "./schema-rt2zj1s0.js";
7
+ node78
8
+ } from "./variant-6pcx6jwm.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./schema-4459cj4r.js";
12
+ } from "./variant-88ttrsfd.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service82,
16
16
  node86
17
- } from "./schema-j9w080ad.js";
17
+ } from "./variant-t9tm1b69.js";
18
18
  import {
19
19
  canonical3
20
- } from "./schema-7pest08f.js";
20
+ } from "./variant-1v4wbcc5.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./schema-ec1grn59.js";
23
+ } from "./variant-ec1grn59.js";
24
24
  import {
25
- Service64,
26
- node67
27
- } from "./schema-h6cpwytq.js";
25
+ Service77,
26
+ node81
27
+ } from "./variant-2qj989z5.js";
28
28
  import {
29
- Service63,
30
- node66
31
- } from "./schema-2yjh3x6q.js";
29
+ Service45,
30
+ node49
31
+ } from "./variant-59ec13pf.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./variant-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service62,
41
- node: () => node65
40
+ Service: () => Service44,
41
+ node: () => node48
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service62 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service44 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service62, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
51
51
  const bus = yield* Service85;
52
52
  const location = yield* Service82;
53
- const permission = yield* Service64;
53
+ const permission = yield* Service77;
54
54
  const forms = yield* Service74;
55
- const rpc = yield* Service63;
55
+ const rpc = yield* Service45;
56
56
  const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service62.of({
83
+ return Service44.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node65 = makeLocationNode({
89
- service: Service62,
88
+ var node48 = makeLocationNode({
89
+ service: Service44,
90
90
  layer,
91
- deps: [node89, node86, node67, node87, node77, node66]
91
+ deps: [node89, node86, node81, node87, node78, node49]
92
92
  });
93
93
 
94
- export { Service62, node65, exports_location_lifecycle };
94
+ export { Service44, node48, exports_location_lifecycle };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID10,
3
- Service69
4
- } from "./schema-qx53j35n.js";
2
+ ID15,
3
+ Service80
4
+ } from "./variant-8ab3w9a1.js";
5
5
  import {
6
6
  Service82
7
- } from "./schema-j9w080ad.js";
7
+ } from "./variant-t9tm1b69.js";
8
8
  import {
9
- Service57
10
- } from "./schema-n4s909p2.js";
9
+ Service68
10
+ } from "./variant-wpz9kdb9.js";
11
11
  import {
12
- Service41,
12
+ Service57,
13
13
  args2
14
- } from "./schema-exevrqmg.js";
14
+ } from "./variant-k8x2fpjf.js";
15
15
  import {
16
- Service20
17
- } from "./schema-4j8ys442.js";
16
+ Service15
17
+ } from "./variant-smq3am02.js";
18
18
  import {
19
- Service9
20
- } from "./schema-4d3127hb.js";
19
+ Service8
20
+ } from "./variant-25nwtkd9.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./schema-8m6m0r52.js";
23
+ } from "./variant-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./variant-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin40
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin29
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin40 = define({
44
+ var Plugin29 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service57;
47
+ const config = yield* Service68;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,10 +56,10 @@ var Plugin40 = define({
56
56
  });
57
57
  const location = yield* Service82;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service41;
60
- const sessions = yield* Service20;
61
- const agents = yield* Service69;
62
- const subagents = yield* Service9;
59
+ const shell = yield* Service57;
60
+ const sessions = yield* Service15;
61
+ const agents = yield* Service80;
62
+ const subagents = yield* Service8;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin40 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin40, exports_command2 };
207
+ export { Plugin29, exports_command };
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./schema-vwssb2rn.js";
5
+ } from "./variant-dnjvpwy6.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make19,
10
+ make21,
11
11
  diffByKey2
12
- } from "./schema-t550f9t1.js";
12
+ } from "./variant-eaj1djv9.js";
13
13
  import {
14
14
  create3
15
- } from "./schema-rdw6cm16.js";
15
+ } from "./variant-rdw6cm16.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./variant-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event10,
23
+ Event: () => Event3,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options6,
27
- Service: () => Service55,
28
- configured: () => configured6,
29
- layer: () => layer22,
30
- node: () => node57
26
+ Options: () => Options3,
27
+ Service: () => Service28,
28
+ configured: () => configured3,
29
+ layer: () => layer14,
30
+ node: () => node31
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -38,18 +38,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
38
38
  }) {
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
- var key = Key3.make("core/instructions");
42
- var Event10 = {
41
+ var key = Key4.make("core/instructions");
42
+ var Event3 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options6 = Schema.Struct({
45
+ var Options3 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service55 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service28 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
52
+ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service55.of({
90
+ return Service28.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured6(options) {
104
+ function configured3(options) {
105
105
  return makeLocationNode({
106
- service: Service55,
107
- layer: layer22(options),
106
+ service: Service28,
107
+ layer: layer14(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node57 = configured6();
111
+ var node31 = configured3();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event10, Options6, Service55, layer22, configured6, node57, exports_instruction_discovery };
142
+ export { File2, Event3, Options3, Service28, layer14, configured3, node31, exports_instruction_discovery };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./schema-gftt206x.js";
3
+ } from "./variant-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update3(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update3, exports_message_updater };
405
+ export { update2, exports_message_updater };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-xtpd89cm.js";
3
+ } from "./variant-g7z4v8j3.js";
4
4
  import {
5
5
  Service85
6
- } from "./schema-vwssb2rn.js";
6
+ } from "./variant-dnjvpwy6.js";
7
7
  import {
8
- ID13,
9
- Event18,
8
+ ID11,
9
+ Event16,
10
10
  Service73
11
- } from "./schema-gp3kkx05.js";
11
+ } from "./variant-e10gzyda.js";
12
12
  import {
13
13
  key2
14
- } from "./schema-mxvxcxwy.js";
14
+ } from "./variant-azwe5p1w.js";
15
15
  import {
16
- ID12,
16
+ ID10,
17
17
  MethodID2
18
- } from "./schema-hq279geq.js";
18
+ } from "./variant-6d84m8eq.js";
19
19
  import {
20
20
  which2
21
- } from "./schema-qaymkmh1.js";
21
+ } from "./variant-qaymkmh1.js";
22
22
  import {
23
- ID11,
23
+ ID9,
24
24
  Service71
25
- } from "./schema-dk1ym1bf.js";
25
+ } from "./variant-8r64qjsw.js";
26
26
  import {
27
- ID7
28
- } from "./schema-1skh4z6z.js";
27
+ ID8
28
+ } from "./variant-vpge477k.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./schema-g754c8fk.js";
31
+ } from "./variant-d29451tq.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,14 +63,14 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make5(endpoints = {
66
+ function make7(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID11.azure);
73
+ const configured = yield* configuredSettings2(ID9.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
76
  const credentials = yield* Service73;
@@ -100,11 +100,11 @@ function make5(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID11.azure,
103
+ integrationID: ID9.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID11.azure,
107
+ integrationID: ID9.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make5(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID11.azure,
125
+ integrationID: ID9.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make5(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID11.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make5(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID11.azure))?.settings;
185
+ const settings = (yield* providers.get(ID9.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make5(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make5(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make5(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID11.azure);
243
+ const item = evt.get(ID9.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make5(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make5(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID11.azure);
266
+ const catalog = models.list(ID9.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID11.azure, model.id);
270
+ models.remove(ID9.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID11.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make5(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID11.azure)
291
+ if (evt.model.providerID !== ID9.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make5(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID11.azure });
300
+ }), { providerID: ID9.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID11.azure)
302
+ if (evt.model.providerID !== ID9.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make5(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID11.azure });
311
+ }), { providerID: ID9.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make5();
315
+ var AzurePlugin2 = make7();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID7.make(deployment.name.toLowerCase());
345
+ const id = ID8.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID7.make(deployment.name),
349
+ modelID: ID8.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make5, AzurePlugin2 };
371
+ export { make7, AzurePlugin2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service67,
10
- node: () => node70
9
+ Service: () => Service81,
10
+ node: () => node85
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service67 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service81 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service67, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service67.of({ has, register, trigger });
57
+ return Service81.of({ has, register, trigger });
58
58
  }));
59
- var node70 = makeLocationNode({ service: Service67, layer, deps: [] });
59
+ var node85 = makeLocationNode({ service: Service81, layer, deps: [] });
60
60
 
61
- export { Service67, node70, exports_hooks };
61
+ export { Service81, node85, exports_hooks };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./variant-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service26,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service26 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service26, awaitActivation2, exports_service };