@opencode/core 0.0.0-dev-21167 → 0.0.0-dev-21176

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/{location-w319agzg.js → variant-046g8s2b.js} +14 -14
  8. package/dist/chunks/{location-4mb9pp0y.js → variant-046wpshp.js} +28 -28
  9. package/dist/chunks/{location-81rc8gm8.js → variant-057ebw4n.js} +20 -20
  10. package/dist/chunks/{location-3gn0rhd5.js → variant-05p7sv4b.js} +71 -71
  11. package/dist/chunks/{location-r1j6ejcm.js → variant-083yp1m0.js} +5 -5
  12. package/dist/chunks/{location-3kyydbkc.js → variant-0frz0xt1.js} +15 -15
  13. package/dist/chunks/{location-3s9mjem9.js → variant-0gdhy7gs.js} +11 -11
  14. package/dist/chunks/{location-ma9xypmg.js → variant-0tm86nq6.js} +7 -7
  15. package/dist/chunks/{location-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{location-2ym858dx.js → variant-1ch5ceza.js} +9 -9
  17. package/dist/chunks/{location-3357mp80.js → variant-1pbhk94w.js} +20 -18
  18. package/dist/chunks/{location-8rbs03yj.js → variant-1trmznht.js} +4 -4
  19. package/dist/chunks/{location-khmqacep.js → variant-1w2wqhfv.js} +4 -4
  20. package/dist/chunks/{location-h8j75c1p.js → variant-1zp4z7qa.js} +15 -15
  21. package/dist/chunks/{location-3gf5j6sb.js → variant-2a62y8q7.js} +11 -11
  22. package/dist/chunks/{location-wgkxnvdd.js → variant-2bpk9f3k.js} +42 -42
  23. package/dist/chunks/{location-r06fjp3p.js → variant-2gprhkyr.js} +13 -13
  24. package/dist/chunks/{location-2pecxe0h.js → variant-2x94txpx.js} +327 -327
  25. package/dist/chunks/{location-77s5kvpz.js → variant-2zfs5392.js} +23 -23
  26. package/dist/chunks/{location-n7jd5fce.js → variant-321f1ejv.js} +12 -12
  27. package/dist/chunks/{location-dmspabrr.js → variant-39m7k5ja.js} +7 -7
  28. package/dist/chunks/{location-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{location-g9z16n36.js → variant-3ha9j4b5.js} +9 -9
  30. package/dist/chunks/{location-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{location-77q3x2ey.js → variant-3hfvw01m.js} +11 -11
  32. package/dist/chunks/{location-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/variant-3mxr4v0x.js +257 -0
  34. package/dist/chunks/{location-ms93yq6r.js → variant-3rtxz4nr.js} +8 -8
  35. package/dist/chunks/{location-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{location-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{location-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{location-0tpm4bjb.js → variant-40tzx1cc.js} +37 -37
  39. package/dist/chunks/{location-49kmjwym.js → variant-4ahkyf94.js} +26 -26
  40. package/dist/chunks/{location-04p168fs.js → variant-4c90nbtc.js} +43 -43
  41. package/dist/chunks/{location-xkva1xr6.js → variant-4gbdnm18.js} +29 -29
  42. package/dist/chunks/{location-5dkn69vz.js → variant-4j4tgtq5.js} +4 -4
  43. package/dist/chunks/{location-sxzvkvgj.js → variant-4mwpykj0.js} +6 -6
  44. package/dist/chunks/{location-hw962j61.js → variant-4p4gbhws.js} +21 -21
  45. package/dist/chunks/{location-gvtxftkn.js → variant-4shtx8xv.js} +26 -26
  46. package/dist/chunks/{location-t74mf4k5.js → variant-4w4z2t1w.js} +11 -11
  47. package/dist/chunks/{location-yqt3nf50.js → variant-4zh3rk77.js} +20 -20
  48. package/dist/chunks/{location-54ma36ye.js → variant-54ma36ye.js} +1 -1
  49. package/dist/chunks/{location-gq1wrjh7.js → variant-59zxysqc.js} +8 -8
  50. package/dist/chunks/{location-d9x1gjen.js → variant-5epw05xb.js} +85 -83
  51. package/dist/chunks/{location-d8exgxg3.js → variant-5fmj7ta4.js} +10 -10
  52. package/dist/chunks/variant-5gcwdx7a.js +26 -0
  53. package/dist/chunks/{location-sx6g28q1.js → variant-5jvdcdbe.js} +24 -24
  54. package/dist/chunks/{location-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{location-4jdk9bya.js → variant-5nrxcrff.js} +30 -30
  56. package/dist/chunks/{location-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  57. package/dist/chunks/{location-n487pwzc.js → variant-5skg1say.js} +16 -16
  58. package/dist/chunks/{location-a7ysfpsw.js → variant-5wx7ars0.js} +28 -28
  59. package/dist/chunks/{location-4cyjj1kj.js → variant-5xn2s2y6.js} +1 -1
  60. package/dist/chunks/{location-5gcpkkgh.js → variant-5zhj8ry3.js} +4 -4
  61. package/dist/chunks/{location-6827pfxn.js → variant-6827pfxn.js} +1 -1
  62. package/dist/chunks/{location-t1v93gsh.js → variant-6br1b9vz.js} +24 -24
  63. package/dist/chunks/{location-mf02evs1.js → variant-6e96tf19.js} +26 -26
  64. package/dist/chunks/{location-1swd5j6x.js → variant-6jk8qrvt.js} +26 -26
  65. package/dist/chunks/{location-6pc27hjz.js → variant-6pc27hjz.js} +2 -2
  66. package/dist/chunks/{location-wvgy3s2v.js → variant-6tw77w91.js} +42 -42
  67. package/dist/chunks/{location-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{location-evnsakp9.js → variant-70zyjq8j.js} +30 -30
  69. package/dist/chunks/{location-nynfj6vr.js → variant-755d9eqq.js} +2 -2
  70. package/dist/chunks/{location-775gj3j1.js → variant-775gj3j1.js} +2 -2
  71. package/dist/chunks/{location-279651ef.js → variant-77gc1d6b.js} +20 -20
  72. package/dist/chunks/{location-f5rny02c.js → variant-77pc7aym.js} +23 -23
  73. package/dist/chunks/{location-gbpyn874.js → variant-7a5zdfdw.js} +27 -27
  74. package/dist/chunks/{location-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{location-y7nndgyc.js → variant-80z0vyq9.js} +9 -9
  76. package/dist/chunks/{location-s3hasvfa.js → variant-814d0nh1.js} +8 -8
  77. package/dist/chunks/{location-84txncab.js → variant-84txncab.js} +1 -1
  78. package/dist/chunks/{location-2r1q1mzk.js → variant-86vxb3sx.js} +12 -12
  79. package/dist/chunks/{location-8wmyvevz.js → variant-875k33ja.js} +20 -20
  80. package/dist/chunks/{location-6xadtkfd.js → variant-8eq3291x.js} +26 -26
  81. package/dist/chunks/{location-vtevn8b1.js → variant-8gebk434.js} +50 -50
  82. package/dist/chunks/{location-8rw554nj.js → variant-8kyvgn7h.js} +3 -3
  83. package/dist/chunks/{location-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{location-dsc0h7gk.js → variant-8ndt9d3t.js} +20 -20
  85. package/dist/chunks/{location-q0kdvkfz.js → variant-8rhc360h.js} +17 -17
  86. package/dist/chunks/{location-65mft1we.js → variant-8zkgpeg7.js} +4 -4
  87. package/dist/chunks/{location-91qna3x0.js → variant-91qna3x0.js} +3 -3
  88. package/dist/chunks/{location-kqv3x6rj.js → variant-97aeaand.js} +9 -9
  89. package/dist/chunks/{location-q229fd3c.js → variant-987vp8h5.js} +26 -26
  90. package/dist/chunks/{location-gws9cbsr.js → variant-9a249s8k.js} +14 -14
  91. package/dist/chunks/{location-br8m9pad.js → variant-9wggzhwd.js} +79 -79
  92. package/dist/chunks/{location-ngts6ef0.js → variant-a2qe2ev9.js} +8 -8
  93. package/dist/chunks/{location-djcsq056.js → variant-a5h0t34w.js} +17 -17
  94. package/dist/chunks/{location-p6xhd61c.js → variant-a97kj8b3.js} +15 -15
  95. package/dist/chunks/{location-nj7hqrdc.js → variant-a99sy4q1.js} +5 -5
  96. package/dist/chunks/{location-rnb0fp5b.js → variant-aje92c6g.js} +11 -11
  97. package/dist/chunks/{location-9n3bc4fq.js → variant-ake6y9r0.js} +22 -22
  98. package/dist/chunks/{location-yrjdz1vx.js → variant-ax7wezry.js} +23 -23
  99. package/dist/chunks/{location-86bv6903.js → variant-b3cx5dwc.js} +6 -6
  100. package/dist/chunks/{location-4bq5bgy2.js → variant-bfxnahs9.js} +25 -25
  101. package/dist/chunks/{location-aznyfhv6.js → variant-bjfzzc5s.js} +11 -11
  102. package/dist/chunks/{location-kjbqd4k5.js → variant-bjgf8e3h.js} +3 -3
  103. package/dist/chunks/{location-ba07h9gm.js → variant-btfhnvjh.js} +3 -3
  104. package/dist/chunks/{location-2k9fjx65.js → variant-bx0gyb4h.js} +5 -5
  105. package/dist/chunks/{location-p141jy73.js → variant-byaywwgc.js} +4 -4
  106. package/dist/chunks/{location-bzeyqsqd.js → variant-bzeyqsqd.js} +1 -1
  107. package/dist/chunks/{location-c41wscbt.js → variant-c41wscbt.js} +2 -2
  108. package/dist/chunks/{location-mgcym914.js → variant-c7aydyf0.js} +30 -30
  109. package/dist/chunks/{location-c8ax2afj.js → variant-c8ax2afj.js} +2 -2
  110. package/dist/chunks/{location-yy653qm8.js → variant-cbhr45qc.js} +13 -13
  111. package/dist/chunks/{location-596mpw5j.js → variant-ce26274z.js} +29 -29
  112. package/dist/chunks/{location-7mawf7qb.js → variant-cnx16wxb.js} +6 -6
  113. package/dist/chunks/{location-31xfzrxg.js → variant-d1a28jh7.js} +7 -5
  114. package/dist/chunks/{location-k550d0f8.js → variant-d6gyv2zn.js} +23 -23
  115. package/dist/chunks/{location-yvf15whc.js → variant-d6rrdh68.js} +11 -11
  116. package/dist/chunks/{location-q17z9dx8.js → variant-d9wzmzc3.js} +5 -5
  117. package/dist/chunks/{location-vd93shqe.js → variant-da4mxm4z.js} +25 -25
  118. package/dist/chunks/{location-xpakvqd9.js → variant-dk66jcm6.js} +20 -20
  119. package/dist/chunks/{location-35gpyver.js → variant-dky2mvnp.js} +10 -10
  120. package/dist/chunks/{location-dpkg50ah.js → variant-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{location-fn9t717r.js → variant-dq407baf.js} +6 -6
  122. package/dist/chunks/{location-drwq78ky.js → variant-drwq78ky.js} +1 -1
  123. package/dist/chunks/{location-8jer7cp2.js → variant-dtvwj1st.js} +15 -15
  124. package/dist/chunks/variant-dxj72tfx.js +18 -0
  125. package/dist/chunks/{location-pesmq38c.js → variant-dxzrtcw7.js} +4 -4
  126. package/dist/chunks/{location-hw91664y.js → variant-dy42zcpp.js} +3 -3
  127. package/dist/chunks/{location-y54hr7f3.js → variant-dzw83ac5.js} +8 -8
  128. package/dist/chunks/{location-n6pkkeec.js → variant-e26mw538.js} +43 -43
  129. package/dist/chunks/{location-ez5ayfgk.js → variant-e7fj9rcp.js} +11 -11
  130. package/dist/chunks/{location-tj4h5t6p.js → variant-e81pay9y.js} +3 -3
  131. package/dist/chunks/{location-rhjbct0v.js → variant-eaj1djv9.js} +8 -8
  132. package/dist/chunks/{location-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{location-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{location-d5wrgfzq.js → variant-ehrc2hrr.js} +6 -6
  135. package/dist/chunks/{location-r6kb5pcb.js → variant-ejvnp2ks.js} +11 -11
  136. package/dist/chunks/{location-br3dfngf.js → variant-er9v8e0b.js} +4 -4
  137. package/dist/chunks/{location-7h1ysmxt.js → variant-erac1yxk.js} +15 -15
  138. package/dist/chunks/{location-ej844vx3.js → variant-erv565xg.js} +1 -1
  139. package/dist/chunks/{location-es1vcfrp.js → variant-es1vcfrp.js} +3 -3
  140. package/dist/chunks/{location-qdy98gs8.js → variant-f1cc1b27.js} +13 -13
  141. package/dist/chunks/{location-fcy631f0.js → variant-fcy631f0.js} +1 -1
  142. package/dist/chunks/{location-e304bmef.js → variant-fkgrsjec.js} +11 -11
  143. package/dist/chunks/{location-zv1es41t.js → variant-g0knnnvb.js} +11 -11
  144. package/dist/chunks/{location-946prdfx.js → variant-g42k3yx8.js} +32 -32
  145. package/dist/chunks/{location-c765mh8b.js → variant-g6q9qykm.js} +9 -9
  146. package/dist/chunks/{location-6yz0wx8n.js → variant-g6yfr6ja.js} +5 -5
  147. package/dist/chunks/{location-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-j5zx779k.js → variant-gj86fx9c.js} +174 -174
  149. package/dist/chunks/{location-addxnjmp.js → variant-gqtdsdt7.js} +4 -4
  150. package/dist/chunks/{location-0fhz1623.js → variant-gxwgwve4.js} +25 -25
  151. package/dist/chunks/{location-azwc7e5n.js → variant-gzgdncdj.js} +22 -22
  152. package/dist/chunks/{location-vp03p32s.js → variant-h07937sj.js} +17 -17
  153. package/dist/chunks/{location-hsjvmpjh.js → variant-h0vknvkg.js} +8 -8
  154. package/dist/chunks/{location-pt7wvqpt.js → variant-h3j7tw64.js} +16 -16
  155. package/dist/chunks/{location-xgsyd334.js → variant-h55ev976.js} +25 -25
  156. package/dist/chunks/{location-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{location-95046942.js → variant-hcwq51g4.js} +3 -3
  158. package/dist/chunks/{location-4dr1jy63.js → variant-hdzzamp5.js} +22 -22
  159. package/dist/chunks/{location-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{location-72nqjsff.js → variant-hkbk155w.js} +14 -14
  161. package/dist/chunks/{location-d2326s1m.js → variant-hmf53ygj.js} +28 -28
  162. package/dist/chunks/{location-c9phwppx.js → variant-hnsqakx3.js} +15 -15
  163. package/dist/chunks/{location-4r8naqcn.js → variant-hv8trv8t.js} +9 -9
  164. package/dist/chunks/{location-bh8v5ww5.js → variant-hyc6nb5f.js} +20 -20
  165. package/dist/chunks/{location-9tg3nv82.js → variant-hzmbbkvz.js} +31 -31
  166. package/dist/chunks/{location-7bbe0ka3.js → variant-j15f634k.js} +45 -45
  167. package/dist/chunks/{location-k0rwae6a.js → variant-je3ncztn.js} +13 -13
  168. package/dist/chunks/{location-2170x3g5.js → variant-jj71mszr.js} +11 -11
  169. package/dist/chunks/{location-xfkdt1e3.js → variant-jm1yb898.js} +50 -50
  170. package/dist/chunks/{location-85xxa1xb.js → variant-jn2j5c43.js} +3 -3
  171. package/dist/chunks/{location-y4fre6jr.js → variant-jrx5985g.js} +32 -32
  172. package/dist/chunks/{location-11dqjexa.js → variant-jvb9xte8.js} +9 -9
  173. package/dist/chunks/{location-7hnrkwye.js → variant-jygkwv30.js} +17 -17
  174. package/dist/chunks/{location-ratrq7cm.js → variant-k76krqzs.js} +4 -4
  175. package/dist/chunks/{location-d858xzj7.js → variant-kkp8zx71.js} +4 -4
  176. package/dist/chunks/{location-5ppqnkm2.js → variant-kq4w7yff.js} +6 -6
  177. package/dist/chunks/{location-ek28ef31.js → variant-kr7jy07f.js} +33 -33
  178. package/dist/chunks/{location-kwb1v3vj.js → variant-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{location-z9yvgd5a.js → variant-kwd6154r.js} +32 -32
  180. package/dist/chunks/{location-hewkcgwf.js → variant-kxbqcyhs.js} +15 -15
  181. package/dist/chunks/{location-agxtpttf.js → variant-m4t6kx0z.js} +15 -15
  182. package/dist/chunks/{location-07770t2t.js → variant-m91gvp7t.js} +6 -6
  183. package/dist/chunks/{location-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-maspj1v3.js → variant-maspj1v3.js} +1 -1
  185. package/dist/chunks/{location-p76n1axe.js → variant-mc9a8anj.js} +42 -42
  186. package/dist/chunks/{location-chy52nxf.js → variant-mfrqb4hk.js} +14 -14
  187. package/dist/chunks/{location-t6g1a1tj.js → variant-mrtxs28p.js} +4 -4
  188. package/dist/chunks/{location-ws642w3m.js → variant-mwn3kz1y.js} +24 -24
  189. package/dist/chunks/{location-967benbv.js → variant-n61013np.js} +11 -11
  190. package/dist/chunks/{location-80rg9w16.js → variant-n91cq9nb.js} +3 -3
  191. package/dist/chunks/{location-5srbszfv.js → variant-ndk58h8z.js} +13 -13
  192. package/dist/chunks/{location-r9q2q9h8.js → variant-nkvwea84.js} +9 -9
  193. package/dist/chunks/{location-xn39yem9.js → variant-npnc5hq3.js} +7 -7
  194. package/dist/chunks/{location-8xd334rx.js → variant-p102tpkp.js} +48 -30
  195. package/dist/chunks/{location-mas8jxpn.js → variant-p10qf8gn.js} +8 -8
  196. package/dist/chunks/{location-f7d2f8sr.js → variant-pbp0m9hy.js} +32 -32
  197. package/dist/chunks/{location-t2m0r48e.js → variant-pcp44bm4.js} +6 -6
  198. package/dist/chunks/{location-ecd3m7kj.js → variant-pdc02abw.js} +11 -11
  199. package/dist/chunks/{location-9hn6k4tm.js → variant-phstrbs2.js} +8 -8
  200. package/dist/chunks/{location-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{location-pknna89w.js → variant-pknna89w.js} +1 -1
  202. package/dist/chunks/{location-a8y8kc78.js → variant-pssjzh93.js} +28 -28
  203. package/dist/chunks/{location-2ryng5r3.js → variant-pyg4v0b6.js} +4 -4
  204. package/dist/chunks/{location-qz3gmm2p.js → variant-qdnm7966.js} +3 -3
  205. package/dist/chunks/{location-0ayascqm.js → variant-qdvnb8q8.js} +5 -5
  206. package/dist/chunks/{location-fcrkznn8.js → variant-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{location-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{location-f7fbxzn5.js → variant-qnjf4cxx.js} +5 -5
  209. package/dist/chunks/{location-y729g6m6.js → variant-qscxgnxz.js} +9 -9
  210. package/dist/chunks/{location-qsdy395h.js → variant-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-fexx2wnt.js → variant-qve0vfwn.js} +4 -4
  212. package/dist/chunks/{location-tystnwaz.js → variant-r65fsh7z.js} +14 -14
  213. package/dist/chunks/{location-x4t79far.js → variant-rd19d09e.js} +5 -5
  214. package/dist/chunks/{location-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{location-f85jeg19.js → variant-rk8bth6d.js} +11 -11
  216. package/dist/chunks/{location-kdjm1ewm.js → variant-rp03b2v5.js} +6 -6
  217. package/dist/chunks/{location-f6w3bzx6.js → variant-rrj8saf7.js} +5 -5
  218. package/dist/chunks/{location-8r1bk9m8.js → variant-rsfafasw.js} +18 -18
  219. package/dist/chunks/{location-nrp9mwhy.js → variant-s375a249.js} +14 -14
  220. package/dist/chunks/{location-d4xra4yg.js → variant-s6wmg1yx.js} +8 -8
  221. package/dist/chunks/{location-gq9rs75s.js → variant-s8kn2x8c.js} +19 -19
  222. package/dist/chunks/{location-74e7m4fh.js → variant-sb8kphm5.js} +42 -42
  223. package/dist/chunks/{location-980kq1k5.js → variant-skerjvek.js} +5 -5
  224. package/dist/chunks/{location-2dqxsat8.js → variant-srjn715j.js} +8 -8
  225. package/dist/chunks/{location-e80seqcp.js → variant-sxcaecc0.js} +3 -3
  226. package/dist/chunks/{location-syv4x271.js → variant-syv4x271.js} +1 -1
  227. package/dist/chunks/{location-x6k905z3.js → variant-t69yyt7n.js} +10 -10
  228. package/dist/chunks/{location-3zkbaef1.js → variant-t86fkjrn.js} +45 -45
  229. package/dist/chunks/{location-7a08grbq.js → variant-t95r54st.js} +10 -10
  230. package/dist/chunks/{location-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{location-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{location-1g4xzv17.js → variant-tczk5dww.js} +14 -14
  233. package/dist/chunks/{location-tdstcens.js → variant-tdstcens.js} +1 -1
  234. package/dist/chunks/{location-tkb22qbm.js → variant-tkb22qbm.js} +2 -2
  235. package/dist/chunks/{location-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
  236. package/dist/chunks/{location-gbgj9g7h.js → variant-tq17wahx.js} +24 -24
  237. package/dist/chunks/{location-76wwsgby.js → variant-ts8pmwjm.js} +11 -11
  238. package/dist/chunks/{location-508w5ebs.js → variant-tx25dm1j.js} +21 -21
  239. package/dist/chunks/{location-9y8p4kwc.js → variant-txz88p3m.js} +17 -14
  240. package/dist/chunks/{location-tyytaxap.js → variant-tyytaxap.js} +1 -1
  241. package/dist/chunks/{location-v210v162.js → variant-v210v162.js} +2 -2
  242. package/dist/chunks/{location-y9wpg32p.js → variant-v5gx96xa.js} +7 -7
  243. package/dist/chunks/{location-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{location-qd7chy0n.js → variant-vbysqr17.js} +12 -12
  245. package/dist/chunks/{location-sf3h3gbp.js → variant-ve2mjq42.js} +24 -24
  246. package/dist/chunks/{location-veqvce7d.js → variant-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-79mg13ta.js → variant-vp263n6k.js} +30 -30
  248. package/dist/chunks/{location-96pkh5sd.js → variant-vste0f9s.js} +18 -18
  249. package/dist/chunks/{location-9ykzgad9.js → variant-vtqn14gq.js} +10 -10
  250. package/dist/chunks/{location-gqqemsvr.js → variant-vwe4kmr6.js} +11 -11
  251. package/dist/chunks/{location-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{location-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-v5kskatz.js → variant-w6sjmjwz.js} +19 -19
  254. package/dist/chunks/{location-6764vk3q.js → variant-w98xyk9k.js} +43 -43
  255. package/dist/chunks/{location-8twfw7wm.js → variant-wc02s9yn.js} +13 -13
  256. package/dist/chunks/{location-wd87259q.js → variant-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-ha3n25mh.js → variant-wfwdvame.js} +18 -18
  258. package/dist/chunks/{location-tm4g9m88.js → variant-wksaar7t.js} +5 -5
  259. package/dist/chunks/{location-2656ff51.js → variant-wnnvyxh9.js} +27 -27
  260. package/dist/chunks/{location-xsykp6z4.js → variant-wqb8epsc.js} +13 -13
  261. package/dist/chunks/{location-8erdrt3b.js → variant-x82e3n7x.js} +20 -20
  262. package/dist/chunks/{location-af6x59c3.js → variant-xazgbj1z.js} +16 -16
  263. package/dist/chunks/{location-dxq1tm2j.js → variant-xbsw244s.js} +7 -7
  264. package/dist/chunks/{location-x5mh70ph.js → variant-xcnx8s4x.js} +18 -18
  265. package/dist/chunks/{location-88q2kk7w.js → variant-xcp33tng.js} +12 -12
  266. package/dist/chunks/{location-jhdf29st.js → variant-xt4njr3s.js} +1 -1
  267. package/dist/chunks/{location-t3crqbkt.js → variant-y0b9s196.js} +6 -6
  268. package/dist/chunks/{location-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-yrq96tw7.js → variant-y2mqe777.js} +59 -59
  270. package/dist/chunks/{location-0br3sbwn.js → variant-y5rf7nzv.js} +4 -4
  271. package/dist/chunks/{location-q2yp5mm4.js → variant-yhmqr890.js} +10 -10
  272. package/dist/chunks/{location-kecqjjhm.js → variant-ynh10gny.js} +5 -5
  273. package/dist/chunks/{location-e6tgbxcd.js → variant-ynry5ybj.js} +30 -30
  274. package/dist/chunks/{location-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{location-jfw8sxf1.js → variant-yq5gx6k0.js} +4 -4
  276. package/dist/chunks/{location-f3m5b7dq.js → variant-ysjrn4yj.js} +25 -25
  277. package/dist/chunks/{location-bjx1sjef.js → variant-ywt8jp22.js} +9 -9
  278. package/dist/chunks/{location-5hzva5en.js → variant-yzxehce5.js} +14 -14
  279. package/dist/chunks/{location-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{location-0ghrdfc7.js → variant-z9m5qar5.js} +16 -16
  281. package/dist/chunks/{location-06x8he3q.js → variant-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{location-syyme4qc.js → variant-zewbgjb2.js} +2 -2
  283. package/dist/chunks/{location-r26zpbq3.js → variant-zhy09m26.js} +17 -17
  284. package/dist/chunks/{location-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{location-sff9pyzt.js → variant-zsp4bc1b.js} +11 -11
  286. package/dist/chunks/{location-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 +77 -77
  292. package/dist/config/discovery.js +84 -84
  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 +87 -87
  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 +369 -369
  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 +97 -97
  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 +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  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 +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  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 +89 -89
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  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 +105 -105
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  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 +98 -98
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +121 -121
  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 +331 -331
  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 +2 -2
  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 +114 -114
  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 +116 -116
  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 +350 -350
  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 +223 -223
  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 +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  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 +136 -136
  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 +125 -125
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +86 -86
  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 +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +1 -1
  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 +2 -2
  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 +210 -210
  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 +11 -11
  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 +93 -93
  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 +126 -126
  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 +126 -126
  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 +120 -120
  644. package/dist/tool/plugin/question.js +103 -103
  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/webfetch.js +112 -112
  650. package/dist/tool/plugin/websearch.js +108 -108
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +14 -14
  656. package/dist/types/session/session.d.ts +2 -0
  657. package/dist/types/session/store.d.ts +3 -0
  658. package/dist/types/session.d.ts +5 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +95 -95
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +91 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +84 -84
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +89 -89
  691. package/dist/worktree.js +96 -96
  692. package/package.json +8 -8
  693. package/dist/chunks/location-4v7qdvcn.js +0 -18
  694. package/dist/chunks/location-b84aqzgf.js +0 -257
  695. package/dist/chunks/location-xzhrxm47.js +0 -26
  696. /package/dist/chunks/{location-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{location-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{location-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{location-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{location-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{location-24dcb14g.js → variant-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{location-2710q6r3.js → variant-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{location-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{location-2bv980vf.js → variant-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{location-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{location-359p4xyc.js → variant-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{location-3asan66x.js → variant-3asan66x.js} +0 -0
  708. /package/dist/chunks/{location-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{location-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{location-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{location-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{location-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{location-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{location-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{location-53557ph1.js → variant-53557ph1.js} +0 -0
  716. /package/dist/chunks/{location-550bvhaj.js → variant-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{location-6prwharc.js → variant-6prwharc.js} +0 -0
  718. /package/dist/chunks/{location-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{location-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{location-7m9af43g.js → variant-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{location-822emrt2.js → variant-822emrt2.js} +0 -0
  722. /package/dist/chunks/{location-84wd9syh.js → variant-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{location-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{location-8n3pysct.js → variant-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{location-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{location-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{location-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{location-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{location-af5trqkr.js → variant-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{location-afrmfg78.js → variant-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{location-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{location-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{location-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{location-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{location-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{location-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{location-d9fn303g.js → variant-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{location-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{location-dajrwvna.js → variant-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{location-dap0rakb.js → variant-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{location-df08tz66.js → variant-df08tz66.js} +0 -0
  742. /package/dist/chunks/{location-dy18nga0.js → variant-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{location-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{location-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{location-ec1grn59.js → variant-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{location-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{location-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{location-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{location-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{location-faypxj3z.js → variant-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{location-fd410y7t.js → variant-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{location-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{location-g86h250q.js → variant-g86h250q.js} +0 -0
  754. /package/dist/chunks/{location-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{location-gftt206x.js → variant-gftt206x.js} +0 -0
  756. /package/dist/chunks/{location-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{location-hk9envan.js → variant-hk9envan.js} +0 -0
  758. /package/dist/chunks/{location-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{location-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{location-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{location-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{location-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{location-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{location-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{location-m18g726c.js → variant-m18g726c.js} +0 -0
  766. /package/dist/chunks/{location-mp448xyj.js → variant-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{location-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{location-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{location-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{location-njntx4h6.js → variant-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{location-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{location-pyv0edze.js → variant-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{location-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-q74kybfr.js → variant-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{location-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{location-w803qqfp.js → variant-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{location-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{location-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{location-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{location-wtztk69x.js → variant-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-x61499pn.js → variant-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-y44na4kk.js → variant-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-y8f7s663.js → variant-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{location-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{location-ym463w8f.js → variant-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{location-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{location-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-hgz4x7wa.js";
3
+ } from "./variant-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-z5v4ffb3.js";
6
+ } from "./variant-z5v4ffb3.js";
7
7
  import {
8
8
  Service82
9
- } from "./location-syyme4qc.js";
9
+ } from "./variant-zewbgjb2.js";
10
10
  import {
11
- Service71
12
- } from "./location-hw962j61.js";
11
+ Service64
12
+ } from "./variant-4p4gbhws.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service70
16
- } from "./location-1g4xzv17.js";
15
+ Service63
16
+ } from "./variant-tczk5dww.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./location-8r1bk9m8.js";
23
+ } from "./variant-rsfafasw.js";
24
24
  import {
25
- Service59
26
- } from "./location-yrq96tw7.js";
25
+ Service76
26
+ } from "./variant-y2mqe777.js";
27
27
  import {
28
- Service21
29
- } from "./location-3kyydbkc.js";
28
+ Service75
29
+ } from "./variant-0frz0xt1.js";
30
30
  import {
31
31
  __export
32
- } from "./location-9rqn6x4v.js";
32
+ } from "./variant-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input6,
38
+ Input: () => Input8,
39
39
  Output: () => Output5,
40
- Plugin: () => Plugin42,
41
- name: () => name6,
42
- toModelContent: () => toModelContent3
40
+ Plugin: () => Plugin26,
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name6 = "grep";
48
- var Input6 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -66,7 +66,7 @@ var Input6 = Schema.Struct({
66
66
  })
67
67
  });
68
68
  var Output5 = Schema.Array(Match2);
69
- var toModelContent3 = (matches, truncated = false) => {
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin42 = {
86
+ var Plugin26 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service71;
90
- const ripgrep = yield* Service70;
89
+ const environment = yield* Service64;
90
+ const ripgrep = yield* Service63;
91
91
  const location = yield* Service82;
92
- const access = yield* Service21;
93
- const permission = yield* Service59;
92
+ const access = yield* Service75;
93
+ const permission = yield* Service76;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name6,
95
+ name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input6,
98
+ input: Input8,
99
99
  output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name6,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin42 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent3(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin42 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name6, Input6, Output5, toModelContent3, Plugin42, exports_grep };
157
+ export { name8, Input8, Output5, toModelContent4, Plugin26, exports_grep };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load5() {
3
+ function load4() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load5 };
9
+ export { load4 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./location-tj4h5t6p.js";
4
+ } from "./variant-e81pay9y.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./location-rhjbct0v.js";
10
+ } from "./variant-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./location-es1vcfrp.js";
13
+ } from "./variant-es1vcfrp.js";
14
14
  import {
15
15
  __export
16
- } from "./location-9rqn6x4v.js";
16
+ } from "./variant-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info3,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service31,
25
+ Service: () => Service30,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info3 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service31 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service30 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service31, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
79
79
  const { db } = yield* Service86;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service31.of({ list, put, remove, load });
111
+ return Service30.of({ list, put, remove, load });
112
112
  }));
113
- var node34 = makeLocationNode({ service: Service31, layer, deps: [node90] });
113
+ var node34 = makeLocationNode({ service: Service30, layer, deps: [node90] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node34, exports_instruction_entry };
115
+ export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node34, exports_instruction_entry };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service59
3
- } from "./location-yrq96tw7.js";
2
+ Service76
3
+ } from "./variant-y2mqe777.js";
4
4
  import {
5
- ID6,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service54
10
- } from "./location-9n3bc4fq.js";
9
+ Service53
10
+ } from "./variant-ake6y9r0.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input7,
19
- Output: () => Output6,
20
- Plugin: () => Plugin43,
21
- SkillTool: () => exports_skill3,
22
- description: () => description3,
23
- name: () => name7,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input2,
19
+ Output: () => Output2,
20
+ Plugin: () => Plugin20,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description2,
23
+ name: () => name2,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name7 = "skill";
30
- var Input7 = Schema.Struct({
31
- id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name2 = "skill";
30
+ var Input2 = Schema.Struct({
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output6 = Schema.Struct({
33
+ var Output2 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description2 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin43 = {
46
+ var Plugin20 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service54;
51
- const permission = yield* Service59;
50
+ const skills = yield* Service53;
51
+ const permission = yield* Service76;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name7,
53
+ name: name2,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input7,
57
- output: Output6,
55
+ description: description2,
56
+ input: Input2,
57
+ output: Output2,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name7,
64
+ action: name2,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin43 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name7, Input7, Output6, description3, toModelOutput2, Plugin43, exports_skill3 };
82
+ export { name2, Input2, Output2, description2, toModelOutput2, Plugin20, exports_skill2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./location-nynfj6vr.js";
5
+ } from "./variant-755d9eqq.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./location-88q2kk7w.js";
3
+ } from "./variant-xcp33tng.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make6 = createLocalProviderPlugin2({
22
+ var make8 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make6();
41
+ var LMStudioPlugin2 = make8();
42
42
 
43
- export { make6, LMStudioPlugin2 };
43
+ export { make8, LMStudioPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./location-88xbtdfr.js";
3
+ } from "./variant-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./location-e3qxr5gk.js";
5
+ load4
6
+ } from "./variant-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event14,
14
+ Event: () => Event7,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service67,
16
+ Options: () => Options8,
17
+ Service: () => Service49,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured10,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer25,
22
+ layer: () => layer23,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node70,
25
+ node: () => node51,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event14 = { Updated: FileSystem.Event.Changed };
36
+ var Event7 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service67 extends Context.Service()("@opencode/Watcher") {
60
+ class Service49 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
65
+ var layer23 = (options) => Layer.effect(Service49, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service49.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service67.of({ subscribe });
108
+ return Service49.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service67).subscribe,
134
+ subscribe: Context.get(context, Service49).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service49, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured10(options) {
168
- return makeGlobalNode({ service: Service67, layer: layer25(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service49, layer: layer23(options), deps: [nativeNode2] });
169
169
  }
170
- var node70 = configured10();
170
+ var node51 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options9, Service67, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured10, node70, exports_watcher };
190
+ export { Event7, hasNativeBinding2, Native3, Options8, Service49, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured7, node51, exports_watcher };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID10,
3
- Service63
4
- } from "./location-sf3h3gbp.js";
2
+ ID16,
3
+ Service80
4
+ } from "./variant-ve2mjq42.js";
5
5
  import {
6
6
  Service82
7
- } from "./location-syyme4qc.js";
7
+ } from "./variant-zewbgjb2.js";
8
8
  import {
9
- Service66
10
- } from "./location-wgkxnvdd.js";
9
+ Service48
10
+ } from "./variant-2bpk9f3k.js";
11
11
  import {
12
- Service50,
12
+ Service55,
13
13
  args2
14
- } from "./location-7h1ysmxt.js";
14
+ } from "./variant-erac1yxk.js";
15
15
  import {
16
- Service25
17
- } from "./location-d9x1gjen.js";
16
+ Service22
17
+ } from "./variant-5epw05xb.js";
18
18
  import {
19
- Service11
20
- } from "./location-gq9rs75s.js";
19
+ Service10
20
+ } from "./variant-s8kn2x8c.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./location-8m6m0r52.js";
23
+ } from "./variant-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./location-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: () => Plugin23
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin4
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 Plugin23 = define({
44
+ var Plugin4 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service66;
47
+ const config = yield* Service48;
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 Plugin23 = define({
56
56
  });
57
57
  const location = yield* Service82;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service50;
60
- const sessions = yield* Service25;
61
- const agents = yield* Service63;
62
- const subagents = yield* Service11;
59
+ const shell = yield* Service55;
60
+ const sessions = yield* Service22;
61
+ const agents = yield* Service80;
62
+ const subagents = yield* Service10;
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 Plugin23 = 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 : ID16.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 { Plugin23, exports_command2 };
207
+ export { Plugin4, exports_command };