@opencode/core 0.0.0-dev-19514 → 0.0.0-dev-19515

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{file-wywpfvj8.js → provider-059fs9mx.js} +20 -20
  9. package/dist/chunks/{file-tjr0drtg.js → provider-0aq61y81.js} +13 -13
  10. package/dist/chunks/{file-xx4ze2dw.js → provider-0epqkpm1.js} +9 -9
  11. package/dist/chunks/{file-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-0q0f95c6.js → provider-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{file-f49kx7ec.js → provider-0vt2xqgk.js} +15 -15
  14. package/dist/chunks/{file-msprhwgy.js → provider-0wvc6jt9.js} +22 -22
  15. package/dist/chunks/{file-1dgfjwgv.js → provider-13pq2pdm.js} +24 -24
  16. package/dist/chunks/{file-b27vhd2z.js → provider-19vf66h0.js} +4 -4
  17. package/dist/chunks/{file-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-jwadv04f.js → provider-1ddtjyqg.js} +32 -32
  19. package/dist/chunks/{file-hy7ma9dc.js → provider-1jc936zz.js} +23 -23
  20. package/dist/chunks/{file-h2fpsr6d.js → provider-1p8j09kx.js} +12 -12
  21. package/dist/chunks/{file-pxs9g58w.js → provider-20m76snv.js} +47 -47
  22. package/dist/chunks/{file-0dzcdmmm.js → provider-21jzgs9a.js} +11 -11
  23. package/dist/chunks/{file-21r38tys.js → provider-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-2402vzrj.js → provider-2402vzrj.js} +1 -1
  25. package/dist/chunks/{file-86de9m55.js → provider-27zn5j18.js} +8 -8
  26. package/dist/chunks/{file-z63w68vq.js → provider-29x78va6.js} +6 -6
  27. package/dist/chunks/{file-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-84zt2byv.js → provider-2bt6bea8.js} +9 -9
  29. package/dist/chunks/{file-kt5w8vxh.js → provider-2dvxsv9x.js} +10 -10
  30. package/dist/chunks/{file-52hm8910.js → provider-2jbxqxhr.js} +7 -7
  31. package/dist/chunks/{file-7dqw4kz8.js → provider-2k8khapm.js} +5 -5
  32. package/dist/chunks/{file-n01rjve2.js → provider-2m65srx0.js} +20 -20
  33. package/dist/chunks/{file-3w0fmcng.js → provider-2qp6y8xf.js} +5 -5
  34. package/dist/chunks/{file-ye1tt27n.js → provider-2s89973z.js} +37 -37
  35. package/dist/chunks/{file-fh5t8s2q.js → provider-35eprwbn.js} +1 -1
  36. package/dist/chunks/{file-715w4jb6.js → provider-3cg8wryf.js} +9 -9
  37. package/dist/chunks/{file-hkfg6fzm.js → provider-3cz8rj72.js} +5 -5
  38. package/dist/chunks/{file-1j388zrc.js → provider-3dxr2zf4.js} +27 -27
  39. package/dist/chunks/{file-3jrr9nrh.js → provider-3f1za49c.js} +4 -4
  40. package/dist/chunks/{file-gdvy8fx6.js → provider-3fc6dm20.js} +4 -4
  41. package/dist/chunks/{file-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-p33ejz0k.js → provider-3jp54z3r.js} +1 -1
  43. package/dist/chunks/{file-vm34h1x5.js → provider-3mc2fgte.js} +8 -8
  44. package/dist/chunks/{file-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-ee39sspt.js → provider-3sxz0rca.js} +35 -35
  46. package/dist/chunks/{file-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-d9s96shc.js → provider-3wfeb9p8.js} +50 -50
  48. package/dist/chunks/{file-7rxw70p2.js → provider-43dgb45m.js} +13 -13
  49. package/dist/chunks/{file-skmtrd5n.js → provider-44a9ae37.js} +29 -29
  50. package/dist/chunks/{file-bm7vyjfb.js → provider-4614hqwg.js} +11 -11
  51. package/dist/chunks/{file-8j5k38c8.js → provider-4mwwxnhq.js} +11 -11
  52. package/dist/chunks/{file-4y66k410.js → provider-4y66k410.js} +2 -2
  53. package/dist/chunks/{file-56gdpj1q.js → provider-56gdpj1q.js} +2 -2
  54. package/dist/chunks/{file-5daktx2q.js → provider-5daktx2q.js} +1 -1
  55. package/dist/chunks/{file-6d9mz4vp.js → provider-5kptn8c0.js} +9 -9
  56. package/dist/chunks/{file-6h539xbt.js → provider-5mwnqeqx.js} +10 -10
  57. package/dist/chunks/{file-nrafk414.js → provider-5nmhxvv8.js} +32 -32
  58. package/dist/chunks/{file-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{file-40p7j5ff.js → provider-5vgnmgpm.js} +20 -20
  60. package/dist/chunks/{file-dedq8wa1.js → provider-63n4gx86.js} +11 -11
  61. package/dist/chunks/{file-jm6kzkv1.js → provider-65ndygh0.js} +3 -3
  62. package/dist/chunks/{file-669tq793.js → provider-669tq793.js} +1 -1
  63. package/dist/chunks/{file-6h09v0nk.js → provider-6agwt34k.js} +28 -28
  64. package/dist/chunks/{file-mpvjdhq3.js → provider-6jtjhyr8.js} +41 -41
  65. package/dist/chunks/provider-6kdq0pjd.js +4 -0
  66. package/dist/chunks/{file-gy7w27zy.js → provider-6mg3rapr.js} +6 -6
  67. package/dist/chunks/{file-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{file-br4mb8ra.js → provider-6s1ns7mr.js} +21 -21
  69. package/dist/chunks/{file-h9n27kr1.js → provider-6s9nm4sm.js} +59 -59
  70. package/dist/chunks/{file-7rd885s9.js → provider-6tzc8vz6.js} +26 -26
  71. package/dist/chunks/{file-bvr7grfh.js → provider-6vj01xgp.js} +4 -4
  72. package/dist/chunks/{file-3yqybkx7.js → provider-70g36m39.js} +17 -17
  73. package/dist/chunks/{file-71q4at8m.js → provider-71q4at8m.js} +1 -1
  74. package/dist/chunks/{file-365b2wx5.js → provider-79e6a9cn.js} +151 -151
  75. package/dist/chunks/{file-tpw6cwsb.js → provider-7b15y959.js} +6 -6
  76. package/dist/chunks/{file-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  77. package/dist/chunks/provider-7fj5dwt0.js +18 -0
  78. package/dist/chunks/{file-2scwh29m.js → provider-7m9y9qn0.js} +41 -41
  79. package/dist/chunks/provider-7s83b9yk.js +247 -0
  80. package/dist/chunks/{file-96v5c2p5.js → provider-82n8eww3.js} +23 -23
  81. package/dist/chunks/{file-g7hhbneb.js → provider-880bzhav.js} +18 -18
  82. package/dist/chunks/{file-ep6qz3j5.js → provider-8c7y8dn0.js} +5 -5
  83. package/dist/chunks/{file-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{file-8p4f9s12.js → provider-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{file-sj50v99f.js → provider-8qt0rzb8.js} +19 -19
  86. package/dist/chunks/{file-pef5zs3s.js → provider-8r08b25s.js} +19 -19
  87. package/dist/chunks/{file-71eqg07f.js → provider-8rq3gmwa.js} +17 -17
  88. package/dist/chunks/{file-mv3cm7pe.js → provider-917zdv8c.js} +16 -16
  89. package/dist/chunks/{file-fbgw5egt.js → provider-9bgyk126.js} +85 -85
  90. package/dist/chunks/{file-0rymwcrg.js → provider-9eg1w2ne.js} +30 -30
  91. package/dist/chunks/{file-s8b69be9.js → provider-9mjj0np4.js} +8 -8
  92. package/dist/chunks/{file-5ppegk2h.js → provider-9wgrhtqh.js} +5 -5
  93. package/dist/chunks/{file-eg10bheh.js → provider-9zy2xjhp.js} +33 -33
  94. package/dist/chunks/{file-a1bz86dw.js → provider-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{file-embs9rr0.js → provider-a6abw5cg.js} +21 -21
  96. package/dist/chunks/{file-aaet6srn.js → provider-aaet6srn.js} +2 -2
  97. package/dist/chunks/{file-q6vwf3nd.js → provider-aep6wmkx.js} +6 -6
  98. package/dist/chunks/{file-g6fqja2m.js → provider-af1zye0v.js} +10 -10
  99. package/dist/chunks/{file-xc694gh7.js → provider-agwgt4ts.js} +6 -6
  100. package/dist/chunks/{file-30f1x3mc.js → provider-aq39gh99.js} +13 -13
  101. package/dist/chunks/{file-7n50n386.js → provider-avq7f719.js} +7 -7
  102. package/dist/chunks/{file-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{file-rzmkrbvb.js → provider-b6hy6gkz.js} +2 -2
  104. package/dist/chunks/{file-nw0z258d.js → provider-bb10rvgt.js} +15 -15
  105. package/dist/chunks/{file-qtptnsh1.js → provider-bbarxbyb.js} +1 -1
  106. package/dist/chunks/{file-ma9yb35x.js → provider-bf375p48.js} +9 -9
  107. package/dist/chunks/{file-jsa2395n.js → provider-bj8pk1h0.js} +30 -30
  108. package/dist/chunks/{file-b7kmpk6t.js → provider-bj92tvmk.js} +44 -44
  109. package/dist/chunks/{file-r8vf1f61.js → provider-by4xtjq4.js} +6 -6
  110. package/dist/chunks/{file-xy0cewe0.js → provider-c2bh7n43.js} +11 -11
  111. package/dist/chunks/{file-znf35ddy.js → provider-c9nd8tak.js} +43 -43
  112. package/dist/chunks/{file-pv06hj7d.js → provider-cdt90cdf.js} +2 -2
  113. package/dist/chunks/{file-cfpkc3c9.js → provider-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{file-37yfqsb0.js → provider-cfrg58jt.js} +11 -11
  115. package/dist/chunks/{file-a3rvyvck.js → provider-cg1ew3t4.js} +3 -3
  116. package/dist/chunks/{file-jfahe5dm.js → provider-cg8rhwe6.js} +7 -7
  117. package/dist/chunks/{file-3ec5gh45.js → provider-cgpav5ev.js} +14 -14
  118. package/dist/chunks/{file-4we3c2am.js → provider-cgwzkpq9.js} +20 -20
  119. package/dist/chunks/{file-3kwdbmfv.js → provider-cncyymjp.js} +27 -27
  120. package/dist/chunks/{file-hy9khhh5.js → provider-cp65ze15.js} +4 -4
  121. package/dist/chunks/{file-e5y2w16d.js → provider-crn6nz6p.js} +13 -13
  122. package/dist/chunks/{file-msq0jde0.js → provider-csf2jhsg.js} +4 -4
  123. package/dist/chunks/{file-fs5r8wpj.js → provider-cw78x96k.js} +20 -20
  124. package/dist/chunks/{file-rny9rhyh.js → provider-cz4prtxp.js} +4 -4
  125. package/dist/chunks/{file-0r7yqxbf.js → provider-d1khqved.js} +5 -5
  126. package/dist/chunks/{file-t4fqcf9n.js → provider-d2v740yb.js} +24 -24
  127. package/dist/chunks/{file-8secz49e.js → provider-d32qb1z3.js} +28 -28
  128. package/dist/chunks/{file-23mbrqv5.js → provider-da6kr1wx.js} +2 -2
  129. package/dist/chunks/{file-mbpbw8jh.js → provider-ddcztwyx.js} +10 -10
  130. package/dist/chunks/{file-v8xrsrn8.js → provider-dk0zpy9w.js} +4 -4
  131. package/dist/chunks/{file-qeden6pr.js → provider-dptdzbd5.js} +26 -26
  132. package/dist/chunks/{file-h6f2rjkg.js → provider-dvm9cexd.js} +19 -19
  133. package/dist/chunks/{file-8g5hs4np.js → provider-e03nkfvf.js} +40 -40
  134. package/dist/chunks/{file-sv08ktng.js → provider-e31khs9j.js} +13 -13
  135. package/dist/chunks/{file-5vpje3g0.js → provider-e5bkhh6f.js} +14 -14
  136. package/dist/chunks/{file-c0n50874.js → provider-e78zjprw.js} +9 -9
  137. package/dist/chunks/{file-m3krncyp.js → provider-e7tmvv6q.js} +15 -15
  138. package/dist/chunks/{file-m6qbstta.js → provider-em5e1hc8.js} +3 -3
  139. package/dist/chunks/{file-0a423ajn.js → provider-emv1mhks.js} +43 -43
  140. package/dist/chunks/{file-9khdf5s3.js → provider-epk4gxbx.js} +11 -11
  141. package/dist/chunks/{file-07ch4k8a.js → provider-eqcjdke8.js} +26 -26
  142. package/dist/chunks/{file-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{file-wd6ep4mh.js → provider-eztf1wzg.js} +1 -1
  144. package/dist/chunks/{file-yb2a0x4v.js → provider-f6fv9kt7.js} +5 -5
  145. package/dist/chunks/{file-f828m53h.js → provider-f828m53h.js} +2 -2
  146. package/dist/chunks/{file-ar7nfc0b.js → provider-fd3whvwn.js} +28 -28
  147. package/dist/chunks/{file-8a2qdx2a.js → provider-ff0htmxq.js} +6 -6
  148. package/dist/chunks/{file-92vqf0gg.js → provider-fjzk1t67.js} +18 -18
  149. package/dist/chunks/{file-kmv05cyx.js → provider-fqa85krr.js} +30 -30
  150. package/dist/chunks/{file-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{file-fg1gh0c9.js → provider-g616ba88.js} +32 -32
  152. package/dist/chunks/{file-9cfgjn1d.js → provider-g7tzfezq.js} +12 -12
  153. package/dist/chunks/{file-cyfhm506.js → provider-g85wbd3d.js} +17 -17
  154. package/dist/chunks/{file-0gdmqesm.js → provider-gbt6w4kb.js} +8 -8
  155. package/dist/chunks/{file-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{file-pxt4kznk.js → provider-gfvszjcj.js} +3 -3
  157. package/dist/chunks/{file-1288mpm8.js → provider-gkc45a82.js} +60 -60
  158. package/dist/chunks/{file-x4fh1qwh.js → provider-gstr6zjx.js} +25 -25
  159. package/dist/chunks/{file-gv6a8nnw.js → provider-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{file-h03wrkyp.js → provider-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{file-vbz5sa67.js → provider-h6mhsgyz.js} +36 -36
  162. package/dist/chunks/{file-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{file-wpm2rk0p.js → provider-had4kgfk.js} +4 -4
  164. package/dist/chunks/{file-p6yzb5ay.js → provider-hjt4xg1x.js} +4 -4
  165. package/dist/chunks/{file-gmmhsxfs.js → provider-hmtkpfat.js} +32 -32
  166. package/dist/chunks/{file-gyaee7jp.js → provider-hqgtbq8y.js} +17 -17
  167. package/dist/chunks/{file-j56e64zr.js → provider-j56e64zr.js} +1 -1
  168. package/dist/chunks/{file-rjjwk750.js → provider-j5exv28m.js} +64 -64
  169. package/dist/chunks/{file-paphc93g.js → provider-j935v87r.js} +2 -2
  170. package/dist/chunks/{file-y2rgym3m.js → provider-jdd9z3zr.js} +9 -9
  171. package/dist/chunks/{file-frwpyczr.js → provider-jnmqjdkf.js} +4 -4
  172. package/dist/chunks/{file-779r4x49.js → provider-js4pqfak.js} +15 -15
  173. package/dist/chunks/{file-g67wee21.js → provider-jsydqds2.js} +4 -4
  174. package/dist/chunks/{file-jj3qxa52.js → provider-jvf3yq6v.js} +4 -4
  175. package/dist/chunks/{file-kg06axw8.js → provider-kg06axw8.js} +1 -1
  176. package/dist/chunks/{file-hv3f10xw.js → provider-kgwk72tj.js} +15 -15
  177. package/dist/chunks/{file-qvb3nf84.js → provider-kh9sx4kg.js} +8 -8
  178. package/dist/chunks/{file-xz25bmqh.js → provider-ksgc7bff.js} +24 -24
  179. package/dist/chunks/{file-pfq1ksym.js → provider-kzdcqyn1.js} +5 -5
  180. package/dist/chunks/{file-zvsn794g.js → provider-m950gd3p.js} +10 -10
  181. package/dist/chunks/{file-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-t0r7fcbn.js → provider-mddbddvt.js} +27 -27
  183. package/dist/chunks/{file-pdy8tdap.js → provider-mg0amdr2.js} +297 -297
  184. package/dist/chunks/{file-mtjmqs8n.js → provider-mgj0eac3.js} +17 -17
  185. package/dist/chunks/{file-dwvzh0g2.js → provider-mjncxbbh.js} +4 -4
  186. package/dist/chunks/{file-kym9c2x0.js → provider-n0w16hmp.js} +6 -6
  187. package/dist/chunks/{file-1vtz46z8.js → provider-n3wdcy6w.js} +8 -8
  188. package/dist/chunks/{file-q19rd6y7.js → provider-n6x86vy5.js} +9 -9
  189. package/dist/chunks/{file-858qdcc3.js → provider-nbwgzt6s.js} +20 -20
  190. package/dist/chunks/{file-903gnre9.js → provider-nkwppv5y.js} +11 -11
  191. package/dist/chunks/{file-td8ytyxd.js → provider-nqzeqxym.js} +11 -11
  192. package/dist/chunks/{file-tm7zr4pr.js → provider-nw2nz702.js} +4 -4
  193. package/dist/chunks/{file-fjszsmnf.js → provider-nwyvgzw7.js} +4 -4
  194. package/dist/chunks/{file-pw6rbwyw.js → provider-p4pgsv82.js} +6 -6
  195. package/dist/chunks/{file-v9me9bjc.js → provider-p54br4xx.js} +13 -13
  196. package/dist/chunks/{file-dkkjpy3x.js → provider-p8y3rg0s.js} +15 -15
  197. package/dist/chunks/{file-v1sethzn.js → provider-pb4gtzr9.js} +23 -23
  198. package/dist/chunks/{file-21tk25ps.js → provider-peejr10p.js} +1 -1
  199. package/dist/chunks/{file-gmprtwsb.js → provider-pjrv1sn1.js} +1 -1
  200. package/dist/chunks/{file-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{file-40bxqg89.js → provider-pkkwwmgt.js} +11 -11
  202. package/dist/chunks/{file-26m15rn7.js → provider-pkm07w3p.js} +24 -24
  203. package/dist/chunks/{file-pknna89w.js → provider-pknna89w.js} +1 -1
  204. package/dist/chunks/{file-rqnks7rh.js → provider-pye8sh6e.js} +6 -6
  205. package/dist/chunks/{file-v6v8ttny.js → provider-q19b4cjc.js} +22 -22
  206. package/dist/chunks/{file-np6jr823.js → provider-qah718a2.js} +11 -11
  207. package/dist/chunks/{file-fhqc3h92.js → provider-qe863w20.js} +36 -36
  208. package/dist/chunks/{file-da2m7fje.js → provider-qkrnz1pz.js} +5 -5
  209. package/dist/chunks/{file-qsdy395h.js → provider-qsdy395h.js} +1 -1
  210. package/dist/chunks/{file-h6t3ct0z.js → provider-qymjzjax.js} +46 -46
  211. package/dist/chunks/{file-xte6ahy5.js → provider-r25mw0kc.js} +18 -18
  212. package/dist/chunks/{file-ba5k2znj.js → provider-r4bep42t.js} +6 -6
  213. package/dist/chunks/{file-4p6bmny6.js → provider-r4jwy59m.js} +10 -10
  214. package/dist/chunks/{file-j028xdjb.js → provider-r5x6zcsm.js} +3 -3
  215. package/dist/chunks/{file-r9mregkx.js → provider-r9mregkx.js} +2 -2
  216. package/dist/chunks/{file-edqnm9wa.js → provider-razh1rh3.js} +15 -15
  217. package/dist/chunks/{file-hh50gg05.js → provider-rk93ac63.js} +5 -5
  218. package/dist/chunks/{file-e6hd9jay.js → provider-rp8jz6x1.js} +4 -4
  219. package/dist/chunks/{file-7hkbksc5.js → provider-rx6vhxft.js} +15 -15
  220. package/dist/chunks/{file-jrpprbm6.js → provider-s3vjz8f8.js} +20 -20
  221. package/dist/chunks/{file-yrznvahk.js → provider-s4enseaf.js} +2 -2
  222. package/dist/chunks/{file-g83qpwmz.js → provider-s58ke6q9.js} +3 -3
  223. package/dist/chunks/{file-qmj11y7g.js → provider-s7516gn7.js} +24 -24
  224. package/dist/chunks/{file-t2mvn8e2.js → provider-snw92vp3.js} +13 -13
  225. package/dist/chunks/{file-0gsjhwbw.js → provider-sr9wakx4.js} +27 -27
  226. package/dist/chunks/{file-t7f26a2p.js → provider-ssagvezb.js} +27 -27
  227. package/dist/chunks/{file-epd1fg1b.js → provider-t002jccf.js} +4 -4
  228. package/dist/chunks/{file-mvdg3mfe.js → provider-t33aqq77.js} +8 -8
  229. package/dist/chunks/{file-m6cttsv8.js → provider-t3zsn7tb.js} +14 -14
  230. package/dist/chunks/{file-aw9hkdyd.js → provider-t832p3z2.js} +21 -21
  231. package/dist/chunks/{file-rfkfgx1j.js → provider-t8f8a47m.js} +2 -2
  232. package/dist/chunks/{file-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{file-tdstcens.js → provider-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-fzthsjy4.js → provider-tgydxn46.js} +23 -23
  236. package/dist/chunks/{file-g9t7qa9y.js → provider-tn3zdbs0.js} +32 -32
  237. package/dist/chunks/{file-jxyz68eg.js → provider-tp9ndsvq.js} +6 -6
  238. package/dist/chunks/{file-j2xqzd67.js → provider-tr6ja7tk.js} +41 -41
  239. package/dist/chunks/{file-tvtrv512.js → provider-tvtrv512.js} +1 -1
  240. package/dist/chunks/{file-t3v0vag8.js → provider-v8ywx32k.js} +7 -7
  241. package/dist/chunks/{file-dfe8djrf.js → provider-ve4pfa0n.js} +4 -4
  242. package/dist/chunks/{file-veqvce7d.js → provider-veqvce7d.js} +1 -1
  243. package/dist/chunks/{file-h3fx38h7.js → provider-vk9n42km.js} +28 -28
  244. package/dist/chunks/{file-v1h457r3.js → provider-vm1jjz87.js} +9 -9
  245. package/dist/chunks/{file-mj63ee6j.js → provider-vnadph8e.js} +20 -20
  246. package/dist/chunks/{file-fqtt6ran.js → provider-vpdr7g8j.js} +25 -25
  247. package/dist/chunks/{file-f6x64a2f.js → provider-vq1xkcbr.js} +22 -22
  248. package/dist/chunks/{file-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{file-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{file-048xp89v.js → provider-w7n72ycn.js} +20 -20
  251. package/dist/chunks/{file-wd87259q.js → provider-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{file-hn612hq8.js → provider-x280j3tq.js} +78 -78
  254. package/dist/chunks/{file-nv4467mr.js → provider-x5ttagpj.js} +13 -13
  255. package/dist/chunks/{file-0kenkm4y.js → provider-xambzptg.js} +5 -5
  256. package/dist/chunks/{file-ky6wt9x3.js → provider-xbdctb2d.js} +6 -6
  257. package/dist/chunks/{file-rgy7ctyq.js → provider-xcjhgh37.js} +6 -6
  258. package/dist/chunks/{file-ekkfxm1b.js → provider-xcx71mhc.js} +19 -19
  259. package/dist/chunks/{file-qj8eh1ht.js → provider-xdk9p2qn.js} +21 -21
  260. package/dist/chunks/{file-v1gbks79.js → provider-xdxq1p02.js} +38 -38
  261. package/dist/chunks/{file-jzzy94zk.js → provider-xhmq8qgk.js} +9 -9
  262. package/dist/chunks/{file-r4aah319.js → provider-xkwgppqg.js} +14 -14
  263. package/dist/chunks/{file-9z0v2yqn.js → provider-xzjvqte7.js} +28 -28
  264. package/dist/chunks/{file-hhzb4w78.js → provider-y17fffc9.js} +12 -12
  265. package/dist/chunks/{file-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-dpkg50ah.js → provider-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-0bcfzsmy.js → provider-y7p08kvk.js} +10 -10
  268. package/dist/chunks/{file-915t83ht.js → provider-ydr0mbyb.js} +5 -5
  269. package/dist/chunks/{file-bj61hnyg.js → provider-yfztj9my.js} +11 -11
  270. package/dist/chunks/{file-nxer0yad.js → provider-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{file-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{file-detsjsfs.js → provider-ysmk5kbm.js} +35 -35
  273. package/dist/chunks/{file-25nfakxt.js → provider-yw4pw9zd.js} +27 -27
  274. package/dist/chunks/{file-qjrh95de.js → provider-yzyvjjcs.js} +4 -4
  275. package/dist/chunks/{file-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-3g5458vk.js → provider-z3jzy529.js} +42 -42
  277. package/dist/chunks/{file-qr42g2ex.js → provider-z4491rhz.js} +12 -12
  278. package/dist/chunks/{file-akrnn5pm.js → provider-z93n0fe9.js} +11 -11
  279. package/dist/chunks/{file-6kb1ngvr.js → provider-zc2xj3qj.js} +1 -1
  280. package/dist/chunks/{file-zeh9ct20.js → provider-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-81swgkk7.js → provider-zgajvhgj.js} +9 -9
  282. package/dist/chunks/{file-5n5g9tme.js → provider-zh8yrkqv.js} +13 -13
  283. package/dist/chunks/{file-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{file-fdma6z5m.js → provider-ztannf4n.js} +8 -8
  285. package/dist/chunks/{file-cn02216x.js → provider-zvg7bzkf.js} +6 -6
  286. package/dist/chunks/{file-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{file-g02cz0vt.js → provider-zzd16jny.js} +22 -22
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +80 -80
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +118 -118
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +76 -76
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +97 -97
  425. package/dist/form.js +81 -81
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +94 -94
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +102 -102
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +81 -81
  542. package/dist/plugin/vcs/hg.js +81 -81
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +6 -6
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +85 -85
  560. package/dist/reference.js +87 -87
  561. package/dist/repository-cache.js +77 -77
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +128 -128
  569. package/dist/session/context.js +146 -146
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +220 -220
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +76 -76
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -226
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +168 -168
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +212 -212
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +134 -134
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +103 -103
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +83 -83
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +120 -120
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -121
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +118 -118
  634. package/dist/tool/plugin/question.js +99 -99
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +109 -109
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +106 -106
  640. package/dist/tool/plugin/websearch.js +110 -110
  641. package/dist/tool/plugin/write.js +118 -118
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +3 -3
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +86 -86
  673. package/dist/websearch.js +79 -79
  674. package/dist/wellknown/plugin.js +75 -75
  675. package/dist/wellknown.js +80 -80
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +79 -79
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +5 -5
  681. package/dist/worktree/refresh.js +341 -341
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +92 -92
  684. package/package.json +8 -8
  685. package/dist/chunks/file-1x11rq2a.js +0 -18
  686. package/dist/chunks/file-qtvmxc8s.js +0 -4
  687. package/dist/chunks/file-zb4ha1kd.js +0 -247
  688. /package/dist/chunks/{file-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{file-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{file-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{file-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{file-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{file-2710q6r3.js → provider-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{file-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{file-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{file-359p4xyc.js → provider-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{file-3asan66x.js → provider-3asan66x.js} +0 -0
  698. /package/dist/chunks/{file-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{file-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{file-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{file-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{file-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{file-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{file-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-53557ph1.js → provider-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-550bvhaj.js → provider-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-6prwharc.js → provider-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{file-7m9af43g.js → provider-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{file-822emrt2.js → provider-822emrt2.js} +0 -0
  711. /package/dist/chunks/{file-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{file-8n3pysct.js → provider-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{file-922hggd3.js → provider-922hggd3.js} +0 -0
  714. /package/dist/chunks/{file-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{file-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{file-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{file-af5trqkr.js → provider-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{file-afrmfg78.js → provider-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{file-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{file-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{file-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{file-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{file-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{file-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{file-d9fn303g.js → provider-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{file-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{file-dajrwvna.js → provider-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{file-dap0rakb.js → provider-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{file-df08tz66.js → provider-df08tz66.js} +0 -0
  730. /package/dist/chunks/{file-dy18nga0.js → provider-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{file-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{file-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{file-ec1grn59.js → provider-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{file-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{file-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{file-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{file-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{file-faypxj3z.js → provider-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{file-fd410y7t.js → provider-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{file-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{file-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{file-g86h250q.js → provider-g86h250q.js} +0 -0
  743. /package/dist/chunks/{file-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{file-gftt206x.js → provider-gftt206x.js} +0 -0
  745. /package/dist/chunks/{file-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{file-hk9envan.js → provider-hk9envan.js} +0 -0
  747. /package/dist/chunks/{file-hrnqkpcd.js → provider-hrnqkpcd.js} +0 -0
  748. /package/dist/chunks/{file-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{file-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{file-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{file-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{file-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{file-mp448xyj.js → provider-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{file-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{file-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{file-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{file-njntx4h6.js → provider-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{file-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{file-q74kybfr.js → provider-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{file-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{file-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{file-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{file-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{file-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{file-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{file-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{file-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{file-twg0f83k.js → provider-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{file-w803qqfp.js → provider-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{file-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{file-wtztk69x.js → provider-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{file-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{file-x61499pn.js → provider-x61499pn.js} +0 -0
  774. /package/dist/chunks/{file-y44na4kk.js → provider-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{file-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{file-y8f7s663.js → provider-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{file-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{file-ym463w8f.js → provider-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{file-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./provider-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-qj8eh1ht.js";
6
+ } from "./provider-xdk9p2qn.js";
7
7
  import {
8
- Info18
9
- } from "./file-akrnn5pm.js";
8
+ Info17
9
+ } from "./provider-z93n0fe9.js";
10
10
  import {
11
- Info15
12
- } from "./file-3w0fmcng.js";
11
+ Info20
12
+ } from "./provider-2qp6y8xf.js";
13
13
  import {
14
- Info16
15
- } from "./file-b27vhd2z.js";
14
+ Info22
15
+ } from "./provider-19vf66h0.js";
16
16
  import {
17
- Info12
18
- } from "./file-hkfg6fzm.js";
17
+ Info24
18
+ } from "./provider-3cz8rj72.js";
19
19
  import {
20
20
  Spec2
21
- } from "./file-7dqw4kz8.js";
21
+ } from "./provider-2k8khapm.js";
22
22
  import {
23
- Info14
24
- } from "./file-0r7yqxbf.js";
23
+ Info23
24
+ } from "./provider-d1khqved.js";
25
25
  import {
26
- Info10
27
- } from "./file-0a423ajn.js";
26
+ Info16
27
+ } from "./provider-emv1mhks.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./file-g67wee21.js";
36
+ } from "./provider-jsydqds2.js";
37
37
  import {
38
38
  __export
39
- } from "./file-9rqn6x4v.js";
39
+ } from "./provider-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info20, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info22, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info12, value, path, diagnostics);
228
+ const server = decodeValue(Info24, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info14, raw, path, diagnostics);
424
+ const provider = decodeValue(Info23, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-3ec5gh45.js";
2
+ Service76,
3
+ node80
4
+ } from "./provider-cgpav5ev.js";
5
5
  import {
6
- Service35,
7
- node38
8
- } from "./file-b7kmpk6t.js";
6
+ Service37,
7
+ node42
8
+ } from "./provider-bj92tvmk.js";
9
9
  import {
10
- Service56,
11
- node59
12
- } from "./file-h9n27kr1.js";
10
+ Service53,
11
+ node57
12
+ } from "./provider-6s9nm4sm.js";
13
13
  import {
14
- Service45,
15
- node48
16
- } from "./file-1dgfjwgv.js";
14
+ Service47,
15
+ node50
16
+ } from "./provider-13pq2pdm.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./provider-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
25
  Service: () => Service34,
26
- layer: () => layer14,
27
- name: () => name13,
26
+ layer: () => layer15,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node37
29
+ node: () => node39
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
38
  class Service34 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer14 = Layer.effect(Service34, Effect.gen(function* () {
41
- const mcp = yield* Service35;
42
- const tools = yield* Service45;
43
- const bus = yield* Service79;
44
- const permission = yield* Service56;
40
+ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
41
+ const mcp = yield* Service37;
42
+ const tools = yield* Service47;
43
+ const bus = yield* Service76;
44
+ const permission = yield* Service53;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name13(tool.server, tool.name),
65
+ action: name14(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -111,7 +111,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
111
111
  output: output(),
112
112
  ...content.length === 0 ? {} : { content }
113
113
  };
114
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
114
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
115
115
  });
116
116
  }
117
117
  });
@@ -126,10 +126,10 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
127
  return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
- var node37 = makeLocationNode({
129
+ var node39 = makeLocationNode({
130
130
  service: Service34,
131
- layer: layer14,
132
- deps: [node48, node38, node84, node59]
131
+ layer: layer15,
132
+ deps: [node50, node42, node80, node57]
133
133
  });
134
134
 
135
- export { namespace2, name13, Service34, layer14, node37, exports_mcp3 };
135
+ export { namespace2, name14, Service34, layer15, node39, exports_mcp3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./file-p6yzb5ay.js";
3
+ } from "./provider-hjt4xg1x.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service52
3
- } from "./file-j2xqzd67.js";
2
+ Service67
3
+ } from "./provider-tr6ja7tk.js";
4
4
  import {
5
- Service35
6
- } from "./file-b7kmpk6t.js";
5
+ Service37
6
+ } from "./provider-bj92tvmk.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./provider-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin15,
15
+ Plugin: () => Plugin16,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin15 = define({
20
+ var Plugin16 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service52;
28
- const mcp = yield* Service35;
27
+ const config = yield* Service67;
28
+ const mcp = yield* Service37;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin15, register2, exports_mcp };
49
+ export { Plugin16, register2, exports_mcp };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ID9,
3
- Service66
4
- } from "./file-07ch4k8a.js";
3
+ Service63
4
+ } from "./provider-eqcjdke8.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./file-rqnks7rh.js";
8
+ } from "./provider-pye8sh6e.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service66;
16
+ const integrations = yield* Service63;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info28
5
- } from "./file-rqnks7rh.js";
4
+ Info31
5
+ } from "./provider-pye8sh6e.js";
6
6
  import {
7
- Info27
8
- } from "./file-h2fpsr6d.js";
7
+ Info30
8
+ } from "./provider-1p8j09kx.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./file-3ec5gh45.js";
10
+ Service76,
11
+ node80
12
+ } from "./provider-cgpav5ev.js";
13
13
  import {
14
14
  create3
15
- } from "./file-kg06axw8.js";
15
+ } from "./provider-kg06axw8.js";
16
16
  import {
17
17
  ID9,
18
- Service66,
19
- node70
20
- } from "./file-07ch4k8a.js";
18
+ Service63,
19
+ node67
20
+ } from "./provider-eqcjdke8.js";
21
21
  import {
22
22
  __export
23
- } from "./file-9rqn6x4v.js";
23
+ } from "./provider-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event15,
30
- Service: () => Service65,
31
- node: () => node69
29
+ Event: () => Event13,
30
+ Service: () => Service62,
31
+ node: () => node66
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event15 } from "@opencode/schema/catalog";
36
+ import { Event as Event13 } from "@opencode/schema/catalog";
37
37
 
38
- class Service65 extends Context.Service()("@opencode/Catalog") {
38
+ class Service62 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service65, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service66;
40
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ const bus = yield* Service76;
42
+ const integrations = yield* Service63;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info28.empty(providerID),
76
+ provider: Info31.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info28.empty(providerID),
94
+ provider: Info31.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info30.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service65.of(result);
188
+ return Service62.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node69 = makeLocationNode({ service: Service65, layer, deps: [node84, node70] });
191
+ var node66 = makeLocationNode({ service: Service62, layer, deps: [node80, node67] });
192
192
 
193
- export { Service65, node69, exports_catalog2, Event15 };
193
+ export { Service62, node66, exports_catalog2, Event13 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./file-mtjmqs8n.js";
2
+ Service71,
3
+ node75
4
+ } from "./provider-mgj0eac3.js";
5
5
  import {
6
- Key3,
7
- make18,
6
+ Key4,
7
+ make19,
8
8
  combine2
9
- } from "./file-0gdmqesm.js";
9
+ } from "./provider-gbt6w4kb.js";
10
10
  import {
11
11
  __export
12
- } from "./file-9rqn6x4v.js";
12
+ } from "./provider-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node33
18
+ Service: () => Service40,
19
+ node: () => node44
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service40 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service76;
29
- return Service30.of({
28
+ const location = yield* Service71;
29
+ return Service40.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make18({
32
- key: Key3.make("core/environment"),
31
+ make19({
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make18({
53
- key: Key3.make("core/date"),
52
+ make19({
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node81] });
64
+ var node44 = makeLocationNode({ service: Service40, layer, deps: [Global.node, node75] });
65
65
 
66
- export { Service30, node33, exports_builtins };
66
+ export { Service40, node44, exports_builtins };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-m6qbstta.js";
4
+ } from "./provider-em5e1hc8.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./file-3ec5gh45.js";
6
+ Service76,
7
+ node80
8
+ } from "./provider-cgpav5ev.js";
9
9
  import {
10
- Service61,
11
- node64
12
- } from "./file-cyfhm506.js";
10
+ Service77,
11
+ node81
12
+ } from "./provider-g85wbd3d.js";
13
13
  import {
14
- Service28,
15
- node31
16
- } from "./file-8a2qdx2a.js";
14
+ Service45,
15
+ node48
16
+ } from "./provider-ff0htmxq.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-ec1grn59.js";
19
+ } from "./provider-ec1grn59.js";
20
20
  import {
21
- make14
22
- } from "./file-nxer0yad.js";
21
+ make16
22
+ } from "./provider-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service25
26
- } from "./file-jj3qxa52.js";
25
+ Service42
26
+ } from "./provider-jvf3yq6v.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-ma9yb35x.js";
29
+ } from "./provider-bf375p48.js";
30
30
  import {
31
- Service58,
32
- node61
33
- } from "./file-5vpje3g0.js";
31
+ Service55,
32
+ node59
33
+ } from "./provider-e5bkhh6f.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-fjszsmnf.js";
36
+ } from "./provider-nwyvgzw7.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-96v5c2p5.js";
39
+ } from "./provider-82n8eww3.js";
40
40
  import {
41
41
  __export
42
- } from "./file-9rqn6x4v.js";
42
+ } from "./provider-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service24,
47
+ Service: () => Service41,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer11,
50
- node: () => node29,
49
+ layer: () => layer18,
50
+ node: () => node45,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service24 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service41 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
69
- const store = yield* Service58;
70
- const instances = yield* Service28;
71
- const bus = yield* Service79;
72
- const jobs = yield* Service61;
68
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
69
+ const store = yield* Service55;
70
+ const instances = yield* Service45;
71
+ const bus = yield* Service76;
72
+ const jobs = yield* Service77;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service25.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make14({
91
+ const coordinator = yield* make16({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service24.of({
112
+ return Service41.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node29 = makeGlobalNode({
132
- service: Service24,
133
- layer: layer11,
134
- deps: [node61, node31, node84, node85, node64]
131
+ var node45 = makeGlobalNode({
132
+ service: Service41,
133
+ layer: layer18,
134
+ deps: [node59, node48, node80, node85, node81]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service24, Service24.of({
136
+ var noopLayer2 = Layer.succeed(Service41, Service41.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service24, Service24.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service24, terminal2, layer11, node29, noopLayer2, exports_execution };
145
+ export { Service41, terminal2, layer18, node45, noopLayer2, exports_execution };