@opencode/core 0.0.0-dev-20194 → 0.0.0-dev-20195

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 (805) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{reference-t550f9t1.js → config-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{reference-xp3d2160.js → config-07v9x2xm.js} +14 -14
  9. package/dist/chunks/{reference-yfxpx2t9.js → config-0anx78yw.js} +9 -9
  10. package/dist/chunks/{reference-q2s2wz1h.js → config-0f6jxcrw.js} +5 -5
  11. package/dist/chunks/{reference-fydrzrkb.js → config-0fbxv240.js} +8 -8
  12. package/dist/chunks/{reference-f6rweyq9.js → config-0hwvvjm7.js} +1 -1
  13. package/dist/chunks/{reference-fzts1kpm.js → config-0jtesnr4.js} +11 -11
  14. package/dist/chunks/{reference-0f9b925g.js → config-0ntvbc7j.js} +40 -40
  15. package/dist/chunks/{reference-vgr5e0ea.js → config-0ny8pk0m.js} +5 -5
  16. package/dist/chunks/{reference-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{reference-v5hpcsb0.js → config-0r7yqxbf.js} +2 -2
  18. package/dist/chunks/{reference-yjvnj1zk.js → config-0raz1yy5.js} +8 -8
  19. package/dist/chunks/{reference-qb1aeqnr.js → config-0sm4f45j.js} +29 -29
  20. package/dist/chunks/{reference-8rw29dk0.js → config-19m0y6e0.js} +26 -26
  21. package/dist/chunks/{reference-eq1pz5kg.js → config-1bbkgx8g.js} +3 -3
  22. package/dist/chunks/{reference-vvfvm01x.js → config-1cf5abn8.js} +13 -13
  23. package/dist/chunks/{reference-1dazxqgg.js → config-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{reference-8ha6ga5e.js → config-1h80sv90.js} +8 -8
  25. package/dist/chunks/{reference-fqjhatxe.js → config-1sh6c7wg.js} +35 -35
  26. package/dist/chunks/{reference-rr9dycgk.js → config-1v5g7h7z.js} +7 -7
  27. package/dist/chunks/{reference-c35p20hr.js → config-1zgcewym.js} +23 -23
  28. package/dist/chunks/{reference-21r38tys.js → config-21r38tys.js} +1 -1
  29. package/dist/chunks/{reference-4a6kxgsg.js → config-23vj23fc.js} +6 -6
  30. package/dist/chunks/{reference-6h73sxmp.js → config-2402vzrj.js} +5 -5
  31. package/dist/chunks/{reference-hkcbg3z4.js → config-27s8bqjz.js} +7 -7
  32. package/dist/chunks/{reference-y2r3h4fb.js → config-2851hzkp.js} +15 -15
  33. package/dist/chunks/{reference-9m59q143.js → config-295dersz.js} +19 -19
  34. package/dist/chunks/{reference-t2j5vcca.js → config-297axkkc.js} +15 -15
  35. package/dist/chunks/{reference-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{reference-51f5btjf.js → config-2a6rn6yr.js} +6 -6
  37. package/dist/chunks/{reference-wqkzg7sy.js → config-2m1z897j.js} +11 -11
  38. package/dist/chunks/{reference-7vvdj7v1.js → config-2vas31rw.js} +17 -17
  39. package/dist/chunks/{reference-1ygqh575.js → config-33w4ejhs.js} +6 -6
  40. package/dist/chunks/{reference-3eexfaf4.js → config-35zdc76s.js} +12 -12
  41. package/dist/chunks/config-36j2y7hk.js +507 -0
  42. package/dist/chunks/{reference-9j56qjm9.js → config-3acv6brs.js} +11 -11
  43. package/dist/chunks/{reference-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{reference-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{reference-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{reference-n2bd736z.js → config-3t2xcng8.js} +99 -106
  47. package/dist/chunks/{reference-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{reference-1f5yd8z2.js → config-3xn3pbdy.js} +88 -88
  49. package/dist/chunks/{reference-3zsf4n22.js → config-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{reference-v1h7jmyp.js → config-43zyxgq8.js} +1 -1
  51. package/dist/chunks/{reference-pntwmbjc.js → config-454kp9wr.js} +8 -8
  52. package/dist/chunks/{reference-81bye27z.js → config-47q4gzaj.js} +22 -22
  53. package/dist/chunks/{reference-jqcdp112.js → config-4b92gd6e.js} +30 -30
  54. package/dist/chunks/{reference-ngffvtk2.js → config-4eem5j9w.js} +26 -26
  55. package/dist/chunks/{reference-5jrh7n3y.js → config-4k1w60t0.js} +9 -9
  56. package/dist/chunks/{reference-156a9j9s.js → config-4qjdqxbv.js} +28 -28
  57. package/dist/chunks/{reference-5958cd08.js → config-4vek9trb.js} +27 -27
  58. package/dist/chunks/{reference-x5xe0bd0.js → config-4wgr6ws5.js} +32 -32
  59. package/dist/chunks/{reference-qwkdrh69.js → config-52tph2md.js} +31 -31
  60. package/dist/chunks/{reference-54tcyq79.js → config-54tcyq79.js} +2 -2
  61. package/dist/chunks/{reference-ypd49sxc.js → config-56ee48df.js} +11 -11
  62. package/dist/chunks/{reference-d9s573fh.js → config-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{reference-1zys84da.js → config-59dka41c.js} +11 -11
  64. package/dist/chunks/{reference-5vyyh9tt.js → config-5ay8pqcq.js} +36 -36
  65. package/dist/chunks/{reference-5daktx2q.js → config-5daktx2q.js} +1 -1
  66. package/dist/chunks/{reference-6fmnkfnr.js → config-5ezt1pd0.js} +22 -22
  67. package/dist/chunks/{reference-5t3nmthw.js → config-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{reference-669tq793.js → config-669tq793.js} +1 -1
  69. package/dist/chunks/{reference-jkcb4v42.js → config-6736kgvh.js} +13 -13
  70. package/dist/chunks/{reference-6msgmcgs.js → config-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{reference-py3kkmfq.js → config-6pc27hjz.js} +6 -6
  72. package/dist/chunks/{reference-zvteq2sz.js → config-6rkpdbb3.js} +37 -37
  73. package/dist/chunks/{reference-wd5k3756.js → config-6vda3hdz.js} +25 -25
  74. package/dist/chunks/{reference-cab88dx5.js → config-6wksry55.js} +20 -20
  75. package/dist/chunks/{reference-p9g6edyn.js → config-6zycmakc.js} +11 -11
  76. package/dist/chunks/{reference-qdbakdjh.js → config-705e2ap1.js} +5 -5
  77. package/dist/chunks/{reference-d7mqv6pa.js → config-70gxshxr.js} +1 -1
  78. package/dist/chunks/{reference-be7pa3qf.js → config-73k9rh6w.js} +8 -8
  79. package/dist/chunks/{reference-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{reference-9qb76avw.js → config-7bv32vg5.js} +13 -13
  81. package/dist/chunks/{reference-2k8khapm.js → config-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{reference-9qs04gms.js → config-7gzq7424.js} +30 -30
  83. package/dist/chunks/{reference-nezp3nh3.js → config-7hvbv13b.js} +33 -33
  84. package/dist/chunks/{reference-tgcnk5sw.js → config-7np6y5v9.js} +12 -12
  85. package/dist/chunks/{reference-b15rjjj6.js → config-7r2ns73q.js} +24 -24
  86. package/dist/chunks/{reference-nc0myf7t.js → config-7tbn3xvm.js} +14 -14
  87. package/dist/chunks/{reference-thddb0yg.js → config-7tx5g9sa.js} +32 -32
  88. package/dist/chunks/{reference-44zaxtg7.js → config-80nef7dm.js} +25 -25
  89. package/dist/chunks/{reference-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{reference-tdkwvqdy.js → config-8gx3jvtz.js} +32 -32
  91. package/dist/chunks/{reference-q72jbytn.js → config-8j758wh3.js} +4 -4
  92. package/dist/chunks/{reference-bsqx64w4.js → config-8qvzptz7.js} +4 -4
  93. package/dist/chunks/{reference-3b3jy36q.js → config-8zwfmhx2.js} +15 -15
  94. package/dist/chunks/{reference-t7y3dpm9.js → config-96aey767.js} +35 -35
  95. package/dist/chunks/{reference-ws016w0z.js → config-96gkbmz7.js} +5 -5
  96. package/dist/chunks/{reference-p37cw4rj.js → config-9hn6k4tm.js} +8 -8
  97. package/dist/chunks/{reference-4j4tgtq5.js → config-a81kfqvn.js} +4 -4
  98. package/dist/chunks/{reference-aaet6srn.js → config-aaet6srn.js} +2 -2
  99. package/dist/chunks/{reference-s31h5w29.js → config-abney02d.js} +25 -25
  100. package/dist/chunks/{reference-ykprmxnv.js → config-ak1tpw6q.js} +2 -2
  101. package/dist/chunks/{reference-v8nsmxgn.js → config-akrnn5pm.js} +8 -8
  102. package/dist/chunks/{reference-2t8jpbpj.js → config-apwn9spd.js} +13 -13
  103. package/dist/chunks/{reference-6e87vakz.js → config-ar4a8fck.js} +19 -19
  104. package/dist/chunks/{reference-yf72js65.js → config-axcxkett.js} +18 -18
  105. package/dist/chunks/{reference-8pn44ehn.js → config-b37sgj8e.js} +12 -12
  106. package/dist/chunks/{reference-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{reference-n11m6crk.js → config-bd9sv20n.js} +29 -29
  108. package/dist/chunks/{reference-avbsach8.js → config-bdgvyade.js} +17 -17
  109. package/dist/chunks/{reference-vwfyqj1a.js → config-bey3dpw7.js} +22 -22
  110. package/dist/chunks/{reference-67f3c5a6.js → config-bhf2qwfw.js} +5 -5
  111. package/dist/chunks/{reference-bjtzbw4r.js → config-bjtzbw4r.js} +3 -3
  112. package/dist/chunks/{reference-0gg825j3.js → config-bkxzp8j2.js} +3 -3
  113. package/dist/chunks/{reference-c4989wfm.js → config-bt976gfq.js} +15 -15
  114. package/dist/chunks/{reference-h9pnpq88.js → config-btbmdjwj.js} +4 -4
  115. package/dist/chunks/{reference-0kfypxfq.js → config-ce09rktv.js} +19 -19
  116. package/dist/chunks/{reference-ysh0bc3c.js → config-chx6d6tt.js} +10 -10
  117. package/dist/chunks/{reference-bg7sr6g1.js → config-cmfxejye.js} +5 -5
  118. package/dist/chunks/{reference-v9cwmph0.js → config-cmwcq0ka.js} +17 -17
  119. package/dist/chunks/{reference-h6r3nrb9.js → config-cpj0znwe.js} +4 -4
  120. package/dist/chunks/{reference-djszqvmq.js → config-cpneeje0.js} +9 -9
  121. package/dist/chunks/{reference-z98sedxz.js → config-cve16y82.js} +3 -3
  122. package/dist/chunks/{reference-3e8yqhxk.js → config-d0g0pqf7.js} +10 -10
  123. package/dist/chunks/{reference-t4btr8yn.js → config-d7vvjxwr.js} +21 -21
  124. package/dist/chunks/{reference-h3h6bw0z.js → config-d9tzqxjz.js} +20 -20
  125. package/dist/chunks/{reference-dmqcgk4z.js → config-dmqcgk4z.js} +2 -2
  126. package/dist/chunks/{reference-y71avatq.js → config-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{reference-xfkkasph.js → config-drwq78ky.js} +4 -4
  128. package/dist/chunks/{reference-chweyq95.js → config-e3dd7bme.js} +6 -6
  129. package/dist/chunks/{reference-as35gwv2.js → config-e93201sm.js} +15 -15
  130. package/dist/chunks/{reference-ecfe7b91.js → config-ecfe7b91.js} +2 -2
  131. package/dist/chunks/{reference-1qadeb1c.js → config-ed84fsvm.js} +24 -24
  132. package/dist/chunks/{reference-ef5x83kb.js → config-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{reference-sc1tzy0m.js → config-eh4jt04e.js} +12 -12
  134. package/dist/chunks/{reference-fxb44a1q.js → config-ekp917ff.js} +15 -15
  135. package/dist/chunks/{reference-faj6f0em.js → config-ekr1tkzw.js} +3 -3
  136. package/dist/chunks/{reference-y560y7p4.js → config-epaabzb0.js} +24 -24
  137. package/dist/chunks/{reference-rxyp0enr.js → config-eq102nfe.js} +177 -177
  138. package/dist/chunks/{reference-etq0c3wd.js → config-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{reference-5sj81wm5.js → config-evbgk2k8.js} +5 -5
  140. package/dist/chunks/{reference-3sph9hsg.js → config-eytwkb2e.js} +24 -24
  141. package/dist/chunks/{reference-ma2yn7zc.js → config-ez1k74tj.js} +35 -35
  142. package/dist/chunks/{reference-a6fdbjg5.js → config-f3qy8zjn.js} +11 -11
  143. package/dist/chunks/{reference-hz0q9sdq.js → config-f5gy8qwh.js} +8 -8
  144. package/dist/chunks/{reference-jm5a5pey.js → config-f72dzx6j.js} +23 -23
  145. package/dist/chunks/config-f81tjggh.js +18 -0
  146. package/dist/chunks/{reference-ssrktsty.js → config-fs4g4s7s.js} +20 -20
  147. package/dist/chunks/{reference-2e6dphxw.js → config-ft0c832p.js} +9 -9
  148. package/dist/chunks/{reference-eqy59tqm.js → config-fvve35qg.js} +35 -35
  149. package/dist/chunks/{reference-se4rjrwe.js → config-fwmkx0kr.js} +9 -9
  150. package/dist/chunks/{reference-b2a4mx33.js → config-fx5e6na3.js} +4 -4
  151. package/dist/chunks/{reference-0z2rg4rm.js → config-g15xs6qb.js} +36 -36
  152. package/dist/chunks/{reference-ww5pdtvn.js → config-g29bj6y9.js} +32 -32
  153. package/dist/chunks/{reference-4yner5sa.js → config-g3e158x3.js} +18 -18
  154. package/dist/chunks/{reference-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{reference-gfvb90ym.js → config-gfvb90ym.js} +2 -2
  156. package/dist/chunks/{reference-fh8xxmnr.js → config-gg3hnhsj.js} +12 -10
  157. package/dist/chunks/{reference-0h711vda.js → config-gmwd0m74.js} +54 -54
  158. package/dist/chunks/{reference-yyb7tjpc.js → config-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{reference-f26ddygf.js → config-h2gfwxs3.js} +89 -89
  160. package/dist/chunks/{reference-yead9t7b.js → config-h4ekgxw3.js} +3 -3
  161. package/dist/chunks/{reference-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{reference-fgbgrse6.js → config-h75129nt.js} +5 -5
  163. package/dist/chunks/{reference-bqszwq89.js → config-had4kgfk.js} +4 -4
  164. package/dist/chunks/{reference-14794zc1.js → config-hdfwwe2n.js} +6 -6
  165. package/dist/chunks/{reference-a3r4dcrj.js → config-hkagk5ex.js} +2 -2
  166. package/dist/chunks/{reference-mnkndwyg.js → config-hx4rcwcn.js} +8 -8
  167. package/dist/chunks/{reference-m77p9bps.js → config-hy7sqhkh.js} +15 -15
  168. package/dist/chunks/{reference-3yzf73xp.js → config-hywngpvt.js} +9 -9
  169. package/dist/chunks/{reference-j56e64zr.js → config-j56e64zr.js} +1 -1
  170. package/dist/chunks/{reference-w6yg8354.js → config-j9bb3hnd.js} +15 -15
  171. package/dist/chunks/{reference-rer9h1m0.js → config-jb5eh492.js} +16 -16
  172. package/dist/chunks/{reference-qevex4z1.js → config-je7tdbs0.js} +33 -33
  173. package/dist/chunks/{reference-8aaqm6qj.js → config-jhpaar4x.js} +8 -8
  174. package/dist/chunks/{reference-3s9dhbpg.js → config-jjem1y9x.js} +32 -32
  175. package/dist/chunks/{reference-96p72y45.js → config-jjzhwb0d.js} +11 -11
  176. package/dist/chunks/{reference-thjmag0n.js → config-js1bgrk5.js} +12 -12
  177. package/dist/chunks/{reference-xg0dkexn.js → config-js82azy0.js} +22 -22
  178. package/dist/chunks/{reference-htqg6e4e.js → config-jt56r67m.js} +13 -13
  179. package/dist/chunks/{reference-pk3z8zwb.js → config-jtd5a63n.js} +9 -9
  180. package/dist/chunks/{reference-k3c624dm.js → config-k3c624dm.js} +3 -3
  181. package/dist/chunks/{reference-nx90x7kt.js → config-kn2sx07v.js} +28 -28
  182. package/dist/chunks/{reference-g4x6f0m8.js → config-knqa2gk8.js} +18 -18
  183. package/dist/chunks/{reference-pmwpe40e.js → config-kzc3h1h3.js} +4 -4
  184. package/dist/chunks/{reference-177cmxdg.js → config-m265mxzt.js} +21 -21
  185. package/dist/chunks/{reference-5na37vb4.js → config-m2wvpmrz.js} +20 -20
  186. package/dist/chunks/{reference-m3fdjcah.js → config-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{reference-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{reference-fxpk8e1k.js → config-md4c1mf5.js} +41 -41
  189. package/dist/chunks/{reference-dv36yjgc.js → config-mff2yvab.js} +5 -5
  190. package/dist/chunks/{reference-24mjcg6m.js → config-mnb5mnp1.js} +8 -8
  191. package/dist/chunks/{reference-ypp73q3k.js → config-mnn4rm54.js} +22 -22
  192. package/dist/chunks/{reference-t265p2pq.js → config-mrm2rqc2.js} +4 -4
  193. package/dist/chunks/{reference-yqa20cga.js → config-mwwmpq4r.js} +36 -36
  194. package/dist/chunks/{reference-3jq6wq7y.js → config-n05ctsyv.js} +5 -5
  195. package/dist/chunks/{reference-krnctd4r.js → config-n3mwpccg.js} +19 -19
  196. package/dist/chunks/{reference-pwehtxr6.js → config-n9ymfxxx.js} +32 -32
  197. package/dist/chunks/{reference-jexxy024.js → config-ndmv45hp.js} +3 -3
  198. package/dist/chunks/{reference-bdqrk2vk.js → config-ndqtf2h8.js} +6 -6
  199. package/dist/chunks/config-nmmpegqz.js +26 -0
  200. package/dist/chunks/{reference-fmfggwz4.js → config-npk6dv14.js} +13 -13
  201. package/dist/chunks/{reference-z4470vjq.js → config-nr672dpf.js} +23 -23
  202. package/dist/chunks/{reference-ba38qkz5.js → config-p0pcj68s.js} +8 -8
  203. package/dist/chunks/{reference-mev7xm92.js → config-p3dfpxct.js} +29 -29
  204. package/dist/chunks/{reference-cpy6gm2a.js → config-pf2hb43r.js} +6 -6
  205. package/dist/chunks/{reference-yw63brvc.js → config-pf8nwgds.js} +15 -15
  206. package/dist/chunks/{reference-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{reference-pknna89w.js → config-pknna89w.js} +1 -1
  208. package/dist/chunks/{reference-psazpmmj.js → config-psazpmmj.js} +2 -2
  209. package/dist/chunks/{reference-aqeafnz7.js → config-py6e26kd.js} +14 -14
  210. package/dist/chunks/{reference-yws4pbzc.js → config-q2bwdck2.js} +32 -32
  211. package/dist/chunks/{reference-r9e31c0d.js → config-q8w7nh62.js} +32 -32
  212. package/dist/chunks/{reference-ddg1q8r0.js → config-qdcc6b4g.js} +19 -19
  213. package/dist/chunks/{reference-mjymc32g.js → config-qj8eh1ht.js} +4 -4
  214. package/dist/chunks/{reference-b4tbyby1.js → config-qr30w61m.js} +35 -35
  215. package/dist/chunks/{reference-qsdy395h.js → config-qsdy395h.js} +1 -1
  216. package/dist/chunks/{reference-vhfvd2jp.js → config-qys7aaaj.js} +19 -19
  217. package/dist/chunks/config-r3bb402n.js +655 -0
  218. package/dist/chunks/{reference-0jq9fyba.js → config-r9w3djhf.js} +9 -9
  219. package/dist/chunks/{reference-34rkz0x9.js → config-ratrq7cm.js} +7 -7
  220. package/dist/chunks/{reference-rdw6cm16.js → config-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{reference-wsrgfmp7.js → config-ref9hxfn.js} +8 -8
  222. package/dist/chunks/{reference-7zg2wc6k.js → config-rjbxhfgb.js} +49 -49
  223. package/dist/chunks/{reference-wnys78fq.js → config-rmxzq7f5.js} +5 -5
  224. package/dist/chunks/{reference-kgajg4t2.js → config-rxbrkmj1.js} +14 -14
  225. package/dist/chunks/{reference-axd321tm.js → config-s0e1y9y9.js} +12 -12
  226. package/dist/chunks/{reference-hmmwrfz7.js → config-s10erfkq.js} +4 -4
  227. package/dist/chunks/{reference-kb3wdknj.js → config-s6ymxyzv.js} +6 -6
  228. package/dist/chunks/{reference-bkyy3065.js → config-sjnymxq5.js} +46 -46
  229. package/dist/chunks/{reference-e12g3w7z.js → config-spn7hksh.js} +12 -12
  230. package/dist/chunks/{reference-ps6kahe0.js → config-sskdr19r.js} +3 -3
  231. package/dist/chunks/{reference-bhvqvkry.js → config-syxj7ex2.js} +12 -12
  232. package/dist/chunks/{reference-bk2c8kx1.js → config-sz7jdn1d.js} +5 -5
  233. package/dist/chunks/{reference-knx0mxy4.js → config-szzydw97.js} +17 -17
  234. package/dist/chunks/{reference-0b8npddv.js → config-t1930g8y.js} +10 -10
  235. package/dist/chunks/{reference-sv8w0sp0.js → config-t2zkwxfg.js} +3 -3
  236. package/dist/chunks/{reference-31ywrma3.js → config-t5vtp9rn.js} +12 -12
  237. package/dist/chunks/{reference-nrc70r1t.js → config-t7jgv0pg.js} +54 -54
  238. package/dist/chunks/{reference-jvf3yq6v.js → config-t7n9q6bq.js} +4 -4
  239. package/dist/chunks/{reference-sx1n432n.js → config-t9zs3egg.js} +4 -4
  240. package/dist/chunks/{reference-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{reference-11pm3r9v.js → config-tb3b9sw6.js} +12 -12
  242. package/dist/chunks/{reference-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{reference-8ryk0bb9.js → config-tdpndm1c.js} +5 -5
  244. package/dist/chunks/{reference-tdstcens.js → config-tdstcens.js} +1 -1
  245. package/dist/chunks/{reference-yfz2gavf.js → config-tmyxw72k.js} +5 -5
  246. package/dist/chunks/{reference-hxg08g5j.js → config-tp4em4fx.js} +12 -12
  247. package/dist/chunks/config-tsgjpmhp.js +252 -0
  248. package/dist/chunks/{reference-6hqe4q59.js → config-ttcp5xkb.js} +13 -13
  249. package/dist/chunks/{reference-tvtrv512.js → config-tvtrv512.js} +1 -1
  250. package/dist/chunks/{reference-0m9cq689.js → config-tw2sz0rq.js} +20 -20
  251. package/dist/chunks/{reference-pmjz3wtp.js → config-v03b5pvj.js} +26 -26
  252. package/dist/chunks/{reference-wbrq6ka8.js → config-v991q2ks.js} +4 -4
  253. package/dist/chunks/{reference-nqw1h68k.js → config-vc4tj14c.js} +18 -18
  254. package/dist/chunks/{reference-5hqxtq21.js → config-vd4t73rm.js} +25 -25
  255. package/dist/chunks/{reference-veqvce7d.js → config-veqvce7d.js} +1 -1
  256. package/dist/chunks/{reference-r4453y51.js → config-vj9s6wy4.js} +58 -58
  257. package/dist/chunks/{reference-8vsk6s2a.js → config-vp67wfqm.js} +24 -24
  258. package/dist/chunks/{reference-xkxsh21d.js → config-vzbf696k.js} +4 -4
  259. package/dist/chunks/{reference-vzcthcp8.js → config-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{reference-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
  261. package/dist/chunks/{reference-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{reference-wd87259q.js → config-wd87259q.js} +1 -1
  263. package/dist/chunks/{reference-ybhbtxjg.js → config-wrmrmykr.js} +6 -6
  264. package/dist/chunks/{reference-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{reference-q6cph699.js → config-xa04810w.js} +27 -27
  266. package/dist/chunks/{reference-g74mfj6n.js → config-xk747vep.js} +5 -5
  267. package/dist/chunks/{reference-1jsptwm6.js → config-xpac2x5a.js} +6 -6
  268. package/dist/chunks/{reference-hs32c6fx.js → config-xq1shfhv.js} +10 -10
  269. package/dist/chunks/{reference-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{reference-pnde1qtn.js → config-y1zffv57.js} +6 -6
  271. package/dist/chunks/{reference-afq9djet.js → config-y2062v7b.js} +19 -19
  272. package/dist/chunks/{reference-yp2x3t23.js → config-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{reference-t4m9kaws.js → config-yqz2244c.js} +48 -48
  274. package/dist/chunks/{reference-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{reference-yrznvahk.js → config-yrznvahk.js} +2 -2
  276. package/dist/chunks/{reference-4xz89tjk.js → config-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{reference-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{reference-z63w68vq.js → config-z63w68vq.js} +2 -2
  279. package/dist/chunks/{reference-cyww2hg1.js → config-z9aq390g.js} +8 -8
  280. package/dist/chunks/{reference-bf7x6yrd.js → config-zcrw2f69.js} +33 -33
  281. package/dist/chunks/{reference-gbtx73hb.js → config-ze75yzft.js} +8 -8
  282. package/dist/chunks/{reference-rq775frq.js → config-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{reference-x5rq2qdm.js → config-zf4vab36.js} +46 -46
  284. package/dist/chunks/{reference-td3sphkw.js → config-zj8g04kx.js} +10 -10
  285. package/dist/chunks/{reference-sqmzwr9m.js → config-zn5v3n4q.js} +9 -9
  286. package/dist/chunks/{reference-m655g54e.js → config-znhb3s94.js} +5 -5
  287. package/dist/chunks/{reference-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{reference-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{reference-4azmnb77.js → config-zxt09vhx.js} +11 -11
  290. package/dist/chunks/{reference-3v9eaqqc.js → config-zyzwya36.js} +8 -8
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -372
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +101 -101
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -363
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +5 -5
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +126 -126
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +103 -103
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +99 -99
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +333 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +94 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +120 -120
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +94 -94
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +161 -161
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +348 -349
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +225 -225
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +92 -92
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +140 -144
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +224 -224
  585. package/dist/session/execution.js +124 -124
  586. package/dist/session/generate.js +151 -151
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +84 -84
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +112 -112
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +208 -208
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +216 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +11 -11
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +4 -4
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +89 -89
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +127 -127
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +217 -217
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/session/compaction.d.ts +30 -55
  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 +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +2 -2
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +83 -83
  688. package/dist/websearch.js +80 -80
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +92 -92
  699. package/package.json +8 -8
  700. package/dist/chunks/reference-4wvg2h98.js +0 -252
  701. package/dist/chunks/reference-587j3zfx.js +0 -39
  702. package/dist/chunks/reference-5kveh0cp.js +0 -26
  703. package/dist/chunks/reference-dxj72tfx.js +0 -18
  704. package/dist/chunks/reference-jxxs5s4h.js +0 -511
  705. package/dist/chunks/reference-s3adcg6q.js +0 -624
  706. package/dist/plugin/compaction.js +0 -136
  707. package/dist/types/plugin/compaction.d.ts +0 -3
  708. /package/dist/chunks/{reference-0mesazry.js → config-0mesazry.js} +0 -0
  709. /package/dist/chunks/{reference-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{reference-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{reference-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{reference-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{reference-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{reference-24dcb14g.js → config-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{reference-2710q6r3.js → config-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{reference-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{reference-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{reference-34c7v6d4.js → config-34c7v6d4.js} +0 -0
  719. /package/dist/chunks/{reference-359p4xyc.js → config-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{reference-3asan66x.js → config-3asan66x.js} +0 -0
  721. /package/dist/chunks/{reference-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{reference-3w5fmr99.js → config-3w5fmr99.js} +0 -0
  723. /package/dist/chunks/{reference-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  724. /package/dist/chunks/{reference-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  725. /package/dist/chunks/{reference-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  726. /package/dist/chunks/{reference-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{reference-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{reference-53557ph1.js → config-53557ph1.js} +0 -0
  729. /package/dist/chunks/{reference-550bvhaj.js → config-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{reference-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
  731. /package/dist/chunks/{reference-6prwharc.js → config-6prwharc.js} +0 -0
  732. /package/dist/chunks/{reference-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{reference-7m9af43g.js → config-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{reference-822emrt2.js → config-822emrt2.js} +0 -0
  735. /package/dist/chunks/{reference-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{reference-8n3pysct.js → config-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{reference-8wj87zfr.js → config-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{reference-922hggd3.js → config-922hggd3.js} +0 -0
  739. /package/dist/chunks/{reference-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{reference-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{reference-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  742. /package/dist/chunks/{reference-af5trqkr.js → config-af5trqkr.js} +0 -0
  743. /package/dist/chunks/{reference-afrmfg78.js → config-afrmfg78.js} +0 -0
  744. /package/dist/chunks/{reference-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  745. /package/dist/chunks/{reference-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  746. /package/dist/chunks/{reference-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  747. /package/dist/chunks/{reference-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  748. /package/dist/chunks/{reference-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  749. /package/dist/chunks/{reference-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  750. /package/dist/chunks/{reference-d9fn303g.js → config-d9fn303g.js} +0 -0
  751. /package/dist/chunks/{reference-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  752. /package/dist/chunks/{reference-dajrwvna.js → config-dajrwvna.js} +0 -0
  753. /package/dist/chunks/{reference-dap0rakb.js → config-dap0rakb.js} +0 -0
  754. /package/dist/chunks/{reference-df08tz66.js → config-df08tz66.js} +0 -0
  755. /package/dist/chunks/{reference-dy18nga0.js → config-dy18nga0.js} +0 -0
  756. /package/dist/chunks/{reference-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  757. /package/dist/chunks/{reference-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  758. /package/dist/chunks/{reference-ec1grn59.js → config-ec1grn59.js} +0 -0
  759. /package/dist/chunks/{reference-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  760. /package/dist/chunks/{reference-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  761. /package/dist/chunks/{reference-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  762. /package/dist/chunks/{reference-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  763. /package/dist/chunks/{reference-faypxj3z.js → config-faypxj3z.js} +0 -0
  764. /package/dist/chunks/{reference-fd410y7t.js → config-fd410y7t.js} +0 -0
  765. /package/dist/chunks/{reference-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  766. /package/dist/chunks/{reference-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  767. /package/dist/chunks/{reference-g86h250q.js → config-g86h250q.js} +0 -0
  768. /package/dist/chunks/{reference-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  769. /package/dist/chunks/{reference-gftt206x.js → config-gftt206x.js} +0 -0
  770. /package/dist/chunks/{reference-hjbc5kem.js → config-hjbc5kem.js} +0 -0
  771. /package/dist/chunks/{reference-hk9envan.js → config-hk9envan.js} +0 -0
  772. /package/dist/chunks/{reference-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  773. /package/dist/chunks/{reference-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  774. /package/dist/chunks/{reference-jjkms2e6.js → config-jjkms2e6.js} +0 -0
  775. /package/dist/chunks/{reference-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  776. /package/dist/chunks/{reference-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  777. /package/dist/chunks/{reference-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  778. /package/dist/chunks/{reference-mp448xyj.js → config-mp448xyj.js} +0 -0
  779. /package/dist/chunks/{reference-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  780. /package/dist/chunks/{reference-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  781. /package/dist/chunks/{reference-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  782. /package/dist/chunks/{reference-njntx4h6.js → config-njntx4h6.js} +0 -0
  783. /package/dist/chunks/{reference-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{reference-q74kybfr.js → config-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{reference-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{reference-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{reference-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{reference-qg3g05ea.js → config-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{reference-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{reference-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{reference-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{reference-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  793. /package/dist/chunks/{reference-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  794. /package/dist/chunks/{reference-w803qqfp.js → config-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{reference-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{reference-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{reference-wtztk69x.js → config-wtztk69x.js} +0 -0
  798. /package/dist/chunks/{reference-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  799. /package/dist/chunks/{reference-x61499pn.js → config-x61499pn.js} +0 -0
  800. /package/dist/chunks/{reference-y44na4kk.js → config-y44na4kk.js} +0 -0
  801. /package/dist/chunks/{reference-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  802. /package/dist/chunks/{reference-y8f7s663.js → config-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{reference-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{reference-ym463w8f.js → config-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{reference-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./reference-88xbtdfr.js";
3
+ } from "./config-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./reference-5qd3pb7m.js";
6
+ } from "./config-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./config-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event9,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
- Options: () => Options7,
17
- Service: () => Service51,
16
+ Options: () => Options10,
17
+ Service: () => Service65,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured7,
20
+ configured: () => configured10,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer20,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node53,
25
+ node: () => node68,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ 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 Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options7 = Schema.Struct({
56
+ var Options10 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service51 extends Context.Service()("@opencode/Watcher") {
60
+ class Service65 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service51.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service65.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 layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service51.of({ subscribe });
108
+ return Service65.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(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service51).subscribe,
134
+ subscribe: Context.get(context, Service65).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(Service51, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service65, 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 configured7(options) {
168
- return makeGlobalNode({ service: Service51, layer: layer20(options), deps: [nativeNode2] });
167
+ function configured10(options) {
168
+ return makeGlobalNode({ service: Service65, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node53 = configured7();
170
+ var node68 = configured10();
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 { Event9, hasNativeBinding2, Native3, Options7, Service51, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node53, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options10, Service65, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node68, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./reference-y8cydn3q.js";
3
+ } from "./config-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./reference-ym463w8f.js";
3
+ } from "./config-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service59,
3
- node61,
2
+ Service63,
3
+ node66,
4
4
  canonical3
5
- } from "./reference-2e6dphxw.js";
5
+ } from "./config-ft0c832p.js";
6
6
  import {
7
- Service44,
8
- node46
9
- } from "./reference-51f5btjf.js";
7
+ Service47,
8
+ node49
9
+ } from "./config-2a6rn6yr.js";
10
10
  import {
11
- Service20
12
- } from "./reference-bf7x6yrd.js";
11
+ Service13
12
+ } from "./config-zcrw2f69.js";
13
13
  import {
14
14
  layer2
15
- } from "./reference-4wvg2h98.js";
15
+ } from "./config-tsgjpmhp.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service59, Effect.gen(function* () {
20
+ return Layer.effect(Service63, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service20);
30
+ const lifecycle = Context.get(exit.value, Service13);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node46.replace(Layer.succeed(Service44, {
57
+ node49.replace(Layer.succeed(Service47, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node61.replace(Layer.succeed(Service59, map))
61
+ node66.replace(Layer.succeed(Service63, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./reference-922hggd3.js";
3
+ } from "./config-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./reference-xfkkasph.js";
3
+ } from "./config-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service77,
4
- node81
5
- } from "./reference-r9e31c0d.js";
2
+ ID8,
3
+ Service68,
4
+ node71
5
+ } from "./config-q8w7nh62.js";
6
6
  import {
7
- ID13,
7
+ ID7,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service76,
16
- node80
17
- } from "./reference-eqy59tqm.js";
15
+ Service67,
16
+ node70
17
+ } from "./config-fvve35qg.js";
18
18
  import {
19
- Service75,
20
- node79
21
- } from "./reference-ypd49sxc.js";
19
+ Service53,
20
+ node55
21
+ } from "./config-56ee48df.js";
22
22
  import {
23
23
  ID6,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service55,
27
- node57
28
- } from "./reference-ww5pdtvn.js";
26
+ Service66,
27
+ node69
28
+ } from "./config-g29bj6y9.js";
29
29
  import {
30
30
  __export
31
- } from "./reference-9rqn6x4v.js";
31
+ } from "./config-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service54,
40
+ Service: () => Service49,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer21,
48
- node: () => node56,
47
+ layer: () => layer19,
48
+ node: () => node51,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,7 +55,7 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID13,
58
+ providerID: ID7,
59
59
  modelID: ID6,
60
60
  variant: VariantID2
61
61
  }) {
@@ -65,7 +65,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID13,
68
+ providerID: ID7,
69
69
  modelID: ID6,
70
70
  package: Schema.String
71
71
  }) {
@@ -76,7 +76,7 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID13,
79
+ providerID: ID7,
80
80
  modelID: ID6,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
@@ -87,7 +87,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID13,
90
+ providerID: ID7,
91
91
  modelID: ID6,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
@@ -99,7 +99,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID13,
102
+ providerID: ID7,
103
103
  modelID: ID6,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
@@ -109,7 +109,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID13,
112
+ providerID: ID7,
113
113
  modelID: ID6,
114
114
  route: Schema.String
115
115
  }) {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service54 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service49 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer21 = Layer.effect(Service54, Effect.gen(function* () {
262
- const providers = yield* Service76;
263
- const models = yield* Service55;
264
- const integrations = yield* Service77;
261
+ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
262
+ const providers = yield* Service67;
263
+ const models = yield* Service66;
264
+ const integrations = yield* Service68;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service75;
266
+ const aisdk = yield* Service53;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer21 = Layer.effect(Service54, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service54.of({
296
+ return Service49.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node56 = makeLocationNode({
314
- service: Service54,
315
- layer: layer21,
316
- deps: [node80, node57, node81, Npm.node, node79]
313
+ var node51 = makeLocationNode({
314
+ service: Service49,
315
+ layer: layer19,
316
+ deps: [node70, node69, node71, Npm.node, node55]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node56, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node51, exports_model_resolver };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./reference-31ywrma3.js";
2
+ Service82,
3
+ node86
4
+ } from "./config-t5vtp9rn.js";
5
5
  import {
6
6
  create3
7
- } from "./reference-rdw6cm16.js";
7
+ } from "./config-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./reference-9rqn6x4v.js";
10
+ } from "./config-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event13,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info20,
18
+ Info: () => Info9,
19
19
  NotFoundError: () => NotFoundError6,
20
- Service: () => Service60,
21
- layer: () => layer22,
22
- node: () => node62
20
+ Service: () => Service51,
21
+ layer: () => layer21,
22
+ node: () => node53
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event13 } from "@opencode/schema/command";
28
- var Info20 = Command.Info;
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
+ var Info9 = Command.Info;
29
29
 
30
30
  class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service60 extends Context.Service()("@opencode/Command") {
42
+ class Service51 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer22 = Layer.effect(Service60, Effect.gen(function* () {
45
- const bus = yield* Service83;
44
+ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
45
+ const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service60, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info20.make({
54
+ const info = (definition) => Info9.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service60.of({
58
+ return Service51.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,10 +71,10 @@ var layer22 = Layer.effect(Service60, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node62 = makeLocationNode({
75
- service: Service60,
76
- layer: layer22,
77
- deps: [node87]
74
+ var node53 = makeLocationNode({
75
+ service: Service51,
76
+ layer: layer21,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info20, NotFoundError6, ExecutionError2, Service60, layer22, node62, exports_command5, Event13 };
89
+ export { Info9, NotFoundError6, ExecutionError2, Service51, layer21, node53, exports_command4, Event10 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-fzts1kpm.js";
3
+ } from "./config-0jtesnr4.js";
4
4
  import {
5
- Service83
6
- } from "./reference-31ywrma3.js";
5
+ Service82
6
+ } from "./config-t5vtp9rn.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./reference-nezp3nh3.js";
9
+ Event16
10
+ } from "./config-7hvbv13b.js";
11
11
  import {
12
- ID14,
12
+ ID8,
13
13
  MethodID2
14
- } from "./reference-r9e31c0d.js";
14
+ } from "./config-q8w7nh62.js";
15
15
  import {
16
16
  key2
17
- } from "./reference-h6r3nrb9.js";
17
+ } from "./config-cpj0znwe.js";
18
18
  import {
19
- Service16
20
- } from "./reference-hz0q9sdq.js";
19
+ Service14
20
+ } from "./config-f5gy8qwh.js";
21
21
  import {
22
- ID13,
22
+ ID7,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./reference-eqy59tqm.js";
25
+ } from "./config-fvve35qg.js";
26
26
  import {
27
27
  ID4,
28
28
  Input13,
29
29
  Response2
30
- } from "./reference-t4btr8yn.js";
30
+ } from "./config-d7vvjxwr.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
71
71
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
72
72
  function oauth(http) {
73
73
  return {
74
- integrationID: ID14.make("opencode"),
74
+ integrationID: ID8.make("opencode"),
75
75
  method: {
76
76
  id: methodID,
77
77
  type: "oauth",
@@ -125,10 +125,10 @@ function oauth(http) {
125
125
  var OpencodePlugin2 = define({
126
126
  id: "opencode.provider.opencode",
127
127
  effect: Effect.fn(function* (ctx) {
128
- const bus = yield* Service83;
128
+ const bus = yield* Service82;
129
129
  const client = yield* HttpClient.HttpClient;
130
130
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
131
- const managed = yield* Service16;
131
+ const managed = yield* Service14;
132
132
  const loading = Semaphore.makeUnsafe(1);
133
133
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
134
134
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
162
162
  providers.update(providerID, (provider) => {
163
163
  if (source && source.provider !== provider)
164
164
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
165
- provider.integrationID = ID14.make("opencode");
165
+ provider.integrationID = ID8.make("opencode");
166
166
  if (item.canonical !== undefined)
167
167
  provider.canonical = item.canonical;
168
168
  if (item.name !== undefined)
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
232
232
  sourceConnection: snapshot.connection
233
233
  });
234
234
  }
235
- const item = providers.get(ID13.opencode);
235
+ const item = providers.get(ID7.opencode);
236
236
  if (!item)
237
237
  return;
238
238
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
244
244
  });
245
245
  });
246
246
  yield* ctx.model.transform((models) => {
247
- const item = models.provider.get(ID13.opencode);
247
+ const item = models.provider.get(ID7.opencode);
248
248
  if (!item)
249
249
  return;
250
250
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
314
314
  });
315
315
  });
316
316
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
317
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
317
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
318
318
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
319
319
  })
320
320
  });