@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,45 +1,45 @@
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
  latestSequence2,
7
- Service79,
8
- node83
9
- } from "./worktree-2ecm7k5x.js";
7
+ Service82,
8
+ node86
9
+ } from "./project-q7s34kns.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./worktree-5t3nmthw.js";
12
+ } from "./project-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./worktree-ec1grn59.js";
15
+ } from "./project-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./worktree-h6zkevjm.js";
18
+ } from "./project-ergc4ny1.js";
19
19
  import {
20
- Service53,
21
- node56
22
- } from "./worktree-q980a1ys.js";
20
+ Service68,
21
+ node72
22
+ } from "./project-psmqrama.js";
23
23
  import {
24
- Service17,
25
- node20
26
- } from "./worktree-h82mr5fe.js";
24
+ Service26,
25
+ node30
26
+ } from "./project-41pvexha.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./worktree-tdstcens.js";
30
+ } from "./project-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./project-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service6,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer6,
42
- node: () => node8
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service6 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer6 = Layer.effect(Service6, Effect.gen(function* () {
62
- const bus = yield* Service79;
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
+ const bus = yield* Service82;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service17;
65
- const store = yield* Service53;
66
- const db = (yield* Service80).db;
64
+ const context = yield* Service26;
65
+ const store = yield* Service68;
66
+ const db = (yield* Service83).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service6.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node8 = makeLocationNode({
151
- service: Service6,
152
- layer: layer6,
153
- deps: [node83, llmClient2, node20, node56, node84]
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node86, llmClient2, node30, node72, node87]
154
154
  });
155
155
 
156
- export { Service6, isUntitled2, layer6, node8, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service70
4
- } from "./worktree-v057vym3.js";
3
+ Service74
4
+ } from "./project-3ns9snst.js";
5
5
  import {
6
- Service38
7
- } from "./worktree-xwyqxccg.js";
6
+ Service45
7
+ } from "./project-vfy1kg21.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service70;
12
+ const providers = yield* Service74;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service38);
14
+ const service = yield* Effect.serviceOption(Service45);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service60,
3
- node63,
2
+ Service63,
3
+ node67,
4
4
  canonical3
5
- } from "./worktree-170wnync.js";
5
+ } from "./project-yc78m0qr.js";
6
6
  import {
7
- Service44,
8
- node47
9
- } from "./worktree-hwe7x4em.js";
7
+ Service61,
8
+ node65
9
+ } from "./project-ycjb11n5.js";
10
10
  import {
11
- Service32
12
- } from "./worktree-3z6f7pb8.js";
11
+ Service19
12
+ } from "./project-pg0sspy2.js";
13
13
  import {
14
14
  layer2
15
- } from "./worktree-rhs8pca3.js";
15
+ } from "./project-xy587a6s.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service60, Effect.gen(function* () {
20
+ return Layer.effect(Service63, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service32);
30
+ const lifecycle = Context.get(exit.value, Service19);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node47.replace(Layer.succeed(Service44, {
57
+ node65.replace(Layer.succeed(Service61, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node63.replace(Layer.succeed(Service60, map))
61
+ node67.replace(Layer.succeed(Service63, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
- Info5,
6
- ID4,
5
+ Info8,
6
+ ID6,
7
7
  Name2
8
- } from "./worktree-5089mcsz.js";
8
+ } from "./project-55tews2p.js";
9
9
  import {
10
- Service38
11
- } from "./worktree-xwyqxccg.js";
10
+ Service45
11
+ } from "./project-vfy1kg21.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill2 = {};
18
18
  __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin28,
21
+ Plugin: () => Plugin23,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill2
24
24
  });
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin28 = define({
425
+ var Plugin23 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info5.make({
431
- id: ID4.make("opencode"),
430
+ editor.add(Info8.make({
431
+ id: ID6.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  path: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info5.make({
438
- id: ID4.make("report"),
437
+ editor.add(Info8.make({
438
+ id: ID6.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
463
463
  `);
464
464
  });
465
465
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
466
- const config = yield* Service38;
466
+ const config = yield* Service45;
467
467
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
468
468
  });
469
469
  function terminal() {
@@ -477,4 +477,4 @@ function shell() {
477
477
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
478
478
  }
479
479
 
480
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
480
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin23, exports_skill2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-ezy28dwm.js";
3
+ } from "./project-xrfewb9d.js";
4
4
  import {
5
- Service79
6
- } from "./worktree-2ecm7k5x.js";
5
+ Service82
6
+ } from "./project-q7s34kns.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18,
10
- Service72
11
- } from "./worktree-s0443v51.js";
9
+ Event19,
10
+ Service76
11
+ } from "./project-rcwsqex5.js";
12
12
  import {
13
- ID13,
13
+ ID14,
14
14
  MethodID2,
15
- Service71
16
- } from "./worktree-gcp4fqq7.js";
15
+ Service75
16
+ } from "./project-g5jdgkja.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./worktree-pjvnvgmy.js";
20
+ } from "./project-pjvnvgmy.js";
21
21
  import {
22
- ID12
23
- } from "./worktree-v057vym3.js";
22
+ ID13
23
+ } from "./project-3ns9snst.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./worktree-xtzqjyy0.js";
26
+ } from "./project-asepq3gz.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID12.make("snowflake-cortex");
34
- var integrationID = ID13.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service72;
57
- const integrations = yield* Service71;
58
- const bus = yield* Service79;
56
+ const credentials = yield* Service76;
57
+ const integrations = yield* Service75;
58
+ const bus = yield* Service82;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./project-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./project-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service79
3
- } from "./worktree-2ecm7k5x.js";
2
+ Service82
3
+ } from "./project-q7s34kns.js";
4
4
  import {
5
- Service29
6
- } from "./worktree-2hn9d9f8.js";
5
+ Service41
6
+ } from "./project-n9j71pv6.js";
7
7
  import {
8
- Error5
9
- } from "./worktree-f2497b3s.js";
8
+ Error2
9
+ } from "./project-1bhphhem.js";
10
10
  import {
11
- Service37
12
- } from "./worktree-bkdff2qy.js";
11
+ Service49
12
+ } from "./project-2gbsvbx5.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./worktree-d5wtg2df.js";
15
+ } from "./project-phc8pspp.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./worktree-ec1grn59.js";
18
+ } from "./project-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./worktree-kdnytvmd.js";
21
+ } from "./project-7vhg0pxj.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./worktree-tdstcens.js";
24
+ } from "./project-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./worktree-h03wrkyp.js";
27
+ } from "./project-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./worktree-n68akk4h.js";
30
+ } from "./project-gdw7k6f6.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./project-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make7
40
+ make: () => make3
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make7 = Effect.gen(function* () {
55
- const bus = yield* Service79;
54
+ var make3 = Effect.gen(function* () {
55
+ const bus = yield* Service82;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service29;
58
- const toolOutput = yield* Service37;
57
+ const snapshots = yield* Service41;
58
+ const toolOutput = yield* Service49;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error5({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -208,4 +208,4 @@ var classifyToolExits = (settled, runs) => {
208
208
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
209
209
  };
210
210
 
211
- export { Outcome2, make7, exports_step };
211
+ export { Outcome2, make3, exports_step };
@@ -1,59 +1,59 @@
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
- Service47,
11
- node50
12
- } from "./worktree-cdea582g.js";
10
+ Service64,
11
+ node68
12
+ } from "./project-6p2e6h7q.js";
13
13
  import {
14
- Service44,
15
- node47
16
- } from "./worktree-hwe7x4em.js";
14
+ Service61,
15
+ node65
16
+ } from "./project-ycjb11n5.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./project-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./worktree-yp2x3t23.js";
21
+ make19
22
+ } from "./project-rhraev7y.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service43
26
- } from "./worktree-kne8f3cn.js";
25
+ Service59
26
+ } from "./project-n4r3xatb.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./worktree-d5wtg2df.js";
29
+ } from "./project-phc8pspp.js";
30
30
  import {
31
- Service53,
32
- node56
33
- } from "./worktree-q980a1ys.js";
31
+ Service68,
32
+ node72
33
+ } from "./project-psmqrama.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./worktree-kdnytvmd.js";
36
+ } from "./project-7vhg0pxj.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./worktree-20djd28m.js";
39
+ } from "./project-en4evqvm.js";
40
40
  import {
41
41
  __export
42
- } from "./worktree-9rqn6x4v.js";
42
+ } from "./project-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service42,
47
+ Service: () => Service58,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer20,
50
- node: () => node46,
49
+ layer: () => layer22,
50
+ node: () => node63,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service42 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service58 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer20 = Layer.effect(Service42, Effect.gen(function* () {
69
- const store = yield* Service53;
70
- const instances = yield* Service44;
71
- const bus = yield* Service79;
72
- const jobs = yield* Service47;
73
- const db = (yield* Service80).db;
68
+ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
69
+ const store = yield* Service68;
70
+ const instances = yield* Service61;
71
+ const bus = yield* Service82;
72
+ const jobs = yield* Service64;
73
+ const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,14 +82,14 @@ var layer20 = Layer.effect(Service42, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service43.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service59.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make16({
92
+ const coordinator = yield* make19({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer20 = Layer.effect(Service42, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service42.of({
113
+ return Service58.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer20 = Layer.effect(Service42, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node46 = makeGlobalNode({
133
- service: Service42,
134
- layer: layer20,
135
- deps: [node56, node47, node83, node84, node50]
132
+ var node63 = makeGlobalNode({
133
+ service: Service58,
134
+ layer: layer22,
135
+ deps: [node72, node65, node86, node87, node68]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service42, Service42.of({
137
+ var noopLayer3 = Layer.succeed(Service58, Service58.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service42, Service42.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service42, terminal2, layer20, node46, noopLayer3, exports_execution };
146
+ export { Service58, terminal2, layer22, node63, noopLayer3, exports_execution };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./worktree-f0mxakyp.js";
3
+ } from "./project-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./worktree-w3wsvvr9.js";
6
+ } from "./project-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./worktree-7bmhse3q.js";
9
+ } from "./project-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./worktree-cf4snx6d.js";
12
+ } from "./project-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./worktree-822emrt2.js";
15
+ } from "./project-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./worktree-wd87259q.js";
18
+ } from "./project-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./worktree-m9w0rfyh.js";
21
+ } from "./project-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./worktree-v057vym3.js";
4
+ } from "./project-3ns9snst.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";