@opencode/core 0.0.0-dev-20303 → 0.0.0-dev-20308

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 (800) 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/{ripgrep-35agz59w.js → job-0gaj4617.js} +6 -6
  8. package/dist/chunks/{ripgrep-t550f9t1.js → job-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{ripgrep-dr2s0fjn.js → job-0hj7f8b1.js} +12 -12
  10. package/dist/chunks/{ripgrep-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{ripgrep-yp2x3t23.js → job-1acjjqhc.js} +4 -4
  12. package/dist/chunks/{ripgrep-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  13. package/dist/chunks/{ripgrep-eqd5gpxy.js → job-1h677gbv.js} +44 -44
  14. package/dist/chunks/{ripgrep-mwyh8wfh.js → job-1rv33rkb.js} +29 -29
  15. package/dist/chunks/{ripgrep-t849abxh.js → job-1sxx6fsp.js} +12 -11
  16. package/dist/chunks/{ripgrep-x591492r.js → job-1z0m13e0.js} +17 -17
  17. package/dist/chunks/{ripgrep-21r38tys.js → job-21r38tys.js} +1 -1
  18. package/dist/chunks/{ripgrep-pttkx1dj.js → job-24p25g07.js} +24 -24
  19. package/dist/chunks/{ripgrep-z63w68vq.js → job-29x78va6.js} +6 -6
  20. package/dist/chunks/{ripgrep-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  21. package/dist/chunks/{ripgrep-2qtr0tge.js → job-2ahzp3mf.js} +45 -45
  22. package/dist/chunks/{ripgrep-wybk36vp.js → job-2cbr8e0c.js} +10 -10
  23. package/dist/chunks/{ripgrep-sm965ndy.js → job-2n295dmf.js} +8 -8
  24. package/dist/chunks/{ripgrep-wj1rks9h.js → job-2n4xx9gy.js} +34 -34
  25. package/dist/chunks/{ripgrep-v5fx191f.js → job-2vbzmx28.js} +28 -28
  26. package/dist/chunks/{ripgrep-zmyzpzwz.js → job-2wgne18z.js} +5 -5
  27. package/dist/chunks/{ripgrep-nn5bpfje.js → job-2wmg4f4f.js} +9 -9
  28. package/dist/chunks/{ripgrep-e4dzh796.js → job-32fmsm3t.js} +9 -9
  29. package/dist/chunks/{ripgrep-1jd7dvgb.js → job-3akh1e1y.js} +11 -11
  30. package/dist/chunks/{ripgrep-dj9sq318.js → job-3cfzdc8e.js} +5 -5
  31. package/dist/chunks/{ripgrep-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{ripgrep-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{ripgrep-pa8pe2x7.js → job-3hfr6h8q.js} +6 -6
  34. package/dist/chunks/{ripgrep-sd5f6jdk.js → job-3ppptnan.js} +6 -6
  35. package/dist/chunks/{ripgrep-7j2mf0b2.js → job-3qr6z643.js} +31 -31
  36. package/dist/chunks/{ripgrep-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{ripgrep-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{ripgrep-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{ripgrep-xsbrecyh.js → job-424p9vrf.js} +12 -12
  40. package/dist/chunks/{ripgrep-6ejtffh2.js → job-45yvnd99.js} +13 -13
  41. package/dist/chunks/{ripgrep-h2r7bbkd.js → job-49w8mb30.js} +11 -11
  42. package/dist/chunks/{ripgrep-j726xjcb.js → job-4j3r6a40.js} +32 -32
  43. package/dist/chunks/{ripgrep-pvvafe22.js → job-4j555vrs.js} +8 -8
  44. package/dist/chunks/job-4pea7kwr.js +252 -0
  45. package/dist/chunks/{ripgrep-552s6kfz.js → job-4taxxdqg.js} +15 -15
  46. package/dist/chunks/{ripgrep-mtf32xg9.js → job-50qj6gdt.js} +11 -11
  47. package/dist/chunks/{ripgrep-54ma36ye.js → job-54ma36ye.js} +1 -1
  48. package/dist/chunks/{ripgrep-9gjvwznx.js → job-553y2gq9.js} +27 -27
  49. package/dist/chunks/{ripgrep-1ygqh575.js → job-56gdpj1q.js} +9 -9
  50. package/dist/chunks/{ripgrep-w1ad28wa.js → job-57e9z27j.js} +8 -8
  51. package/dist/chunks/{ripgrep-57ez7d0k.js → job-57ez7d0k.js} +2 -2
  52. package/dist/chunks/{ripgrep-djszqvmq.js → job-5d607bsg.js} +9 -9
  53. package/dist/chunks/{ripgrep-5daktx2q.js → job-5daktx2q.js} +1 -1
  54. package/dist/chunks/{ripgrep-s5hrj64x.js → job-5e8mqnd8.js} +17 -17
  55. package/dist/chunks/{ripgrep-rkdvqggb.js → job-5hx7d1d6.js} +5 -5
  56. package/dist/chunks/{ripgrep-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{ripgrep-4858gwxg.js → job-5w7ejsbb.js} +43 -43
  58. package/dist/chunks/{ripgrep-669tq793.js → job-669tq793.js} +1 -1
  59. package/dist/chunks/{ripgrep-yyksnw28.js → job-69jpdfym.js} +25 -25
  60. package/dist/chunks/{ripgrep-v6695139.js → job-6jhkbw0q.js} +11 -11
  61. package/dist/chunks/{ripgrep-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{ripgrep-rkprpv83.js → job-6pc27hjz.js} +6 -6
  63. package/dist/chunks/{ripgrep-amjwwp15.js → job-6rj7h2ys.js} +22 -22
  64. package/dist/chunks/{ripgrep-q1v5hekz.js → job-6za4hq8m.js} +11 -11
  65. package/dist/chunks/{ripgrep-3c4e9bh1.js → job-6zx481ey.js} +7 -7
  66. package/dist/chunks/{ripgrep-aa6tf4fy.js → job-71wqcp91.js} +20 -20
  67. package/dist/chunks/{ripgrep-8djhgsab.js → job-7agfqtw3.js} +25 -25
  68. package/dist/chunks/{ripgrep-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{ripgrep-7dqw4kz8.js → job-7dqw4kz8.js} +1 -1
  70. package/dist/chunks/{ripgrep-2x0wkexj.js → job-7e4xncrr.js} +33 -33
  71. package/dist/chunks/{ripgrep-8q7cq0y1.js → job-7w99qc9d.js} +3 -3
  72. package/dist/chunks/{ripgrep-5vqak28j.js → job-7xzey4tr.js} +15 -15
  73. package/dist/chunks/{ripgrep-v9htzwy6.js → job-7zfqyb6c.js} +43 -43
  74. package/dist/chunks/{ripgrep-kb6vbnxp.js → job-7zpeh0yx.js} +4 -4
  75. package/dist/chunks/{ripgrep-fj137pk4.js → job-83v5g6vg.js} +4 -4
  76. package/dist/chunks/{ripgrep-w1eejvng.js → job-84txncab.js} +5 -5
  77. package/dist/chunks/{ripgrep-dtyy8xh0.js → job-89279mjp.js} +18 -18
  78. package/dist/chunks/{ripgrep-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{ripgrep-eefdys5x.js → job-8p0n7j1z.js} +2 -2
  80. package/dist/chunks/{ripgrep-3p17jnne.js → job-8t9vgpv1.js} +11 -11
  81. package/dist/chunks/{ripgrep-kmjdna7m.js → job-8tjazxg5.js} +47 -47
  82. package/dist/chunks/{ripgrep-ycg97etn.js → job-8v096v85.js} +145 -145
  83. package/dist/chunks/{ripgrep-94ek1h2f.js → job-94ek1h2f.js} +2 -2
  84. package/dist/chunks/{ripgrep-3es9bxre.js → job-9jg3j1z9.js} +17 -17
  85. package/dist/chunks/{ripgrep-qcbzzkxa.js → job-9s00xzx6.js} +32 -32
  86. package/dist/chunks/{ripgrep-srep0201.js → job-9vzhd98t.js} +48 -48
  87. package/dist/chunks/{ripgrep-zrq8kphx.js → job-9y0w708y.js} +8 -8
  88. package/dist/chunks/{ripgrep-h93zm1px.js → job-a0gtteda.js} +7 -7
  89. package/dist/chunks/{ripgrep-4438m4a7.js → job-a17bsvhh.js} +20 -20
  90. package/dist/chunks/{ripgrep-8wbxkt1z.js → job-a2rpfkac.js} +4 -4
  91. package/dist/chunks/{ripgrep-kcetpk2c.js → job-a493fwmx.js} +12 -12
  92. package/dist/chunks/{ripgrep-aaet6srn.js → job-aaet6srn.js} +2 -2
  93. package/dist/chunks/{ripgrep-8epfg41c.js → job-ab780k9s.js} +8 -8
  94. package/dist/chunks/{ripgrep-w8wd44rg.js → job-ahth1nzs.js} +16 -16
  95. package/dist/chunks/{ripgrep-9tn9hv36.js → job-arzm1sew.js} +24 -24
  96. package/dist/chunks/{ripgrep-jpz1sap8.js → job-axdw2ewc.js} +16 -16
  97. package/dist/chunks/{ripgrep-r9w59ptg.js → job-azm3d0kz.js} +12 -12
  98. package/dist/chunks/{ripgrep-cztphjx7.js → job-b5a9p79a.js} +335 -335
  99. package/dist/chunks/{ripgrep-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{ripgrep-jkfm4w29.js → job-b8mr6ake.js} +36 -36
  101. package/dist/chunks/{ripgrep-yhc2xmq5.js → job-bnzwt7hj.js} +1 -1
  102. package/dist/chunks/{ripgrep-qfchpyts.js → job-bpra0bax.js} +27 -27
  103. package/dist/chunks/{ripgrep-y1cgxa56.js → job-bsdkd9h2.js} +16 -16
  104. package/dist/chunks/{ripgrep-w2y23yj1.js → job-btr6y0gg.js} +13 -13
  105. package/dist/chunks/{ripgrep-8qxm69fb.js → job-bz16qpmj.js} +16 -16
  106. package/dist/chunks/{ripgrep-0996nyz8.js → job-bzgcn0jp.js} +9 -9
  107. package/dist/chunks/{ripgrep-mjpfq375.js → job-c032mhjs.js} +18 -18
  108. package/dist/chunks/{ripgrep-8vxvqh3p.js → job-c08qq4nr.js} +23 -23
  109. package/dist/chunks/{ripgrep-pf2cvmpq.js → job-c1dm0a9y.js} +75 -75
  110. package/dist/chunks/{ripgrep-ngymw408.js → job-c42r5b8w.js} +4 -4
  111. package/dist/chunks/{ripgrep-qa3v0gpg.js → job-c45hf4m4.js} +24 -24
  112. package/dist/chunks/{ripgrep-k8e0krnc.js → job-c576t1j6.js} +6 -6
  113. package/dist/chunks/{ripgrep-e65wgfyf.js → job-c6h0kh0m.js} +13 -13
  114. package/dist/chunks/{ripgrep-gmfetzq4.js → job-ce1apvbh.js} +43 -35
  115. package/dist/chunks/{ripgrep-r2rgjgj7.js → job-ck6z855k.js} +33 -33
  116. package/dist/chunks/{ripgrep-ckecvw8r.js → job-ckecvw8r.js} +2 -2
  117. package/dist/chunks/{ripgrep-d9wxm2fe.js → job-cpjznzh0.js} +8 -8
  118. package/dist/chunks/{ripgrep-d450k981.js → job-cy2kmkqe.js} +8 -8
  119. package/dist/chunks/{ripgrep-k1qrnqst.js → job-d2094b0z.js} +8 -8
  120. package/dist/chunks/{ripgrep-8jsvkn40.js → job-dkjrz643.js} +33 -33
  121. package/dist/chunks/{ripgrep-drwq78ky.js → job-drwq78ky.js} +1 -1
  122. package/dist/chunks/{ripgrep-4gr8y5nf.js → job-dve1wy78.js} +23 -23
  123. package/dist/chunks/{ripgrep-695yb3ne.js → job-e0sne4y3.js} +22 -22
  124. package/dist/chunks/{ripgrep-5qd3pb7m.js → job-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{ripgrep-p97ze781.js → job-e4pf6x0c.js} +15 -15
  126. package/dist/chunks/{ripgrep-632bft3r.js → job-e8qf31tm.js} +19 -19
  127. package/dist/chunks/{ripgrep-0f9afca0.js → job-ead3g9p8.js} +5 -5
  128. package/dist/chunks/{ripgrep-ecfe7b91.js → job-ecfe7b91.js} +2 -2
  129. package/dist/chunks/{ripgrep-n0gf5ey7.js → job-ee7065sf.js} +21 -21
  130. package/dist/chunks/{ripgrep-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{ripgrep-rk6ps10a.js → job-egyycqd6.js} +3 -3
  132. package/dist/chunks/{ripgrep-qzqedjgs.js → job-ejjr4d4a.js} +28 -28
  133. package/dist/chunks/{ripgrep-n50qm4s2.js → job-en27skky.js} +44 -44
  134. package/dist/chunks/{ripgrep-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{ripgrep-f7xy0jcj.js → job-ewhr9vm8.js} +15 -15
  136. package/dist/chunks/{ripgrep-pqcvfzvm.js → job-ezx3pmvp.js} +36 -36
  137. package/dist/chunks/{ripgrep-dvs6zpk2.js → job-f9121hkg.js} +45 -45
  138. package/dist/chunks/{ripgrep-nqfwyc43.js → job-fdty3bfe.js} +8 -8
  139. package/dist/chunks/{ripgrep-8gy77n4q.js → job-fe76aby9.js} +12 -12
  140. package/dist/chunks/{ripgrep-cx34d9wd.js → job-ffd8rhrh.js} +9 -9
  141. package/dist/chunks/{ripgrep-dq3vednk.js → job-fm3ea91t.js} +18 -18
  142. package/dist/chunks/{ripgrep-92z2dgw1.js → job-fmzdq5kc.js} +1 -1
  143. package/dist/chunks/{ripgrep-pmg28md7.js → job-ftckbrn0.js} +1 -1
  144. package/dist/chunks/{ripgrep-px76j0pk.js → job-fw181sc9.js} +9 -9
  145. package/dist/chunks/{ripgrep-n3fk10xz.js → job-fz9k5gme.js} +32 -32
  146. package/dist/chunks/{ripgrep-xvp1j2dc.js → job-g5agzp2h.js} +5 -5
  147. package/dist/chunks/{ripgrep-q13923st.js → job-g60qj5yf.js} +2 -2
  148. package/dist/chunks/{ripgrep-00bkszwx.js → job-g6y0qv04.js} +23 -23
  149. package/dist/chunks/{ripgrep-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{ripgrep-q26n4fcx.js → job-gecfa7ak.js} +14 -14
  151. package/dist/chunks/{ripgrep-f6ejcacf.js → job-gg96jh64.js} +34 -34
  152. package/dist/chunks/{ripgrep-tk70hm4f.js → job-gnf9h2c6.js} +29 -29
  153. package/dist/chunks/{ripgrep-ttqh24zm.js → job-gst7axd9.js} +4 -4
  154. package/dist/chunks/{ripgrep-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{ripgrep-x7xnx0we.js → job-gv91p32f.js} +20 -20
  156. package/dist/chunks/{ripgrep-k40x70x4.js → job-gvtnnfzn.js} +8 -8
  157. package/dist/chunks/{ripgrep-6ne0j7pm.js → job-h1ggmepm.js} +6 -6
  158. package/dist/chunks/{ripgrep-hbyhqfhs.js → job-h4z1mxff.js} +5 -5
  159. package/dist/chunks/{ripgrep-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{ripgrep-3v1h8cz5.js → job-h8vx9wfd.js} +55 -55
  161. package/dist/chunks/{ripgrep-c35597j6.js → job-h9wp8z5w.js} +4 -4
  162. package/dist/chunks/{ripgrep-m4v4sst7.js → job-hf93yzgy.js} +29 -29
  163. package/dist/chunks/{ripgrep-hzxzc04q.js → job-hgy094zc.js} +26 -26
  164. package/dist/chunks/{ripgrep-tdmq7741.js → job-hseftdk9.js} +22 -22
  165. package/dist/chunks/{ripgrep-j56e64zr.js → job-j56e64zr.js} +1 -1
  166. package/dist/chunks/{ripgrep-zbzhtaz8.js → job-jghm3nr4.js} +25 -25
  167. package/dist/chunks/{ripgrep-2pdg46mn.js → job-jgqjabpd.js} +9 -9
  168. package/dist/chunks/{ripgrep-zexvq6re.js → job-jhc88c4z.js} +29 -29
  169. package/dist/chunks/{ripgrep-sfpzfcnw.js → job-jnjryw51.js} +1 -1
  170. package/dist/chunks/job-kb6w2wmy.js +26 -0
  171. package/dist/chunks/{ripgrep-0939078r.js → job-kc51kk61.js} +1 -1
  172. package/dist/chunks/{ripgrep-bhzbay2t.js → job-kjaxnezw.js} +1 -1
  173. package/dist/chunks/{ripgrep-qbv4sgsg.js → job-kjf646hj.js} +28 -28
  174. package/dist/chunks/{ripgrep-tjedn1bk.js → job-kkp8zx71.js} +4 -4
  175. package/dist/chunks/{ripgrep-kb333kjr.js → job-kmj2q1se.js} +9 -9
  176. package/dist/chunks/{ripgrep-2t95j9c0.js → job-kqmyp3gw.js} +25 -25
  177. package/dist/chunks/{ripgrep-qx1x9vga.js → job-kse6dtet.js} +22 -22
  178. package/dist/chunks/{ripgrep-q9m9wzt0.js → job-m0vxh377.js} +15 -15
  179. package/dist/chunks/{ripgrep-zd5925e4.js → job-m21dq93q.js} +10 -10
  180. package/dist/chunks/{ripgrep-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{ripgrep-3kkw8qnw.js → job-m7mmez02.js} +24 -24
  182. package/dist/chunks/{ripgrep-zwet3d57.js → job-m9h1p2a5.js} +22 -22
  183. package/dist/chunks/{ripgrep-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{ripgrep-ab4nhn8b.js → job-mfzrfzpx.js} +6 -6
  185. package/dist/chunks/{ripgrep-ay7z0nzh.js → job-mhmncbfj.js} +13 -13
  186. package/dist/chunks/{ripgrep-3skt28fc.js → job-mjwdsdr5.js} +3 -3
  187. package/dist/chunks/{ripgrep-18qa6r1n.js → job-mk289cw7.js} +16 -16
  188. package/dist/chunks/{ripgrep-qwhsc8p7.js → job-mnyzats1.js} +18 -18
  189. package/dist/chunks/{ripgrep-3y377wv9.js → job-mpk0rfs5.js} +4 -4
  190. package/dist/chunks/{ripgrep-73tb2d7t.js → job-mvfsc1pv.js} +3 -3
  191. package/dist/chunks/{ripgrep-z1t4ccqy.js → job-n5zrq1fr.js} +8 -8
  192. package/dist/chunks/{ripgrep-ts8814z6.js → job-n7ty5vx1.js} +16 -16
  193. package/dist/chunks/{ripgrep-d21fb1vq.js → job-nge20mvg.js} +13 -13
  194. package/dist/chunks/{ripgrep-4k5pyaj2.js → job-nn61gcb9.js} +10 -10
  195. package/dist/chunks/{ripgrep-5frpvc34.js → job-nng2ktcm.js} +2 -2
  196. package/dist/chunks/{ripgrep-d8s5zaak.js → job-nx6sjzs2.js} +15 -15
  197. package/dist/chunks/{ripgrep-0ahrpcjw.js → job-ny1qfqm5.js} +14 -14
  198. package/dist/chunks/{ripgrep-zxf6vy87.js → job-nyhht397.js} +12 -12
  199. package/dist/chunks/{ripgrep-k3c624dm.js → job-nzks3jc8.js} +3 -3
  200. package/dist/chunks/{ripgrep-dc0h2f5m.js → job-pdttqtx4.js} +10 -10
  201. package/dist/chunks/{ripgrep-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{ripgrep-pknna89w.js → job-pknna89w.js} +1 -1
  203. package/dist/chunks/{ripgrep-bs1d3dhn.js → job-prse58hf.js} +3 -3
  204. package/dist/chunks/{ripgrep-whp3wsjn.js → job-pvprqpm2.js} +11 -11
  205. package/dist/chunks/{ripgrep-pxvtywqb.js → job-pyg39aa7.js} +11 -11
  206. package/dist/chunks/{ripgrep-2xqghjp6.js → job-q2x6er7s.js} +3 -3
  207. package/dist/chunks/job-q509s3k3.js +18 -0
  208. package/dist/chunks/{ripgrep-febda8v4.js → job-q8et3fat.js} +17 -17
  209. package/dist/chunks/{ripgrep-74a0hazz.js → job-qamphbdd.js} +9 -9
  210. package/dist/chunks/{ripgrep-1m0xqqrr.js → job-qbs5cpq3.js} +11 -11
  211. package/dist/chunks/{ripgrep-sj415v3s.js → job-qdgqbd7a.js} +5 -5
  212. package/dist/chunks/{ripgrep-ff3zzamp.js → job-qr2xy9an.js} +33 -33
  213. package/dist/chunks/{ripgrep-qsdy395h.js → job-qsdy395h.js} +1 -1
  214. package/dist/chunks/{ripgrep-bgxcxs0p.js → job-qte5z7bc.js} +5 -5
  215. package/dist/chunks/{ripgrep-5hcrxyky.js → job-qtnm96rr.js} +6 -6
  216. package/dist/chunks/{ripgrep-v5dkyp31.js → job-ratrq7cm.js} +4 -4
  217. package/dist/chunks/{ripgrep-zn4xb62a.js → job-rbqxe5fv.js} +18 -18
  218. package/dist/chunks/{ripgrep-je856w56.js → job-rbvtz9k7.js} +11 -11
  219. package/dist/chunks/{ripgrep-v89pjvzk.js → job-rd1vtjw6.js} +8 -8
  220. package/dist/chunks/{ripgrep-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{ripgrep-ttpyk6f9.js → job-rjnyj61z.js} +9 -9
  222. package/dist/chunks/{ripgrep-q6kv5hce.js → job-rq427kk0.js} +30 -30
  223. package/dist/chunks/{ripgrep-rthtq9ap.js → job-rrmr5xa7.js} +25 -25
  224. package/dist/chunks/{ripgrep-nsth5a41.js → job-rzmmsg92.js} +37 -37
  225. package/dist/chunks/{ripgrep-jzq9sbf8.js → job-rzyvhj68.js} +40 -40
  226. package/dist/chunks/{ripgrep-yrznvahk.js → job-s4enseaf.js} +2 -2
  227. package/dist/chunks/{ripgrep-zrc0yy2v.js → job-s4g57b9r.js} +28 -28
  228. package/dist/chunks/{ripgrep-e0rfdckv.js → job-s7j3avty.js} +15 -15
  229. package/dist/chunks/{ripgrep-jtkxxjqx.js → job-sa48se28.js} +18 -18
  230. package/dist/chunks/{ripgrep-bm4pzggq.js → job-sp081sh0.js} +29 -29
  231. package/dist/chunks/{ripgrep-yxj4ckh3.js → job-ssmfn4td.js} +17 -17
  232. package/dist/chunks/{ripgrep-1d3bftpa.js → job-sxv5e7yt.js} +11 -11
  233. package/dist/chunks/{ripgrep-ckr8yqr6.js → job-t33x4pzp.js} +3 -3
  234. package/dist/chunks/{ripgrep-jw80jp6b.js → job-t51qk8jz.js} +21 -21
  235. package/dist/chunks/{ripgrep-jr0j7mve.js → job-t6msp11s.js} +6 -6
  236. package/dist/chunks/{ripgrep-bea85hdf.js → job-t6z4h4ef.js} +3 -3
  237. package/dist/chunks/{ripgrep-a2tjj438.js → job-t8ss1db2.js} +90 -90
  238. package/dist/chunks/{ripgrep-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{ripgrep-n1ka8r9d.js → job-tazp3vs0.js} +4 -4
  240. package/dist/chunks/{ripgrep-89znhe33.js → job-tcezcvh9.js} +4 -4
  241. package/dist/chunks/{ripgrep-fk34k8b0.js → job-tdd7qn19.js} +88 -88
  242. package/dist/chunks/{ripgrep-tdstcens.js → job-tdstcens.js} +1 -1
  243. package/dist/chunks/{ripgrep-5gxtf2ep.js → job-thzwq1j5.js} +27 -27
  244. package/dist/chunks/{ripgrep-37m9xwpn.js → job-tk8jge9n.js} +26 -26
  245. package/dist/chunks/{ripgrep-fq5zwzwv.js → job-ttqx45f3.js} +32 -32
  246. package/dist/chunks/{ripgrep-tvtrv512.js → job-tvtrv512.js} +1 -1
  247. package/dist/chunks/{ripgrep-k06t1zgt.js → job-txz9h06q.js} +13 -13
  248. package/dist/chunks/{ripgrep-4nj6keg1.js → job-v4m9838g.js} +18 -18
  249. package/dist/chunks/{ripgrep-vncycja5.js → job-ve4pfa0n.js} +4 -4
  250. package/dist/chunks/{ripgrep-veqvce7d.js → job-veqvce7d.js} +1 -1
  251. package/dist/chunks/{ripgrep-szsbf3na.js → job-vt0hsv47.js} +4 -4
  252. package/dist/chunks/{ripgrep-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{ripgrep-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{ripgrep-0b5t2wwf.js → job-w0hb1wcw.js} +6 -6
  255. package/dist/chunks/{ripgrep-wpzekwss.js → job-w0ncza3d.js} +6 -6
  256. package/dist/chunks/{ripgrep-nhvjymvq.js → job-w0q98c30.js} +21 -21
  257. package/dist/chunks/{ripgrep-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{ripgrep-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{ripgrep-wd87259q.js → job-wd87259q.js} +1 -1
  260. package/dist/chunks/{ripgrep-rnk4bdv4.js → job-wevb95zm.js} +21 -21
  261. package/dist/chunks/{ripgrep-ag1tg3gv.js → job-wggb31sn.js} +30 -30
  262. package/dist/chunks/{ripgrep-31wx1wqg.js → job-wr2tdx6k.js} +26 -23
  263. package/dist/chunks/{ripgrep-9x50181g.js → job-wxgdnn8d.js} +12 -12
  264. package/dist/chunks/{ripgrep-ytbta4pq.js → job-wy3g45e0.js} +4 -4
  265. package/dist/chunks/{ripgrep-qrgme6ew.js → job-wyy93379.js} +9 -9
  266. package/dist/chunks/{ripgrep-bahgfxtd.js → job-x0asfvcp.js} +26 -26
  267. package/dist/chunks/{ripgrep-ws6q902r.js → job-x174gykf.js} +3 -3
  268. package/dist/chunks/{ripgrep-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{ripgrep-j6rk38x8.js → job-x3drdvdf.js} +7 -7
  270. package/dist/chunks/{ripgrep-4pdcrpe9.js → job-xe86m5q7.js} +12 -12
  271. package/dist/chunks/{ripgrep-m2d0j7c0.js → job-xk747vep.js} +9 -9
  272. package/dist/chunks/{ripgrep-xkntkrq7.js → job-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{ripgrep-0j9j0cr0.js → job-xtnp6528.js} +22 -22
  274. package/dist/chunks/{ripgrep-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{ripgrep-b1k697tw.js → job-y1s1zzj0.js} +9 -9
  276. package/dist/chunks/{ripgrep-m74y7a9x.js → job-y4edekpm.js} +16 -16
  277. package/dist/chunks/{ripgrep-y71avatq.js → job-y71avatq.js} +1 -1
  278. package/dist/chunks/{ripgrep-r7nsrefv.js → job-ydgy0jv4.js} +6 -6
  279. package/dist/chunks/{ripgrep-7y05g5y6.js → job-yg1ffw44.js} +2 -2
  280. package/dist/chunks/{ripgrep-pnh2hy2c.js → job-yhe384nz.js} +23 -23
  281. package/dist/chunks/{ripgrep-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{ripgrep-1nkg8qc4.js → job-ystb885c.js} +12 -12
  283. package/dist/chunks/{ripgrep-deajr4zv.js → job-yt1pgjeb.js} +11 -11
  284. package/dist/chunks/{ripgrep-z07pqspn.js → job-z07pqspn.js} +3 -3
  285. package/dist/chunks/{ripgrep-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{ripgrep-h3whq8hs.js → job-zamxevfx.js} +5 -5
  287. package/dist/chunks/{ripgrep-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{ripgrep-fbxnn3zg.js → job-zkb4vf58.js} +41 -41
  289. package/dist/chunks/{ripgrep-zgfpqdce.js → job-zm7jd1e6.js} +51 -51
  290. package/dist/chunks/{ripgrep-fp2xarvc.js → job-znsx74x0.js} +1 -1
  291. package/dist/chunks/{ripgrep-gvrdb957.js → job-zpafchak.js} +11 -11
  292. package/dist/chunks/{ripgrep-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{ripgrep-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +83 -83
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +222 -222
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +11 -11
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +85 -85
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +129 -129
  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 +98 -98
  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 +78 -78
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +109 -109
  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 +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +3 -3
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  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 +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  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 +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  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 +95 -95
  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 +79 -79
  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 +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  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 +354 -354
  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/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  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 +3 -3
  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/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +7 -7
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +217 -217
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +15 -15
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +122 -122
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +123 -123
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +108 -108
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/types/credential.d.ts +6 -1
  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 +3 -3
  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 +5 -5
  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 +1 -1
  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 +93 -93
  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 +79 -79
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +76 -76
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/ripgrep-38phvaps.js +0 -252
  703. package/dist/chunks/ripgrep-9zdhvgqs.js +0 -18
  704. package/dist/chunks/ripgrep-pwr21gwd.js +0 -26
  705. /package/dist/chunks/{ripgrep-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{ripgrep-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{ripgrep-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{ripgrep-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{ripgrep-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{ripgrep-24dcb14g.js → job-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{ripgrep-2710q6r3.js → job-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{ripgrep-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{ripgrep-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{ripgrep-34c7v6d4.js → job-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{ripgrep-359p4xyc.js → job-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{ripgrep-3asan66x.js → job-3asan66x.js} +0 -0
  717. /package/dist/chunks/{ripgrep-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{ripgrep-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{ripgrep-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{ripgrep-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{ripgrep-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{ripgrep-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{ripgrep-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{ripgrep-53557ph1.js → job-53557ph1.js} +0 -0
  725. /package/dist/chunks/{ripgrep-550bvhaj.js → job-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{ripgrep-6prwharc.js → job-6prwharc.js} +0 -0
  727. /package/dist/chunks/{ripgrep-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{ripgrep-7m9af43g.js → job-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{ripgrep-822emrt2.js → job-822emrt2.js} +0 -0
  730. /package/dist/chunks/{ripgrep-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{ripgrep-8n3pysct.js → job-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{ripgrep-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{ripgrep-922hggd3.js → job-922hggd3.js} +0 -0
  734. /package/dist/chunks/{ripgrep-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{ripgrep-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{ripgrep-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{ripgrep-af5trqkr.js → job-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{ripgrep-afrmfg78.js → job-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{ripgrep-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{ripgrep-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{ripgrep-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{ripgrep-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{ripgrep-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{ripgrep-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{ripgrep-d9fn303g.js → job-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{ripgrep-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{ripgrep-dajrwvna.js → job-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{ripgrep-dap0rakb.js → job-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{ripgrep-df08tz66.js → job-df08tz66.js} +0 -0
  750. /package/dist/chunks/{ripgrep-dy18nga0.js → job-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{ripgrep-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{ripgrep-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{ripgrep-ec1grn59.js → job-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{ripgrep-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{ripgrep-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{ripgrep-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{ripgrep-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{ripgrep-faypxj3z.js → job-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{ripgrep-fd410y7t.js → job-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{ripgrep-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{ripgrep-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{ripgrep-g86h250q.js → job-g86h250q.js} +0 -0
  763. /package/dist/chunks/{ripgrep-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{ripgrep-gftt206x.js → job-gftt206x.js} +0 -0
  765. /package/dist/chunks/{ripgrep-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{ripgrep-hk9envan.js → job-hk9envan.js} +0 -0
  767. /package/dist/chunks/{ripgrep-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{ripgrep-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{ripgrep-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{ripgrep-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{ripgrep-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{ripgrep-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{ripgrep-mp448xyj.js → job-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{ripgrep-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{ripgrep-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{ripgrep-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{ripgrep-njntx4h6.js → job-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{ripgrep-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{ripgrep-q74kybfr.js → job-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{ripgrep-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{ripgrep-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{ripgrep-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{ripgrep-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{ripgrep-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{ripgrep-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{ripgrep-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{ripgrep-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{ripgrep-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{ripgrep-w803qqfp.js → job-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{ripgrep-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{ripgrep-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{ripgrep-wtztk69x.js → job-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{ripgrep-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{ripgrep-x61499pn.js → job-x61499pn.js} +0 -0
  795. /package/dist/chunks/{ripgrep-y44na4kk.js → job-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{ripgrep-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{ripgrep-y8f7s663.js → job-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{ripgrep-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{ripgrep-ym463w8f.js → job-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{ripgrep-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./ripgrep-2xqghjp6.js";
4
+ } from "./job-q2x6er7s.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./ripgrep-kcetpk2c.js";
6
+ Service83,
7
+ node87
8
+ } from "./job-a493fwmx.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./ripgrep-pknna89w.js";
11
+ } from "./job-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./ripgrep-3zsf4n22.js";
14
+ } from "./job-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./ripgrep-9rqn6x4v.js";
17
+ } from "./job-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
24
- ID: () => ID14,
25
- Info: () => Info28,
23
+ Event: () => Event20,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service68,
28
+ Service: () => Service76,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node79
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service68 extends Context.Service()("@opencode/Credential") {
51
+ class Service76 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service68, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service80;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service68.of({
71
+ return Service76.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,21 +76,27 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info28({
80
- id: ID14.create(),
79
+ const credential = new Info30({
80
+ id: input.id ?? ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
84
84
  });
85
- yield* db.transaction((tx) => Effect.gen(function* () {
86
- yield* tx.update(CredentialTable2).set({ active: false }).where(eq(CredentialTable2.integration_id, credential.integrationID)).run();
85
+ const activated = yield* db.transaction((tx) => Effect.gen(function* () {
86
+ const current = yield* tx.select({ id: CredentialTable2.id, active: CredentialTable2.active }).from(CredentialTable2).where(eq(CredentialTable2.integration_id, credential.integrationID)).orderBy(desc(CredentialTable2.active), desc(CredentialTable2.time_created), desc(CredentialTable2.id)).get();
87
+ const activate = input.activate !== false || !current;
88
+ if (activate)
89
+ yield* tx.update(CredentialTable2).set({ active: false }).where(eq(CredentialTable2.integration_id, credential.integrationID)).run();
90
+ if (!activate && current && !current.active)
91
+ yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, current.id)).run();
87
92
  yield* tx.insert(CredentialTable2).values({
88
93
  id: credential.id,
89
94
  integration_id: credential.integrationID,
90
95
  label: credential.label,
91
96
  value: credential.value,
92
- active: true
97
+ active: activate
93
98
  }).run();
99
+ return activate;
94
100
  })).pipe(Effect.onError((cause) => Effect.logError("credential create failed", {
95
101
  credentialID: credential.id,
96
102
  integrationID: credential.integrationID,
@@ -99,10 +105,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
99
105
  yield* Effect.logInfo("credential created", {
100
106
  credentialID: credential.id,
101
107
  integrationID: credential.integrationID,
102
- type: credential.value.type
108
+ type: credential.value.type,
109
+ active: activated
103
110
  });
104
- yield* bus.publish(Event17.Updated, {}, { global: true });
105
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
111
+ yield* bus.publish(Event20.Updated, {}, { global: true });
112
+ if (activated)
113
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
114
  return credential;
107
115
  }),
108
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +130,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
122
130
  })), Effect.orDie);
123
131
  if (integrationID) {
124
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
134
  }
127
135
  }),
128
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +162,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
154
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
163
  });
156
164
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event17.Updated, {}, { global: true });
165
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
166
  }),
159
167
  remove: Effect.fn("Credential.remove")(function* (id) {
160
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +195,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
187
195
  active: removed.switched,
188
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
197
  });
190
- yield* bus.publish(Event17.Updated, {}, { global: true });
198
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
199
  if (removed.switched)
192
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
201
  })
194
202
  });
195
203
  }));
196
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node88, node84] });
204
+ var node79 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
197
205
 
198
- export { ID14, OAuth3, Key4, Value2, Event17, Info28, Service68, node71, exports_credential };
206
+ export { ID15, OAuth3, Key4, Value2, Event20, Info30, Service76, node79, exports_credential };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./ripgrep-922hggd3.js";
4
+ } from "./job-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service83,
9
- node87
10
- } from "./ripgrep-xsbrecyh.js";
8
+ Service82,
9
+ node86
10
+ } from "./job-424p9vrf.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./ripgrep-q26n4fcx.js";
12
+ Service80,
13
+ node84
14
+ } from "./job-gecfa7ak.js";
15
15
  import {
16
16
  create3
17
- } from "./ripgrep-rdw6cm16.js";
17
+ } from "./job-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./ripgrep-9rqn6x4v.js";
20
+ } from "./job-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID6,
27
- Service: () => Service47,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service46,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node51,
30
- noopLayer: () => noopLayer2
29
+ node: () => node48,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  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 ID6 } 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 Service47 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service46 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service47, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service47, 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(Service47, 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(Service47, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.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(Service47, 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 Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node51 = makeLocationNode({
144
- service: Service47,
143
+ var node48 = makeLocationNode({
144
+ service: Service46,
145
145
  layer,
146
- deps: [FSUtil.node, node87, Global.node, node82]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service47, Service47.of({
148
+ var noopLayer3 = Layer.succeed(Service46, Service46.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(Service47, Service47.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 { ID6, Error2, Service47, node51, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error3, Service46, node48, noopLayer3, exports_snapshot2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./ripgrep-qfa1cgps.js";
3
+ } from "./job-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./ripgrep-wd3x2cqz.js";
6
+ } from "./job-wd3x2cqz.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service80
3
- } from "./ripgrep-kcetpk2c.js";
2
+ Service83
3
+ } from "./job-a493fwmx.js";
4
4
  import {
5
- Service14,
6
- Event2
7
- } from "./ripgrep-ff3zzamp.js";
5
+ Service57,
6
+ Event13
7
+ } from "./job-qr2xy9an.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service14;
33
- const bus = yield* Service80;
32
+ const modelsDev = yield* Service57;
33
+ const bus = yield* Service83;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83
3
- } from "./ripgrep-xsbrecyh.js";
2
+ Service82
3
+ } from "./job-424p9vrf.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./ripgrep-gv6a8nnw.js";
7
+ } from "./job-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make21
16
+ make: () => make15
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make21 = Effect.gen(function* () {
21
+ var make15 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service83;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make21 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make21, exports_git2 };
49
+ export { make15, exports_git2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service13,
10
- node: () => node15
9
+ Service: () => Service45,
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service45 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service13, () => {
17
+ var layer = Layer.sync(Service45, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service13.of({
19
+ return Service45.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node15 = makeGlobalNode({ service: Service13, layer, deps: [] });
26
+ var node47 = makeGlobalNode({ service: Service45, layer, deps: [] });
27
27
 
28
- export { Service13, node15, exports_managed_policy };
28
+ export { Service45, node47, exports_managed_policy };
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./ripgrep-2xqghjp6.js";
4
+ } from "./job-q2x6er7s.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./ripgrep-kcetpk2c.js";
6
+ Service83,
7
+ node87
8
+ } from "./job-a493fwmx.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./ripgrep-5t3nmthw.js";
11
+ } from "./job-5t3nmthw.js";
12
12
  import {
13
13
  create3
14
- } from "./ripgrep-rdw6cm16.js";
14
+ } from "./job-rdw6cm16.js";
15
15
  import {
16
16
  estimate2
17
- } from "./ripgrep-h6vf3j39.js";
17
+ } from "./job-h6vf3j39.js";
18
18
  import {
19
19
  SessionEvent2
20
- } from "./ripgrep-ec1grn59.js";
20
+ } from "./job-ec1grn59.js";
21
21
  import {
22
22
  provenance2,
23
23
  compatible2,
24
24
  isCheckpoint2,
25
25
  encode2
26
- } from "./ripgrep-c35597j6.js";
26
+ } from "./job-h9wp8z5w.js";
27
27
  import {
28
- load5
29
- } from "./ripgrep-1d3bftpa.js";
28
+ load4
29
+ } from "./job-sxv5e7yt.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./ripgrep-fp2xarvc.js";
32
+ } from "./job-znsx74x0.js";
33
33
  import {
34
34
  baseTranscript2,
35
35
  unsupportedParts2,
36
36
  boundImages2,
37
- Service31,
38
- node34
39
- } from "./ripgrep-tk70hm4f.js";
37
+ Service23,
38
+ node27
39
+ } from "./job-gnf9h2c6.js";
40
40
  import {
41
41
  isRetryable2,
42
42
  policy2
43
- } from "./ripgrep-xvp1j2dc.js";
43
+ } from "./job-g5agzp2h.js";
44
44
  import {
45
45
  toSessionError2
46
- } from "./ripgrep-t849abxh.js";
46
+ } from "./job-1sxx6fsp.js";
47
47
  import {
48
48
  calculateCost2,
49
49
  record2,
50
50
  add2
51
- } from "./ripgrep-tdstcens.js";
51
+ } from "./job-tdstcens.js";
52
52
  import {
53
53
  __export
54
- } from "./ripgrep-9rqn6x4v.js";
54
+ } from "./job-9rqn6x4v.js";
55
55
 
56
56
  // src/session/compaction.ts
57
57
  var exports_compaction2 = {};
58
58
  __export(exports_compaction2, {
59
- Service: () => Service9,
59
+ Service: () => Service10,
60
60
  SessionCompaction: () => exports_compaction2,
61
61
  buildPrompt: () => buildPrompt2,
62
62
  estimateContext: () => estimateContext2,
63
63
  estimatePrompt: () => estimatePrompt2,
64
- layer: () => layer7,
65
- node: () => node11,
64
+ layer: () => layer6,
65
+ node: () => node12,
66
66
  recentUserMessages: () => recentUserMessages2
67
67
  });
68
68
  import {
@@ -78,7 +78,7 @@ import {
78
78
  } from "@opencode/ai";
79
79
  import { makeLocationNode } from "@opencode/util/effect/app-node";
80
80
  import { Context, Effect, Layer, Result, Stream } from "effect";
81
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
81
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
82
82
  }
83
83
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
84
84
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
157
157
  };
158
158
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
159
159
  var LEGACY_HEADING = "## Additional Context";
160
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
161
- const bus = yield* Service80;
160
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
161
+ const bus = yield* Service83;
162
162
  const llm = yield* LLMClient.Service;
163
163
  const db = (yield* Service84).db;
164
- const requests = yield* Service31;
164
+ const requests = yield* Service23;
165
165
  const state = create3({
166
166
  name: "session-compaction",
167
167
  initial: () => ({ auto: true, keep: 15000 }),
@@ -249,7 +249,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
249
249
  const send = (request) => {
250
250
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
251
251
  return Effect.gen(function* () {
252
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
252
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
253
253
  const retained = recentUserMessages2(history, context.model, keep);
254
254
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
255
255
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -452,16 +452,16 @@ ${text}`;
452
452
  }, { metadata: outcome.metadata });
453
453
  return { status: "completed" };
454
454
  });
455
- return Service9.of({
455
+ return Service10.of({
456
456
  transform: state.transform,
457
457
  reload: state.reload,
458
458
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
459
459
  });
460
460
  }));
461
- var node11 = makeLocationNode({
462
- service: Service9,
463
- layer: layer7,
464
- deps: [node84, node88, llmClient2, node34]
461
+ var node12 = makeLocationNode({
462
+ service: Service10,
463
+ layer: layer6,
464
+ deps: [node87, node88, llmClient2, node27]
465
465
  });
466
466
  var previousCompaction = (messages) => {
467
467
  const [first] = messages;
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
666
666
  return 0;
667
667
  };
668
668
 
669
- export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
669
+ export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};