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

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 (790) 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-qpz1kkwg.js → project-0053kn32.js} +78 -78
  8. package/dist/chunks/{worktree-cbsmg7zv.js → project-0avpwvn6.js} +9 -9
  9. package/dist/chunks/{worktree-4t2g0ek8.js → project-0e43mjqe.js} +44 -44
  10. package/dist/chunks/project-0f7zcf6t.js +26 -0
  11. package/dist/chunks/{worktree-83dcqrsd.js → project-0fa4pp12.js} +28 -28
  12. package/dist/chunks/{worktree-xcgm0ws5.js → project-0gxvdf9c.js} +14 -14
  13. package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{worktree-prvhm99j.js → project-0pdvte1k.js} +20 -20
  15. package/dist/chunks/{worktree-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{worktree-rnx68x6k.js → project-17468q09.js} +4 -4
  17. package/dist/chunks/{worktree-zjd7s1bk.js → project-18yjdgfz.js} +18 -18
  18. package/dist/chunks/{worktree-n2rqx0tz.js → project-1ah48ds1.js} +18 -18
  19. package/dist/chunks/{worktree-f2497b3s.js → project-1bhphhem.js} +25 -25
  20. package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{worktree-2dbhpjrh.js → project-1m4k53rk.js} +11 -11
  22. package/dist/chunks/{worktree-qc6a7nr8.js → project-1m6e9scz.js} +15 -15
  23. package/dist/chunks/{worktree-c8g19qcp.js → project-1nhwpg1s.js} +26 -26
  24. package/dist/chunks/{worktree-md16tndp.js → project-1v6e57b0.js} +5 -5
  25. package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
  26. package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{worktree-bkdff2qy.js → project-2gbsvbx5.js} +12 -12
  28. package/dist/chunks/{worktree-h55255v8.js → project-2jwwfjvq.js} +21 -21
  29. package/dist/chunks/{worktree-0jwsre1p.js → project-2k8khapm.js} +5 -5
  30. package/dist/chunks/{worktree-9qzpdwkp.js → project-2tccykea.js} +5 -5
  31. package/dist/chunks/{worktree-k5jjawww.js → project-32xn2sn4.js} +6 -6
  32. package/dist/chunks/{worktree-mfqp6xfm.js → project-33w4ejhs.js} +9 -9
  33. package/dist/chunks/{worktree-0en0hh3r.js → project-3838ekre.js} +4 -4
  34. package/dist/chunks/{worktree-7tg4tqbg.js → project-38ddmwy9.js} +7 -7
  35. package/dist/chunks/{worktree-37s12vcn.js → project-3cfzdc8e.js} +5 -5
  36. package/dist/chunks/{worktree-0y8zxexa.js → project-3eg0d9cb.js} +9 -9
  37. package/dist/chunks/{worktree-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{worktree-v057vym3.js → project-3ns9snst.js} +299 -299
  40. package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{worktree-h82mr5fe.js → project-41pvexha.js} +94 -94
  43. package/dist/chunks/{worktree-knb7evpn.js → project-44ke2mar.js} +2 -2
  44. package/dist/chunks/{worktree-ye6h68qm.js → project-45fc085j.js} +15 -15
  45. package/dist/chunks/{worktree-d380kj32.js → project-46dczp5g.js} +14 -14
  46. package/dist/chunks/{worktree-7k1xdcvp.js → project-482ejey9.js} +20 -20
  47. package/dist/chunks/{worktree-1010tx7k.js → project-4gxkwj94.js} +7 -7
  48. package/dist/chunks/{worktree-8g6scpm2.js → project-4nd81372.js} +5 -5
  49. package/dist/chunks/{worktree-kf58x7p8.js → project-4paq7rse.js} +18 -18
  50. package/dist/chunks/{worktree-6xkw5tt3.js → project-4ztxs8pm.js} +11 -11
  51. package/dist/chunks/{worktree-qn4ba14w.js → project-510m7gjw.js} +5 -5
  52. package/dist/chunks/{worktree-yrb04hz8.js → project-53xccd59.js} +20 -20
  53. package/dist/chunks/{worktree-5089mcsz.js → project-55tews2p.js} +26 -26
  54. package/dist/chunks/{worktree-57ez7d0k.js → project-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{worktree-3rcc0r2v.js → project-58f9hsjx.js} +44 -44
  56. package/dist/chunks/{worktree-a1bz86dw.js → project-5c4hm403.js} +3 -3
  57. package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
  58. package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{worktree-p37cw4rj.js → project-5xtgfte3.js} +4 -4
  60. package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
  61. package/dist/chunks/{worktree-5df007sy.js → project-66m4g3ad.js} +24 -24
  62. package/dist/chunks/{worktree-7xmz7frw.js → project-6bsje7ws.js} +3 -3
  63. package/dist/chunks/{worktree-4ea00b8w.js → project-6ckrbv33.js} +15 -15
  64. package/dist/chunks/{worktree-8zjetqqg.js → project-6ekh48kv.js} +24 -24
  65. package/dist/chunks/{worktree-6h73sxmp.js → project-6h73sxmp.js} +1 -1
  66. package/dist/chunks/project-6kdq0pjd.js +4 -0
  67. package/dist/chunks/{worktree-n1se7dz6.js → project-6m2z8x45.js} +5 -5
  68. package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{worktree-cdea582g.js → project-6p2e6h7q.js} +17 -17
  70. package/dist/chunks/{worktree-6hk05hg4.js → project-6qqgecnt.js} +54 -54
  71. package/dist/chunks/{worktree-zpqb3spp.js → project-6rsmfscx.js} +3 -3
  72. package/dist/chunks/{worktree-19w9qk9n.js → project-6rybd781.js} +1 -1
  73. package/dist/chunks/{worktree-k3fznmea.js → project-6t0tdr4f.js} +17 -17
  74. package/dist/chunks/{worktree-63czgv3m.js → project-6twqde5r.js} +32 -32
  75. package/dist/chunks/{worktree-bfrw9c16.js → project-6yk2zq27.js} +9 -9
  76. package/dist/chunks/{worktree-phcx6ke7.js → project-6zgwg02f.js} +29 -29
  77. package/dist/chunks/{worktree-bajakh74.js → project-7ac170kv.js} +4 -4
  78. package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{worktree-bthbky82.js → project-7d7fs79y.js} +23 -23
  80. package/dist/chunks/{worktree-38a6tnxe.js → project-7mc0myxf.js} +32 -32
  81. package/dist/chunks/{worktree-xs2gg3ph.js → project-7nnf86rv.js} +22 -22
  82. package/dist/chunks/{worktree-kdnytvmd.js → project-7vhg0pxj.js} +4 -4
  83. package/dist/chunks/{worktree-3z1ybf3s.js → project-7wz5t3gw.js} +10 -10
  84. package/dist/chunks/{worktree-7k3pveqf.js → project-7xvfyw1s.js} +10 -10
  85. package/dist/chunks/{worktree-xrv44ghv.js → project-807pyvs8.js} +10 -10
  86. package/dist/chunks/{worktree-4zzvgtjt.js → project-81zmr1ce.js} +28 -28
  87. package/dist/chunks/{worktree-89znhe33.js → project-89znhe33.js} +1 -1
  88. package/dist/chunks/{worktree-67tsegz1.js → project-8d7qmr5n.js} +8 -8
  89. package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{worktree-e5kbttzp.js → project-8gw42vpw.js} +14 -14
  91. package/dist/chunks/{worktree-5za9a44f.js → project-8wa2px18.js} +6 -6
  92. package/dist/chunks/{worktree-ad58ka5n.js → project-9200cv3f.js} +44 -44
  93. package/dist/chunks/{worktree-e70fzpwb.js → project-9g54c81z.js} +31 -31
  94. package/dist/chunks/{worktree-mpm0nhxe.js → project-9wg02tht.js} +1 -1
  95. package/dist/chunks/{worktree-wvesw99d.js → project-a3xdadst.js} +4 -4
  96. package/dist/chunks/{worktree-rq8k8p5a.js → project-a5ds490q.js} +25 -25
  97. package/dist/chunks/{worktree-58ymd9wj.js → project-a887cz7t.js} +11 -11
  98. package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
  99. package/dist/chunks/{worktree-rrdqyp65.js → project-ajm2xfj9.js} +17 -17
  100. package/dist/chunks/{worktree-d7ehg0cy.js → project-apb6pzk4.js} +11 -11
  101. package/dist/chunks/{worktree-q8y36nbv.js → project-apwr3fvc.js} +32 -32
  102. package/dist/chunks/{worktree-xtzqjyy0.js → project-asepq3gz.js} +6 -6
  103. package/dist/chunks/{worktree-qj9fam2n.js → project-ax1q9e2w.js} +13 -13
  104. package/dist/chunks/{worktree-x1a42kg1.js → project-axe68c7r.js} +15 -15
  105. package/dist/chunks/{worktree-qepg3hej.js → project-b2r72qsd.js} +19 -19
  106. package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{worktree-c2r7a6ev.js → project-b7arwqew.js} +22 -22
  108. package/dist/chunks/{worktree-x5cfpxw5.js → project-bf3mwr3a.js} +43 -43
  109. package/dist/chunks/{worktree-0230e1kb.js → project-bjqps2ga.js} +7 -7
  110. package/dist/chunks/{worktree-rtw8xa1t.js → project-bmcbgxas.js} +1 -1
  111. package/dist/chunks/{worktree-qnmg5nvf.js → project-c0mnv205.js} +26 -26
  112. package/dist/chunks/{worktree-av68cqnf.js → project-c2vgry0s.js} +31 -31
  113. package/dist/chunks/{worktree-hhv32xm1.js → project-c6ejzy2z.js} +12 -12
  114. package/dist/chunks/{worktree-vdenjeyk.js → project-c6t8xy98.js} +13 -13
  115. package/dist/chunks/{worktree-rmdyxgmk.js → project-cq9vh2fv.js} +8 -8
  116. package/dist/chunks/{worktree-sfswfqfx.js → project-csyfbvnh.js} +20 -20
  117. package/dist/chunks/{worktree-xn2m3856.js → project-cwx0qw6s.js} +5 -5
  118. package/dist/chunks/{worktree-cj605r6v.js → project-czt4nnnj.js} +4 -4
  119. package/dist/chunks/{worktree-4kb8nfbq.js → project-d87mm69w.js} +20 -20
  120. package/dist/chunks/{worktree-hyp0yes1.js → project-d9pdb30h.js} +25 -25
  121. package/dist/chunks/{worktree-7h1yv2z1.js → project-d9q114hm.js} +28 -28
  122. package/dist/chunks/{worktree-c0szj6gh.js → project-db3nr1v1.js} +11 -11
  123. package/dist/chunks/{worktree-1t3e0y0p.js → project-df1e2q09.js} +30 -30
  124. package/dist/chunks/{worktree-8p4f9s12.js → project-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{worktree-z0aj456m.js → project-dj68pnee.js} +4 -4
  126. package/dist/chunks/{worktree-y71avatq.js → project-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{worktree-w59x44tx.js → project-dpvzhgsn.js} +13 -13
  128. package/dist/chunks/{worktree-vdrskp9d.js → project-dqbxdgww.js} +18 -18
  129. package/dist/chunks/{worktree-qg87rn1s.js → project-dvwe6amh.js} +11 -11
  130. package/dist/chunks/{worktree-x7cagxvm.js → project-dwacwe3p.js} +37 -37
  131. package/dist/chunks/project-dxj72tfx.js +18 -0
  132. package/dist/chunks/{worktree-0xm04epx.js → project-e2jvphg0.js} +30 -30
  133. package/dist/chunks/{worktree-afnx0wnx.js → project-e90cjycw.js} +47 -47
  134. package/dist/chunks/{worktree-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{worktree-tmmgzrnt.js → project-ehqw40ev.js} +19 -19
  136. package/dist/chunks/{worktree-17996mr8.js → project-ejxq0kbn.js} +53 -53
  137. package/dist/chunks/{worktree-20djd28m.js → project-en4evqvm.js} +30 -30
  138. package/dist/chunks/{worktree-hrmdcqyf.js → project-ep9bxrrg.js} +14 -14
  139. package/dist/chunks/{worktree-eaerxtz5.js → project-eqyf5spt.js} +2 -2
  140. package/dist/chunks/{worktree-h6zkevjm.js → project-ergc4ny1.js} +8 -8
  141. package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{worktree-50mzsvk4.js → project-f3ngv102.js} +4 -4
  143. package/dist/chunks/{worktree-mq9b79x9.js → project-f40xb99z.js} +8 -8
  144. package/dist/chunks/{worktree-efswfzpf.js → project-f85ht8t4.js} +28 -28
  145. package/dist/chunks/{worktree-gr1f03ws.js → project-faj2svbs.js} +9 -9
  146. package/dist/chunks/{worktree-90b858qz.js → project-ff0svapt.js} +2 -2
  147. package/dist/chunks/{worktree-g3happs1.js → project-fge3qzfa.js} +314 -314
  148. package/dist/chunks/{worktree-f5jkzqkr.js → project-fhvxcjn2.js} +5 -5
  149. package/dist/chunks/{worktree-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{worktree-hptad3cj.js → project-g0b73kpw.js} +8 -8
  151. package/dist/chunks/{worktree-mjryszr1.js → project-g237yjq6.js} +34 -34
  152. package/dist/chunks/{worktree-2018kd55.js → project-g4evn3v7.js} +27 -27
  153. package/dist/chunks/{worktree-gcp4fqq7.js → project-g5jdgkja.js} +28 -28
  154. package/dist/chunks/{worktree-dnepjbkk.js → project-gd2bs2n5.js} +15 -15
  155. package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{worktree-n68akk4h.js → project-gdw7k6f6.js} +6 -6
  157. package/dist/chunks/{worktree-caaa7gb9.js → project-gnx8rka1.js} +13 -13
  158. package/dist/chunks/{worktree-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{worktree-py26wd2m.js → project-gz8vf2wf.js} +11 -11
  160. package/dist/chunks/{worktree-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{worktree-4dgbcxzg.js → project-h6r3nrb9.js} +4 -4
  162. package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{worktree-sq6g32t3.js → project-hd5f4vqj.js} +3 -3
  164. package/dist/chunks/{worktree-ebqt6dkv.js → project-hdeyfasg.js} +96 -96
  165. package/dist/chunks/{worktree-f828m53h.js → project-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{worktree-nbzsj80d.js → project-hdthj1pw.js} +8 -8
  167. package/dist/chunks/{worktree-6s7tjjvr.js → project-hhey0jg1.js} +33 -33
  168. package/dist/chunks/{worktree-7de2s2df.js → project-hwth1sas.js} +14 -14
  169. package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
  170. package/dist/chunks/{worktree-3zwsa50c.js → project-j83vkw0y.js} +11 -11
  171. package/dist/chunks/{worktree-2hszhs49.js → project-j8w01nkz.js} +5 -5
  172. package/dist/chunks/{worktree-dnkx6etr.js → project-jf1f0nss.js} +36 -36
  173. package/dist/chunks/{worktree-xm1e10md.js → project-jf9anmv7.js} +12 -12
  174. package/dist/chunks/{worktree-tmqffpxk.js → project-jghp9vat.js} +42 -42
  175. package/dist/chunks/{worktree-ksztttm6.js → project-jj2hptzc.js} +4 -4
  176. package/dist/chunks/{worktree-k3gnzxs0.js → project-jppvw2tx.js} +5 -5
  177. package/dist/chunks/{worktree-pqkgg4rt.js → project-jqwv312v.js} +9 -9
  178. package/dist/chunks/{worktree-0jq9fyba.js → project-k79tzb9n.js} +5 -5
  179. package/dist/chunks/{worktree-zq6stcrg.js → project-k8dasee7.js} +8 -8
  180. package/dist/chunks/{worktree-0hpyxh65.js → project-ks386gw1.js} +30 -30
  181. package/dist/chunks/{worktree-ta5sp2nd.js → project-kweabchx.js} +15 -15
  182. package/dist/chunks/{worktree-2t4v8nsv.js → project-kxs7pxe0.js} +183 -183
  183. package/dist/chunks/{worktree-cfpkc3c9.js → project-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{worktree-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{worktree-wr7ps67x.js → project-m64xvjj1.js} +5 -5
  186. package/dist/chunks/{worktree-2844r4n4.js → project-m6yjd7en.js} +6 -6
  187. package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{worktree-mhkvc446.js → project-mhkvc446.js} +1 -1
  189. package/dist/chunks/{worktree-h3jg7y6c.js → project-mpcz64qa.js} +6 -6
  190. package/dist/chunks/{worktree-1ezrspvn.js → project-mpm1edyf.js} +9 -9
  191. package/dist/chunks/{worktree-kkysd6gj.js → project-mw9h66aj.js} +8 -8
  192. package/dist/chunks/{worktree-rsss4qf7.js → project-mwzn64pe.js} +11 -11
  193. package/dist/chunks/{worktree-kne8f3cn.js → project-n4r3xatb.js} +4 -4
  194. package/dist/chunks/{worktree-npt9980d.js → project-n8g4dvrs.js} +20 -20
  195. package/dist/chunks/{worktree-2hn9d9f8.js → project-n9j71pv6.js} +32 -32
  196. package/dist/chunks/{worktree-9rqqtf5r.js → project-nejh3f09.js} +16 -16
  197. package/dist/chunks/{worktree-fhs97t90.js → project-nscznvay.js} +9 -9
  198. package/dist/chunks/{worktree-91zq4d2j.js → project-nwb9p4n0.js} +15 -15
  199. package/dist/chunks/{worktree-k3c624dm.js → project-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{worktree-r1zfwvff.js → project-nzs5n59t.js} +23 -23
  201. package/dist/chunks/{worktree-3z6f7pb8.js → project-pg0sspy2.js} +30 -30
  202. package/dist/chunks/{worktree-d5wtg2df.js → project-phc8pspp.js} +6 -6
  203. package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
  205. package/dist/chunks/{worktree-0v53mg2y.js → project-pmr4s4kc.js} +4 -4
  206. package/dist/chunks/{worktree-vbcd8shf.js → project-ps59y782.js} +5 -5
  207. package/dist/chunks/{worktree-q980a1ys.js → project-psmqrama.js} +15 -15
  208. package/dist/chunks/{worktree-d6z8az9q.js → project-q0crzqsn.js} +13 -13
  209. package/dist/chunks/{worktree-p8ghq9hh.js → project-q6ek06hm.js} +4 -4
  210. package/dist/chunks/{worktree-2ecm7k5x.js → project-q7s34kns.js} +16 -16
  211. package/dist/chunks/{worktree-xbkhyrvs.js → project-q8vefxpv.js} +3 -3
  212. package/dist/chunks/{worktree-7sbkp4xb.js → project-qa3qhgw8.js} +4 -4
  213. package/dist/chunks/{worktree-svt8q2xz.js → project-qdv30vxr.js} +43 -43
  214. package/dist/chunks/{worktree-zrhgkfkj.js → project-qfs20yb1.js} +39 -39
  215. package/dist/chunks/{worktree-3v1n839j.js → project-qm6bcdq0.js} +29 -29
  216. package/dist/chunks/{worktree-cwa6csj7.js → project-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
  218. package/dist/chunks/{worktree-efyxdhp4.js → project-qsr4f22s.js} +24 -24
  219. package/dist/chunks/{worktree-thjxzeng.js → project-qwjmgwmn.js} +8 -8
  220. package/dist/chunks/{worktree-hx07tmjt.js → project-r31ekhvv.js} +34 -34
  221. package/dist/chunks/{worktree-hfqbnt06.js → project-r6xm6v3j.js} +25 -25
  222. package/dist/chunks/{worktree-65h9d7h0.js → project-rb8gbgsw.js} +14 -14
  223. package/dist/chunks/{worktree-kwpf6cbb.js → project-rch32y69.js} +16 -16
  224. package/dist/chunks/{worktree-s0443v51.js → project-rcwsqex5.js} +34 -34
  225. package/dist/chunks/{worktree-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{worktree-kf7vjh8k.js → project-rffp7s6r.js} +25 -25
  227. package/dist/chunks/{worktree-yp2x3t23.js → project-rhraev7y.js} +4 -4
  228. package/dist/chunks/{worktree-e6hd9jay.js → project-rhx683sy.js} +6 -6
  229. package/dist/chunks/{worktree-ej2x38fw.js → project-rm2vr7q2.js} +16 -16
  230. package/dist/chunks/{worktree-81czwxpn.js → project-rsdf2nvv.js} +4 -4
  231. package/dist/chunks/{worktree-t05795gg.js → project-rywpqwaq.js} +18 -18
  232. package/dist/chunks/{worktree-t550f9t1.js → project-s8d7rejh.js} +4 -4
  233. package/dist/chunks/{worktree-af04s6ss.js → project-s8zy8myc.js} +5 -5
  234. package/dist/chunks/{worktree-b7krtsvq.js → project-sd7kbe23.js} +49 -49
  235. package/dist/chunks/{worktree-qk0gpxf2.js → project-sf0yp864.js} +8 -8
  236. package/dist/chunks/{worktree-24afheyq.js → project-t30ds354.js} +61 -61
  237. package/dist/chunks/{worktree-caf4s13y.js → project-t9pnexmg.js} +6 -6
  238. package/dist/chunks/{worktree-rzs6nh5d.js → project-t9zz3wr0.js} +21 -21
  239. package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
  241. package/dist/chunks/{worktree-e11m5cn3.js → project-te31491j.js} +30 -30
  242. package/dist/chunks/{worktree-4nep509d.js → project-tff9hnav.js} +10 -10
  243. package/dist/chunks/{worktree-g9b0yvmz.js → project-tmwvyjej.js} +14 -14
  244. package/dist/chunks/{worktree-bfh368mz.js → project-tv77nzbw.js} +29 -29
  245. package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
  246. package/dist/chunks/{worktree-9jysh8tn.js → project-v6kv8rtw.js} +28 -28
  247. package/dist/chunks/{worktree-grff790k.js → project-v6sbkfdk.js} +12 -12
  248. package/dist/chunks/{worktree-y69j51hy.js → project-ve3mta7y.js} +13 -13
  249. package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
  250. package/dist/chunks/{worktree-xwyqxccg.js → project-vfy1kg21.js} +46 -46
  251. package/dist/chunks/{worktree-2zfaeqj9.js → project-vh9kev4b.js} +20 -20
  252. package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{worktree-qa8hdfea.js → project-wargq46t.js} +8 -8
  255. package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
  256. package/dist/chunks/{worktree-0npqrrz9.js → project-wg1yegmy.js} +3 -3
  257. package/dist/chunks/{worktree-1mayy0ne.js → project-wtm31mz8.js} +11 -11
  258. package/dist/chunks/{worktree-b01jnyv4.js → project-wztgefzb.js} +29 -29
  259. package/dist/chunks/{worktree-f8520a7c.js → project-wzx6cy1j.js} +11 -11
  260. package/dist/chunks/{worktree-qsxf26yz.js → project-wzz0kxab.js} +9 -9
  261. package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{worktree-34gxdjay.js → project-x4zt7gar.js} +11 -11
  263. package/dist/chunks/{worktree-drwq78ky.js → project-xfkkasph.js} +4 -4
  264. package/dist/chunks/{worktree-kh3vq3v6.js → project-xg3kyc3a.js} +28 -28
  265. package/dist/chunks/{worktree-43xg0xp9.js → project-xpfx79fc.js} +3 -3
  266. package/dist/chunks/{worktree-ezy28dwm.js → project-xrfewb9d.js} +11 -11
  267. package/dist/chunks/{worktree-x5sjtarf.js → project-xv9c8883.js} +22 -22
  268. package/dist/chunks/{worktree-7j92jdde.js → project-xwwz9aqf.js} +4 -4
  269. package/dist/chunks/project-xy587a6s.js +252 -0
  270. package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{worktree-x1k3d8vr.js → project-y70c3h32.js} +5 -5
  272. package/dist/chunks/{worktree-4mg2myvn.js → project-y81xge66.js} +24 -24
  273. package/dist/chunks/{worktree-mc9zg8nb.js → project-y85y39z7.js} +17 -17
  274. package/dist/chunks/{worktree-170wnync.js → project-yc78m0qr.js} +9 -9
  275. package/dist/chunks/{worktree-hwe7x4em.js → project-ycjb11n5.js} +6 -6
  276. package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{worktree-yrznvahk.js → project-yrznvahk.js} +2 -2
  278. package/dist/chunks/{worktree-7sp2vdb0.js → project-yvag60xw.js} +10 -10
  279. package/dist/chunks/{worktree-v4881naz.js → project-yyq4exrk.js} +34 -34
  280. package/dist/chunks/{worktree-spnnfxkd.js → project-yzgcsa77.js} +9 -9
  281. package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{worktree-z63w68vq.js → project-z63w68vq.js} +2 -2
  283. package/dist/chunks/{worktree-vpwtksfj.js → project-z7fwrr9t.js} +21 -21
  284. package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{worktree-m3sr29v9.js → project-zzpdbskt.js} +31 -31
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +101 -101
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +103 -103
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +134 -134
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +101 -101
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +97 -97
  479. package/dist/models-dev.js +100 -100
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +110 -110
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +3 -3
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +91 -91
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +347 -347
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +98 -98
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +86 -86
  563. package/dist/reference.js +90 -90
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +222 -222
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +90 -90
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +121 -121
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +104 -104
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +112 -112
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +16 -16
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +7 -7
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +90 -90
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/worktree-6r3amyyd.js +0 -4
  692. package/dist/chunks/worktree-9pb540j7.js +0 -26
  693. package/dist/chunks/worktree-gyce5qg1.js +0 -18
  694. package/dist/chunks/worktree-rhs8pca3.js +0 -252
  695. /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{worktree-24dcb14g.js → project-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
  706. /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{worktree-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
  714. /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{worktree-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
  717. /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
  720. /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
  723. /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
  739. /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
  752. /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
  754. /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
  756. /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{worktree-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{worktree-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{worktree-twg0f83k.js → project-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{worktree-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
  785. /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{worktree-y8f7s663.js → project-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-y71avatq.js";
3
+ } from "./project-dpkg50ah.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./worktree-2ecm7k5x.js";
8
- import {
9
- Event18,
10
- Service72,
11
- node76
12
- } from "./worktree-s0443v51.js";
5
+ Service82,
6
+ node86
7
+ } from "./project-q7s34kns.js";
13
8
  import {
9
+ Event19,
14
10
  Service76,
15
11
  node80
16
- } from "./worktree-g9b0yvmz.js";
12
+ } from "./project-rcwsqex5.js";
13
+ import {
14
+ Service79,
15
+ node83
16
+ } from "./project-tmwvyjej.js";
17
17
  import {
18
- Service64,
19
- node67
20
- } from "./worktree-8zjetqqg.js";
18
+ Service56,
19
+ node60
20
+ } from "./project-6ekh48kv.js";
21
21
  import {
22
- ID15,
23
- Service73,
24
- node77
25
- } from "./worktree-c8g19qcp.js";
22
+ ID16,
23
+ Service77,
24
+ node81
25
+ } from "./project-1nhwpg1s.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./worktree-rdw6cm16.js";
29
+ } from "./project-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service71,
34
- node75
35
- } from "./worktree-gcp4fqq7.js";
33
+ Service75,
34
+ node79
35
+ } from "./project-g5jdgkja.js";
36
36
  import {
37
37
  __export
38
- } from "./worktree-9rqn6x4v.js";
38
+ } from "./project-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: () => NotFoundError2,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
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: () => Service28,
53
+ Service: () => Service34,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured3,
57
- layer: () => layer14,
58
- node: () => node31
56
+ configured: () => configured4,
57
+ layer: () => layer13,
58
+ node: () => node37
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 NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
92
92
  var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var cloneConfig = (config) => structuredClone(config);
94
94
 
95
- class Service28 extends Context.Service()("@opencode/MCP") {
95
+ class Service34 extends Context.Service()("@opencode/MCP") {
96
96
  }
97
- var Options3 = Schema.Struct({
97
+ var Options4 = Schema.Struct({
98
98
  clientInfo: Schema.optional(Schema.Struct({
99
99
  name: Schema.String,
100
100
  version: Schema.String
101
101
  }))
102
102
  });
103
- var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
104
- const location = yield* Service76;
105
- const environment = yield* Service64;
106
- const bus = yield* Service79;
107
- const forms = yield* Service73;
108
- const integration = yield* Service71;
109
- const credentials = yield* Service72;
103
+ var layer13 = (options) => Layer.effect(Service34, Effect.gen(function* () {
104
+ const location = yield* Service79;
105
+ const environment = yield* Service56;
106
+ const bus = yield* Service82;
107
+ const forms = yield* Service77;
108
+ const integration = yield* Service75;
109
+ const credentials = yield* Service76;
110
110
  const root = yield* Effect.scope;
111
111
  const fork = yield* FiberSet.makeRuntime();
112
112
  const entries = new Map;
@@ -118,7 +118,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
118
118
  return;
119
119
  const remote = entry.config;
120
120
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
121
- const integrationID = ID13.make(suffix);
121
+ const integrationID = ID14.make(suffix);
122
122
  entry.integrationID = integrationID;
123
123
  owned.add(integrationID);
124
124
  const methodID = MethodID2.make(suffix);
@@ -134,7 +134,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
134
134
  method: { id: methodID, type: "oauth", label: name },
135
135
  authorize: () => Effect.gen(function* () {
136
136
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
137
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service72, credentials));
137
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
138
138
  })
139
139
  });
140
140
  }).pipe(Scope.provide(scope));
@@ -143,19 +143,19 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
143
143
  const name = ServerName2.make(server);
144
144
  const entry = entries.get(name);
145
145
  if (!entry)
146
- return yield* new NotFoundError2({ server: name });
146
+ return yield* new NotFoundError4({ server: name });
147
147
  return { name, entry };
148
148
  });
149
149
  const connectProvider = Effect.fnUntraced(function* (entry) {
150
150
  if (entry.config.type !== "remote" || !entry.integrationID)
151
151
  return;
152
152
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
153
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service72, credentials));
153
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
154
154
  });
155
155
  const elicitation = {
156
156
  create: (input) => Effect.gen(function* () {
157
157
  if (input.params.mode === "url") {
158
- const formID = ID15.create();
158
+ const formID = ID16.create();
159
159
  const elicitationID = input.params.elicitationId;
160
160
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
161
161
  if (key)
@@ -239,7 +239,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
239
239
  entry.scope = scope;
240
240
  const authProvider = yield* connectProvider(entry);
241
241
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
242
- const result = yield* 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(Service64, environment), Scope.provide(scope), Effect.exit);
242
+ const result = yield* 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(Service56, environment), Scope.provide(scope), Effect.exit);
243
243
  if (Exit.isSuccess(result)) {
244
244
  entry.client = result.value.connection;
245
245
  entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
@@ -363,7 +363,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
363
363
  yield* startServer(name, entry);
364
364
  }).pipe(locks.withLock(name));
365
365
  });
366
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
366
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
367
367
  const state = create3({
368
368
  name: "mcp",
369
369
  initial: () => ({
@@ -389,7 +389,7 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
389
389
  }),
390
390
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
391
391
  });
392
- return Service28.of({
392
+ return Service34.of({
393
393
  transform: state.transform,
394
394
  reload: state.reload,
395
395
  servers: Effect.fn("MCP.servers")(function* () {
@@ -508,14 +508,14 @@ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
508
508
  })
509
509
  });
510
510
  }));
511
- function configured3(options) {
511
+ function configured4(options) {
512
512
  return makeLocationNode({
513
- service: Service28,
514
- layer: layer14(options),
515
- deps: [node80, node67, node83, node77, node75, node76]
513
+ service: Service34,
514
+ layer: layer13(options),
515
+ deps: [node83, node60, node86, node81, node79, node80]
516
516
  });
517
517
  }
518
- var node31 = configured3();
518
+ var node37 = configured4();
519
519
  function toElicitationField(key, property, required) {
520
520
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
521
521
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
566
566
  }
567
567
  }
568
568
 
569
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options3, layer14, configured3, node31, exports_mcp4 };
569
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer13, configured4, node37, exports_mcp4 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-3zwsa50c.js";
2
+ Service83,
3
+ node87
4
+ } from "./project-j83vkw0y.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./worktree-y71avatq.js";
7
+ } from "./project-dpkg50ah.js";
8
8
  import {
9
- Service79,
10
- node83
11
- } from "./worktree-2ecm7k5x.js";
9
+ Service82,
10
+ node86
11
+ } from "./project-q7s34kns.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./worktree-ec1grn59.js";
14
+ } from "./project-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./worktree-gftt206x.js";
17
+ } from "./project-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./worktree-7xmz7frw.js";
20
+ } from "./project-6bsje7ws.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./worktree-a1bz86dw.js";
24
+ } from "./project-5c4hm403.js";
25
25
  import {
26
26
  __export
27
- } from "./worktree-9rqn6x4v.js";
27
+ } from "./project-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info17,
35
+ Info: () => Info21,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service46,
40
+ Service: () => Service60,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
49
- list: () => list3,
50
- make: () => make17,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node49,
53
+ node: () => node64,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info17,
68
+ Info as Info21,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service46 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service60 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service80;
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
+ const database = yield* Service83;
158
158
  const db = database.db;
159
- const bus = yield* Service79;
159
+ const bus = yield* Service82;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info17.make({
176
+ }).pipe(Effect.map((event) => Info21.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service46, make17());
231
- var node49 = makeGlobalNode({ service: Service46, layer: layer21, deps: [node84, node83] });
230
+ var layer23 = Layer.effect(Service60, make18());
231
+ var node64 = makeGlobalNode({ service: Service60, layer: layer23, deps: [node87, node86] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info17, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make17, layer21, node49, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service60, make18, layer23, node64, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./worktree-t550f9t1.js";
6
+ } from "./project-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./worktree-3fc6dm20.js";
11
+ } from "./project-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions3 = {};
18
- __export(exports_instructions3, {
19
- CodeModeInstructions: () => exports_instructions3,
20
- make: () => make13,
17
+ var exports_instructions4 = {};
18
+ __export(exports_instructions4, {
19
+ CodeModeInstructions: () => exports_instructions4,
20
+ make: () => make14,
21
21
  render: () => render2,
22
- update: () => update2
22
+ update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -45,7 +45,7 @@ function render2(catalog) {
45
45
  ${tools.join(`
46
46
  `)}`;
47
47
  }
48
- function update2(previous, current) {
48
+ function update3(previous, current) {
49
49
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
50
50
 
51
51
  ${render2(current)}`;
@@ -113,18 +113,18 @@ ${render2(current)}`;
113
113
  }
114
114
  var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make13 = (inventory) => {
116
+ var make14 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make19({
118
+ return make21({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
122
122
  render: {
123
123
  initial: render2,
124
- changed: update2,
124
+ changed: update3,
125
125
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
126
126
  }
127
127
  });
128
128
  };
129
129
 
130
- export { render2, update2, make13, exports_instructions3 };
130
+ export { render2, update3, make14, exports_instructions4 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./worktree-emrn6kk6.js";
4
+ } from "./project-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./worktree-0230e1kb.js";
7
+ } from "./project-bjqps2ga.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./worktree-gftt206x.js";
3
+ } from "./project-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./worktree-7xmz7frw.js";
6
+ } from "./project-6bsje7ws.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./worktree-d5wtg2df.js";
9
+ } from "./project-phc8pspp.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./worktree-t550f9t1.js";
13
+ } from "./project-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./worktree-a1bz86dw.js";
16
+ } from "./project-5c4hm403.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./worktree-bajakh74.js";
20
+ } from "./project-7ac170kv.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./worktree-81czwxpn.js";
25
+ } from "./project-rsdf2nvv.js";
26
26
  import {
27
27
  __export
28
- } from "./worktree-9rqn6x4v.js";
28
+ } from "./project-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info14,
10
+ Info: () => Info18,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info18 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info14, exports_permission };
41
+ export { Action2, Object2, Rule2, Info18, exports_permission };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./worktree-zr2ceqn5.js";
3
+ } from "./project-zr2ceqn5.js";
4
4
  import {
5
- Service39
6
- } from "./worktree-sfswfqfx.js";
5
+ Service46
6
+ } from "./project-csyfbvnh.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make3
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make3 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service39;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service46;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make3, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };