@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,34 +1,34 @@
1
1
  import {
2
- Service80
3
- } from "./worktree-3zwsa50c.js";
2
+ Service83
3
+ } from "./project-j83vkw0y.js";
4
4
  import {
5
- Service79
6
- } from "./worktree-2ecm7k5x.js";
5
+ Service82
6
+ } from "./project-q7s34kns.js";
7
7
  import {
8
- Service44
9
- } from "./worktree-hwe7x4em.js";
8
+ Service61
9
+ } from "./project-ycjb11n5.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./worktree-922hggd3.js";
12
+ } from "./project-922hggd3.js";
13
13
  import {
14
- ID3,
15
- Service29
16
- } from "./worktree-2hn9d9f8.js";
14
+ ID5,
15
+ Service41
16
+ } from "./project-n9j71pv6.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./project-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./worktree-gftt206x.js";
22
+ } from "./project-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./worktree-d5wtg2df.js";
25
+ } from "./project-phc8pspp.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./worktree-a1bz86dw.js";
28
+ } from "./project-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./worktree-9rqn6x4v.js";
31
+ } from "./project-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service44;
46
- const database = yield* Service80;
47
- const bus = yield* Service79;
45
+ const instances = yield* Service61;
46
+ const database = yield* Service83;
47
+ const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service29;
50
- const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service41;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service44;
78
- const bus = yield* Service79;
77
+ const instances = yield* Service61;
78
+ const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service29;
80
+ const snapshot = yield* Service41;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID3.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./worktree-4dgbcxzg.js";
3
+ } from "./project-h6r3nrb9.js";
4
4
  import {
5
- Service79
6
- } from "./worktree-2ecm7k5x.js";
5
+ Service82
6
+ } from "./project-q7s34kns.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./worktree-s0443v51.js";
9
+ Event19
10
+ } from "./project-rcwsqex5.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./worktree-gcp4fqq7.js";
14
+ } from "./project-g5jdgkja.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service70
20
- } from "./worktree-v057vym3.js";
19
+ Service74
20
+ } from "./project-3ns9snst.js";
21
21
  import {
22
- ID10
23
- } from "./worktree-e70fzpwb.js";
22
+ ID8
23
+ } from "./project-9g54c81z.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./worktree-bfrw9c16.js";
27
+ } from "./project-6yk2zq27.js";
28
28
  import {
29
29
  useragent2
30
- } from "./worktree-ezy28dwm.js";
30
+ } from "./project-xrfewb9d.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID13.make("github-copilot"),
62
+ integrationID: ID14.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,8 +157,8 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service70;
161
- const bus = yield* Service79;
160
+ const providers = yield* Service74;
161
+ const bus = yield* Service82;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
164
164
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID12.githubCopilot);
176
+ const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load2(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID12.githubCopilot);
197
+ const item = evt.get(ID13.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
218
- models.update(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
218
+ models.update(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID12.githubCopilot)
227
+ if (evt.model.providerID !== ID13.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID12.githubCopilot)
236
+ if (evt.model.providerID !== ID13.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID12.githubCopilot });
246
+ }), { providerID: ID13.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID12.githubCopilot)
248
+ if (evt.model.providerID !== ID13.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID12.githubCopilot });
256
+ }), { providerID: ID13.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID12.githubCopilot)
258
+ if (evt.model.providerID !== ID13.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service47
3
- } from "./worktree-cdea582g.js";
2
+ Service64
3
+ } from "./project-6p2e6h7q.js";
4
4
  import {
5
- Service16
6
- } from "./worktree-ebqt6dkv.js";
5
+ Service24
6
+ } from "./project-hdeyfasg.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./worktree-x1ezjp6w.js";
10
+ } from "./project-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make8
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service16;
24
- const jobs = yield* Service47;
22
+ var make8 = Effect.gen(function* () {
23
+ const sessions = yield* Service24;
24
+ const jobs = yield* Service64;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make8, exports_subagent_job };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Service76,
6
- node80
7
- } from "./worktree-g9b0yvmz.js";
5
+ Service79,
6
+ node83
7
+ } from "./project-tmwvyjej.js";
8
8
  import {
9
- Service63,
10
- node66
11
- } from "./worktree-kf58x7p8.js";
9
+ Service55,
10
+ node59
11
+ } from "./project-4paq7rse.js";
12
12
  import {
13
13
  isHome2,
14
14
  names4
15
- } from "./worktree-89znhe33.js";
15
+ } from "./project-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options9,
25
- Service: () => Service62,
26
- configured: () => configured9,
24
+ Options: () => Options10,
25
+ Service: () => Service54,
26
+ configured: () => configured10,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer24,
29
- node: () => node65,
28
+ layer: () => layer21,
29
+ node: () => node58,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options9 = Schema.Struct({
38
+ var Options10 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service62 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service54 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service62, Effect.gen(function* () {
62
- const location = yield* Service76;
63
- const ripgrep = yield* Service63;
61
+ var ripgrepLayer2 = Layer.effect(Service54, Effect.gen(function* () {
62
+ const location = yield* Service79;
63
+ const ripgrep = yield* Service55;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service62, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service62.of({
108
+ return Service54.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service62, Effect.gen(function* () {
116
- const location = yield* Service76;
115
+ var fffLayer2 = Layer.effect(Service54, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service62, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service62.of({
129
+ return Service54.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service62.of({
134
+ return Service54.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service62, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service76;
177
+ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured9(options) {
186
- return makeLocationNode({ service: Service62, layer: layer24(options), deps: [node80, node66] });
185
+ function configured10(options) {
186
+ return makeLocationNode({ service: Service54, layer: layer21(options), deps: [node83, node59] });
187
187
  }
188
- var node65 = configured9();
188
+ var node58 = configured10();
189
189
 
190
- export { Options9, Service62, ripgrepLayer2, fffLayer2, layer24, configured9, node65, exports_search };
190
+ export { Options10, Service54, ripgrepLayer2, fffLayer2, layer21, configured10, node58, exports_search };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./worktree-6msgmcgs.js";
4
+ } from "./project-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./worktree-qfa1cgps.js";
7
+ } from "./project-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin30,
9
+ Plugin: () => Plugin24,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin30 = define({
25
+ var Plugin24 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin30 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin30, exports_identity };
38
+ export { identity2, Plugin24, exports_identity };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make23,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make23 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make23, exports_keyed_mutex };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-y71avatq.js";
3
+ } from "./project-dpkg50ah.js";
4
4
  import {
5
- Service64,
6
- node67
7
- } from "./worktree-8zjetqqg.js";
5
+ Service56,
6
+ node60
7
+ } from "./project-6ekh48kv.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service55,
17
- node: () => node58,
16
+ Service: () => Service15,
17
+ node: () => node18,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service55 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service15 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service55, Effect.gen(function* () {
38
- const environment = yield* Service64;
37
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ const environment = yield* Service56;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service55.of({ withLock, write, writeTextPreservingBom });
59
+ return Service15.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node58 = makeLocationNode({ service: Service55, layer, deps: [node67] });
61
+ var node18 = makeLocationNode({ service: Service15, layer, deps: [node60] });
62
62
 
63
- export { Service55, readText2, syncTextBom2, node58, exports_file_mutation };
63
+ export { Service15, readText2, syncTextBom2, node18, exports_file_mutation };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./worktree-2ecm7k5x.js";
2
+ Service82,
3
+ node86
4
+ } from "./project-q7s34kns.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./worktree-922hggd3.js";
8
+ } from "./project-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service76,
12
- node80
13
- } from "./worktree-g9b0yvmz.js";
11
+ Service79,
12
+ node83
13
+ } from "./project-tmwvyjej.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./project-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service40,
22
+ Service: () => Service20,
23
23
  define: () => define2,
24
- node: () => node44
24
+ node: () => node23
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service40 extends Context.Service()("@opencode/Rpc") {
30
+ class Service20 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service40, Effect.gen(function* () {
43
- const bus = yield* Service79;
44
- const location = yield* Service76;
42
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
43
+ const bus = yield* Service82;
44
+ const location = yield* Service79;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service40.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service20.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node44 = makeLocationNode({ service: Service40, layer, deps: [node83, node80] });
128
+ var node23 = makeLocationNode({ service: Service20, layer, deps: [node86, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service40, node44, exports_rpc, define2 };
213
+ export { Service20, node23, exports_rpc, define2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./worktree-tazgh4e4.js";
3
+ } from "./project-tazgh4e4.js";
4
4
  import {
5
- ID3,
6
- Service29
7
- } from "./worktree-2hn9d9f8.js";
5
+ ID5,
6
+ Service41
7
+ } from "./project-n9j71pv6.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./worktree-7xmz7frw.js";
10
+ } from "./project-6bsje7ws.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./worktree-d5wtg2df.js";
13
+ } from "./project-phc8pspp.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./worktree-a1bz86dw.js";
16
+ } from "./project-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service29;
84
+ const snapshot = yield* Service41;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID3.make(from),
91
- to: ID3.make(to),
90
+ from: ID5.make(from),
91
+ to: ID5.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));