@opencode/core 0.0.0-dev-19711 → 0.0.0-dev-19712

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{worktree-t550f9t1.js → workspace-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{worktree-kne8f3cn.js → workspace-06x8he3q.js} +4 -4
  9. package/dist/chunks/{worktree-k5jjawww.js → workspace-070h25cf.js} +4 -4
  10. package/dist/chunks/{worktree-0en0hh3r.js → workspace-0en0hh3r.js} +1 -1
  11. package/dist/chunks/{worktree-7k1xdcvp.js → workspace-0g5heksx.js} +17 -17
  12. package/dist/chunks/{worktree-67tsegz1.js → workspace-0m8nsvy9.js} +8 -8
  13. package/dist/chunks/{worktree-vpwtksfj.js → workspace-0n5xhwej.js} +21 -21
  14. package/dist/chunks/{worktree-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{worktree-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{worktree-0230e1kb.js → workspace-0wvc14eb.js} +7 -7
  17. package/dist/chunks/{worktree-2844r4n4.js → workspace-14cf3fnc.js} +9 -9
  18. package/dist/chunks/{worktree-4nep509d.js → workspace-15wnrfbn.js} +10 -10
  19. package/dist/chunks/{worktree-kdnytvmd.js → workspace-1d660grq.js} +4 -4
  20. package/dist/chunks/{worktree-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{worktree-h6zkevjm.js → workspace-1k3mj0p1.js} +8 -8
  22. package/dist/chunks/{worktree-h3jg7y6c.js → workspace-1mcxz0h7.js} +9 -9
  23. package/dist/chunks/{worktree-6xkw5tt3.js → workspace-1r92jezb.js} +8 -8
  24. package/dist/chunks/{worktree-rsss4qf7.js → workspace-1znvsqnm.js} +11 -11
  25. package/dist/chunks/{worktree-21r38tys.js → workspace-21r38tys.js} +1 -1
  26. package/dist/chunks/{worktree-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{worktree-e70fzpwb.js → workspace-2ah6qvjc.js} +31 -31
  28. package/dist/chunks/{worktree-m3sr29v9.js → workspace-2dc5062z.js} +26 -26
  29. package/dist/chunks/{worktree-c8g19qcp.js → workspace-2dza1j1w.js} +27 -27
  30. package/dist/chunks/{worktree-rrdqyp65.js → workspace-2e42xx7p.js} +17 -17
  31. package/dist/chunks/{worktree-f8520a7c.js → workspace-2kt8pm2x.js} +9 -9
  32. package/dist/chunks/{worktree-cwa6csj7.js → workspace-2mq1h16s.js} +9 -9
  33. package/dist/chunks/{worktree-kkysd6gj.js → workspace-2qdm0n6q.js} +8 -8
  34. package/dist/chunks/{worktree-3z6f7pb8.js → workspace-2rbdxa0z.js} +30 -30
  35. package/dist/chunks/{worktree-hfqbnt06.js → workspace-2v8jpvwj.js} +25 -25
  36. package/dist/chunks/{worktree-qepg3hej.js → workspace-2yz7af4v.js} +19 -19
  37. package/dist/chunks/{worktree-gcp4fqq7.js → workspace-2zh1a5wq.js} +32 -32
  38. package/dist/chunks/{worktree-gr1f03ws.js → workspace-2zmfhp2c.js} +9 -9
  39. package/dist/chunks/{worktree-spnnfxkd.js → workspace-31p7sczw.js} +9 -9
  40. package/dist/chunks/{worktree-5df007sy.js → workspace-364vn791.js} +24 -24
  41. package/dist/chunks/{worktree-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{worktree-x1a42kg1.js → workspace-3h3k20v7.js} +12 -12
  43. package/dist/chunks/{worktree-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{worktree-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{worktree-npt9980d.js → workspace-3svq1avg.js} +20 -20
  46. package/dist/chunks/{worktree-knb7evpn.js → workspace-3tq5qxbk.js} +8 -8
  47. package/dist/chunks/{worktree-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{worktree-prvhm99j.js → workspace-3v699w7n.js} +20 -20
  49. package/dist/chunks/{worktree-cj605r6v.js → workspace-3wwm29st.js} +4 -4
  50. package/dist/chunks/{worktree-bthbky82.js → workspace-43gyje3p.js} +22 -22
  51. package/dist/chunks/{worktree-6s7tjjvr.js → workspace-45svxemn.js} +35 -35
  52. package/dist/chunks/{worktree-thjxzeng.js → workspace-4a0nv7mx.js} +8 -8
  53. package/dist/chunks/{worktree-34gxdjay.js → workspace-4mz2zdwc.js} +11 -11
  54. package/dist/chunks/{worktree-vdenjeyk.js → workspace-4n6r91ab.js} +10 -10
  55. package/dist/chunks/{worktree-kf58x7p8.js → workspace-4y89hhmv.js} +18 -18
  56. package/dist/chunks/{worktree-qj9fam2n.js → workspace-55f5rt6f.js} +13 -13
  57. package/dist/chunks/{worktree-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
  58. package/dist/chunks/{worktree-57ez7d0k.js → workspace-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{worktree-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  60. package/dist/chunks/{worktree-xm1e10md.js → workspace-5f90fjb2.js} +12 -12
  61. package/dist/chunks/{worktree-9jysh8tn.js → workspace-5g1v3qsj.js} +30 -30
  62. package/dist/chunks/{worktree-hx07tmjt.js → workspace-5h3g3jk3.js} +23 -23
  63. package/dist/chunks/{worktree-wvesw99d.js → workspace-5mqe3xfr.js} +4 -4
  64. package/dist/chunks/{worktree-4mg2myvn.js → workspace-5p5af7k1.js} +24 -24
  65. package/dist/chunks/{worktree-bfrw9c16.js → workspace-5pgkqyjt.js} +22 -22
  66. package/dist/chunks/{worktree-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{worktree-v057vym3.js → workspace-5xxye2p9.js} +35 -35
  68. package/dist/chunks/{worktree-43xg0xp9.js → workspace-5ytc8238.js} +3 -3
  69. package/dist/chunks/{worktree-0jwsre1p.js → workspace-607tc6va.js} +5 -5
  70. package/dist/chunks/{worktree-669tq793.js → workspace-669tq793.js} +1 -1
  71. package/dist/chunks/{worktree-y69j51hy.js → workspace-67158q71.js} +13 -13
  72. package/dist/chunks/{worktree-ksztttm6.js → workspace-6914g88p.js} +4 -4
  73. package/dist/chunks/{worktree-6h73sxmp.js → workspace-6h73sxmp.js} +1 -1
  74. package/dist/chunks/{worktree-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{worktree-7sp2vdb0.js → workspace-6qeeyg7h.js} +10 -10
  76. package/dist/chunks/workspace-6tpa31mz.js +252 -0
  77. package/dist/chunks/{worktree-qc6a7nr8.js → workspace-6v2wypzw.js} +20 -20
  78. package/dist/chunks/{worktree-2018kd55.js → workspace-784vxkkx.js} +27 -27
  79. package/dist/chunks/{worktree-1010tx7k.js → workspace-7a5vsxyh.js} +7 -7
  80. package/dist/chunks/{worktree-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{worktree-9qzpdwkp.js → workspace-7c2hbp5a.js} +5 -5
  82. package/dist/chunks/{worktree-c0szj6gh.js → workspace-7d6njqxm.js} +8 -8
  83. package/dist/chunks/{worktree-0hpyxh65.js → workspace-7gxvsr6g.js} +20 -20
  84. package/dist/chunks/{worktree-hptad3cj.js → workspace-7hpp833z.js} +8 -8
  85. package/dist/chunks/{worktree-24afheyq.js → workspace-7q2jmvad.js} +61 -61
  86. package/dist/chunks/{worktree-91zq4d2j.js → workspace-7qat4nj7.js} +15 -15
  87. package/dist/chunks/{worktree-cbsmg7zv.js → workspace-7rbsm7e1.js} +9 -9
  88. package/dist/chunks/{worktree-zq6stcrg.js → workspace-7tpxex51.js} +8 -8
  89. package/dist/chunks/{worktree-sfswfqfx.js → workspace-82qyyjsz.js} +22 -22
  90. package/dist/chunks/{worktree-h55255v8.js → workspace-83y1wrms.js} +21 -21
  91. package/dist/chunks/{worktree-89znhe33.js → workspace-89znhe33.js} +1 -1
  92. package/dist/chunks/{worktree-rmdyxgmk.js → workspace-8aaqm6qj.js} +8 -8
  93. package/dist/chunks/{worktree-2zfaeqj9.js → workspace-8avk9g0x.js} +20 -20
  94. package/dist/chunks/{worktree-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{worktree-3zwsa50c.js → workspace-8kdf092n.js} +11 -11
  96. package/dist/chunks/{worktree-b7krtsvq.js → workspace-8kwg9t8a.js} +49 -49
  97. package/dist/chunks/{worktree-qnmg5nvf.js → workspace-8njx4hgd.js} +26 -26
  98. package/dist/chunks/{worktree-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  99. package/dist/chunks/{worktree-cdea582g.js → workspace-8rxwgq24.js} +15 -15
  100. package/dist/chunks/{worktree-x1k3d8vr.js → workspace-8y1wr0s4.js} +5 -5
  101. package/dist/chunks/{worktree-v4881naz.js → workspace-8yh5cssx.js} +33 -33
  102. package/dist/chunks/{worktree-2ecm7k5x.js → workspace-9n3na3w3.js} +16 -16
  103. package/dist/chunks/workspace-9sh4wc5j.js +18 -0
  104. package/dist/chunks/{worktree-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{worktree-6hk05hg4.js → workspace-a2p8e6yv.js} +56 -56
  106. package/dist/chunks/{worktree-f5jkzqkr.js → workspace-a2q56496.js} +5 -5
  107. package/dist/chunks/{worktree-0jq9fyba.js → workspace-a3ftg8j6.js} +9 -9
  108. package/dist/chunks/{worktree-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  109. package/dist/chunks/{worktree-9rqqtf5r.js → workspace-abmd04e3.js} +13 -13
  110. package/dist/chunks/{worktree-hhv32xm1.js → workspace-abmhzdjp.js} +12 -12
  111. package/dist/chunks/{worktree-av68cqnf.js → workspace-anabj4qm.js} +33 -33
  112. package/dist/chunks/{worktree-4zzvgtjt.js → workspace-aspy8tkd.js} +23 -23
  113. package/dist/chunks/{worktree-1mayy0ne.js → workspace-atxzwzv8.js} +11 -11
  114. package/dist/chunks/{worktree-c2r7a6ev.js → workspace-aw9te8tx.js} +22 -22
  115. package/dist/chunks/{worktree-5089mcsz.js → workspace-az8ma4bw.js} +20 -20
  116. package/dist/chunks/{worktree-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{worktree-md16tndp.js → workspace-bepbvaar.js} +5 -5
  118. package/dist/chunks/{worktree-zrhgkfkj.js → workspace-bga0vpdy.js} +44 -44
  119. package/dist/chunks/{worktree-grff790k.js → workspace-bs70j26f.js} +13 -13
  120. package/dist/chunks/{worktree-50mzsvk4.js → workspace-cavr175a.js} +4 -4
  121. package/dist/chunks/{worktree-2dbhpjrh.js → workspace-ce1w4ye0.js} +9 -9
  122. package/dist/chunks/{worktree-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{worktree-4dgbcxzg.js → workspace-cpj0znwe.js} +4 -4
  124. package/dist/chunks/{worktree-e6hd9jay.js → workspace-cqg8v4c7.js} +6 -6
  125. package/dist/chunks/{worktree-ye6h68qm.js → workspace-cz6dvqaq.js} +15 -15
  126. package/dist/chunks/{worktree-qpz1kkwg.js → workspace-d8h2c2mg.js} +74 -74
  127. package/dist/chunks/{worktree-37s12vcn.js → workspace-dj9sq318.js} +5 -5
  128. package/dist/chunks/{worktree-7xmz7frw.js → workspace-dm1py9b3.js} +3 -3
  129. package/dist/chunks/{worktree-xbkhyrvs.js → workspace-e0059k45.js} +3 -3
  130. package/dist/chunks/{worktree-4ea00b8w.js → workspace-e0cdamqp.js} +19 -19
  131. package/dist/chunks/{worktree-bkdff2qy.js → workspace-e27kb02c.js} +12 -12
  132. package/dist/chunks/workspace-e34x0z4m.js +26 -0
  133. package/dist/chunks/{worktree-xtzqjyy0.js → workspace-e75t6m7m.js} +6 -6
  134. package/dist/chunks/{worktree-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{worktree-k3fznmea.js → workspace-ejeg4hfb.js} +17 -17
  136. package/dist/chunks/{worktree-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{worktree-58ymd9wj.js → workspace-ewxdb5ec.js} +11 -11
  138. package/dist/chunks/{worktree-2hn9d9f8.js → workspace-ezrmvp0h.js} +25 -25
  139. package/dist/chunks/{worktree-b01jnyv4.js → workspace-f49av6tv.js} +29 -29
  140. package/dist/chunks/{worktree-2hszhs49.js → workspace-f5pcmyht.js} +5 -5
  141. package/dist/chunks/{worktree-n68akk4h.js → workspace-f7ap9x8s.js} +6 -6
  142. package/dist/chunks/{worktree-f828m53h.js → workspace-f828m53h.js} +2 -2
  143. package/dist/chunks/{worktree-nbzsj80d.js → workspace-fad6j005.js} +8 -8
  144. package/dist/chunks/{worktree-1ezrspvn.js → workspace-fvatnzky.js} +23 -23
  145. package/dist/chunks/{worktree-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{worktree-bajakh74.js → workspace-fxqygnfa.js} +4 -4
  147. package/dist/chunks/{worktree-63czgv3m.js → workspace-g1rm5mqm.js} +26 -26
  148. package/dist/chunks/{worktree-90b858qz.js → workspace-g84cjvn9.js} +2 -2
  149. package/dist/chunks/{worktree-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{worktree-d380kj32.js → workspace-ghbw8nrm.js} +11 -11
  151. package/dist/chunks/{worktree-x7cagxvm.js → workspace-gmbmgzgz.js} +37 -37
  152. package/dist/chunks/{worktree-7de2s2df.js → workspace-gqyh02e0.js} +11 -11
  153. package/dist/chunks/{worktree-ad58ka5n.js → workspace-gv4qw5nk.js} +43 -43
  154. package/dist/chunks/{worktree-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{worktree-0y8zxexa.js → workspace-gyxj72yr.js} +6 -6
  156. package/dist/chunks/{worktree-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{worktree-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{worktree-kh3vq3v6.js → workspace-hab99yty.js} +28 -28
  159. package/dist/chunks/{worktree-ezy28dwm.js → workspace-hf1pa3fg.js} +11 -11
  160. package/dist/chunks/{worktree-19w9qk9n.js → workspace-hqmr0w3b.js} +1 -1
  161. package/dist/chunks/{worktree-20djd28m.js → workspace-hs38nzf0.js} +24 -24
  162. package/dist/chunks/{worktree-38a6tnxe.js → workspace-hw0pyphf.js} +28 -28
  163. package/dist/chunks/{worktree-qsxf26yz.js → workspace-j5208yae.js} +6 -6
  164. package/dist/chunks/{worktree-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  165. package/dist/chunks/{worktree-170wnync.js → workspace-jas3gm5e.js} +9 -9
  166. package/dist/chunks/{worktree-fhs97t90.js → workspace-jjs74g98.js} +9 -9
  167. package/dist/chunks/{worktree-k3gnzxs0.js → workspace-jppvw2tx.js} +5 -5
  168. package/dist/chunks/{worktree-qn4ba14w.js → workspace-jv01nqvq.js} +5 -5
  169. package/dist/chunks/{worktree-pqkgg4rt.js → workspace-k2yp9qs6.js} +9 -9
  170. package/dist/chunks/{worktree-k3c624dm.js → workspace-k3c624dm.js} +3 -3
  171. package/dist/chunks/{worktree-rzs6nh5d.js → workspace-k80qa8mn.js} +21 -21
  172. package/dist/chunks/{worktree-xs2gg3ph.js → workspace-keyazff4.js} +17 -17
  173. package/dist/chunks/{worktree-efyxdhp4.js → workspace-kf9njbrh.js} +24 -24
  174. package/dist/chunks/{worktree-w59x44tx.js → workspace-kgrkrx7v.js} +13 -13
  175. package/dist/chunks/{worktree-f2497b3s.js → workspace-kkjsk8e7.js} +25 -25
  176. package/dist/chunks/{worktree-2t4v8nsv.js → workspace-km90xjj6.js} +183 -183
  177. package/dist/chunks/{worktree-3rcc0r2v.js → workspace-kxpywdsa.js} +44 -44
  178. package/dist/chunks/{worktree-yrb04hz8.js → workspace-kxynz1ng.js} +20 -20
  179. package/dist/chunks/{worktree-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{worktree-n1se7dz6.js → workspace-m8gayzza.js} +5 -5
  181. package/dist/chunks/{worktree-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{worktree-p8ghq9hh.js → workspace-mdf4a9kz.js} +4 -4
  183. package/dist/chunks/{worktree-mfqp6xfm.js → workspace-mfqp6xfm.js} +2 -2
  184. package/dist/chunks/{worktree-n2rqx0tz.js → workspace-mh5wyt4r.js} +11 -11
  185. package/dist/chunks/{worktree-tmmgzrnt.js → workspace-msdd669r.js} +19 -19
  186. package/dist/chunks/{worktree-mhkvc446.js → workspace-mvfsc1pv.js} +3 -3
  187. package/dist/chunks/{worktree-d5wtg2df.js → workspace-mvwxevy0.js} +6 -6
  188. package/dist/chunks/{worktree-s0443v51.js → workspace-n65c7js6.js} +36 -36
  189. package/dist/chunks/{worktree-h82mr5fe.js → workspace-n6g1ey08.js} +94 -94
  190. package/dist/chunks/{worktree-7k3pveqf.js → workspace-n8cj6j4g.js} +10 -10
  191. package/dist/chunks/{worktree-4kb8nfbq.js → workspace-n93hngsq.js} +20 -20
  192. package/dist/chunks/{worktree-rnx68x6k.js → workspace-nfhdg2sc.js} +4 -4
  193. package/dist/chunks/{worktree-caaa7gb9.js → workspace-nv5c50a2.js} +13 -13
  194. package/dist/chunks/{worktree-zjd7s1bk.js → workspace-nwkmrxqa.js} +15 -15
  195. package/dist/chunks/{worktree-afnx0wnx.js → workspace-nxz4hexq.js} +47 -47
  196. package/dist/chunks/{worktree-p37cw4rj.js → workspace-p42hj8p8.js} +8 -8
  197. package/dist/chunks/{worktree-eaerxtz5.js → workspace-p4776vvd.js} +2 -2
  198. package/dist/chunks/{worktree-g9b0yvmz.js → workspace-pb8ac6tt.js} +14 -14
  199. package/dist/chunks/{worktree-mc9zg8nb.js → workspace-pjpcywhx.js} +19 -19
  200. package/dist/chunks/{worktree-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{worktree-pknna89w.js → workspace-pknna89w.js} +1 -1
  202. package/dist/chunks/{worktree-17996mr8.js → workspace-pkt9pf4t.js} +45 -45
  203. package/dist/chunks/{worktree-x5sjtarf.js → workspace-pnh9m502.js} +19 -19
  204. package/dist/chunks/{worktree-t05795gg.js → workspace-q1ktvany.js} +20 -20
  205. package/dist/chunks/{worktree-x5cfpxw5.js → workspace-q1rhxq0z.js} +42 -42
  206. package/dist/chunks/{worktree-d6z8az9q.js → workspace-q8sgk7j7.js} +13 -13
  207. package/dist/chunks/{worktree-caf4s13y.js → workspace-qdyw34ax.js} +6 -6
  208. package/dist/chunks/{worktree-mjryszr1.js → workspace-qgrbwkje.js} +34 -34
  209. package/dist/chunks/{worktree-3z1ybf3s.js → workspace-qhbx089k.js} +10 -10
  210. package/dist/chunks/{worktree-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  211. package/dist/chunks/{worktree-7h1yv2z1.js → workspace-qwtbnqst.js} +32 -32
  212. package/dist/chunks/{worktree-ej2x38fw.js → workspace-qzb1h3va.js} +16 -16
  213. package/dist/chunks/{worktree-wr7ps67x.js → workspace-r4yqrmdq.js} +5 -5
  214. package/dist/chunks/{worktree-7sbkp4xb.js → workspace-ratrq7cm.js} +4 -4
  215. package/dist/chunks/{worktree-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{worktree-mpm0nhxe.js → workspace-rehwyskh.js} +1 -1
  217. package/dist/chunks/{worktree-bfh368mz.js → workspace-rxw762xc.js} +25 -25
  218. package/dist/chunks/{worktree-qa8hdfea.js → workspace-rxwv643q.js} +8 -8
  219. package/dist/chunks/{worktree-7j92jdde.js → workspace-s0hza5ac.js} +4 -4
  220. package/dist/chunks/{worktree-xn2m3856.js → workspace-s111zjc4.js} +5 -5
  221. package/dist/chunks/{worktree-83dcqrsd.js → workspace-s3mnyrbp.js} +28 -28
  222. package/dist/chunks/{worktree-sq6g32t3.js → workspace-s59jct75.js} +3 -3
  223. package/dist/chunks/{worktree-dnepjbkk.js → workspace-s7d4mcxb.js} +17 -17
  224. package/dist/chunks/{worktree-65h9d7h0.js → workspace-schwyem7.js} +14 -14
  225. package/dist/chunks/{worktree-mq9b79x9.js → workspace-sp7zepf2.js} +8 -8
  226. package/dist/chunks/{worktree-phcx6ke7.js → workspace-ssb81s63.js} +26 -26
  227. package/dist/chunks/{worktree-dnkx6etr.js → workspace-strbydbj.js} +36 -36
  228. package/dist/chunks/{worktree-xcgm0ws5.js → workspace-svn6bqj8.js} +14 -14
  229. package/dist/chunks/{worktree-r1zfwvff.js → workspace-sxy19tb0.js} +20 -20
  230. package/dist/chunks/{worktree-hwe7x4em.js → workspace-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{worktree-8zjetqqg.js → workspace-sz6xpjfh.js} +24 -24
  232. package/dist/chunks/{worktree-7tg4tqbg.js → workspace-t03xfk5d.js} +6 -6
  233. package/dist/chunks/{worktree-q8y36nbv.js → workspace-t32902ds.js} +32 -32
  234. package/dist/chunks/{worktree-3v1n839j.js → workspace-t4m3fhjr.js} +27 -27
  235. package/dist/chunks/{worktree-q980a1ys.js → workspace-t8vry4vd.js} +17 -17
  236. package/dist/chunks/{worktree-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{worktree-tdstcens.js → workspace-tdstcens.js} +1 -1
  238. package/dist/chunks/{worktree-ta5sp2nd.js → workspace-tsg4fdf4.js} +12 -12
  239. package/dist/chunks/{worktree-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  240. package/dist/chunks/{worktree-hyp0yes1.js → workspace-tvv0avb7.js} +25 -25
  241. package/dist/chunks/{worktree-1t3e0y0p.js → workspace-vctwf4mg.js} +26 -26
  242. package/dist/chunks/{worktree-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  243. package/dist/chunks/{worktree-rq8k8p5a.js → workspace-vhmsv5f2.js} +22 -22
  244. package/dist/chunks/{worktree-81czwxpn.js → workspace-vj81g6vn.js} +4 -4
  245. package/dist/chunks/{worktree-0v53mg2y.js → workspace-vncycja5.js} +4 -4
  246. package/dist/chunks/{worktree-hrmdcqyf.js → workspace-vs9zw531.js} +17 -17
  247. package/dist/chunks/{worktree-rtw8xa1t.js → workspace-vxrq6xqk.js} +1 -1
  248. package/dist/chunks/{worktree-e11m5cn3.js → workspace-vyq4cd8m.js} +35 -35
  249. package/dist/chunks/{worktree-e5kbttzp.js → workspace-vys1b9hh.js} +18 -18
  250. package/dist/chunks/{worktree-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{worktree-ebqt6dkv.js → workspace-w1ym5bz3.js} +97 -97
  252. package/dist/chunks/{worktree-xwyqxccg.js → workspace-w2yh7emw.js} +46 -46
  253. package/dist/chunks/{worktree-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{worktree-8g6scpm2.js → workspace-w7nphhe6.js} +3 -3
  255. package/dist/chunks/{worktree-qg87rn1s.js → workspace-wb87t0xn.js} +11 -11
  256. package/dist/chunks/{worktree-wd87259q.js → workspace-wd87259q.js} +1 -1
  257. package/dist/chunks/{worktree-py26wd2m.js → workspace-wh42m2fm.js} +11 -11
  258. package/dist/chunks/{worktree-zpqb3spp.js → workspace-wh4msmjz.js} +3 -3
  259. package/dist/chunks/{worktree-svt8q2xz.js → workspace-wk16t4w5.js} +42 -42
  260. package/dist/chunks/{worktree-xrv44ghv.js → workspace-wwzs2tx9.js} +10 -10
  261. package/dist/chunks/{worktree-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{worktree-4t2g0ek8.js → workspace-x2mza7yn.js} +42 -42
  263. package/dist/chunks/{worktree-kwpf6cbb.js → workspace-xdmdpdp3.js} +19 -19
  264. package/dist/chunks/{worktree-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{worktree-0xm04epx.js → workspace-y1tbpqn7.js} +32 -32
  266. package/dist/chunks/{worktree-vbcd8shf.js → workspace-y6bk66mf.js} +5 -5
  267. package/dist/chunks/{worktree-z0aj456m.js → workspace-y6mhz57t.js} +4 -4
  268. package/dist/chunks/{worktree-y71avatq.js → workspace-y71avatq.js} +1 -1
  269. package/dist/chunks/{worktree-qk0gpxf2.js → workspace-y8p3zjbc.js} +6 -6
  270. package/dist/chunks/{worktree-0npqrrz9.js → workspace-yebk0wcz.js} +3 -3
  271. package/dist/chunks/{worktree-g3happs1.js → workspace-yjeheqpk.js} +305 -305
  272. package/dist/chunks/{worktree-yp2x3t23.js → workspace-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{worktree-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{worktree-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  275. package/dist/chunks/{worktree-af04s6ss.js → workspace-yt0fqk68.js} +5 -5
  276. package/dist/chunks/{worktree-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{worktree-vdrskp9d.js → workspace-z3g3b9h9.js} +18 -18
  278. package/dist/chunks/{worktree-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  279. package/dist/chunks/{worktree-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{worktree-tmqffpxk.js → workspace-zevtesy5.js} +42 -42
  281. package/dist/chunks/{worktree-kf7vjh8k.js → workspace-zgh6wq4w.js} +27 -27
  282. package/dist/chunks/{worktree-efswfzpf.js → workspace-zqthbwvw.js} +23 -23
  283. package/dist/chunks/{worktree-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{worktree-d7ehg0cy.js → workspace-zv3r6m93.js} +11 -11
  285. package/dist/chunks/{worktree-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{worktree-5za9a44f.js → workspace-zzqe82vy.js} +3 -3
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +80 -80
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +122 -122
  296. package/dist/config/plugin/command.js +211 -211
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +129 -129
  305. package/dist/config/plugin/policy.js +120 -120
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +141 -141
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +127 -127
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +69 -69
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +98 -98
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +103 -103
  426. package/dist/form.js +83 -83
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +100 -100
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +98 -98
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +357 -357
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +76 -76
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +354 -354
  468. package/dist/location.js +84 -84
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +99 -99
  471. package/dist/mcp/instructions.js +125 -125
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +98 -98
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +97 -97
  478. package/dist/models-dev.js +102 -102
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +112 -112
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +93 -93
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +138 -138
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +100 -100
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +89 -89
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +96 -96
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +223 -223
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +85 -85
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +116 -116
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +230 -230
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +74 -74
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +207 -207
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +222 -222
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +215 -215
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +7 -7
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +106 -106
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +122 -122
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +1 -1
  636. package/dist/tool/plugin/patch.js +119 -119
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +218 -218
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +113 -113
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +16 -16
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +86 -86
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +95 -95
  689. package/package.json +8 -8
  690. package/dist/chunks/worktree-9pb540j7.js +0 -26
  691. package/dist/chunks/worktree-gyce5qg1.js +0 -18
  692. package/dist/chunks/worktree-rhs8pca3.js +0 -252
  693. /package/dist/chunks/{worktree-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{worktree-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{worktree-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{worktree-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{worktree-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{worktree-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{worktree-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{worktree-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{worktree-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{worktree-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{worktree-3asan66x.js → workspace-3asan66x.js} +0 -0
  704. /package/dist/chunks/{worktree-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{worktree-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{worktree-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{worktree-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{worktree-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{worktree-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{worktree-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{worktree-53557ph1.js → workspace-53557ph1.js} +0 -0
  712. /package/dist/chunks/{worktree-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{worktree-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{worktree-6prwharc.js → workspace-6prwharc.js} +0 -0
  715. /package/dist/chunks/{worktree-6r3amyyd.js → workspace-6r3amyyd.js} +0 -0
  716. /package/dist/chunks/{worktree-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{worktree-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{worktree-822emrt2.js → workspace-822emrt2.js} +0 -0
  719. /package/dist/chunks/{worktree-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{worktree-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{worktree-922hggd3.js → workspace-922hggd3.js} +0 -0
  722. /package/dist/chunks/{worktree-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{worktree-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{worktree-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{worktree-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{worktree-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{worktree-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{worktree-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{worktree-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{worktree-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{worktree-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{worktree-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{worktree-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{worktree-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{worktree-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{worktree-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{worktree-df08tz66.js → workspace-df08tz66.js} +0 -0
  738. /package/dist/chunks/{worktree-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{worktree-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{worktree-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{worktree-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{worktree-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{worktree-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{worktree-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{worktree-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{worktree-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{worktree-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{worktree-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{worktree-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{worktree-g86h250q.js → workspace-g86h250q.js} +0 -0
  751. /package/dist/chunks/{worktree-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{worktree-gftt206x.js → workspace-gftt206x.js} +0 -0
  753. /package/dist/chunks/{worktree-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{worktree-hk9envan.js → workspace-hk9envan.js} +0 -0
  755. /package/dist/chunks/{worktree-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{worktree-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{worktree-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{worktree-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{worktree-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{worktree-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{worktree-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{worktree-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{worktree-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{worktree-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{worktree-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{worktree-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{worktree-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{worktree-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{worktree-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{worktree-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{worktree-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{worktree-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{worktree-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{worktree-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{worktree-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{worktree-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{worktree-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{worktree-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{worktree-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{worktree-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{worktree-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{worktree-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{worktree-x61499pn.js → workspace-x61499pn.js} +0 -0
  784. /package/dist/chunks/{worktree-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{worktree-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{worktree-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{worktree-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{worktree-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{worktree-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-3zwsa50c.js";
2
+ Service83,
3
+ node87
4
+ } from "./workspace-8kdf092n.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./worktree-2ecm7k5x.js";
6
+ Service82,
7
+ node86
8
+ } from "./workspace-9n3na3w3.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./worktree-pknna89w.js";
11
+ } from "./workspace-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./worktree-0q0f95c6.js";
14
+ } from "./workspace-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./worktree-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID14,
25
- Info: () => Info29,
26
- Key: () => Key4,
23
+ Event: () => Event15,
24
+ ID: () => ID9,
25
+ Info: () => Info24,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service72,
28
+ Service: () => Service63,
29
29
  Value: () => Value2,
30
- node: () => node76
30
+ node: () => node65
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID9 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event15 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info24 extends Schema.Class("Credential.Info")({
44
+ id: ID9,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service72 extends Context.Service()("@opencode/Credential") {
51
+ class Service63 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service72, Effect.gen(function* () {
54
- const db = (yield* Service80).db;
55
- const bus = yield* Service79;
53
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
54
+ const db = (yield* Service83).db;
55
+ const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info24({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service72.of({
71
+ return Service63.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID14.create(),
79
+ const credential = new Info24({
80
+ id: ID9.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event15.Updated, {}, { global: true });
105
+ yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event15.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event15.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node84, node83] });
196
+ var node65 = makeGlobalNode({ service: Service63, layer, deps: [node87, node86] });
197
197
 
198
- export { ID14, OAuth3, Key4, Value2, Event18, Info29, Service72, node76, exports_credential };
198
+ export { ID9, OAuth3, Key3, Value2, Event15, Info24, Service63, node65, exports_credential };
@@ -1,118 +1,118 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-3zwsa50c.js";
2
+ Service83,
3
+ node87
4
+ } from "./workspace-8kdf092n.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./worktree-g9b0yvmz.js";
6
+ Service79,
7
+ node83
8
+ } from "./workspace-pb8ac6tt.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service56,
13
- node59
14
- } from "./worktree-e70fzpwb.js";
12
+ Service53,
13
+ node55
14
+ } from "./workspace-2ah6qvjc.js";
15
15
  import {
16
- ID9,
17
- Service54,
18
- node57
19
- } from "./worktree-efyxdhp4.js";
16
+ ID12,
17
+ Service67,
18
+ node70
19
+ } from "./workspace-kf9njbrh.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./worktree-d5wtg2df.js";
22
+ } from "./workspace-mvwxevy0.js";
23
23
  import {
24
24
  combine2
25
- } from "./worktree-t550f9t1.js";
25
+ } from "./workspace-02nrjc1r.js";
26
26
  import {
27
27
  provenance2
28
- } from "./worktree-81czwxpn.js";
28
+ } from "./workspace-vj81g6vn.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./worktree-h6zkevjm.js";
31
+ } from "./workspace-1k3mj0p1.js";
32
32
  import {
33
- Service53,
34
- node56
35
- } from "./worktree-q980a1ys.js";
33
+ Service65,
34
+ node68
35
+ } from "./workspace-t8vry4vd.js";
36
36
  import {
37
37
  merge2
38
- } from "./worktree-6hk05hg4.js";
38
+ } from "./workspace-a2p8e6yv.js";
39
39
  import {
40
- make13
41
- } from "./worktree-hrmdcqyf.js";
40
+ make15
41
+ } from "./workspace-vs9zw531.js";
42
42
  import {
43
- Service57,
44
- node60
45
- } from "./worktree-9jysh8tn.js";
43
+ Service52,
44
+ node54
45
+ } from "./workspace-5g1v3qsj.js";
46
46
  import {
47
- Service19,
48
- node22
49
- } from "./worktree-kwpf6cbb.js";
47
+ Service28,
48
+ node32
49
+ } from "./workspace-xdmdpdp3.js";
50
50
  import {
51
- Service81,
52
- node85
53
- } from "./worktree-f2497b3s.js";
51
+ Service59,
52
+ node61
53
+ } from "./workspace-kkjsk8e7.js";
54
54
  import {
55
- Service27,
56
- node30
57
- } from "./worktree-63czgv3m.js";
55
+ Service34,
56
+ node37
57
+ } from "./workspace-g1rm5mqm.js";
58
58
  import {
59
- Service26,
60
- node29
61
- } from "./worktree-bthbky82.js";
59
+ Service33,
60
+ node36
61
+ } from "./workspace-43gyje3p.js";
62
62
  import {
63
- Service18,
64
- node21
65
- } from "./worktree-qc6a7nr8.js";
63
+ Service36,
64
+ node39
65
+ } from "./workspace-6v2wypzw.js";
66
66
  import {
67
- Service25,
68
- node28
69
- } from "./worktree-2zfaeqj9.js";
67
+ Service29,
68
+ node33
69
+ } from "./workspace-8avk9g0x.js";
70
70
  import {
71
- Service23,
72
- node26
73
- } from "./worktree-t05795gg.js";
71
+ Service27,
72
+ node31
73
+ } from "./workspace-q1ktvany.js";
74
74
  import {
75
- Service22,
76
- node24
77
- } from "./worktree-38a6tnxe.js";
75
+ Service30,
76
+ node34
77
+ } from "./workspace-hw0pyphf.js";
78
78
  import {
79
- Service45,
80
- node48
81
- } from "./worktree-caaa7gb9.js";
79
+ Service41,
80
+ node43
81
+ } from "./workspace-nv5c50a2.js";
82
82
  import {
83
83
  __export
84
- } from "./worktree-9rqn6x4v.js";
84
+ } from "./workspace-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service17,
89
+ Service: () => Service26,
90
90
  SessionContext: () => exports_context,
91
- node: () => node20
91
+ node: () => node30
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service17 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service26 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service17, Effect.gen(function* () {
98
- const agents = yield* Service54;
99
- const builtins = yield* Service19;
100
- const model = yield* Service56;
101
- const db = (yield* Service80).db;
102
- const discovery = yield* Service57;
103
- const entries = yield* Service23;
104
- const location = yield* Service76;
105
- const mcpInstructions = yield* Service26;
106
- const mcpTools = yield* Service27;
107
- const models = yield* Service45;
108
- const request = yield* Service22;
109
- const referenceInstructions = yield* Service18;
110
- const skillInstructions = yield* Service25;
111
- const store = yield* Service53;
112
- const registry = yield* Service81;
97
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
98
+ const agents = yield* Service67;
99
+ const builtins = yield* Service28;
100
+ const model = yield* Service53;
101
+ const db = (yield* Service83).db;
102
+ const discovery = yield* Service52;
103
+ const entries = yield* Service27;
104
+ const location = yield* Service79;
105
+ const mcpInstructions = yield* Service33;
106
+ const mcpTools = yield* Service34;
107
+ const models = yield* Service41;
108
+ const request = yield* Service30;
109
+ const referenceInstructions = yield* Service36;
110
+ const skillInstructions = yield* Service29;
111
+ const store = yield* Service65;
112
+ const registry = yield* Service59;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
- const agent = yield* agents.get(ID9.make("title"));
115
+ const agent = yield* agents.get(ID12.make("title"));
116
116
  if (!agent)
117
117
  return;
118
118
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
165
165
  agent: { ...agent, info: agent.info },
166
166
  instructions: combine2([
167
167
  loaded.builtins,
168
- make13(loaded.tools.codeModeCatalog),
168
+ make15(loaded.tools.codeModeCatalog),
169
169
  loaded.discovery,
170
170
  loaded.skills,
171
171
  loaded.references,
@@ -187,29 +187,29 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
187
187
  tools: selection.tools
188
188
  };
189
189
  });
190
- return Service17.of({ select, load, resolveModel, selectTitle, request });
190
+ return Service26.of({ select, load, resolveModel, selectTitle, request });
191
191
  }));
192
192
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
193
- var node20 = makeLocationNode({
194
- service: Service17,
193
+ var node30 = makeLocationNode({
194
+ service: Service26,
195
195
  layer,
196
196
  deps: [
197
- node57,
198
- node59,
199
- node84,
200
- node22,
201
- node60,
202
- node26,
203
- node80,
204
- node29,
205
- node30,
206
- node21,
207
- node48,
208
- node24,
209
- node56,
210
- node28,
211
- node85
197
+ node70,
198
+ node55,
199
+ node87,
200
+ node32,
201
+ node54,
202
+ node31,
203
+ node83,
204
+ node36,
205
+ node37,
206
+ node39,
207
+ node43,
208
+ node34,
209
+ node68,
210
+ node33,
211
+ node61
212
212
  ]
213
213
  });
214
214
 
215
- export { Service17, node20, exports_context };
215
+ export { Service26, node30, exports_context };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./worktree-v057vym3.js";
4
+ } from "./workspace-5xxye2p9.js";
5
5
  import {
6
6
  latest2,
7
- Service38
8
- } from "./worktree-xwyqxccg.js";
7
+ Service49
8
+ } from "./workspace-w2yh7emw.js";
9
9
  import {
10
10
  resolve2
11
- } from "./worktree-43xg0xp9.js";
11
+ } from "./workspace-5ytc8238.js";
12
12
  import {
13
13
  observe2
14
- } from "./worktree-qsdy395h.js";
14
+ } from "./workspace-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./worktree-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin4
23
+ Plugin: () => Plugin18
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin4 = define({
28
+ var Plugin18 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service38;
31
+ const config = yield* Service49;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin4, exports_provider };
203
+ export { Plugin18, exports_provider };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-3zwsa50c.js";
2
+ Service83,
3
+ node87
4
+ } from "./workspace-8kdf092n.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./worktree-f828m53h.js";
7
+ } from "./workspace-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID7,
17
- Info: () => Info18,
18
- ListInput: () => ListInput3,
16
+ ID: () => ID11,
17
+ Info: () => Info26,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service52,
21
- node: () => node55
20
+ Service: () => Service66,
21
+ node: () => node69
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info18 = PermissionSaved.Info;
30
- var ListInput3 = Schema.Struct({
28
+ var ID11 = PermissionSaved.ID;
29
+ var Info26 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service52 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service52, Effect.gen(function* () {
42
- const db = (yield* Service80).db;
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
+ const db = (yield* Service83).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID7.create(),
60
+ id: ID11.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service52.of({ list, add, remove });
69
+ return Service66.of({ list, add, remove });
70
70
  }));
71
- var node55 = makeGlobalNode({ service: Service52, layer, deps: [node84] });
71
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
72
72
 
73
- export { ID7, Info18, ListInput3, AddInput2, Service52, node55, exports_saved };
73
+ export { ID11, Info26, ListInput4, AddInput2, Service66, node69, exports_saved };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service64
3
- } from "./worktree-8zjetqqg.js";
2
+ Service74
3
+ } from "./workspace-sz6xpjfh.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service64;
22
+ const environment = yield* Service74;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service48,
9
- node51
10
- } from "./worktree-3rcc0r2v.js";
8
+ Service43,
9
+ node45
10
+ } from "./workspace-kxpywdsa.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./worktree-7xmz7frw.js";
13
+ } from "./workspace-dm1py9b3.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./workspace-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service45,
25
+ Service: () => Service41,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node48,
31
+ node: () => node43,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service45 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service45, Effect.gen(function* () {
76
- const resolver = yield* Service48;
77
- return Service45.of({
75
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
76
+ const resolver = yield* Service43;
77
+ return Service41.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node48 = makeLocationNode({ service: Service45, layer, deps: [node51] });
95
+ var node43 = makeLocationNode({ service: Service41, layer, deps: [node45] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service45, resolved2, node48, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service41, resolved2, node43, exports_model };