@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,80 +1,80 @@
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
  userNotification2
12
- } from "./worktree-fxbjtjnd.js";
12
+ } from "./project-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./worktree-gftt206x.js";
15
+ } from "./project-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./worktree-d5wtg2df.js";
23
+ } from "./project-phc8pspp.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./worktree-ec1grn59.js";
26
+ } from "./project-ec1grn59.js";
27
27
  import {
28
- Service53
29
- } from "./worktree-q980a1ys.js";
28
+ Service68
29
+ } from "./project-psmqrama.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service46
34
- } from "./worktree-20djd28m.js";
33
+ Service60
34
+ } from "./project-en4evqvm.js";
35
35
  import {
36
- Service42
37
- } from "./worktree-x5cfpxw5.js";
36
+ Service58
37
+ } from "./project-bf3mwr3a.js";
38
38
  import {
39
39
  prepare2
40
- } from "./worktree-ej2x38fw.js";
40
+ } from "./project-rm2vr7q2.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./worktree-hyp0yes1.js";
45
+ } from "./project-d9pdb30h.js";
46
46
  import {
47
47
  start2
48
- } from "./worktree-cbsmg7zv.js";
48
+ } from "./project-0avpwvn6.js";
49
49
  import {
50
50
  get4
51
- } from "./worktree-spnnfxkd.js";
51
+ } from "./project-yzgcsa77.js";
52
52
  import {
53
53
  __export
54
- } from "./worktree-9rqn6x4v.js";
54
+ } from "./project-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service79;
67
- const database = yield* Service80;
68
- const store = yield* Service53;
69
- const instances = yield* Service44;
70
- const execution = yield* Service42;
71
- const admission = yield* Service46;
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service82;
67
+ const database = yield* Service83;
68
+ const store = yield* Service68;
69
+ const instances = yield* Service61;
70
+ const execution = yield* Service58;
71
+ const admission = yield* Service60;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError7({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service44, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service61, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service61, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service61, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service82, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./project-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service31,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service31 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service31, awaitActivation2, exports_service };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./worktree-g9b0yvmz.js";
2
+ Service79
3
+ } from "./project-tmwvyjej.js";
4
4
  import {
5
- Service64
6
- } from "./worktree-8zjetqqg.js";
5
+ Service56
6
+ } from "./project-6ekh48kv.js";
7
7
  import {
8
- Service55,
8
+ Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./worktree-w59x44tx.js";
11
+ } from "./project-dpvzhgsn.js";
12
12
  import {
13
- Service33
14
- } from "./worktree-zjd7s1bk.js";
13
+ Service78
14
+ } from "./project-18yjdgfz.js";
15
15
  import {
16
- Service51
17
- } from "./worktree-6hk05hg4.js";
16
+ Service67
17
+ } from "./project-6qqgecnt.js";
18
18
  import {
19
19
  Service50,
20
20
  resolvePath2
21
- } from "./worktree-e5kbttzp.js";
21
+ } from "./project-8gw42vpw.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./worktree-6prwharc.js";
24
+ } from "./project-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./worktree-9rqn6x4v.js";
27
+ } from "./project-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input10,
34
- Output: () => Output7,
35
- Plugin: () => Plugin43,
36
- name: () => name10
33
+ Input: () => Input12,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin13,
36
+ name: () => name12
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name10 = "edit";
43
- var Input10 = Schema.Struct({
42
+ var name12 = "edit";
43
+ var Input12 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin43 = {
106
+ var Plugin13 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
109
  const access = yield* Service50;
110
- const fileMutation = yield* Service55;
111
- const environment = yield* Service64;
112
- const formatter = yield* Service33;
113
- const location = yield* Service76;
114
- const permission = yield* Service51;
110
+ const fileMutation = yield* Service15;
111
+ const environment = yield* Service56;
112
+ const formatter = yield* Service78;
113
+ const location = yield* Service79;
114
+ const permission = yield* Service67;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name10,
116
+ name: name12,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input10,
120
- output: Output7,
119
+ input: Input12,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin43 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output7, Plugin43, exports_edit };
197
+ export { name12, Input12, Output8, Plugin13, exports_edit };
@@ -1,144 +1,144 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./worktree-jzg6c2d5.js";
3
+ } from "./project-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./worktree-q3sfg36h.js";
6
+ } from "./project-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./worktree-1cnp2v09.js";
9
+ } from "./project-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./worktree-rcb2kzg1.js";
12
+ } from "./project-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./worktree-msx8hqn2.js";
15
+ } from "./project-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./worktree-bkyjaxrp.js";
18
+ } from "./project-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./worktree-g86h250q.js";
21
+ } from "./project-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./worktree-jr7sbwjy.js";
24
+ } from "./project-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./worktree-7m9af43g.js";
27
+ } from "./project-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./worktree-j2ntwpah.js";
30
+ } from "./project-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./worktree-njntx4h6.js";
33
+ } from "./project-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./worktree-qrg20bc0.js";
36
+ } from "./project-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./worktree-z9919s4g.js";
39
+ } from "./project-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./worktree-43n2bw4t.js";
42
+ } from "./project-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./worktree-n3j8tn72.js";
45
+ } from "./project-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./worktree-d9jj8t3e.js";
48
+ } from "./project-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./worktree-fd410y7t.js";
51
+ } from "./project-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./worktree-e5kj55wp.js";
54
+ } from "./project-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./worktree-f6n9ztr4.js";
57
+ } from "./project-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./worktree-q74kybfr.js";
60
+ } from "./project-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./worktree-53557ph1.js";
63
+ } from "./project-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./worktree-7akdwqpd.js";
66
+ } from "./project-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./worktree-wer8tq1h.js";
69
+ } from "./project-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./worktree-wtztk69x.js";
72
+ } from "./project-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./worktree-ssg3fenm.js";
75
+ } from "./project-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./worktree-2c3vjs8z.js";
78
+ } from "./project-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./worktree-17cy0kzp.js";
81
+ } from "./project-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./worktree-hk9envan.js";
84
+ } from "./project-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./worktree-w803qqfp.js";
87
+ } from "./project-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./worktree-jwfs4k6c.js";
90
+ } from "./project-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./worktree-mp448xyj.js";
93
+ } from "./project-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./worktree-aqzs7mqg.js";
96
+ } from "./project-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./worktree-ygaqb7jw.js";
99
+ } from "./project-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./worktree-8n3pysct.js";
102
+ } from "./project-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./worktree-d9fn303g.js";
105
+ } from "./project-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./worktree-cvy3z8tj.js";
108
+ } from "./project-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./worktree-9a4afbnw.js";
111
+ } from "./project-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./worktree-n05xt0ee.js";
114
+ } from "./project-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./worktree-sdp7kfr6.js";
117
+ } from "./project-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./worktree-a6k6eb26.js";
120
+ } from "./project-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./worktree-4knz6hnm.js";
123
+ } from "./project-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./worktree-df08tz66.js";
126
+ } from "./project-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./worktree-bmr6ed5q.js";
129
+ } from "./project-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./worktree-atq7p7m5.js";
132
+ } from "./project-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./worktree-qb87gjwd.js";
135
+ } from "./project-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./worktree-359p4xyc.js";
138
+ } from "./project-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./worktree-y8f7s663.js";
141
+ } from "./project-y8f7s663.js";
142
142
 
143
143
  // src/database/migration.gen.ts
144
144
  var migrations2 = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./worktree-qaymkmh1.js";
3
+ } from "./project-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service79
3
- } from "./worktree-2ecm7k5x.js";
2
+ Service82
3
+ } from "./project-q7s34kns.js";
4
4
  import {
5
5
  OAuth3,
6
- Event18
7
- } from "./worktree-s0443v51.js";
6
+ Event19
7
+ } from "./project-rcwsqex5.js";
8
8
  import {
9
- ID13,
9
+ ID14,
10
10
  MethodID2
11
- } from "./worktree-gcp4fqq7.js";
11
+ } from "./project-g5jdgkja.js";
12
12
  import {
13
- ID12,
13
+ ID13,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./worktree-v057vym3.js";
16
+ } from "./project-3ns9snst.js";
17
17
  import {
18
- ID5,
19
- Input14,
18
+ ID3,
19
+ Input13,
20
20
  Response2
21
- } from "./worktree-kh3vq3v6.js";
21
+ } from "./project-xg3kyc3a.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID5
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID13.make("opencode"),
57
+ integrationID: ID14.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -99,7 +99,7 @@ function oauth(http) {
99
99
  var OpencodePlugin2 = define({
100
100
  id: "opencode.provider.opencode",
101
101
  effect: Effect.fn(function* (ctx) {
102
- const bus = yield* Service79;
102
+ const bus = yield* Service82;
103
103
  const http = yield* HttpClient.HttpClient;
104
104
  const loading = Semaphore.makeUnsafe(1);
105
105
  let snapshot = { config: undefined, connection: undefined };
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID13.make("opencode");
128
+ provider.integrationID = ID14.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID12.opencode);
198
+ const item = providers.get(ID13.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID12.opencode);
210
+ const item = models.provider.get(ID13.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
241
241
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
242
242
  const token = credential.type === "oauth" ? credential.access : credential.key;
243
243
  const server = yield* normalizeServer(serverUrl(credential));
244
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
244
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
245
245
  query: input.query,
246
246
  providerID: descriptor.providerID
247
247
  }));
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });