@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,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./worktree-2a5m3afh.js";
3
+ } from "./project-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./worktree-922hggd3.js";
6
+ } from "./project-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./worktree-g9b0yvmz.js";
8
+ Service79
9
+ } from "./project-tmwvyjej.js";
10
10
  import {
11
- Service64
12
- } from "./worktree-8zjetqqg.js";
11
+ Service56
12
+ } from "./project-6ekh48kv.js";
13
13
  import {
14
- Service63
15
- } from "./worktree-kf58x7p8.js";
14
+ Service55
15
+ } from "./project-4paq7rse.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry4
21
- } from "./worktree-83dcqrsd.js";
21
+ } from "./project-0fa4pp12.js";
22
22
  import {
23
- Service51
24
- } from "./worktree-6hk05hg4.js";
23
+ Service67
24
+ } from "./project-6qqgecnt.js";
25
25
  import {
26
26
  Service50
27
- } from "./worktree-e5kbttzp.js";
27
+ } from "./project-8gw42vpw.js";
28
28
  import {
29
29
  __export
30
- } from "./worktree-9rqn6x4v.js";
30
+ } from "./project-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin35,
39
- name: () => name2,
36
+ Input: () => Input7,
37
+ Output: () => Output4,
38
+ Plugin: () => Plugin7,
39
+ name: () => name7,
40
40
  toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,7 +55,7 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry4);
58
+ var Output4 = Schema.Array(Entry4);
59
59
  var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
@@ -63,27 +63,27 @@ var toModelContent2 = (entries, truncated = false) => {
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin35 = {
66
+ var Plugin7 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service64;
70
- const ripgrep = yield* Service63;
71
- const location = yield* Service76;
69
+ const environment = yield* Service56;
70
+ const ripgrep = yield* Service55;
71
+ const location = yield* Service79;
72
72
  const access = yield* Service50;
73
- const permission = yield* Service51;
73
+ const permission = yield* Service67;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input7,
79
+ output: Output4,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -125,4 +125,4 @@ var Plugin35 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
128
+ export { name7, Input7, Output4, toModelContent2, Plugin7, exports_glob };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID10
3
- } from "./worktree-e70fzpwb.js";
2
+ ID8
3
+ } from "./project-9g54c81z.js";
4
4
  import {
5
- Service38
6
- } from "./worktree-xwyqxccg.js";
5
+ Service45
6
+ } from "./project-vfy1kg21.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./worktree-xtzqjyy0.js";
9
+ } from "./project-asepq3gz.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service38;
29
+ const config = yield* Service45;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID10.make(item.id);
56
+ model.modelID = ID8.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make4();
115
+ var VLLMPlugin2 = make7();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make4, VLLMPlugin2 };
137
+ export { make7, VLLMPlugin2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./worktree-qnmg5nvf.js";
2
+ Service80,
3
+ node84
4
+ } from "./project-c0mnv205.js";
5
5
  import {
6
6
  __export
7
- } from "./worktree-9rqn6x4v.js";
7
+ } from "./project-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service76,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node80,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node80 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service77;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service76.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service76,
38
+ service: Service79,
39
39
  layer: layer(ref, options),
40
- deps: [node81]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info32, Ref4, response2, Service76, node80, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-3zwsa50c.js";
2
+ Service83,
3
+ node87
4
+ } from "./project-j83vkw0y.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./worktree-2ecm7k5x.js";
6
+ Service82,
7
+ node86
8
+ } from "./project-q7s34kns.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./worktree-5t3nmthw.js";
11
+ } from "./project-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./worktree-ec1grn59.js";
14
+ } from "./project-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./worktree-81czwxpn.js";
20
+ } from "./project-rsdf2nvv.js";
21
21
  import {
22
22
  load5
23
- } from "./worktree-h6zkevjm.js";
23
+ } from "./project-ergc4ny1.js";
24
24
  import {
25
25
  create3
26
- } from "./worktree-rdw6cm16.js";
26
+ } from "./project-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./worktree-19w9qk9n.js";
29
+ } from "./project-6rybd781.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./worktree-38a6tnxe.js";
34
+ } from "./project-7mc0myxf.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./worktree-kdnytvmd.js";
37
+ } from "./project-7vhg0pxj.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./worktree-n68akk4h.js";
41
+ } from "./project-gdw7k6f6.js";
42
42
  import {
43
43
  estimate2
44
- } from "./worktree-h6vf3j39.js";
44
+ } from "./project-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./worktree-tdstcens.js";
49
+ } from "./project-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./worktree-9rqn6x4v.js";
52
+ } from "./project-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service7,
57
+ Service: () => Service12,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer7,
62
- node: () => node9,
62
+ node: () => node14,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
302
- const bus = yield* Service79;
301
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
302
+ const bus = yield* Service82;
303
303
  const llm = yield* LLMClient.Service;
304
- const db = (yield* Service80).db;
304
+ const db = (yield* Service83).db;
305
305
  const state = create3({
306
306
  name: "session-compaction",
307
307
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
@@ -607,7 +607,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
607
607
  }
608
608
  }));
609
609
  });
610
- return Service7.of({
610
+ return Service12.of({
611
611
  transform: state.transform,
612
612
  reload: state.reload,
613
613
  enabled: () => state.get().auto,
@@ -616,10 +616,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
616
616
  compactManual
617
617
  });
618
618
  }));
619
- var node9 = makeLocationNode({
620
- service: Service7,
619
+ var node14 = makeLocationNode({
620
+ service: Service12,
621
621
  layer: layer7,
622
- deps: [node83, node84, llmClient2]
622
+ deps: [node86, node87, llmClient2]
623
623
  });
624
624
 
625
- export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction2 };
625
+ export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node83
5
- } from "./worktree-2ecm7k5x.js";
3
+ Service82,
4
+ node86
5
+ } from "./project-q7s34kns.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make19,
10
+ make21,
11
11
  diffByKey2
12
- } from "./worktree-t550f9t1.js";
12
+ } from "./project-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./worktree-922hggd3.js";
15
+ } from "./project-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./worktree-rdw6cm16.js";
18
+ } from "./project-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./worktree-9rqn6x4v.js";
21
+ } from "./project-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event11,
26
+ Event: () => Event8,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options8,
30
- Service: () => Service57,
31
- configured: () => configured8,
32
- layer: () => layer23,
33
- node: () => node60
29
+ Options: () => Options5,
30
+ Service: () => Service40,
31
+ configured: () => configured5,
32
+ layer: () => layer17,
33
+ node: () => node43
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event11 = {
45
+ var Event8 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options8 = Schema.Struct({
48
+ var Options5 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service57 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
56
- const bus = yield* Service79;
55
+ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
56
+ const bus = yield* Service82;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make19({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service57.of({
93
+ return Service40.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured8(options) {
107
+ function configured5(options) {
108
108
  return makeLocationNode({
109
- service: Service57,
110
- layer: layer23(options),
111
- deps: [node83]
109
+ service: Service40,
110
+ layer: layer17(options),
111
+ deps: [node86]
112
112
  });
113
113
  }
114
- var node60 = configured8();
114
+ var node43 = configured5();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event11, Options8, Service57, layer23, configured8, node60, exports_instruction_discovery };
145
+ export { File2, Event8, Options5, Service40, layer17, configured5, node43, exports_instruction_discovery };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node83
5
- } from "./worktree-2ecm7k5x.js";
3
+ Service82,
4
+ node86
5
+ } from "./project-q7s34kns.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./project-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service7,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer5,
17
- node: () => node7
17
+ node: () => node9
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service79;
25
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
26
+ const bus = yield* Service82;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service7.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node7 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node83] });
36
+ var node9 = makeGlobalNode({ service: Service7, layer: layer5, deps: [node86] });
37
37
 
38
- export { Updated2, Service5, layer5, node7, exports_sdk };
38
+ export { Updated2, Service7, layer5, node9, exports_sdk };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./worktree-3zwsa50c.js";
2
+ Service83,
3
+ node87
4
+ } from "./project-j83vkw0y.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./worktree-3hepkmqq.js";
7
+ } from "./project-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service69,
17
- node: () => node73
16
+ Service: () => Service72,
17
+ node: () => node76
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service69 extends Context.Service()("@opencode/KV") {
22
+ class Service72 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service69, Effect.gen(function* () {
25
- const db = (yield* Service80).db;
26
- return Service69.of({
24
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
25
+ const db = (yield* Service83).db;
26
+ return Service72.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node73 = makeGlobalNode({ service: Service69, layer, deps: [node84] });
54
+ var node76 = makeGlobalNode({ service: Service72, layer, deps: [node87] });
55
55
 
56
- export { Service69, node73, exports_kv };
56
+ export { Service72, node76, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./worktree-ym463w8f.js";
3
+ } from "./project-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({