@opencode/core 0.0.0-dev-19959 → 0.0.0-dev-19962

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 (796) 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 +89 -89
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{worktree-etkky4xb.js → app-00hgdb0m.js} +30 -30
  8. package/dist/chunks/{worktree-0gdmqesm.js → app-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{worktree-e01ptnw8.js → app-04ewta5r.js} +16 -16
  10. package/dist/chunks/{worktree-az11wfvr.js → app-0dxkcwkq.js} +16 -16
  11. package/dist/chunks/{worktree-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{worktree-jqjs9tcv.js → app-0pw4vw5f.js} +4 -4
  13. package/dist/chunks/{worktree-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{worktree-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{worktree-mfhfdr54.js → app-1hc11dc4.js} +4 -4
  16. package/dist/chunks/{worktree-33gh8jtn.js → app-1neascwm.js} +35 -35
  17. package/dist/chunks/{worktree-mc0tbgbx.js → app-1qf1fr1q.js} +12 -12
  18. package/dist/chunks/{worktree-ab5e65y7.js → app-1v1y3h46.js} +18 -18
  19. package/dist/chunks/{worktree-21r38tys.js → app-21r38tys.js} +1 -1
  20. package/dist/chunks/{worktree-rzt5b11j.js → app-22yappzv.js} +12 -12
  21. package/dist/chunks/{worktree-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{worktree-2yyeacqq.js → app-2akn3e7d.js} +18 -18
  23. package/dist/chunks/{worktree-njzmkv4t.js → app-2jw0gqmb.js} +24 -24
  24. package/dist/chunks/{worktree-fch79rh9.js → app-2jz473v5.js} +1 -1
  25. package/dist/chunks/{worktree-7dqw4kz8.js → app-2k8khapm.js} +5 -5
  26. package/dist/chunks/{worktree-5kq5qec8.js → app-33e6e908.js} +32 -32
  27. package/dist/chunks/{worktree-akvwcqv3.js → app-35p3x5j5.js} +27 -27
  28. package/dist/chunks/{worktree-y0fk3wmz.js → app-36nehvj7.js} +35 -35
  29. package/dist/chunks/{worktree-00npq5hg.js → app-36yjffmn.js} +44 -44
  30. package/dist/chunks/{worktree-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{worktree-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{worktree-tpw6cwsb.js → app-3hfr6h8q.js} +4 -4
  33. package/dist/chunks/{worktree-mx9vqzsb.js → app-3ppptnan.js} +6 -6
  34. package/dist/chunks/{worktree-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{worktree-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{worktree-vrd7bw94.js → app-3vg5q0hm.js} +19 -19
  37. package/dist/chunks/{worktree-rr5qrs97.js → app-47bcapsc.js} +13 -13
  38. package/dist/chunks/{worktree-2zj1evwc.js → app-49xh4knz.js} +36 -36
  39. package/dist/chunks/{worktree-5ca5497x.js → app-4demphjr.js} +6 -6
  40. package/dist/chunks/{worktree-21cb4yfq.js → app-4hrvdzte.js} +1 -1
  41. package/dist/chunks/{worktree-jzzy94zk.js → app-4nj4bn9q.js} +9 -9
  42. package/dist/chunks/{worktree-d96qny3q.js → app-4s22ks3b.js} +5 -5
  43. package/dist/chunks/app-4v7qdvcn.js +18 -0
  44. package/dist/chunks/{worktree-dg6kkwqt.js → app-4zevm03n.js} +3 -3
  45. package/dist/chunks/{worktree-8q7cq0y1.js → app-539jk4fq.js} +3 -3
  46. package/dist/chunks/{worktree-899bmpw2.js → app-54vj2jfs.js} +6 -6
  47. package/dist/chunks/{worktree-7jx0v3wz.js → app-56xvr3m5.js} +11 -11
  48. package/dist/chunks/{worktree-3885gykz.js → app-580xytsw.js} +27 -27
  49. package/dist/chunks/{worktree-wg3ah9vk.js → app-5ax4qnhd.js} +15 -15
  50. package/dist/chunks/{worktree-5daktx2q.js → app-5daktx2q.js} +1 -1
  51. package/dist/chunks/{worktree-6f8fr4j0.js → app-5qkjszbf.js} +5 -5
  52. package/dist/chunks/{worktree-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{worktree-twn8y427.js → app-62snwjy6.js} +23 -23
  54. package/dist/chunks/{worktree-669tq793.js → app-669tq793.js} +1 -1
  55. package/dist/chunks/{worktree-8aaqm6qj.js → app-69j91c1q.js} +8 -8
  56. package/dist/chunks/{worktree-1r0y6anp.js → app-6bnhs0t6.js} +27 -27
  57. package/dist/chunks/{worktree-6h73sxmp.js → app-6h73sxmp.js} +1 -1
  58. package/dist/chunks/app-6kdq0pjd.js +4 -0
  59. package/dist/chunks/{worktree-gsnqjxmg.js → app-6m2en2x4.js} +51 -51
  60. package/dist/chunks/{worktree-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{worktree-58rxp6d3.js → app-6qw3sa0y.js} +5 -5
  62. package/dist/chunks/{worktree-esh8snah.js → app-6vtqbgbq.js} +37 -37
  63. package/dist/chunks/{worktree-8c88k4y9.js → app-6y2h1b0z.js} +11 -11
  64. package/dist/chunks/{worktree-awaee7qt.js → app-6zz0jjar.js} +6 -6
  65. package/dist/chunks/{worktree-yxy08kjz.js → app-74183p9e.js} +30 -30
  66. package/dist/chunks/{worktree-swxr5sk9.js → app-7akjnz43.js} +23 -23
  67. package/dist/chunks/{worktree-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{worktree-2hz0qpna.js → app-7bv32vg5.js} +14 -14
  69. package/dist/chunks/{worktree-g0jbnnkv.js → app-7dghmw1c.js} +46 -46
  70. package/dist/chunks/{worktree-qvreyy9g.js → app-84zcxbc9.js} +5 -5
  71. package/dist/chunks/{worktree-g3jdw4qe.js → app-87738vnr.js} +14 -14
  72. package/dist/chunks/{worktree-y19g1g3c.js → app-87sq4ns4.js} +24 -24
  73. package/dist/chunks/{worktree-ryvvaahd.js → app-8bp92270.js} +14 -14
  74. package/dist/chunks/{worktree-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{worktree-dj2t23y0.js → app-8p4f9s12.js} +2 -2
  76. package/dist/chunks/{worktree-03513dpk.js → app-8qktnpz7.js} +17 -17
  77. package/dist/chunks/{worktree-5mtzsd3b.js → app-8z00fdkb.js} +4 -4
  78. package/dist/chunks/{worktree-pgd96ws3.js → app-92r1w9xd.js} +32 -32
  79. package/dist/chunks/{worktree-e47wcd5s.js → app-938etnqy.js} +7 -7
  80. package/dist/chunks/{worktree-v1szefp9.js → app-943e2jvx.js} +21 -21
  81. package/dist/chunks/{worktree-2w250fb9.js → app-94y6grsq.js} +9 -9
  82. package/dist/chunks/{worktree-7x8vr9wx.js → app-95snkdmn.js} +40 -40
  83. package/dist/chunks/{worktree-t2ebar3s.js → app-99ab7et3.js} +6 -6
  84. package/dist/chunks/app-9aknjnhf.js +26 -0
  85. package/dist/chunks/{worktree-9vmxtf8m.js → app-9dhf40d2.js} +15 -15
  86. package/dist/chunks/{worktree-5gq0j8y6.js → app-9s6rx2cc.js} +42 -42
  87. package/dist/chunks/{worktree-anv5cbp8.js → app-9shy6a5e.js} +11 -11
  88. package/dist/chunks/{worktree-bc773w9a.js → app-9z3vkseh.js} +20 -20
  89. package/dist/chunks/{worktree-d5z19hk1.js → app-a0bp3fsc.js} +10 -10
  90. package/dist/chunks/{worktree-5c4hm403.js → app-a1bz86dw.js} +3 -3
  91. package/dist/chunks/{worktree-rfw8gvq9.js → app-a82gmppq.js} +15 -15
  92. package/dist/chunks/{worktree-g190xswt.js → app-a8bn8zg0.js} +4 -4
  93. package/dist/chunks/{worktree-aaet6srn.js → app-aaet6srn.js} +2 -2
  94. package/dist/chunks/{worktree-4947sgj4.js → app-ab3fy251.js} +13 -13
  95. package/dist/chunks/{worktree-jc7s5yzp.js → app-abyy57qk.js} +11 -11
  96. package/dist/chunks/{worktree-gdexxn2e.js → app-atk4whyf.js} +3 -3
  97. package/dist/chunks/{worktree-g2swn6b7.js → app-ay076qxp.js} +25 -25
  98. package/dist/chunks/{worktree-sbwttkaf.js → app-azbd23ze.js} +11 -11
  99. package/dist/chunks/{worktree-87tqv0m9.js → app-b21gbg50.js} +4 -4
  100. package/dist/chunks/{worktree-1sfwps64.js → app-b5abhfx7.js} +15 -15
  101. package/dist/chunks/{worktree-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{worktree-kw4nys0v.js → app-bahb1c52.js} +32 -32
  103. package/dist/chunks/{worktree-j6fv3d6x.js → app-bcbe83a7.js} +3 -3
  104. package/dist/chunks/{worktree-nbhvjqq0.js → app-bfph4vb6.js} +16 -16
  105. package/dist/chunks/{worktree-5eer2xf9.js → app-bnmr3cva.js} +8 -8
  106. package/dist/chunks/{worktree-1p2ds4p0.js → app-br2enyvp.js} +16 -16
  107. package/dist/chunks/{worktree-j6q6f4de.js → app-bw8p8d0g.js} +39 -39
  108. package/dist/chunks/{worktree-8dged86n.js → app-bxc0gw8b.js} +24 -24
  109. package/dist/chunks/{worktree-ex22b358.js → app-ca0amnmc.js} +25 -25
  110. package/dist/chunks/{worktree-m0jqrx5p.js → app-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{worktree-f7ehr1hv.js → app-cmgf2jjc.js} +8 -8
  112. package/dist/chunks/{worktree-cr07tj7n.js → app-cr07tj7n.js} +2 -2
  113. package/dist/chunks/{worktree-depwh34e.js → app-ct0p4hmk.js} +6 -6
  114. package/dist/chunks/{worktree-b04n12yt.js → app-ctrfp6k3.js} +35 -35
  115. package/dist/chunks/{worktree-77aa2ptm.js → app-d1yevav1.js} +5 -5
  116. package/dist/chunks/{worktree-bw8gdwks.js → app-d8xrcppj.js} +10 -10
  117. package/dist/chunks/{worktree-k75g3hfp.js → app-da3bnvm5.js} +12 -12
  118. package/dist/chunks/{worktree-dn7365jx.js → app-dfns4g3x.js} +4 -4
  119. package/dist/chunks/{worktree-rbykwf8h.js → app-dhtadd1m.js} +5 -5
  120. package/dist/chunks/{worktree-dpkg50ah.js → app-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{worktree-51a1jr9z.js → app-dq7bhc1n.js} +9 -9
  122. package/dist/chunks/{worktree-zqerkhaz.js → app-dqt1anda.js} +24 -24
  123. package/dist/chunks/{worktree-drwq78ky.js → app-drwq78ky.js} +1 -1
  124. package/dist/chunks/{worktree-0edr8emb.js → app-e2zdx18w.js} +11 -11
  125. package/dist/chunks/{worktree-486a1zpr.js → app-e63tarq5.js} +32 -32
  126. package/dist/chunks/{worktree-hxmf60ar.js → app-eekxqy1c.js} +28 -28
  127. package/dist/chunks/{worktree-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{worktree-940d36ge.js → app-egt363yj.js} +15 -15
  129. package/dist/chunks/{worktree-27w3txew.js → app-er4256hm.js} +15 -15
  130. package/dist/chunks/{worktree-erw5rpbs.js → app-erw5rpbs.js} +2 -2
  131. package/dist/chunks/{worktree-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{worktree-evbgk2k8.js → app-evbgk2k8.js} +2 -2
  133. package/dist/chunks/{worktree-32g4c5x7.js → app-ex8ktbze.js} +8 -8
  134. package/dist/chunks/{worktree-rw0j17jy.js → app-exc1vzys.js} +16 -16
  135. package/dist/chunks/{worktree-wb2290kd.js → app-f7y52kxg.js} +42 -42
  136. package/dist/chunks/{worktree-hdnk95c8.js → app-f828m53h.js} +2 -2
  137. package/dist/chunks/{worktree-qm0v3jhh.js → app-fdv30zvt.js} +4 -4
  138. package/dist/chunks/{worktree-k7xvw3dw.js → app-fe6qwrgk.js} +20 -20
  139. package/dist/chunks/{worktree-b6xy6jda.js → app-fmcqyzhx.js} +9 -9
  140. package/dist/chunks/{worktree-6ggbzja4.js → app-fmf120va.js} +5 -5
  141. package/dist/chunks/{worktree-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{worktree-bg2gq5qa.js → app-fxqygnfa.js} +4 -4
  143. package/dist/chunks/{worktree-fd7j5y5t.js → app-fz9mh2y2.js} +11 -11
  144. package/dist/chunks/{worktree-g2xawn2z.js → app-g3mn8s68.js} +2 -2
  145. package/dist/chunks/{worktree-97qjdx9c.js → app-g6pjt58h.js} +23 -23
  146. package/dist/chunks/{worktree-yaf95dqt.js → app-gcn4rvn9.js} +10 -10
  147. package/dist/chunks/{worktree-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{worktree-j7fts5t0.js → app-gg72wa45.js} +11 -11
  149. package/dist/chunks/{worktree-q9em23va.js → app-gk3wjayh.js} +77 -77
  150. package/dist/chunks/{worktree-1qsv2vsq.js → app-gnnyvzb4.js} +24 -24
  151. package/dist/chunks/{worktree-0ahhqjdx.js → app-grv6h7yp.js} +31 -31
  152. package/dist/chunks/{worktree-yyk09s5y.js → app-grvh109k.js} +7 -7
  153. package/dist/chunks/{worktree-kne8f3cn.js → app-gst7axd9.js} +4 -4
  154. package/dist/chunks/{worktree-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{worktree-ag8e42mr.js → app-h3vfnnb5.js} +28 -28
  156. package/dist/chunks/{worktree-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{worktree-qzj3p1a8.js → app-hexskcr5.js} +19 -19
  158. package/dist/chunks/{worktree-hepbeetm.js → app-hnc80k8f.js} +32 -32
  159. package/dist/chunks/{worktree-2993mdqz.js → app-hskrzcap.js} +5 -5
  160. package/dist/chunks/{worktree-36g34y2m.js → app-htkz5b9p.js} +29 -29
  161. package/dist/chunks/{worktree-mhkvc446.js → app-j028xdjb.js} +3 -3
  162. package/dist/chunks/{worktree-mdk3y3z1.js → app-j04nwq7r.js} +11 -11
  163. package/dist/chunks/{worktree-9ftphk66.js → app-j3azhb7z.js} +28 -28
  164. package/dist/chunks/{worktree-j56e64zr.js → app-j56e64zr.js} +1 -1
  165. package/dist/chunks/{worktree-6x0h2hvg.js → app-j7zc0ft0.js} +7 -7
  166. package/dist/chunks/{worktree-rr0tph7c.js → app-j99nxr5r.js} +44 -44
  167. package/dist/chunks/{worktree-5dmcr3b1.js → app-jd0ec2vp.js} +30 -30
  168. package/dist/chunks/{worktree-qtp3z5jz.js → app-jmfvx9s5.js} +20 -20
  169. package/dist/chunks/{worktree-n2k8kfr2.js → app-jng4by6n.js} +10 -10
  170. package/dist/chunks/{worktree-6ysrkrkr.js → app-jpgzdbsd.js} +8 -8
  171. package/dist/chunks/{worktree-54h1gy1n.js → app-k0nqkats.js} +26 -26
  172. package/dist/chunks/{worktree-28d8znnm.js → app-k1e29702.js} +4 -4
  173. package/dist/chunks/{worktree-nzks3jc8.js → app-k3c624dm.js} +3 -3
  174. package/dist/chunks/{worktree-c282yhkm.js → app-k5r9x8j7.js} +32 -32
  175. package/dist/chunks/{worktree-22da35st.js → app-k72y7s9z.js} +15 -15
  176. package/dist/chunks/{worktree-5gvw5jwx.js → app-k807sq0r.js} +20 -20
  177. package/dist/chunks/{worktree-mps7kt98.js → app-k97cgbvd.js} +7 -7
  178. package/dist/chunks/{worktree-1mq78cxw.js → app-kgq2j1px.js} +55 -55
  179. package/dist/chunks/{worktree-fkjmw100.js → app-knb7evpn.js} +6 -6
  180. package/dist/chunks/{worktree-3s810fg1.js → app-kv8awt1x.js} +3 -3
  181. package/dist/chunks/{worktree-6wg7wrda.js → app-kxtwbv1b.js} +8 -8
  182. package/dist/chunks/{worktree-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{worktree-0mkssq3p.js → app-m77d5zrr.js} +24 -24
  184. package/dist/chunks/{worktree-spdrvks9.js → app-m9hajnka.js} +22 -22
  185. package/dist/chunks/{worktree-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{worktree-r4xk7wzn.js → app-mbkm2fyz.js} +11 -11
  187. package/dist/chunks/{worktree-33w4ejhs.js → app-mfqp6xfm.js} +9 -9
  188. package/dist/chunks/{worktree-yd28dp38.js → app-mg9jjtrh.js} +29 -29
  189. package/dist/chunks/{worktree-ebmcp6jg.js → app-mq83qn8x.js} +21 -21
  190. package/dist/chunks/{worktree-vfnexndp.js → app-n0pywpq4.js} +6 -6
  191. package/dist/chunks/{worktree-s4m6wqxh.js → app-n23hd4ap.js} +9 -9
  192. package/dist/chunks/{worktree-vycw7md4.js → app-n2srvep7.js} +4 -4
  193. package/dist/chunks/{worktree-v7j76yb7.js → app-n571wmch.js} +13 -13
  194. package/dist/chunks/{worktree-adrjdcdv.js → app-n7egt4g5.js} +5 -5
  195. package/dist/chunks/{worktree-45hwf2ve.js → app-n93ehy3t.js} +25 -25
  196. package/dist/chunks/{worktree-9yk5tkmn.js → app-nfynv00w.js} +8 -8
  197. package/dist/chunks/app-nkrpwcne.js +252 -0
  198. package/dist/chunks/{worktree-stz8t2v6.js → app-nm1fs8j1.js} +4 -4
  199. package/dist/chunks/{worktree-421r5d5v.js → app-ns11qcmf.js} +12 -12
  200. package/dist/chunks/{worktree-wzhchsdw.js → app-nzc01whq.js} +23 -23
  201. package/dist/chunks/{worktree-nce5244k.js → app-p1f9wrr8.js} +29 -29
  202. package/dist/chunks/{worktree-evq1m25b.js → app-p53dvdxd.js} +10 -10
  203. package/dist/chunks/{worktree-5pdqrmgg.js → app-p5tsmpsj.js} +12 -12
  204. package/dist/chunks/{worktree-0ft9cg2j.js → app-pjmceen1.js} +6 -6
  205. package/dist/chunks/{worktree-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{worktree-r9dtcy7v.js → app-pjx7q10q.js} +20 -20
  207. package/dist/chunks/{worktree-q7b8tk1j.js → app-pkmd9pg0.js} +17 -17
  208. package/dist/chunks/{worktree-pknna89w.js → app-pknna89w.js} +1 -1
  209. package/dist/chunks/{worktree-x2r5cysr.js → app-pw75v0se.js} +18 -18
  210. package/dist/chunks/{worktree-phvc5gz1.js → app-pyxgdpbm.js} +33 -33
  211. package/dist/chunks/{worktree-s003wxah.js → app-q46041zc.js} +3 -3
  212. package/dist/chunks/{worktree-a70dqpwr.js → app-q4aagae2.js} +5 -5
  213. package/dist/chunks/{worktree-pnbzcb80.js → app-qant3epe.js} +4 -4
  214. package/dist/chunks/{worktree-zfjnvatg.js → app-qb9bfxht.js} +31 -31
  215. package/dist/chunks/{worktree-1nd760hn.js → app-qcw5zjkg.js} +28 -28
  216. package/dist/chunks/{worktree-v731dxt6.js → app-qgcgj089.js} +13 -13
  217. package/dist/chunks/{worktree-qsdy395h.js → app-qsdy395h.js} +1 -1
  218. package/dist/chunks/{worktree-4wx50nne.js → app-qyf8ynzm.js} +18 -18
  219. package/dist/chunks/{worktree-m3qcd0gh.js → app-rd7j0r7s.js} +17 -17
  220. package/dist/chunks/{worktree-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{worktree-qmqgtz8f.js → app-rey5gbxv.js} +9 -9
  222. package/dist/chunks/{worktree-6rywya1e.js → app-rnhtns9m.js} +8 -8
  223. package/dist/chunks/{worktree-a3w3ek2p.js → app-rnnfvfmz.js} +5 -5
  224. package/dist/chunks/{worktree-6rjq4ad6.js → app-s0hza5ac.js} +4 -4
  225. package/dist/chunks/{worktree-asqy4pdp.js → app-s197j8aa.js} +1 -1
  226. package/dist/chunks/{worktree-w049avsm.js → app-s57j6h06.js} +12 -12
  227. package/dist/chunks/{worktree-sa6gj9bw.js → app-s8r4qnwb.js} +15 -15
  228. package/dist/chunks/{worktree-w2a0me0w.js → app-saqgrh58.js} +91 -91
  229. package/dist/chunks/{worktree-46dahfew.js → app-sk19vycr.js} +47 -47
  230. package/dist/chunks/{worktree-yhc2vnw0.js → app-spjvwqgk.js} +10 -10
  231. package/dist/chunks/{worktree-tpj75mzy.js → app-svzmgsme.js} +19 -19
  232. package/dist/chunks/{worktree-vykevjvn.js → app-sykc9y4a.js} +5 -5
  233. package/dist/chunks/{worktree-t3m7g1te.js → app-t3m71znj.js} +11 -11
  234. package/dist/chunks/{worktree-nqyhrfcc.js → app-t9d84gp7.js} +4 -4
  235. package/dist/chunks/{worktree-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{worktree-p28j5sbe.js → app-tbz0fdvh.js} +5 -5
  237. package/dist/chunks/{worktree-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{worktree-83da929p.js → app-tcfe36vw.js} +33 -33
  239. package/dist/chunks/{worktree-tdstcens.js → app-tdstcens.js} +1 -1
  240. package/dist/chunks/{worktree-kqhyc4a5.js → app-teqkkx0y.js} +18 -18
  241. package/dist/chunks/{worktree-ydcyakjt.js → app-tfm9qqy2.js} +9 -9
  242. package/dist/chunks/{worktree-x2bnk29x.js → app-tk7qtz96.js} +9 -9
  243. package/dist/chunks/{worktree-hjxmeyjq.js → app-tkg6wrcp.js} +25 -25
  244. package/dist/chunks/{worktree-tvtrv512.js → app-tvtrv512.js} +1 -1
  245. package/dist/chunks/{worktree-ccenzmm6.js → app-tx8s6w99.js} +10 -10
  246. package/dist/chunks/{worktree-ganm2r9k.js → app-tyc4kq75.js} +3 -3
  247. package/dist/chunks/{worktree-wt3fns9r.js → app-v38d2txv.js} +11 -11
  248. package/dist/chunks/{worktree-5frpvc34.js → app-v5j4d43x.js} +2 -2
  249. package/dist/chunks/{worktree-veqvce7d.js → app-veqvce7d.js} +1 -1
  250. package/dist/chunks/{worktree-t1np0tqc.js → app-vgn3rvzw.js} +22 -22
  251. package/dist/chunks/{worktree-2k92p94a.js → app-vkhpq047.js} +54 -54
  252. package/dist/chunks/{worktree-6xtgx1bn.js → app-vkt5wt51.js} +11 -11
  253. package/dist/chunks/{worktree-5w1b7248.js → app-vrxtv5kp.js} +3 -3
  254. package/dist/chunks/{worktree-t6191ead.js → app-vsvscstt.js} +35 -35
  255. package/dist/chunks/{worktree-ae05hxc9.js → app-vx2e2qd2.js} +60 -60
  256. package/dist/chunks/{worktree-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{worktree-epqzss3m.js → app-w1pfwvrv.js} +35 -35
  258. package/dist/chunks/{worktree-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{worktree-m2ma7v7h.js → app-w4ggsreb.js} +6 -6
  260. package/dist/chunks/{worktree-efqd9j5j.js → app-w9a7bxjv.js} +33 -33
  261. package/dist/chunks/{worktree-wd87259q.js → app-wd87259q.js} +1 -1
  262. package/dist/chunks/{worktree-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{worktree-nq7qbqzc.js → app-xk747vep.js} +9 -9
  264. package/dist/chunks/{worktree-qy3x5fkw.js → app-xkadcde5.js} +36 -36
  265. package/dist/chunks/{worktree-dnjvrtng.js → app-xq2kvd0a.js} +182 -182
  266. package/dist/chunks/{worktree-g9p6zv33.js → app-xsagr3cx.js} +8 -8
  267. package/dist/chunks/{worktree-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{worktree-9aeamryp.js → app-y6h54wc7.js} +29 -29
  269. package/dist/chunks/{worktree-818pfwc9.js → app-y7x142mt.js} +8 -8
  270. package/dist/chunks/{worktree-yjptyezs.js → app-yjptyezs.js} +2 -2
  271. package/dist/chunks/{worktree-hmcspfjz.js → app-ykg38shc.js} +22 -22
  272. package/dist/chunks/{worktree-yp2x3t23.js → app-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{worktree-g91wcgpj.js → app-yqyqkq2b.js} +4 -4
  274. package/dist/chunks/{worktree-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{worktree-yrznvahk.js → app-yrznvahk.js} +2 -2
  276. package/dist/chunks/{worktree-9wg8f7rp.js → app-yv1416d3.js} +19 -19
  277. package/dist/chunks/{worktree-7k8hwkm4.js → app-ywpb47cp.js} +22 -22
  278. package/dist/chunks/{worktree-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{worktree-z6s2ptjh.js → app-z0v6s3vd.js} +28 -28
  280. package/dist/chunks/{worktree-z63w68vq.js → app-z63w68vq.js} +2 -2
  281. package/dist/chunks/{worktree-dvxrp605.js → app-z6kv2pk9.js} +5 -5
  282. package/dist/chunks/{worktree-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{worktree-s58zdxfq.js → app-zjf20deb.js} +330 -330
  284. package/dist/chunks/{worktree-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{worktree-jpz4t714.js → app-zrf3t8cx.js} +15 -15
  286. package/dist/chunks/{worktree-pk05hrqc.js → app-ztv0xwza.js} +28 -28
  287. package/dist/chunks/{worktree-q3brf889.js → app-zvffvgzw.js} +7 -7
  288. package/dist/chunks/{worktree-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{worktree-xrhwvysg.js → app-zy1vcdg8.js} +94 -94
  290. package/dist/chunks/{worktree-j83byb14.js → app-zzabxn0f.js} +4 -4
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +91 -91
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +96 -96
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +104 -104
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +93 -93
  482. package/dist/model.js +99 -99
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +112 -112
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +87 -87
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +3 -3
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +119 -119
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +71 -71
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +85 -85
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +95 -95
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +85 -85
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +74 -74
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +222 -222
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +213 -213
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +111 -111
  633. package/dist/snapshot.js +92 -92
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +112 -112
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +111 -111
  650. package/dist/tool/plugin/websearch.js +113 -113
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +2 -2
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +2 -2
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +2 -2
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +76 -76
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/worktree-0mesazry.js +0 -4
  698. package/dist/chunks/worktree-3p652h0e.js +0 -26
  699. package/dist/chunks/worktree-619r8v3y.js +0 -18
  700. package/dist/chunks/worktree-x9psk7ht.js +0 -252
  701. /package/dist/chunks/{worktree-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{worktree-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{worktree-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{worktree-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{worktree-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{worktree-24dcb14g.js → app-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{worktree-2710q6r3.js → app-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{worktree-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{worktree-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{worktree-359p4xyc.js → app-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{worktree-3asan66x.js → app-3asan66x.js} +0 -0
  712. /package/dist/chunks/{worktree-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{worktree-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{worktree-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{worktree-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{worktree-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{worktree-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{worktree-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{worktree-53557ph1.js → app-53557ph1.js} +0 -0
  720. /package/dist/chunks/{worktree-550bvhaj.js → app-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{worktree-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{worktree-6prwharc.js → app-6prwharc.js} +0 -0
  723. /package/dist/chunks/{worktree-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{worktree-7m9af43g.js → app-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{worktree-822emrt2.js → app-822emrt2.js} +0 -0
  726. /package/dist/chunks/{worktree-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{worktree-8n3pysct.js → app-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{worktree-922hggd3.js → app-922hggd3.js} +0 -0
  729. /package/dist/chunks/{worktree-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{worktree-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{worktree-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{worktree-af5trqkr.js → app-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{worktree-afrmfg78.js → app-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{worktree-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{worktree-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{worktree-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{worktree-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{worktree-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{worktree-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{worktree-d9fn303g.js → app-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{worktree-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{worktree-dajrwvna.js → app-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{worktree-dap0rakb.js → app-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{worktree-df08tz66.js → app-df08tz66.js} +0 -0
  745. /package/dist/chunks/{worktree-dy18nga0.js → app-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{worktree-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{worktree-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{worktree-ec1grn59.js → app-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{worktree-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{worktree-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{worktree-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{worktree-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{worktree-faypxj3z.js → app-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{worktree-fd410y7t.js → app-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{worktree-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{worktree-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{worktree-g86h250q.js → app-g86h250q.js} +0 -0
  758. /package/dist/chunks/{worktree-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{worktree-gftt206x.js → app-gftt206x.js} +0 -0
  760. /package/dist/chunks/{worktree-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{worktree-hk9envan.js → app-hk9envan.js} +0 -0
  762. /package/dist/chunks/{worktree-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{worktree-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{worktree-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{worktree-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{worktree-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{worktree-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{worktree-mp448xyj.js → app-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{worktree-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{worktree-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{worktree-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{worktree-njntx4h6.js → app-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{worktree-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{worktree-q74kybfr.js → app-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{worktree-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{worktree-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{worktree-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{worktree-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{worktree-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{worktree-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{worktree-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{worktree-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{worktree-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{worktree-twg0f83k.js → app-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{worktree-w803qqfp.js → app-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{worktree-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{worktree-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{worktree-wtztk69x.js → app-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{worktree-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{worktree-x61499pn.js → app-x61499pn.js} +0 -0
  791. /package/dist/chunks/{worktree-y44na4kk.js → app-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{worktree-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{worktree-y8f7s663.js → app-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{worktree-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{worktree-ym463w8f.js → app-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{worktree-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service82
3
- } from "./worktree-e01ptnw8.js";
2
+ Service80
3
+ } from "./app-04ewta5r.js";
4
4
  import {
5
- Service56
6
- } from "./worktree-83da929p.js";
5
+ Service30
6
+ } from "./app-tcfe36vw.js";
7
7
  import {
8
- Error4
9
- } from "./worktree-8dged86n.js";
8
+ Error5
9
+ } from "./app-bxc0gw8b.js";
10
10
  import {
11
- Service84
12
- } from "./worktree-rzt5b11j.js";
11
+ Service34
12
+ } from "./app-22yappzv.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./worktree-3s810fg1.js";
15
+ } from "./app-kv8awt1x.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./worktree-ec1grn59.js";
18
+ } from "./app-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./worktree-87tqv0m9.js";
21
+ } from "./app-b21gbg50.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./worktree-tdstcens.js";
24
+ } from "./app-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./worktree-erw5rpbs.js";
27
+ } from "./app-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./worktree-t2ebar3s.js";
30
+ } from "./app-99ab7et3.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./app-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
55
- const bus = yield* Service82;
54
+ var make8 = Effect.gen(function* () {
55
+ const bus = yield* Service80;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service56;
58
- const toolOutput = yield* Service84;
57
+ const snapshots = yield* Service30;
58
+ const toolOutput = yield* Service34;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
209
209
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
210
210
  };
211
211
 
212
- export { Outcome2, make3, exports_step };
212
+ export { Outcome2, make8, exports_step };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-dpkg50ah.js";
3
+ } from "./app-dpkg50ah.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./worktree-e01ptnw8.js";
5
+ Service80,
6
+ node84
7
+ } from "./app-04ewta5r.js";
8
8
  import {
9
- Event17,
10
- Service73,
11
- node77
12
- } from "./worktree-qy3x5fkw.js";
9
+ Event14,
10
+ Service65,
11
+ node67
12
+ } from "./app-xkadcde5.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./worktree-nbhvjqq0.js";
14
+ Service71,
15
+ node74
16
+ } from "./app-bfph4vb6.js";
17
17
  import {
18
- Service67,
19
- node69
20
- } from "./worktree-0mkssq3p.js";
18
+ Service57,
19
+ node59
20
+ } from "./app-m77d5zrr.js";
21
21
  import {
22
- ID18,
23
- Service81,
24
- node85
25
- } from "./worktree-nce5244k.js";
22
+ ID10,
23
+ Service66,
24
+ node68
25
+ } from "./app-p1f9wrr8.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./worktree-rdw6cm16.js";
29
+ } from "./app-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID8,
32
32
  MethodID2,
33
- Service72,
34
- node76
35
- } from "./worktree-pgd96ws3.js";
33
+ Service64,
34
+ node66
35
+ } from "./app-92r1w9xd.js";
36
36
  import {
37
37
  __export
38
- } from "./worktree-9rqn6x4v.js";
38
+ } from "./app-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service36,
53
+ Service: () => Service23,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured5,
57
- layer: () => layer14,
58
- node: () => node39
56
+ configured: () => configured3,
57
+ layer: () => layer11,
58
+ node: () => node27
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service36 extends Context.Service()("@opencode/MCP") {
96
+ class Service23 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options5 = Schema.Struct({
98
+ var Options3 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
105
- const location = yield* Service77;
106
- const environment = yield* Service67;
107
- const bus = yield* Service82;
108
- const forms = yield* Service81;
109
- const integration = yield* Service72;
110
- const credentials = yield* Service73;
104
+ var layer11 = (options) => Layer.effect(Service23, Effect.gen(function* () {
105
+ const location = yield* Service71;
106
+ const environment = yield* Service57;
107
+ const bus = yield* Service80;
108
+ const forms = yield* Service66;
109
+ const integration = yield* Service64;
110
+ const credentials = yield* Service65;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID13.make(suffix);
122
+ const integrationID = ID8.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service65, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError5({ server: name });
147
+ return yield* new NotFoundError3({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service65, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID18.create();
159
+ const formID = ID10.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service57, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service36.of({
394
+ return Service23.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured5(options) {
513
+ function configured3(options) {
514
514
  return makeLocationNode({
515
- service: Service36,
516
- layer: layer14(options),
517
- deps: [node81, node69, node86, node85, node76, node77]
515
+ service: Service23,
516
+ layer: layer11(options),
517
+ deps: [node74, node59, node84, node68, node66, node67]
518
518
  });
519
519
  }
520
- var node39 = configured5();
520
+ var node27 = configured3();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer14, configured5, node39, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service23, Options3, layer11, configured3, node27, exports_mcp4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./worktree-gdexxn2e.js";
3
+ } from "./app-atk4whyf.js";
4
4
  import {
5
5
  apply3
6
- } from "./worktree-j6fv3d6x.js";
6
+ } from "./app-bcbe83a7.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service83,
16
+ Service: () => Service81,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node87
21
+ node: () => node85
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
30
30
  path: Schema.optional(Schema.String)
31
31
  });
32
32
 
33
- class Service83 extends Context.Service()("@opencode/storage/Database") {
33
+ class Service81 extends Context.Service()("@opencode/storage/Database") {
34
34
  }
35
- var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
35
+ var databaseLayer = (lock) => Layer.effect(Service81, Effect.gen(function* () {
36
36
  const db = yield* makeDatabase;
37
37
  if (supportsTuningPragmas) {
38
38
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
70
  function configured13(options) {
71
- return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
71
+ return makeGlobalNode({ service: Service81, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
75
- service: Service83,
75
+ service: Service81,
76
76
  layer: layerFromClient2.pipe(Layer.provide(client)),
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node87 = configured13({ path: ":memory:" });
80
+ var node85 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
82
+ export { Options11, Service81, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./worktree-asqy4pdp.js";
5
+ } from "./app-s197j8aa.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./worktree-gdexxn2e.js";
11
+ } from "./app-atk4whyf.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./worktree-e01ptnw8.js";
2
+ Service80,
3
+ node84
4
+ } from "./app-04ewta5r.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./worktree-rdw6cm16.js";
8
+ } from "./app-rdw6cm16.js";
9
9
  import {
10
- ID13,
11
- Service72,
12
- node76,
13
- Event16
14
- } from "./worktree-pgd96ws3.js";
10
+ ID8,
11
+ Service64,
12
+ node66,
13
+ Event13
14
+ } from "./app-92r1w9xd.js";
15
15
  import {
16
16
  key2
17
- } from "./worktree-5mtzsd3b.js";
17
+ } from "./app-8z00fdkb.js";
18
18
  import {
19
- Service77,
20
- node81
21
- } from "./worktree-nbhvjqq0.js";
19
+ Service71,
20
+ node74
21
+ } from "./app-bfph4vb6.js";
22
22
  import {
23
23
  __export
24
- } from "./worktree-9rqn6x4v.js";
24
+ } from "./app-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event15,
41
- ID: () => ID12,
42
- Info: () => Info25,
40
+ Event: () => Event12,
41
+ ID: () => ID7,
42
+ Info: () => Info19,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request3,
46
- Service: () => Service71,
45
+ Request: () => Request2,
46
+ Service: () => Service63,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node75,
56
+ node: () => node65,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event15 } from "@opencode/schema/provider";
68
- var ID12 = Provider.ID;
67
+ import { Event as Event12 } from "@opencode/schema/provider";
68
+ var ID7 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request3 = Provider.Request;
209
+ var Request2 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info25 = Provider.Info;
213
+ var Info19 = Provider.Info;
214
214
 
215
- class Service71 extends Context.Service()("@opencode/Provider") {
215
+ class Service63 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service71, Effect.gen(function* () {
229
- const bus = yield* Service82;
230
- const integrations = yield* Service72;
231
- const location = yield* Service77;
228
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
229
+ const bus = yield* Service80;
230
+ const integrations = yield* Service64;
231
+ const location = yield* Service71;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info25.empty(id), models: new Map };
242
+ const added = { provider: Info19.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service71.of({
349
+ yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service63.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node86, node76, node81] });
359
+ var node65 = makeLocationNode({ service: Service63, layer, deps: [node84, node66, node74] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info25, Service71, node75, exports_provider3, Event15 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info19, Service63, node65, exports_provider3, Event12 };