@opencode/core 0.0.0-dev-19694 → 0.0.0-dev-19697

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 (788) 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 +68 -68
  7. package/dist/chunks/{location-s8h33rd2.js → kv-0h2tq7q5.js} +18 -18
  8. package/dist/chunks/{location-vnh2skne.js → kv-0jyxj443.js} +16 -16
  9. package/dist/chunks/{location-mae1tpq4.js → kv-0n70x72d.js} +4 -4
  10. package/dist/chunks/{location-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{location-cf88hb9r.js → kv-0qyqys9g.js} +11 -11
  13. package/dist/chunks/{location-8bb7e2vp.js → kv-0s8ewvqd.js} +15 -15
  14. package/dist/chunks/{location-nndcbz7q.js → kv-0ykak19g.js} +6 -6
  15. package/dist/chunks/{location-2eegacq4.js → kv-166kng33.js} +8 -8
  16. package/dist/chunks/{location-9h41vc4j.js → kv-18e56dsp.js} +4 -4
  17. package/dist/chunks/{location-r8xr0va3.js → kv-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{location-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-vcjpcx03.js → kv-1rgqz1x1.js} +25 -25
  20. package/dist/chunks/{location-t0dpm7yv.js → kv-1sf53nq6.js} +9 -9
  21. package/dist/chunks/{location-m0r31qfn.js → kv-1y283654.js} +4 -4
  22. package/dist/chunks/{location-21r38tys.js → kv-21r38tys.js} +1 -1
  23. package/dist/chunks/{location-2402vzrj.js → kv-2402vzrj.js} +1 -1
  24. package/dist/chunks/{location-z50dt07a.js → kv-26kj7k6y.js} +16 -16
  25. package/dist/chunks/{location-z63w68vq.js → kv-29x78va6.js} +6 -6
  26. package/dist/chunks/{location-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{location-36pgk13z.js → kv-2cwg7scc.js} +6 -6
  28. package/dist/chunks/{location-6et2tsyb.js → kv-2dh1j8m9.js} +24 -24
  29. package/dist/chunks/{location-224hfwad.js → kv-2gkymst3.js} +15 -15
  30. package/dist/chunks/{location-d2j26fpy.js → kv-2gy5cyya.js} +5 -5
  31. package/dist/chunks/{location-e6hd9jay.js → kv-2jmaghvr.js} +4 -4
  32. package/dist/chunks/{location-p0nbrkfy.js → kv-2pzp17qz.js} +26 -26
  33. package/dist/chunks/{location-2p6gg44v.js → kv-2s8vd8mm.js} +16 -16
  34. package/dist/chunks/{location-n4r3xatb.js → kv-2vs2nh1n.js} +4 -4
  35. package/dist/chunks/{location-g8pm1eg0.js → kv-30s515de.js} +11 -11
  36. package/dist/chunks/{location-3cfzdc8e.js → kv-3cfzdc8e.js} +2 -2
  37. package/dist/chunks/{location-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{location-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-cdmrqbam.js → kv-3mmyb3r4.js} +20 -20
  40. package/dist/chunks/{location-0fj5p9dg.js → kv-3rvrx8bj.js} +38 -38
  41. package/dist/chunks/{location-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-dsp1hxq9.js → kv-40z4n3em.js} +21 -21
  44. package/dist/chunks/{location-vmwh049b.js → kv-43k56ejq.js} +9 -9
  45. package/dist/chunks/{location-knb7evpn.js → kv-44ke2mar.js} +2 -2
  46. package/dist/chunks/{location-8w4gja5v.js → kv-486pw2q1.js} +8 -8
  47. package/dist/chunks/{location-nyp6zeaz.js → kv-4f02dvhn.js} +3 -3
  48. package/dist/chunks/{location-dk3zb08y.js → kv-4hjcsytf.js} +7 -7
  49. package/dist/chunks/{location-k3vfx57e.js → kv-4mk9rtfy.js} +8 -8
  50. package/dist/chunks/{location-25r5rnx4.js → kv-4mma3ac2.js} +17 -17
  51. package/dist/chunks/{location-egxr99f1.js → kv-4t2nfrnb.js} +18 -18
  52. package/dist/chunks/{location-4y72ap3v.js → kv-4y72ap3v.js} +5 -5
  53. package/dist/chunks/{location-v40pwdea.js → kv-56fngz5a.js} +27 -27
  54. package/dist/chunks/{location-33w4ejhs.js → kv-56gdpj1q.js} +6 -6
  55. package/dist/chunks/{location-q8peyv7x.js → kv-57e9z27j.js} +5 -5
  56. package/dist/chunks/{location-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{location-nt93nnje.js → kv-58zjjv26.js} +9 -9
  58. package/dist/chunks/{location-vnn74pma.js → kv-5ajycw7n.js} +11 -11
  59. package/dist/chunks/{location-5daktx2q.js → kv-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-er54khy7.js → kv-5ejb7v9g.js} +4 -4
  61. package/dist/chunks/{location-kck4086h.js → kv-5f1ek92y.js} +20 -20
  62. package/dist/chunks/{location-0fws8hsh.js → kv-5hv2sp62.js} +41 -41
  63. package/dist/chunks/{location-62kxvbf2.js → kv-5jpmw9vp.js} +25 -25
  64. package/dist/chunks/{location-ydamxwc3.js → kv-5kvssbrq.js} +16 -16
  65. package/dist/chunks/{location-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{location-dgp71kyc.js → kv-5z7bk7sq.js} +12 -12
  67. package/dist/chunks/{location-gafq8thx.js → kv-5z7f6sft.js} +22 -22
  68. package/dist/chunks/{location-669tq793.js → kv-669tq793.js} +1 -1
  69. package/dist/chunks/{location-fg0na9z0.js → kv-6arw946r.js} +5 -5
  70. package/dist/chunks/{location-zhhtqbvz.js → kv-6bdkg2ca.js} +42 -42
  71. package/dist/chunks/kv-6kdq0pjd.js +4 -0
  72. package/dist/chunks/{location-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{location-wgrtt790.js → kv-6qcg8y9p.js} +39 -39
  74. package/dist/chunks/{location-6a605wbe.js → kv-733tzfxr.js} +50 -50
  75. package/dist/chunks/{location-7pxh4w28.js → kv-76hw6daw.js} +83 -83
  76. package/dist/chunks/{location-ynhykprc.js → kv-78kvvdfm.js} +10 -10
  77. package/dist/chunks/{location-x4ft4gxn.js → kv-79zxcn51.js} +37 -37
  78. package/dist/chunks/{location-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{location-zwv3ctjf.js → kv-7qya56nh.js} +40 -40
  80. package/dist/chunks/{location-95548ppq.js → kv-7vymbkvf.js} +11 -11
  81. package/dist/chunks/{location-mhkvc446.js → kv-7yh4e7ss.js} +3 -3
  82. package/dist/chunks/{location-ctecyn49.js → kv-7zedzqqc.js} +5 -5
  83. package/dist/chunks/{location-ynkdr5w5.js → kv-86jxetkv.js} +6 -6
  84. package/dist/chunks/{location-tcezcvh9.js → kv-89znhe33.js} +4 -4
  85. package/dist/chunks/{location-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{location-8r6rwc5s.js → kv-8nkkbt6n.js} +44 -44
  87. package/dist/chunks/{location-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{location-8t8275hn.js → kv-8qcv48pk.js} +11 -11
  89. package/dist/chunks/{location-xc9yqyqb.js → kv-8s725grq.js} +5 -5
  90. package/dist/chunks/{location-cr9wy6w1.js → kv-8sjzh31h.js} +8 -8
  91. package/dist/chunks/{location-486w7fxe.js → kv-8t0f4xs6.js} +47 -47
  92. package/dist/chunks/{location-ktqj97zq.js → kv-8ttk3n17.js} +8 -8
  93. package/dist/chunks/{location-1sn79vb4.js → kv-8w4wnn0h.js} +8 -8
  94. package/dist/chunks/{location-p9psax7t.js → kv-94yqh2e8.js} +18 -18
  95. package/dist/chunks/{location-sw9t6trv.js → kv-9jpkdkrd.js} +13 -13
  96. package/dist/chunks/{location-ek8mqh7t.js → kv-9nt1zxy2.js} +3 -3
  97. package/dist/chunks/{location-8aqjv0nr.js → kv-9p4fwp8b.js} +15 -15
  98. package/dist/chunks/{location-23sxaqwc.js → kv-9wjnegnz.js} +6 -6
  99. package/dist/chunks/{location-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{location-6hjx5zpb.js → kv-a3ftg8j6.js} +9 -9
  101. package/dist/chunks/{location-aaet6srn.js → kv-aaet6srn.js} +2 -2
  102. package/dist/chunks/{location-cjmgn8y7.js → kv-aj131gze.js} +20 -20
  103. package/dist/chunks/{location-y35sf2j4.js → kv-ajed71fh.js} +4 -4
  104. package/dist/chunks/{location-hxamr57h.js → kv-an64vcjs.js} +26 -26
  105. package/dist/chunks/{location-cavr175a.js → kv-axmvebxj.js} +21 -21
  106. package/dist/chunks/{location-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{location-rjqxc1v9.js → kv-b8hzf7nw.js} +6 -6
  108. package/dist/chunks/{location-00n4z9c8.js → kv-b9ddpge3.js} +24 -24
  109. package/dist/chunks/{location-bha4atvq.js → kv-bajakh74.js} +4 -4
  110. package/dist/chunks/{location-6k7g8b2m.js → kv-bb4x6fty.js} +1 -1
  111. package/dist/chunks/{location-fmveprfr.js → kv-bhna9v2j.js} +78 -78
  112. package/dist/chunks/{location-pvjjmvt0.js → kv-brk9z31q.js} +29 -29
  113. package/dist/chunks/{location-saskwv33.js → kv-bvf2mwpm.js} +17 -17
  114. package/dist/chunks/{location-18etdt57.js → kv-bzykmrpe.js} +28 -28
  115. package/dist/chunks/{location-4b260xn2.js → kv-c5twpqer.js} +4 -4
  116. package/dist/chunks/{location-cwa6csj7.js → kv-c765mh8b.js} +9 -9
  117. package/dist/chunks/{location-xrzwnsts.js → kv-cfhv7k6a.js} +39 -39
  118. package/dist/chunks/{location-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{location-nrgy2ypj.js → kv-cmce1137.js} +56 -56
  120. package/dist/chunks/{location-9f3c306s.js → kv-cmmaewg5.js} +17 -17
  121. package/dist/chunks/{location-26k5bknw.js → kv-csf2jhsg.js} +4 -4
  122. package/dist/chunks/{location-b6a6whtj.js → kv-d0bvbghy.js} +21 -21
  123. package/dist/chunks/{location-9myg4ep2.js → kv-d9w86zsm.js} +4 -4
  124. package/dist/chunks/{location-zfxxb779.js → kv-dda4ng2z.js} +18 -18
  125. package/dist/chunks/{location-64t5n8f6.js → kv-dg0zj9rc.js} +10 -10
  126. package/dist/chunks/{location-qteqqeas.js → kv-dj9933qw.js} +20 -20
  127. package/dist/chunks/{location-tbnvg551.js → kv-dkp5evny.js} +21 -21
  128. package/dist/chunks/{location-78z8y7xk.js → kv-ds5ra16e.js} +25 -25
  129. package/dist/chunks/{location-5wpr938k.js → kv-dsde1tat.js} +10 -10
  130. package/dist/chunks/{location-5qd3pb7m.js → kv-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/kv-e6q1f0vn.js +247 -0
  132. package/dist/chunks/{location-ahh4p74p.js → kv-eassb7n1.js} +168 -168
  133. package/dist/chunks/{location-jja9acsd.js → kv-eednvaqf.js} +13 -13
  134. package/dist/chunks/{location-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{location-gaxfpy5m.js → kv-ejmwa3hq.js} +25 -25
  136. package/dist/chunks/{location-494y9cte.js → kv-emn2gdya.js} +34 -34
  137. package/dist/chunks/{location-0hztt1kq.js → kv-erhqaezs.js} +9 -9
  138. package/dist/chunks/{location-dd1trpre.js → kv-es0gqzds.js} +11 -11
  139. package/dist/chunks/{location-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{location-1eyeymhy.js → kv-ew1a72pc.js} +3 -3
  141. package/dist/chunks/{location-1d2mbafx.js → kv-ex7b8h7r.js} +13 -13
  142. package/dist/chunks/{location-s2wcapj3.js → kv-f0b0r112.js} +5 -5
  143. package/dist/chunks/{location-z1gcgxr5.js → kv-f2exj34c.js} +26 -26
  144. package/dist/chunks/{location-bhjnpvv2.js → kv-f3dgvsw8.js} +11 -11
  145. package/dist/chunks/{location-ntcrhfhr.js → kv-f7s8hbxh.js} +9 -9
  146. package/dist/chunks/{location-f828m53h.js → kv-f828m53h.js} +2 -2
  147. package/dist/chunks/{location-k9kv5pgr.js → kv-ffydvhdg.js} +26 -26
  148. package/dist/chunks/{location-xzr5bprg.js → kv-fkz998zf.js} +7 -7
  149. package/dist/chunks/{location-2qrxnqfp.js → kv-fqsqydq6.js} +30 -30
  150. package/dist/chunks/{location-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{location-dcse214k.js → kv-g9vrwn0g.js} +6 -6
  152. package/dist/chunks/{location-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{location-6rtfy69a.js → kv-gm2mrtn0.js} +10 -10
  154. package/dist/chunks/{location-b80j8sws.js → kv-gpnb4v3s.js} +2 -2
  155. package/dist/chunks/{location-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{location-mrgw8ysz.js → kv-gv7651na.js} +11 -11
  157. package/dist/chunks/{location-wvkrr4sa.js → kv-gwyqmf4m.js} +3 -3
  158. package/dist/chunks/{location-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{location-50hsvrdv.js → kv-h0xcb7xj.js} +32 -32
  160. package/dist/chunks/{location-gg6cnatt.js → kv-h0z4he29.js} +13 -13
  161. package/dist/chunks/{location-gt4y1qkk.js → kv-h2d3vczp.js} +11 -11
  162. package/dist/chunks/{location-44h5tttr.js → kv-h6r3nrb9.js} +4 -4
  163. package/dist/chunks/{location-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{location-7mamhmm7.js → kv-hb42574n.js} +4 -4
  165. package/dist/chunks/{location-0496x3fd.js → kv-hkr4fqfj.js} +35 -35
  166. package/dist/chunks/{location-06t18zr6.js → kv-hmmy7jr3.js} +11 -11
  167. package/dist/chunks/{location-j56e64zr.js → kv-j56e64zr.js} +1 -1
  168. package/dist/chunks/{location-jppvw2tx.js → kv-jppvw2tx.js} +2 -2
  169. package/dist/chunks/kv-jqh9b0xq.js +18 -0
  170. package/dist/chunks/{location-dmwb5j6b.js → kv-jsqsfp37.js} +2 -2
  171. package/dist/chunks/{location-wbkyxrgf.js → kv-jv01nqvq.js} +5 -5
  172. package/dist/chunks/{location-98s8e1rw.js → kv-jw4s1zfv.js} +11 -11
  173. package/dist/chunks/{location-ykn0ce9z.js → kv-k1vhadgv.js} +29 -29
  174. package/dist/chunks/{location-qfx1fv8t.js → kv-k2rxmz7t.js} +30 -30
  175. package/dist/chunks/{location-abe9ad8b.js → kv-k3qckhrx.js} +10 -10
  176. package/dist/chunks/{location-ztza8yfw.js → kv-k91wvfsp.js} +6 -6
  177. package/dist/chunks/{location-qqegwzzx.js → kv-kayrkw4c.js} +48 -48
  178. package/dist/chunks/{location-n0e5d28z.js → kv-kj59q98p.js} +4 -4
  179. package/dist/chunks/{location-fad6j005.js → kv-kp15nsp5.js} +8 -8
  180. package/dist/chunks/{location-wnbvcgmq.js → kv-krc64kd0.js} +23 -23
  181. package/dist/chunks/{location-zagjgefr.js → kv-kssyrpt2.js} +43 -43
  182. package/dist/chunks/{location-5a8cmj9a.js → kv-kw20pb70.js} +30 -30
  183. package/dist/chunks/{location-5ap504dp.js → kv-kxwrs7pr.js} +9 -9
  184. package/dist/chunks/{location-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{location-mwth6yg5.js → kv-m5v2682m.js} +10 -10
  186. package/dist/chunks/{location-a3hwp3ky.js → kv-m7jzmcb1.js} +17 -17
  187. package/dist/chunks/{location-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{location-mbzssvbs.js → kv-mers118w.js} +4 -4
  189. package/dist/chunks/{location-8hvvgkp1.js → kv-mzstg76z.js} +5 -5
  190. package/dist/chunks/{location-ts3vzd1n.js → kv-n8rnw80z.js} +11 -11
  191. package/dist/chunks/{location-g82ree5z.js → kv-naacnpm8.js} +26 -26
  192. package/dist/chunks/{location-gv620b2y.js → kv-nkx67cjw.js} +26 -26
  193. package/dist/chunks/{location-kmnqxjps.js → kv-nmtt5z3v.js} +15 -15
  194. package/dist/chunks/{location-g4damz2s.js → kv-nsgsffy1.js} +13 -13
  195. package/dist/chunks/{location-6sanwebc.js → kv-ntm8zpk5.js} +23 -23
  196. package/dist/chunks/{location-nzks3jc8.js → kv-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{location-pkzh3qng.js → kv-p8sbnyjj.js} +10 -10
  198. package/dist/chunks/{location-vxtegm14.js → kv-pgxxehqc.js} +8 -8
  199. package/dist/chunks/{location-5yzzbxa7.js → kv-phstrbs2.js} +8 -8
  200. package/dist/chunks/{location-4xcd1knb.js → kv-pj3w115z.js} +14 -14
  201. package/dist/chunks/{location-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{location-pknna89w.js → kv-pknna89w.js} +1 -1
  203. package/dist/chunks/{location-yvzbnmva.js → kv-pm9n5w5j.js} +27 -27
  204. package/dist/chunks/{location-fhs97t90.js → kv-pnv527nz.js} +9 -9
  205. package/dist/chunks/{location-1rgdf1rr.js → kv-pvbcmb1z.js} +14 -14
  206. package/dist/chunks/{location-5cmxdwv8.js → kv-pxt4kznk.js} +3 -3
  207. package/dist/chunks/{location-a3mksyy2.js → kv-q0tbq2v7.js} +3 -3
  208. package/dist/chunks/{location-tgc1gxnk.js → kv-q4sd4tae.js} +22 -22
  209. package/dist/chunks/{location-7dqw4kz8.js → kv-qgn6gcr1.js} +5 -5
  210. package/dist/chunks/{location-59dzktqd.js → kv-qr6yw9fr.js} +4 -4
  211. package/dist/chunks/{location-qsdy395h.js → kv-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-jbwprqzn.js → kv-qz6vgd90.js} +20 -20
  213. package/dist/chunks/kv-r43zyezs.js +26 -0
  214. package/dist/chunks/{location-v5dkyp31.js → kv-ratrq7cm.js} +4 -4
  215. package/dist/chunks/{location-2acx5bed.js → kv-raxyzsfz.js} +27 -27
  216. package/dist/chunks/{location-zxebshr7.js → kv-rdmz8hsf.js} +7 -7
  217. package/dist/chunks/{location-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{location-vmgq4x8b.js → kv-rfkfgx1j.js} +2 -2
  219. package/dist/chunks/{location-6z0vzmdg.js → kv-rh6t3e8x.js} +3 -3
  220. package/dist/chunks/{location-xbtv5mhj.js → kv-rvzwhx54.js} +13 -13
  221. package/dist/chunks/{location-5sgk8ws7.js → kv-rxqqjfzp.js} +11 -11
  222. package/dist/chunks/{location-kjayet2y.js → kv-s3bhbpvq.js} +23 -23
  223. package/dist/chunks/{location-yrznvahk.js → kv-s4enseaf.js} +2 -2
  224. package/dist/chunks/{location-4yv3tfyh.js → kv-s65c0x9p.js} +20 -20
  225. package/dist/chunks/{location-xsskq6cm.js → kv-s6j8v3s8.js} +3 -3
  226. package/dist/chunks/{location-7aath5aj.js → kv-sawgakpg.js} +26 -26
  227. package/dist/chunks/{location-0h0a48ec.js → kv-sfqz58mj.js} +11 -11
  228. package/dist/chunks/{location-xz6s1xa8.js → kv-smjnka0s.js} +16 -16
  229. package/dist/chunks/{location-2v0smvdr.js → kv-st792bcc.js} +4 -4
  230. package/dist/chunks/{location-ycjb11n5.js → kv-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{location-eaj1djv9.js → kv-t550f9t1.js} +8 -8
  232. package/dist/chunks/{location-hc9acsgr.js → kv-tat11k01.js} +9 -9
  233. package/dist/chunks/{location-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-2tphjjya.js → kv-tcss7r4m.js} +16 -16
  235. package/dist/chunks/{location-tdstcens.js → kv-tdstcens.js} +1 -1
  236. package/dist/chunks/{location-4pkxdsqk.js → kv-te74vz4q.js} +16 -16
  237. package/dist/chunks/{location-mcf7gtm1.js → kv-tpjzmvfb.js} +27 -27
  238. package/dist/chunks/{location-b97cbvw3.js → kv-ts2x07a1.js} +1 -1
  239. package/dist/chunks/{location-tvtrv512.js → kv-tvtrv512.js} +1 -1
  240. package/dist/chunks/{location-5gjmv7pj.js → kv-v91y0v9g.js} +13 -13
  241. package/dist/chunks/{location-veqvce7d.js → kv-veqvce7d.js} +1 -1
  242. package/dist/chunks/{location-fr5ztnz3.js → kv-vmk9mvqb.js} +15 -15
  243. package/dist/chunks/{location-vncycja5.js → kv-vncycja5.js} +1 -1
  244. package/dist/chunks/{location-x5p3q6jj.js → kv-vnjtnw93.js} +26 -26
  245. package/dist/chunks/{location-92azg307.js → kv-vnwmzs4a.js} +5 -5
  246. package/dist/chunks/{location-c3jt164g.js → kv-vr9kmahe.js} +15 -15
  247. package/dist/chunks/{location-htjddf50.js → kv-vrs00ymw.js} +15 -15
  248. package/dist/chunks/{location-4445jz97.js → kv-vw0mje16.js} +17 -17
  249. package/dist/chunks/{location-79etttnd.js → kv-vw6s94gm.js} +29 -29
  250. package/dist/chunks/{location-9ex8f1cq.js → kv-vwpcpzep.js} +8 -8
  251. package/dist/chunks/{location-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{location-hes91rk8.js → kv-w3p0s651.js} +23 -23
  253. package/dist/chunks/{location-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{location-37w33ens.js → kv-w9m92w4h.js} +24 -24
  255. package/dist/chunks/{location-qnkt5fks.js → kv-wa80ned2.js} +15 -15
  256. package/dist/chunks/{location-wd87259q.js → kv-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-rr7630r8.js → kv-wg2h0j76.js} +31 -31
  258. package/dist/chunks/{location-8dem3s5f.js → kv-wtqhjh8n.js} +7 -7
  259. package/dist/chunks/{location-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{location-c7q16h9q.js → kv-x6mv5yfh.js} +11 -11
  261. package/dist/chunks/{location-a0kv3qe5.js → kv-x9r10vm9.js} +3 -3
  262. package/dist/chunks/{location-mmftb33c.js → kv-xbbzma59.js} +10 -10
  263. package/dist/chunks/{location-drwq78ky.js → kv-xfkkasph.js} +4 -4
  264. package/dist/chunks/{location-ay3b2ggg.js → kv-xjqh7bfx.js} +8 -8
  265. package/dist/chunks/{location-qmhk62hb.js → kv-xmpfc1gs.js} +12 -12
  266. package/dist/chunks/{location-6z0fr5t2.js → kv-xy5avtrt.js} +8 -8
  267. package/dist/chunks/{location-mg7x2rv6.js → kv-xywpwyc5.js} +18 -18
  268. package/dist/chunks/{location-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-5g14qra5.js → kv-y4wgp3m0.js} +12 -12
  270. package/dist/chunks/{location-y71avatq.js → kv-y71avatq.js} +1 -1
  271. package/dist/chunks/{location-hcq3pck3.js → kv-y7rwcvzy.js} +18 -18
  272. package/dist/chunks/{location-cd9h2kba.js → kv-y90d6qtx.js} +294 -294
  273. package/dist/chunks/{location-7j5hs3da.js → kv-y98x5tmy.js} +20 -20
  274. package/dist/chunks/{location-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{location-d2aac7k2.js → kv-yt0fqk68.js} +5 -5
  276. package/dist/chunks/{location-e4wmmsry.js → kv-yvm5nvj7.js} +11 -11
  277. package/dist/chunks/{location-0qznmr0s.js → kv-yxb2cccm.js} +5 -5
  278. package/dist/chunks/{location-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-xtcpx0xj.js → kv-zb69vxd0.js} +63 -63
  280. package/dist/chunks/{location-mqvx4cv3.js → kv-zeb3xvh4.js} +11 -11
  281. package/dist/chunks/{location-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{location-ttkf10kh.js → kv-zm6zsx8f.js} +16 -16
  283. package/dist/chunks/{location-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-8dj191es.js → kv-zr3jfe2b.js} +35 -35
  285. package/dist/chunks/{location-ekztwtwh.js → kv-zrj8cget.js} +1 -1
  286. package/dist/chunks/{location-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{location-s01fwkep.js → kv-zz95z75b.js} +8 -8
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +80 -80
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  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 +122 -122
  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 +121 -121
  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 +125 -125
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  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 +69 -69
  411. package/dist/file-access.js +103 -103
  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 +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +104 -104
  431. package/dist/git.js +6 -6
  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 +356 -356
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +5 -5
  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 +131 -131
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +80 -80
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +95 -95
  477. package/dist/model.js +99 -99
  478. package/dist/models-dev.js +100 -100
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +116 -116
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +81 -81
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +103 -103
  489. package/dist/plugin/command.js +100 -100
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +228 -228
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +100 -100
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +220 -220
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +89 -89
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +116 -116
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +229 -229
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +217 -217
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +109 -109
  626. package/dist/snapshot.js +92 -92
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -124
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +122 -122
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +218 -218
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +97 -97
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +12 -12
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/attachment.js +2 -2
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +1 -1
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +81 -81
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +97 -97
  689. package/package.json +8 -8
  690. package/dist/chunks/location-0kdkcf2f.js +0 -26
  691. package/dist/chunks/location-0mesazry.js +0 -4
  692. package/dist/chunks/location-f3feb8zp.js +0 -247
  693. package/dist/chunks/location-rap9a73h.js +0 -18
  694. /package/dist/chunks/{location-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-24dcb14g.js → kv-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-2710q6r3.js → kv-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{location-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{location-359p4xyc.js → kv-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{location-3asan66x.js → kv-3asan66x.js} +0 -0
  705. /package/dist/chunks/{location-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{location-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{location-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-53557ph1.js → kv-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-550bvhaj.js → kv-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-6prwharc.js → kv-6prwharc.js} +0 -0
  715. /package/dist/chunks/{location-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{location-7m9af43g.js → kv-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{location-822emrt2.js → kv-822emrt2.js} +0 -0
  718. /package/dist/chunks/{location-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{location-8n3pysct.js → kv-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{location-922hggd3.js → kv-922hggd3.js} +0 -0
  721. /package/dist/chunks/{location-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{location-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{location-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{location-af5trqkr.js → kv-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{location-afrmfg78.js → kv-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{location-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{location-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{location-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{location-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{location-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{location-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{location-d9fn303g.js → kv-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{location-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{location-dajrwvna.js → kv-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{location-dap0rakb.js → kv-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{location-df08tz66.js → kv-df08tz66.js} +0 -0
  737. /package/dist/chunks/{location-dy18nga0.js → kv-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{location-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{location-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{location-ec1grn59.js → kv-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{location-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{location-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{location-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{location-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{location-faypxj3z.js → kv-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{location-fd410y7t.js → kv-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{location-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{location-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{location-g86h250q.js → kv-g86h250q.js} +0 -0
  750. /package/dist/chunks/{location-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{location-gftt206x.js → kv-gftt206x.js} +0 -0
  752. /package/dist/chunks/{location-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{location-hk9envan.js → kv-hk9envan.js} +0 -0
  754. /package/dist/chunks/{location-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{location-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{location-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{location-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{location-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{location-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{location-mp448xyj.js → kv-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{location-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{location-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{location-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{location-njntx4h6.js → kv-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{location-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{location-q74kybfr.js → kv-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{location-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{location-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{location-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{location-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{location-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{location-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{location-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{location-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{location-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{location-twg0f83k.js → kv-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{location-w803qqfp.js → kv-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{location-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{location-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{location-wtztk69x.js → kv-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{location-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{location-x61499pn.js → kv-x61499pn.js} +0 -0
  783. /package/dist/chunks/{location-y44na4kk.js → kv-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{location-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{location-y8f7s663.js → kv-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{location-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{location-ym463w8f.js → kv-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{location-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-4b260xn2.js";
4
+ } from "./kv-c5twpqer.js";
5
5
  import {
6
6
  Service78,
7
7
  node82
8
- } from "./location-b80j8sws.js";
8
+ } from "./kv-gpnb4v3s.js";
9
9
  import {
10
- ID2
11
- } from "./location-0mesazry.js";
10
+ ID4
11
+ } from "./kv-6kdq0pjd.js";
12
12
  import {
13
- Service49,
13
+ Service56,
14
14
  login2,
15
- node53
16
- } from "./location-mg7x2rv6.js";
15
+ node59
16
+ } from "./kv-xywpwyc5.js";
17
17
  import {
18
18
  lazy2
19
- } from "./location-88xbtdfr.js";
19
+ } from "./kv-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./location-9rqn6x4v.js";
22
+ } from "./kv-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event3,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event5,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info2,
30
+ Info: () => Info5,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service14,
33
+ Service: () => Service21,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node16
35
+ node: () => node24
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event3 } from "@opencode/schema/pty";
40
+ import { Event as Event5 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info2 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info5 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
48
  class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID2
49
+ ptyID: ID4
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID2
54
+ ptyID: ID4
55
55
  }) {
56
56
  }
57
57
 
58
- class Service14 extends Context.Service()("@opencode/Pty") {
58
+ class Service21 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service14, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
61
61
  const bus = yield* Service81;
62
62
  const location = yield* Service78;
63
- const shell = yield* Service49;
63
+ const shell = yield* Service56;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID2.ascending();
126
+ const id = ID4.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service14.of({ list, get, create, update, remove, write, attach });
271
+ return Service21.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node16 = makeLocationNode({
274
- service: Service14,
273
+ var node24 = makeLocationNode({
274
+ service: Service21,
275
275
  layer,
276
- deps: [node85, node82, node53]
276
+ deps: [node85, node82, node59]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event3 };
279
+ export { Info5, CreateInput3, UpdateInput2, NotFoundError2, ExitedError2, Service21, node24, exports_pty, Event5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-nyp6zeaz.js";
4
+ } from "./kv-4f02dvhn.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./location-2710q6r3.js";
8
+ } from "./kv-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./location-y71avatq.js";
11
+ } from "./kv-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-rdw6cm16.js";
3
+ } from "./kv-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node14
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service12, node14, exports_location_watcher_policy };
53
+ export { Service7, node9, exports_location_watcher_policy };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./location-922hggd3.js";
4
+ } from "./kv-922hggd3.js";
5
5
  import {
6
- Info13
7
- } from "./location-cavr175a.js";
6
+ Info22
7
+ } from "./kv-axmvebxj.js";
8
8
  import {
9
- Info10
10
- } from "./location-fad6j005.js";
9
+ Info20
10
+ } from "./kv-kp15nsp5.js";
11
11
  import {
12
12
  Info16
13
- } from "./location-3cfzdc8e.js";
13
+ } from "./kv-3cfzdc8e.js";
14
14
  import {
15
- Info12
16
- } from "./location-v5dkyp31.js";
15
+ Info15
16
+ } from "./kv-ratrq7cm.js";
17
17
  import {
18
- Info17
19
- } from "./location-23sxaqwc.js";
18
+ Info19
19
+ } from "./kv-9wjnegnz.js";
20
20
  import {
21
21
  Layout2
22
- } from "./location-21r38tys.js";
22
+ } from "./kv-21r38tys.js";
23
23
  import {
24
- Info11
25
- } from "./location-e6hd9jay.js";
24
+ Info21
25
+ } from "./kv-2jmaghvr.js";
26
26
  import {
27
- Info18
28
- } from "./location-d2aac7k2.js";
27
+ Info17
28
+ } from "./kv-yt0fqk68.js";
29
29
  import {
30
30
  Spec2
31
- } from "./location-7dqw4kz8.js";
31
+ } from "./kv-qgn6gcr1.js";
32
32
  import {
33
- Info15
34
- } from "./location-wbkyxrgf.js";
33
+ Info18
34
+ } from "./kv-jv01nqvq.js";
35
35
  import {
36
36
  Server2
37
- } from "./location-zeh9ct20.js";
37
+ } from "./kv-zeh9ct20.js";
38
38
  import {
39
39
  Info14
40
- } from "./location-vncycja5.js";
40
+ } from "./kv-vncycja5.js";
41
41
  import {
42
42
  __export
43
- } from "./location-9rqn6x4v.js";
43
+ } from "./kv-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info9,
49
+ Info: () => Info13,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info9 = Schema.Struct({
62
+ var Info13 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,7 +68,7 @@ var Info9 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info12)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
74
  skills: Schema.optional(Info14).annotate({ description: "Additional skill folder paths" }),
@@ -113,31 +113,31 @@ var Info9 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info10), plan: Schema.optional(Info10) }), [Schema.Record(Schema.String, Info10)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info20), plan: Schema.optional(Info20) }), [Schema.Record(Schema.String, Info20)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info10),
119
- build: Schema.optional(Info10),
120
- general: Schema.optional(Info10),
121
- explore: Schema.optional(Info10),
122
- title: Schema.optional(Info10),
123
- summary: Schema.optional(Info10),
124
- compaction: Schema.optional(Info10)
125
- }), [Schema.Record(Schema.String, Info10)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
118
+ plan: Schema.optional(Info20),
119
+ build: Schema.optional(Info20),
120
+ general: Schema.optional(Info20),
121
+ explore: Schema.optional(Info20),
122
+ title: Schema.optional(Info20),
123
+ summary: Schema.optional(Info20),
124
+ compaction: Schema.optional(Info20)
125
+ }), [Schema.Record(Schema.String, Info20)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info17).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info17, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info19).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info11).annotate({
133
+ lsp: Schema.optional(Info21).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
137
137
  description: "Additional instruction files or patterns to include"
138
138
  }),
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
- permission: Schema.optional(Info13),
140
+ permission: Schema.optional(Info22),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
142
  attachment: Schema.optional(Info16).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info9, exports_config2 };
194
+ export { WellKnown2, Info13, exports_config2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./location-6msgmcgs.js";
3
+ } from "./kv-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./location-8p4f9s12.js";
6
+ } from "./kv-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-4b260xn2.js";
4
+ } from "./kv-c5twpqer.js";
5
5
  import {
6
6
  Service78,
7
7
  node82
8
- } from "./location-b80j8sws.js";
8
+ } from "./kv-gpnb4v3s.js";
9
9
  import {
10
- ID15,
11
- Service76,
12
- node80
13
- } from "./location-dsp1hxq9.js";
10
+ ID10,
11
+ Service65,
12
+ node69
13
+ } from "./kv-40z4n3em.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./location-vmwh049b.js";
15
+ NotFoundError7
16
+ } from "./kv-43k56ejq.js";
17
17
  import {
18
- Service75,
19
- node79
20
- } from "./location-z50dt07a.js";
18
+ Service48,
19
+ node50
20
+ } from "./kv-26kj7k6y.js";
21
21
  import {
22
22
  match2
23
- } from "./location-y1fvbwt7.js";
23
+ } from "./kv-y1fvbwt7.js";
24
24
  import {
25
- Service74,
26
- node78
27
- } from "./location-qnkt5fks.js";
25
+ Service49,
26
+ node51
27
+ } from "./kv-wa80ned2.js";
28
28
  import {
29
- Service77,
30
- node81
31
- } from "./location-2eegacq4.js";
29
+ Service75,
30
+ node79
31
+ } from "./kv-166kng33.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./kv-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError9,
48
- Permission: () => exports_permission2,
49
- Reply: () => Reply3,
45
+ Event: () => Event11,
46
+ ID: () => ID6,
47
+ NotFoundError: () => NotFoundError6,
48
+ Permission: () => exports_permission,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
52
- Rule: () => Rule3,
51
+ Request: () => Request2,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service73,
54
+ Service: () => Service47,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node77
58
+ node: () => node49
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event11 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID6 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID6.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID6,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID6,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID6
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service73 extends Context.Service()("@opencode/Permission") {
128
+ class Service47 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service73, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
131
131
  const bus = yield* Service81;
132
132
  const location = yield* Service78;
133
- const agents = yield* Service76;
134
- const sessions = yield* Service75;
135
- const saved = yield* Service74;
136
- const hooks = yield* Service77;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service48;
135
+ const saved = yield* Service49;
136
+ const hooks = yield* Service75;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError10({ sessionID });
153
+ return yield* new NotFoundError7({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID13.create(),
183
+ id: input.id ?? ID6.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError9({ requestID: input.requestID });
231
+ return yield* new NotFoundError6({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service73.of({ ask, assert, reply, get, forSession, list });
286
+ return Service47.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node77 = makeLocationNode({
289
- service: Service73,
288
+ var node49 = makeLocationNode({
289
+ service: Service47,
290
290
  layer,
291
- deps: [node85, node82, node80, node79, node78, node81]
291
+ deps: [node85, node82, node69, node50, node51, node79]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service73, node77, exports_permission2, Rule3, Ruleset2, Event19 };
294
+ export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service47, node49, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-922hggd3.js";
3
+ } from "./kv-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./location-4y72ap3v.js";
7
+ } from "./kv-4y72ap3v.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./location-2402vzrj.js";
13
+ } from "./kv-2402vzrj.js";
14
14
  import {
15
- Service68,
16
- node72
17
- } from "./location-ynhykprc.js";
15
+ Service58,
16
+ node61
17
+ } from "./kv-78kvvdfm.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./kv-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service45,
33
+ Service: () => Service55,
34
34
  isError: () => isError2,
35
- node: () => node49,
35
+ node: () => node58,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service45 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service55 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service45, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service80;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service68;
110
- return Service45.of({
109
+ const kv = yield* Service58;
110
+ return Service55.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node49 = makeGlobalNode({
171
- service: Service45,
170
+ var node58 = makeGlobalNode({
171
+ service: Service55,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node72]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node61]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node49, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service55, isError2, validateBranch2, node58, exports_repository_cache };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info29,
8
+ Info: () => Info11,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info29 = SessionProviderContext.Info;
22
+ var Info11 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info29, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };