@opencode/core 0.0.0-dev-21382 → 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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  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/{file-mutation-ke9g58qf.js → variant-01133bs8.js} +13 -13
  8. package/dist/chunks/{file-mutation-av3f13xe.js → variant-039htanw.js} +11 -11
  9. package/dist/chunks/{file-mutation-hebc8qwk.js → variant-06m78d2n.js} +20 -20
  10. package/dist/chunks/{file-mutation-gc69w8x5.js → variant-07s4g8t9.js} +50 -50
  11. package/dist/chunks/{file-mutation-eh6ej367.js → variant-0cg871e2.js} +5 -5
  12. package/dist/chunks/{file-mutation-3p8nb07v.js → variant-0g42q639.js} +5 -5
  13. package/dist/chunks/{file-mutation-xmb5688y.js → variant-0kpfwrjz.js} +31 -31
  14. package/dist/chunks/{file-mutation-d7q21r69.js → variant-0nxkqgg0.js} +9 -9
  15. package/dist/chunks/{file-mutation-8aaqm6qj.js → variant-0r684n0p.js} +8 -8
  16. package/dist/chunks/{file-mutation-5e1pzs32.js → variant-0tmgye68.js} +9 -9
  17. package/dist/chunks/{file-mutation-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  18. package/dist/chunks/variant-0x80k0hx.js +26 -0
  19. package/dist/chunks/{file-mutation-bz5hym84.js → variant-0y3k4c6h.js} +21 -21
  20. package/dist/chunks/{file-mutation-a9km70y1.js → variant-172eh8jk.js} +5 -5
  21. package/dist/chunks/{file-mutation-8m71mjfm.js → variant-17hwac7t.js} +5 -5
  22. package/dist/chunks/{file-mutation-bwpes1j3.js → variant-1jz3qj6p.js} +24 -24
  23. package/dist/chunks/{file-mutation-56byzq03.js → variant-1v4wbcc5.js} +9 -9
  24. package/dist/chunks/{file-mutation-khmqacep.js → variant-1w2wqhfv.js} +4 -4
  25. package/dist/chunks/{file-mutation-bvefa49m.js → variant-1wj6nfaq.js} +18 -18
  26. package/dist/chunks/{file-mutation-r5z9qnpm.js → variant-25nwtkd9.js} +19 -19
  27. package/dist/chunks/{file-mutation-anhf8h1n.js → variant-2gmpce6q.js} +3 -3
  28. package/dist/chunks/{file-mutation-hh1mvxn6.js → variant-2qj989z5.js} +57 -57
  29. package/dist/chunks/{file-mutation-ea6pkrn3.js → variant-2s32b1pm.js} +2 -2
  30. package/dist/chunks/{file-mutation-d9a4qpg5.js → variant-2w37rd65.js} +29 -29
  31. package/dist/chunks/{file-mutation-zz19y5js.js → variant-32gamwqc.js} +17 -17
  32. package/dist/chunks/{file-mutation-gkm6v4vd.js → variant-35gn8txb.js} +45 -45
  33. package/dist/chunks/{file-mutation-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{file-mutation-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{file-mutation-7q1btr1k.js → variant-3j5xnwvt.js} +25 -25
  36. package/dist/chunks/{file-mutation-k2r06wff.js → variant-3sa7tm9a.js} +4 -4
  37. package/dist/chunks/{file-mutation-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-mutation-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-mutation-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{file-mutation-v08krjdw.js → variant-41t4yrkv.js} +15 -15
  41. package/dist/chunks/{file-mutation-pkpp0jng.js → variant-44ksx02e.js} +4 -4
  42. package/dist/chunks/{file-mutation-4f5ezzxr.js → variant-4fse96mq.js} +8 -8
  43. package/dist/chunks/{file-mutation-ydjhy7jp.js → variant-4mwbxkt4.js} +4 -4
  44. package/dist/chunks/{file-mutation-59b3s74c.js → variant-4q6tth2h.js} +11 -11
  45. package/dist/chunks/{file-mutation-jspydjgs.js → variant-4shp5hvj.js} +9 -9
  46. package/dist/chunks/{file-mutation-083bb7kr.js → variant-4z5bdeag.js} +1 -1
  47. package/dist/chunks/{file-mutation-ws0ez784.js → variant-50st65ms.js} +16 -16
  48. package/dist/chunks/{file-mutation-rrb9pz5a.js → variant-534aq8ke.js} +1 -1
  49. package/dist/chunks/{file-mutation-54ma36ye.js → variant-54ma36ye.js} +1 -1
  50. package/dist/chunks/{file-mutation-2ccjc77m.js → variant-56cykqq2.js} +20 -20
  51. package/dist/chunks/{file-mutation-6k294dg0.js → variant-59ec13pf.js} +15 -15
  52. package/dist/chunks/{file-mutation-rp8hjwgz.js → variant-5awj5jwe.js} +11 -11
  53. package/dist/chunks/{file-mutation-gtndzxs8.js → variant-5ffmfybm.js} +6 -6
  54. package/dist/chunks/{file-mutation-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{file-mutation-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  56. package/dist/chunks/{file-mutation-td1fm6rg.js → variant-5qtxbxmk.js} +21 -21
  57. package/dist/chunks/{file-mutation-ed1g29hy.js → variant-5rzwp8tz.js} +3 -3
  58. package/dist/chunks/{file-mutation-xgrstn99.js → variant-675j5d4j.js} +11 -11
  59. package/dist/chunks/{file-mutation-6827pfxn.js → variant-6827pfxn.js} +1 -1
  60. package/dist/chunks/{file-mutation-ta0tc5c9.js → variant-6d84m8eq.js} +30 -30
  61. package/dist/chunks/{file-mutation-fcs05vrx.js → variant-6pcx6jwm.js} +25 -25
  62. package/dist/chunks/{file-mutation-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{file-mutation-9wqkfqmh.js → variant-6xfqa995.js} +61 -61
  64. package/dist/chunks/{file-mutation-8g01qe2v.js → variant-6yet44e5.js} +21 -21
  65. package/dist/chunks/{file-mutation-4xfddg59.js → variant-7174g72w.js} +23 -23
  66. package/dist/chunks/{file-mutation-dqj1zep9.js → variant-71mr81s1.js} +5 -5
  67. package/dist/chunks/{file-mutation-gnhr360k.js → variant-74mxst5h.js} +10 -10
  68. package/dist/chunks/{file-mutation-775gj3j1.js → variant-775gj3j1.js} +2 -2
  69. package/dist/chunks/{file-mutation-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{file-mutation-2k8khapm.js → variant-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/{file-mutation-94apha83.js → variant-7hgt1n33.js} +8 -8
  72. package/dist/chunks/{file-mutation-zh98cvta.js → variant-7jdm1vab.js} +8 -8
  73. package/dist/chunks/{file-mutation-3k72abas.js → variant-7nx1mzpm.js} +21 -21
  74. package/dist/chunks/{file-mutation-kf0ydnx7.js → variant-7rwcep1p.js} +15 -15
  75. package/dist/chunks/{file-mutation-5yc3gv1m.js → variant-7vfwfg0s.js} +13 -13
  76. package/dist/chunks/variant-7w5g5nar.js +517 -0
  77. package/dist/chunks/{file-mutation-cjj3vnjk.js → variant-7x0ybmme.js} +2 -2
  78. package/dist/chunks/{file-mutation-x6pyv2yz.js → variant-7xyrrtj6.js} +5 -5
  79. package/dist/chunks/{file-mutation-5tew088c.js → variant-7zj2yvh0.js} +12 -12
  80. package/dist/chunks/{file-mutation-84txncab.js → variant-84txncab.js} +1 -1
  81. package/dist/chunks/{file-mutation-s8yypaqy.js → variant-88ttrsfd.js} +46 -46
  82. package/dist/chunks/{file-mutation-9q2hdfp3.js → variant-8ab3w9a1.js} +24 -24
  83. package/dist/chunks/{file-mutation-gk5p4syv.js → variant-8aftd3yf.js} +16 -16
  84. package/dist/chunks/{file-mutation-eftecqvh.js → variant-8apawthn.js} +25 -25
  85. package/dist/chunks/{file-mutation-x5dktsa5.js → variant-8cqn97gn.js} +23 -23
  86. package/dist/chunks/{file-mutation-0fn2v7vk.js → variant-8e1b1gzh.js} +6 -6
  87. package/dist/chunks/{file-mutation-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{file-mutation-8mywswrd.js → variant-8mywswrd.js} +1 -1
  89. package/dist/chunks/{file-mutation-rpnfjj5z.js → variant-8r64qjsw.js} +32 -32
  90. package/dist/chunks/{file-mutation-jh0cf3gy.js → variant-90prmkr9.js} +18 -18
  91. package/dist/chunks/variant-928hdk85.js +257 -0
  92. package/dist/chunks/{file-mutation-ye93bcpk.js → variant-95wgg282.js} +15 -15
  93. package/dist/chunks/{file-mutation-s5qxm7c2.js → variant-9e5gtvfc.js} +11 -11
  94. package/dist/chunks/{file-mutation-3179ttex.js → variant-9hvha7ke.js} +14 -14
  95. package/dist/chunks/{file-mutation-882c6a2f.js → variant-9q9t7af4.js} +24 -24
  96. package/dist/chunks/{file-mutation-0r2cw8fn.js → variant-9r4dpyf8.js} +8 -8
  97. package/dist/chunks/{file-mutation-2kjrre30.js → variant-9scmkrsd.js} +20 -20
  98. package/dist/chunks/{file-mutation-2f26zb5h.js → variant-9x9ct1g1.js} +29 -29
  99. package/dist/chunks/{file-mutation-a20pjse5.js → variant-a20pjse5.js} +3 -3
  100. package/dist/chunks/{file-mutation-e27v7yqk.js → variant-af0tgjwm.js} +17 -17
  101. package/dist/chunks/{file-mutation-x0k3z69x.js → variant-amdqtsez.js} +16 -16
  102. package/dist/chunks/{file-mutation-addxnjmp.js → variant-azwe5p1w.js} +4 -4
  103. package/dist/chunks/{file-mutation-b27vhd2z.js → variant-b27vhd2z.js} +1 -1
  104. package/dist/chunks/{file-mutation-89a6x4zk.js → variant-b55ayt6p.js} +17 -17
  105. package/dist/chunks/{file-mutation-6614sc7r.js → variant-bjq1rgcd.js} +24 -24
  106. package/dist/chunks/{file-mutation-7rakk0e1.js → variant-bnpb9r0r.js} +38 -38
  107. package/dist/chunks/{file-mutation-p4mj4rdp.js → variant-br0tr5aq.js} +8 -8
  108. package/dist/chunks/{file-mutation-sbr2r95b.js → variant-brmnc5rc.js} +27 -27
  109. package/dist/chunks/{file-mutation-4mwpykj0.js → variant-bw9zjykr.js} +6 -6
  110. package/dist/chunks/{file-mutation-1ep4rre3.js → variant-bzeyqsqd.js} +4 -4
  111. package/dist/chunks/{file-mutation-kz7145yv.js → variant-c17c7gem.js} +6 -6
  112. package/dist/chunks/{file-mutation-rj3eygr5.js → variant-c41wscbt.js} +2 -2
  113. package/dist/chunks/{file-mutation-wpys2vyv.js → variant-c60jy55t.js} +5 -5
  114. package/dist/chunks/{file-mutation-yebssw6b.js → variant-c6j5vg12.js} +3 -3
  115. package/dist/chunks/{file-mutation-5tnh3egr.js → variant-c7av8b5x.js} +4 -4
  116. package/dist/chunks/{file-mutation-sa8ekw3f.js → variant-c8ax2afj.js} +2 -2
  117. package/dist/chunks/{file-mutation-j228j2n8.js → variant-cd12tkte.js} +2 -2
  118. package/dist/chunks/{file-mutation-5xa5t8mt.js → variant-ck1687dj.js} +20 -20
  119. package/dist/chunks/{file-mutation-3e2gnrvk.js → variant-cz4fyjvq.js} +24 -24
  120. package/dist/chunks/{file-mutation-rqbas9ax.js → variant-d1sqbt18.js} +20 -20
  121. package/dist/chunks/{file-mutation-nn5t8xjm.js → variant-d25qmaxv.js} +42 -42
  122. package/dist/chunks/{file-mutation-5zbwkh3w.js → variant-d29451tq.js} +6 -6
  123. package/dist/chunks/{file-mutation-xs3kgst9.js → variant-dedzrhdb.js} +23 -23
  124. package/dist/chunks/{file-mutation-cwa6csj7.js → variant-djszqvmq.js} +9 -9
  125. package/dist/chunks/{file-mutation-5e2h11rs.js → variant-dk2cs9kn.js} +4 -4
  126. package/dist/chunks/{file-mutation-py2d2bhf.js → variant-dnjvpwy6.js} +4 -4
  127. package/dist/chunks/{file-mutation-xfktpdj6.js → variant-dq407baf.js} +6 -6
  128. package/dist/chunks/{file-mutation-xfkkasph.js → variant-drwq78ky.js} +4 -4
  129. package/dist/chunks/{file-mutation-1f7m535t.js → variant-dtj6q9re.js} +12 -12
  130. package/dist/chunks/{file-mutation-322qbvpa.js → variant-dxm36xet.js} +18 -18
  131. package/dist/chunks/{file-mutation-967benbv.js → variant-dys7k0s0.js} +11 -11
  132. package/dist/chunks/{file-mutation-cafkpj5t.js → variant-e0har6f2.js} +27 -27
  133. package/dist/chunks/{file-mutation-z0hcq1xj.js → variant-e10gzyda.js} +30 -30
  134. package/dist/chunks/{file-mutation-t550f9t1.js → variant-eaj1djv9.js} +8 -8
  135. package/dist/chunks/{file-mutation-7k4yx5jm.js → variant-eayadx44.js} +20 -20
  136. package/dist/chunks/{file-mutation-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
  137. package/dist/chunks/{file-mutation-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{file-mutation-wqabm0nw.js → variant-ejj11w5x.js} +17 -17
  139. package/dist/chunks/{file-mutation-8b58bdns.js → variant-ervcbcv7.js} +35 -35
  140. package/dist/chunks/{file-mutation-c1fqxshp.js → variant-es1vcfrp.js} +3 -3
  141. package/dist/chunks/{file-mutation-5q7ksgvn.js → variant-es5a2c48.js} +10 -10
  142. package/dist/chunks/{file-mutation-bgc5ggmx.js → variant-espax8zg.js} +4 -4
  143. package/dist/chunks/{file-mutation-ktb21g4v.js → variant-ez4msjhj.js} +16 -16
  144. package/dist/chunks/{file-mutation-h7vxqxg2.js → variant-fbp02deq.js} +30 -30
  145. package/dist/chunks/{file-mutation-fcy631f0.js → variant-fcy631f0.js} +1 -1
  146. package/dist/chunks/{file-mutation-vt9q9evw.js → variant-fkj43v1r.js} +10 -10
  147. package/dist/chunks/{file-mutation-szyc73at.js → variant-g7z4v8j3.js} +11 -11
  148. package/dist/chunks/{file-mutation-gdgy10dy.js → variant-g8barhva.js} +32 -32
  149. package/dist/chunks/{file-mutation-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{file-mutation-t80p7bv8.js → variant-gfn1f735.js} +9 -9
  151. package/dist/chunks/{file-mutation-phk9d88z.js → variant-ghtkshk3.js} +43 -43
  152. package/dist/chunks/{file-mutation-70ake3ft.js → variant-gqm71yrs.js} +15 -15
  153. package/dist/chunks/{file-mutation-pjhesq7k.js → variant-gxgayqbn.js} +11 -11
  154. package/dist/chunks/{file-mutation-0xz2mzgc.js → variant-gxv082ck.js} +23 -23
  155. package/dist/chunks/{file-mutation-khcab136.js → variant-h0k6zcwv.js} +21 -21
  156. package/dist/chunks/{file-mutation-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-mutation-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{file-mutation-rqhevtjr.js → variant-hhecb7g7.js} +11 -11
  159. package/dist/chunks/{file-mutation-h6mg8ssc.js → variant-hpyx0024.js} +7 -7
  160. package/dist/chunks/{file-mutation-f0y10khq.js → variant-hqqehcc0.js} +25 -25
  161. package/dist/chunks/{file-mutation-dr99d0ac.js → variant-hz3jevdr.js} +3 -3
  162. package/dist/chunks/{file-mutation-zak5s96v.js → variant-j933j9sw.js} +4 -4
  163. package/dist/chunks/{file-mutation-qnq8mqeg.js → variant-jp8717cv.js} +28 -28
  164. package/dist/chunks/{file-mutation-mwahwpcs.js → variant-k8x2fpjf.js} +22 -22
  165. package/dist/chunks/{file-mutation-cpewaxbb.js → variant-kbx7rh90.js} +36 -36
  166. package/dist/chunks/{file-mutation-ac5hykxd.js → variant-kct03rgr.js} +21 -21
  167. package/dist/chunks/{file-mutation-3hefbbgh.js → variant-kf0h36at.js} +7 -7
  168. package/dist/chunks/{file-mutation-sadarxxx.js → variant-khthv2ze.js} +35 -35
  169. package/dist/chunks/{file-mutation-kjdm35cs.js → variant-kjdm35cs.js} +2 -2
  170. package/dist/chunks/{file-mutation-hry64yvt.js → variant-knhekyq4.js} +17 -17
  171. package/dist/chunks/{file-mutation-ps2trwbq.js → variant-kqp9qa1j.js} +3 -3
  172. package/dist/chunks/{file-mutation-kwb1v3vj.js → variant-kwb1v3vj.js} +1 -1
  173. package/dist/chunks/{file-mutation-n7c99d35.js → variant-ky9wwhcp.js} +14 -14
  174. package/dist/chunks/{file-mutation-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{file-mutation-ts412n3k.js → variant-m9xnn9r5.js} +37 -37
  176. package/dist/chunks/{file-mutation-maspj1v3.js → variant-maspj1v3.js} +1 -1
  177. package/dist/chunks/{file-mutation-0ryx4cv5.js → variant-mb19mnqb.js} +36 -36
  178. package/dist/chunks/{file-mutation-27p00kw8.js → variant-mc8agtnj.js} +22 -22
  179. package/dist/chunks/{file-mutation-b8d7xm3m.js → variant-myjtek88.js} +13 -13
  180. package/dist/chunks/{file-mutation-brdz51fb.js → variant-n3bbh3xq.js} +8 -8
  181. package/dist/chunks/{file-mutation-gqagkb1x.js → variant-n78k5cgb.js} +11 -11
  182. package/dist/chunks/{file-mutation-qb9hezfc.js → variant-nh571ch7.js} +15 -15
  183. package/dist/chunks/{file-mutation-qaf3te0r.js → variant-nhpkjp8j.js} +11 -11
  184. package/dist/chunks/{file-mutation-21xx9xc6.js → variant-nhzw2ksa.js} +19 -19
  185. package/dist/chunks/{file-mutation-cmftrgtq.js → variant-nr5642w5.js} +33 -33
  186. package/dist/chunks/{file-mutation-ctkvxx28.js → variant-nrh2wv08.js} +25 -25
  187. package/dist/chunks/{file-mutation-5g9pfety.js → variant-nttemcq1.js} +25 -25
  188. package/dist/chunks/{file-mutation-v13b12ef.js → variant-nz56sr1f.js} +5 -5
  189. package/dist/chunks/{file-mutation-g18yemqx.js → variant-p092c7br.js} +42 -42
  190. package/dist/chunks/{file-mutation-92swnv4m.js → variant-pedttwxr.js} +8 -8
  191. package/dist/chunks/variant-pf31ssb9.js +18 -0
  192. package/dist/chunks/{file-mutation-9mnf2aaj.js → variant-pfxa3h33.js} +11 -11
  193. package/dist/chunks/{file-mutation-yr4z1qtt.js → variant-pg3754bv.js} +44 -44
  194. package/dist/chunks/{file-mutation-y7nndgyc.js → variant-phz50fbd.js} +9 -9
  195. package/dist/chunks/{file-mutation-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{file-mutation-pknna89w.js → variant-pknna89w.js} +1 -1
  197. package/dist/chunks/{file-mutation-fa4te4zq.js → variant-pm8ty30j.js} +29 -29
  198. package/dist/chunks/{file-mutation-2nb55xn8.js → variant-q15tn0mf.js} +20 -20
  199. package/dist/chunks/{file-mutation-tbmac1c7.js → variant-qbqbaz6q.js} +4 -4
  200. package/dist/chunks/{file-mutation-t4bhgeye.js → variant-qbqerjg9.js} +5 -5
  201. package/dist/chunks/{file-mutation-qxns1yyr.js → variant-qmfsk48t.js} +19 -19
  202. package/dist/chunks/{file-mutation-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{file-mutation-2k9fjx65.js → variant-qne3fa44.js} +5 -5
  204. package/dist/chunks/{file-mutation-6gbkbwjk.js → variant-qryqqwhy.js} +16 -16
  205. package/dist/chunks/{file-mutation-qsdy395h.js → variant-qsdy395h.js} +1 -1
  206. package/dist/chunks/{file-mutation-df9339xm.js → variant-qtk9pe34.js} +10 -10
  207. package/dist/chunks/{file-mutation-q2j64v3h.js → variant-qv0sc65t.js} +3 -3
  208. package/dist/chunks/{file-mutation-taz2ghkg.js → variant-qy259e2y.js} +14 -14
  209. package/dist/chunks/{file-mutation-xcevffwp.js → variant-qy6ss6as.js} +87 -87
  210. package/dist/chunks/{file-mutation-9vkqjddw.js → variant-r10nvqfv.js} +11 -11
  211. package/dist/chunks/{file-mutation-wnyvz4dk.js → variant-r13wq28n.js} +43 -43
  212. package/dist/chunks/{file-mutation-49ma6pwq.js → variant-r70qfazn.js} +19 -19
  213. package/dist/chunks/{file-mutation-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{file-mutation-re4gtx8j.js → variant-rg7a60r1.js} +24 -24
  215. package/dist/chunks/{file-mutation-mrcqdzkn.js → variant-rga01nkp.js} +14 -14
  216. package/dist/chunks/{file-mutation-8sze2n9a.js → variant-rkprpv83.js} +6 -6
  217. package/dist/chunks/{file-mutation-f8fzv2x1.js → variant-rkvys86f.js} +3 -3
  218. package/dist/chunks/{file-mutation-9qkvvyqp.js → variant-rn69d7hp.js} +34 -34
  219. package/dist/chunks/{file-mutation-8sq4gyz7.js → variant-rnt9ng2n.js} +7 -7
  220. package/dist/chunks/{file-mutation-n5sg9n8b.js → variant-rt4gesys.js} +32 -32
  221. package/dist/chunks/{file-mutation-8xxydye1.js → variant-rvw0c6fm.js} +13 -13
  222. package/dist/chunks/{file-mutation-cj2gcgr0.js → variant-rz1bd73a.js} +10 -10
  223. package/dist/chunks/{file-mutation-pzz5tmzm.js → variant-s1rzhg3g.js} +17 -17
  224. package/dist/chunks/{file-mutation-7tppg67e.js → variant-s761s72c.js} +9 -9
  225. package/dist/chunks/{file-mutation-94kdqvgb.js → variant-say7vrea.js} +9 -9
  226. package/dist/chunks/{file-mutation-dtgy4jeb.js → variant-sm0dhwyq.js} +7 -7
  227. package/dist/chunks/{file-mutation-6p9h6rqd.js → variant-smq3am02.js} +89 -89
  228. package/dist/chunks/{file-mutation-08rawchj.js → variant-ss358qx3.js} +3 -3
  229. package/dist/chunks/{file-mutation-syv4x271.js → variant-syv4x271.js} +1 -1
  230. package/dist/chunks/{file-mutation-7bm0e0dp.js → variant-szkrnbvf.js} +34 -34
  231. package/dist/chunks/{file-mutation-3xymvwyv.js → variant-t147m43n.js} +10 -10
  232. package/dist/chunks/{file-mutation-nwsypg2h.js → variant-t5azbf2h.js} +11 -11
  233. package/dist/chunks/{file-mutation-j8143y8a.js → variant-t9tm1b69.js} +16 -16
  234. package/dist/chunks/{file-mutation-8rddq889.js → variant-t9tzyksx.js} +21 -21
  235. package/dist/chunks/{file-mutation-92waa1rm.js → variant-tatecjgj.js} +7 -7
  236. package/dist/chunks/{file-mutation-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{file-mutation-qz0pc5j5.js → variant-tc84sxpf.js} +20 -20
  238. package/dist/chunks/{file-mutation-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-mutation-tdstcens.js → variant-tdstcens.js} +1 -1
  240. package/dist/chunks/{file-mutation-rert0e01.js → variant-tkb22qbm.js} +2 -2
  241. package/dist/chunks/{file-mutation-w3g2sjny.js → variant-tkjmt9nc.js} +14 -14
  242. package/dist/chunks/{file-mutation-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
  243. package/dist/chunks/{file-mutation-4yb17086.js → variant-tw3hkfj3.js} +36 -36
  244. package/dist/chunks/{file-mutation-tyytaxap.js → variant-tyytaxap.js} +1 -1
  245. package/dist/chunks/{file-mutation-h8bq8y5a.js → variant-v210v162.js} +9 -9
  246. package/dist/chunks/{file-mutation-0nqg4kny.js → variant-v2hyeyf7.js} +10 -10
  247. package/dist/chunks/{file-mutation-1rabqv72.js → variant-v3854d8f.js} +21 -21
  248. package/dist/chunks/{file-mutation-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{file-mutation-4fm3tq8e.js → variant-vdx8s558.js} +14 -14
  250. package/dist/chunks/{file-mutation-m1z5ek08.js → variant-ve88pny4.js} +8 -8
  251. package/dist/chunks/{file-mutation-veqvce7d.js → variant-veqvce7d.js} +1 -1
  252. package/dist/chunks/{file-mutation-jws504fy.js → variant-vgr8962y.js} +12 -12
  253. package/dist/chunks/{file-mutation-8f461wgz.js → variant-vj32cyzd.js} +37 -37
  254. package/dist/chunks/{file-mutation-b6ag07rz.js → variant-vm6z49tp.js} +4 -4
  255. package/dist/chunks/{file-mutation-y59fqsw4.js → variant-vnvzhrpj.js} +16 -16
  256. package/dist/chunks/{file-mutation-4b4em5d4.js → variant-vpge477k.js} +31 -31
  257. package/dist/chunks/{file-mutation-wdasqx75.js → variant-vrr7tc8c.js} +4 -4
  258. package/dist/chunks/{file-mutation-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{file-mutation-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{file-mutation-kqv3x6rj.js → variant-waskdk5r.js} +9 -9
  261. package/dist/chunks/{file-mutation-1rmqtx3n.js → variant-wb7w7em4.js} +14 -14
  262. package/dist/chunks/{file-mutation-cefkz2r6.js → variant-wcnw1vw1.js} +4 -4
  263. package/dist/chunks/{file-mutation-wd87259q.js → variant-wd87259q.js} +1 -1
  264. package/dist/chunks/{file-mutation-h71w788e.js → variant-wjqb2vp5.js} +9 -9
  265. package/dist/chunks/{file-mutation-mhg37pmq.js → variant-wpz9kdb9.js} +46 -46
  266. package/dist/chunks/{file-mutation-d06kvh6k.js → variant-wqhaj406.js} +51 -51
  267. package/dist/chunks/{file-mutation-5gxex9x8.js → variant-wrdz6b4b.js} +8 -8
  268. package/dist/chunks/{file-mutation-hzm5xem3.js → variant-xamas9nz.js} +22 -22
  269. package/dist/chunks/{file-mutation-0eymxkpr.js → variant-xf2pv73g.js} +51 -51
  270. package/dist/chunks/{file-mutation-b4ragnr9.js → variant-xjfe4nsj.js} +17 -17
  271. package/dist/chunks/{file-mutation-72vb8ye8.js → variant-xywjvjxx.js} +12 -12
  272. package/dist/chunks/{file-mutation-mrv22f7s.js → variant-y178fjw7.js} +15 -15
  273. package/dist/chunks/{file-mutation-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{file-mutation-y71avatq.js → variant-y71avatq.js} +1 -1
  275. package/dist/chunks/{file-mutation-zcepehk0.js → variant-ycbx61rz.js} +5 -5
  276. package/dist/chunks/{file-mutation-ywt8jp22.js → variant-ywt8jp22.js} +2 -2
  277. package/dist/chunks/{file-mutation-zr8t0btn.js → variant-z0910jfv.js} +190 -190
  278. package/dist/chunks/{file-mutation-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-mutation-5g57z1ma.js → variant-z0ydvj27.js} +4 -4
  280. package/dist/chunks/{file-mutation-dccm8yky.js → variant-z1593v92.js} +11 -11
  281. package/dist/chunks/{file-mutation-z18fegx4.js → variant-z18fegx4.js} +1 -1
  282. package/dist/chunks/{file-mutation-xp80041t.js → variant-z2a96fzh.js} +5 -5
  283. package/dist/chunks/{file-mutation-zcrspsvn.js → variant-zee1rnkq.js} +4 -4
  284. package/dist/chunks/{file-mutation-a6gf0ppz.js → variant-zhzgznba.js} +3 -3
  285. package/dist/chunks/{file-mutation-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-mutation-cmkgjnh5.js → variant-zxjbgbap.js} +10 -10
  287. package/dist/chunks/{file-mutation-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +114 -114
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +215 -215
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +129 -129
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +119 -119
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +223 -223
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +153 -153
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +130 -130
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +209 -209
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +1 -1
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +2 -2
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/file-mutation-2g1qnqk3.js +0 -257
  693. package/dist/chunks/file-mutation-7fj5dwt0.js +0 -18
  694. package/dist/chunks/file-mutation-v1yvzs5v.js +0 -517
  695. package/dist/chunks/file-mutation-zcrrhp36.js +0 -26
  696. /package/dist/chunks/{file-mutation-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{file-mutation-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{file-mutation-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{file-mutation-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{file-mutation-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{file-mutation-24dcb14g.js → variant-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{file-mutation-2710q6r3.js → variant-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{file-mutation-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{file-mutation-2bv980vf.js → variant-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{file-mutation-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{file-mutation-359p4xyc.js → variant-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{file-mutation-3asan66x.js → variant-3asan66x.js} +0 -0
  708. /package/dist/chunks/{file-mutation-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{file-mutation-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{file-mutation-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{file-mutation-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{file-mutation-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{file-mutation-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{file-mutation-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{file-mutation-53557ph1.js → variant-53557ph1.js} +0 -0
  716. /package/dist/chunks/{file-mutation-550bvhaj.js → variant-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{file-mutation-6prwharc.js → variant-6prwharc.js} +0 -0
  718. /package/dist/chunks/{file-mutation-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{file-mutation-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{file-mutation-7m9af43g.js → variant-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{file-mutation-822emrt2.js → variant-822emrt2.js} +0 -0
  722. /package/dist/chunks/{file-mutation-84wd9syh.js → variant-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{file-mutation-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{file-mutation-8n3pysct.js → variant-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{file-mutation-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{file-mutation-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{file-mutation-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{file-mutation-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{file-mutation-af5trqkr.js → variant-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{file-mutation-afrmfg78.js → variant-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{file-mutation-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{file-mutation-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{file-mutation-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{file-mutation-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{file-mutation-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{file-mutation-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{file-mutation-d9fn303g.js → variant-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{file-mutation-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{file-mutation-dajrwvna.js → variant-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{file-mutation-dap0rakb.js → variant-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{file-mutation-df08tz66.js → variant-df08tz66.js} +0 -0
  742. /package/dist/chunks/{file-mutation-dy18nga0.js → variant-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{file-mutation-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{file-mutation-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{file-mutation-ec1grn59.js → variant-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{file-mutation-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{file-mutation-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{file-mutation-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{file-mutation-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{file-mutation-faypxj3z.js → variant-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{file-mutation-fd410y7t.js → variant-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{file-mutation-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{file-mutation-g86h250q.js → variant-g86h250q.js} +0 -0
  754. /package/dist/chunks/{file-mutation-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{file-mutation-gftt206x.js → variant-gftt206x.js} +0 -0
  756. /package/dist/chunks/{file-mutation-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{file-mutation-hk9envan.js → variant-hk9envan.js} +0 -0
  758. /package/dist/chunks/{file-mutation-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{file-mutation-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{file-mutation-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{file-mutation-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{file-mutation-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{file-mutation-m18g726c.js → variant-m18g726c.js} +0 -0
  766. /package/dist/chunks/{file-mutation-mp448xyj.js → variant-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{file-mutation-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{file-mutation-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{file-mutation-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{file-mutation-njntx4h6.js → variant-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{file-mutation-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-pyv0edze.js → variant-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{file-mutation-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{file-mutation-q74kybfr.js → variant-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{file-mutation-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{file-mutation-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{file-mutation-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{file-mutation-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{file-mutation-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{file-mutation-w803qqfp.js → variant-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{file-mutation-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{file-mutation-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{file-mutation-wtztk69x.js → variant-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{file-mutation-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{file-mutation-x61499pn.js → variant-x61499pn.js} +0 -0
  791. /package/dist/chunks/{file-mutation-y44na4kk.js → variant-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{file-mutation-y8f7s663.js → variant-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{file-mutation-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{file-mutation-ym463w8f.js → variant-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{file-mutation-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{file-mutation-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID13,
2
+ ID9,
3
3
  mergeOverlay2
4
- } from "./file-mutation-rpnfjj5z.js";
4
+ } from "./variant-8r64qjsw.js";
5
5
  import {
6
- ID12,
6
+ ID8,
7
7
  VariantID2,
8
- Info21,
8
+ Info18,
9
9
  compatibility2
10
- } from "./file-mutation-4b4em5d4.js";
10
+ } from "./variant-vpge477k.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./variant-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 = ID13.make("modal");
25
+ var providerID = ID9.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(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID8.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 Info21.make({
98
- ...Info21.default(providerID, id),
97
+ return Info18.make({
98
+ ...Info18.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID8.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,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node75,
13
+ make: () => make17,
14
+ node: () => node61,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make17 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node75 = registryNode2({});
47
+ var node61 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node75, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node61, exports_driver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/session/recent-text.ts
6
6
  var exports_recent_text = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-py2d2bhf.js";
4
+ } from "./variant-dnjvpwy6.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./file-mutation-rdw6cm16.js";
8
+ } from "./variant-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./file-mutation-addxnjmp.js";
11
+ } from "./variant-azwe5p1w.js";
12
12
  import {
13
- ID14,
14
- Service79,
15
- node83,
16
- Event18
17
- } from "./file-mutation-ta0tc5c9.js";
13
+ ID10,
14
+ Service72,
15
+ node76,
16
+ Event15
17
+ } from "./variant-6d84m8eq.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./file-mutation-j8143y8a.js";
19
+ Service82,
20
+ node86
21
+ } from "./variant-t9tm1b69.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./variant-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,13 +39,13 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
41
41
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
42
- Event: () => Event17,
43
- ID: () => ID13,
44
- Info: () => Info22,
42
+ Event: () => Event14,
43
+ ID: () => ID9,
44
+ Info: () => Info19,
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
- Request: () => Request3,
48
- Service: () => Service78,
47
+ Request: () => Request2,
48
+ Service: () => Service71,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node82,
60
+ node: () => node75,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event17 } from "@opencode/schema/provider";
75
- var ID13 = Provider.ID;
74
+ import { Event as Event14 } from "@opencode/schema/provider";
75
+ var ID9 = Provider.ID;
76
76
  var AISDK_PREFIX2 = "aisdk:";
77
77
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
78
78
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
279
279
  return result;
280
280
  }, new Map).values());
281
281
  }
282
- var Request3 = Provider.Request;
282
+ var Request2 = Provider.Request;
283
283
  var Compaction3 = Provider.Compaction;
284
284
  var Transport2 = Provider.Transport;
285
285
  var Settings2 = Provider.Settings;
286
- var Info22 = Provider.Info;
286
+ var Info19 = Provider.Info;
287
287
 
288
- class Service78 extends Context.Service()("@opencode/Provider") {
288
+ class Service71 extends Context.Service()("@opencode/Provider") {
289
289
  }
290
290
  var definitions = new WeakMap;
291
291
  function index(providerID, models) {
@@ -298,10 +298,10 @@ function index(providerID, models) {
298
298
  definitions.set(models, indexes);
299
299
  return result;
300
300
  }
301
- var layer = Layer.effect(Service78, Effect.gen(function* () {
301
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
302
302
  const bus = yield* Service85;
303
- const integrations = yield* Service79;
304
- const location = yield* Service80;
303
+ const integrations = yield* Service72;
304
+ const location = yield* Service82;
305
305
  const state = create3({
306
306
  name: "provider",
307
307
  initial: () => new Map,
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
312
312
  const current = records.get(id);
313
313
  if (current)
314
314
  return current;
315
- const added = { provider: Info22.empty(id), models: new Map };
315
+ const added = { provider: Info19.empty(id), models: new Map };
316
316
  records.set(id, added);
317
317
  maps.add(added.models);
318
318
  return added;
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
393
393
  const available = Array.from(records.values()).filter((record) => {
394
394
  if (record.provider.activation === "disabled")
395
395
  return false;
396
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
396
+ const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
397
397
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
398
398
  return false;
399
399
  if (record.provider.activation === "enabled")
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
419
419
  location: { directory: location.directory, workspaceID: location.workspaceID }
420
420
  });
421
421
  });
422
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
- return Service78.of({
422
+ yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
+ return Service71.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
429
429
  snapshot
430
430
  });
431
431
  }));
432
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node84] });
432
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node89, node76, node86] });
433
433
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
434
434
  const module = yield* Effect.tryPromise({
435
435
  try: () => {
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
699
699
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
700
700
  var decode = Schema2.decodeUnknownSync(Legacy);
701
701
 
702
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event17 };
702
+ export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info19, Service71, node75, exports_provider3, Event14 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85
3
- } from "./file-mutation-py2d2bhf.js";
3
+ } from "./variant-dnjvpwy6.js";
4
4
  import {
5
- ID17,
6
- Event20,
7
- Service83
8
- } from "./file-mutation-z0hcq1xj.js";
5
+ ID11,
6
+ Event16,
7
+ Service73
8
+ } from "./variant-e10gzyda.js";
9
9
  import {
10
- ID13
11
- } from "./file-mutation-rpnfjj5z.js";
10
+ ID9
11
+ } from "./variant-8r64qjsw.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./file-mutation-5zbwkh3w.js";
14
+ } from "./variant-d29451tq.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service83;
44
+ const credentials = yield* Service73;
45
45
  const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID9.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID9.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID9.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID9.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID9.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -0,0 +1,257 @@
1
+ import {
2
+ node84
3
+ } from "./variant-8ab3w9a1.js";
4
+ import {
5
+ node78
6
+ } from "./variant-6pcx6jwm.js";
7
+ import {
8
+ node76
9
+ } from "./variant-6d84m8eq.js";
10
+ import {
11
+ node86,
12
+ boundNode2
13
+ } from "./variant-t9tm1b69.js";
14
+ import {
15
+ node75
16
+ } from "./variant-8r64qjsw.js";
17
+ import {
18
+ node70
19
+ } from "./variant-pfxa3h33.js";
20
+ import {
21
+ node74
22
+ } from "./variant-vpge477k.js";
23
+ import {
24
+ node35
25
+ } from "./variant-t9tzyksx.js";
26
+ import {
27
+ configured10,
28
+ node72
29
+ } from "./variant-wpz9kdb9.js";
30
+ import {
31
+ node59
32
+ } from "./variant-cz4fyjvq.js";
33
+ import {
34
+ node42
35
+ } from "./variant-rvw0c6fm.js";
36
+ import {
37
+ node17
38
+ } from "./variant-41t4yrkv.js";
39
+ import {
40
+ node40
41
+ } from "./variant-fbp02deq.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node39
45
+ } from "./variant-rt4gesys.js";
46
+ import {
47
+ node69
48
+ } from "./variant-ghtkshk3.js";
49
+ import {
50
+ node38
51
+ } from "./variant-v3854d8f.js";
52
+ import {
53
+ node41
54
+ } from "./variant-bjq1rgcd.js";
55
+ import {
56
+ node50
57
+ } from "./variant-0tmgye68.js";
58
+ import {
59
+ node30
60
+ } from "./variant-xf2pv73g.js";
61
+ import {
62
+ Service62,
63
+ node66
64
+ } from "./variant-bw9zjykr.js";
65
+ import {
66
+ node24
67
+ } from "./variant-af0tgjwm.js";
68
+ import {
69
+ node85
70
+ } from "./variant-pedttwxr.js";
71
+ import {
72
+ node81
73
+ } from "./variant-2qj989z5.js";
74
+ import {
75
+ node67
76
+ } from "./variant-7zj2yvh0.js";
77
+ import {
78
+ configured3,
79
+ node31
80
+ } from "./variant-nttemcq1.js";
81
+ import {
82
+ node27
83
+ } from "./variant-r70qfazn.js";
84
+ import {
85
+ node47
86
+ } from "./variant-rg7a60r1.js";
87
+ import {
88
+ node26
89
+ } from "./variant-hqqehcc0.js";
90
+ import {
91
+ node52
92
+ } from "./variant-q15tn0mf.js";
93
+ import {
94
+ node22
95
+ } from "./variant-eayadx44.js";
96
+ import {
97
+ node55
98
+ } from "./variant-8aftd3yf.js";
99
+ import {
100
+ node23
101
+ } from "./variant-06m78d2n.js";
102
+ import {
103
+ node21
104
+ } from "./variant-qy6ss6as.js";
105
+ import {
106
+ node43
107
+ } from "./variant-pm8ty30j.js";
108
+ import {
109
+ node62
110
+ } from "./variant-k8x2fpjf.js";
111
+ import {
112
+ node63
113
+ } from "./variant-9e5gtvfc.js";
114
+ import {
115
+ node57
116
+ } from "./variant-d25qmaxv.js";
117
+ import {
118
+ node49
119
+ } from "./variant-59ec13pf.js";
120
+ import {
121
+ node46
122
+ } from "./variant-h0k6zcwv.js";
123
+ import {
124
+ node56
125
+ } from "./variant-dedzrhdb.js";
126
+ import {
127
+ node33
128
+ } from "./variant-0y3k4c6h.js";
129
+ import {
130
+ node16
131
+ } from "./variant-9scmkrsd.js";
132
+ import {
133
+ node4
134
+ } from "./variant-6yet44e5.js";
135
+ import {
136
+ Service44,
137
+ node48
138
+ } from "./variant-nr5642w5.js";
139
+ import {
140
+ node34
141
+ } from "./variant-1wj6nfaq.js";
142
+ import {
143
+ node14,
144
+ bound2
145
+ } from "./variant-br0tr5aq.js";
146
+ import {
147
+ node9
148
+ } from "./variant-pg3754bv.js";
149
+ import {
150
+ node7
151
+ } from "./variant-qmfsk48t.js";
152
+ import {
153
+ node8
154
+ } from "./variant-gqm71yrs.js";
155
+ import {
156
+ node5
157
+ } from "./variant-tw3hkfj3.js";
158
+ import {
159
+ node37
160
+ } from "./variant-szkrnbvf.js";
161
+ import {
162
+ node3
163
+ } from "./variant-vnvzhrpj.js";
164
+ import {
165
+ node2
166
+ } from "./variant-6xfqa995.js";
167
+ import {
168
+ __export
169
+ } from "./variant-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service62,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node66
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node86,
185
+ node48,
186
+ node59,
187
+ node72,
188
+ node84,
189
+ node35,
190
+ node52,
191
+ node49,
192
+ node56,
193
+ node76,
194
+ node75,
195
+ node74,
196
+ node69,
197
+ node70,
198
+ node16,
199
+ node85,
200
+ node14,
201
+ node5,
202
+ node33,
203
+ node40,
204
+ node39,
205
+ node62,
206
+ node37,
207
+ node57,
208
+ node55,
209
+ node27,
210
+ node31,
211
+ node34,
212
+ node42,
213
+ node17,
214
+ node30,
215
+ node81,
216
+ node47,
217
+ node63,
218
+ node50,
219
+ node23,
220
+ node22,
221
+ node24,
222
+ node78,
223
+ node38,
224
+ node41,
225
+ node8,
226
+ node26,
227
+ node7,
228
+ node67,
229
+ node9,
230
+ node3,
231
+ node21,
232
+ node43,
233
+ node2,
234
+ node46,
235
+ node4
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node72.replace(configured10({ project: false, global: false })),
240
+ node31.replace(configured3({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node86.replace(boundNode2(ref)),
248
+ node14.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service44).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };