@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,19 +1,19 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./reference-faj6f0em.js";
4
+ } from "./config-ekr1tkzw.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make19,
8
+ make20,
9
9
  combine2
10
- } from "./reference-t550f9t1.js";
10
+ } from "./config-02nrjc1r.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./reference-bjtzbw4r.js";
13
+ } from "./config-bjtzbw4r.js";
14
14
  import {
15
15
  __export
16
- } from "./reference-9rqn6x4v.js";
16
+ } from "./config-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service32,
25
+ Service: () => Service42,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node35,
29
+ node: () => node45,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service32 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service42 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make20({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service32, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service32.of({ list, put, remove, load });
111
+ return Service42.of({ list, put, remove, load });
112
112
  }));
113
- var node35 = makeLocationNode({ service: Service32, layer, deps: [node88] });
113
+ var node45 = makeLocationNode({ service: Service42, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node35, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service42, node45, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./reference-qfa1cgps.js";
3
+ } from "./config-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./reference-6msgmcgs.js";
4
+ } from "./config-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./reference-qfa1cgps.js";
7
+ } from "./config-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service50
3
- } from "./reference-bkyy3065.js";
2
+ Service64
3
+ } from "./config-sjnymxq5.js";
4
4
  import {
5
- Service10
6
- } from "./reference-djszqvmq.js";
5
+ Service8
6
+ } from "./config-cpneeje0.js";
7
7
  import {
8
8
  observe2
9
- } from "./reference-qsdy395h.js";
9
+ } from "./config-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./config-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher2 = {};
16
- __export(exports_location_watcher2, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin37
15
+ var exports_location_watcher = {};
16
+ __export(exports_location_watcher, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
+ Plugin: () => Plugin46
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin37 = define({
22
+ var Plugin46 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service50;
26
- const policy = yield* Service10;
25
+ const config = yield* Service64;
26
+ const policy = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin37 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin37, exports_location_watcher2 };
38
+ export { Plugin46, exports_location_watcher };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  key2
3
- } from "./reference-h6r3nrb9.js";
3
+ } from "./config-cpj0znwe.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
- ID13,
16
+ ID7,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service76
20
- } from "./reference-eqy59tqm.js";
19
+ Service67
20
+ } from "./config-fvve35qg.js";
21
21
  import {
22
22
  ID6
23
- } from "./reference-ww5pdtvn.js";
23
+ } from "./config-g29bj6y9.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./reference-pntwmbjc.js";
27
+ } from "./config-454kp9wr.js";
28
28
  import {
29
29
  useragent2
30
- } from "./reference-fzts1kpm.js";
30
+ } from "./config-0jtesnr4.js";
31
31
  import {
32
- ID10
33
- } from "./reference-1qadeb1c.js";
32
+ ID15
33
+ } from "./config-ed84fsvm.js";
34
34
 
35
35
  // src/plugin/provider/github-copilot.ts
36
36
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
62
62
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
63
63
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
64
64
  var oauth = (app) => ({
65
- integrationID: ID14.make("github-copilot"),
65
+ integrationID: ID8.make("github-copilot"),
66
66
  method: {
67
67
  id: methodID,
68
68
  type: "oauth",
@@ -160,8 +160,8 @@ var oauth = (app) => ({
160
160
  var GithubCopilotPlugin2 = define({
161
161
  id: "opencode.provider.github.copilot",
162
162
  effect: Effect.fn(function* (ctx) {
163
- const providers = yield* Service76;
164
- const bus = yield* Service83;
163
+ const providers = yield* Service67;
164
+ const bus = yield* Service82;
165
165
  const loading = Semaphore.makeUnsafe(1);
166
166
  const loaded = {};
167
167
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -177,7 +177,7 @@ var GithubCopilotPlugin2 = define({
177
177
  return;
178
178
  }
179
179
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
180
- const provider = yield* providers.get(ID13.githubCopilot);
180
+ const provider = yield* providers.get(ID7.githubCopilot);
181
181
  const remote = yield* Effect.tryPromise({
182
182
  try: () => load3(url, {
183
183
  ...provider?.headers,
@@ -199,7 +199,7 @@ var GithubCopilotPlugin2 = define({
199
199
  editor.method.update(oauth(ctx.app));
200
200
  });
201
201
  yield* ctx.provider.transform((evt) => {
202
- const item = evt.get(ID13.githubCopilot);
202
+ const item = evt.get(ID7.githubCopilot);
203
203
  if (!item)
204
204
  return;
205
205
  if (loaded.models) {
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
219
219
  }
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- if (models.get(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
223
- models.update(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
222
+ if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
223
+ models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
224
224
  model.enabled = false;
225
225
  });
226
226
  }
227
227
  });
228
228
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
229
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
229
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
230
  yield* refresh().pipe(Effect.forkScoped);
231
231
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
232
- if (evt.model.providerID !== ID13.githubCopilot)
232
+ if (evt.model.providerID !== ID7.githubCopilot)
233
233
  return;
234
234
  if (evt.package !== "@ai-sdk/github-copilot")
235
235
  return;
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  evt.sdk = mod.createOpenaiCompatible(evt.options);
239
239
  }));
240
240
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID13.githubCopilot)
241
+ if (evt.model.providerID !== ID7.githubCopilot)
242
242
  return;
243
243
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
244
244
  return;
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
248
248
  evt.headers["X-Interaction-Id"] = evt.sessionID;
249
249
  if (interaction !== "conversation-agent")
250
250
  evt.headers["x-initiator"] = "agent";
251
- }), { providerID: ID13.githubCopilot });
251
+ }), { providerID: ID7.githubCopilot });
252
252
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID13.githubCopilot)
253
+ if (evt.model.providerID !== ID7.githubCopilot)
254
254
  return;
255
255
  if (!loaded.baseURL || !loaded.token || !loaded.models)
256
256
  return;
257
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
257
+ const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
258
258
  return;
259
259
  }));
260
260
  if (agent?.data.model)
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
265
265
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
266
266
  return;
267
267
  }));
268
- }), { providerID: ID13.githubCopilot });
268
+ }), { providerID: ID7.githubCopilot });
269
269
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
270
- if (evt.model.providerID !== ID13.githubCopilot)
270
+ if (evt.model.providerID !== ID7.githubCopilot)
271
271
  return;
272
272
  const token = evt.request.headers.get("x-api-key");
273
273
  if (!token)
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
275
275
  const text = yield* Effect.promise(() => evt.request.clone().text());
276
276
  const body = Option.getOrUndefined(decodeBody(text));
277
277
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
278
- }), { providerID: ID13.githubCopilot });
278
+ }), { providerID: ID7.githubCopilot });
279
279
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
280
- if (evt.model.providerID !== ID13.githubCopilot)
280
+ if (evt.model.providerID !== ID7.githubCopilot)
281
281
  return;
282
282
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
283
283
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,22 +1,22 @@
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
- Key4,
7
- Service78,
8
- node82
9
- } from "./reference-nezp3nh3.js";
6
+ Key3,
7
+ Service70,
8
+ node73
9
+ } from "./config-7hvbv13b.js";
10
10
  import {
11
11
  create3
12
- } from "./reference-rdw6cm16.js";
12
+ } from "./config-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./reference-nx90x7kt.js";
16
+ } from "./config-kn2sx07v.js";
17
17
  import {
18
18
  __export
19
- } from "./reference-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event18,
35
- ID: () => ID14,
36
- Info: () => Info29,
34
+ Event: () => Event14,
35
+ ID: () => ID8,
36
+ Info: () => Info23,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service77,
44
- node: () => node81
43
+ Service: () => Service68,
44
+ node: () => node71
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event18 } from "@opencode/schema/integration";
66
- var ID14 = Integration.ID;
65
+ import { Event as Event14 } from "@opencode/schema/integration";
66
+ var ID8 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info29 = Integration.Info;
74
+ var Info23 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID14,
97
+ integrationID: ID8,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service77 extends Context.Service()("@opencode/Integration") {
103
+ class Service68 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service77, Effect.gen(function* () {
109
- const credentials = yield* Service78;
110
- const bus = yield* Service83;
108
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
109
+ const credentials = yield* Service70;
110
+ const bus = yield* Service82;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
201
201
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
202
202
  return [...credentials, ...env];
203
203
  };
204
- const project = (entry, connections) => Info29.make({
204
+ const project = (entry, connections) => Info23.make({
205
205
  id: entry.ref.id,
206
206
  name: entry.ref.name,
207
207
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
285
285
  const persistence = yield* createCredential({
286
286
  integrationID: attempt.integrationID,
287
287
  label: attempt.label,
288
- value: Key4.make({ type: "key", key: exit.value })
288
+ value: Key3.make({ type: "key", key: exit.value })
289
289
  }).pipe(Effect.asVoid, Effect.exit);
290
290
  const settledAt = yield* Clock.currentTimeMillis;
291
291
  const terminal = Exit.isSuccess(persistence) ? {
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
431
431
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
432
432
  return CommandAttempt2.make({ attemptID, time });
433
433
  });
434
- return Service77.of({
434
+ return Service68.of({
435
435
  transform: state.transform,
436
436
  reload: state.reload,
437
437
  revision: state.revision,
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
453
453
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
454
454
  if (connection.type === "env") {
455
455
  const key = process.env[connection.name];
456
- return key ? Key4.make({ type: "key", key }) : undefined;
456
+ return key ? Key3.make({ type: "key", key }) : undefined;
457
457
  }
458
458
  const credential = yield* credentials.get(connection.id);
459
459
  if (!credential)
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
486
486
  yield* createCredential({
487
487
  integrationID: input.integrationID,
488
488
  label: input.label,
489
- value: Key4.make({
489
+ value: Key3.make({
490
490
  type: "key",
491
491
  key: input.key,
492
492
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
580
580
  }
581
581
  });
582
582
  }));
583
- var node81 = makeLocationNode({
584
- service: Service77,
583
+ var node71 = makeLocationNode({
584
+ service: Service68,
585
585
  layer,
586
- deps: [node82, node87, AppProcess.node]
586
+ deps: [node73, node86, AppProcess.node]
587
587
  });
588
588
 
589
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
589
+ export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node71, exports_integration, Event14 };
@@ -1,26 +1,26 @@
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
  success2,
17
17
  error2
18
- } from "./reference-pjvnvgmy.js";
18
+ } from "./config-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID7,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./reference-eqy59tqm.js";
23
+ } from "./config-fvve35qg.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID14.make("openai"),
47
+ integrationID: ID8.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID14.make("openai"),
120
+ integrationID: ID8.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service83;
165
+ const bus = yield* Service82;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID13.openai);
181
+ const item = providers.get(ID7.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID13.openai)) {
200
+ for (const model of models.list(ID7.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID13.openai });
228
+ }), { providerID: ID7.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin2 };
321
+ export { OpenAIPlugin3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info11,
10
+ Info: () => Info19,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info11 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info11, exports_permission };
41
+ export { Action2, Object2, Rule2, Info19, exports_permission };