@opencode/core 0.0.0-dev-21818 → 0.0.0-dev-21821

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 (811) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{command-034tev2y.js → state-034tev2y.js} +2 -2
  8. package/dist/chunks/{command-d2r51erv.js → state-06nwrmf6.js} +15 -15
  9. package/dist/chunks/{command-m37sd98t.js → state-06w9ffrv.js} +7 -7
  10. package/dist/chunks/{command-qk5jxgq1.js → state-0af46afc.js} +9 -9
  11. package/dist/chunks/{command-2hxshrhc.js → state-0cwttbeb.js} +28 -28
  12. package/dist/chunks/{command-yphf4wkb.js → state-0czbrqz1.js} +42 -42
  13. package/dist/chunks/{command-ekteap66.js → state-0gcad0bv.js} +6 -6
  14. package/dist/chunks/{command-d22d9jvp.js → state-0me3cbze.js} +33 -33
  15. package/dist/chunks/{command-ejj7q3zx.js → state-0zn7pq1y.js} +8 -8
  16. package/dist/chunks/{command-9gwdkggz.js → state-12k1n0af.js} +19 -19
  17. package/dist/chunks/{command-bcvpnfz0.js → state-15n1g7v8.js} +19 -19
  18. package/dist/chunks/{command-t33zj5sv.js → state-1arg9991.js} +13 -13
  19. package/dist/chunks/{command-kw6cmkwk.js → state-1c10trcx.js} +21 -21
  20. package/dist/chunks/{command-1ep2p91f.js → state-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{command-1x2knyw4.js → state-1x2knyw4.js} +1 -1
  22. package/dist/chunks/state-21kyany4.js +261 -0
  23. package/dist/chunks/state-28779zxv.js +26 -0
  24. package/dist/chunks/{command-b0f7zp2n.js → state-2kxtsxrk.js} +5 -5
  25. package/dist/chunks/{command-bdgfgxkz.js → state-2ppa869z.js} +7 -7
  26. package/dist/chunks/{command-919wx1z3.js → state-2pqdxqk3.js} +8 -8
  27. package/dist/chunks/{command-vwyfhr0a.js → state-2rqvw2mf.js} +32 -32
  28. package/dist/chunks/{command-wrd1e224.js → state-2v7qkbf0.js} +24 -24
  29. package/dist/chunks/{command-2z1j29yd.js → state-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{command-jfemb6dg.js → state-30b52wnj.js} +26 -26
  31. package/dist/chunks/{command-rkvbxbtx.js → state-33rsf8jw.js} +21 -21
  32. package/dist/chunks/{command-eshe19cj.js → state-3dsdetck.js} +9 -9
  33. package/dist/chunks/{command-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{command-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{command-ekcysewp.js → state-3tmwm9va.js} +4 -4
  36. package/dist/chunks/{command-40za9wsf.js → state-40za9wsf.js} +2 -2
  37. package/dist/chunks/{command-9mrkfh1z.js → state-4349p72q.js} +43 -43
  38. package/dist/chunks/{command-dnspaa82.js → state-44asjrm9.js} +6 -6
  39. package/dist/chunks/{command-zcttm0a7.js → state-49chts1v.js} +17 -17
  40. package/dist/chunks/{command-fv74a081.js → state-49xna53c.js} +7 -7
  41. package/dist/chunks/{command-vg3pf4h8.js → state-4awm4drz.js} +9 -9
  42. package/dist/chunks/{command-k8yb96yz.js → state-4c4w8c1g.js} +6 -6
  43. package/dist/chunks/{command-bqkh1202.js → state-4eknyzsm.js} +3 -3
  44. package/dist/chunks/{command-mgyrh3fg.js → state-4k1t9mxy.js} +13 -13
  45. package/dist/chunks/{command-5r6qh7e4.js → state-4kpnky1c.js} +10 -10
  46. package/dist/chunks/{command-j65hkcsb.js → state-4nw1g1b0.js} +12 -12
  47. package/dist/chunks/{command-536c1kkr.js → state-4p9b4r2p.js} +4 -4
  48. package/dist/chunks/{command-dk5xnaxx.js → state-4q1b57yv.js} +4 -4
  49. package/dist/chunks/{command-4v008n1t.js → state-4v008n1t.js} +1 -1
  50. package/dist/chunks/{command-n61941kj.js → state-4vmx2553.js} +33 -33
  51. package/dist/chunks/{command-a24mpnx1.js → state-4xa8m40g.js} +18 -18
  52. package/dist/chunks/{command-4xvmh7wp.js → state-4xvmh7wp.js} +3 -3
  53. package/dist/chunks/{command-jatb60mj.js → state-4z26ga1z.js} +19 -19
  54. package/dist/chunks/{command-k3s0qkj7.js → state-503es954.js} +20 -20
  55. package/dist/chunks/{command-xt2n4gan.js → state-51j4br5n.js} +25 -25
  56. package/dist/chunks/{command-jhd2q5aa.js → state-54kk5jnt.js} +27 -27
  57. package/dist/chunks/{command-xfys7e1v.js → state-5bbtdh0c.js} +12 -12
  58. package/dist/chunks/{command-601dsf04.js → state-5ez0dp37.js} +2 -2
  59. package/dist/chunks/{command-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{command-krv10r25.js → state-5t1vec6f.js} +13 -13
  61. package/dist/chunks/{command-38gd8qqf.js → state-5x6g3p31.js} +17 -17
  62. package/dist/chunks/{command-zba5tm1j.js → state-61ennm6n.js} +4 -4
  63. package/dist/chunks/{command-xc2k0qa9.js → state-6avyng2x.js} +10 -10
  64. package/dist/chunks/{command-6esdw8yj.js → state-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{command-6pjqjmy2.js → state-6pjqjmy2.js} +1 -1
  66. package/dist/chunks/{command-88bjnhq0.js → state-70bbkc3v.js} +5 -5
  67. package/dist/chunks/{command-h1a1swr0.js → state-73sjrw23.js} +21 -21
  68. package/dist/chunks/{command-w8qtt4th.js → state-76cb1hcw.js} +4 -4
  69. package/dist/chunks/{command-xt4j5ppg.js → state-771e9tr6.js} +5 -5
  70. package/dist/chunks/{command-5jyzhfg0.js → state-77xnrh6j.js} +4 -4
  71. package/dist/chunks/{command-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{command-athptrr6.js → state-7qcnp0x1.js} +8 -8
  73. package/dist/chunks/{command-ky6psh45.js → state-7va89kx5.js} +11 -11
  74. package/dist/chunks/{command-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{command-afj7tpg0.js → state-80e17k03.js} +20 -20
  76. package/dist/chunks/{command-x8rpw2zs.js → state-80jbgczm.js} +16 -16
  77. package/dist/chunks/{command-bvnym4q4.js → state-81jtk0d4.js} +9 -9
  78. package/dist/chunks/{command-as5dbhq9.js → state-8371pj2x.js} +6 -6
  79. package/dist/chunks/{command-qv7y9773.js → state-87s5319w.js} +4 -4
  80. package/dist/chunks/{command-anxj7259.js → state-8csxm7jm.js} +9 -9
  81. package/dist/chunks/{command-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{command-as1c0yqt.js → state-8zstk8sy.js} +24 -24
  83. package/dist/chunks/{command-dkg6zq9k.js → state-90c15hge.js} +3 -3
  84. package/dist/chunks/{command-91rj84md.js → state-91rj84md.js} +1 -1
  85. package/dist/chunks/{command-41rwrk3a.js → state-94q7ag8d.js} +35 -35
  86. package/dist/chunks/{command-drp4sy68.js → state-963r0pdn.js} +11 -11
  87. package/dist/chunks/{command-zv77kcwz.js → state-972xsrgc.js} +11 -11
  88. package/dist/chunks/{command-5j20qf3f.js → state-992fen1c.js} +42 -42
  89. package/dist/chunks/{command-998yhzzq.js → state-998yhzzq.js} +3 -3
  90. package/dist/chunks/{command-eefqnhm8.js → state-99dpys38.js} +307 -307
  91. package/dist/chunks/{command-7zt3ezbt.js → state-9bgr5st8.js} +11 -11
  92. package/dist/chunks/{command-9cx9sm2q.js → state-9cx9sm2q.js} +1 -1
  93. package/dist/chunks/{command-e5xbdws1.js → state-9zkm52pa.js} +16 -16
  94. package/dist/chunks/state-a610t88q.js +18 -0
  95. package/dist/chunks/state-acqd5mw7.js +169 -0
  96. package/dist/chunks/{command-3qb2tvq8.js → state-adc3yk6d.js} +18 -18
  97. package/dist/chunks/{command-mdqxs31b.js → state-adchpjjx.js} +12 -12
  98. package/dist/chunks/{command-mtm9tq44.js → state-ady00g1q.js} +17 -17
  99. package/dist/chunks/{command-fvf40wtt.js → state-aev3k5yp.js} +24 -24
  100. package/dist/chunks/{command-82k6bzc0.js → state-amh70zsf.js} +39 -39
  101. package/dist/chunks/{command-k4vjszwk.js → state-ay9v92pn.js} +4 -4
  102. package/dist/chunks/{command-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
  103. package/dist/chunks/{command-b0mv4wxm.js → state-b0mv4wxm.js} +2 -2
  104. package/dist/chunks/{command-b6vsg801.js → state-b6vsg801.js} +2 -2
  105. package/dist/chunks/{command-at1k79a5.js → state-b7jmvbzq.js} +19 -19
  106. package/dist/chunks/{command-vkjtdrj5.js → state-b945bzec.js} +16 -16
  107. package/dist/chunks/{command-7sf0nz0c.js → state-bfs9yhh1.js} +29 -29
  108. package/dist/chunks/{command-fptf4jb2.js → state-bha90fza.js} +18 -18
  109. package/dist/chunks/{command-ra86m6px.js → state-bktwhx9z.js} +19 -19
  110. package/dist/chunks/{command-t8nkzmzj.js → state-br0kkpnn.js} +4 -4
  111. package/dist/chunks/{command-bstexjd6.js → state-bstexjd6.js} +1 -1
  112. package/dist/chunks/{command-qah7t4da.js → state-c4970w7t.js} +6 -6
  113. package/dist/chunks/{command-3bv62f95.js → state-c5stsejj.js} +49 -49
  114. package/dist/chunks/{command-0e8wpp30.js → state-c8gsdbv5.js} +11 -11
  115. package/dist/chunks/{command-za6yq9hg.js → state-ce5fknq2.js} +5 -5
  116. package/dist/chunks/{command-c379g7ag.js → state-ceyjc8ge.js} +23 -23
  117. package/dist/chunks/{command-rxrz6b15.js → state-ch4a6gtw.js} +2 -2
  118. package/dist/chunks/{command-5s5ptkmy.js → state-cypkeheb.js} +13 -13
  119. package/dist/chunks/{command-913j3mh8.js → state-d4ba0d7d.js} +11 -11
  120. package/dist/chunks/{command-d4v9tmah.js → state-d4v9tmah.js} +2 -2
  121. package/dist/chunks/{command-qdm153cs.js → state-d7fjdp3y.js} +18 -18
  122. package/dist/chunks/{command-t2bs72an.js → state-dad9fjtp.js} +2 -2
  123. package/dist/chunks/{command-8bt0vqrr.js → state-djjzzs3c.js} +6 -6
  124. package/dist/chunks/{command-6ad2fdvv.js → state-dta660tg.js} +11 -11
  125. package/dist/chunks/{command-xpsakxdv.js → state-dyf500ns.js} +24 -24
  126. package/dist/chunks/{command-9wejqmxs.js → state-dzff6n8n.js} +8 -8
  127. package/dist/chunks/state-e07q2w5p.js +83 -0
  128. package/dist/chunks/{command-e834z07m.js → state-e834z07m.js} +1 -1
  129. package/dist/chunks/{command-ve1a31qq.js → state-e9rg68ej.js} +5 -5
  130. package/dist/chunks/{command-hb0m8f38.js → state-efrp7n2x.js} +9 -9
  131. package/dist/chunks/{command-p7kxzmqg.js → state-emxrw28n.js} +5 -5
  132. package/dist/chunks/{command-6r3jgch7.js → state-evc2jewf.js} +13 -13
  133. package/dist/chunks/{command-23h7j0rk.js → state-ew0y3ary.js} +29 -29
  134. package/dist/chunks/{command-12j5xb52.js → state-exhg2pyt.js} +17 -17
  135. package/dist/chunks/{command-9j2em94t.js → state-f0kzxy20.js} +28 -28
  136. package/dist/chunks/{command-6rzaq17p.js → state-f9aw19jy.js} +12 -12
  137. package/dist/chunks/{command-ry3msmns.js → state-fa13985z.js} +6 -6
  138. package/dist/chunks/{command-fffv3p7h.js → state-fffv3p7h.js} +1 -1
  139. package/dist/chunks/{command-v9f0gyh1.js → state-fhr2s1er.js} +17 -17
  140. package/dist/chunks/{command-nxxea952.js → state-fw65n7rt.js} +27 -27
  141. package/dist/chunks/{command-rpnphm24.js → state-g3azxf0z.js} +19 -19
  142. package/dist/chunks/{command-e8var0bn.js → state-g3kbmw45.js} +33 -33
  143. package/dist/chunks/{command-g5h9c0rr.js → state-g5h9c0rr.js} +2 -2
  144. package/dist/chunks/{command-eengcg00.js → state-gdb2frqz.js} +1 -1
  145. package/dist/chunks/{command-kx2s0cab.js → state-gfjw3g11.js} +33 -33
  146. package/dist/chunks/{command-h5qan5zz.js → state-ggp1yva8.js} +8 -8
  147. package/dist/chunks/{command-kz35drw9.js → state-gmbrqcch.js} +18 -18
  148. package/dist/chunks/{command-t2cmnhk6.js → state-gnqjpr12.js} +1 -1
  149. package/dist/chunks/{command-6rxdw5v4.js → state-gp8afgt9.js} +33 -33
  150. package/dist/chunks/{command-sn3c9y12.js → state-gtxfg6p1.js} +11 -11
  151. package/dist/chunks/{command-1v0dspd3.js → state-gtz18rwj.js} +27 -27
  152. package/dist/chunks/{command-y6tn7bpp.js → state-gvr1nqb0.js} +16 -16
  153. package/dist/chunks/{command-9q3dx9gn.js → state-h1ps7867.js} +18 -18
  154. package/dist/chunks/{command-y4n6pw34.js → state-h3b857xk.js} +4 -4
  155. package/dist/chunks/{command-6ek2k839.js → state-h54749ae.js} +7 -7
  156. package/dist/chunks/{command-1ftf7dq4.js → state-h5tcmygr.js} +32 -32
  157. package/dist/chunks/{command-rgrvdfrb.js → state-h7wan55b.js} +11 -11
  158. package/dist/chunks/{command-cg7dpz2x.js → state-hb48s5x4.js} +117 -198
  159. package/dist/chunks/{command-hdfrs5mg.js → state-hdfrs5mg.js} +2 -2
  160. package/dist/chunks/{command-3531vqe2.js → state-hdnjkj1d.js} +16 -16
  161. package/dist/chunks/{command-yzj4f4rb.js → state-hjqfsptq.js} +4 -4
  162. package/dist/chunks/{command-d0cfhy82.js → state-hq40j3p6.js} +40 -40
  163. package/dist/chunks/{command-sbcmjw49.js → state-hqncm972.js} +11 -11
  164. package/dist/chunks/{command-adw70tjx.js → state-hta0w01s.js} +182 -182
  165. package/dist/chunks/{command-ba7dfhfp.js → state-hvwvq3df.js} +8 -8
  166. package/dist/chunks/{command-tg1vr1qt.js → state-hy8c1z76.js} +8 -8
  167. package/dist/chunks/{command-rc5p4tbx.js → state-j02e2ssa.js} +21 -21
  168. package/dist/chunks/{command-j113cymg.js → state-j113cymg.js} +1 -1
  169. package/dist/chunks/{command-xhq4j13x.js → state-j9e6sx0d.js} +9 -9
  170. package/dist/chunks/{command-jchrqzf6.js → state-jefw9j3y.js} +4 -4
  171. package/dist/chunks/{command-absbpnym.js → state-jfeae8gq.js} +11 -11
  172. package/dist/chunks/{command-v8vd993n.js → state-jjx6aha5.js} +8 -8
  173. package/dist/chunks/{command-xpgf5ggf.js → state-jrwc8w57.js} +11 -11
  174. package/dist/chunks/{command-d8kktwmb.js → state-jt25wn2n.js} +7 -7
  175. package/dist/chunks/{command-pwp33k1j.js → state-jvnvsvj6.js} +15 -15
  176. package/dist/chunks/{command-y7mjvyet.js → state-k0jqhfwc.js} +14 -14
  177. package/dist/chunks/{command-k814nvkf.js → state-k814nvkf.js} +1 -1
  178. package/dist/chunks/{command-eb8ey7jf.js → state-k8m6h63c.js} +9 -9
  179. package/dist/chunks/{command-knm9h1gt.js → state-kbdzx3mw.js} +5 -5
  180. package/dist/chunks/{command-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
  181. package/dist/chunks/{command-m1714858.js → state-m1714858.js} +1 -1
  182. package/dist/chunks/{command-a6f4tgap.js → state-m1w08pzq.js} +38 -38
  183. package/dist/chunks/{command-g8sddq98.js → state-m4cs48c6.js} +37 -37
  184. package/dist/chunks/{command-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{command-maspj1v3.js → state-maspj1v3.js} +1 -1
  186. package/dist/chunks/{command-4kfhgg5n.js → state-mdn8gtgh.js} +16 -16
  187. package/dist/chunks/{command-agqd6nxz.js → state-mj0wev1x.js} +4 -4
  188. package/dist/chunks/{command-0kr898da.js → state-mpd21h1g.js} +11 -11
  189. package/dist/chunks/{command-qvw98tg0.js → state-mqcadzqw.js} +5 -5
  190. package/dist/chunks/{command-sa1j54ah.js → state-mwta5nj0.js} +4 -4
  191. package/dist/chunks/{command-hzrfc1p4.js → state-mzbswx4t.js} +3 -3
  192. package/dist/chunks/{command-ycf7t0x4.js → state-n1qenrmb.js} +3 -3
  193. package/dist/chunks/{command-n19651je.js → state-n8emybve.js} +6 -6
  194. package/dist/chunks/{command-nah043kf.js → state-nah043kf.js} +1 -1
  195. package/dist/chunks/{command-2b2ezf52.js → state-ncs6r1yk.js} +13 -13
  196. package/dist/chunks/{command-5jhj8f90.js → state-nqykckqs.js} +28 -28
  197. package/dist/chunks/{command-p015t6z3.js → state-p015t6z3.js} +2 -2
  198. package/dist/chunks/{command-nn4rsceg.js → state-p02wxyye.js} +52 -52
  199. package/dist/chunks/{command-8jw7rn7z.js → state-p5k0b6xz.js} +65 -48
  200. package/dist/chunks/{command-1yq9hg58.js → state-p7vhpwh8.js} +5 -5
  201. package/dist/chunks/{command-wrd39zd3.js → state-pbrfva61.js} +9 -9
  202. package/dist/chunks/{command-jt3cc694.js → state-pjwfm23k.js} +22 -16
  203. package/dist/chunks/{command-pknna89w.js → state-pknna89w.js} +1 -1
  204. package/dist/chunks/{command-jn0nm8ve.js → state-pr30wrsr.js} +3 -3
  205. package/dist/chunks/{command-sgf93zt1.js → state-ptmtz89k.js} +10 -10
  206. package/dist/chunks/{command-dqwe69sr.js → state-q52p07dj.js} +5 -5
  207. package/dist/chunks/{command-y3tncrtt.js → state-q5wyhmvf.js} +15 -15
  208. package/dist/chunks/{command-7gk9js8e.js → state-q6n1xzyn.js} +79 -79
  209. package/dist/chunks/{command-9s9yrq09.js → state-q8ydsxx6.js} +7 -7
  210. package/dist/chunks/{command-kkx1be94.js → state-qg5qwe27.js} +85 -85
  211. package/dist/chunks/{command-rhcben61.js → state-qgrec3y3.js} +43 -43
  212. package/dist/chunks/{command-fhkyxz58.js → state-qkreem8c.js} +61 -61
  213. package/dist/chunks/{command-w9654aqw.js → state-qxq90j3e.js} +6 -6
  214. package/dist/chunks/{command-pc1v25hk.js → state-qyq8h28g.js} +3 -3
  215. package/dist/chunks/{command-r0yr0wbs.js → state-r0yr0wbs.js} +1 -1
  216. package/dist/chunks/{command-n2mgc41n.js → state-r2y2r2h5.js} +12 -12
  217. package/dist/chunks/{command-r542h3bh.js → state-r542h3bh.js} +1 -1
  218. package/dist/chunks/{command-h41k652m.js → state-r67xb15b.js} +4 -4
  219. package/dist/chunks/{command-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{command-96frc3qv.js → state-rcsw1nba.js} +26 -26
  221. package/dist/chunks/{command-yhp1gsdf.js → state-rddythdj.js} +15 -15
  222. package/dist/chunks/{command-1vdntpm3.js → state-rdrpd67x.js} +7 -7
  223. package/dist/chunks/{command-vyyww4cp.js → state-rercxft0.js} +28 -28
  224. package/dist/chunks/{command-zppqv0za.js → state-rfhngetd.js} +2 -2
  225. package/dist/chunks/{command-v6e0t90w.js → state-rpazx2zk.js} +7 -7
  226. package/dist/chunks/{command-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{command-41krkmrm.js → state-rt6z3ksq.js} +6 -6
  228. package/dist/chunks/{command-ebgyc8dk.js → state-rvpcsj93.js} +17 -17
  229. package/dist/chunks/{command-p5n2p3b1.js → state-s4fqh25a.js} +32 -32
  230. package/dist/chunks/{command-v4y8fefg.js → state-s81f7mnr.js} +21 -21
  231. package/dist/chunks/{command-sa3fpqfw.js → state-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{command-jns1hsnf.js → state-scz350ws.js} +20 -20
  233. package/dist/chunks/{command-k008twyg.js → state-sf02nxf4.js} +22 -22
  234. package/dist/chunks/{command-b0j6y7s5.js → state-sjc7ghj1.js} +11 -11
  235. package/dist/chunks/{command-sqjzf8x2.js → state-sqjzf8x2.js} +1 -1
  236. package/dist/chunks/{command-d2887f8n.js → state-ssfehs1z.js} +4 -4
  237. package/dist/chunks/{command-jvnwfx78.js → state-st147jaz.js} +13 -13
  238. package/dist/chunks/{command-7xg2jm5b.js → state-szcgc7h4.js} +5 -5
  239. package/dist/chunks/{command-9b79tx17.js → state-ta944qmn.js} +31 -31
  240. package/dist/chunks/{command-tczq8hjw.js → state-tczq8hjw.js} +1 -1
  241. package/dist/chunks/{command-x81g74mp.js → state-tm5er3st.js} +10 -10
  242. package/dist/chunks/{command-6s0p322d.js → state-tmt05c3b.js} +9 -9
  243. package/dist/chunks/{command-99hv2r52.js → state-tr3b758d.js} +12 -12
  244. package/dist/chunks/{command-pnd0tgce.js → state-tv6f3a3e.js} +42 -42
  245. package/dist/chunks/{command-twv2r8f4.js → state-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{command-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{command-2xjnyn7t.js → state-vcckamen.js} +24 -24
  248. package/dist/chunks/{command-vd3b3yk9.js → state-vd3b3yk9.js} +1 -1
  249. package/dist/chunks/{command-veqvce7d.js → state-veqvce7d.js} +1 -1
  250. package/dist/chunks/{command-3mgb105e.js → state-vgk61ywp.js} +9 -9
  251. package/dist/chunks/{command-8h6a48m8.js → state-vj4r112x.js} +18 -18
  252. package/dist/chunks/{command-7fxmge10.js → state-vnxcbc78.js} +5 -5
  253. package/dist/chunks/{command-vrcsa8qx.js → state-vrcsa8qx.js} +2 -2
  254. package/dist/chunks/{command-je2dmma1.js → state-vyycp0en.js} +4 -4
  255. package/dist/chunks/{command-5j2x0vh6.js → state-vyzzfsct.js} +15 -15
  256. package/dist/chunks/{command-bgg6fpfq.js → state-w04hajkc.js} +8 -8
  257. package/dist/chunks/{command-tct5dn0h.js → state-w1dt9w7y.js} +13 -13
  258. package/dist/chunks/{command-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/state-w6p76wxk.js +250 -0
  260. package/dist/chunks/{command-ryw9gt93.js → state-w87973gh.js} +1 -1
  261. package/dist/chunks/{command-xsact9zs.js → state-w9w8mt4n.js} +4 -4
  262. package/dist/chunks/{command-wakvkjy4.js → state-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{command-cy2v52d0.js → state-wc8m166b.js} +4 -4
  264. package/dist/chunks/{command-wd87259q.js → state-wd87259q.js} +1 -1
  265. package/dist/chunks/{command-kntz01hn.js → state-weh1a0nb.js} +27 -27
  266. package/dist/chunks/{command-gy4qwgqr.js → state-wfrb9j0d.js} +8 -8
  267. package/dist/chunks/{command-jarxapq1.js → state-wh4zer6t.js} +23 -23
  268. package/dist/chunks/{command-w687dnns.js → state-wr3re1en.js} +4 -4
  269. package/dist/chunks/{command-vbjryyts.js → state-wttyt2c5.js} +20 -20
  270. package/dist/chunks/{command-xdpngg3w.js → state-x4dm9tkt.js} +24 -24
  271. package/dist/chunks/{command-bqsy6k7b.js → state-x4pq83ar.js} +8 -8
  272. package/dist/chunks/{command-8jztxfpf.js → state-x8nvjgx0.js} +4 -4
  273. package/dist/chunks/{command-tdhzh0hh.js → state-xbhwtc00.js} +10 -10
  274. package/dist/chunks/{command-pss5e485.js → state-xemekp33.js} +4 -4
  275. package/dist/chunks/{command-577yexmd.js → state-xhqtt1yk.js} +18 -18
  276. package/dist/chunks/{command-jnfhfvtc.js → state-xt3e85c7.js} +13 -13
  277. package/dist/chunks/{command-9g25krhk.js → state-y24xrewf.js} +16 -16
  278. package/dist/chunks/{command-bw8hbntf.js → state-y79xrw0m.js} +13 -13
  279. package/dist/chunks/{command-p17y9zxj.js → state-y9dcbvc0.js} +3 -3
  280. package/dist/chunks/{command-pn39a5na.js → state-ya7cyy7h.js} +5 -5
  281. package/dist/chunks/{command-yb20nhc3.js → state-yb20nhc3.js} +1 -1
  282. package/dist/chunks/{command-44ggx2jg.js → state-yc5f64c4.js} +5 -5
  283. package/dist/chunks/{command-cvnpy6ac.js → state-yee4tpcm.js} +25 -25
  284. package/dist/chunks/{command-ry63fkbp.js → state-ygjj23b0.js} +8 -8
  285. package/dist/chunks/{command-9w6z0tb8.js → state-ygmx28v3.js} +20 -20
  286. package/dist/chunks/{command-bbwwgj76.js → state-yjdnphb5.js} +17 -17
  287. package/dist/chunks/{command-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{command-z38nccrw.js → state-z38nccrw.js} +1 -1
  289. package/dist/chunks/{command-103he1eh.js → state-zap846dn.js} +27 -27
  290. package/dist/chunks/{command-zkg84ctx.js → state-zkg84ctx.js} +1 -1
  291. package/dist/chunks/{command-wphkpwyy.js → state-zxyxvdmp.js} +19 -19
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +87 -87
  297. package/dist/config/discovery.js +89 -89
  298. package/dist/config/integration.js +14 -0
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +104 -104
  301. package/dist/config/plugin/agent.js +118 -118
  302. package/dist/config/plugin/command.js +214 -214
  303. package/dist/config/plugin/compaction.js +157 -157
  304. package/dist/config/plugin/compatibility.js +137 -137
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +119 -119
  307. package/dist/config/plugin/image.js +118 -118
  308. package/dist/config/plugin/instruction.js +118 -118
  309. package/dist/config/plugin/location-watcher.js +118 -118
  310. package/dist/config/plugin/mcp.js +127 -127
  311. package/dist/config/plugin/policy.js +120 -119
  312. package/dist/config/plugin/provider.js +121 -118
  313. package/dist/config/plugin/reference.js +120 -120
  314. package/dist/config/plugin/shell.js +118 -118
  315. package/dist/config/plugin/skill-file.js +107 -107
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +138 -138
  318. package/dist/config/plugin/snapshot.js +118 -118
  319. package/dist/config/plugin/source.js +121 -121
  320. package/dist/config/plugin/tool-output.js +119 -119
  321. package/dist/config/plugin/websearch.js +117 -117
  322. package/dist/config/plugin/worktree.js +120 -120
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +123 -123
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +87 -87
  329. package/dist/database/database.js +70 -70
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration.gen.js +53 -53
  399. package/dist/database/migration.js +55 -55
  400. package/dist/database/path.js +2 -2
  401. package/dist/database/schema.gen.js +1 -1
  402. package/dist/database/schema.sql.js +1 -1
  403. package/dist/database/sqlite.bun.js +1 -1
  404. package/dist/database/sqlite.js +1 -1
  405. package/dist/database/sqlite.node.js +1 -1
  406. package/dist/database/sqlite.workerd.js +1 -1
  407. package/dist/database/v1-migration.bun.js +90 -90
  408. package/dist/database/v1-migration.js +1 -1
  409. package/dist/effect/app-node-builder.js +376 -374
  410. package/dist/effect/app-node-platform.js +2 -2
  411. package/dist/effect/keyed-mutex.js +3 -3
  412. package/dist/effect/websocket-constructor.js +1 -1
  413. package/dist/environment/driver.js +1 -1
  414. package/dist/environment/environment.js +98 -98
  415. package/dist/environment/exec-defaults.js +2 -2
  416. package/dist/environment/files.js +1 -1
  417. package/dist/environment/index.js +100 -100
  418. package/dist/environment/local.js +2 -2
  419. package/dist/environment/memory.js +2 -2
  420. package/dist/environment/unavailable.js +3 -3
  421. package/dist/event/sql.js +1 -1
  422. package/dist/event-logger.js +74 -74
  423. package/dist/file-access.js +109 -109
  424. package/dist/file-mutation.js +99 -99
  425. package/dist/file-retention.js +1 -1
  426. package/dist/filesystem/fff.bun.js +2 -2
  427. package/dist/filesystem/fff.js +1 -1
  428. package/dist/filesystem/fff.node.js +2 -2
  429. package/dist/filesystem/fff.workerd.js +2 -2
  430. package/dist/filesystem/location-watcher-policy.js +6 -6
  431. package/dist/filesystem/location-watcher.js +227 -227
  432. package/dist/filesystem/protected.js +3 -3
  433. package/dist/filesystem/search.js +104 -104
  434. package/dist/filesystem/watcher-binding.js +1 -1
  435. package/dist/filesystem/watcher.js +11 -11
  436. package/dist/filesystem.js +107 -107
  437. package/dist/form.js +88 -88
  438. package/dist/formatter/builtins.js +4 -4
  439. package/dist/formatter.js +88 -88
  440. package/dist/generate.js +108 -108
  441. package/dist/git.js +7 -7
  442. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  443. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  444. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  446. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  447. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  448. package/dist/github-copilot/copilot-provider.js +17 -17
  449. package/dist/github-copilot/models.js +104 -104
  450. package/dist/github-copilot/openai-compatible-error.js +1 -1
  451. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  452. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  453. package/dist/github-copilot/responses/openai-error.js +1 -1
  454. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  455. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  456. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  457. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  458. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  459. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  461. package/dist/image/photon.js +2 -2
  462. package/dist/image.js +6 -6
  463. package/dist/instance/service.js +5 -5
  464. package/dist/instance.js +367 -365
  465. package/dist/instruction-discovery.js +78 -78
  466. package/dist/instructions/builtins.js +92 -92
  467. package/dist/instructions/index.js +3 -3
  468. package/dist/integration/connection.js +3 -3
  469. package/dist/integration.js +93 -93
  470. package/dist/job.js +82 -82
  471. package/dist/kv/sql.js +2 -2
  472. package/dist/kv.js +77 -77
  473. package/dist/location-activity.js +158 -158
  474. package/dist/location-lifecycle.js +112 -112
  475. package/dist/location-service-map.js +91 -91
  476. package/dist/location-services.js +364 -362
  477. package/dist/location.js +86 -86
  478. package/dist/managed-policy.js +11 -10
  479. package/dist/mcp/client.js +96 -96
  480. package/dist/mcp/index.js +106 -106
  481. package/dist/mcp/instructions.js +143 -143
  482. package/dist/mcp/oauth.js +82 -82
  483. package/dist/mcp/socket-client.js +1 -1
  484. package/dist/mcp/stdio.js +95 -95
  485. package/dist/mime.js +1 -1
  486. package/dist/modal/models.js +104 -104
  487. package/dist/model-resolver.js +104 -104
  488. package/dist/model-retry.js +1 -1
  489. package/dist/model.js +103 -103
  490. package/dist/models-dev.js +112 -112
  491. package/dist/oauth/page.js +1 -1
  492. package/dist/permission/saved.js +82 -82
  493. package/dist/permission/sql.js +5 -5
  494. package/dist/permission.js +112 -112
  495. package/dist/persistent-pty/binary.bun.js +1 -1
  496. package/dist/persistent-pty/daemon.js +1 -1
  497. package/dist/persistent-pty/index.js +90 -90
  498. package/dist/persistent-pty/pty-binding.js +1 -1
  499. package/dist/persistent-pty.js +79 -79
  500. package/dist/plugin/agent.js +78 -78
  501. package/dist/plugin/command.js +103 -103
  502. package/dist/plugin/hooks.js +5 -5
  503. package/dist/plugin/host.js +222 -222
  504. package/dist/plugin/identity.js +5 -5
  505. package/dist/plugin/instance.js +5 -5
  506. package/dist/plugin/internal.js +337 -335
  507. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  508. package/dist/plugin/models-dev.js +101 -101
  509. package/dist/plugin/module.js +120 -119
  510. package/dist/plugin/optimize.js +2 -2
  511. package/dist/plugin/plan.js +107 -107
  512. package/dist/plugin/promise.js +1 -1
  513. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  514. package/dist/plugin/provider/azure.js +118 -118
  515. package/dist/plugin/provider/cerebras.js +1 -1
  516. package/dist/plugin/provider/chatgpt.js +118 -118
  517. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  518. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  519. package/dist/plugin/provider/cohere.js +2 -2
  520. package/dist/plugin/provider/configured.js +114 -114
  521. package/dist/plugin/provider/databricks.js +1 -1
  522. package/dist/plugin/provider/digitalocean.js +98 -98
  523. package/dist/plugin/provider/dynamic.js +2 -2
  524. package/dist/plugin/provider/factory.js +1 -1
  525. package/dist/plugin/provider/github-copilot.js +100 -100
  526. package/dist/plugin/provider/gitlab.js +98 -98
  527. package/dist/plugin/provider/google-vertex.js +115 -115
  528. package/dist/plugin/provider/kilo.js +1 -1
  529. package/dist/plugin/provider/llmgateway.js +82 -82
  530. package/dist/plugin/provider/lmstudio.js +127 -127
  531. package/dist/plugin/provider/local.js +124 -124
  532. package/dist/plugin/provider/modal.js +97 -97
  533. package/dist/plugin/provider/neon.js +1 -1
  534. package/dist/plugin/provider/nvidia.js +1 -1
  535. package/dist/plugin/provider/ollama.js +127 -127
  536. package/dist/plugin/provider/openai-context-caps.js +95 -95
  537. package/dist/plugin/provider/openai.js +118 -118
  538. package/dist/plugin/provider/opencode-legacy.js +116 -0
  539. package/dist/plugin/provider/opencode.js +124 -104
  540. package/dist/plugin/provider/openrouter.js +96 -96
  541. package/dist/plugin/provider/perplexity.js +2 -2
  542. package/dist/plugin/provider/poe.js +83 -83
  543. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  544. package/dist/plugin/provider/sap-ai-core.js +96 -96
  545. package/dist/plugin/provider/sdk-factory.js +1 -1
  546. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  547. package/dist/plugin/provider/vercel.js +95 -95
  548. package/dist/plugin/provider/vllm.js +127 -127
  549. package/dist/plugin/provider/xai.js +96 -96
  550. package/dist/plugin/provider/zenmux.js +1 -1
  551. package/dist/plugin/provider.js +175 -171
  552. package/dist/plugin/sdk.js +78 -78
  553. package/dist/plugin/service.js +3 -3
  554. package/dist/plugin/skill.js +132 -132
  555. package/dist/plugin/source-directory.js +1 -1
  556. package/dist/plugin/supervisor.js +354 -352
  557. package/dist/plugin/tool-input-repair.js +4 -4
  558. package/dist/plugin/update.js +6 -6
  559. package/dist/plugin/vcs/git.js +91 -91
  560. package/dist/plugin/vcs/hg.js +91 -91
  561. package/dist/plugin/verbosity.js +98 -98
  562. package/dist/plugin/warming.js +116 -116
  563. package/dist/plugin/websearch/exa.js +7 -7
  564. package/dist/plugin/websearch/firecrawl.js +8 -8
  565. package/dist/plugin/websearch/index.js +9 -9
  566. package/dist/plugin/websearch/mcp.js +2 -2
  567. package/dist/plugin/websearch/parallel.js +6 -6
  568. package/dist/plugin/websearch/tavily.js +4 -4
  569. package/dist/plugin/websearch/tinyfish.js +6 -6
  570. package/dist/plugin.js +227 -227
  571. package/dist/project/schema.js +2 -2
  572. package/dist/project/sql.js +4 -4
  573. package/dist/project.js +85 -85
  574. package/dist/provider.js +104 -104
  575. package/dist/pty/protocol.js +1 -1
  576. package/dist/pty/ticket.js +1 -1
  577. package/dist/pty.js +97 -97
  578. package/dist/reference/instructions.js +94 -94
  579. package/dist/reference.js +90 -90
  580. package/dist/repository-cache.js +86 -86
  581. package/dist/repository.js +1 -1
  582. package/dist/ripgrep/binary.js +2 -2
  583. package/dist/ripgrep.js +100 -100
  584. package/dist/rpc.js +91 -91
  585. package/dist/schema.js +1 -1
  586. package/dist/session/affinity.js +1 -1
  587. package/dist/session/command.js +78 -78
  588. package/dist/session/compaction.js +141 -141
  589. package/dist/session/context.js +167 -167
  590. package/dist/session/diff.js +93 -93
  591. package/dist/session/environment.js +5 -5
  592. package/dist/session/error.js +5 -5
  593. package/dist/session/event.js +1 -1
  594. package/dist/session/execution/restart.js +223 -223
  595. package/dist/session/execution.js +129 -129
  596. package/dist/session/generate.js +167 -167
  597. package/dist/session/history.js +13 -13
  598. package/dist/session/inbox.js +95 -95
  599. package/dist/session/info.js +3 -3
  600. package/dist/session/instruction-entry.js +81 -81
  601. package/dist/session/instruction-state.js +8 -8
  602. package/dist/session/instructions.js +102 -102
  603. package/dist/session/message-updater.js +2 -2
  604. package/dist/session/message.js +1 -1
  605. package/dist/session/model-request.js +125 -125
  606. package/dist/session/model-transport.js +9 -9
  607. package/dist/session/move.js +135 -135
  608. package/dist/session/projector.js +93 -93
  609. package/dist/session/prompt.js +110 -110
  610. package/dist/session/recent-text.js +1 -1
  611. package/dist/session/revert.js +99 -99
  612. package/dist/session/run-coordinator.js +3 -3
  613. package/dist/session/runner/index.js +3 -3
  614. package/dist/session/runner/llm.js +231 -231
  615. package/dist/session/runner/max-steps.js +1 -1
  616. package/dist/session/runner/model.js +105 -105
  617. package/dist/session/runner/publish-llm-event.js +118 -118
  618. package/dist/session/runner/retry.js +5 -5
  619. package/dist/session/runner/step.js +131 -131
  620. package/dist/session/runner/to-llm-message.js +14 -14
  621. package/dist/session/schema.js +5 -5
  622. package/dist/session/session.js +167 -167
  623. package/dist/session/shell.js +132 -132
  624. package/dist/session/skill.js +108 -108
  625. package/dist/session/sql.js +5 -5
  626. package/dist/session/stats.js +77 -77
  627. package/dist/session/store.js +89 -89
  628. package/dist/session/subagent-completion.js +1 -1
  629. package/dist/session/subagent-job.js +214 -214
  630. package/dist/session/system-prompt.js +5 -5
  631. package/dist/session/title.js +165 -165
  632. package/dist/session/to-session-error.js +117 -117
  633. package/dist/session/transfer.js +216 -216
  634. package/dist/session/usage.js +1 -1
  635. package/dist/session.js +220 -220
  636. package/dist/shell/parse.js +6 -6
  637. package/dist/shell/result.js +1 -1
  638. package/dist/shell/scan.js +1 -1
  639. package/dist/shell/select.js +15 -15
  640. package/dist/shell.js +134 -134
  641. package/dist/skill/discovery.js +2 -2
  642. package/dist/skill/instructions.js +112 -112
  643. package/dist/skill.js +115 -115
  644. package/dist/snapshot.js +90 -90
  645. package/dist/state.js +1 -1
  646. package/dist/tool/html-markdown.js +1 -1
  647. package/dist/tool/http-body.js +1 -1
  648. package/dist/tool/mcp.js +138 -138
  649. package/dist/tool/plugin/edit.js +125 -125
  650. package/dist/tool/plugin/file-diff.js +1 -1
  651. package/dist/tool/plugin/glob.js +129 -129
  652. package/dist/tool/plugin/grep.js +129 -129
  653. package/dist/tool/plugin/mcp-resource.js +129 -129
  654. package/dist/tool/plugin/opencode.js +114 -114
  655. package/dist/tool/plugin/patch.js +127 -127
  656. package/dist/tool/plugin/question.js +108 -108
  657. package/dist/tool/plugin/read.js +130 -130
  658. package/dist/tool/plugin/shell.js +217 -217
  659. package/dist/tool/plugin/skill.js +116 -116
  660. package/dist/tool/plugin/subagent.js +221 -221
  661. package/dist/tool/plugin/todo.js +138 -138
  662. package/dist/tool/plugin/webfetch.js +114 -114
  663. package/dist/tool/plugin/websearch.js +117 -117
  664. package/dist/tool/plugin/write.js +125 -125
  665. package/dist/tool/read-filesystem.js +105 -105
  666. package/dist/tool/runtime.js +1 -1
  667. package/dist/tool-output.js +7 -7
  668. package/dist/tool.js +14 -14
  669. package/dist/types/config/integration.d.ts +81 -0
  670. package/dist/types/config/plugin/provider.d.ts +8 -0
  671. package/dist/types/config.d.ts +7 -0
  672. package/dist/types/plugin/provider/opencode-legacy.d.ts +69 -0
  673. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  674. package/dist/usage-limits.js +93 -93
  675. package/dist/util/error-summary.js +1 -1
  676. package/dist/util/git-executable.js +3 -3
  677. package/dist/util/lazy.js +1 -1
  678. package/dist/util/slug.js +1 -1
  679. package/dist/util/token.js +1 -1
  680. package/dist/util/which.js +1 -1
  681. package/dist/util/wildcard.js +1 -1
  682. package/dist/v1/config/agent.js +5 -5
  683. package/dist/v1/config/command.js +3 -3
  684. package/dist/v1/config/mcp.js +6 -6
  685. package/dist/v1/config/migrate.js +97 -97
  686. package/dist/v1/config/permission.js +3 -3
  687. package/dist/v1/config/plugin.js +3 -3
  688. package/dist/v1/config/provider-options.js +1 -1
  689. package/dist/v1/config/provider.js +4 -4
  690. package/dist/variant.js +96 -96
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +94 -94
  693. package/dist/voice.js +92 -92
  694. package/dist/websearch.js +90 -90
  695. package/dist/wellknown/plugin.js +80 -80
  696. package/dist/wellknown.js +85 -85
  697. package/dist/workspace/driver.js +7 -7
  698. package/dist/workspace/sql.js +1 -1
  699. package/dist/workspace.js +86 -86
  700. package/dist/worktree/directory.js +2 -2
  701. package/dist/worktree/git.js +11 -11
  702. package/dist/worktree/sql.js +5 -5
  703. package/dist/worktree/strategies.js +94 -94
  704. package/dist/worktree.js +101 -101
  705. package/package.json +8 -8
  706. package/dist/chunks/command-0s5yyc28.js +0 -219
  707. package/dist/chunks/command-5dwav50q.js +0 -26
  708. package/dist/chunks/command-me0dhgxs.js +0 -18
  709. package/dist/chunks/command-xd0mmx4p.js +0 -261
  710. /package/dist/chunks/{command-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  711. /package/dist/chunks/{command-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  712. /package/dist/chunks/{command-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  713. /package/dist/chunks/{command-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  714. /package/dist/chunks/{command-24dcb14g.js → state-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{command-2710q6r3.js → state-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{command-2bv980vf.js → state-2bv980vf.js} +0 -0
  717. /package/dist/chunks/{command-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{command-359p4xyc.js → state-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{command-3asan66x.js → state-3asan66x.js} +0 -0
  720. /package/dist/chunks/{command-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{command-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{command-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{command-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{command-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{command-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{command-53557ph1.js → state-53557ph1.js} +0 -0
  727. /package/dist/chunks/{command-550bvhaj.js → state-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{command-5fjb7ams.js → state-5fjb7ams.js} +0 -0
  729. /package/dist/chunks/{command-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  730. /package/dist/chunks/{command-6prwharc.js → state-6prwharc.js} +0 -0
  731. /package/dist/chunks/{command-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  732. /package/dist/chunks/{command-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{command-7m9af43g.js → state-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{command-822emrt2.js → state-822emrt2.js} +0 -0
  735. /package/dist/chunks/{command-84wd9syh.js → state-84wd9syh.js} +0 -0
  736. /package/dist/chunks/{command-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  737. /package/dist/chunks/{command-8n3pysct.js → state-8n3pysct.js} +0 -0
  738. /package/dist/chunks/{command-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  739. /package/dist/chunks/{command-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{command-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{command-a058387c.js → state-a058387c.js} +0 -0
  742. /package/dist/chunks/{command-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  743. /package/dist/chunks/{command-af5trqkr.js → state-af5trqkr.js} +0 -0
  744. /package/dist/chunks/{command-afrmfg78.js → state-afrmfg78.js} +0 -0
  745. /package/dist/chunks/{command-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  746. /package/dist/chunks/{command-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  747. /package/dist/chunks/{command-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{command-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{command-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{command-cqv5kn06.js → state-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{command-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{command-d9fn303g.js → state-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{command-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{command-dajrwvna.js → state-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{command-dap0rakb.js → state-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{command-df08tz66.js → state-df08tz66.js} +0 -0
  757. /package/dist/chunks/{command-dy18nga0.js → state-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{command-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{command-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{command-ec1grn59.js → state-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{command-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{command-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{command-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{command-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{command-faypxj3z.js → state-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{command-fd410y7t.js → state-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{command-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  768. /package/dist/chunks/{command-g86h250q.js → state-g86h250q.js} +0 -0
  769. /package/dist/chunks/{command-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  770. /package/dist/chunks/{command-gftt206x.js → state-gftt206x.js} +0 -0
  771. /package/dist/chunks/{command-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  772. /package/dist/chunks/{command-hk9envan.js → state-hk9envan.js} +0 -0
  773. /package/dist/chunks/{command-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  774. /package/dist/chunks/{command-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  775. /package/dist/chunks/{command-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  776. /package/dist/chunks/{command-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  777. /package/dist/chunks/{command-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  778. /package/dist/chunks/{command-jwr30sdr.js → state-jwr30sdr.js} +0 -0
  779. /package/dist/chunks/{command-jze0r7bz.js → state-jze0r7bz.js} +0 -0
  780. /package/dist/chunks/{command-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  781. /package/dist/chunks/{command-m18g726c.js → state-m18g726c.js} +0 -0
  782. /package/dist/chunks/{command-mp448xyj.js → state-mp448xyj.js} +0 -0
  783. /package/dist/chunks/{command-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  784. /package/dist/chunks/{command-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  785. /package/dist/chunks/{command-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  786. /package/dist/chunks/{command-njntx4h6.js → state-njntx4h6.js} +0 -0
  787. /package/dist/chunks/{command-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
  788. /package/dist/chunks/{command-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  789. /package/dist/chunks/{command-q74kybfr.js → state-q74kybfr.js} +0 -0
  790. /package/dist/chunks/{command-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  791. /package/dist/chunks/{command-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  792. /package/dist/chunks/{command-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  793. /package/dist/chunks/{command-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  794. /package/dist/chunks/{command-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  795. /package/dist/chunks/{command-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  796. /package/dist/chunks/{command-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  797. /package/dist/chunks/{command-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  798. /package/dist/chunks/{command-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  799. /package/dist/chunks/{command-w803qqfp.js → state-w803qqfp.js} +0 -0
  800. /package/dist/chunks/{command-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  801. /package/dist/chunks/{command-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  802. /package/dist/chunks/{command-wjj7prxr.js → state-wjj7prxr.js} +0 -0
  803. /package/dist/chunks/{command-wtztk69x.js → state-wtztk69x.js} +0 -0
  804. /package/dist/chunks/{command-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  805. /package/dist/chunks/{command-x61499pn.js → state-x61499pn.js} +0 -0
  806. /package/dist/chunks/{command-y44na4kk.js → state-y44na4kk.js} +0 -0
  807. /package/dist/chunks/{command-y8f7s663.js → state-y8f7s663.js} +0 -0
  808. /package/dist/chunks/{command-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  809. /package/dist/chunks/{command-ym463w8f.js → state-ym463w8f.js} +0 -0
  810. /package/dist/chunks/{command-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  811. /package/dist/chunks/{command-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./command-2z1j29yd.js";
3
+ } from "./state-2z1j29yd.js";
4
4
  import {
5
- Service63
6
- } from "./command-g8sddq98.js";
5
+ Service68
6
+ } from "./state-m4cs48c6.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./command-4vcrnpx2.js";
10
+ } from "./state-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./command-3v8g72cx.js";
13
+ } from "./state-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input7,
22
+ Input: () => Input10,
23
23
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
24
24
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin43,
25
+ Plugin: () => Plugin46,
26
26
  WebFetchTool: () => exports_webfetch,
27
27
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
28
  description: () => description3,
29
29
  extractTextFromHTML: () => extractTextFromHTML2,
30
- name: () => name7
30
+ name: () => name10
31
31
  });
32
32
  import { ToolFailure } from "@opencode/ai/effect";
33
33
  import { Duration, Effect, Schema } from "effect";
34
34
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
35
35
  import { Parser } from "htmlparser2";
36
- var name7 = "webfetch";
36
+ var name10 = "webfetch";
37
37
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
38
38
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
39
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -41,7 +41,7 @@ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as tex
41
41
 
42
42
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
43
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
44
- var Input7 = Schema.Struct({
44
+ var Input10 = Schema.Struct({
45
45
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
46
46
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
47
47
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -51,7 +51,7 @@ var Input7 = Schema.Struct({
51
51
  var Output = Schema.Struct({
52
52
  url: Schema.String,
53
53
  contentType: Schema.String,
54
- format: Input7.fields.format,
54
+ format: Input10.fields.format,
55
55
  output: Schema.String
56
56
  });
57
57
  var acceptHeader = (format) => {
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
94
94
  return extractTextFromHTML2(content);
95
95
  return content;
96
96
  };
97
- var Plugin43 = {
97
+ var Plugin46 = {
98
98
  id: "opencode.tool.webfetch",
99
99
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
100
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service63;
101
+ const permission = yield* Service68;
102
102
  yield* ctx.tool.transform((editor) => editor.add({
103
- name: name7,
103
+ name: name10,
104
104
  options: { codemode: false },
105
105
  description: description3,
106
- input: Input7,
106
+ input: Input10,
107
107
  output: Output,
108
108
  execute: (input, context) => Effect.gen(function* () {
109
109
  yield* Effect.try({
@@ -111,7 +111,7 @@ var Plugin43 = {
111
111
  catch: (error) => error
112
112
  });
113
113
  yield* permission.assert({
114
- action: name7,
114
+ action: name10,
115
115
  resources: [input.url],
116
116
  save: ["*"],
117
117
  metadata: input,
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
169
169
  parser.end();
170
170
  return text.trim();
171
171
  }
172
- export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin43, extractTextFromHTML2, exports_webfetch };
172
+ export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input10, Plugin46, extractTextFromHTML2, exports_webfetch };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./command-5fjb7ams.js";
4
+ } from "./state-5fjb7ams.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./command-91rj84md.js";
8
+ } from "./state-91rj84md.js";
9
9
  import {
10
10
  __export
11
- } from "./command-9rqn6x4v.js";
11
+ } from "./state-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service57,
3
- node59
4
- } from "./command-y6tn7bpp.js";
2
+ Service53,
3
+ node55
4
+ } from "./state-gvr1nqb0.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./command-kkx1be94.js";
6
+ Service27,
7
+ node30
8
+ } from "./state-qg5qwe27.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./command-sqjzf8x2.js";
12
+ } from "./state-sqjzf8x2.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./state-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service12,
20
+ Service: () => Service11,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node14
22
+ node: () => node13
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service12 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service11 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service29;
30
- const jobs = yield* Service57;
29
+ const sessions = yield* Service27;
30
+ const jobs = yield* Service53;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service12.of({
45
+ return Service11.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node14 = Node.makeGlobalNode({
68
- service: Service12,
69
- layer: Layer.effect(Service12, make),
70
- deps: [node32, node59]
67
+ var node13 = Node.makeGlobalNode({
68
+ service: Service11,
69
+ layer: Layer.effect(Service11, make),
70
+ deps: [node30, node55]
71
71
  });
72
72
 
73
- export { Service12, node14, exports_subagent_job };
73
+ export { Service11, node13, exports_subagent_job };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service86,
4
4
  node90
5
- } from "./command-536c1kkr.js";
5
+ } from "./state-4p9b4r2p.js";
6
6
  import {
7
- Service80,
8
- node83
9
- } from "./command-x81g74mp.js";
7
+ Service75,
8
+ node79
9
+ } from "./state-tm5er3st.js";
10
10
  import {
11
11
  __export
12
- } from "./command-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event19,
19
+ Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service79,
22
+ Service: () => Service64,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node82,
26
- resolve: () => resolve4
25
+ node: () => node68,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service79 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service64 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event19 = {
51
+ var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service79, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service80;
84
+ const kv = yield* Service75;
85
85
  const bus = yield* Service86;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event19.Updated, {}, { global: true });
116
+ yield* bus.publish(Event10.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service79.of({
119
+ return Service64.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event19.Updated, {}, { global: true });
132
+ yield* bus.publish(Event10.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event19.Updated, {}, { global: true });
147
+ yield* bus.publish(Event10.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node82 = makeGlobalNode({ service: Service79, layer, deps: [httpClient, node83, node90] });
160
+ var node68 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node79, node90] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service79, Event19, inspect2, resolve4, node82, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event10, inspect2, resolve3, node68, exports_wellknown };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service63
3
- } from "./command-g8sddq98.js";
2
+ Service68
3
+ } from "./state-m4cs48c6.js";
4
4
  import {
5
- ID6,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service62
10
- } from "./command-rc5p4tbx.js";
9
+ Service57
10
+ } from "./state-j02e2ssa.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
16
  var exports_skill3 = {};
17
17
  __export(exports_skill3, {
18
- Input: () => Input13,
19
- Output: () => Output9,
20
- Plugin: () => Plugin50,
18
+ Input: () => Input11,
19
+ Output: () => Output8,
20
+ Plugin: () => Plugin47,
21
21
  SkillTool: () => exports_skill3,
22
- description: () => description5,
23
- name: () => name13,
22
+ description: () => description4,
23
+ name: () => name11,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai/effect";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name13 = "skill";
30
- var Input13 = Schema.Struct({
31
- id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name11 = "skill";
30
+ var Input11 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output9 = Schema.Struct({
33
+ var Output8 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description5 = [
38
+ var description4 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description5 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin50 = {
46
+ var Plugin47 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service62;
51
- const permission = yield* Service63;
50
+ const skills = yield* Service57;
51
+ const permission = yield* Service68;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name13,
53
+ name: name11,
54
54
  options: { codemode: false },
55
- description: description5,
56
- input: Input13,
57
- output: Output9,
55
+ description: description4,
56
+ input: Input11,
57
+ output: Output8,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name13,
64
+ action: name11,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin50 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name13, Input13, Output9, description5, toModelOutput2, Plugin50, exports_skill3 };
82
+ export { name11, Input11, Output8, description4, toModelOutput2, Plugin47, exports_skill3 };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service77
3
- } from "./command-kw6cmkwk.js";
2
+ Service58
3
+ } from "./state-1c10trcx.js";
4
4
  import {
5
- Service28,
5
+ Service19,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./command-mgyrh3fg.js";
8
+ } from "./state-4k1t9mxy.js";
9
9
  import {
10
10
  Service14
11
- } from "./command-dkg6zq9k.js";
11
+ } from "./state-90c15hge.js";
12
12
  import {
13
- Service63
14
- } from "./command-g8sddq98.js";
13
+ Service68
14
+ } from "./state-m4cs48c6.js";
15
15
  import {
16
- Service21
17
- } from "./command-pwp33k1j.js";
16
+ Service16
17
+ } from "./state-jvnvsvj6.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./command-6prwharc.js";
20
+ } from "./state-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./command-9rqn6x4v.js";
23
+ } from "./state-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input6,
28
+ Input: () => Input5,
29
29
  Output: () => Output4,
30
- Plugin: () => Plugin42,
30
+ Plugin: () => Plugin40,
31
31
  WriteTool: () => exports_write,
32
- name: () => name6,
33
- toModelContent: () => toModelContent3
32
+ name: () => name5,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai/effect";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name6 = "write";
39
- var Input6 = Schema.Struct({
38
+ var name5 = "write";
39
+ var Input5 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
@@ -48,24 +48,24 @@ var Output4 = Schema.Struct({
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin42 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin40 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service21;
56
- const fileMutation = yield* Service28;
57
- const environment = yield* Service77;
55
+ const access = yield* Service16;
56
+ const fileMutation = yield* Service19;
57
+ const environment = yield* Service58;
58
58
  const formatter = yield* Service14;
59
- const permission = yield* Service63;
59
+ const permission = yield* Service68;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name6,
61
+ name: name5,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input6,
68
+ input: Input5,
69
69
  output: Output4,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name6, Input6, Output4, toModelContent3, Plugin42, exports_write };
101
+ export { name5, Input5, Output4, toModelContent4, Plugin40, exports_write };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./command-p17y9zxj.js";
4
+ } from "./state-y9dcbvc0.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./command-1ep2p91f.js";
7
+ } from "./state-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
16
  ID: () => ID8,
17
- Info: () => Info17,
17
+ Info: () => Info19,
18
18
  NotFoundError: () => NotFoundError9,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service65,
21
- node: () => node67
20
+ Service: () => Service69,
21
+ node: () => node73
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
@@ -26,7 +26,7 @@ import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
28
  var ID8 = PermissionSaved.ID;
29
- var Info17 = PermissionSaved.Info;
29
+ var Info19 = PermissionSaved.Info;
30
30
 
31
31
  class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
32
  id: ID8
@@ -40,9 +40,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
40
40
  }) {
41
41
  }
42
42
 
43
- class Service65 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service69 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service65, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
46
46
  const db = (yield* Service87).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service65.of({ list, add, update, remove });
75
+ return Service69.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node67 = makeGlobalNode({ service: Service65, layer, deps: [node91] });
93
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node91] });
94
94
 
95
- export { ID8, Info17, NotFoundError9, ConflictError2, Service65, node67, exports_saved };
95
+ export { ID8, Info19, NotFoundError9, ConflictError2, Service69, node73, exports_saved };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-gy4qwgqr.js";
4
+ } from "./state-wfrb9j0d.js";
5
5
  import {
6
6
  __export
7
- } from "./command-9rqn6x4v.js";
7
+ } from "./state-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./command-6q2bdcd1.js";
3
+ } from "./state-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service55
3
- } from "./command-8jw7rn7z.js";
2
+ Service62
3
+ } from "./state-p5k0b6xz.js";
4
4
  import {
5
- Service41
6
- } from "./command-d0cfhy82.js";
5
+ Service39
6
+ } from "./state-hq40j3p6.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin23,
16
- register: () => register2
15
+ Plugin: () => Plugin25,
16
+ register: () => register3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin23 = define({
20
+ var Plugin25 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
- yield* register2(ctx.event.subscribe());
23
+ yield* register3(ctx.event.subscribe());
24
24
  })
25
25
  });
26
- var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service55;
28
- const mcp = yield* Service41;
26
+ var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
+ const config = yield* Service62;
28
+ const mcp = yield* Service39;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin23, register2, exports_mcp2 };
49
+ export { Plugin25, register3, exports_mcp2 };