@opencode/core 0.0.0-dev-20065 → 0.0.0-dev-20067

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{app-za3xgyhg.js → repository-05nshcdg.js} +24 -24
  8. package/dist/chunks/{app-368s6tf9.js → repository-0c1nc1g2.js} +16 -16
  9. package/dist/chunks/{app-mjs378zw.js → repository-0cry2zrq.js} +14 -14
  10. package/dist/chunks/{app-saz9d1e1.js → repository-0e3mg8wg.js} +25 -25
  11. package/dist/chunks/{app-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{app-53fyba40.js → repository-0pr3hkd7.js} +4 -4
  13. package/dist/chunks/{app-rfh1wnxb.js → repository-0rr436fd.js} +12 -12
  14. package/dist/chunks/{app-tgvr22f4.js → repository-0vecsj11.js} +10 -10
  15. package/dist/chunks/{app-fqtvmpfq.js → repository-0xezjjjn.js} +8 -8
  16. package/dist/chunks/{app-8fsdzctg.js → repository-0yf2ggb4.js} +11 -11
  17. package/dist/chunks/{app-as71pn4z.js → repository-115t4k1h.js} +12 -12
  18. package/dist/chunks/{app-m8yjrps0.js → repository-15rr61m4.js} +19 -19
  19. package/dist/chunks/{app-2anem1gx.js → repository-16fz2w0a.js} +56 -56
  20. package/dist/chunks/{app-zj09a0ew.js → repository-18e56dsp.js} +4 -4
  21. package/dist/chunks/{app-tkmwgdpd.js → repository-19vf66h0.js} +7 -7
  22. package/dist/chunks/{app-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{app-xsp8mkyd.js → repository-1d8ygdpn.js} +17 -17
  24. package/dist/chunks/{app-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{app-48ck0avw.js → repository-1dnqgg3s.js} +9 -9
  26. package/dist/chunks/{app-thnehmyr.js → repository-1e86tkh9.js} +11 -11
  27. package/dist/chunks/{app-w3crv97k.js → repository-1g9ztc78.js} +43 -43
  28. package/dist/chunks/{app-yvhvpfbj.js → repository-1t7xnya2.js} +11 -11
  29. package/dist/chunks/{app-wq4mmp7m.js → repository-1te7cy4s.js} +4 -4
  30. package/dist/chunks/{app-21r38tys.js → repository-21r38tys.js} +1 -1
  31. package/dist/chunks/{app-6243fhfm.js → repository-25rd3h41.js} +63 -63
  32. package/dist/chunks/{app-swr81fay.js → repository-25wpb8ep.js} +182 -182
  33. package/dist/chunks/{app-mjx34a5s.js → repository-285t386e.js} +42 -42
  34. package/dist/chunks/{app-z63w68vq.js → repository-29x78va6.js} +6 -6
  35. package/dist/chunks/{app-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{app-2a6rn6yr.js → repository-2a6rn6yr.js} +1 -1
  37. package/dist/chunks/{app-ryxphezs.js → repository-2xqh5gj0.js} +22 -22
  38. package/dist/chunks/{app-s7xh2hpr.js → repository-2zbc03eg.js} +24 -24
  39. package/dist/chunks/{app-t295gyhv.js → repository-311gkrra.js} +5 -5
  40. package/dist/chunks/{app-a1jjtyb0.js → repository-32h82zqh.js} +5 -5
  41. package/dist/chunks/{app-y6mhz57t.js → repository-3ewed21c.js} +4 -4
  42. package/dist/chunks/{app-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{app-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{app-b75ywe9t.js → repository-3nwqvhst.js} +11 -11
  45. package/dist/chunks/{app-mg2zncmg.js → repository-3qw0meeq.js} +15 -15
  46. package/dist/chunks/{app-fnd47v7t.js → repository-3rk7bqzq.js} +6 -6
  47. package/dist/chunks/{app-e241j9r3.js → repository-3s43hn5t.js} +3 -3
  48. package/dist/chunks/{app-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{app-7e3ec40m.js → repository-3sy2qy7n.js} +1 -1
  50. package/dist/chunks/{app-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{app-xfm370aa.js → repository-3y7z246r.js} +29 -29
  52. package/dist/chunks/{app-8syxyqtm.js → repository-3yv9m03g.js} +32 -32
  53. package/dist/chunks/{app-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  54. package/dist/chunks/{app-pnhe2c1x.js → repository-40dfcbtc.js} +5 -5
  55. package/dist/chunks/{app-3hymt261.js → repository-4nddn0b6.js} +6 -6
  56. package/dist/chunks/{app-6n0tyswj.js → repository-4ragw8tk.js} +32 -32
  57. package/dist/chunks/{app-ppchbf73.js → repository-4sthw002.js} +5 -5
  58. package/dist/chunks/{app-qntm3nww.js → repository-4yyfqv5e.js} +13 -13
  59. package/dist/chunks/{app-967f0wxr.js → repository-50sbk7kr.js} +8 -8
  60. package/dist/chunks/{app-590y27gw.js → repository-51bq5gc4.js} +16 -16
  61. package/dist/chunks/{app-1aksr4z1.js → repository-55t602r9.js} +34 -34
  62. package/dist/chunks/{app-mfqp6xfm.js → repository-56gdpj1q.js} +6 -6
  63. package/dist/chunks/{app-375b9z0r.js → repository-5ah4ptg6.js} +27 -27
  64. package/dist/chunks/{app-5daktx2q.js → repository-5daktx2q.js} +1 -1
  65. package/dist/chunks/{app-5ekn9679.js → repository-5ekn9679.js} +1 -1
  66. package/dist/chunks/{app-zh3fr1rp.js → repository-5md3tagz.js} +27 -27
  67. package/dist/chunks/{app-j7vtgtgy.js → repository-5psjtcc4.js} +32 -32
  68. package/dist/chunks/{app-s6dskvww.js → repository-5qb1g724.js} +5 -5
  69. package/dist/chunks/{app-p9kt6re1.js → repository-5qedxm44.js} +11 -11
  70. package/dist/chunks/{app-nx68k9yk.js → repository-5r9k8zx2.js} +13 -13
  71. package/dist/chunks/{app-pgzeccqn.js → repository-5re94sxb.js} +7 -7
  72. package/dist/chunks/{app-dnfz4fw9.js → repository-5rk57adz.js} +5 -5
  73. package/dist/chunks/{app-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{app-50mzsvk4.js → repository-5wtwrezn.js} +21 -21
  75. package/dist/chunks/repository-619r8v3y.js +18 -0
  76. package/dist/chunks/{app-whfn5mjk.js → repository-6301jba8.js} +39 -39
  77. package/dist/chunks/{app-3npryhn4.js → repository-65xxhm4m.js} +20 -20
  78. package/dist/chunks/{app-4fcrz8xk.js → repository-660wmw6d.js} +19 -19
  79. package/dist/chunks/{app-669tq793.js → repository-669tq793.js} +1 -1
  80. package/dist/chunks/{app-xkf0t35f.js → repository-672f612c.js} +43 -43
  81. package/dist/chunks/{app-rmps83f0.js → repository-67rsx3vb.js} +24 -24
  82. package/dist/chunks/{app-1pxh0esx.js → repository-69fj14ep.js} +24 -24
  83. package/dist/chunks/{app-5cmxdwv8.js → repository-6bsje7ws.js} +3 -3
  84. package/dist/chunks/{app-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
  85. package/dist/chunks/{app-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  86. package/dist/chunks/{app-87deq66t.js → repository-6wg7wrda.js} +6 -6
  87. package/dist/chunks/{app-533ssrma.js → repository-72p6r3xc.js} +13 -13
  88. package/dist/chunks/{app-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{app-z2p5fxnh.js → repository-7cc8avcc.js} +19 -19
  90. package/dist/chunks/{app-110zgqmk.js → repository-7n420167.js} +10 -10
  91. package/dist/chunks/{app-pyjct6fe.js → repository-7nf3ddzq.js} +19 -19
  92. package/dist/chunks/{app-15nepkqg.js → repository-7s2tn799.js} +8 -8
  93. package/dist/chunks/{app-w0ae26qm.js → repository-7td85jfa.js} +7 -7
  94. package/dist/chunks/{app-0g51362j.js → repository-7yscfpph.js} +7 -7
  95. package/dist/chunks/{app-jf2v5c06.js → repository-855aw91c.js} +22 -22
  96. package/dist/chunks/{app-rryjnr2s.js → repository-8czqb76g.js} +17 -17
  97. package/dist/chunks/{app-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{app-nbzsj80d.js → repository-8hgfhrm0.js} +11 -11
  99. package/dist/chunks/{app-94ek1h2f.js → repository-94ek1h2f.js} +2 -2
  100. package/dist/chunks/{app-m1vvrwcy.js → repository-98da7btb.js} +10 -10
  101. package/dist/chunks/{app-9rw1b8hz.js → repository-9btcgg48.js} +42 -42
  102. package/dist/chunks/{app-p3vzrz7t.js → repository-9cz3xmmc.js} +23 -23
  103. package/dist/chunks/repository-9dkxgaaz.js +96 -0
  104. package/dist/chunks/{app-e8c8crbp.js → repository-9e0shq8y.js} +2 -2
  105. package/dist/chunks/{app-d48vtfkp.js → repository-9f40cav3.js} +13 -13
  106. package/dist/chunks/{app-qcxh87b9.js → repository-9h1eecz9.js} +88 -88
  107. package/dist/chunks/{app-ekf2dyc6.js → repository-a0s974gf.js} +3 -3
  108. package/dist/chunks/{app-tf2pk26t.js → repository-a1nprqvr.js} +13 -13
  109. package/dist/chunks/{app-msw86qcf.js → repository-a7ya2t55.js} +4 -4
  110. package/dist/chunks/{app-aaet6srn.js → repository-aaet6srn.js} +2 -2
  111. package/dist/chunks/{app-q98zgpmz.js → repository-actq9frn.js} +15 -15
  112. package/dist/chunks/{app-9r8h4h2t.js → repository-ajdggk3v.js} +4 -4
  113. package/dist/chunks/{app-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  114. package/dist/chunks/repository-b8kezapz.js +26 -0
  115. package/dist/chunks/{app-8mwwm09k.js → repository-bayr7sdc.js} +7 -7
  116. package/dist/chunks/{app-wp9tfm2b.js → repository-bd3nb3vt.js} +8 -8
  117. package/dist/chunks/{app-qn6h5j4k.js → repository-bhxp9hdq.js} +6 -6
  118. package/dist/chunks/{app-6j9k7dhm.js → repository-bmhahcnt.js} +3 -3
  119. package/dist/chunks/{app-7zngzwcp.js → repository-bprjk2xr.js} +30 -30
  120. package/dist/chunks/{app-7arbjz9c.js → repository-bwe1n6j9.js} +7 -7
  121. package/dist/chunks/{app-fykntd8n.js → repository-bwyp434w.js} +25 -25
  122. package/dist/chunks/{app-0hbq61gs.js → repository-c1kskfb6.js} +44 -44
  123. package/dist/chunks/{app-qr8csav2.js → repository-c78bbtc9.js} +5 -5
  124. package/dist/chunks/{app-ckecvw8r.js → repository-ckecvw8r.js} +2 -2
  125. package/dist/chunks/{app-7z4p05m0.js → repository-cm70vevn.js} +11 -11
  126. package/dist/chunks/{app-cr039k61.js → repository-cng14k4f.js} +33 -33
  127. package/dist/chunks/{app-pecb0brz.js → repository-d2aac7k2.js} +5 -5
  128. package/dist/chunks/{app-5tpjfzgf.js → repository-de3mgeae.js} +18 -18
  129. package/dist/chunks/{app-qe2fkp0s.js → repository-djwrd78c.js} +26 -26
  130. package/dist/chunks/{app-sjet8qs7.js → repository-dmzyn4sw.js} +20 -20
  131. package/dist/chunks/{app-gkqnxj86.js → repository-dq2gf7dd.js} +86 -86
  132. package/dist/chunks/{app-a7bcxdzj.js → repository-dvep9rg9.js} +9 -9
  133. package/dist/chunks/{app-6yy5kzjp.js → repository-dxz6h2zt.js} +5 -5
  134. package/dist/chunks/{app-0q4vh2xx.js → repository-dzk3ryj8.js} +24 -24
  135. package/dist/chunks/{app-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{app-v6zx26cv.js → repository-e4bv3p7h.js} +32 -32
  137. package/dist/chunks/{app-eaj1djv9.js → repository-eaj1djv9.js} +1 -1
  138. package/dist/chunks/{app-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{app-kdv3x5g7.js → repository-ejrhby57.js} +44 -44
  140. package/dist/chunks/{app-rnwxbttv.js → repository-emevknz1.js} +8 -8
  141. package/dist/chunks/{app-kjrk9rzn.js → repository-enk2rrcf.js} +17 -17
  142. package/dist/chunks/{app-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
  143. package/dist/chunks/{app-fdk7nwtk.js → repository-es9eybw2.js} +11 -11
  144. package/dist/chunks/{app-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{app-vmwh049b.js → repository-f1zbxv7x.js} +9 -9
  146. package/dist/chunks/{app-gtj40zt6.js → repository-f90zn7ca.js} +4 -4
  147. package/dist/chunks/{app-p1zpfjkz.js → repository-faxz800z.js} +12 -12
  148. package/dist/chunks/{app-vmgq4x8b.js → repository-ff0svapt.js} +2 -2
  149. package/dist/chunks/{app-g0m5zvds.js → repository-fg50bsfr.js} +28 -28
  150. package/dist/chunks/{app-8z3dztpz.js → repository-fs4kxnc4.js} +5 -5
  151. package/dist/chunks/{app-3j1fq1t9.js → repository-fxr6x0aq.js} +13 -13
  152. package/dist/chunks/{app-fs7vhdbk.js → repository-g0kgf922.js} +6 -6
  153. package/dist/chunks/{app-j4g4mtm2.js → repository-g2066sd0.js} +11 -11
  154. package/dist/chunks/{app-ta0kzjga.js → repository-g4fxz0gt.js} +25 -25
  155. package/dist/chunks/{app-bxejt7xe.js → repository-g9qh6fen.js} +11 -11
  156. package/dist/chunks/{app-avsy9rdh.js → repository-gby7h8ab.js} +12 -12
  157. package/dist/chunks/{app-paehqpmp.js → repository-gcmeeq5b.js} +26 -26
  158. package/dist/chunks/{app-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{app-0nxp1cg4.js → repository-gr0jztbm.js} +18 -18
  160. package/dist/chunks/{app-a30fqjjc.js → repository-gtckgk66.js} +10 -10
  161. package/dist/chunks/{app-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{app-ps11h5gy.js → repository-gv6qzrxf.js} +37 -37
  163. package/dist/chunks/{app-k9ttrstx.js → repository-gwmntvvs.js} +43 -43
  164. package/dist/chunks/{app-6ykmb074.js → repository-gwp4cf3v.js} +35 -35
  165. package/dist/chunks/{app-ns15zm60.js → repository-gx8hye9g.js} +6 -6
  166. package/dist/chunks/{app-93mn44n6.js → repository-gxd07ah8.js} +48 -48
  167. package/dist/chunks/{app-h3psvw6m.js → repository-h297ymck.js} +22 -22
  168. package/dist/chunks/{app-76bwpp6f.js → repository-h2qs67km.js} +11 -11
  169. package/dist/chunks/{app-cpj0znwe.js → repository-h6r3nrb9.js} +4 -4
  170. package/dist/chunks/{app-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{app-qwwyczrh.js → repository-hbehhpwg.js} +40 -40
  172. package/dist/chunks/{app-hnf8gsa1.js → repository-hngsf9ze.js} +26 -26
  173. package/dist/chunks/{app-153ryezx.js → repository-hysnaan8.js} +3 -3
  174. package/dist/chunks/{app-c1a9bmae.js → repository-hz151azf.js} +13 -13
  175. package/dist/chunks/{app-4qaxnqby.js → repository-j0vh8jjz.js} +28 -28
  176. package/dist/chunks/{app-nmrsv1dc.js → repository-j1711vkv.js} +29 -29
  177. package/dist/chunks/{app-jjs74g98.js → repository-j3s2z371.js} +5 -5
  178. package/dist/chunks/{app-bj01mvwh.js → repository-j40a86xr.js} +12 -12
  179. package/dist/chunks/{app-j56e64zr.js → repository-j56e64zr.js} +1 -1
  180. package/dist/chunks/{app-2cjzwb63.js → repository-jdzrt0z1.js} +29 -29
  181. package/dist/chunks/{app-j9kjtgcz.js → repository-jhmd4ezs.js} +15 -15
  182. package/dist/chunks/{app-60we93z3.js → repository-jrb0xr74.js} +15 -15
  183. package/dist/chunks/{app-nzks3jc8.js → repository-k3c624dm.js} +3 -3
  184. package/dist/chunks/{app-t55tk8n1.js → repository-k5dsc5hs.js} +9 -9
  185. package/dist/chunks/{app-xfdrc2qg.js → repository-k9kj6xed.js} +8 -8
  186. package/dist/chunks/{app-vgczqxfk.js → repository-kb4rpjaq.js} +325 -321
  187. package/dist/chunks/{app-551w3c13.js → repository-kgeqhxvw.js} +11 -11
  188. package/dist/chunks/{app-4my1p8tw.js → repository-khm1sf7f.js} +4 -4
  189. package/dist/chunks/{app-4xhhjths.js → repository-kjfdeayr.js} +8 -8
  190. package/dist/chunks/{app-cy56w1rk.js → repository-kk7xnzba.js} +1 -1
  191. package/dist/chunks/{app-et1r3136.js → repository-kkybr322.js} +13 -13
  192. package/dist/chunks/{app-m25rymws.js → repository-kpwmpstw.js} +11 -11
  193. package/dist/chunks/{app-wyeygdap.js → repository-kx253xx8.js} +4 -4
  194. package/dist/chunks/{app-vt8dvwd8.js → repository-m1fqb20v.js} +3 -3
  195. package/dist/chunks/{app-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{app-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{app-bnzhvqn2.js → repository-mgdyehf1.js} +27 -27
  198. package/dist/chunks/{app-dwvnzms3.js → repository-mpqj6jx7.js} +7 -7
  199. package/dist/chunks/{app-fms2b7ny.js → repository-mtjp9z6s.js} +11 -11
  200. package/dist/chunks/{app-73tb2d7t.js → repository-mvfsc1pv.js} +3 -3
  201. package/dist/chunks/{app-kzbpe9h1.js → repository-mwwxnxty.js} +5 -5
  202. package/dist/chunks/{app-wt6f8kas.js → repository-my3s7g2v.js} +8 -8
  203. package/dist/chunks/{app-18z30b45.js → repository-n2ahj3nb.js} +16 -16
  204. package/dist/chunks/{app-2ed8p666.js → repository-n6scd4pv.js} +23 -23
  205. package/dist/chunks/{app-tx4my4nz.js → repository-n72a9sqp.js} +50 -50
  206. package/dist/chunks/{app-6cywv5sk.js → repository-naep0e5n.js} +25 -25
  207. package/dist/chunks/{app-v1cnb83x.js → repository-nayt11ps.js} +6 -6
  208. package/dist/chunks/{app-hzv68fmt.js → repository-nxc66smq.js} +19 -19
  209. package/dist/chunks/{app-reg6q42h.js → repository-nz569jqt.js} +5 -5
  210. package/dist/chunks/{app-p42hj8p8.js → repository-p37cw4rj.js} +8 -8
  211. package/dist/chunks/{app-yq2cczkq.js → repository-p57dvf2n.js} +7 -7
  212. package/dist/chunks/{app-2f45c8dm.js → repository-pgej9n36.js} +18 -18
  213. package/dist/chunks/{app-j4t6y5ss.js → repository-pgrpmprb.js} +11 -11
  214. package/dist/chunks/{app-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  215. package/dist/chunks/{app-pknna89w.js → repository-pknna89w.js} +1 -1
  216. package/dist/chunks/{app-r3c4069c.js → repository-pnqe9gv0.js} +1 -1
  217. package/dist/chunks/{app-tvnx3264.js → repository-pwqr28vb.js} +26 -26
  218. package/dist/chunks/{app-nrfvb82z.js → repository-qakz50hz.js} +23 -23
  219. package/dist/chunks/{app-2k8khapm.js → repository-qgn6gcr1.js} +5 -5
  220. package/dist/chunks/{app-wza937mg.js → repository-qh54trmw.js} +17 -17
  221. package/dist/chunks/{app-qsdy395h.js → repository-qsdy395h.js} +1 -1
  222. package/dist/chunks/{app-d77v1e4e.js → repository-qwb2h62g.js} +22 -22
  223. package/dist/chunks/{app-ctss01x6.js → repository-qx9nwsft.js} +26 -26
  224. package/dist/chunks/{app-8n1yy9xf.js → repository-r256v5vh.js} +17 -17
  225. package/dist/chunks/{app-2mq1h16s.js → repository-r2m716tb.js} +9 -9
  226. package/dist/chunks/{app-00z3vp5f.js → repository-r98e92ep.js} +4 -4
  227. package/dist/chunks/{app-2jt3f8gh.js → repository-rb1ekxdp.js} +47 -47
  228. package/dist/chunks/{app-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{app-ybvnw0jt.js → repository-rp43rah6.js} +9 -9
  230. package/dist/chunks/{app-e6hd9jay.js → repository-rph3zd4r.js} +4 -4
  231. package/dist/chunks/{app-57ez7d0k.js → repository-rrqraew9.js} +9 -9
  232. package/dist/chunks/{app-hn3a6rqc.js → repository-rt22yq9v.js} +25 -25
  233. package/dist/chunks/{app-7j2y68kr.js → repository-rxzqzsj3.js} +18 -18
  234. package/dist/chunks/{app-y7v1b0f0.js → repository-s28bjvt5.js} +18 -18
  235. package/dist/chunks/{app-yrznvahk.js → repository-s4enseaf.js} +2 -2
  236. package/dist/chunks/{app-j58c5xyq.js → repository-s5d9hk7s.js} +9 -9
  237. package/dist/chunks/{app-8dfw8sn4.js → repository-skykqwxk.js} +32 -32
  238. package/dist/chunks/{app-v87dcxq7.js → repository-srfhtv6w.js} +9 -9
  239. package/dist/chunks/{app-hps1987y.js → repository-stvp1p58.js} +22 -22
  240. package/dist/chunks/{app-w8xr7nv8.js → repository-t0sqncza.js} +5 -5
  241. package/dist/chunks/{app-t5z440qy.js → repository-t1tem6a2.js} +27 -27
  242. package/dist/chunks/{app-8vq2trkm.js → repository-t2rxy3d5.js} +32 -32
  243. package/dist/chunks/{app-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{app-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{app-tdstcens.js → repository-tdstcens.js} +1 -1
  246. package/dist/chunks/{app-mb635f63.js → repository-trfxp1r8.js} +17 -17
  247. package/dist/chunks/{app-1hxy9wee.js → repository-tsa77ep8.js} +31 -31
  248. package/dist/chunks/{app-tvtrv512.js → repository-tvtrv512.js} +1 -1
  249. package/dist/chunks/{app-6d3a72b8.js → repository-tx02rs4k.js} +35 -35
  250. package/dist/chunks/{app-7247jp3g.js → repository-v4cj4tts.js} +17 -17
  251. package/dist/chunks/{app-vzfbsavd.js → repository-vb0c2wr9.js} +13 -13
  252. package/dist/chunks/{app-veqvce7d.js → repository-veqvce7d.js} +1 -1
  253. package/dist/chunks/{app-f7xyqgbx.js → repository-vftkj9v3.js} +14 -14
  254. package/dist/chunks/{app-7trd08pa.js → repository-vka4dmj0.js} +20 -20
  255. package/dist/chunks/{app-gg7pg1rj.js → repository-vmq7ehpy.js} +5 -5
  256. package/dist/chunks/{app-59xdd3bc.js → repository-vsp4125s.js} +4 -4
  257. package/dist/chunks/{app-vtxr0yy2.js → repository-vtxr0yy2.js} +2 -2
  258. package/dist/chunks/{app-xaagk8jj.js → repository-vxzf7v58.js} +5 -5
  259. package/dist/chunks/repository-vz0qs4v4.js +252 -0
  260. package/dist/chunks/{app-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  261. package/dist/chunks/{app-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{app-wd3x2cqz.js → repository-wd3x2cqz.js} +2 -2
  263. package/dist/chunks/{app-wd87259q.js → repository-wd87259q.js} +1 -1
  264. package/dist/chunks/{app-hz0q9sdq.js → repository-wmq3bkd4.js} +8 -8
  265. package/dist/chunks/{app-ajnt6f3q.js → repository-wrtzz9dy.js} +36 -36
  266. package/dist/chunks/{app-trshmsc8.js → repository-wy75xbqv.js} +88 -82
  267. package/dist/chunks/{app-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{app-38evpe7h.js → repository-x5x7d8yk.js} +7 -7
  269. package/dist/chunks/{app-ace9jgbv.js → repository-x7zswy26.js} +11 -11
  270. package/dist/chunks/{app-5fa40qca.js → repository-xbw2xfj9.js} +5 -5
  271. package/dist/chunks/{app-57b9ws8p.js → repository-xfkkasph.js} +7 -7
  272. package/dist/chunks/{app-21yxkrpf.js → repository-xkqrr95v.js} +76 -76
  273. package/dist/chunks/{app-hnbeegqe.js → repository-xq6svqxg.js} +32 -32
  274. package/dist/chunks/{app-mzdr220s.js → repository-xq7r4p5w.js} +25 -25
  275. package/dist/chunks/{app-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{app-msxag2ht.js → repository-y3f887mz.js} +7 -7
  277. package/dist/chunks/{app-dpkg50ah.js → repository-y71avatq.js} +4 -4
  278. package/dist/chunks/{app-7xk1r0zn.js → repository-ya6d81gt.js} +22 -22
  279. package/dist/chunks/{app-c1qdz9a6.js → repository-ygxwf2ce.js} +23 -23
  280. package/dist/chunks/{app-83237rng.js → repository-ypwah405.js} +26 -26
  281. package/dist/chunks/{app-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{app-0vd36xya.js → repository-yz4vzcv9.js} +17 -17
  283. package/dist/chunks/{app-z07pqspn.js → repository-z07pqspn.js} +3 -3
  284. package/dist/chunks/{app-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{app-3ddygy17.js → repository-z3dqhhkj.js} +6 -6
  286. package/dist/chunks/{app-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{app-95ezkcx5.js → repository-zfjfs7fw.js} +33 -33
  288. package/dist/chunks/{app-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{app-wtypy9yg.js → repository-zszwk29h.js} +302 -302
  290. package/dist/chunks/{app-t7n9q6bq.js → repository-zvt5dnpc.js} +4 -4
  291. package/dist/chunks/{app-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +362 -361
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +1 -1
  460. package/dist/instance.js +358 -357
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +1 -1
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +88 -88
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +134 -134
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +84 -84
  473. package/dist/location-services.js +359 -358
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +106 -106
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +117 -117
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -332
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +225 -225
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +92 -92
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +4 -4
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +123 -123
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +121 -0
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/types/mcp/index.d.ts +4 -1
  660. package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +7 -7
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +4 -4
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +7 -7
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +94 -94
  701. package/package.json +8 -8
  702. package/dist/chunks/app-dxj72tfx.js +0 -18
  703. package/dist/chunks/app-n0y6r1yv.js +0 -252
  704. package/dist/chunks/app-zgdvnj2k.js +0 -26
  705. /package/dist/chunks/{app-0mesazry.js → repository-0mesazry.js} +0 -0
  706. /package/dist/chunks/{app-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{app-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{app-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{app-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{app-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{app-24dcb14g.js → repository-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{app-2710q6r3.js → repository-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{app-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{app-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{app-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{app-359p4xyc.js → repository-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{app-3asan66x.js → repository-3asan66x.js} +0 -0
  718. /package/dist/chunks/{app-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{app-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{app-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{app-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{app-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{app-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{app-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{app-53557ph1.js → repository-53557ph1.js} +0 -0
  726. /package/dist/chunks/{app-550bvhaj.js → repository-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{app-6prwharc.js → repository-6prwharc.js} +0 -0
  728. /package/dist/chunks/{app-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{app-7m9af43g.js → repository-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{app-822emrt2.js → repository-822emrt2.js} +0 -0
  731. /package/dist/chunks/{app-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{app-8n3pysct.js → repository-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{app-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{app-922hggd3.js → repository-922hggd3.js} +0 -0
  735. /package/dist/chunks/{app-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{app-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{app-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{app-af5trqkr.js → repository-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{app-afrmfg78.js → repository-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{app-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{app-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{app-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{app-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{app-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{app-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{app-d9fn303g.js → repository-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{app-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{app-dajrwvna.js → repository-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{app-dap0rakb.js → repository-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{app-df08tz66.js → repository-df08tz66.js} +0 -0
  751. /package/dist/chunks/{app-dy18nga0.js → repository-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{app-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{app-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{app-ec1grn59.js → repository-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{app-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{app-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{app-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{app-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{app-faypxj3z.js → repository-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{app-fd410y7t.js → repository-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{app-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{app-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{app-g86h250q.js → repository-g86h250q.js} +0 -0
  764. /package/dist/chunks/{app-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{app-gftt206x.js → repository-gftt206x.js} +0 -0
  766. /package/dist/chunks/{app-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{app-hk9envan.js → repository-hk9envan.js} +0 -0
  768. /package/dist/chunks/{app-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{app-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{app-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{app-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{app-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{app-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{app-mp448xyj.js → repository-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{app-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{app-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{app-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{app-njntx4h6.js → repository-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{app-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{app-q74kybfr.js → repository-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{app-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{app-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{app-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{app-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{app-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{app-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{app-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{app-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{app-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{app-w803qqfp.js → repository-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{app-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{app-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{app-wtztk69x.js → repository-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{app-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{app-x61499pn.js → repository-x61499pn.js} +0 -0
  796. /package/dist/chunks/{app-y44na4kk.js → repository-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{app-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{app-y8f7s663.js → repository-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{app-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{app-ym463w8f.js → repository-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{app-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./app-922hggd3.js";
4
+ } from "./repository-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./app-p1zpfjkz.js";
8
+ Service76,
9
+ node80
10
+ } from "./repository-faxz800z.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./app-mb635f63.js";
12
+ Service74,
13
+ node78
14
+ } from "./repository-trfxp1r8.js";
15
15
  import {
16
16
  create3
17
- } from "./app-rdw6cm16.js";
17
+ } from "./repository-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./app-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID4,
27
- Service: () => Service37,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service42,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node40,
29
+ node: () => node45,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service37 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service42 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service37, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service76;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service74;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node40 = makeLocationNode({
144
- service: Service37,
143
+ var node45 = makeLocationNode({
144
+ service: Service42,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node81]
146
+ deps: [FSUtil.node, node80, Global.node, node78]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service37, Service37.of({
148
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service37, Service37.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error3, Service42, node45, noopLayer2, exports_snapshot2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service82
3
- } from "./app-p1zpfjkz.js";
2
+ Service76
3
+ } from "./repository-faxz800z.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./app-gv6a8nnw.js";
7
+ } from "./repository-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service82;
23
+ const git = yield* Service76;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./app-5t3nmthw.js";
3
+ } from "./repository-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service30,
11
+ Service: () => Service33,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer13,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node34
15
+ node: () => node37
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service30.of({ bind, close, closeAll });
370
+ return Service33.of({ bind, close, closeAll });
371
371
  }));
372
- var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node34 = makeGlobalNode({ service: Service30, layer: layer13, deps: [webSocketConstructor2] });
375
+ var node37 = makeGlobalNode({ service: Service33, layer: layer12, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service30, makeLayer2, layer13, node34, exports_model_transport };
377
+ export { Service33, makeLayer2, layer12, node37, exports_model_transport };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node83
5
- } from "./app-368s6tf9.js";
3
+ Service83,
4
+ node87
5
+ } from "./repository-0c1nc1g2.js";
6
6
  import {
7
7
  __export
8
- } from "./app-9rqn6x4v.js";
8
+ } from "./repository-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: () => Service8,
14
+ Service: () => Service5,
15
15
  Updated: () => Updated2,
16
- layer: () => layer7,
17
- node: () => node10
16
+ layer: () => layer5,
17
+ node: () => node6
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 Service8 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service5 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer7 = Layer.effect(Service8, Effect.gen(function* () {
26
- const bus = yield* Service79;
25
+ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
26
+ const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service8.of({
29
+ return Service5.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 node10 = makeGlobalNode({ service: Service8, layer: layer7, deps: [node83] });
36
+ var node6 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node87] });
37
37
 
38
- export { Updated2, Service8, layer7, node10, exports_sdk };
38
+ export { Updated2, Service5, layer5, node6, exports_sdk };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service47
3
- } from "./app-2a6rn6yr.js";
3
+ } from "./repository-2a6rn6yr.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./app-dxj72tfx.js";
6
+ } from "./repository-619r8v3y.js";
7
7
  import {
8
- Service38
9
- } from "./app-tx4my4nz.js";
8
+ Service61
9
+ } from "./repository-n72a9sqp.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./app-5ekn9679.js";
12
+ } from "./repository-5ekn9679.js";
13
13
  import {
14
14
  __export
15
- } from "./app-9rqn6x4v.js";
15
+ } from "./repository-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -23,7 +23,7 @@ __export(exports_shell3, {
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
25
  const instances = yield* Service47;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID8,
3
- Service60
4
- } from "./app-7zngzwcp.js";
2
+ ID16,
3
+ Service77
4
+ } from "./repository-bprjk2xr.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service60;
12
+ const integrations = yield* Service77;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID8.make(item.provider.id)))
22
+ if (!configured.has(ID16.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./app-y8cydn3q.js";
3
+ } from "./repository-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info14,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info17,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info14, exports_permission };
41
+ export { Action2, Object2, Rule3, Info17, exports_permission2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./repository-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service35,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service35 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service35, awaitActivation2, exports_service };
@@ -1,59 +1,59 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./repository-0yf2ggb4.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./app-8fsdzctg.js";
5
- import {
6
- Service79,
7
- node83
8
- } from "./app-368s6tf9.js";
8
+ } from "./repository-0c1nc1g2.js";
9
9
  import {
10
- Service50,
11
- node52
12
- } from "./app-kjrk9rzn.js";
10
+ Service72,
11
+ node76
12
+ } from "./repository-enk2rrcf.js";
13
13
  import {
14
14
  Service47,
15
15
  node49
16
- } from "./app-2a6rn6yr.js";
16
+ } from "./repository-2a6rn6yr.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./app-ec1grn59.js";
19
+ } from "./repository-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./app-yp2x3t23.js";
21
+ make17
22
+ } from "./repository-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./app-t7n9q6bq.js";
25
+ Service44
26
+ } from "./repository-zvt5dnpc.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./app-vmwh049b.js";
29
+ } from "./repository-f1zbxv7x.js";
30
30
  import {
31
- Service74,
32
- node78
33
- } from "./app-rryjnr2s.js";
31
+ Service53,
32
+ node56
33
+ } from "./repository-8czqb76g.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./app-wyeygdap.js";
36
+ } from "./repository-kx253xx8.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./app-83237rng.js";
39
+ } from "./repository-ypwah405.js";
40
40
  import {
41
41
  __export
42
- } from "./app-9rqn6x4v.js";
42
+ } from "./repository-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service44,
47
+ Service: () => Service43,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer19,
50
- node: () => node47,
49
+ layer: () => layer16,
50
+ node: () => node46,
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 Service44 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service43 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 layer19 = Layer.effect(Service44, Effect.gen(function* () {
69
- const store = yield* Service74;
68
+ var layer16 = Layer.effect(Service43, Effect.gen(function* () {
69
+ const store = yield* Service53;
70
70
  const instances = yield* Service47;
71
- const bus = yield* Service79;
72
- const jobs = yield* Service50;
73
- const db = (yield* Service83).db;
71
+ const bus = yield* Service83;
72
+ const jobs = yield* Service72;
73
+ const db = (yield* Service84).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 layer19 = Layer.effect(Service44, 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* Service45.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* Service44.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* make17({
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 layer19 = Layer.effect(Service44, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service44.of({
113
+ return Service43.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node47 = makeGlobalNode({
133
- service: Service44,
134
- layer: layer19,
135
- deps: [node78, node49, node83, node87, node52]
132
+ var node46 = makeGlobalNode({
133
+ service: Service43,
134
+ layer: layer16,
135
+ deps: [node56, node49, node87, node88, node76]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
137
+ var noopLayer3 = Layer.succeed(Service43, Service43.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(Service44, Service44.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service44, terminal2, layer19, node47, noopLayer3, exports_execution };
146
+ export { Service43, terminal2, layer16, node46, noopLayer3, exports_execution };